@flamingo-stack/openframe-frontend-core 0.0.796 → 0.0.798

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 (116) hide show
  1. package/dist/build/export-map.json +1 -1
  2. package/dist/case-study-card-K6HYMHL6.cjs +23 -0
  3. package/dist/{chunk-QVC5CMC5.cjs → chunk-2JCY5KQL.cjs} +4 -4
  4. package/dist/{chunk-7VU4HHUR.cjs → chunk-2M6HS23A.cjs} +51 -51
  5. package/dist/{chunk-IONS6HDF.cjs → chunk-3NGJ7NPT.cjs} +61 -61
  6. package/dist/{chunk-AT4C2YMA.cjs → chunk-4WIJI4AK.cjs} +17 -17
  7. package/dist/{chunk-II4A2RUG.cjs → chunk-5IU64YEA.cjs} +62 -62
  8. package/dist/{chunk-75PJ2SAZ.cjs → chunk-5RGGUQ4Y.cjs} +2 -2
  9. package/dist/{chunk-W4QITOT7.cjs → chunk-6F2UHDCB.cjs} +13 -13
  10. package/dist/{chunk-UCHO4BOS.cjs → chunk-6GCXQIUU.cjs} +5 -5
  11. package/dist/{chunk-GP7NV6BK.cjs → chunk-6UKH22NQ.cjs} +29 -29
  12. package/dist/{chunk-6WXP5IKR.cjs → chunk-6YCUP6JJ.cjs} +42 -42
  13. package/dist/{chunk-6YZNUHXT.cjs → chunk-7JWFMAQB.cjs} +8 -2
  14. package/dist/{chunk-TUD7BV6O.cjs → chunk-7MV23NNT.cjs} +54 -54
  15. package/dist/{chunk-K7I3YYYU.cjs → chunk-AHBTZ7DN.cjs} +44 -44
  16. package/dist/{chunk-N3J4U7ML.cjs → chunk-AVAE5B2A.cjs} +8 -8
  17. package/dist/{chunk-CWA6J7KC.cjs → chunk-BWR5ACK3.cjs} +45 -45
  18. package/dist/{chunk-NAJ24ODA.cjs → chunk-BWTCULUN.cjs} +4 -4
  19. package/dist/{chunk-VUP7ZGZS.cjs → chunk-C2UZWRU5.cjs} +46 -46
  20. package/dist/{chunk-G24OX7AC.cjs → chunk-DTBIIFZG.cjs} +63 -63
  21. package/dist/{chunk-F64GLU75.cjs → chunk-E56LN23H.cjs} +205 -205
  22. package/dist/{chunk-ZMWSN2BD.cjs → chunk-EYE5FLHZ.cjs} +13 -13
  23. package/dist/{chunk-JGURZROB.cjs → chunk-FIKIPO4F.cjs} +334 -321
  24. package/dist/{chunk-6JCTKXHX.cjs → chunk-FO3N6HDS.cjs} +31 -31
  25. package/dist/{chunk-JRTDBPJT.cjs → chunk-GD47ZGOU.cjs} +3 -3
  26. package/dist/{chunk-HBAVHYXO.cjs → chunk-HATRCNXJ.cjs} +2 -2
  27. package/dist/{chunk-QVKWKY4O.cjs → chunk-JTIGKLKJ.cjs} +23 -23
  28. package/dist/{chunk-UYOGZJPE.cjs → chunk-KFDAL6NA.cjs} +37 -37
  29. package/dist/{chunk-DRWPSN3A.cjs → chunk-KUXHXLJQ.cjs} +5 -5
  30. package/dist/{chunk-GD6RPLHX.cjs → chunk-LKQ33CMY.cjs} +3 -3
  31. package/dist/{chunk-Y3IMXLLL.cjs → chunk-ND7ECICK.cjs} +541 -538
  32. package/dist/{chunk-HJBJHQKE.cjs → chunk-NG3RKTQU.cjs} +16 -16
  33. package/dist/{chunk-YFHKBIZT.cjs → chunk-NK2FSEWD.cjs} +6 -6
  34. package/dist/{chunk-HYF4LPXF.cjs → chunk-NL3G642U.cjs} +10 -10
  35. package/dist/{chunk-7SEY3FDF.cjs → chunk-O6KQ64RI.cjs} +19 -19
  36. package/dist/{chunk-JXQNECXM.cjs → chunk-P4B6PVSG.cjs} +7 -7
  37. package/dist/{chunk-QCN46LDL.cjs → chunk-PTQVGWJE.cjs} +110 -110
  38. package/dist/{chunk-OKAHKZP2.cjs → chunk-SDV335EO.cjs} +17 -17
  39. package/dist/{chunk-PALMLL5T.cjs → chunk-T5OCU3EL.cjs} +10 -10
  40. package/dist/{chunk-XVVQJXOA.cjs → chunk-TJQGKIXB.cjs} +171 -171
  41. package/dist/{chunk-HCXNFMLO.cjs → chunk-TTZEDDR5.cjs} +14 -14
  42. package/dist/{chunk-NRAH3M66.cjs → chunk-VUHPWSAE.cjs} +311 -291
  43. package/dist/{chunk-CFXCCQ6T.cjs → chunk-VVLL37EM.cjs} +12 -12
  44. package/dist/{chunk-VYXNGADV.cjs → chunk-W25OB2R6.cjs} +44 -44
  45. package/dist/{chunk-QMDXG3VF.cjs → chunk-W5ZQDEDT.cjs} +2016 -2015
  46. package/dist/{chunk-JC43ULIC.cjs → chunk-WUBTAN27.cjs} +116 -116
  47. package/dist/{chunk-CC7NRWRF.cjs → chunk-XJD7IZR2.cjs} +60 -60
  48. package/dist/{chunk-LL6PXI6C.cjs → chunk-XR323UBY.cjs} +4 -4
  49. package/dist/{chunk-UN6LC5PK.cjs → chunk-YBTORXFY.cjs} +110 -110
  50. package/dist/{chunk-RFIBRGXG.cjs → chunk-YR74H7Z3.cjs} +7 -7
  51. package/dist/{chunk-RKWEFZ6P.cjs → chunk-ZD6SZLO2.cjs} +3 -3
  52. package/dist/{chunk-XFJ7BZDJ.cjs → chunk-ZOK4OWMJ.cjs} +22 -22
  53. package/dist/{chunk-ZRME3A2D.cjs → chunk-ZXRAYCNB.cjs} +3 -3
  54. package/dist/{cloud-tenants-BQUWLMYY.cjs → cloud-tenants-XGL3DYSG.cjs} +32 -32
  55. package/dist/components/calendar.cjs +10 -10
  56. package/dist/components/case-studies/index.cjs +52 -52
  57. package/dist/components/chat/entity-cards/roadmap-card.d.ts +5 -0
  58. package/dist/components/chat/entity-cards/roadmap-card.d.ts.map +1 -1
  59. package/dist/components/chat/entity-cards/roadmap-card.js +16 -1
  60. package/dist/components/chat/index.cjs +26 -26
  61. package/dist/components/chat/types/entities/roadmap-item.d.ts +8 -0
  62. package/dist/components/chat/types/entities/roadmap-item.d.ts.map +1 -1
  63. package/dist/components/contact/index.cjs +33 -33
  64. package/dist/components/docs/index.cjs +36 -36
  65. package/dist/components/embeds/index.cjs +33 -33
  66. package/dist/components/faq/index.cjs +34 -34
  67. package/dist/components/features/index.cjs +32 -32
  68. package/dist/components/help-center-pages/index.cjs +163 -163
  69. package/dist/components/index.cjs +204 -204
  70. package/dist/components/meeting-scheduler/index.cjs +191 -191
  71. package/dist/components/navigation/index.cjs +35 -35
  72. package/dist/components/onboarding-guides/index.cjs +35 -35
  73. package/dist/components/product-demo/index.cjs +45 -45
  74. package/dist/components/related-content/index.cjs +17 -17
  75. package/dist/components/tickets/index.cjs +39 -39
  76. package/dist/components/ui/button/button-styles.d.ts +6 -0
  77. package/dist/components/ui/button/button-styles.d.ts.map +1 -1
  78. package/dist/components/ui/button/button-styles.js +7 -1
  79. package/dist/components/ui/feature-card.d.ts +1 -1
  80. package/dist/components/ui/feature-card.d.ts.map +1 -1
  81. package/dist/components/ui/feature-card.js +1 -0
  82. package/dist/components/ui/file-manager/index.cjs +55 -55
  83. package/dist/components/ui/index.cjs +32 -32
  84. package/dist/components/ui/tabs.d.ts.map +1 -1
  85. package/dist/components/ui/tabs.js +6 -3
  86. package/dist/{devices-BFQOLI3D.cjs → devices-U2NQYDI7.cjs} +33 -33
  87. package/dist/embed-shims/index.cjs +4 -4
  88. package/dist/embed-shims/next-image.cjs +4 -4
  89. package/dist/{embeddable-chat-INYF23ST.cjs → embeddable-chat-MPJLN4C6.cjs} +115 -115
  90. package/dist/hooks/index.cjs +10 -10
  91. package/dist/index.cjs +50 -48
  92. package/dist/{knowledge-GGYWTYTP.cjs → knowledge-BUY6TSK6.cjs} +33 -33
  93. package/dist/{logs-NO55PTIO.cjs → logs-FUPQ7XYE.cjs} +41 -41
  94. package/dist/{policies-AAFYTVOJ.cjs → policies-NASADYBK.cjs} +36 -36
  95. package/dist/{remote-session-2CNWLF3P.cjs → remote-session-4LYKEZSY.cjs} +17 -17
  96. package/dist/{scripts-H4ECJ65X.cjs → scripts-BGLTDQKV.cjs} +39 -39
  97. package/dist/{software-update-NEEGQBK3.cjs → software-update-QDIZ32KU.cjs} +36 -36
  98. package/dist/{tickets-board-CXYRAMDL.cjs → tickets-board-3FBVYSXR.cjs} +17 -17
  99. package/dist/utils/clickup-drop-down.cjs +22 -0
  100. package/dist/utils/clickup-drop-down.d.ts +26 -0
  101. package/dist/utils/clickup-drop-down.d.ts.map +1 -0
  102. package/dist/utils/clickup-drop-down.js +20 -0
  103. package/dist/utils/index.cjs +20 -0
  104. package/dist/utils/index.d.ts +1 -0
  105. package/dist/utils/index.d.ts.map +1 -1
  106. package/dist/utils/index.js +1 -0
  107. package/dist/{video-file-player-HZPMCCYF.cjs → video-file-player-2FMFCGXE.cjs} +14 -14
  108. package/package.json +7 -1
  109. package/src/components/chat/entity-cards/roadmap-card.tsx +18 -1
  110. package/src/components/chat/types/entities/roadmap-item.ts +8 -0
  111. package/src/components/ui/button/button-styles.ts +11 -1
  112. package/src/components/ui/feature-card.tsx +2 -1
  113. package/src/components/ui/tabs.tsx +5 -2
  114. package/src/utils/clickup-drop-down.ts +41 -0
  115. package/src/utils/index.ts +1 -0
  116. package/dist/case-study-card-KU4ZIONR.cjs +0 -23
@@ -17,10 +17,10 @@
17
17
 
18
18
 
19
19
 
20
- var _chunkTUD7BV6Ocjs = require('./chunk-TUD7BV6O.cjs');
20
+ var _chunk7MV23NNTcjs = require('./chunk-7MV23NNT.cjs');
21
21
 
22
22
 
23
- var _chunkRKWEFZ6Pcjs = require('./chunk-RKWEFZ6P.cjs');
23
+ var _chunkZD6SZLO2cjs = require('./chunk-ZD6SZLO2.cjs');
24
24
 
25
25
 
26
26
 
@@ -38,7 +38,7 @@ var _chunkRKWEFZ6Pcjs = require('./chunk-RKWEFZ6P.cjs');
38
38
 
39
39
 
40
40
 
41
- var _chunkIONS6HDFcjs = require('./chunk-IONS6HDF.cjs');
41
+ var _chunk3NGJ7NPTcjs = require('./chunk-3NGJ7NPT.cjs');
42
42
 
43
43
 
44
44
 
@@ -47,7 +47,7 @@ var _chunkIONS6HDFcjs = require('./chunk-IONS6HDF.cjs');
47
47
 
48
48
 
49
49
 
50
- var _chunkQVKWKY4Ocjs = require('./chunk-QVKWKY4O.cjs');
50
+ var _chunkJTIGKLKJcjs = require('./chunk-JTIGKLKJ.cjs');
51
51
 
52
52
 
53
53
  var _chunkREEXZ35Ocjs = require('./chunk-REEXZ35O.cjs');
@@ -248,7 +248,7 @@ var _chunk7WT2C5YYcjs = require('./chunk-7WT2C5YY.cjs');
248
248
  var _chunkOJZBZH56cjs = require('./chunk-OJZBZH56.cjs');
249
249
 
250
250
 
251
- var _chunkHBAVHYXOcjs = require('./chunk-HBAVHYXO.cjs');
251
+ var _chunkHATRCNXJcjs = require('./chunk-HATRCNXJ.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 _chunkJGURZROBcjs = require('./chunk-JGURZROB.cjs');
295
+ var _chunkFIKIPO4Fcjs = require('./chunk-FIKIPO4F.cjs');
296
296
 
297
297
 
298
298
 
@@ -321,10 +321,10 @@ var _chunkJGURZROBcjs = require('./chunk-JGURZROB.cjs');
321
321
 
322
322
 
323
323
 
324
- var _chunkUN6LC5PKcjs = require('./chunk-UN6LC5PK.cjs');
324
+ var _chunkYBTORXFYcjs = require('./chunk-YBTORXFY.cjs');
325
325
 
326
326
 
327
- var _chunkCFXCCQ6Tcjs = require('./chunk-CFXCCQ6T.cjs');
327
+ var _chunkVVLL37EMcjs = require('./chunk-VVLL37EM.cjs');
328
328
 
329
329
 
330
330
 
@@ -332,7 +332,7 @@ var _chunkCFXCCQ6Tcjs = require('./chunk-CFXCCQ6T.cjs');
332
332
 
333
333
 
334
334
 
335
- var _chunkGP7NV6BKcjs = require('./chunk-GP7NV6BK.cjs');
335
+ var _chunk6UKH22NQcjs = require('./chunk-6UKH22NQ.cjs');
336
336
 
337
337
 
338
338
  var _chunkRUHKTWGBcjs = require('./chunk-RUHKTWGB.cjs');
@@ -348,7 +348,7 @@ var _chunkV4FXUIMHcjs = require('./chunk-V4FXUIMH.cjs');
348
348
  var _chunkSZHDXXMKcjs = require('./chunk-SZHDXXMK.cjs');
349
349
 
350
350
 
351
- var _chunk75PJ2SAZcjs = require('./chunk-75PJ2SAZ.cjs');
351
+ var _chunk5RGGUQ4Ycjs = require('./chunk-5RGGUQ4Y.cjs');
352
352
 
353
353
 
354
354
 
@@ -356,33 +356,33 @@ var _chunk75PJ2SAZcjs = require('./chunk-75PJ2SAZ.cjs');
356
356
  var _chunk5GJM7VRRcjs = require('./chunk-5GJM7VRR.cjs');
357
357
 
358
358
 
359
- var _chunkDRWPSN3Acjs = require('./chunk-DRWPSN3A.cjs');
359
+ var _chunkKUXHXLJQcjs = require('./chunk-KUXHXLJQ.cjs');
360
360
 
361
361
 
362
362
 
363
363
  var _chunkUJ7AXHRZcjs = require('./chunk-UJ7AXHRZ.cjs');
364
364
 
365
365
 
366
- var _chunkJRTDBPJTcjs = require('./chunk-JRTDBPJT.cjs');
366
+ var _chunkGD47ZGOUcjs = require('./chunk-GD47ZGOU.cjs');
367
367
 
368
368
 
369
- var _chunkHYF4LPXFcjs = require('./chunk-HYF4LPXF.cjs');
369
+ var _chunkNL3G642Ucjs = require('./chunk-NL3G642U.cjs');
370
370
 
371
371
 
372
372
  var _chunkZ74QE57Tcjs = require('./chunk-Z74QE57T.cjs');
373
373
 
374
374
 
375
- var _chunkGD6RPLHXcjs = require('./chunk-GD6RPLHX.cjs');
375
+ var _chunkLKQ33CMYcjs = require('./chunk-LKQ33CMY.cjs');
376
376
 
377
377
 
378
378
 
379
379
 
380
380
 
381
381
 
382
- var _chunkAT4C2YMAcjs = require('./chunk-AT4C2YMA.cjs');
382
+ var _chunk4WIJI4AKcjs = require('./chunk-4WIJI4AK.cjs');
383
383
 
384
384
 
385
- var _chunkK7I3YYYUcjs = require('./chunk-K7I3YYYU.cjs');
385
+ var _chunkAHBTZ7DNcjs = require('./chunk-AHBTZ7DN.cjs');
386
386
 
387
387
 
388
388
 
@@ -392,7 +392,8 @@ var _chunkK7I3YYYUcjs = require('./chunk-K7I3YYYU.cjs');
392
392
 
393
393
 
394
394
 
395
- var _chunk6YZNUHXTcjs = require('./chunk-6YZNUHXT.cjs');
395
+
396
+ var _chunk7JWFMAQBcjs = require('./chunk-7JWFMAQB.cjs');
396
397
 
397
398
 
398
399
  var _chunkV45KLJQPcjs = require('./chunk-V45KLJQP.cjs');
@@ -412,12 +413,12 @@ var tabsListVariantClasses = {
412
413
  default: TABS_LIST_BASE,
413
414
  // Applied ON TOP of the base (cn resolves the conflicts) so the variant
414
415
  // renders exactly what admin call sites produced by stacking these classes.
415
- "admin-rail": _chunk6YZNUHXTcjs.cn.call(void 0, TABS_LIST_BASE, "inline-flex h-auto justify-start rounded-none bg-transparent p-0")
416
+ "admin-rail": _chunk7JWFMAQBcjs.cn.call(void 0, TABS_LIST_BASE, "inline-flex h-auto justify-start rounded-none bg-transparent p-0")
416
417
  };
417
- var TABS_TRIGGER_BASE = "inline-flex items-center justify-center whitespace-nowrap rounded-sm px-3 py-1.5 text-h6 ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-sm";
418
+ var TABS_TRIGGER_BASE = "inline-flex items-center justify-center whitespace-nowrap rounded-sm px-3 py-1.5 text-h6 transition-all disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-sm";
418
419
  var tabsTriggerVariantClasses = {
419
- default: TABS_TRIGGER_BASE,
420
- "admin-rail": _chunk6YZNUHXTcjs.cn.call(void 0,
420
+ default: _chunk7JWFMAQBcjs.cn.call(void 0, TABS_TRIGGER_BASE, _chunk7JWFMAQBcjs.TAB_FOCUS_CLASS),
421
+ "admin-rail": _chunk7JWFMAQBcjs.cn.call(void 0,
421
422
  TABS_TRIGGER_BASE,
422
423
  "rounded-none border-b-2 border-transparent",
423
424
  "data-[state=active]:border-ods-accent data-[state=active]:bg-transparent",
@@ -425,13 +426,15 @@ var tabsTriggerVariantClasses = {
425
426
  "text-ods-text-secondary data-[state=active]:text-ods-text-primary",
426
427
  "transition-colors hover:text-ods-text-primary",
427
428
  // Disabled tabs stay visible but inert.
428
- "disabled:cursor-not-allowed disabled:opacity-40 disabled:hover:text-ods-text-secondary"
429
+ "disabled:cursor-not-allowed disabled:opacity-40 disabled:hover:text-ods-text-secondary",
430
+ // Focus is the tab's hover look, never the base's ring (see TAB_FOCUS_CLASS).
431
+ _chunk7JWFMAQBcjs.TAB_FOCUS_CLASS
429
432
  )
430
433
  };
431
434
  var ADMIN_RAIL_WRAPPER_CLASS = "w-full border-b border-ods-border overflow-x-auto";
432
435
  var TabsList = _react.forwardRef.call(void 0,
433
436
  ({ className, variant = "default", ...props }, ref) => {
434
- const list = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TabsPrimitive.List, { ref, className: _chunk6YZNUHXTcjs.cn.call(void 0, tabsListVariantClasses[variant], className), ...props });
437
+ const list = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TabsPrimitive.List, { ref, className: _chunk7JWFMAQBcjs.cn.call(void 0, tabsListVariantClasses[variant], className), ...props });
435
438
  if (variant === "admin-rail") {
436
439
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: ADMIN_RAIL_WRAPPER_CLASS, children: list });
437
440
  }
@@ -441,11 +444,11 @@ var TabsList = _react.forwardRef.call(void 0,
441
444
  TabsList.displayName = TabsPrimitive.List.displayName;
442
445
  var TabsTrigger = _react.forwardRef.call(void 0,
443
446
  ({ className, variant = "default", ...props }, ref) => {
444
- if (_chunk6YZNUHXTcjs.useLoadingScope.call(void 0, )) {
447
+ if (_chunk7JWFMAQBcjs.useLoadingScope.call(void 0, )) {
445
448
  const label = typeof props.children === "string" && props.children !== "" ? props.children : void 0;
446
449
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TabsTriggerSkeleton, { variant, label, className });
447
450
  }
448
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TabsPrimitive.Trigger, { ref, className: _chunk6YZNUHXTcjs.cn.call(void 0, tabsTriggerVariantClasses[variant], className), ...props });
451
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TabsPrimitive.Trigger, { ref, className: _chunk7JWFMAQBcjs.cn.call(void 0, tabsTriggerVariantClasses[variant], className), ...props });
449
452
  }
450
453
  );
451
454
  TabsTrigger.displayName = TabsPrimitive.Trigger.displayName;
@@ -455,13 +458,13 @@ function TabsTriggerSkeleton({
455
458
  label,
456
459
  className
457
460
  }) {
458
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "aria-hidden": true, className: _chunk6YZNUHXTcjs.cn.call(void 0, tabsTriggerVariantClasses[variant], className), children: _nullishCoalesce(label, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAT4C2YMAcjs.TextLineSkeleton, { type: TRIGGER_LABEL_TYPE[variant], className: "w-20" }))) });
461
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "aria-hidden": true, className: _chunk7JWFMAQBcjs.cn.call(void 0, tabsTriggerVariantClasses[variant], className), children: _nullishCoalesce(label, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.TextLineSkeleton, { type: TRIGGER_LABEL_TYPE[variant], className: "w-20" }))) });
459
462
  }
460
463
  var TabsContent = _react.forwardRef.call(void 0, ({ className, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
461
464
  TabsPrimitive.Content,
462
465
  {
463
466
  ref,
464
- className: _chunk6YZNUHXTcjs.cn.call(void 0,
467
+ className: _chunk7JWFMAQBcjs.cn.call(void 0,
465
468
  "mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",
466
469
  className
467
470
  ),
@@ -793,7 +796,7 @@ var MermaidDiagram = ({
793
796
  zoomable = true,
794
797
  frame = "content"
795
798
  }) => {
796
- const chart = _chunk6YZNUHXTcjs.useLoadingScope.call(void 0, ) ? "" : givenChart;
799
+ const chart = _chunk7JWFMAQBcjs.useLoadingScope.call(void 0, ) ? "" : givenChart;
797
800
  const [svg, setSvg] = _react.useState.call(void 0, "");
798
801
  const [error, setError] = _react.useState.call(void 0, "");
799
802
  const [isLoading, setIsLoading] = _react.useState.call(void 0, true);
@@ -973,7 +976,7 @@ var MermaidDiagram = ({
973
976
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "error-description mb-4 max-w-full overflow-hidden break-words text-center font-sans text-sm text-ods-text-secondary", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "overflow-x-auto", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "pre", { className: "whitespace-pre-wrap break-words text-xs", children: error }) }) })
974
977
  ] }) : empty || isLoading || !svg ? (
975
978
  // The frame's own size, as a skeleton: the frame sets the height the diagram lands in.
976
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAT4C2YMAcjs.UnifiedSkeleton, { "aria-label": "Rendering diagram", className: "h-auto w-full self-stretch" })
979
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.UnifiedSkeleton, { "aria-label": "Rendering diagram", className: "h-auto w-full self-stretch" })
977
980
  ) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
978
981
  "div",
979
982
  {
@@ -998,7 +1001,7 @@ var MermaidDiagram = ({
998
1001
  "aria-label": "Diagram zoom",
999
1002
  children: [
1000
1003
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1001
- _chunkK7I3YYYUcjs.Button,
1004
+ _chunkAHBTZ7DNcjs.Button,
1002
1005
  {
1003
1006
  variant: "outline",
1004
1007
  size: "icon-sm",
@@ -1010,7 +1013,7 @@ var MermaidDiagram = ({
1010
1013
  }
1011
1014
  ),
1012
1015
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
1013
- _chunkK7I3YYYUcjs.Button,
1016
+ _chunkAHBTZ7DNcjs.Button,
1014
1017
  {
1015
1018
  variant: "outline",
1016
1019
  size: "compact",
@@ -1025,7 +1028,7 @@ var MermaidDiagram = ({
1025
1028
  }
1026
1029
  ),
1027
1030
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1028
- _chunkK7I3YYYUcjs.Button,
1031
+ _chunkAHBTZ7DNcjs.Button,
1029
1032
  {
1030
1033
  variant: "outline",
1031
1034
  size: "icon-sm",
@@ -1037,7 +1040,7 @@ var MermaidDiagram = ({
1037
1040
  }
1038
1041
  ),
1039
1042
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1040
- _chunkK7I3YYYUcjs.Button,
1043
+ _chunkAHBTZ7DNcjs.Button,
1041
1044
  {
1042
1045
  variant: "outline",
1043
1046
  size: "icon-sm",
@@ -1080,12 +1083,12 @@ var MARKDOWN_H1_CLASS = "mb-4 mt-8 font-sans font-bold text-ods-text-primary fir
1080
1083
  var MARKDOWN_H2_CLASS = "mb-4 mt-8 border-b border-ods-border pb-2 font-sans font-semibold text-ods-text-primary";
1081
1084
  var MARKDOWN_PARAGRAPH_CLASS = "mb-4 leading-relaxed text-ods-text-primary first:mt-0 last:mb-0";
1082
1085
  var MarkdownContentImage = ({ src, alt }) => {
1083
- const inScope = _chunk6YZNUHXTcjs.useLoadingScope.call(void 0, );
1086
+ const inScope = _chunk7JWFMAQBcjs.useLoadingScope.call(void 0, );
1084
1087
  const authedSrc = _chunkV4FXUIMHcjs.useAuthedImageSrc.call(void 0, inScope ? void 0 : src);
1085
1088
  const resolvedSrc = inScope ? src : authedSrc;
1086
1089
  if (!resolvedSrc) return null;
1087
1090
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1088
- _chunkDRWPSN3Acjs.next_image_default,
1091
+ _chunkKUXHXLJQcjs.next_image_default,
1089
1092
  {
1090
1093
  src: resolvedSrc,
1091
1094
  alt: _nullishCoalesce(alt, () => ( "No image available")),
@@ -1116,7 +1119,7 @@ function buildStandardLeafRenderers({
1116
1119
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "p-4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "pre", { className: "overflow-x-auto", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1117
1120
  "code",
1118
1121
  {
1119
- className: _chunk6YZNUHXTcjs.cn.call(void 0, `language-${language} hljs font-mono`, textSizes.code),
1122
+ className: _chunk7JWFMAQBcjs.cn.call(void 0, `language-${language} hljs font-mono`, textSizes.code),
1120
1123
  style: {
1121
1124
  background: "transparent",
1122
1125
  color: "var(--color-text-primary)"
@@ -1136,7 +1139,7 @@ function buildStandardLeafRenderers({
1136
1139
  }
1137
1140
  );
1138
1141
  },
1139
- blockquote: ({ children }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "blockquote", { className: "my-8 ml-0 rounded-r-lg border-l-4 border-ods-accent bg-ods-bg-surface py-4 pl-6", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk6YZNUHXTcjs.cn.call(void 0, "font-sans leading-relaxed text-ods-text-secondary", textSizes.blockquote), children }) }),
1142
+ blockquote: ({ children }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "blockquote", { className: "my-8 ml-0 rounded-r-lg border-l-4 border-ods-accent bg-ods-bg-surface py-4 pl-6", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk7JWFMAQBcjs.cn.call(void 0, "font-sans leading-relaxed text-ods-text-secondary", textSizes.blockquote), children }) }),
1140
1143
  // Pass-through `div` (overridable for embeds; `node` is dropped so it
1141
1144
  // never reaches the DOM).
1142
1145
  div: ({ node, className: divClassName, children, ...props }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: divClassName, ...props, children })
@@ -1166,14 +1169,14 @@ function buildBaseComponents({
1166
1169
  // --- code + blockquote + div (shared leaf renderers, see above) ---
1167
1170
  ...buildStandardLeafRenderers({ textSizes }),
1168
1171
  // --- headings ---
1169
- h1: makeHeading("h1", _chunk6YZNUHXTcjs.cn.call(void 0, MARKDOWN_H1_CLASS, textSizes.h1)),
1170
- h2: makeHeading("h2", _chunk6YZNUHXTcjs.cn.call(void 0, MARKDOWN_H2_CLASS, textSizes.h2)),
1171
- h3: makeHeading("h3", _chunk6YZNUHXTcjs.cn.call(void 0, "mb-3 mt-6 font-sans font-semibold text-ods-text-primary", textSizes.h3)),
1172
- h4: makeHeading("h4", _chunk6YZNUHXTcjs.cn.call(void 0, "mb-2 mt-4 font-sans font-semibold text-ods-text-primary", textSizes.h4)),
1173
- h5: makeHeading("h5", _chunk6YZNUHXTcjs.cn.call(void 0, "mb-2 mt-3 font-sans font-semibold text-ods-text-primary", textSizes.h5)),
1174
- h6: makeHeading("h6", _chunk6YZNUHXTcjs.cn.call(void 0, "mb-1 mt-3 font-sans font-semibold text-ods-text-primary", textSizes.h6)),
1172
+ h1: makeHeading("h1", _chunk7JWFMAQBcjs.cn.call(void 0, MARKDOWN_H1_CLASS, textSizes.h1)),
1173
+ h2: makeHeading("h2", _chunk7JWFMAQBcjs.cn.call(void 0, MARKDOWN_H2_CLASS, textSizes.h2)),
1174
+ h3: makeHeading("h3", _chunk7JWFMAQBcjs.cn.call(void 0, "mb-3 mt-6 font-sans font-semibold text-ods-text-primary", textSizes.h3)),
1175
+ h4: makeHeading("h4", _chunk7JWFMAQBcjs.cn.call(void 0, "mb-2 mt-4 font-sans font-semibold text-ods-text-primary", textSizes.h4)),
1176
+ h5: makeHeading("h5", _chunk7JWFMAQBcjs.cn.call(void 0, "mb-2 mt-3 font-sans font-semibold text-ods-text-primary", textSizes.h5)),
1177
+ h6: makeHeading("h6", _chunk7JWFMAQBcjs.cn.call(void 0, "mb-1 mt-3 font-sans font-semibold text-ods-text-primary", textSizes.h6)),
1175
1178
  // --- paragraph ---
1176
- p: ({ children }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: _chunk6YZNUHXTcjs.cn.call(void 0, MARKDOWN_PARAGRAPH_CLASS, textSizes.p), children }),
1179
+ p: ({ children }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: _chunk7JWFMAQBcjs.cn.call(void 0, MARKDOWN_PARAGRAPH_CLASS, textSizes.p), children }),
1177
1180
  // --- links ---
1178
1181
  a: ({ href, children, className: linkClassName, rel: authoredRel }) => {
1179
1182
  const isBroken = href !== void 0 && brokenLinks.includes(href);
@@ -1270,7 +1273,7 @@ function buildBaseComponents({
1270
1273
  // always number 1"). Only `start` is forwarded: the rest of the props carry
1271
1274
  // react-markdown's `node`, which must not reach the DOM.
1272
1275
  ol: ({ children, start }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "ol", { start, className: "my-4 ml-8 list-outside list-decimal space-y-2 text-ods-text-primary", children }),
1273
- li: ({ children }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "li", { className: _chunk6YZNUHXTcjs.cn.call(void 0, "pl-2 leading-relaxed", textSizes.li), children }),
1276
+ li: ({ children }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "li", { className: _chunk7JWFMAQBcjs.cn.call(void 0, "pl-2 leading-relaxed", textSizes.li), children }),
1274
1277
  // --- tables ---
1275
1278
  // The frame and the scroll container are ONE element, matching the sibling
1276
1279
  // block embed (`mermaid-diagram.tsx`). It used to
@@ -1291,7 +1294,7 @@ function buildBaseComponents({
1291
1294
  th: ({ children }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1292
1295
  "th",
1293
1296
  {
1294
- className: _chunk6YZNUHXTcjs.cn.call(void 0,
1297
+ className: _chunk7JWFMAQBcjs.cn.call(void 0,
1295
1298
  "break-words border-r border-ods-border px-2 py-3 text-left font-semibold text-ods-accent last:border-r-0 md:px-4",
1296
1299
  textSizes.th
1297
1300
  ),
@@ -1301,7 +1304,7 @@ function buildBaseComponents({
1301
1304
  td: ({ children }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1302
1305
  "td",
1303
1306
  {
1304
- className: _chunk6YZNUHXTcjs.cn.call(void 0,
1307
+ className: _chunk7JWFMAQBcjs.cn.call(void 0,
1305
1308
  "whitespace-normal break-words border-b border-r border-ods-border px-2 py-3 text-ods-text-primary last:border-r-0 md:px-4",
1306
1309
  textSizes.td
1307
1310
  ),
@@ -3160,7 +3163,7 @@ var MarkdownEngineImpl = ({
3160
3163
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `${RENDERER_CLASS} ${className}`, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: CONTENT_WRAPPER_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "article", { className: ARTICLE_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeadingIdMapContext.Provider, { value: headingIds, children: body }) }) }) });
3161
3164
  };
3162
3165
  var MarkdownEngine = _react.memo.call(void 0, function MarkdownEngineGate(props) {
3163
- const inScope = _chunk6YZNUHXTcjs.useLoadingScope.call(void 0, );
3166
+ const inScope = _chunk7JWFMAQBcjs.useLoadingScope.call(void 0, );
3164
3167
  if (inScope && !props.content || props.loading) {
3165
3168
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3166
3169
  MarkdownEngineSkeleton,
@@ -3176,12 +3179,12 @@ var MarkdownEngine = _react.memo.call(void 0, function MarkdownEngineGate(props)
3176
3179
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MarkdownEngineImpl, { ...props });
3177
3180
  });
3178
3181
  function ParagraphBar({ lines, className }) {
3179
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAT4C2YMAcjs.TextLineSkeleton, { type: "inherit", lines, className: "w-full" }) });
3182
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.TextLineSkeleton, { type: "inherit", lines, className: "w-full" }) });
3180
3183
  }
3181
3184
  function LinesByBreakpoint({ lines, as = "div" }) {
3182
3185
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
3183
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAT4C2YMAcjs.TextLineSkeleton, { type: "inherit", as, lines: lines.phone, className: "w-full content-md:hidden" }),
3184
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAT4C2YMAcjs.TextLineSkeleton, { type: "inherit", as, lines: lines.wide, className: "hidden w-full content-md:flex" })
3186
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.TextLineSkeleton, { type: "inherit", as, lines: lines.phone, className: "w-full content-md:hidden" }),
3187
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.TextLineSkeleton, { type: "inherit", as, lines: lines.wide, className: "hidden w-full content-md:flex" })
3185
3188
  ] });
3186
3189
  }
3187
3190
  function MarkdownEngineSkeleton({
@@ -3192,17 +3195,17 @@ function MarkdownEngineSkeleton({
3192
3195
  className = ""
3193
3196
  }) {
3194
3197
  const textSizes = resolveTextSizeConfig(textSize);
3195
- const paragraphClass = _chunk6YZNUHXTcjs.cn.call(void 0, MARKDOWN_PARAGRAPH_CLASS, textSizes.p);
3198
+ const paragraphClass = _chunk7JWFMAQBcjs.cn.call(void 0, MARKDOWN_PARAGRAPH_CLASS, textSizes.p);
3196
3199
  return (
3197
3200
  // `w-full`: bars have no width of their own, so in a shrink-to-fit parent (a flex item) the skeleton would be
3198
3201
  // 0px wide where the loaded text fills its line.
3199
3202
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `${RENDERER_CLASS} w-full ${className}`, "aria-hidden": true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: CONTENT_WRAPPER_CLASS, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: ARTICLE_CLASS, children: [
3200
- title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: _chunk6YZNUHXTcjs.cn.call(void 0, MARKDOWN_H1_CLASS, textSizes.h1), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, LinesByBreakpoint, { lines: SKELETON_TITLE_LINES, as: "span" }) }),
3203
+ title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: _chunk7JWFMAQBcjs.cn.call(void 0, MARKDOWN_H1_CLASS, textSizes.h1), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, LinesByBreakpoint, { lines: SKELETON_TITLE_LINES, as: "span" }) }),
3201
3204
  sections ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: paragraphClass, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, LinesByBreakpoint, { lines: SKELETON_LEAD_LINES }) }) : null,
3202
3205
  sections ? (
3203
3206
  // loading-standard-ok(ITEM_MARK): a document's sections are its markdown text; the loaded body has no items to mark
3204
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6YZNUHXTcjs.LoadingItems, { count: sections, children: () => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { children: [
3205
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: _chunk6YZNUHXTcjs.cn.call(void 0, MARKDOWN_H2_CLASS, textSizes.h2), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAT4C2YMAcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-1/2" }) }),
3207
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7JWFMAQBcjs.LoadingItems, { count: sections, children: () => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { children: [
3208
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: _chunk7JWFMAQBcjs.cn.call(void 0, MARKDOWN_H2_CLASS, textSizes.h2), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-1/2" }) }),
3206
3209
  SKELETON_SECTION_PARAGRAPHS.map((paragraphLines, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ParagraphBar, { lines: paragraphLines, className: paragraphClass }, index))
3207
3210
  ] }) })
3208
3211
  ) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ParagraphBar, { lines, className: paragraphClass })
@@ -3263,7 +3266,7 @@ function onAskAiIntent(run) {
3263
3266
 
3264
3267
  // src/components/chat/chat-appearance-context.tsx
3265
3268
 
3266
- var ChatAppearanceContext = _react.createContext.call(void 0, _chunkIONS6HDFcjs.CHAT_APPEARANCE.CLASSIC);
3269
+ var ChatAppearanceContext = _react.createContext.call(void 0, _chunk3NGJ7NPTcjs.CHAT_APPEARANCE.CLASSIC);
3267
3270
  function useChatAppearance() {
3268
3271
  return _react.useContext.call(void 0, ChatAppearanceContext);
3269
3272
  }
@@ -3302,7 +3305,7 @@ var ApprovalRequestMessage = _react.forwardRef.call(void 0,
3302
3305
  ...props
3303
3306
  }, ref) => {
3304
3307
  const [isProcessing, setIsProcessing] = _react.useState.call(void 0, false);
3305
- const isV2 = useChatAppearance() === _chunkIONS6HDFcjs.CHAT_APPEARANCE.V2;
3308
+ const isV2 = useChatAppearance() === _chunk3NGJ7NPTcjs.CHAT_APPEARANCE.V2;
3306
3309
  const handleApprove = async () => {
3307
3310
  setIsProcessing(true);
3308
3311
  try {
@@ -3324,8 +3327,8 @@ var ApprovalRequestMessage = _react.forwardRef.call(void 0,
3324
3327
  "div",
3325
3328
  {
3326
3329
  ref,
3327
- className: _chunk6YZNUHXTcjs.cn.call(void 0,
3328
- _chunkTUD7BV6Ocjs.CHAT_BLOCK_CLASS,
3330
+ className: _chunk7JWFMAQBcjs.cn.call(void 0,
3331
+ _chunk7MV23NNTcjs.CHAT_BLOCK_CLASS,
3329
3332
  // v2: the thread owns the space below the card.
3330
3333
  !isV2 && "mb-[var(--spacing-system-xsf)]",
3331
3334
  className
@@ -3333,16 +3336,16 @@ var ApprovalRequestMessage = _react.forwardRef.call(void 0,
3333
3336
  ...props,
3334
3337
  children: [
3335
3338
  /* @__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" }),
3336
- showFooterActions && status === "pending" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTUD7BV6Ocjs.ApprovalWaitingLine, {}),
3339
+ showFooterActions && status === "pending" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7MV23NNTcjs.ApprovalWaitingLine, {}),
3337
3340
  !showFooterActions ? null : status === "pending" ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-center gap-[var(--spacing-system-xsf)]", children: [
3338
3341
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3339
- _chunkK7I3YYYUcjs.Button,
3342
+ _chunkAHBTZ7DNcjs.Button,
3340
3343
  {
3341
3344
  size: "small-legacy",
3342
3345
  variant: "accent",
3343
3346
  onClick: handleApprove,
3344
3347
  disabled: isProcessing || !onApprove,
3345
- className: _chunk6YZNUHXTcjs.cn.call(void 0,
3348
+ className: _chunk7JWFMAQBcjs.cn.call(void 0,
3346
3349
  "bg-ods-accent hover:bg-ods-accent/90",
3347
3350
  "text-ods-bg text-h5",
3348
3351
  "h-8 px-[var(--spacing-system-xsf)]"
@@ -3351,13 +3354,13 @@ var ApprovalRequestMessage = _react.forwardRef.call(void 0,
3351
3354
  }
3352
3355
  ),
3353
3356
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3354
- _chunkK7I3YYYUcjs.Button,
3357
+ _chunkAHBTZ7DNcjs.Button,
3355
3358
  {
3356
3359
  size: "small-legacy",
3357
3360
  variant: "outline",
3358
3361
  onClick: handleReject,
3359
3362
  disabled: isProcessing || !onReject,
3360
- className: _chunk6YZNUHXTcjs.cn.call(void 0,
3363
+ className: _chunk7JWFMAQBcjs.cn.call(void 0,
3361
3364
  "border-ods-border bg-ods-card",
3362
3365
  "text-ods-text-primary text-h5",
3363
3366
  "h-8 px-[var(--spacing-system-xsf)] hover:bg-ods-bg"
@@ -3365,23 +3368,23 @@ var ApprovalRequestMessage = _react.forwardRef.call(void 0,
3365
3368
  children: "Reject"
3366
3369
  }
3367
3370
  )
3368
- ] }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTUD7BV6Ocjs.ApprovalStatusTag, { status, resolvedByName, inlineResolver: true }) })
3371
+ ] }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7MV23NNTcjs.ApprovalStatusTag, { status, resolvedByName, inlineResolver: true }) })
3369
3372
  ]
3370
3373
  }
3371
3374
  );
3372
3375
  }
3373
- return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { ref, className: _chunk6YZNUHXTcjs.cn.call(void 0, "mb-[var(--spacing-system-xsf)]", _chunkTUD7BV6Ocjs.CHAT_BLOCK_CLASS, className), ...props, children: [
3376
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { ref, className: _chunk7JWFMAQBcjs.cn.call(void 0, "mb-[var(--spacing-system-xsf)]", _chunk7MV23NNTcjs.CHAT_BLOCK_CLASS, className), ...props, children: [
3374
3377
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ApprovalCardBody, { data }),
3375
- showFooterActions && status === "pending" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTUD7BV6Ocjs.ApprovalWaitingLine, {}),
3378
+ showFooterActions && status === "pending" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7MV23NNTcjs.ApprovalWaitingLine, {}),
3376
3379
  !showFooterActions ? null : status === "pending" ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xsf)]", children: [
3377
3380
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3378
- _chunkK7I3YYYUcjs.Button,
3381
+ _chunkAHBTZ7DNcjs.Button,
3379
3382
  {
3380
3383
  size: "small-legacy",
3381
3384
  variant: "accent",
3382
3385
  onClick: handleApprove,
3383
3386
  disabled: isProcessing || !onApprove,
3384
- className: _chunk6YZNUHXTcjs.cn.call(void 0,
3387
+ className: _chunk7JWFMAQBcjs.cn.call(void 0,
3385
3388
  "bg-ods-accent hover:bg-ods-accent/90",
3386
3389
  "text-ods-bg text-h5",
3387
3390
  "h-8 px-[var(--spacing-system-xsf)]"
@@ -3390,13 +3393,13 @@ var ApprovalRequestMessage = _react.forwardRef.call(void 0,
3390
3393
  }
3391
3394
  ),
3392
3395
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3393
- _chunkK7I3YYYUcjs.Button,
3396
+ _chunkAHBTZ7DNcjs.Button,
3394
3397
  {
3395
3398
  size: "small-legacy",
3396
3399
  variant: "outline",
3397
3400
  onClick: handleReject,
3398
3401
  disabled: isProcessing || !onReject,
3399
- className: _chunk6YZNUHXTcjs.cn.call(void 0,
3402
+ className: _chunk7JWFMAQBcjs.cn.call(void 0,
3400
3403
  "border-ods-border bg-ods-card",
3401
3404
  "text-ods-text-primary text-h5",
3402
3405
  "h-8 px-[var(--spacing-system-xsf)] hover:bg-ods-bg"
@@ -3404,7 +3407,7 @@ var ApprovalRequestMessage = _react.forwardRef.call(void 0,
3404
3407
  children: "Reject"
3405
3408
  }
3406
3409
  )
3407
- ] }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTUD7BV6Ocjs.ApprovalStatusTag, { status, resolvedByName, inlineResolver: true }) })
3410
+ ] }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7MV23NNTcjs.ApprovalStatusTag, { status, resolvedByName, inlineResolver: true }) })
3408
3411
  ] });
3409
3412
  }
3410
3413
  );
@@ -3414,7 +3417,7 @@ ApprovalRequestMessage.displayName = "ApprovalRequestMessage";
3414
3417
 
3415
3418
 
3416
3419
  var EscalationOfferMessage = _react.forwardRef.call(void 0,
3417
- ({ className, data, status = "pending", resolvedByName, onApprove, onReject, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref, className: _chunk6YZNUHXTcjs.cn.call(void 0, "flex flex-col", className), ...props, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3420
+ ({ className, data, status = "pending", resolvedByName, onApprove, onReject, ...props }, ref) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref, className: _chunk7JWFMAQBcjs.cn.call(void 0, "flex flex-col", className), ...props, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3418
3421
  ApprovalRequestMessage,
3419
3422
  {
3420
3423
  variant: "client",
@@ -3434,12 +3437,12 @@ EscalationOfferMessage.displayName = "EscalationOfferMessage";
3434
3437
 
3435
3438
  var AiAssistantInfo = _react.forwardRef.call(void 0,
3436
3439
  ({ className, icon, leading, title, body, timestamp, ...props }, ref) => {
3437
- const isV2 = useChatAppearance() === _chunkIONS6HDFcjs.CHAT_APPEARANCE.V2;
3440
+ const isV2 = useChatAppearance() === _chunk3NGJ7NPTcjs.CHAT_APPEARANCE.V2;
3438
3441
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
3439
3442
  "div",
3440
3443
  {
3441
3444
  ref,
3442
- className: _chunk6YZNUHXTcjs.cn.call(void 0,
3445
+ className: _chunk7JWFMAQBcjs.cn.call(void 0,
3443
3446
  "flex gap-[var(--spacing-system-s)] rounded-md border border-ods-border p-[var(--spacing-system-s)]",
3444
3447
  isV2 ? "items-center bg-ods-bg" : "mb-[var(--spacing-system-xsf)] items-start bg-ods-card",
3445
3448
  className
@@ -3450,7 +3453,7 @@ var AiAssistantInfo = _react.forwardRef.call(void 0,
3450
3453
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col", children: [
3451
3454
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-start", children: [
3452
3455
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "min-w-0 flex-1 truncate text-ods-text-primary text-h4", title, children: title }),
3453
- timestamp && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0 text-right text-ods-text-secondary text-h6", children: _chunkIONS6HDFcjs.formatTime.call(void 0, timestamp) })
3456
+ 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) })
3454
3457
  ] }),
3455
3458
  body != null && body !== "" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "w-full break-words text-ods-text-secondary text-h4", children: body })
3456
3459
  ] })
@@ -3565,7 +3568,7 @@ var SystemEventMessage = _react.forwardRef.call(void 0, ({ text: text2, timestam
3565
3568
  AiAssistantInfo,
3566
3569
  {
3567
3570
  ref,
3568
- leading: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGP7NV6BKcjs.SquareAvatar, { alt: joined, fallback: joined, size: "lg", variant: "round", className: "shrink-0" }),
3571
+ leading: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6UKH22NQcjs.SquareAvatar, { alt: joined, fallback: joined, size: "lg", variant: "round", className: "shrink-0" }),
3569
3572
  title: "Technician Joined",
3570
3573
  body: `You're now chatting with ${joined}.`,
3571
3574
  timestamp,
@@ -3599,7 +3602,7 @@ var ContextCompactionDisplay = _react.forwardRef.call(void 0,
3599
3602
  "div",
3600
3603
  {
3601
3604
  ref,
3602
- className: _chunk6YZNUHXTcjs.cn.call(void 0, "flex items-center gap-2 rounded-[6px] border border-ods-border bg-ods-card p-1.5", className),
3605
+ className: _chunk7JWFMAQBcjs.cn.call(void 0, "flex items-center gap-2 rounded-[6px] border border-ods-border bg-ods-card p-1.5", className),
3603
3606
  ...props,
3604
3607
  children: [
3605
3608
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 flex-1 text-ods-text-secondary text-h6", children: label }),
@@ -3649,7 +3652,7 @@ var thoughtMdClasses = [
3649
3652
  var ThinkingDisplay = _react.forwardRef.call(void 0,
3650
3653
  ({ className, text: text2, isStreaming = false, ...props }, ref) => {
3651
3654
  const [expanded, setExpanded] = _react.useState.call(void 0, false);
3652
- const { innerRef, isOverflowing, containerStyle } = _chunkTUD7BV6Ocjs.useCollapsible.call(void 0, {
3655
+ const { innerRef, isOverflowing, containerStyle } = _chunk7MV23NNTcjs.useCollapsible.call(void 0, {
3653
3656
  expanded,
3654
3657
  collapsedHeight: 19,
3655
3658
  disableTransition: isStreaming
@@ -3664,7 +3667,7 @@ var ThinkingDisplay = _react.forwardRef.call(void 0,
3664
3667
  setExpanded(!expanded);
3665
3668
  }
3666
3669
  };
3667
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref, className: _chunk6YZNUHXTcjs.cn.call(void 0, _chunkTUD7BV6Ocjs.CHAT_BLOCK_FRAME_CLASS, "p-1.5", className), ...props, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
3670
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref, className: _chunk7JWFMAQBcjs.cn.call(void 0, _chunk7MV23NNTcjs.CHAT_BLOCK_FRAME_CLASS, "p-1.5", className), ...props, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
3668
3671
  "div",
3669
3672
  {
3670
3673
  role: "button",
@@ -3672,7 +3675,7 @@ var ThinkingDisplay = _react.forwardRef.call(void 0,
3672
3675
  "aria-expanded": expanded,
3673
3676
  onClick: toggle,
3674
3677
  onKeyDown: handleKeyDown,
3675
- className: _chunk6YZNUHXTcjs.cn.call(void 0, "flex w-full items-start gap-3 text-left", canToggle ? "cursor-pointer" : "cursor-default"),
3678
+ className: _chunk7JWFMAQBcjs.cn.call(void 0, "flex w-full items-start gap-3 text-left", canToggle ? "cursor-pointer" : "cursor-default"),
3676
3679
  children: [
3677
3680
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-[19px] shrink-0 items-center gap-1", children: [
3678
3681
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "text-sm font-medium leading-snug text-ods-text-secondary", children: [
@@ -3681,8 +3684,8 @@ var ThinkingDisplay = _react.forwardRef.call(void 0,
3681
3684
  ] }),
3682
3685
  isStreaming && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC7GIHB3Vcjs.DotsLoaderIcon, { size: 16, className: "text-ods-text-secondary" })
3683
3686
  ] }),
3684
- /* @__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: _chunk6YZNUHXTcjs.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" }) }) }),
3685
- canToggle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-[19px] shrink-0 items-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTUD7BV6Ocjs.ExpandChevron, { expanded }) })
3687
+ /* @__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" }) }) }),
3688
+ canToggle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-[19px] shrink-0 items-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7MV23NNTcjs.ExpandChevron, { expanded }) })
3686
3689
  ]
3687
3690
  }
3688
3691
  ) });
@@ -3711,7 +3714,7 @@ var AskDisplay = _react.forwardRef.call(void 0, ({ className, cards: cards2, onS
3711
3714
  role: "group",
3712
3715
  "aria-label": active.question,
3713
3716
  "aria-describedby": isInteractive ? void 0 : lockedHintId,
3714
- className: _chunk6YZNUHXTcjs.cn.call(void 0,
3717
+ className: _chunk7JWFMAQBcjs.cn.call(void 0,
3715
3718
  "flex flex-col gap-[var(--spacing-system-s)] rounded-md border border-ods-border bg-ods-bg p-[var(--spacing-system-s)]",
3716
3719
  className
3717
3720
  ),
@@ -3721,7 +3724,7 @@ var AskDisplay = _react.forwardRef.call(void 0, ({ className, cards: cards2, onS
3721
3724
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "min-w-0 flex-1 break-words text-ods-text-primary text-h4", children: active.question }),
3722
3725
  showPager && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex shrink-0 items-center gap-[var(--spacing-system-xxs)]", children: [
3723
3726
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3724
- _chunkK7I3YYYUcjs.Button,
3727
+ _chunkAHBTZ7DNcjs.Button,
3725
3728
  {
3726
3729
  variant: "bare",
3727
3730
  size: "icon-sm",
@@ -3737,7 +3740,7 @@ var AskDisplay = _react.forwardRef.call(void 0, ({ className, cards: cards2, onS
3737
3740
  cards2.length
3738
3741
  ] }),
3739
3742
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3740
- _chunkK7I3YYYUcjs.Button,
3743
+ _chunkAHBTZ7DNcjs.Button,
3741
3744
  {
3742
3745
  variant: "bare",
3743
3746
  size: "icon-sm",
@@ -3751,7 +3754,7 @@ var AskDisplay = _react.forwardRef.call(void 0, ({ className, cards: cards2, onS
3751
3754
  ] }),
3752
3755
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative", children: [
3753
3756
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex flex-col overflow-hidden rounded-md border border-ods-border", children: active.options.map((option, optionIndex) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
3754
- _chunkK7I3YYYUcjs.Button,
3757
+ _chunkAHBTZ7DNcjs.Button,
3755
3758
  {
3756
3759
  variant: "row",
3757
3760
  type: "button",
@@ -3821,7 +3824,7 @@ function renderQuickActionIcon(icon) {
3821
3824
  if (!spec.name && !spec.url) return void 0;
3822
3825
  const accentClass = spec.accent ? ACCENT_CLASS[spec.accent] : void 0;
3823
3826
  const props = spec.accent && !accentClass ? { color: spec.accent, ..._nullishCoalesce(spec.props, () => ( {})) } : spec.props;
3824
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUN6LC5PKcjs.EntityIcon, { icon: { name: spec.name, url: spec.url, props }, size: _nullishCoalesce(spec.size, () => ( 16)), className: accentClass });
3827
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYBTORXFYcjs.EntityIcon, { icon: { name: spec.name, url: spec.url, props }, size: _nullishCoalesce(spec.size, () => ( 16)), className: accentClass });
3825
3828
  }
3826
3829
  function composeChipLabel(label, lozenge) {
3827
3830
  if (!lozenge) return label;
@@ -3829,7 +3832,7 @@ function composeChipLabel(label, lozenge) {
3829
3832
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3830
3833
  "span",
3831
3834
  {
3832
- className: _chunk6YZNUHXTcjs.cn.call(void 0,
3835
+ className: _chunk7JWFMAQBcjs.cn.call(void 0,
3833
3836
  // -translate-y-[1px]: align-middle centers on x-height, but the chip
3834
3837
  // labels are uppercase (no descenders), so the lozenge reads ~1px low
3835
3838
  // against the caps' optical center (measured 9.1px above / 6.9px
@@ -3856,17 +3859,17 @@ function QuickActionChipSkeleton({
3856
3859
  }) {
3857
3860
  const question = variant === "question";
3858
3861
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3859
- _chunkGP7NV6BKcjs.Tag,
3862
+ _chunk6UKH22NQcjs.Tag,
3860
3863
  {
3861
- ..._chunk6YZNUHXTcjs.loadingItemProps.call(void 0, props),
3864
+ ..._chunk7JWFMAQBcjs.loadingItemProps.call(void 0, props),
3862
3865
  variant: "outline",
3863
3866
  size: question ? "sentence" : size,
3864
- className: _chunk6YZNUHXTcjs.cn.call(void 0, question && "max-w-full", className),
3865
- icon: icon && !question ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAT4C2YMAcjs.UnifiedSkeleton, { as: "span", "aria-hidden": true, className: size === "large" ? "block size-5" : "block size-4" }) : void 0,
3867
+ className: _chunk7JWFMAQBcjs.cn.call(void 0, question && "max-w-full", className),
3868
+ icon: icon && !question ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.UnifiedSkeleton, { as: "span", "aria-hidden": true, className: size === "large" ? "block size-5" : "block size-4" }) : void 0,
3866
3869
  label: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
3867
- lozenge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAT4C2YMAcjs.UnifiedSkeleton, { as: "span", "aria-hidden": true, className: "mr-2 inline-block h-[16px] w-[26px] translate-y-[2px]" }),
3870
+ lozenge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.UnifiedSkeleton, { as: "span", "aria-hidden": true, className: "mr-2 inline-block h-[16px] w-[26px] translate-y-[2px]" }),
3868
3871
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3869
- _chunkAT4C2YMAcjs.UnifiedSkeleton,
3872
+ _chunk4WIJI4AKcjs.UnifiedSkeleton,
3870
3873
  {
3871
3874
  as: "span",
3872
3875
  "aria-hidden": true,
@@ -3896,8 +3899,8 @@ function QuickActionChipButton({
3896
3899
  labelCh,
3897
3900
  ...props
3898
3901
  }) {
3899
- const loading = _chunk6YZNUHXTcjs.useLoadingScope.call(void 0, ) || loadingProp;
3900
- const markers = _chunk6YZNUHXTcjs.loadingItemProps.call(void 0, props);
3902
+ const loading = _chunk7JWFMAQBcjs.useLoadingScope.call(void 0, ) || loadingProp;
3903
+ const markers = _chunk7JWFMAQBcjs.loadingItemProps.call(void 0, props);
3901
3904
  if (loading)
3902
3905
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3903
3906
  QuickActionChipSkeleton,
@@ -3920,7 +3923,7 @@ function QuickActionChipButton({
3920
3923
  const tagSize = question ? "sentence" : size;
3921
3924
  if (!interactive) {
3922
3925
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3923
- _chunkGP7NV6BKcjs.Tag,
3926
+ _chunk6UKH22NQcjs.Tag,
3924
3927
  {
3925
3928
  ...markers,
3926
3929
  variant: tagVariant,
@@ -3932,7 +3935,7 @@ function QuickActionChipButton({
3932
3935
  );
3933
3936
  }
3934
3937
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3935
- _chunkK7I3YYYUcjs.Button,
3938
+ _chunkAHBTZ7DNcjs.Button,
3936
3939
  {
3937
3940
  variant: "card",
3938
3941
  ...markers,
@@ -3943,13 +3946,13 @@ function QuickActionChipButton({
3943
3946
  onFocus: onHoverStart,
3944
3947
  onBlur: onHoverEnd,
3945
3948
  "aria-pressed": selected || void 0,
3946
- className: _chunk6YZNUHXTcjs.cn.call(void 0,
3949
+ className: _chunk7JWFMAQBcjs.cn.call(void 0,
3947
3950
  // A question may be longer than a narrow column: it shrinks and clips there, read from its start.
3948
3951
  question ? "w-auto min-w-0 max-w-full" : "w-auto shrink-0",
3949
3952
  className
3950
3953
  ),
3951
3954
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3952
- _chunkGP7NV6BKcjs.Tag,
3955
+ _chunk6UKH22NQcjs.Tag,
3953
3956
  {
3954
3957
  variant: tagVariant,
3955
3958
  size: tagSize,
@@ -3972,7 +3975,7 @@ function QuickActionChipFromData({
3972
3975
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3973
3976
  QuickActionChipButton,
3974
3977
  {
3975
- ..._chunk6YZNUHXTcjs.loadingItemProps.call(void 0, props),
3978
+ ..._chunk7JWFMAQBcjs.loadingItemProps.call(void 0, props),
3976
3979
  label: chip.label,
3977
3980
  icon: chip.icon,
3978
3981
  theme: _nullishCoalesce(chip.theme, () => ( defaultTheme)),
@@ -4023,14 +4026,14 @@ var iconTint = {
4023
4026
  var ErrorMessageDisplay = _react.forwardRef.call(void 0,
4024
4027
  ({ className, title, details, type = "error", ...props }, ref) => {
4025
4028
  const [expanded, setExpanded] = _react.useState.call(void 0, false);
4026
- const { innerRef, containerStyle } = _chunkTUD7BV6Ocjs.useCollapsible.call(void 0, { expanded });
4029
+ const { innerRef, containerStyle } = _chunk7MV23NNTcjs.useCollapsible.call(void 0, { expanded });
4027
4030
  const hasDetails = Boolean(details);
4028
- const isV2 = useChatAppearance() === _chunkIONS6HDFcjs.CHAT_APPEARANCE.V2;
4031
+ const isV2 = useChatAppearance() === _chunk3NGJ7NPTcjs.CHAT_APPEARANCE.V2;
4029
4032
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
4030
4033
  "div",
4031
4034
  {
4032
4035
  ref,
4033
- className: _chunk6YZNUHXTcjs.cn.call(void 0,
4036
+ className: _chunk7JWFMAQBcjs.cn.call(void 0,
4034
4037
  "rounded-md",
4035
4038
  isV2 ? "border border-ods-border bg-ods-bg p-[var(--spacing-system-xs)]" : "mb-[var(--spacing-system-xsf)] bg-ods-card p-[var(--spacing-system-xsf)]",
4036
4039
  className
@@ -4038,7 +4041,7 @@ var ErrorMessageDisplay = _react.forwardRef.call(void 0,
4038
4041
  ...props,
4039
4042
  children: [
4040
4043
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
4041
- _chunkK7I3YYYUcjs.Button,
4044
+ _chunkAHBTZ7DNcjs.Button,
4042
4045
  {
4043
4046
  variant: "row",
4044
4047
  type: "button",
@@ -4047,11 +4050,11 @@ var ErrorMessageDisplay = _react.forwardRef.call(void 0,
4047
4050
  "aria-label": hasDetails ? expanded ? "Collapse details" : "Expand details" : void 0,
4048
4051
  disabled: !hasDetails,
4049
4052
  children: [
4050
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7WT2C5YYcjs.AlertCircleIcon, { size: 16, className: _chunk6YZNUHXTcjs.cn.call(void 0, "shrink-0", iconTint[type]) }),
4053
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7WT2C5YYcjs.AlertCircleIcon, { size: 16, className: _chunk7JWFMAQBcjs.cn.call(void 0, "shrink-0", iconTint[type]) }),
4051
4054
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
4052
4055
  "span",
4053
4056
  {
4054
- className: _chunk6YZNUHXTcjs.cn.call(void 0,
4057
+ className: _chunk7JWFMAQBcjs.cn.call(void 0,
4055
4058
  "min-w-0 flex-1 text-h5",
4056
4059
  expanded || isV2 ? "text-ods-text-primary" : "text-ods-text-secondary",
4057
4060
  !expanded && "truncate"
@@ -4059,7 +4062,7 @@ var ErrorMessageDisplay = _react.forwardRef.call(void 0,
4059
4062
  children: title
4060
4063
  }
4061
4064
  ),
4062
- hasDetails && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTUD7BV6Ocjs.ExpandChevron, { expanded })
4065
+ hasDetails && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7MV23NNTcjs.ExpandChevron, { expanded })
4063
4066
  ]
4064
4067
  }
4065
4068
  ),
@@ -4067,7 +4070,7 @@ var ErrorMessageDisplay = _react.forwardRef.call(void 0,
4067
4070
  "div",
4068
4071
  {
4069
4072
  ref: innerRef,
4070
- className: _chunk6YZNUHXTcjs.cn.call(void 0,
4073
+ className: _chunk7JWFMAQBcjs.cn.call(void 0,
4071
4074
  "px-[var(--spacing-system-lf)]",
4072
4075
  isV2 ? "pt-[var(--spacing-system-xs)]" : "pt-[var(--spacing-system-xsf)]"
4073
4076
  ),
@@ -4099,27 +4102,27 @@ function MspOrganizationCard({
4099
4102
  loading: loadingProp = false,
4100
4103
  className
4101
4104
  }) {
4102
- const loading = _chunk6YZNUHXTcjs.useLoadingScope.call(void 0, ) || loadingProp;
4105
+ const loading = _chunk7JWFMAQBcjs.useLoadingScope.call(void 0, ) || loadingProp;
4103
4106
  const actionLabel = website ? `Open ${website}` : "Open organization website";
4104
4107
  const footer = variant === "footer";
4105
4108
  const buttonSize = footer ? "icon-sm" : "icon";
4106
- const action = href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkK7I3YYYUcjs.Button, { asChild: true, variant: "outline", size: buttonSize, "aria-label": actionLabel, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { href, target: "_blank", rel: "noreferrer noopener", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEDVT7OAScjs.ExternalLinkIcon, {}) }) }) : onOpenWebsite ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkK7I3YYYUcjs.Button, { variant: "outline", size: buttonSize, "aria-label": actionLabel, onClick: onOpenWebsite, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEDVT7OAScjs.ExternalLinkIcon, {}) }) : null;
4107
- const trailing = action && loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6YZNUHXTcjs.InertWhileLoading, { children: action }) : action;
4109
+ const action = href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAHBTZ7DNcjs.Button, { asChild: true, variant: "outline", size: buttonSize, "aria-label": actionLabel, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { href, target: "_blank", rel: "noreferrer noopener", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEDVT7OAScjs.ExternalLinkIcon, {}) }) }) : onOpenWebsite ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAHBTZ7DNcjs.Button, { variant: "outline", size: buttonSize, "aria-label": actionLabel, onClick: onOpenWebsite, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEDVT7OAScjs.ExternalLinkIcon, {}) }) : null;
4110
+ const trailing = action && loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7JWFMAQBcjs.InertWhileLoading, { children: action }) : action;
4108
4111
  if (footer) {
4109
- return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk6YZNUHXTcjs.cn.call(void 0, FOOTER_FRAME_CLASS, className), children: [
4110
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGP7NV6BKcjs.SquareAvatar, { loading, src: logoUrl, alt: name, fallback: name, size: "sm", variant: "square" }),
4112
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk7JWFMAQBcjs.cn.call(void 0, FOOTER_FRAME_CLASS, className), children: [
4113
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6UKH22NQcjs.SquareAvatar, { loading, src: logoUrl, alt: name, fallback: name, size: "sm", variant: "square" }),
4111
4114
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: TEXT_STACK_CLASS, children: [
4112
4115
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: FOOTER_CAPTION_CLASS, children: FOOTER_CAPTION }),
4113
- loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAT4C2YMAcjs.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)) })
4116
+ 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)) })
4114
4117
  ] }),
4115
4118
  trailing
4116
4119
  ] });
4117
4120
  }
4118
- return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk6YZNUHXTcjs.cn.call(void 0, CARD_FRAME_CLASS, className), children: [
4119
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGP7NV6BKcjs.SquareAvatar, { loading, src: logoUrl, alt: name, fallback: name, size: "lg", variant: "square" }),
4121
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk7JWFMAQBcjs.cn.call(void 0, CARD_FRAME_CLASS, className), children: [
4122
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6UKH22NQcjs.SquareAvatar, { loading, src: logoUrl, alt: name, fallback: name, size: "lg", variant: "square" }),
4120
4123
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: TEXT_STACK_CLASS, children: loading ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
4121
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAT4C2YMAcjs.TextLineSkeleton, { type: "h3", className: "w-3/5" }),
4122
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAT4C2YMAcjs.TextLineSkeleton, { type: "h4", className: "w-2/5" })
4124
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.TextLineSkeleton, { type: "h3", className: "w-3/5" }),
4125
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.TextLineSkeleton, { type: "h4", className: "w-2/5" })
4123
4126
  ] }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
4124
4127
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-primary text-h3", children: _nullishCoalesce(title, () => ( `Your IT is managed by ${name}`)) }),
4125
4128
  website ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-secondary text-h4", children: website }) : null
@@ -4139,7 +4142,7 @@ var ConnectionIndicator = ({ status }) => {
4139
4142
  case "connected":
4140
4143
  return "bg-ods-success";
4141
4144
  case "connecting":
4142
- return `bg-ods-warning ${_chunkAT4C2YMAcjs.LIVE_PULSE_CLASS}`;
4145
+ return `bg-ods-warning ${_chunk4WIJI4AKcjs.LIVE_PULSE_CLASS}`;
4143
4146
  case "disconnected":
4144
4147
  return "bg-ods-error";
4145
4148
  default:
@@ -4149,7 +4152,7 @@ var ConnectionIndicator = ({ status }) => {
4149
4152
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
4150
4153
  "output",
4151
4154
  {
4152
- className: _chunk6YZNUHXTcjs.cn.call(void 0, "block h-2 w-2 rounded-full", getStatusStyles()),
4155
+ className: _chunk7JWFMAQBcjs.cn.call(void 0, "block h-2 w-2 rounded-full", getStatusStyles()),
4153
4156
  "aria-label": `Connection status: ${status}`,
4154
4157
  title: status === "connected" ? "Connected" : status === "connecting" ? "Connecting..." : "Disconnected"
4155
4158
  }
@@ -4160,7 +4163,7 @@ var ChatContainer = _react.forwardRef.call(void 0, ({ className, children, ...pr
4160
4163
  "div",
4161
4164
  {
4162
4165
  ref,
4163
- className: _chunk6YZNUHXTcjs.cn.call(void 0,
4166
+ className: _chunk7JWFMAQBcjs.cn.call(void 0,
4164
4167
  "flex h-screen w-full flex-col",
4165
4168
  "bg-ods-bg text-ods-text-primary",
4166
4169
  "px-4 pb-8 pt-10 md:px-6 lg:px-8",
@@ -4194,7 +4197,7 @@ var ChatHeader = _react.forwardRef.call(void 0,
4194
4197
  isLoading: isLoadingProp = false,
4195
4198
  ...props
4196
4199
  }, ref) => {
4197
- const inScope = _chunk6YZNUHXTcjs.useLoadingScope.call(void 0, );
4200
+ const inScope = _chunk7JWFMAQBcjs.useLoadingScope.call(void 0, );
4198
4201
  const isLoading = inScope || isLoadingProp;
4199
4202
  const mspLoading = inScope || isMspLoading;
4200
4203
  const cardClasses = bare ? "" : "rounded-md bg-ods-card border border-ods-border";
@@ -4202,7 +4205,7 @@ var ChatHeader = _react.forwardRef.call(void 0,
4202
4205
  "div",
4203
4206
  {
4204
4207
  ref,
4205
- className: _chunk6YZNUHXTcjs.cn.call(void 0,
4208
+ className: _chunk7JWFMAQBcjs.cn.call(void 0,
4206
4209
  // `fullWidth` drops the centered-narrow content column for
4207
4210
  // chats hosted in side panels where 600px would float in
4208
4211
  // the middle of a wider container.
@@ -4212,21 +4215,21 @@ var ChatHeader = _react.forwardRef.call(void 0,
4212
4215
  ...props,
4213
4216
  children: [
4214
4217
  onBack && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
4215
- _chunkK7I3YYYUcjs.Button,
4218
+ _chunkAHBTZ7DNcjs.Button,
4216
4219
  {
4217
4220
  onClick: onBack,
4218
4221
  variant: "transparent",
4219
4222
  size: "icon",
4220
4223
  "aria-label": "Back",
4221
4224
  leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFC7N7BQXcjs.Chevron02LeftIcon, { size: 24, className: "text-ods-text-primary" }),
4222
- className: _chunk6YZNUHXTcjs.cn.call(void 0, cardClasses, "absolute right-full top-0 mr-[var(--spacing-system-s)] hover:bg-ods-bg-hover")
4225
+ className: _chunk7JWFMAQBcjs.cn.call(void 0, cardClasses, "absolute right-full top-0 mr-[var(--spacing-system-s)] hover:bg-ods-bg-hover")
4223
4226
  }
4224
4227
  ),
4225
4228
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: cardClasses, children: [
4226
4229
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-between gap-4 px-4 py-3", children: [
4227
4230
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
4228
4231
  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,
4229
- _chunkGP7NV6BKcjs.SquareAvatar,
4232
+ _chunk6UKH22NQcjs.SquareAvatar,
4230
4233
  {
4231
4234
  loading: isLoading,
4232
4235
  src: userAvatar,
@@ -4238,8 +4241,8 @@ var ChatHeader = _react.forwardRef.call(void 0,
4238
4241
  }
4239
4242
  ),
4240
4243
  isLoading ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
4241
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAT4C2YMAcjs.TextLineSkeleton, { type: "h3", className: "w-40" }),
4242
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAT4C2YMAcjs.TextLineSkeleton, { type: "h4", className: "w-28" })
4244
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.TextLineSkeleton, { type: "h3", className: "w-40" }),
4245
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.TextLineSkeleton, { type: "h4", className: "w-28" })
4243
4246
  ] }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
4244
4247
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-h3", children: userName }),
4245
4248
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center gap-2", children: serverUrl && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
@@ -4250,7 +4253,7 @@ var ChatHeader = _react.forwardRef.call(void 0,
4250
4253
  ] }),
4251
4254
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-1", children: [
4252
4255
  showNewChat && onNewChat && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
4253
- _chunkK7I3YYYUcjs.Button,
4256
+ _chunkAHBTZ7DNcjs.Button,
4254
4257
  {
4255
4258
  onClick: onNewChat,
4256
4259
  variant: "transparent",
@@ -4261,7 +4264,7 @@ var ChatHeader = _react.forwardRef.call(void 0,
4261
4264
  }
4262
4265
  ),
4263
4266
  onClose && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
4264
- _chunkK7I3YYYUcjs.Button,
4267
+ _chunkAHBTZ7DNcjs.Button,
4265
4268
  {
4266
4269
  onClick: onClose,
4267
4270
  variant: "transparent",
@@ -4282,7 +4285,7 @@ var ChatHeader = _react.forwardRef.call(void 0,
4282
4285
  name: "",
4283
4286
  ...mspOrganization,
4284
4287
  loading: mspLoading || !mspOrganization,
4285
- className: _chunk6YZNUHXTcjs.cn.call(void 0, "rounded-none ring-0", !bare && "rounded-b-md", _optionalChain([mspOrganization, 'optionalAccess', _66 => _66.className]))
4288
+ className: _chunk7JWFMAQBcjs.cn.call(void 0, "rounded-none ring-0", !bare && "rounded-b-md", _optionalChain([mspOrganization, 'optionalAccess', _66 => _66.className]))
4286
4289
  }
4287
4290
  )
4288
4291
  ] }),
@@ -4308,9 +4311,9 @@ var ChatHeader = _react.forwardRef.call(void 0,
4308
4311
  )
4309
4312
  ] }),
4310
4313
  (ticketInfo.status || ticketInfo.statusName) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
4311
- _chunkTUD7BV6Ocjs.TicketStatusTag,
4314
+ _chunk7MV23NNTcjs.TicketStatusTag,
4312
4315
  {
4313
- ..._chunkTUD7BV6Ocjs.resolveStatusTagProps.call(void 0, {
4316
+ ..._chunk7MV23NNTcjs.resolveStatusTagProps.call(void 0, {
4314
4317
  status: ticketInfo.status,
4315
4318
  statusKind: ticketInfo.statusKind,
4316
4319
  statusName: ticketInfo.statusName,
@@ -4329,16 +4332,16 @@ var ChatHeader = _react.forwardRef.call(void 0,
4329
4332
  ChatHeader.displayName = "ChatHeader";
4330
4333
  var ChatContent = _react.forwardRef.call(void 0,
4331
4334
  ({ className, children, ...props }, ref) => {
4332
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref, className: _chunk6YZNUHXTcjs.cn.call(void 0, "flex min-h-0 flex-1 flex-col", className), ...props, children });
4335
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref, className: _chunk7JWFMAQBcjs.cn.call(void 0, "flex min-h-0 flex-1 flex-col", className), ...props, children });
4333
4336
  }
4334
4337
  );
4335
4338
  ChatContent.displayName = "ChatContent";
4336
4339
  var ChatFooter = _react.forwardRef.call(void 0,
4337
4340
  ({ className, contentClassName, fullWidth = false, children, ...props }, ref) => {
4338
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref, className: _chunk6YZNUHXTcjs.cn.call(void 0, "w-full flex-shrink-0 px-0 pb-0 pt-2 md:px-0", className), ...props, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
4341
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref, className: _chunk7JWFMAQBcjs.cn.call(void 0, "w-full flex-shrink-0 px-0 pb-0 pt-2 md:px-0", className), ...props, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
4339
4342
  "div",
4340
4343
  {
4341
- className: _chunk6YZNUHXTcjs.cn.call(void 0,
4344
+ className: _chunk7JWFMAQBcjs.cn.call(void 0,
4342
4345
  // `fullWidth=true` opts out of the centered-narrow column;
4343
4346
  // `fullWidth=false` (default) preserves the legacy 600px
4344
4347
  // max-width. `contentClassName` is appended last so a
@@ -4364,7 +4367,7 @@ function LoadingFallback({
4364
4367
  className,
4365
4368
  children
4366
4369
  }) {
4367
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6YZNUHXTcjs.AnnouncedLoadingScope, { label, status, as, className, children });
4370
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7JWFMAQBcjs.AnnouncedLoadingScope, { label, status, as, className, children });
4368
4371
  }
4369
4372
  function LoadingSuspense({
4370
4373
  label,
@@ -4406,18 +4409,18 @@ function ContextMenuRow({
4406
4409
  loading: loadingProp = false,
4407
4410
  ...props
4408
4411
  }) {
4409
- const inScope = _chunk6YZNUHXTcjs.useLoadingScope.call(void 0, );
4412
+ const inScope = _chunk7JWFMAQBcjs.useLoadingScope.call(void 0, );
4410
4413
  const loading = loadingProp || inScope && (label == null || label === "");
4411
4414
  const content = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
4412
4415
  icon != null && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: CONTEXT_ICON_CLASS, children: icon }),
4413
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: CONTEXT_LABEL_CLASS, children: loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAT4C2YMAcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-1/2" }) : label }),
4416
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: CONTEXT_LABEL_CLASS, children: loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-1/2" }) : label }),
4414
4417
  !loading && trailing
4415
4418
  ] });
4416
4419
  if (loading) {
4417
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "aria-hidden": true, className: _chunk6YZNUHXTcjs.BUTTON_KIND_CLASS.row, ..._chunk6YZNUHXTcjs.loadingItemProps.call(void 0, props), children: content });
4420
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "aria-hidden": true, className: _chunk7JWFMAQBcjs.BUTTON_KIND_CLASS.row, ..._chunk7JWFMAQBcjs.loadingItemProps.call(void 0, props), children: content });
4418
4421
  }
4419
4422
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
4420
- _chunkK7I3YYYUcjs.Button,
4423
+ _chunkAHBTZ7DNcjs.Button,
4421
4424
  {
4422
4425
  variant: "row",
4423
4426
  type: "button",
@@ -4426,13 +4429,13 @@ function ContextMenuRow({
4426
4429
  disabled,
4427
4430
  onClick,
4428
4431
  title,
4429
- ..._chunk6YZNUHXTcjs.loadingItemProps.call(void 0, props),
4432
+ ..._chunk7JWFMAQBcjs.loadingItemProps.call(void 0, props),
4430
4433
  children: content
4431
4434
  }
4432
4435
  );
4433
4436
  }
4434
4437
  function ContextItemsSkeleton({ count }) {
4435
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6YZNUHXTcjs.LoadingItems, { count, children: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ContextMenuRow, { loading: true, label: "", "data-loading-item": true }) });
4438
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7JWFMAQBcjs.LoadingItems, { count, children: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ContextMenuRow, { loading: true, label: "", "data-loading-item": true }) });
4436
4439
  }
4437
4440
  function ContextItemsList({
4438
4441
  items,
@@ -4446,7 +4449,7 @@ function ContextItemsList({
4446
4449
  emptyLabel = "No results",
4447
4450
  className
4448
4451
  }) {
4449
- const loading = _chunk6YZNUHXTcjs.useLoadingScope.call(void 0, );
4452
+ const loading = _chunk7JWFMAQBcjs.useLoadingScope.call(void 0, );
4450
4453
  const onScroll = _react.useCallback.call(void 0,
4451
4454
  (e) => {
4452
4455
  if (!hasMore || loadingMore || !onLoadMore) return;
@@ -4456,12 +4459,12 @@ function ContextItemsList({
4456
4459
  [hasMore, loadingMore, onLoadMore]
4457
4460
  );
4458
4461
  if (loading) {
4459
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk6YZNUHXTcjs.cn.call(void 0, CONTEXT_LIST_CLASS, className), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ContextItemsSkeleton, { count: pageSize }) });
4462
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk7JWFMAQBcjs.cn.call(void 0, CONTEXT_LIST_CLASS, className), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ContextItemsSkeleton, { count: pageSize }) });
4460
4463
  }
4461
4464
  if (items.length === 0 && !loadingMore) {
4462
4465
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: CONTEXT_STATE_CLASS, children: emptyLabel });
4463
4466
  }
4464
- return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { role: "listbox", "aria-label": "Items", onScroll, className: _chunk6YZNUHXTcjs.cn.call(void 0, CONTEXT_LIST_CLASS, className), children: [
4467
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { role: "listbox", "aria-label": "Items", onScroll, className: _chunk7JWFMAQBcjs.cn.call(void 0, CONTEXT_LIST_CLASS, className), children: [
4465
4468
  items.map((item) => {
4466
4469
  const selected = selectedKeys.has(itemKey(item));
4467
4470
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -4480,7 +4483,7 @@ function ContextItemsList({
4480
4483
  );
4481
4484
  }),
4482
4485
  loadingMore && // `contents`: the rows stay the list's own rows; the region only adds the one announcement.
4483
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGD6RPLHXcjs.LoadingRegion, { label: "Loading more items", className: "contents", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ContextItemsSkeleton, { count: pageSize }) })
4486
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLKQ33CMYcjs.LoadingRegion, { label: "Loading more items", className: "contents", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ContextItemsSkeleton, { count: pageSize }) })
4484
4487
  ] });
4485
4488
  }
4486
4489
  var ContextErrorBoundary = class extends _react.Component {
@@ -4524,7 +4527,7 @@ function ChatComposerPlusMenu({
4524
4527
  // aligning the popover to the `+` rather than the input row.
4525
4528
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "relative inline-flex", children: [
4526
4529
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
4527
- _chunkK7I3YYYUcjs.Button,
4530
+ _chunkAHBTZ7DNcjs.Button,
4528
4531
  {
4529
4532
  variant: "bare",
4530
4533
  "data-tone": "accent",
@@ -4645,7 +4648,7 @@ function ChatContextPicker({
4645
4648
  role: "dialog",
4646
4649
  "aria-label": "Add context",
4647
4650
  style: { maxHeight: availMaxH },
4648
- className: _chunk6YZNUHXTcjs.cn.call(void 0,
4651
+ className: _chunk7JWFMAQBcjs.cn.call(void 0,
4649
4652
  // Anchored to the `+` button (its `relative` parent): left edge aligns
4650
4653
  // to the button, `bottom-full` floats it just above with a 4px gap.
4651
4654
  "absolute bottom-full left-0 z-50 mb-1 flex max-h-[70vh] w-[320px] max-w-[90vw] flex-col overflow-y-auto overflow-x-hidden overscroll-contain",
@@ -4676,7 +4679,7 @@ function ChatContextPicker({
4676
4679
  /* Level 1 — Back + entity-type list (Figma 31:28708). Back stays pinned;
4677
4680
  the type list scrolls if it can't fit the capped popover height. */
4678
4681
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { role: "menu", "aria-label": "Context types", className: "flex flex-col divide-y divide-ods-border", children: [
4679
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: CONTEXT_BACK_BAR_CLASS, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkK7I3YYYUcjs.Button, { variant: "row", type: "button", onClick: () => setView("root"), children: [
4682
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: CONTEXT_BACK_BAR_CLASS, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkAHBTZ7DNcjs.Button, { variant: "row", type: "button", onClick: () => setView("root"), children: [
4680
4683
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFC7N7BQXcjs.Chevron02LeftIcon, { size: 24 }),
4681
4684
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate", children: "Back" })
4682
4685
  ] }) }),
@@ -4685,7 +4688,7 @@ function ChatContextPicker({
4685
4688
  ) : activeType ? (
4686
4689
  /* Level 2 — Back + search + HOST-rendered items (Figma 31:29102). */
4687
4690
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
4688
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk6YZNUHXTcjs.cn.call(void 0, CONTEXT_BACK_BAR_CLASS, "border-b border-ods-border"), children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkK7I3YYYUcjs.Button, { variant: "row", type: "button", onClick: backToTypes, children: [
4691
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk7JWFMAQBcjs.cn.call(void 0, CONTEXT_BACK_BAR_CLASS, "border-b border-ods-border"), children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkAHBTZ7DNcjs.Button, { variant: "row", type: "button", onClick: backToTypes, children: [
4689
4692
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFC7N7BQXcjs.Chevron02LeftIcon, { size: 24 }),
4690
4693
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate", children: "Back" })
4691
4694
  ] }) }),
@@ -4709,7 +4712,7 @@ function ChatContextPicker({
4709
4712
  fallback: (retry) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-between gap-2 bg-ods-bg px-4 py-3 text-ods-attention-red-error text-h4", children: [
4710
4713
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: "Failed to load" }),
4711
4714
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
4712
- _chunkK7I3YYYUcjs.Button,
4715
+ _chunkAHBTZ7DNcjs.Button,
4713
4716
  {
4714
4717
  variant: "link",
4715
4718
  size: "compact",
@@ -4734,7 +4737,7 @@ function ChatContextPicker({
4734
4737
  {
4735
4738
  items: [],
4736
4739
  selectedKeys: NO_SELECTED_KEYS,
4737
- onToggle: _chunk6YZNUHXTcjs.LOADING_NOOP,
4740
+ onToggle: _chunk7JWFMAQBcjs.LOADING_NOOP,
4738
4741
  atLimit: false
4739
4742
  }
4740
4743
  ),
@@ -4766,7 +4769,7 @@ function ChatContextChipStrip({
4766
4769
  return (
4767
4770
  // `tag` pills (Figma 1:6073): 32px tall, card surface, bordered, mono-
4768
4771
  // uppercase label, 16px lead icon + xmark-circle remove. Wraps to new rows.
4769
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk6YZNUHXTcjs.cn.call(void 0, "flex flex-wrap content-center items-center gap-2", className), children: items.map((item) => {
4772
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk7JWFMAQBcjs.cn.call(void 0, "flex flex-wrap content-center items-center gap-2", className), children: items.map((item) => {
4770
4773
  const hostNode = _optionalChain([renderItem, 'optionalCall', _77 => _77(item)]);
4771
4774
  if (hostNode != null) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _react.Fragment, { children: hostNode }, itemKey2(item));
4772
4775
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
@@ -4786,7 +4789,7 @@ function ChatContextChipStrip({
4786
4789
  }
4787
4790
  ),
4788
4791
  onRemove && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
4789
- _chunkK7I3YYYUcjs.Button,
4792
+ _chunkAHBTZ7DNcjs.Button,
4790
4793
  {
4791
4794
  variant: "bare",
4792
4795
  size: "icon-inline",
@@ -4903,11 +4906,11 @@ var remarkMentionChips = () => {
4903
4906
  // src/components/chat/tool-execution-display.tsx
4904
4907
 
4905
4908
 
4906
- var COMMAND_BODY_KEYS = new Set(_chunkTUD7BV6Ocjs.COMMAND_BODY_ARG_KEYS);
4909
+ var COMMAND_BODY_KEYS = new Set(_chunk7MV23NNTcjs.COMMAND_BODY_ARG_KEYS);
4907
4910
  var ToolExecutionDisplay = _react.forwardRef.call(void 0,
4908
4911
  ({ className, message, assistantType, variant = "admin", ...props }, ref) => {
4909
4912
  const [expanded, setExpanded] = _react.useState.call(void 0, false);
4910
- const { innerRef, containerStyle } = _chunkTUD7BV6Ocjs.useCollapsible.call(void 0, { expanded });
4913
+ const { innerRef, containerStyle } = _chunk7MV23NNTcjs.useCollapsible.call(void 0, { expanded });
4911
4914
  const isClient = assistantType === "fae";
4912
4915
  const isClientView = variant === "client";
4913
4916
  const isExecuting = message.type === "EXECUTING_TOOL";
@@ -4938,11 +4941,11 @@ var ToolExecutionDisplay = _react.forwardRef.call(void 0,
4938
4941
  const statusTone = isExecuting ? "working" : message.success === false ? "error" : "success";
4939
4942
  const statusLabel = _optionalChain([message, 'access', _84 => _84.statusLabel, 'optionalAccess', _85 => _85.trim, 'call', _86 => _86()]) || (isExecuting ? "Working on it" : message.success === false ? "Failed" : "Done");
4940
4943
  const headerContent = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
4941
- !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, _chunkHBAVHYXOcjs.ToolIcon, { toolType: integratedToolType, size: 16 }) }),
4944
+ !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 }) }),
4942
4945
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
4943
4946
  "div",
4944
4947
  {
4945
- className: _chunk6YZNUHXTcjs.cn.call(void 0,
4948
+ className: _chunk7JWFMAQBcjs.cn.call(void 0,
4946
4949
  "min-w-0 flex-1 text-h6",
4947
4950
  isClientView ? "whitespace-pre-wrap break-words text-ods-text-primary" : isExpanded ? "whitespace-pre-wrap break-all text-ods-text-primary" : "line-clamp-2 max-h-10 break-all text-ods-text-secondary"
4948
4951
  ),
@@ -4950,17 +4953,17 @@ var ToolExecutionDisplay = _react.forwardRef.call(void 0,
4950
4953
  }
4951
4954
  ),
4952
4955
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-5 w-5 shrink-0 items-center justify-center", children: renderStatusIcon() }),
4953
- !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, _chunkTUD7BV6Ocjs.ExpandChevron, { expanded: isExpanded }) })
4956
+ !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, _chunk7MV23NNTcjs.ExpandChevron, { expanded: isExpanded }) })
4954
4957
  ] });
4955
4958
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
4956
4959
  "div",
4957
4960
  {
4958
4961
  ref,
4959
- className: _chunk6YZNUHXTcjs.cn.call(void 0,
4962
+ className: _chunk7JWFMAQBcjs.cn.call(void 0,
4960
4963
  // The command running block keeps its bordered box in both chats
4961
4964
  // (Figma 1972-6109). CLIENT (Fae) only drops the tool icon below.
4962
4965
  "flex w-full flex-col overflow-hidden",
4963
- _chunkTUD7BV6Ocjs.CHAT_BLOCK_FRAME_CLASS,
4966
+ _chunk7MV23NNTcjs.CHAT_BLOCK_FRAME_CLASS,
4964
4967
  className
4965
4968
  ),
4966
4969
  ...props,
@@ -4971,14 +4974,14 @@ var ToolExecutionDisplay = _react.forwardRef.call(void 0,
4971
4974
  // It reads as a card: what was done, then one status line under it.
4972
4975
  /* @__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: [
4973
4976
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 whitespace-pre-wrap break-words text-ods-text-primary text-h4", children: previewText }),
4974
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTUD7BV6Ocjs.StatusLine, { tone: statusTone, label: statusLabel })
4977
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7MV23NNTcjs.StatusLine, { tone: statusTone, label: statusLabel })
4975
4978
  ] })
4976
4979
  ) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
4977
- hasBody ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkK7I3YYYUcjs.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 }),
4980
+ 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 }),
4978
4981
  /* @__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: [
4979
- argEntries.map(([key, value]) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTUD7BV6Ocjs.ArgRow, { argKey: key, value }, key)),
4982
+ argEntries.map(([key, value]) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7MV23NNTcjs.ArgRow, { argKey: key, value }, key)),
4980
4983
  hasResult && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
4981
- _chunkTUD7BV6Ocjs.ResultBlock,
4984
+ _chunk7MV23NNTcjs.ResultBlock,
4982
4985
  {
4983
4986
  result: message.result,
4984
4987
  className: argEntries.length > 0 ? "mt-[var(--spacing-system-xsf)]" : void 0
@@ -4987,7 +4990,7 @@ var ToolExecutionDisplay = _react.forwardRef.call(void 0,
4987
4990
  isExecuting && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
4988
4991
  "div",
4989
4992
  {
4990
- className: _chunk6YZNUHXTcjs.cn.call(void 0,
4993
+ className: _chunk7JWFMAQBcjs.cn.call(void 0,
4991
4994
  "flex w-full flex-col items-start gap-[var(--spacing-system-xxs)]",
4992
4995
  argEntries.length > 0 && "mt-[var(--spacing-system-xsf)]"
4993
4996
  ),
@@ -5010,8 +5013,8 @@ ToolExecutionDisplay.displayName = "ToolExecutionDisplay";
5010
5013
 
5011
5014
  // src/components/chat/chat-message-layout.ts
5012
5015
  var CHAT_MESSAGE_ROW_PADDING_CLASS = {
5013
- [_chunkIONS6HDFcjs.CHAT_APPEARANCE.CLASSIC]: "py-[var(--spacing-system-s)]",
5014
- [_chunkIONS6HDFcjs.CHAT_APPEARANCE.V2]: "py-[calc(var(--spacing-system-m)/2)]"
5016
+ [_chunk3NGJ7NPTcjs.CHAT_APPEARANCE.CLASSIC]: "py-[var(--spacing-system-s)]",
5017
+ [_chunk3NGJ7NPTcjs.CHAT_APPEARANCE.V2]: "py-[calc(var(--spacing-system-m)/2)]"
5015
5018
  };
5016
5019
  var CHAT_MESSAGE_STACK_CLASS = "grid min-w-0 grid-cols-1 gap-[var(--spacing-system-xxs)]";
5017
5020
  var CHAT_MESSAGE_HEADER_CLASS = "flex items-center gap-[var(--spacing-system-xs)]";
@@ -5052,8 +5055,8 @@ var remarkStripCitations = () => {
5052
5055
  var MENTION_MARKER_REGEX = /(^|[^\w@])@[a-zA-Z]+:([A-Za-z0-9_.+/=-]*[A-Za-z0-9_+/=])/g;
5053
5056
  var CARD_MARKER_REGEX = createCardMarkerScanner();
5054
5057
  function formatMessageTimestamp(timestamp) {
5055
- const time = _chunkIONS6HDFcjs.formatTime.call(void 0, timestamp);
5056
- return _chunkTUD7BV6Ocjs.isToday.call(void 0, timestamp) ? time : `${_chunkIONS6HDFcjs.formatDate.call(void 0, timestamp)} ${time}`;
5058
+ const time = _chunk3NGJ7NPTcjs.formatTime.call(void 0, timestamp);
5059
+ return _chunk7MV23NNTcjs.isToday.call(void 0, timestamp) ? time : `${_chunk3NGJ7NPTcjs.formatDate.call(void 0, timestamp)} ${time}`;
5057
5060
  }
5058
5061
  function normalizeContent(content) {
5059
5062
  if (typeof content === "string") {
@@ -5109,7 +5112,7 @@ var ChatMessageEnhanced = _react.forwardRef.call(void 0,
5109
5112
  const isError = role === "error";
5110
5113
  const inheritedAppearance = useChatAppearance();
5111
5114
  const appearance = _nullishCoalesce(appearanceProp, () => ( inheritedAppearance));
5112
- const isV2 = appearance === _chunkIONS6HDFcjs.CHAT_APPEARANCE.V2;
5115
+ const isV2 = appearance === _chunk3NGJ7NPTcjs.CHAT_APPEARANCE.V2;
5113
5116
  const authorType = _nullishCoalesce(authorTypeProp, () => ( (isHuman ? "user" : assistantType === "mingo" ? "mingo" : "fae")));
5114
5117
  const isOtherPerson = isHuman && selfAuthorType !== void 0 && authorType !== "system" && authorType !== selfAuthorType;
5115
5118
  const isUser = isHuman && !isOtherPerson;
@@ -5295,11 +5298,11 @@ var ChatMessageEnhanced = _react.forwardRef.call(void 0,
5295
5298
  const displayName = name || (isHuman ? "User" : assistantType === "mingo" ? "Mingo" : "Fae");
5296
5299
  const nameLabel = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 truncate text-ods-open-yellow text-h6", children: displayName });
5297
5300
  const faceBox = "h-5 w-5 flex-shrink-0";
5298
- const face = !showAvatar || isSystem ? null : !isHuman && !avatar && assistantIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { title: displayName, className: _chunk6YZNUHXTcjs.cn.call(void 0, "flex items-center justify-center", faceBox), children: assistantIcon }) : !isHuman && !avatar && assistantType ? (
5301
+ 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 ? (
5299
5302
  // An agent with no picture shows its packaged mark, never initials.
5300
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { role: "img", "aria-label": displayName, title: displayName, className: _chunk6YZNUHXTcjs.cn.call(void 0, "inline-flex", faceBox), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTUD7BV6Ocjs.AgentMark, { agent: assistantType, className: "h-full w-full rounded-full" }) })
5303
+ /* @__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, _chunk7MV23NNTcjs.AgentMark, { agent: assistantType, className: "h-full w-full rounded-full" }) })
5301
5304
  ) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { title: displayName, className: "inline-flex flex-shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
5302
- _chunkGP7NV6BKcjs.SquareAvatar,
5305
+ _chunk6UKH22NQcjs.SquareAvatar,
5303
5306
  {
5304
5307
  src: avatar || void 0,
5305
5308
  alt: displayName,
@@ -5315,7 +5318,7 @@ var ChatMessageEnhanced = _react.forwardRef.call(void 0,
5315
5318
  "div",
5316
5319
  {
5317
5320
  ref,
5318
- className: _chunk6YZNUHXTcjs.cn.call(void 0, "relative", CHAT_MESSAGE_ROW_PADDING_CLASS[_chunkIONS6HDFcjs.CHAT_APPEARANCE.V2], className),
5321
+ className: _chunk7JWFMAQBcjs.cn.call(void 0, "relative", CHAT_MESSAGE_ROW_PADDING_CLASS[_chunk3NGJ7NPTcjs.CHAT_APPEARANCE.V2], className),
5319
5322
  ...props,
5320
5323
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChatAppearanceContext.Provider, { value: appearance, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SystemEventMessage, { text: name, timestamp }) })
5321
5324
  }
@@ -5325,14 +5328,14 @@ var ChatMessageEnhanced = _react.forwardRef.call(void 0,
5325
5328
  "div",
5326
5329
  {
5327
5330
  ref,
5328
- className: _chunk6YZNUHXTcjs.cn.call(void 0,
5331
+ className: _chunk7JWFMAQBcjs.cn.call(void 0,
5329
5332
  "relative",
5330
- CHAT_MESSAGE_ROW_PADDING_CLASS[isV2 ? _chunkIONS6HDFcjs.CHAT_APPEARANCE.V2 : _chunkIONS6HDFcjs.CHAT_APPEARANCE.CLASSIC],
5333
+ CHAT_MESSAGE_ROW_PADDING_CLASS[isV2 ? _chunk3NGJ7NPTcjs.CHAT_APPEARANCE.V2 : _chunk3NGJ7NPTcjs.CHAT_APPEARANCE.CLASSIC],
5331
5334
  className
5332
5335
  ),
5333
5336
  ...props,
5334
5337
  children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: CHAT_MESSAGE_STACK_CLASS, children: [
5335
- (face || showName || showSelfName) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk6YZNUHXTcjs.cn.call(void 0, CHAT_MESSAGE_HEADER_CLASS, isUser && "justify-end"), children: [
5338
+ (face || showName || showSelfName) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk7JWFMAQBcjs.cn.call(void 0, CHAT_MESSAGE_HEADER_CLASS, isUser && "justify-end"), children: [
5336
5339
  showSelfName && nameLabel,
5337
5340
  face,
5338
5341
  showName && nameLabel,
@@ -5347,7 +5350,7 @@ var ChatMessageEnhanced = _react.forwardRef.call(void 0,
5347
5350
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
5348
5351
  "div",
5349
5352
  {
5350
- className: _chunk6YZNUHXTcjs.cn.call(void 0, CHAT_MESSAGE_TEXT_CLASS, isError ? "text-ods-error" : "text-ods-text-primary"),
5353
+ className: _chunk7JWFMAQBcjs.cn.call(void 0, CHAT_MESSAGE_TEXT_CLASS, isError ? "text-ods-error" : "text-ods-text-primary"),
5351
5354
  children: renderSegmentBody(index, segment.text, segmentIsStreaming)
5352
5355
  },
5353
5356
  index
@@ -5384,7 +5387,7 @@ var ChatMessageEnhanced = _react.forwardRef.call(void 0,
5384
5387
  );
5385
5388
  } else if (segment.type === "approval_batch") {
5386
5389
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
5387
- _chunkTUD7BV6Ocjs.ApprovalBatchMessage,
5390
+ _chunk7MV23NNTcjs.ApprovalBatchMessage,
5388
5391
  {
5389
5392
  data: segment.data,
5390
5393
  status: segment.status,
@@ -5422,7 +5425,7 @@ var ChatMessageEnhanced = _react.forwardRef.call(void 0,
5422
5425
  }
5423
5426
  return null;
5424
5427
  }) }),
5425
- timestamp && !showName && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk6YZNUHXTcjs.cn.call(void 0, "text-ods-text-secondary text-h6", isUser && "justify-self-end"), children: formatMessageTimestamp(timestamp) }),
5428
+ timestamp && !showName && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7JWFMAQBcjs.cn.call(void 0, "text-ods-text-secondary text-h6", isUser && "justify-self-end"), children: formatMessageTimestamp(timestamp) }),
5426
5429
  stripContextItems && stripContextItems.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
5427
5430
  ChatContextChipStrip,
5428
5431
  {
@@ -5468,14 +5471,14 @@ function ChatMessageSkeleton({
5468
5471
  const inherited = useChatAppearance();
5469
5472
  const appearance = _nullishCoalesce(appearanceProp, () => ( inherited));
5470
5473
  const lines = Math.max(1, bodyLines);
5471
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk6YZNUHXTcjs.cn.call(void 0, "relative", CHAT_MESSAGE_ROW_PADDING_CLASS[appearance], className), ..._chunk6YZNUHXTcjs.loadingItemProps.call(void 0, props), children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: CHAT_MESSAGE_STACK_CLASS, children: [
5472
- (showAvatar || showName) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk6YZNUHXTcjs.cn.call(void 0, CHAT_MESSAGE_HEADER_CLASS, isUser && "justify-end"), children: [
5473
- showAvatar && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGP7NV6BKcjs.SquareAvatar, { loading: true, sizePx: CHAT_MESSAGE_FACE_PX, variant: "round" }),
5474
- showName && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAT4C2YMAcjs.TextLineSkeleton, { type: "h6", className: "w-24" }),
5475
- showName && showTime && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAT4C2YMAcjs.TextLineSkeleton, { type: "h6", className: _chunk6YZNUHXTcjs.cn.call(void 0, "ml-auto", TIME_BAR_CLASS) })
5474
+ 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: [
5475
+ (showAvatar || showName) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk7JWFMAQBcjs.cn.call(void 0, CHAT_MESSAGE_HEADER_CLASS, isUser && "justify-end"), children: [
5476
+ showAvatar && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6UKH22NQcjs.SquareAvatar, { loading: true, sizePx: CHAT_MESSAGE_FACE_PX, variant: "round" }),
5477
+ showName && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.TextLineSkeleton, { type: "h6", className: "w-24" }),
5478
+ showName && showTime && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.TextLineSkeleton, { type: "h6", className: _chunk7JWFMAQBcjs.cn.call(void 0, "ml-auto", TIME_BAR_CLASS) })
5476
5479
  ] }),
5477
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: CHAT_MESSAGE_SEGMENTS_CLASS, children: isUser ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: CHAT_MESSAGE_USER_ROW_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk6YZNUHXTcjs.cn.call(void 0, CHAT_MESSAGE_USER_BUBBLE_CLASS, "w-1/2"), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAT4C2YMAcjs.TextLineSkeleton, { type: "h4", lines }) }) }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: CHAT_MESSAGE_TEXT_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAT4C2YMAcjs.TextLineSkeleton, { type: "h4", lines }) }) }),
5478
- showTime && !showName && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAT4C2YMAcjs.TextLineSkeleton, { type: "h6", className: _chunk6YZNUHXTcjs.cn.call(void 0, TIME_BAR_CLASS, isUser && "justify-self-end") })
5480
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: CHAT_MESSAGE_SEGMENTS_CLASS, children: isUser ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: CHAT_MESSAGE_USER_ROW_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk7JWFMAQBcjs.cn.call(void 0, CHAT_MESSAGE_USER_BUBBLE_CLASS, "w-1/2"), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.TextLineSkeleton, { type: "h4", lines }) }) }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: CHAT_MESSAGE_TEXT_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.TextLineSkeleton, { type: "h4", lines }) }) }),
5481
+ showTime && !showName && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.TextLineSkeleton, { type: "h6", className: _chunk7JWFMAQBcjs.cn.call(void 0, TIME_BAR_CLASS, isUser && "justify-self-end") })
5479
5482
  ] }) });
5480
5483
  }
5481
5484
  var CHAT_MESSAGE_LIST_SKELETON_MESSAGES = 6;
@@ -5491,25 +5494,25 @@ function ChatMessageListSkeleton({
5491
5494
  appearance,
5492
5495
  namedOthers = false
5493
5496
  }) {
5494
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGD6RPLHXcjs.LoadingRegion, { label: "Loading messages", announce: region, className: "relative flex min-h-0 flex-1 flex-col", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
5497
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLKQ33CMYcjs.LoadingRegion, { label: "Loading messages", announce: region, className: "relative flex min-h-0 flex-1 flex-col", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
5495
5498
  "div",
5496
5499
  {
5497
- className: _chunk6YZNUHXTcjs.cn.call(void 0,
5500
+ className: _chunk7JWFMAQBcjs.cn.call(void 0,
5498
5501
  CHAT_MESSAGE_LIST_SCROLLER_CLASS,
5499
- fill ? "overflow-hidden" : _chunk6YZNUHXTcjs.cn.call(void 0, CHAT_MESSAGE_LIST_SCROLLBAR_CLASS, "overscroll-contain"),
5502
+ fill ? "overflow-hidden" : _chunk7JWFMAQBcjs.cn.call(void 0, CHAT_MESSAGE_LIST_SCROLLBAR_CLASS, "overscroll-contain"),
5500
5503
  className
5501
5504
  ),
5502
5505
  children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
5503
5506
  "div",
5504
5507
  {
5505
- className: _chunk6YZNUHXTcjs.cn.call(void 0,
5508
+ className: _chunk7JWFMAQBcjs.cn.call(void 0,
5506
5509
  CHAT_MESSAGE_LIST_COLUMN_CLASS[fullWidth ? "full" : "narrow"],
5507
5510
  _nullishCoalesce(contentClassName, () => ( CHAT_MESSAGE_LIST_CONTENT_PADDING_CLASS))
5508
5511
  ),
5509
5512
  style: fill ? void 0 : { minHeight: "100%" },
5510
5513
  children: [
5511
5514
  !fill && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex-1" }),
5512
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6YZNUHXTcjs.LoadingItems, { count: messageCount, children: (index) => {
5515
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7JWFMAQBcjs.LoadingItems, { count: messageCount, children: (index) => {
5513
5516
  const isUser = index % 3 === 0;
5514
5517
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
5515
5518
  ChatMessageSkeleton,
@@ -5596,7 +5599,7 @@ function CyclingPhrase({ words, className, charMs = 60, holdMs = 4500 }) {
5596
5599
  }
5597
5600
  }
5598
5601
  );
5599
- return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk6YZNUHXTcjs.cn.call(void 0, "relative inline-block whitespace-nowrap", className), children: [
5602
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk7JWFMAQBcjs.cn.call(void 0, "relative inline-block whitespace-nowrap", className), children: [
5600
5603
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { "aria-hidden": true, className: "invisible", children: [
5601
5604
  placeholder,
5602
5605
  "..."
@@ -5658,7 +5661,7 @@ var ChatMessageList = _react.forwardRef.call(void 0,
5658
5661
  approvalVariant,
5659
5662
  selfAuthorType,
5660
5663
  nameEveryTurn,
5661
- appearance = _chunkIONS6HDFcjs.CHAT_APPEARANCE.CLASSIC,
5664
+ appearance = _chunk3NGJ7NPTcjs.CHAT_APPEARANCE.CLASSIC,
5662
5665
  assistantIcon,
5663
5666
  pendingApprovals,
5664
5667
  hasNextPage,
@@ -5673,7 +5676,7 @@ var ChatMessageList = _react.forwardRef.call(void 0,
5673
5676
  NavLinkAnchor,
5674
5677
  ...props
5675
5678
  }, ref) => {
5676
- const isLoading = _chunk6YZNUHXTcjs.useLoadingScope.call(void 0, ) || isLoadingProp;
5679
+ const isLoading = _chunk7JWFMAQBcjs.useLoadingScope.call(void 0, ) || isLoadingProp;
5677
5680
  const { scrollRef, contentRef, scrollToBottom, stopScroll, isAtBottom } = _usesticktobottom.useStickToBottom.call(void 0, {
5678
5681
  resize: "smooth",
5679
5682
  initial: false
@@ -6012,13 +6015,13 @@ var ChatMessageList = _react.forwardRef.call(void 0,
6012
6015
  const lastSegment = _optionalChain([lastSegments, 'optionalAccess', _121 => _121[lastSegments.length - 1]]);
6013
6016
  const isPausedOnApproval = !!lastSegment && (lastSegment.type === "approval_request" || lastSegment.type === "approval_batch" || lastSegment.type === "escalation_offer") && (lastSegment.status === void 0 || lastSegment.status === "pending");
6014
6017
  const showStreamingLoader = isTyping && !isPausedOnApproval && !(pendingApprovals && pendingApprovals.length > 0);
6015
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChatAppearanceContext.Provider, { value: appearance, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQVKWKY4Ocjs.OverlayOpenRegistryProvider, { onOpenChange: handleOverlayOpenChange, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-h-0 flex-1 flex-col", children: [
6018
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChatAppearanceContext.Provider, { value: appearance, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJTIGKLKJcjs.OverlayOpenRegistryProvider, { onOpenChange: handleOverlayOpenChange, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-h-0 flex-1 flex-col", children: [
6016
6019
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative flex min-h-0 flex-1 flex-col", children: [
6017
6020
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
6018
6021
  "div",
6019
6022
  {
6020
6023
  ref: setScrollRef,
6021
- className: _chunk6YZNUHXTcjs.cn.call(void 0,
6024
+ className: _chunk7JWFMAQBcjs.cn.call(void 0,
6022
6025
  CHAT_MESSAGE_LIST_SCROLLER_CLASS,
6023
6026
  // `overscroll-contain` (default ON, opt-out via `overscrollContain={false}`):
6024
6027
  // reaching the top/bottom of the thread must NOT chain the wheel/
@@ -6037,7 +6040,7 @@ var ChatMessageList = _react.forwardRef.call(void 0,
6037
6040
  "div",
6038
6041
  {
6039
6042
  ref: setContentRef,
6040
- className: _chunk6YZNUHXTcjs.cn.call(void 0,
6043
+ className: _chunk7JWFMAQBcjs.cn.call(void 0,
6041
6044
  // `fullWidth=true` drops the centered-narrow column for
6042
6045
  // side-panel hosts (e.g. multi-platform-hub Mingo). Same
6043
6046
  // semantics as ChatHeader / ChatInput / ChatFooter.
@@ -6094,7 +6097,7 @@ var ChatMessageList = _react.forwardRef.call(void 0,
6094
6097
  }
6095
6098
  ),
6096
6099
  autoScroll && !atBottom && messages.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
6097
- _chunkK7I3YYYUcjs.Button,
6100
+ _chunkAHBTZ7DNcjs.Button,
6098
6101
  {
6099
6102
  variant: "outline",
6100
6103
  size: "icon-sm",
@@ -6112,7 +6115,7 @@ var ChatMessageList = _react.forwardRef.call(void 0,
6112
6115
  showStreamingLoader && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
6113
6116
  "div",
6114
6117
  {
6115
- className: _chunk6YZNUHXTcjs.cn.call(void 0,
6118
+ className: _chunk7JWFMAQBcjs.cn.call(void 0,
6116
6119
  fullWidth ? "flex w-full items-center gap-[var(--spacing-system-xxs)] py-[var(--spacing-system-xs)]" : "mx-auto flex w-full max-w-ods-content-narrow items-center gap-[var(--spacing-system-xxs)] py-[var(--spacing-system-xs)]",
6117
6120
  _nullishCoalesce(contentClassName, () => ( "px-[var(--spacing-system-m)]"))
6118
6121
  ),
@@ -6128,7 +6131,7 @@ var ChatMessageList = _react.forwardRef.call(void 0,
6128
6131
  pendingApprovals && pendingApprovals.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
6129
6132
  "div",
6130
6133
  {
6131
- className: _chunk6YZNUHXTcjs.cn.call(void 0,
6134
+ className: _chunk7JWFMAQBcjs.cn.call(void 0,
6132
6135
  "border-t border-ods-border bg-ods-bg/95 backdrop-blur-sm",
6133
6136
  fullWidth ? "w-full" : "mx-auto w-full max-w-ods-content-narrow",
6134
6137
  _nullishCoalesce(contentClassName, () => ( "px-[var(--spacing-system-m)]"))
@@ -6696,7 +6699,7 @@ function formatChatAttachmentMarkdownForBubble(att, viewUrlPrefix) {
6696
6699
 
6697
6700
  [Attached: ${safeName}](${url})`;
6698
6701
  }
6699
- var CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED = _chunkJGURZROBcjs.escapeRegExp.call(void 0, CHAT_ATTACHMENT_VIEW_URL_PREFIX);
6702
+ var CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED = _chunkFIKIPO4Fcjs.escapeRegExp.call(void 0, CHAT_ATTACHMENT_VIEW_URL_PREFIX);
6700
6703
  var CHAT_ATTACHMENT_MARKDOWN_PATTERN = new RegExp(
6701
6704
  `^\\s*!?\\[[^\\]]*\\]\\(${CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED}[^)]+\\)\\s*$`,
6702
6705
  "gm"
@@ -6935,7 +6938,7 @@ function MarqueeWallFades({
6935
6938
  {
6936
6939
  "aria-hidden": true,
6937
6940
  "data-marquee-fade": edge,
6938
- className: _chunk6YZNUHXTcjs.cn.call(void 0, "pointer-events-none absolute z-[1]", FADE_POSITION[edge]),
6941
+ className: _chunk7JWFMAQBcjs.cn.call(void 0, "pointer-events-none absolute z-[1]", FADE_POSITION[edge]),
6939
6942
  style: {
6940
6943
  [isY ? "height" : "width"]: px,
6941
6944
  backgroundImage: `linear-gradient(to ${edge}, transparent, ${fadeColor})`
@@ -7170,7 +7173,7 @@ function MarqueeWall({
7170
7173
  "div",
7171
7174
  {
7172
7175
  ref: containerRef,
7173
- className: _chunk6YZNUHXTcjs.cn.call(void 0,
7176
+ className: _chunk7JWFMAQBcjs.cn.call(void 0,
7174
7177
  "relative",
7175
7178
  staticScrollable ? axis === "y" ? "overflow-y-auto" : "overflow-x-auto" : "overflow-hidden",
7176
7179
  staticScrollable && "scrollbar-hide",
@@ -7191,7 +7194,7 @@ function MarqueeWall({
7191
7194
  "div",
7192
7195
  {
7193
7196
  ref: trackRef,
7194
- className: _chunk6YZNUHXTcjs.cn.call(void 0,
7197
+ className: _chunk7JWFMAQBcjs.cn.call(void 0,
7195
7198
  axis === "y" ? "flex w-full flex-col" : "flex w-max items-stretch",
7196
7199
  // Keyed on the STRUCTURAL state so the compositor layer + seam gap
7197
7200
  // stay put while the wall is frozen (paused) — dropping them on pause
@@ -7205,12 +7208,12 @@ function MarqueeWall({
7205
7208
  {
7206
7209
  ref: copyRef,
7207
7210
  "data-marquee-copy": "primary",
7208
- className: _chunk6YZNUHXTcjs.cn.call(void 0, axis === "x" && "w-max shrink-0", contentClassName),
7211
+ className: _chunk7JWFMAQBcjs.cn.call(void 0, axis === "x" && "w-max shrink-0", contentClassName),
7209
7212
  style: contentStyle,
7210
7213
  children: renderContent(false)
7211
7214
  }
7212
7215
  ),
7213
- marqueeMounted && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CloneCopy, { className: _chunk6YZNUHXTcjs.cn.call(void 0, axis === "x" && "w-max shrink-0", contentClassName), style: contentStyle, children: renderContent(true) })
7216
+ marqueeMounted && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CloneCopy, { className: _chunk7JWFMAQBcjs.cn.call(void 0, axis === "x" && "w-max shrink-0", contentClassName), style: contentStyle, children: renderContent(true) })
7214
7217
  ]
7215
7218
  }
7216
7219
  ),
@@ -7263,7 +7266,7 @@ function QuickActionWall({
7263
7266
  contentClassName,
7264
7267
  sync
7265
7268
  }) {
7266
- const loading = _chunk6YZNUHXTcjs.useLoadingScope.call(void 0, ) || loadingProp;
7269
+ const loading = _chunk7JWFMAQBcjs.useLoadingScope.call(void 0, ) || loadingProp;
7267
7270
  const brickRef = _react.useRef.call(void 0, null);
7268
7271
  const [brickWidth, setBrickWidth] = _react.useState.call(void 0, 0);
7269
7272
  const [chipWidth, setChipWidth] = _react.useState.call(void 0, 0);
@@ -7294,7 +7297,7 @@ function QuickActionWall({
7294
7297
  (_, r) => r === 0 ? chips : chips.map((chip) => ({ ...chip, id: `${chip.id}__r${r}` }))
7295
7298
  ).flat();
7296
7299
  }, [chips, padTarget]);
7297
- const renderSkeletons = (count, offset = 0) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6YZNUHXTcjs.LoadingItems, { count, children: (i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
7300
+ const renderSkeletons = (count, offset = 0) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7JWFMAQBcjs.LoadingItems, { count, children: (i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
7298
7301
  QuickActionChipButton,
7299
7302
  {
7300
7303
  loading: true,
@@ -7339,7 +7342,7 @@ function QuickActionWall({
7339
7342
  ).flat();
7340
7343
  });
7341
7344
  const skelPerRow = Math.ceil(skeletonCount / stackRows);
7342
- return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { ref: brickRef, className: _chunk6YZNUHXTcjs.cn.call(void 0, "relative flex flex-col overflow-hidden", className), style: { gap }, children: [
7345
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { ref: brickRef, className: _chunk7JWFMAQBcjs.cn.call(void 0, "relative flex flex-col overflow-hidden", className), style: { gap }, children: [
7343
7346
  rowLists.map((list, r) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
7344
7347
  MarqueeWall,
7345
7348
  {
@@ -7351,7 +7354,7 @@ function QuickActionWall({
7351
7354
  pauseOnHover,
7352
7355
  dragScroll,
7353
7356
  copyGap: gap,
7354
- contentClassName: _chunk6YZNUHXTcjs.cn.call(void 0, "flex items-center", contentClassName),
7357
+ contentClassName: _chunk7JWFMAQBcjs.cn.call(void 0, "flex items-center", contentClassName),
7355
7358
  contentStyle: { gap },
7356
7359
  children: loading ? renderSkeletons(skelPerRow, r * 3) : renderChipNodes(list)
7357
7360
  },
@@ -7375,7 +7378,7 @@ function QuickActionWall({
7375
7378
  fadeSize,
7376
7379
  copyGap: gap,
7377
7380
  className,
7378
- contentClassName: _chunk6YZNUHXTcjs.cn.call(void 0, "flex flex-wrap content-start items-start", contentClassName),
7381
+ contentClassName: _chunk7JWFMAQBcjs.cn.call(void 0, "flex flex-wrap content-start items-start", contentClassName),
7379
7382
  contentStyle: { gap },
7380
7383
  sync,
7381
7384
  children: renderChips()
@@ -7427,7 +7430,7 @@ function ChatListEmptyState({ icon, title, description, className }) {
7427
7430
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
7428
7431
  "div",
7429
7432
  {
7430
- className: _chunk6YZNUHXTcjs.cn.call(void 0,
7433
+ className: _chunk7JWFMAQBcjs.cn.call(void 0,
7431
7434
  "flex min-h-0 flex-1 flex-col items-center justify-center gap-[var(--spacing-system-l)] p-[var(--spacing-system-l)] text-center text-ods-text-secondary",
7432
7435
  className
7433
7436
  ),
@@ -7488,7 +7491,7 @@ function MingoChatHistoryRow({
7488
7491
  onRequestArchive,
7489
7492
  ...props
7490
7493
  }) {
7491
- const loading = _chunk6YZNUHXTcjs.useLoadingScope.call(void 0, ) || loadingProp || !dialog;
7494
+ const loading = _chunk7JWFMAQBcjs.useLoadingScope.call(void 0, ) || loadingProp || !dialog;
7492
7495
  const title = _optionalChain([dialog, 'optionalAccess', _157 => _157.title]) || "Untitled Chat";
7493
7496
  const unread = _nullishCoalesce(_optionalChain([dialog, 'optionalAccess', _158 => _158.unreadMessagesCount]), () => ( 0));
7494
7497
  const hasMenu = !loading && (!!onRequestRename || !!onRequestArchive || !!onRequestCopyLink || !!onRequestCompact);
@@ -7505,15 +7508,15 @@ function MingoChatHistoryRow({
7505
7508
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
7506
7509
  "div",
7507
7510
  {
7508
- ..._chunk6YZNUHXTcjs.loadingItemProps.call(void 0, props),
7511
+ ..._chunk7JWFMAQBcjs.loadingItemProps.call(void 0, props),
7509
7512
  "aria-hidden": loading || void 0,
7510
- className: _chunk6YZNUHXTcjs.cn.call(void 0,
7513
+ className: _chunk7JWFMAQBcjs.cn.call(void 0,
7511
7514
  HISTORY_ROW_CLASS,
7512
7515
  "group/row relative transition-colors",
7513
7516
  // Active (selected) dialog — Figma 259:91610: an accent-secondary
7514
7517
  // fill, a 4px accent bar down the leading edge, and accent-colored
7515
7518
  // title text. Inactive rows keep the dark surface with a hover tint.
7516
- isActive ? "bg-ods-accent-secondary" : _chunk6YZNUHXTcjs.cn.call(void 0, "bg-ods-bg", !loading && "hover:bg-ods-bg-hover")
7519
+ isActive ? "bg-ods-accent-secondary" : _chunk7JWFMAQBcjs.cn.call(void 0, "bg-ods-bg", !loading && "hover:bg-ods-bg-hover")
7517
7520
  ),
7518
7521
  children: [
7519
7522
  isActive ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { "aria-hidden": true, className: "pointer-events-none absolute inset-y-0 left-0 w-1 bg-ods-accent" }) : null,
@@ -7529,18 +7532,18 @@ function MingoChatHistoryRow({
7529
7532
  select();
7530
7533
  }
7531
7534
  },
7532
- className: _chunk6YZNUHXTcjs.cn.call(void 0,
7535
+ className: _chunk7JWFMAQBcjs.cn.call(void 0,
7533
7536
  HISTORY_ROW_CONTENT_CLASS,
7534
7537
  "flex min-w-0 flex-1 items-center gap-[var(--spacing-system-xsf)]",
7535
7538
  !loading && "cursor-pointer focus:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-ods-accent"
7536
7539
  ),
7537
7540
  children: [
7538
- loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAT4C2YMAcjs.TextLineSkeleton, { type: "h4", className: _chunkIONS6HDFcjs.SKELETON_TITLE_WIDTHS[skeletonIndex % _chunkIONS6HDFcjs.SKELETON_TITLE_WIDTHS.length] }) : null,
7541
+ loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.TextLineSkeleton, { type: "h4", className: _chunk3NGJ7NPTcjs.SKELETON_TITLE_WIDTHS[skeletonIndex % _chunk3NGJ7NPTcjs.SKELETON_TITLE_WIDTHS.length] }) : null,
7539
7542
  !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,
7540
7543
  loading ? null : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
7541
7544
  "span",
7542
7545
  {
7543
- className: _chunk6YZNUHXTcjs.cn.call(void 0, "min-w-0 flex-1 truncate text-h4", isActive ? "text-ods-accent" : "text-ods-text-primary"),
7546
+ className: _chunk7JWFMAQBcjs.cn.call(void 0, "min-w-0 flex-1 truncate text-h4", isActive ? "text-ods-accent" : "text-ods-text-primary"),
7544
7547
  title,
7545
7548
  children: title
7546
7549
  }
@@ -7554,7 +7557,7 @@ function MingoChatHistoryRow({
7554
7557
  // `⋯` actions button IN PLACE, so the title never reflows. Without an
7555
7558
  // avatar the cell exists only for the hover menu, so it collapses on
7556
7559
  // mobile exactly like the old hover-only gutter (no hover on touch).
7557
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk6YZNUHXTcjs.cn.call(void 0, "relative w-12 shrink-0 self-stretch", !hasAvatar && "max-md:hidden"), children: [
7560
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk7JWFMAQBcjs.cn.call(void 0, "relative w-12 shrink-0 self-stretch", !hasAvatar && "max-md:hidden"), children: [
7558
7561
  hasMenu ? (
7559
7562
  // Revealed on row hover/its own focus; kept visible while the menu
7560
7563
  // is open. Hidden on mobile — it's a hover affordance. `peer/menu`
@@ -7564,12 +7567,12 @@ function MingoChatHistoryRow({
7564
7567
  "span",
7565
7568
  {
7566
7569
  onClick: (e) => e.stopPropagation(),
7567
- className: _chunk6YZNUHXTcjs.cn.call(void 0,
7570
+ className: _chunk7JWFMAQBcjs.cn.call(void 0,
7568
7571
  "peer/menu absolute inset-0 transition-opacity max-md:hidden",
7569
7572
  menuOpen ? "opacity-100" : "opacity-0 focus-within:opacity-100 group-hover/row:opacity-100"
7570
7573
  ),
7571
7574
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
7572
- _chunkQVKWKY4Ocjs.ActionsMenuDropdown,
7575
+ _chunkJTIGKLKJcjs.ActionsMenuDropdown,
7573
7576
  {
7574
7577
  triggerAriaLabel: "Chat actions",
7575
7578
  groups: [{ items: menuItems }],
@@ -7577,7 +7580,7 @@ function MingoChatHistoryRow({
7577
7580
  onOpenChange: setMenuOpen,
7578
7581
  onCloseAutoFocus: (e) => e.preventDefault(),
7579
7582
  customTrigger: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
7580
- _chunkK7I3YYYUcjs.Button,
7583
+ _chunkAHBTZ7DNcjs.Button,
7581
7584
  {
7582
7585
  variant: "transparent",
7583
7586
  size: "icon",
@@ -7600,12 +7603,12 @@ function MingoChatHistoryRow({
7600
7603
  {
7601
7604
  onClick: select,
7602
7605
  title: _optionalChain([owner, 'optionalAccess', _163 => _163.name]) || void 0,
7603
- className: _chunk6YZNUHXTcjs.cn.call(void 0,
7606
+ className: _chunk7JWFMAQBcjs.cn.call(void 0,
7604
7607
  "absolute inset-0 flex cursor-pointer items-center justify-center transition-opacity",
7605
7608
  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")
7606
7609
  ),
7607
7610
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
7608
- _chunkGP7NV6BKcjs.SquareAvatar,
7611
+ _chunk6UKH22NQcjs.SquareAvatar,
7609
7612
  {
7610
7613
  variant: "round",
7611
7614
  sizePx: 24,
@@ -7631,13 +7634,13 @@ function MingoChatHistorySkeleton({ rows, className }) {
7631
7634
  (_, group) => Math.max(0, Math.min(perGroup, rows - group * perGroup))
7632
7635
  ).filter((count) => count > 0);
7633
7636
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
7634
- _chunkGD6RPLHXcjs.LoadingRegion,
7637
+ _chunkLKQ33CMYcjs.LoadingRegion,
7635
7638
  {
7636
7639
  label: "Loading conversations",
7637
- className: _chunk6YZNUHXTcjs.cn.call(void 0, "flex min-h-0 flex-1 flex-col gap-[var(--spacing-system-m)] overflow-hidden", className),
7638
- children: groups.map((count, group) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk6YZNUHXTcjs.cn.call(void 0, HISTORY_GROUP_CLASS, "shrink-0"), children: [
7639
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAT4C2YMAcjs.TextLineSkeleton, { type: "h5", className: "w-16" }),
7640
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: HISTORY_GROUP_BOX_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6YZNUHXTcjs.LoadingItems, { count, children: (i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MingoChatHistoryRow, { loading: true, "data-loading-item": true, skeletonIndex: group * perGroup + i }) }) })
7640
+ className: _chunk7JWFMAQBcjs.cn.call(void 0, "flex min-h-0 flex-1 flex-col gap-[var(--spacing-system-m)] overflow-hidden", className),
7641
+ children: groups.map((count, group) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk7JWFMAQBcjs.cn.call(void 0, HISTORY_GROUP_CLASS, "shrink-0"), children: [
7642
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.TextLineSkeleton, { type: "h5", className: "w-16" }),
7643
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: HISTORY_GROUP_BOX_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7JWFMAQBcjs.LoadingItems, { count, children: (i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MingoChatHistoryRow, { loading: true, "data-loading-item": true, skeletonIndex: group * perGroup + i }) }) })
7641
7644
  ] }, group))
7642
7645
  }
7643
7646
  );
@@ -7658,10 +7661,10 @@ function MingoChatHistory({
7658
7661
  pageSize = CHAT_HISTORY_PAGE_SIZE,
7659
7662
  className
7660
7663
  }) {
7661
- const isLoading = _chunk6YZNUHXTcjs.useLoadingScope.call(void 0, ) || loading;
7664
+ const isLoading = _chunk7JWFMAQBcjs.useLoadingScope.call(void 0, ) || loading;
7662
7665
  const groups = _react.useMemo.call(void 0, () => groupDialogs(dialogs), [dialogs]);
7663
7666
  const noSearchResults = groups.length === 0 && !!_optionalChain([searchQuery, 'optionalAccess', _167 => _167.trim, 'call', _168 => _168()]);
7664
- const { scrollRef, fadeTop, fadeBottom, update: updateFade } = _chunkIONS6HDFcjs.useScrollFade.call(void 0, );
7667
+ const { scrollRef, fadeTop, fadeBottom, update: updateFade } = _chunk3NGJ7NPTcjs.useScrollFade.call(void 0, );
7665
7668
  const sentinelRef = _react.useRef.call(void 0, null);
7666
7669
  const onLoadMoreRef = _react.useRef.call(void 0, onLoadMore);
7667
7670
  const isLoadingMoreRef = _react.useRef.call(void 0, isLoadingMore);
@@ -7686,7 +7689,7 @@ function MingoChatHistory({
7686
7689
  return () => io.disconnect();
7687
7690
  }, [hasMore, isLoadingMore, dialogCount, scrollRef]);
7688
7691
  if (isLoading) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MingoChatHistorySkeleton, { rows: pageSize, className });
7689
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk6YZNUHXTcjs.cn.call(void 0, "relative flex min-h-0 flex-1 flex-col gap-[var(--spacing-system-m)]", className), children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative flex min-h-0 flex-1 flex-col", children: [
7692
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk7JWFMAQBcjs.cn.call(void 0, "relative flex min-h-0 flex-1 flex-col gap-[var(--spacing-system-m)]", className), children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative flex min-h-0 flex-1 flex-col", children: [
7690
7693
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
7691
7694
  "div",
7692
7695
  {
@@ -7726,8 +7729,8 @@ function MingoChatHistory({
7726
7729
  ]
7727
7730
  }
7728
7731
  ),
7729
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIONS6HDFcjs.ScrollFadeOverlay, { edge: "top", visible: fadeTop, color: "var(--color-bg-card)", className: "h-12" }),
7730
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIONS6HDFcjs.ScrollFadeOverlay, { edge: "bottom", visible: fadeBottom, color: "var(--color-bg-card)", className: "h-12" })
7732
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3NGJ7NPTcjs.ScrollFadeOverlay, { edge: "top", visible: fadeTop, color: "var(--color-bg-card)", className: "h-12" }),
7733
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3NGJ7NPTcjs.ScrollFadeOverlay, { edge: "bottom", visible: fadeBottom, color: "var(--color-bg-card)", className: "h-12" })
7731
7734
  ] }) });
7732
7735
  }
7733
7736
 
@@ -7761,7 +7764,7 @@ function MingoWelcome({
7761
7764
  className
7762
7765
  }) {
7763
7766
  const heading = _nullishCoalesce(title, () => ( "Hey, I'm Mingo"));
7764
- const historyLoading = _chunk6YZNUHXTcjs.useLoadingScope.call(void 0, ) || isLoadingHistory;
7767
+ const historyLoading = _chunk7JWFMAQBcjs.useLoadingScope.call(void 0, ) || isLoadingHistory;
7765
7768
  const resolvedPromo = hasExistingChats ? null : promo === void 0 ? onStartGuideChat ? DEFAULT_PROMO : null : promo;
7766
7769
  const hydrated = useIsHydrated();
7767
7770
  const [dismissedThisSession, setPromoDismissed] = _react.useState.call(void 0, false);
@@ -7783,12 +7786,12 @@ function MingoWelcome({
7783
7786
  } catch (e7) {
7784
7787
  }
7785
7788
  }, [promoStorage, promoStorageKey]);
7786
- const { scrollRef, fadeTop, fadeBottom, update: updateScrollFade } = _chunkIONS6HDFcjs.useScrollFade.call(void 0, );
7789
+ const { scrollRef, fadeTop, fadeBottom, update: updateScrollFade } = _chunk3NGJ7NPTcjs.useScrollFade.call(void 0, );
7787
7790
  const showPinnedRegion = !!dialogHistory || !historyLoading && !loadError;
7788
7791
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
7789
7792
  "div",
7790
7793
  {
7791
- className: _chunk6YZNUHXTcjs.cn.call(void 0,
7794
+ className: _chunk7JWFMAQBcjs.cn.call(void 0,
7792
7795
  // `@container` makes the panel itself the responsive context (the
7793
7796
  // drawer width ≠ viewport width) so the notification's down-arrow can
7794
7797
  // appear only once the panel is genuinely wide.
@@ -7802,7 +7805,7 @@ function MingoWelcome({
7802
7805
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-primary text-h4", children: "Couldn\u2019t load your chats" }),
7803
7806
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-body-sm text-ods-text-secondary", children: "Something went wrong reaching the server. Check your connection and try again." })
7804
7807
  ] }),
7805
- onRetry && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkK7I3YYYUcjs.Button, { variant: "outline", size: "small", leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXLTOM62Pcjs.Refresh01RightIcon, {}), onClick: onRetry, children: "Try again" })
7808
+ 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" })
7806
7809
  ] }) : historyLoading ? (
7807
7810
  // The history draws its own loading state (one page of rows) until the
7808
7811
  // first page tells new and returning users apart.
@@ -7815,7 +7818,7 @@ function MingoWelcome({
7815
7818
  onScroll: updateScrollFade,
7816
7819
  className: "flex min-h-0 flex-1 flex-col gap-[var(--spacing-system-m)] overflow-y-auto overscroll-contain",
7817
7820
  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: [
7818
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTUD7BV6Ocjs.AgentMark, { agent: "mingo", className: "h-12 w-12" }),
7821
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7MV23NNTcjs.AgentMark, { agent: "mingo", className: "h-12 w-12" }),
7819
7822
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col gap-[var(--spacing-system-l)]", children: [
7820
7823
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-primary text-h2", children: heading }),
7821
7824
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h4", children: subtitle })
@@ -7823,8 +7826,8 @@ function MingoWelcome({
7823
7826
  ] })
7824
7827
  }
7825
7828
  ),
7826
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIONS6HDFcjs.ScrollFadeOverlay, { edge: "top", visible: fadeTop, className: "h-12" }),
7827
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIONS6HDFcjs.ScrollFadeOverlay, { edge: "bottom", visible: fadeBottom, className: "h-12" })
7829
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3NGJ7NPTcjs.ScrollFadeOverlay, { edge: "top", visible: fadeTop, className: "h-12" }),
7830
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3NGJ7NPTcjs.ScrollFadeOverlay, { edge: "bottom", visible: fadeBottom, className: "h-12" })
7828
7831
  ] }) })))),
7829
7832
  showPinnedRegion && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex shrink-0 flex-col gap-[var(--spacing-system-m)]", children: [
7830
7833
  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: [
@@ -7834,7 +7837,7 @@ function MingoWelcome({
7834
7837
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-secondary text-h6", children: resolvedPromo.description })
7835
7838
  ] }),
7836
7839
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
7837
- _chunkK7I3YYYUcjs.Button,
7840
+ _chunkAHBTZ7DNcjs.Button,
7838
7841
  {
7839
7842
  variant: "bare",
7840
7843
  size: "icon-sm",
@@ -7904,8 +7907,8 @@ function GuideWelcome({
7904
7907
  children,
7905
7908
  className
7906
7909
  }) {
7907
- const { scrollRef, fadeTop, fadeBottom, update: updateScrollFade } = _chunkIONS6HDFcjs.useScrollFade.call(void 0, );
7908
- const subtitleIsLoading = _chunk6YZNUHXTcjs.useLoadingScope.call(void 0, ) || subtitleLoading && !subtitle;
7910
+ const { scrollRef, fadeTop, fadeBottom, update: updateScrollFade } = _chunk3NGJ7NPTcjs.useScrollFade.call(void 0, );
7911
+ const subtitleIsLoading = _chunk7JWFMAQBcjs.useLoadingScope.call(void 0, ) || subtitleLoading && !subtitle;
7909
7912
  const chipItems = _react.useMemo.call(void 0,
7910
7913
  () => quickActions.map((action) => ({
7911
7914
  id: action.id,
@@ -7927,7 +7930,7 @@ function GuideWelcome({
7927
7930
  })),
7928
7931
  [quickActions, icon, onQuickAction, onQuickActionHover, onQuickActionHoverEnd]
7929
7932
  );
7930
- return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk6YZNUHXTcjs.cn.call(void 0, "flex min-h-0 flex-1 flex-col gap-[var(--spacing-system-m)]", className), children: [
7933
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk7JWFMAQBcjs.cn.call(void 0, "flex min-h-0 flex-1 flex-col gap-[var(--spacing-system-m)]", className), children: [
7931
7934
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative flex min-h-0 flex-1 flex-col", children: [
7932
7935
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
7933
7936
  "div",
@@ -7940,19 +7943,19 @@ function GuideWelcome({
7940
7943
  icon && (icon.name || icon.url) ? (
7941
7944
  // Agent-mode identity glyph (chat-config Identity tab). Sized to
7942
7945
  // match the default Mingo mark (48px).
7943
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUN6LC5PKcjs.EntityIcon, { icon: { name: icon.name, url: icon.url, props: icon.props }, size: 48 })
7944
- ) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTUD7BV6Ocjs.AgentMark, { agent: "mingo", className: "h-12 w-12" }),
7946
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYBTORXFYcjs.EntityIcon, { icon: { name: icon.name, url: icon.url, props: icon.props }, size: 48 })
7947
+ ) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7MV23NNTcjs.AgentMark, { agent: "mingo", className: "h-12 w-12" }),
7945
7948
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col gap-[var(--spacing-system-l)]", children: [
7946
7949
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-primary text-h2", children: title }),
7947
- subtitleIsLoading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-full justify-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAT4C2YMAcjs.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
7950
+ 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
7948
7951
  ] })
7949
7952
  ] }),
7950
7953
  children
7951
7954
  ]
7952
7955
  }
7953
7956
  ),
7954
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIONS6HDFcjs.ScrollFadeOverlay, { edge: "top", visible: fadeTop, className: "h-12" }),
7955
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIONS6HDFcjs.ScrollFadeOverlay, { edge: "bottom", visible: fadeBottom, className: "h-12" })
7957
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3NGJ7NPTcjs.ScrollFadeOverlay, { edge: "top", visible: fadeTop, className: "h-12" }),
7958
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3NGJ7NPTcjs.ScrollFadeOverlay, { edge: "bottom", visible: fadeBottom, className: "h-12" })
7956
7959
  ] }),
7957
7960
  quickActions.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
7958
7961
  QuickActionWall,
@@ -7980,16 +7983,16 @@ function GuideModeBanner({ label = DEFAULT_LABEL, tooltip = DEFAULT_TOOLTIP, cla
7980
7983
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
7981
7984
  "div",
7982
7985
  {
7983
- className: _chunk6YZNUHXTcjs.cn.call(void 0,
7986
+ className: _chunk7JWFMAQBcjs.cn.call(void 0,
7984
7987
  "flex h-8 w-full shrink-0 items-center gap-[var(--spacing-system-xs)] bg-ods-accent px-[var(--spacing-system-m)] py-[var(--spacing-system-xsf)]",
7985
7988
  className
7986
7989
  ),
7987
7990
  children: [
7988
7991
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZFJDLJSIcjs.CompassIcon, { size: 16, className: "shrink-0 text-ods-text-on-accent" }),
7989
7992
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "flex-1 truncate uppercase text-ods-text-on-accent text-h5", children: label }),
7990
- tooltip != null && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQVKWKY4Ocjs.TooltipProvider, { delayDuration: 0, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkQVKWKY4Ocjs.Tooltip, { children: [
7991
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQVKWKY4Ocjs.TooltipTrigger, { asChild: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkK7I3YYYUcjs.Button, { variant: "bare", size: "icon-inline", type: "button", "aria-label": "About Guide Mode", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFO6DOP6Mcjs.QuestionCircleIcon, { size: 16, className: "text-ods-text-on-accent" }) }) }),
7992
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQVKWKY4Ocjs.TooltipContent, { side: "bottom", align: "end", className: "max-w-[280px] normal-case text-h6", children: tooltip })
7993
+ tooltip != null && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJTIGKLKJcjs.TooltipProvider, { delayDuration: 0, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkJTIGKLKJcjs.Tooltip, { children: [
7994
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJTIGKLKJcjs.TooltipTrigger, { asChild: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAHBTZ7DNcjs.Button, { variant: "bare", size: "icon-inline", type: "button", "aria-label": "About Guide Mode", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFO6DOP6Mcjs.QuestionCircleIcon, { size: 16, className: "text-ods-text-on-accent" }) }) }),
7995
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJTIGKLKJcjs.TooltipContent, { side: "bottom", align: "end", className: "max-w-[280px] normal-case text-h6", children: tooltip })
7993
7996
  ] }) })
7994
7997
  ]
7995
7998
  }
@@ -8008,7 +8011,7 @@ function MingoArchiveList({
8008
8011
  isLoadingMore = false,
8009
8012
  onLoadMore
8010
8013
  }) {
8011
- const loading = _chunk6YZNUHXTcjs.useLoadingScope.call(void 0, ) || isLoading && dialogs.length === 0;
8014
+ const loading = _chunk7JWFMAQBcjs.useLoadingScope.call(void 0, ) || isLoading && dialogs.length === 0;
8012
8015
  const sentinelRef = _react.useRef.call(void 0, null);
8013
8016
  const onLoadMoreRef = _react.useRef.call(void 0, onLoadMore);
8014
8017
  const isLoadingMoreRef = _react.useRef.call(void 0, isLoadingMore);
@@ -8036,17 +8039,17 @@ function MingoArchiveList({
8036
8039
  className: "flex min-h-0 flex-1 flex-col gap-[var(--spacing-system-xxs)] px-[var(--spacing-system-xs)] pt-[var(--spacing-system-mf)]",
8037
8040
  children: [
8038
8041
  /* @__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" }),
8039
- /* @__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, _chunkIONS6HDFcjs.ChatListItemLoadingPage, { count: pageSize, trailing: true }) : dialogs.length > 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
8042
+ /* @__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: [
8040
8043
  dialogs.map((dialog) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
8041
- _chunkIONS6HDFcjs.ChatListItem,
8044
+ _chunk3NGJ7NPTcjs.ChatListItem,
8042
8045
  {
8043
8046
  "data-loading-item": true,
8044
8047
  title: dialog.title || "Untitled Chat",
8045
8048
  onClick: () => _optionalChain([onSelectDialog, 'optionalCall', _179 => _179(dialog.id)]),
8046
8049
  trailing: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex items-center gap-[var(--spacing-system-xs)]", children: [
8047
- dialog.timestamp && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap text-ods-text-secondary text-h6", children: _chunkTUD7BV6Ocjs.formatRelativeTime.call(void 0, dialog.timestamp) }),
8050
+ dialog.timestamp && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap text-ods-text-secondary text-h6", children: _chunk7MV23NNTcjs.formatRelativeTime.call(void 0, dialog.timestamp) }),
8048
8051
  dialog.owner && (dialog.owner.name || dialog.owner.avatarUrl) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
8049
- _chunkGP7NV6BKcjs.SquareAvatar,
8052
+ _chunk6UKH22NQcjs.SquareAvatar,
8050
8053
  {
8051
8054
  variant: "round",
8052
8055
  sizePx: 24,
@@ -8094,7 +8097,7 @@ function MingoChatHeader({
8094
8097
  ];
8095
8098
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-14 w-full shrink-0 divide-x divide-ods-border overflow-hidden border-b border-ods-border", children: [
8096
8099
  onToggleList && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
8097
- _chunkK7I3YYYUcjs.Button,
8100
+ _chunkAHBTZ7DNcjs.Button,
8098
8101
  {
8099
8102
  variant: "cell",
8100
8103
  className: "w-14",
@@ -8110,7 +8113,7 @@ function MingoChatHeader({
8110
8113
  subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-ods-text-secondary text-h6", children: subtitle })
8111
8114
  ] }),
8112
8115
  avatar && (avatar.name || avatar.avatarUrl) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
8113
- _chunkGP7NV6BKcjs.SquareAvatar,
8116
+ _chunk6UKH22NQcjs.SquareAvatar,
8114
8117
  {
8115
8118
  variant: "round",
8116
8119
  sizePx: 32,
@@ -8121,18 +8124,18 @@ function MingoChatHeader({
8121
8124
  }
8122
8125
  ) : null
8123
8126
  ] }),
8124
- onRestore && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkK7I3YYYUcjs.Button, { variant: "cell", className: "w-14", onClick: onRestore, "aria-label": "Unarchive chat", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPPX2JK6Pcjs.Refresh01LeftIcon, { size: 24 }) }),
8127
+ onRestore && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAHBTZ7DNcjs.Button, { variant: "cell", className: "w-14", onClick: onRestore, "aria-label": "Unarchive chat", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPPX2JK6Pcjs.Refresh01LeftIcon, { size: 24 }) }),
8125
8128
  menuGroups.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
8126
- _chunkQVKWKY4Ocjs.ActionsMenuDropdown,
8129
+ _chunkJTIGKLKJcjs.ActionsMenuDropdown,
8127
8130
  {
8128
8131
  triggerAriaLabel: "Chat actions",
8129
8132
  onCloseAutoFocus: (e) => e.preventDefault(),
8130
8133
  groups: menuGroups,
8131
- customTrigger: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkK7I3YYYUcjs.Button, { variant: "cell", className: "w-14", "aria-label": "Chat actions", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSWHUL32Wcjs.Ellipsis01Icon, { size: 24 }) })
8134
+ customTrigger: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAHBTZ7DNcjs.Button, { variant: "cell", className: "w-14", "aria-label": "Chat actions", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSWHUL32Wcjs.Ellipsis01Icon, { size: 24 }) })
8132
8135
  }
8133
8136
  ),
8134
- onCollapse && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkK7I3YYYUcjs.Button, { variant: "cell", className: "w-14", onClick: onCollapse, "aria-label": "Collapse chat", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZ7OPT4PNcjs.Arrow02RightIcon, { size: 24 }) }),
8135
- onClose && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkK7I3YYYUcjs.Button, { variant: "cell", className: "w-14", onClick: onClose, "aria-label": "Close", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWWUSFOJ7cjs.XmarkIcon, { size: 24 }) })
8137
+ onCollapse && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAHBTZ7DNcjs.Button, { variant: "cell", className: "w-14", onClick: onCollapse, "aria-label": "Collapse chat", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZ7OPT4PNcjs.Arrow02RightIcon, { size: 24 }) }),
8138
+ onClose && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAHBTZ7DNcjs.Button, { variant: "cell", className: "w-14", onClick: onClose, "aria-label": "Close", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWWUSFOJ7cjs.XmarkIcon, { size: 24 }) })
8136
8139
  ] });
8137
8140
  }
8138
8141
 
@@ -8176,7 +8179,7 @@ function ChatHeaderSearchField({
8176
8179
  onAnimationEnd: (e) => {
8177
8180
  if (e.target === e.currentTarget && exiting) finishCollapse();
8178
8181
  },
8179
- className: _chunk6YZNUHXTcjs.cn.call(void 0,
8182
+ className: _chunk7JWFMAQBcjs.cn.call(void 0,
8180
8183
  "flex min-w-0 flex-1 items-center gap-[var(--spacing-system-xs)] px-[var(--spacing-system-sf)]",
8181
8184
  exiting ? (
8182
8185
  // Elegant leave: sweep back out to the right + fade, holding the end
@@ -8272,7 +8275,7 @@ function MingoChatRail({
8272
8275
  onExpand,
8273
8276
  className
8274
8277
  }) {
8275
- const loading = _chunk6YZNUHXTcjs.useLoadingScope.call(void 0, ) || isLoadingHistory;
8278
+ const loading = _chunk7JWFMAQBcjs.useLoadingScope.call(void 0, ) || isLoadingHistory;
8276
8279
  const [searchOpen, setSearchOpen] = _react.useState.call(void 0, !!_optionalChain([searchQuery, 'optionalAccess', _182 => _182.trim, 'call', _183 => _183()]));
8277
8280
  const hasSearch = !!_optionalChain([searchQuery, 'optionalAccess', _184 => _184.trim, 'call', _185 => _185()]);
8278
8281
  const items = [];
@@ -8346,10 +8349,10 @@ function MingoChatRail({
8346
8349
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-primary text-h4", children: "Couldn\u2019t load your chats" }),
8347
8350
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: "Something went wrong reaching the server. Try again." })
8348
8351
  ] }),
8349
- onRetry && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkK7I3YYYUcjs.Button, { variant: "outline", size: "small", leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXLTOM62Pcjs.Refresh01RightIcon, {}), onClick: onRetry, children: "Try again" })
8352
+ 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" })
8350
8353
  ] });
8351
8354
  } else if (loading) {
8352
- list = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIONS6HDFcjs.ChatListItemLoadingPage, { count: pageSize });
8355
+ list = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3NGJ7NPTcjs.ChatListItemLoadingPage, { count: pageSize });
8353
8356
  } else if (dialogs.length === 0 && !draftTitle) {
8354
8357
  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,
8355
8358
  ChatListEmptyState,
@@ -8361,7 +8364,7 @@ function MingoChatRail({
8361
8364
  );
8362
8365
  } else {
8363
8366
  list = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
8364
- draftTitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIONS6HDFcjs.ChatListItem, { active: true, title: draftTitle, tabIndex: -1, className: "cursor-default" }),
8367
+ draftTitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3NGJ7NPTcjs.ChatListItem, { active: true, title: draftTitle, tabIndex: -1, className: "cursor-default" }),
8365
8368
  dialogs.map((dialog) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
8366
8369
  MingoChatRailRow,
8367
8370
  {
@@ -8383,15 +8386,15 @@ function MingoChatRail({
8383
8386
  ] });
8384
8387
  }
8385
8388
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
8386
- _chunkIONS6HDFcjs.ChatNavSidebar,
8389
+ _chunk3NGJ7NPTcjs.ChatNavSidebar,
8387
8390
  {
8388
8391
  className,
8389
8392
  "data-accent": "mingo",
8390
8393
  "aria-label": "Mingo chats",
8391
8394
  logo: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-1 items-center justify-between", children: [
8392
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTUD7BV6Ocjs.AgentMark, { agent: "mingo", className: "size-6 text-ods-text-primary" }),
8395
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7MV23NNTcjs.AgentMark, { agent: "mingo", className: "size-6 text-ods-text-primary" }),
8393
8396
  onExpand && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
8394
- _chunkK7I3YYYUcjs.Button,
8397
+ _chunkAHBTZ7DNcjs.Button,
8395
8398
  {
8396
8399
  variant: "transparent",
8397
8400
  size: "icon",
@@ -8405,13 +8408,13 @@ function MingoChatRail({
8405
8408
  items,
8406
8409
  sectionLabel: "Your Current Chats",
8407
8410
  sectionActions: listMenu.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
8408
- _chunkQVKWKY4Ocjs.ActionsMenuDropdown,
8411
+ _chunkJTIGKLKJcjs.ActionsMenuDropdown,
8409
8412
  {
8410
8413
  triggerAriaLabel: "Chat list options",
8411
8414
  groups: [{ items: listMenu }],
8412
8415
  onCloseAutoFocus: (e) => e.preventDefault(),
8413
8416
  customTrigger: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
8414
- _chunkK7I3YYYUcjs.Button,
8417
+ _chunkAHBTZ7DNcjs.Button,
8415
8418
  {
8416
8419
  variant: "transparent",
8417
8420
  size: "icon",
@@ -8440,20 +8443,20 @@ function MingoChatRailRow({ dialog, active, status, onSelect, menuItems, ...prop
8440
8443
  const hasMenu = menuItems.length > 0;
8441
8444
  const glyph = status ? STATUS_GLYPHS[status] : void 0;
8442
8445
  const title = dialog.title || "Untitled Chat";
8443
- return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { ..._chunk6YZNUHXTcjs.loadingItemProps.call(void 0, props), className: "group/row relative shrink-0", children: [
8446
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { ..._chunk7JWFMAQBcjs.loadingItemProps.call(void 0, props), className: "group/row relative shrink-0", children: [
8444
8447
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
8445
- _chunkIONS6HDFcjs.ChatListItem,
8448
+ _chunk3NGJ7NPTcjs.ChatListItem,
8446
8449
  {
8447
8450
  active,
8448
8451
  title,
8449
8452
  onClick: () => _optionalChain([onSelect, 'optionalCall', _189 => _189(dialog.id)]),
8450
- className: _chunk6YZNUHXTcjs.cn.call(void 0, hasMenu && "pr-10"),
8453
+ className: _chunk7JWFMAQBcjs.cn.call(void 0, hasMenu && "pr-10"),
8451
8454
  trailing: glyph ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
8452
8455
  "span",
8453
8456
  {
8454
8457
  role: "img",
8455
8458
  "aria-label": glyph.label,
8456
- className: _chunk6YZNUHXTcjs.cn.call(void 0, "flex transition-opacity", hasMenu && "group-hover/row:opacity-0", menuOpen && "opacity-0"),
8459
+ className: _chunk7JWFMAQBcjs.cn.call(void 0, "flex transition-opacity", hasMenu && "group-hover/row:opacity-0", menuOpen && "opacity-0"),
8457
8460
  children: glyph.icon
8458
8461
  }
8459
8462
  ) : void 0
@@ -8463,12 +8466,12 @@ function MingoChatRailRow({ dialog, active, status, onSelect, menuItems, ...prop
8463
8466
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
8464
8467
  "span",
8465
8468
  {
8466
- className: _chunk6YZNUHXTcjs.cn.call(void 0,
8469
+ className: _chunk7JWFMAQBcjs.cn.call(void 0,
8467
8470
  "absolute inset-y-0 right-[var(--spacing-system-xs)] flex items-center transition-opacity",
8468
8471
  menuOpen ? "opacity-100" : "opacity-0 focus-within:opacity-100 group-hover/row:opacity-100"
8469
8472
  ),
8470
8473
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
8471
- _chunkQVKWKY4Ocjs.ActionsMenuDropdown,
8474
+ _chunkJTIGKLKJcjs.ActionsMenuDropdown,
8472
8475
  {
8473
8476
  triggerAriaLabel: `Actions for ${title}`,
8474
8477
  groups: [{ items: menuItems }],
@@ -8476,7 +8479,7 @@ function MingoChatRailRow({ dialog, active, status, onSelect, menuItems, ...prop
8476
8479
  onOpenChange: setMenuOpen,
8477
8480
  onCloseAutoFocus: (e) => e.preventDefault(),
8478
8481
  customTrigger: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
8479
- _chunkK7I3YYYUcjs.Button,
8482
+ _chunkAHBTZ7DNcjs.Button,
8480
8483
  {
8481
8484
  variant: "transparent",
8482
8485
  size: "icon",
@@ -8504,29 +8507,29 @@ function TabSelector({
8504
8507
  scrollable = false,
8505
8508
  className
8506
8509
  }) {
8507
- const flush = _chunkQVKWKY4Ocjs.useIsInActionsMenuHeader.call(void 0, );
8510
+ const flush = _chunkJTIGKLKJcjs.useIsInActionsMenuHeader.call(void 0, );
8508
8511
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
8509
8512
  "div",
8510
8513
  {
8511
- className: _chunk6YZNUHXTcjs.cn.call(void 0, "flex flex-col gap-[var(--spacing-system-xxs)]", disabled && "opacity-50", className),
8514
+ className: _chunk7JWFMAQBcjs.cn.call(void 0, "flex flex-col gap-[var(--spacing-system-xxs)]", disabled && "opacity-50", className),
8512
8515
  "aria-disabled": disabled || void 0,
8513
8516
  children: [
8514
8517
  label && // Label for family/color; 'large' (text-h4) is this component's
8515
8518
  // long-standing label scale — neighbours opt into the same scale via
8516
8519
  // their `labelVariant="large"` when a design puts them side by side.
8517
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJRTDBPJTcjs.Label, { variant: "large", children: label }),
8520
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGD47ZGOUcjs.Label, { variant: "large", children: label }),
8518
8521
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
8519
8522
  "div",
8520
8523
  {
8521
- className: _chunk6YZNUHXTcjs.cn.call(void 0,
8524
+ className: _chunk7JWFMAQBcjs.cn.call(void 0,
8522
8525
  "flex gap-[var(--spacing-system-xxs)] bg-ods-bg p-[var(--spacing-system-xxs)]",
8523
- flush ? "h-10 w-full" : _chunk6YZNUHXTcjs.cn.call(void 0, "h-11 rounded-md border border-ods-border content-md:h-12", scrollable ? "overflow-x-auto" : "w-full")
8526
+ flush ? "h-10 w-full" : _chunk7JWFMAQBcjs.cn.call(void 0, "h-11 rounded-md border border-ods-border content-md:h-12", scrollable ? "overflow-x-auto" : "w-full")
8524
8527
  ),
8525
8528
  children: items.map((item) => {
8526
8529
  const isActive = value === item.id;
8527
8530
  const isDisabled = disabled || item.disabled;
8528
8531
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
8529
- _chunkK7I3YYYUcjs.Button,
8532
+ _chunkAHBTZ7DNcjs.Button,
8530
8533
  {
8531
8534
  variant: "segment",
8532
8535
  type: "button",
@@ -8536,7 +8539,7 @@ function TabSelector({
8536
8539
  "aria-pressed": isActive,
8537
8540
  "data-state": isActive ? "active" : void 0,
8538
8541
  "data-tone": variant === "primary" ? "accent" : void 0,
8539
- className: _chunk6YZNUHXTcjs.cn.call(void 0, "h-full", scrollable ? "flex-none shrink-0 basis-auto" : "flex-1"),
8542
+ className: _chunk7JWFMAQBcjs.cn.call(void 0, "h-full", scrollable ? "flex-none shrink-0 basis-auto" : "flex-1"),
8540
8543
  children: [
8541
8544
  item.icon && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex size-4 shrink-0 items-center justify-center content-md:size-6", children: item.icon }),
8542
8545
  item.label,
@@ -8576,19 +8579,19 @@ function MingoHistoryRail({
8576
8579
  onRetry,
8577
8580
  className
8578
8581
  }) {
8579
- const loading = _chunk6YZNUHXTcjs.useLoadingScope.call(void 0, ) || isLoadingHistory;
8582
+ const loading = _chunk7JWFMAQBcjs.useLoadingScope.call(void 0, ) || isLoadingHistory;
8580
8583
  const hasSearch = !!_optionalChain([searchQuery, 'optionalAccess', _190 => _190.trim, 'call', _191 => _191()]);
8581
8584
  const hasList = dialogs.length > 0 || hasSearch;
8582
8585
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
8583
8586
  "div",
8584
8587
  {
8585
- className: _chunk6YZNUHXTcjs.cn.call(void 0,
8588
+ className: _chunk7JWFMAQBcjs.cn.call(void 0,
8586
8589
  "flex min-h-0 flex-1 flex-col gap-[var(--spacing-system-m)] p-[var(--spacing-system-m)]",
8587
8590
  className
8588
8591
  ),
8589
8592
  children: [
8590
8593
  onNewChat && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
8591
- _chunkK7I3YYYUcjs.Button,
8594
+ _chunkAHBTZ7DNcjs.Button,
8592
8595
  {
8593
8596
  variant: "outline",
8594
8597
  fullWidth: true,
@@ -8616,7 +8619,7 @@ function MingoHistoryRail({
8616
8619
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-primary text-h4", children: "Couldn\u2019t load your chats" }),
8617
8620
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: "Something went wrong reaching the server. Try again." })
8618
8621
  ] }),
8619
- onRetry && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkK7I3YYYUcjs.Button, { variant: "outline", size: "small", leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXLTOM62Pcjs.Refresh01RightIcon, {}), onClick: onRetry, children: "Try again" })
8622
+ 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" })
8620
8623
  ] }) : loading || hasList ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
8621
8624
  MingoChatHistory,
8622
8625
  {
@@ -8665,10 +8668,10 @@ function RenameChatModal({ isOpen, initialName = "", onClose, onSave }) {
8665
8668
  const save = () => {
8666
8669
  if (canSave) onSave(name.trim());
8667
8670
  };
8668
- return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkIONS6HDFcjs.Modal, { isOpen, onClose, className: "md:max-w-[600px]", children: [
8669
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIONS6HDFcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIONS6HDFcjs.ModalTitle, { children: "Rename Chat" }) }),
8671
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk3NGJ7NPTcjs.Modal, { isOpen, onClose, className: "md:max-w-[600px]", children: [
8672
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3NGJ7NPTcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3NGJ7NPTcjs.ModalTitle, { children: "Rename Chat" }) }),
8670
8673
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col gap-[var(--spacing-system-xxs)]", children: [
8671
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJRTDBPJTcjs.Label, { htmlFor: "rename-chat-input", variant: "large", children: "Chat Name" }),
8674
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGD47ZGOUcjs.Label, { htmlFor: "rename-chat-input", variant: "large", children: "Chat Name" }),
8672
8675
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
8673
8676
  "input",
8674
8677
  {
@@ -8683,29 +8686,29 @@ function RenameChatModal({ isOpen, initialName = "", onClose, onSave }) {
8683
8686
  }
8684
8687
  )
8685
8688
  ] }),
8686
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkIONS6HDFcjs.ModalFooter, { children: [
8687
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkK7I3YYYUcjs.Button, { variant: "outline", type: "button", onClick: onClose, className: footerBtn, children: "Cancel" }),
8688
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkK7I3YYYUcjs.Button, { variant: "accent", type: "button", onClick: save, disabled: !canSave, className: footerBtn, children: "Save" })
8689
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk3NGJ7NPTcjs.ModalFooter, { children: [
8690
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAHBTZ7DNcjs.Button, { variant: "outline", type: "button", onClick: onClose, className: footerBtn, children: "Cancel" }),
8691
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAHBTZ7DNcjs.Button, { variant: "accent", type: "button", onClick: save, disabled: !canSave, className: footerBtn, children: "Save" })
8689
8692
  ] })
8690
8693
  ] });
8691
8694
  }
8692
8695
  function ArchiveChatModal({ isOpen, onClose, onConfirm }) {
8693
- return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkIONS6HDFcjs.Modal, { isOpen, onClose, className: "md:max-w-[600px]", children: [
8694
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIONS6HDFcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIONS6HDFcjs.ModalTitle, { children: "Archive Chat" }) }),
8696
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk3NGJ7NPTcjs.Modal, { isOpen, onClose, className: "md:max-w-[600px]", children: [
8697
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3NGJ7NPTcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3NGJ7NPTcjs.ModalTitle, { children: "Archive Chat" }) }),
8695
8698
  /* @__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." }),
8696
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkIONS6HDFcjs.ModalFooter, { children: [
8697
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkK7I3YYYUcjs.Button, { variant: "outline", type: "button", onClick: onClose, className: footerBtn, children: "Cancel" }),
8698
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkK7I3YYYUcjs.Button, { variant: "destructive", type: "button", onClick: onConfirm, className: footerBtn, children: "Archive Chat" })
8699
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk3NGJ7NPTcjs.ModalFooter, { children: [
8700
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAHBTZ7DNcjs.Button, { variant: "outline", type: "button", onClick: onClose, className: footerBtn, children: "Cancel" }),
8701
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAHBTZ7DNcjs.Button, { variant: "destructive", type: "button", onClick: onConfirm, className: footerBtn, children: "Archive Chat" })
8699
8702
  ] })
8700
8703
  ] });
8701
8704
  }
8702
8705
  function UnarchiveChatModal({ isOpen, onClose, onConfirm }) {
8703
- return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkIONS6HDFcjs.Modal, { isOpen, onClose, className: "md:max-w-[600px]", children: [
8704
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIONS6HDFcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIONS6HDFcjs.ModalTitle, { children: "Unarchive Chat" }) }),
8706
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk3NGJ7NPTcjs.Modal, { isOpen, onClose, className: "md:max-w-[600px]", children: [
8707
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3NGJ7NPTcjs.ModalHeader, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3NGJ7NPTcjs.ModalTitle, { children: "Unarchive Chat" }) }),
8705
8708
  /* @__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." }),
8706
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkIONS6HDFcjs.ModalFooter, { children: [
8707
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkK7I3YYYUcjs.Button, { variant: "outline", type: "button", onClick: onClose, className: footerBtn, children: "Cancel" }),
8708
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkK7I3YYYUcjs.Button, { variant: "accent", type: "button", onClick: onConfirm, className: footerBtn, children: "Unarchive Chat" })
8709
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk3NGJ7NPTcjs.ModalFooter, { children: [
8710
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAHBTZ7DNcjs.Button, { variant: "outline", type: "button", onClick: onClose, className: footerBtn, children: "Cancel" }),
8711
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAHBTZ7DNcjs.Button, { variant: "accent", type: "button", onClick: onConfirm, className: footerBtn, children: "Unarchive Chat" })
8709
8712
  ] })
8710
8713
  ] });
8711
8714
  }
@@ -8779,24 +8782,24 @@ function ChatPanelHeaderMobile({
8779
8782
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
8780
8783
  "div",
8781
8784
  {
8782
- className: _chunk6YZNUHXTcjs.cn.call(void 0,
8785
+ className: _chunk7JWFMAQBcjs.cn.call(void 0,
8783
8786
  "flex flex-shrink-0 flex-col border-b border-ods-border bg-ods-card",
8784
8787
  "px-[var(--spacing-system-l)] pb-[var(--spacing-system-l)]",
8785
8788
  className
8786
8789
  ),
8787
8790
  children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-end gap-[var(--spacing-system-sf)]", children: [
8788
- showBack && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkK7I3YYYUcjs.Button, { variant: "outline", size: "icon", "aria-label": backAriaLabel, onClick: onBack, className: "shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFC7N7BQXcjs.Chevron02LeftIcon, {}) }),
8791
+ showBack && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAHBTZ7DNcjs.Button, { variant: "outline", size: "icon", "aria-label": backAriaLabel, onClick: onBack, className: "shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFC7N7BQXcjs.Chevron02LeftIcon, {}) }),
8789
8792
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 items-end gap-[var(--spacing-system-m)] pt-[var(--spacing-system-xl)]", children: [
8790
8793
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col gap-[var(--spacing-system-xs)]", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "min-w-0 truncate text-ods-text-primary text-h2", title, children: title }) }),
8791
8794
  menuItems.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
8792
- _chunkQVKWKY4Ocjs.ActionsMenuDropdown,
8795
+ _chunkJTIGKLKJcjs.ActionsMenuDropdown,
8793
8796
  {
8794
8797
  groups: [{ items: menuItems }],
8795
8798
  triggerAriaLabel: "Chat actions",
8796
8799
  triggerClassName: "flex shrink-0 items-center justify-center border-ods-border bg-ods-card hover:bg-ods-bg-hover focus-visible:ring-0"
8797
8800
  }
8798
8801
  ),
8799
- onClose && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkK7I3YYYUcjs.Button, { variant: "outline", size: "icon", "aria-label": "Close chat", onClick: onClose, className: "shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWWUSFOJ7cjs.XmarkIcon, {}) })
8802
+ onClose && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAHBTZ7DNcjs.Button, { variant: "outline", size: "icon", "aria-label": "Close chat", onClick: onClose, className: "shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWWUSFOJ7cjs.XmarkIcon, {}) })
8800
8803
  ] })
8801
8804
  ] })
8802
8805
  }
@@ -8851,12 +8854,12 @@ function ChatPanelHeader({
8851
8854
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
8852
8855
  "div",
8853
8856
  {
8854
- className: _chunk6YZNUHXTcjs.cn.call(void 0,
8857
+ className: _chunk7JWFMAQBcjs.cn.call(void 0,
8855
8858
  "h-14 w-full flex-shrink-0 divide-x divide-ods-border overflow-hidden border-b border-ods-border bg-ods-card",
8856
8859
  compact ? "flex" : "hidden md:flex"
8857
8860
  ),
8858
8861
  children: [
8859
- showBack && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkK7I3YYYUcjs.Button, { variant: "cell", className: "w-14", onClick: onBack, "aria-label": backAriaLabel, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFC7N7BQXcjs.Chevron02LeftIcon, { size: 24 }) }),
8862
+ showBack && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAHBTZ7DNcjs.Button, { variant: "cell", className: "w-14", onClick: onBack, "aria-label": backAriaLabel, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFC7N7BQXcjs.Chevron02LeftIcon, { size: 24 }) }),
8860
8863
  searchInline ? (
8861
8864
  // Search open — the inline field takes over the title area in place
8862
8865
  // (Figma 116:51217); the magnifier toggle below is hidden.
@@ -8876,7 +8879,7 @@ function ChatPanelHeader({
8876
8879
  avatar && (avatar.name || avatar.avatarUrl) ? (
8877
8880
  // Owner avatar at the title cell's right edge (Figma 113:63273).
8878
8881
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
8879
- _chunkGP7NV6BKcjs.SquareAvatar,
8882
+ _chunk6UKH22NQcjs.SquareAvatar,
8880
8883
  {
8881
8884
  variant: "round",
8882
8885
  sizePx: 32,
@@ -8890,18 +8893,18 @@ function ChatPanelHeader({
8890
8893
  )
8891
8894
  ) : null
8892
8895
  ] }),
8893
- isArchivedView && onRestore && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkK7I3YYYUcjs.Button, { variant: "cell", className: "w-14", onClick: onRestore, "aria-label": "Unarchive chat", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPPX2JK6Pcjs.Refresh01LeftIcon, { size: 24 }) }),
8896
+ isArchivedView && onRestore && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAHBTZ7DNcjs.Button, { variant: "cell", className: "w-14", onClick: onRestore, "aria-label": "Unarchive chat", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPPX2JK6Pcjs.Refresh01LeftIcon, { size: 24 }) }),
8894
8897
  showBack && !isArchivedView && menuItems.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
8895
- _chunkQVKWKY4Ocjs.ActionsMenuDropdown,
8898
+ _chunkJTIGKLKJcjs.ActionsMenuDropdown,
8896
8899
  {
8897
8900
  triggerAriaLabel: "Chat actions",
8898
8901
  onCloseAutoFocus: (e) => e.preventDefault(),
8899
8902
  groups: [{ items: menuItems }],
8900
- customTrigger: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkK7I3YYYUcjs.Button, { variant: "cell", className: "w-14", "aria-label": "Chat actions", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSWHUL32Wcjs.Ellipsis01Icon, { size: 24 }) })
8903
+ customTrigger: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAHBTZ7DNcjs.Button, { variant: "cell", className: "w-14", "aria-label": "Chat actions", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSWHUL32Wcjs.Ellipsis01Icon, { size: 24 }) })
8901
8904
  }
8902
8905
  ),
8903
8906
  !showBack && !searchInline && onToggleSearch && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
8904
- _chunkK7I3YYYUcjs.Button,
8907
+ _chunkAHBTZ7DNcjs.Button,
8905
8908
  {
8906
8909
  variant: "cell",
8907
8910
  className: "w-14",
@@ -8911,8 +8914,8 @@ function ChatPanelHeader({
8911
8914
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZ74QE57Tcjs.SearchIcon, { size: 24 })
8912
8915
  }
8913
8916
  ),
8914
- !showBack && onOpenArchive && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkK7I3YYYUcjs.Button, { variant: "cell", className: "w-14", onClick: onOpenArchive, "aria-label": "Chat archive", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7JKBT3LTcjs.ClockHistoryIcon, { size: 24 }) }),
8915
- onClose && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkK7I3YYYUcjs.Button, { variant: "cell", className: "w-14", onClick: onClose, "aria-label": "Close", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWWUSFOJ7cjs.XmarkIcon, { size: 24 }) })
8917
+ !showBack && onOpenArchive && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAHBTZ7DNcjs.Button, { variant: "cell", className: "w-14", onClick: onOpenArchive, "aria-label": "Chat archive", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7JKBT3LTcjs.ClockHistoryIcon, { size: 24 }) }),
8918
+ onClose && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAHBTZ7DNcjs.Button, { variant: "cell", className: "w-14", onClick: onClose, "aria-label": "Close", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWWUSFOJ7cjs.XmarkIcon, { size: 24 }) })
8916
8919
  ]
8917
8920
  }
8918
8921
  )
@@ -8943,7 +8946,7 @@ function ChatAttachmentAddButton({
8943
8946
  const compact = size === "compact";
8944
8947
  const boxClass = compact ? "h-6 w-6" : "h-7 w-7";
8945
8948
  if (!attachmentsEnabled) {
8946
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { "aria-hidden": "true", className: _chunk6YZNUHXTcjs.cn.call(void 0, "inline-block shrink-0", boxClass) });
8949
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { "aria-hidden": "true", className: _chunk7JWFMAQBcjs.cn.call(void 0, "inline-block shrink-0", boxClass) });
8947
8950
  }
8948
8951
  const slotsAvailable = Math.max(0, CHAT_ATTACHMENT_CONCURRENT_UPLOADS_PER_USER - attachmentsCount);
8949
8952
  const canAddMore = slotsAvailable > 0 && !disabled;
@@ -8971,7 +8974,7 @@ function ChatAttachmentAddButton({
8971
8974
  }
8972
8975
  ),
8973
8976
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
8974
- _chunkK7I3YYYUcjs.Button,
8977
+ _chunkAHBTZ7DNcjs.Button,
8975
8978
  {
8976
8979
  type: "button",
8977
8980
  variant: "transparent",
@@ -8981,7 +8984,7 @@ function ChatAttachmentAddButton({
8981
8984
  "aria-label": canAddMore ? "Add attachments" : "Attachment limit reached",
8982
8985
  title: canAddMore ? "Add attachments" : `Limit reached (${CHAT_ATTACHMENT_CONCURRENT_UPLOADS_PER_USER})`,
8983
8986
  leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkX4UZ62MYcjs.PlusIcon, { className: compact ? "h-3.5 w-3.5" : "h-4 w-4" }),
8984
- className: _chunk6YZNUHXTcjs.cn.call(void 0,
8987
+ className: _chunk7JWFMAQBcjs.cn.call(void 0,
8985
8988
  "shrink-0 !p-0 text-ods-text-muted hover:text-ods-text-primary",
8986
8989
  compact ? "!h-6 !w-6" : "!h-7 !w-7"
8987
8990
  )
@@ -8997,7 +9000,7 @@ function ChatAttachmentChipStrip({
8997
9000
  }) {
8998
9001
  if (attachments.length === 0) return null;
8999
9002
  const compact = size === "compact";
9000
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk6YZNUHXTcjs.cn.call(void 0, "flex-shrink-0", compact ? "px-3 pb-1.5" : "px-5 pb-2"), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk6YZNUHXTcjs.cn.call(void 0, "flex flex-wrap items-center", compact ? "gap-1.5" : "gap-2"), children: attachments.map((att) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
9003
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk7JWFMAQBcjs.cn.call(void 0, "flex-shrink-0", compact ? "px-3 pb-1.5" : "px-5 pb-2"), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk7JWFMAQBcjs.cn.call(void 0, "flex flex-wrap items-center", compact ? "gap-1.5" : "gap-2"), children: attachments.map((att) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
9001
9004
  AttachmentChip,
9002
9005
  {
9003
9006
  attachment: att,
@@ -9016,14 +9019,14 @@ function AttachmentChip({ attachment, onRemove, disabled, size = "default" }) {
9016
9019
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
9017
9020
  "div",
9018
9021
  {
9019
- className: _chunk6YZNUHXTcjs.cn.call(void 0,
9022
+ className: _chunk7JWFMAQBcjs.cn.call(void 0,
9020
9023
  "flex items-center rounded-md border border-ods-border bg-ods-card",
9021
9024
  compact ? "max-w-[180px] gap-1.5 px-1.5 py-1" : "max-w-[240px] gap-2 px-2 py-1.5"
9022
9025
  ),
9023
9026
  role: "group",
9024
9027
  "aria-label": `Attachment ${file.name}`,
9025
9028
  children: [
9026
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk6YZNUHXTcjs.cn.call(void 0, "relative shrink-0 overflow-hidden rounded bg-ods-bg", compact ? "h-6 w-6" : "h-8 w-8"), children: [
9029
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk7JWFMAQBcjs.cn.call(void 0, "relative shrink-0 overflow-hidden rounded bg-ods-bg", compact ? "h-6 w-6" : "h-8 w-8"), children: [
9027
9030
  isImage && blobUrl ? (
9028
9031
  // cannot go through next/image; this is a transient pre-upload
9029
9032
  // preview, NOT the chat-history render path.
@@ -9031,7 +9034,7 @@ function AttachmentChip({ attachment, onRemove, disabled, size = "default" }) {
9031
9034
  ) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
9032
9035
  "div",
9033
9036
  {
9034
- className: _chunk6YZNUHXTcjs.cn.call(void 0,
9037
+ className: _chunk7JWFMAQBcjs.cn.call(void 0,
9035
9038
  "flex h-full w-full items-center justify-center font-mono uppercase text-ods-text-muted",
9036
9039
  compact ? "text-[9px]" : "text-[10px]"
9037
9040
  ),
@@ -9044,13 +9047,13 @@ function AttachmentChip({ attachment, onRemove, disabled, size = "default" }) {
9044
9047
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "truncate text-ods-text-primary text-h6", title: file.name, children: file.name }),
9045
9048
  (!compact || status !== "ready") && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "text-ods-text-muted text-h6", children: [
9046
9049
  status === "sniffing" && "Checking the file",
9047
- status === "uploading" && `${progress}% \xB7 ${_chunkGP7NV6BKcjs.formatFileSize.call(void 0, file.size)}`,
9048
- status === "ready" && _chunkGP7NV6BKcjs.formatFileSize.call(void 0, file.size),
9050
+ status === "uploading" && `${progress}% \xB7 ${_chunk6UKH22NQcjs.formatFileSize.call(void 0, file.size)}`,
9051
+ status === "ready" && _chunk6UKH22NQcjs.formatFileSize.call(void 0, file.size),
9049
9052
  status === "error" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-error", title: errorMessage, children: _nullishCoalesce(errorMessage, () => ( "Upload failed")) })
9050
9053
  ] })
9051
9054
  ] }),
9052
9055
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
9053
- _chunkK7I3YYYUcjs.Button,
9056
+ _chunkAHBTZ7DNcjs.Button,
9054
9057
  {
9055
9058
  type: "button",
9056
9059
  variant: "transparent",
@@ -9059,7 +9062,7 @@ function AttachmentChip({ attachment, onRemove, disabled, size = "default" }) {
9059
9062
  disabled,
9060
9063
  "aria-label": `Remove ${file.name}`,
9061
9064
  leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWWUSFOJ7cjs.XmarkIcon, { className: compact ? "h-3 w-3" : "h-3.5 w-3.5" }),
9062
- className: _chunk6YZNUHXTcjs.cn.call(void 0,
9065
+ className: _chunk7JWFMAQBcjs.cn.call(void 0,
9063
9066
  "shrink-0 !p-0 text-ods-text-muted hover:text-ods-text-primary",
9064
9067
  compact ? "!h-4 !w-4" : "!h-5 !w-5"
9065
9068
  )
@@ -9130,7 +9133,7 @@ function ChatContextMemoryBar({
9130
9133
  "div",
9131
9134
  {
9132
9135
  ref: rootRef,
9133
- className: _chunk6YZNUHXTcjs.cn.call(void 0,
9136
+ className: _chunk7JWFMAQBcjs.cn.call(void 0,
9134
9137
  "relative flex items-center gap-[var(--spacing-system-xs)] border-b border-ods-border bg-ods-bg p-[var(--spacing-system-xs)]",
9135
9138
  className
9136
9139
  ),
@@ -9148,7 +9151,7 @@ function ChatContextMemoryBar({
9148
9151
  " in context"
9149
9152
  ] }),
9150
9153
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
9151
- _chunkK7I3YYYUcjs.Button,
9154
+ _chunkAHBTZ7DNcjs.Button,
9152
9155
  {
9153
9156
  variant: "bare",
9154
9157
  size: "icon-sm",
@@ -9174,7 +9177,7 @@ function ChatContextMemoryBar({
9174
9177
  resolveIcon2 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: CONTEXT_ICON_CLASS, children: resolveIcon2(item) }),
9175
9178
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: CONTEXT_LABEL_CLASS, title: item.label, children: item.label }),
9176
9179
  onRemove && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
9177
- _chunkK7I3YYYUcjs.Button,
9180
+ _chunkAHBTZ7DNcjs.Button,
9178
9181
  {
9179
9182
  variant: "bare",
9180
9183
  size: "icon-sm",
@@ -9218,7 +9221,7 @@ var HoverCardContent = _react.forwardRef.call(void 0,
9218
9221
  }, ref) => (
9219
9222
  // Portalled so an `overflow: hidden` ancestor (a table cell, a card) cannot
9220
9223
  // clip it.
9221
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HoverCardPrimitive.Portal, { container: _chunkHYF4LPXFcjs.usePortalContainer.call(void 0, ), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
9224
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HoverCardPrimitive.Portal, { container: _chunkNL3G642Ucjs.usePortalContainer.call(void 0, ), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
9222
9225
  HoverCardPrimitive.Content,
9223
9226
  {
9224
9227
  ref,
@@ -9228,7 +9231,7 @@ var HoverCardContent = _react.forwardRef.call(void 0,
9228
9231
  collisionPadding,
9229
9232
  avoidCollisions: true,
9230
9233
  sticky: "always",
9231
- className: _chunk6YZNUHXTcjs.cn.call(void 0,
9234
+ className: _chunk7JWFMAQBcjs.cn.call(void 0,
9232
9235
  // A height cap with internal scroll is what stops growing content
9233
9236
  // from ever exceeding the viewport — which is what forces a flip.
9234
9237
  "z-[2147483647] max-h-[min(70vh,560px)] w-64 max-w-[calc(100vw-2rem)] overflow-y-auto overscroll-contain",
@@ -9294,19 +9297,19 @@ var ModelDisplay = _react2.default.forwardRef(
9294
9297
  loading = false,
9295
9298
  ...props
9296
9299
  }, ref) => {
9297
- const isLoading = _chunk6YZNUHXTcjs.useLoadingScope.call(void 0, ) || loading;
9300
+ const isLoading = _chunk7JWFMAQBcjs.useLoadingScope.call(void 0, ) || loading;
9298
9301
  const icon = getProviderIcon(provider);
9299
9302
  const name = displayName || modelName;
9300
- const isV2 = useChatAppearance() === _chunkIONS6HDFcjs.CHAT_APPEARANCE.V2;
9303
+ const isV2 = useChatAppearance() === _chunk3NGJ7NPTcjs.CHAT_APPEARANCE.V2;
9301
9304
  const formatCount = (count) => isV2 ? count.toLocaleString("en-US") : formatTokenCount(count);
9302
9305
  if (isLoading) {
9303
- return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { ref, "aria-hidden": true, className: _chunk6YZNUHXTcjs.cn.call(void 0, MODEL_DISPLAY_ROW_CLASS, className), ...props, children: [
9304
- icon && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: PROVIDER_ICON_BOX_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAT4C2YMAcjs.MediaSkeleton.Icon, { size: "sm" }) }),
9305
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAT4C2YMAcjs.TextLineSkeleton, { type: "h6", className: "w-24" }),
9306
- contextWindow != null && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAT4C2YMAcjs.TextLineSkeleton, { type: "h6", className: "ml-auto w-32" })
9306
+ 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: [
9307
+ icon && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: PROVIDER_ICON_BOX_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.MediaSkeleton.Icon, { size: "sm" }) }),
9308
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.TextLineSkeleton, { type: "h6", className: "w-24" }),
9309
+ contextWindow != null && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.TextLineSkeleton, { type: "h6", className: "ml-auto w-32" })
9307
9310
  ] });
9308
9311
  }
9309
- const inline = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { ref, className: _chunk6YZNUHXTcjs.cn.call(void 0, MODEL_DISPLAY_ROW_CLASS, "text-ods-text-secondary", className), ...props, children: [
9312
+ const inline = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { ref, className: _chunk7JWFMAQBcjs.cn.call(void 0, MODEL_DISPLAY_ROW_CLASS, "text-ods-text-secondary", className), ...props, children: [
9310
9313
  icon && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: PROVIDER_ICON_BOX_CLASS, children: icon }),
9311
9314
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "font-body", children: name }),
9312
9315
  contextWindow != null && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "ml-auto opacity-70 text-h6", children: [
@@ -9322,7 +9325,7 @@ var ModelDisplay = _react2.default.forwardRef(
9322
9325
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
9323
9326
  HoverCardContent,
9324
9327
  {
9325
- className: _chunk6YZNUHXTcjs.cn.call(void 0, "w-80 p-3", "border-ods-border bg-ods-card text-ods-text-primary"),
9328
+ className: _chunk7JWFMAQBcjs.cn.call(void 0, "w-80 p-3", "border-ods-border bg-ods-card text-ods-text-primary"),
9326
9329
  align: "end",
9327
9330
  sideOffset: 6,
9328
9331
  children: [
@@ -9370,7 +9373,7 @@ function BreakdownRow({
9370
9373
  isAnswer
9371
9374
  }) {
9372
9375
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-between py-1 text-h6", children: [
9373
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk6YZNUHXTcjs.cn.call(void 0, "text-ods-text-secondary", isAnswer && "font-medium text-ods-text-primary"), children: label }),
9376
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk7JWFMAQBcjs.cn.call(void 0, "text-ods-text-secondary", isAnswer && "font-medium text-ods-text-primary"), children: label }),
9374
9377
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "tabular-nums text-ods-text-secondary", children: [
9375
9378
  input != null ? formatTokenCount(input) : "\u2014",
9376
9379
  " in / ",
@@ -9425,7 +9428,7 @@ function ChatComposer({
9425
9428
  }, [entityTypes]);
9426
9429
  const resolveContextIcon = _react.useCallback.call(void 0, (item) => iconByType.get(item.type), [iconByType]);
9427
9430
  const inputNode = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
9428
- _chunkIONS6HDFcjs.ChatInput,
9431
+ _chunk3NGJ7NPTcjs.ChatInput,
9429
9432
  {
9430
9433
  ref: inputRef,
9431
9434
  onSend,
@@ -9505,7 +9508,7 @@ function ChatComposer({
9505
9508
  onRemove: onRemoveContextItem,
9506
9509
  resolveIcon: resolveContextIcon,
9507
9510
  disabled: sending || locked,
9508
- className: _chunk6YZNUHXTcjs.cn.call(void 0,
9511
+ className: _chunk7JWFMAQBcjs.cn.call(void 0,
9509
9512
  "border-b border-ods-border bg-ods-bg p-2",
9510
9513
  // Only the TOP strip rounds into the card corner.
9511
9514
  memory.length === 0 && "rounded-t-md"
@@ -9544,7 +9547,7 @@ function ChatArchivePage(props) {
9544
9547
  onLoadMore,
9545
9548
  pageSize
9546
9549
  } = props;
9547
- const firstLoad = _chunk6YZNUHXTcjs.useLoadingScope.call(void 0, ) || (isLoading || isFetching) && dialogs.length === 0;
9550
+ const firstLoad = _chunk7JWFMAQBcjs.useLoadingScope.call(void 0, ) || (isLoading || isFetching) && dialogs.length === 0;
9548
9551
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
9549
9552
  !props.embedded && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
9550
9553
  ChatPanelHeaderMobile,
@@ -9558,9 +9561,9 @@ function ChatArchivePage(props) {
9558
9561
  }
9559
9562
  ),
9560
9563
  !props.embedded && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "hidden h-14 w-full flex-shrink-0 divide-x divide-ods-border overflow-hidden border-b border-ods-border bg-ods-card md:flex", children: [
9561
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkK7I3YYYUcjs.Button, { variant: "cell", className: "w-14", onClick: props.onBack, "aria-label": "Back", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFC7N7BQXcjs.Chevron02LeftIcon, { size: 24 }) }),
9564
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAHBTZ7DNcjs.Button, { variant: "cell", className: "w-14", onClick: props.onBack, "aria-label": "Back", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFC7N7BQXcjs.Chevron02LeftIcon, { size: 24 }) }),
9562
9565
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex min-w-0 flex-1 items-center px-[var(--spacing-system-mf)] py-[var(--spacing-system-sf)]", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-primary text-h3", children: "Chat Archive" }) }),
9563
- props.onClose && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkK7I3YYYUcjs.Button, { variant: "cell", className: "w-14", onClick: props.onClose, "aria-label": "Close", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWWUSFOJ7cjs.XmarkIcon, { size: 24 }) })
9566
+ props.onClose && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAHBTZ7DNcjs.Button, { variant: "cell", className: "w-14", onClick: props.onClose, "aria-label": "Close", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWWUSFOJ7cjs.XmarkIcon, { size: 24 }) })
9564
9567
  ] }),
9565
9568
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex min-h-0 flex-1 flex-col p-[var(--spacing-system-m)]", children: firstLoad || dialogs.length > 0 ? (
9566
9569
  // The first load is the list's own loading state — the SAME grouped/
@@ -9595,16 +9598,16 @@ function ChatArchivePage(props) {
9595
9598
 
9596
9599
  // src/components/chat/utils/execute-navigation.ts
9597
9600
  function isForeignOriginHref(href) {
9598
- return /^https?:\/\//i.test(href) && !_chunkUN6LC5PKcjs.isSameOriginAbsoluteHref.call(void 0, href);
9601
+ return /^https?:\/\//i.test(href) && !_chunkYBTORXFYcjs.isSameOriginAbsoluteHref.call(void 0, href);
9599
9602
  }
9600
9603
  function runNavigation(runtime, href, path, targetPlatform, fallbackNavigate) {
9601
- const isNewTab = runtime ? _chunkUN6LC5PKcjs.computeIsNewTab.call(void 0, runtime, href, _nullishCoalesce(targetPlatform, () => ( null))) : false;
9604
+ const isNewTab = runtime ? _chunkYBTORXFYcjs.computeIsNewTab.call(void 0, runtime, href, _nullishCoalesce(targetPlatform, () => ( null))) : false;
9602
9605
  if (isNewTab) {
9603
9606
  if (_optionalChain([runtime, 'optionalAccess', _205 => _205.navigation, 'access', _206 => _206.openExternal])) runtime.navigation.openExternal(href);
9604
- else window.open(href, "_blank", _chunkJGURZROBcjs.NEW_TAB_FEATURES);
9607
+ else window.open(href, "_blank", _chunkFIKIPO4Fcjs.NEW_TAB_FEATURES);
9605
9608
  return;
9606
9609
  }
9607
- const target = isForeignOriginHref(href) ? href : _chunkJGURZROBcjs.stripSameOriginToPath.call(void 0, href);
9610
+ const target = isForeignOriginHref(href) ? href : _chunkFIKIPO4Fcjs.stripSameOriginToPath.call(void 0, href);
9608
9611
  if (target.includes("#") && _chunkOJZBZH56cjs.navigateSamePageHash.call(void 0, target, { headerOffset: _chunkOJZBZH56cjs.STICKY_HEADER_OFFSET_PX })) {
9609
9612
  return;
9610
9613
  }
@@ -9655,8 +9658,8 @@ function useNavLinkViaRuntime({
9655
9658
  const runtime = _chunkUJ7AXHRZcjs.useRequiredChatRuntime.call(void 0, );
9656
9659
  const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
9657
9660
  const panel = useChatPanel();
9658
- const resolvedHref = _chunkJGURZROBcjs.resolveHrefForRuntime.call(void 0, href, runtime);
9659
- const isNewTab = _chunkUN6LC5PKcjs.computeIsNewTab.call(void 0, runtime, resolvedHref, _nullishCoalesce(targetPlatform, () => ( null)));
9661
+ const resolvedHref = _chunkFIKIPO4Fcjs.resolveHrefForRuntime.call(void 0, href, runtime);
9662
+ const isNewTab = _chunkYBTORXFYcjs.computeIsNewTab.call(void 0, runtime, resolvedHref, _nullishCoalesce(targetPlatform, () => ( null)));
9660
9663
  const onClick = (e) => {
9661
9664
  _optionalChain([onClickProp, 'optionalCall', _210 => _210(e)]);
9662
9665
  if (e.defaultPrevented) return;
@@ -9670,7 +9673,7 @@ function useNavLinkViaRuntime({
9670
9673
  });
9671
9674
  if (handled && !isNewTab && _optionalChain([panel, 'optionalAccess', _211 => _211.closeChat])) panel.closeChat();
9672
9675
  };
9673
- const attrs = _chunkUN6LC5PKcjs.newTabAnchorAttrs.call(void 0, isNewTab);
9676
+ const attrs = _chunkYBTORXFYcjs.newTabAnchorAttrs.call(void 0, isNewTab);
9674
9677
  return {
9675
9678
  href: resolvedHref,
9676
9679
  ...attrs,
@@ -9733,7 +9736,7 @@ function SourceActionButton({
9733
9736
  const IconComponent = isDisplay ? _lucidereact.FileText : _lucidereact.MessageSquare;
9734
9737
  const icon = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, IconComponent, { className: styles.iconSize });
9735
9738
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
9736
- _chunkK7I3YYYUcjs.Button,
9739
+ _chunkAHBTZ7DNcjs.Button,
9737
9740
  {
9738
9741
  variant: "transparent",
9739
9742
  size: styles.size,
@@ -9815,8 +9818,8 @@ function UserDisplay({
9815
9818
  compact = false,
9816
9819
  className
9817
9820
  }) {
9818
- const avatarSrc = _chunkJGURZROBcjs.useProxiedImageUrl.call(void 0, avatarUrl);
9819
- if (_chunk6YZNUHXTcjs.useLoadingScope.call(void 0, )) {
9821
+ const avatarSrc = _chunkFIKIPO4Fcjs.useProxiedImageUrl.call(void 0, avatarUrl);
9822
+ if (_chunk7JWFMAQBcjs.useLoadingScope.call(void 0, )) {
9820
9823
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
9821
9824
  UserDisplaySkeleton,
9822
9825
  {
@@ -9828,10 +9831,10 @@ function UserDisplay({
9828
9831
  }
9829
9832
  );
9830
9833
  }
9831
- return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk6YZNUHXTcjs.cn.call(void 0, USER_ROW_CLASS, className), children: [
9832
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGP7NV6BKcjs.SquareAvatar, { src: avatarSrc || void 0, fallback: name, alt: name, sizePx: size, variant: shape }),
9834
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk7JWFMAQBcjs.cn.call(void 0, USER_ROW_CLASS, className), children: [
9835
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6UKH22NQcjs.SquareAvatar, { src: avatarSrc || void 0, fallback: name, alt: name, sizePx: size, variant: shape }),
9833
9836
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: USER_TEXT_CLASS, children: [
9834
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: _chunk6YZNUHXTcjs.cn.call(void 0, "truncate text-ods-text-primary", compact ? "text-h6" : "text-h4"), children: name }),
9837
+ /* @__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 }),
9835
9838
  subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "block truncate text-ods-text-secondary text-h6", children: subtitle })
9836
9839
  ] })
9837
9840
  ] });
@@ -9843,11 +9846,11 @@ function UserDisplaySkeleton({
9843
9846
  subtitle = false,
9844
9847
  className
9845
9848
  }) {
9846
- return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk6YZNUHXTcjs.cn.call(void 0, USER_ROW_CLASS, className), "aria-hidden": true, children: [
9847
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGP7NV6BKcjs.SquareAvatar, { loading: true, sizePx: size, variant: shape }),
9849
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk7JWFMAQBcjs.cn.call(void 0, USER_ROW_CLASS, className), "aria-hidden": true, children: [
9850
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6UKH22NQcjs.SquareAvatar, { loading: true, sizePx: size, variant: shape }),
9848
9851
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: USER_TEXT_CLASS, children: [
9849
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAT4C2YMAcjs.TextLineSkeleton, { type: compact ? "h6" : "h4", className: "w-28" }),
9850
- subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAT4C2YMAcjs.TextLineSkeleton, { type: "h6", className: "w-16" })
9852
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.TextLineSkeleton, { type: compact ? "h6" : "h4", className: "w-28" }),
9853
+ subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.TextLineSkeleton, { type: "h6", className: "w-16" })
9851
9854
  ] })
9852
9855
  ] });
9853
9856
  }
@@ -9872,19 +9875,19 @@ function CardHitLayer({
9872
9875
  ...a11y,
9873
9876
  onClick,
9874
9877
  onPointerDown,
9875
- className: _chunk6YZNUHXTcjs.cn.call(void 0, HIT_LAYER_BASE, className)
9878
+ className: _chunk7JWFMAQBcjs.cn.call(void 0, HIT_LAYER_BASE, className)
9876
9879
  }
9877
9880
  );
9878
9881
  }
9879
9882
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
9880
- _chunkK7I3YYYUcjs.Button,
9883
+ _chunkAHBTZ7DNcjs.Button,
9881
9884
  {
9882
9885
  variant: "card",
9883
9886
  type: "button",
9884
9887
  ...a11y,
9885
9888
  onClick,
9886
9889
  onPointerDown,
9887
- className: _chunk6YZNUHXTcjs.cn.call(void 0, "absolute inset-0 h-full", className)
9890
+ className: _chunk7JWFMAQBcjs.cn.call(void 0, "absolute inset-0 h-full", className)
9888
9891
  }
9889
9892
  );
9890
9893
  }
@@ -9990,7 +9993,7 @@ function CardsStrip(props) {
9990
9993
  className,
9991
9994
  skeleton
9992
9995
  } = props;
9993
- const inScope = _chunk6YZNUHXTcjs.useLoadingScope.call(void 0, );
9996
+ const inScope = _chunk7JWFMAQBcjs.useLoadingScope.call(void 0, );
9994
9997
  const childrenMode = props.renderCard === void 0;
9995
9998
  const childItems = _react.useMemo.call(void 0,
9996
9999
  () => childrenMode ? _react2.default.Children.toArray(props.children) : EMPTY_CHILDREN,
@@ -10283,10 +10286,10 @@ function CardsStrip(props) {
10283
10286
  }
10284
10287
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ManagedCell, { item, ctx, cardWidthMobile, cardWidthDesktop });
10285
10288
  };
10286
- const heading = showTitle && title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${_chunkJGURZROBcjs.SECTION_HEADING_CLASS} break-words`, children: _chunkJGURZROBcjs.accentSentenceMarks.call(void 0, title) });
10289
+ const heading = showTitle && title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${_chunkFIKIPO4Fcjs.SECTION_HEADING_CLASS} break-words`, children: _chunkFIKIPO4Fcjs.accentSentenceMarks.call(void 0, title) });
10287
10290
  if (items.length === 0) {
10288
10291
  if (!inScope || !skeleton) return null;
10289
- return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk6YZNUHXTcjs.cn.call(void 0, STRIP_ROOT_CLASS, className), children: [
10292
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk7JWFMAQBcjs.cn.call(void 0, STRIP_ROOT_CLASS, className), children: [
10290
10293
  heading,
10291
10294
  headerSlot,
10292
10295
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "overflow-hidden", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: STRIP_TRACK_CLASS, children: Array.from(
@@ -10313,7 +10316,7 @@ function CardsStrip(props) {
10313
10316
  wrapperRef.current = node;
10314
10317
  _optionalChain([rootRef, 'optionalCall', _233 => _233(node)]);
10315
10318
  },
10316
- className: _chunk6YZNUHXTcjs.cn.call(void 0, STRIP_ROOT_CLASS, className),
10319
+ className: _chunk7JWFMAQBcjs.cn.call(void 0, STRIP_ROOT_CLASS, className),
10317
10320
  children: [
10318
10321
  heading,
10319
10322
  headerSlot,
@@ -10366,7 +10369,7 @@ function CardsStrip(props) {
10366
10369
  ),
10367
10370
  showChevrons && overflows && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
10368
10371
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
10369
- _chunkK7I3YYYUcjs.Button,
10372
+ _chunkAHBTZ7DNcjs.Button,
10370
10373
  {
10371
10374
  type: "button",
10372
10375
  variant: "outline",
@@ -10379,7 +10382,7 @@ function CardsStrip(props) {
10379
10382
  }
10380
10383
  ),
10381
10384
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
10382
- _chunkK7I3YYYUcjs.Button,
10385
+ _chunkAHBTZ7DNcjs.Button,
10383
10386
  {
10384
10387
  type: "button",
10385
10388
  variant: "outline",
@@ -10473,7 +10476,7 @@ var VIDEO_BITES_SKELETON_COUNT = Math.ceil(
10473
10476
  );
10474
10477
  function VideoBitesStrip({
10475
10478
  bites,
10476
- title = _chunkUN6LC5PKcjs.DEFAULT_VIDEO_BITES_TITLE,
10479
+ title = _chunkYBTORXFYcjs.DEFAULT_VIDEO_BITES_TITLE,
10477
10480
  showTitle = true,
10478
10481
  filterPublished = true,
10479
10482
  profile = null,
@@ -10486,16 +10489,16 @@ function VideoBitesStrip({
10486
10489
  cardHeightMobile = VIDEO_BITES_CARD_HEIGHT_MOBILE_PX,
10487
10490
  showChevrons = true,
10488
10491
  onBiteNavigate,
10489
- sortComparator = _chunkUN6LC5PKcjs.sortBitesByCreatedAtDesc,
10492
+ sortComparator = _chunkYBTORXFYcjs.sortBitesByCreatedAtDesc,
10490
10493
  skeletonCount,
10491
10494
  className
10492
10495
  }) {
10493
- const inScope = _chunk6YZNUHXTcjs.useLoadingScope.call(void 0, );
10496
+ const inScope = _chunk7JWFMAQBcjs.useLoadingScope.call(void 0, );
10494
10497
  const items = _react.useMemo.call(void 0, () => {
10495
10498
  const filtered = filterPublished ? bites.filter((b) => b.published) : [...bites];
10496
10499
  return filtered.sort(sortComparator);
10497
10500
  }, [bites, filterPublished, sortComparator]);
10498
- const warmup = _chunkRKWEFZ6Pcjs.useVideoWarmup.call(void 0, { videoUrl: inScope ? null : _optionalChain([items, 'access', _234 => _234[0], 'optionalAccess', _235 => _235.url]) || null });
10501
+ const warmup = _chunkZD6SZLO2cjs.useVideoWarmup.call(void 0, { videoUrl: inScope ? null : _optionalChain([items, 'access', _234 => _234[0], 'optionalAccess', _235 => _235.url]) || null });
10499
10502
  if (inScope) {
10500
10503
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
10501
10504
  VideoBitesStripSkeleton,
@@ -10568,14 +10571,14 @@ function VideoBiteCardSkeleton({ aspect = "9:16", height, heightMobile, classNam
10568
10571
  "div",
10569
10572
  {
10570
10573
  "aria-hidden": true,
10571
- className: _chunk6YZNUHXTcjs.cn.call(void 0, BITE_CARD_FRAME_CLASS, height !== void 0 ? "shrink-0" : "w-full", className),
10574
+ className: _chunk7JWFMAQBcjs.cn.call(void 0, BITE_CARD_FRAME_CLASS, height !== void 0 ? "shrink-0" : "w-full", className),
10572
10575
  style: height !== void 0 ? { maxWidth: STRIP_CELL_MAX_WIDTH } : void 0,
10573
10576
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
10574
10577
  "div",
10575
10578
  {
10576
- className: _chunk6YZNUHXTcjs.cn.call(void 0, BITE_MEDIA_CLASS, height !== void 0 && BITE_MEDIA_FIXED_HEIGHT_CLASS),
10579
+ className: _chunk7JWFMAQBcjs.cn.call(void 0, BITE_MEDIA_CLASS, height !== void 0 && BITE_MEDIA_FIXED_HEIGHT_CLASS),
10577
10580
  style: biteMediaStyle(cssAspect, height, heightMobile),
10578
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAT4C2YMAcjs.UnifiedSkeleton, { className: "absolute inset-0 h-full rounded-none" })
10581
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.UnifiedSkeleton, { className: "absolute inset-0 h-full rounded-none" })
10579
10582
  }
10580
10583
  )
10581
10584
  }
@@ -10584,7 +10587,7 @@ function VideoBiteCardSkeleton({ aspect = "9:16", height, heightMobile, classNam
10584
10587
  function VideoBitesStripSkeleton({
10585
10588
  count = VIDEO_BITES_SKELETON_COUNT,
10586
10589
  aspect = "9:16",
10587
- title = _chunkUN6LC5PKcjs.DEFAULT_VIDEO_BITES_TITLE,
10590
+ title = _chunkYBTORXFYcjs.DEFAULT_VIDEO_BITES_TITLE,
10588
10591
  showTitle = true,
10589
10592
  headerSlot,
10590
10593
  cardHeightDesktop = VIDEO_BITES_CARD_HEIGHT_DESKTOP_PX,
@@ -10676,14 +10679,14 @@ function VideoBiteCard({
10676
10679
  ref: titleInputRef,
10677
10680
  onBlur: (e) => _optionalChain([onTitleCommit, 'optionalCall', _240 => _240(e.target.value)]),
10678
10681
  onClick: (e) => e.stopPropagation(),
10679
- className: _chunk6YZNUHXTcjs.cn.call(void 0,
10682
+ className: _chunk7JWFMAQBcjs.cn.call(void 0,
10680
10683
  titleClass,
10681
10684
  "max-h-10 w-full resize-none overflow-hidden bg-transparent outline-none",
10682
10685
  "border-b border-transparent placeholder:text-ods-text-secondary focus:border-ods-border"
10683
10686
  )
10684
10687
  }
10685
10688
  )
10686
- ) : bite.title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: _chunk6YZNUHXTcjs.cn.call(void 0, titleClass, "line-clamp-2"), children: bite.title }),
10689
+ ) : bite.title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: _chunk7JWFMAQBcjs.cn.call(void 0, titleClass, "line-clamp-2"), children: bite.title }),
10687
10690
  (profile || hasTarget) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-2", children: [
10688
10691
  profile && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
10689
10692
  UserDisplay,
@@ -10700,7 +10703,7 @@ function VideoBiteCard({
10700
10703
  hasTarget && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4TUSPDNScjs.Chevron02RightIcon, { className: "ml-auto h-5 w-5 shrink-0 text-ods-text-primary" })
10701
10704
  ] })
10702
10705
  ] });
10703
- const overlayClass = _chunk6YZNUHXTcjs.cn.call(void 0,
10706
+ const overlayClass = _chunk7JWFMAQBcjs.cn.call(void 0,
10704
10707
  "absolute inset-x-0 bottom-0 gap-2 border border-ods-border bg-black/75 p-3 shadow-2xl",
10705
10708
  "flex flex-col transition-opacity duration-200",
10706
10709
  isActive ? "opacity-100" : "opacity-0 group-focus-within/card:opacity-100 group-hover/card:opacity-100",
@@ -10708,15 +10711,15 @@ function VideoBiteCard({
10708
10711
  // resting card / player controls.
10709
10712
  isActive ? "pointer-events-auto" : "pointer-events-none"
10710
10713
  );
10711
- const hitLayerClass = _chunk6YZNUHXTcjs.cn.call(void 0, "z-[5]", isTouch && !isActive ? "pointer-events-none" : "pointer-events-auto");
10714
+ const hitLayerClass = _chunk7JWFMAQBcjs.cn.call(void 0, "z-[5]", isTouch && !isActive ? "pointer-events-none" : "pointer-events-auto");
10712
10715
  const media = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
10713
10716
  "div",
10714
10717
  {
10715
- className: _chunk6YZNUHXTcjs.cn.call(void 0, BITE_MEDIA_CLASS, height !== void 0 && BITE_MEDIA_FIXED_HEIGHT_CLASS),
10718
+ className: _chunk7JWFMAQBcjs.cn.call(void 0, BITE_MEDIA_CLASS, height !== void 0 && BITE_MEDIA_FIXED_HEIGHT_CLASS),
10716
10719
  style: biteMediaStyle(cssAspect, height, heightMobile),
10717
10720
  children: [
10718
10721
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
10719
- _chunkUN6LC5PKcjs.VideoHoverPreviewSurface,
10722
+ _chunkYBTORXFYcjs.VideoHoverPreviewSurface,
10720
10723
  {
10721
10724
  url: bite.url,
10722
10725
  posterUrl: bite.thumbnail_url,
@@ -10742,7 +10745,7 @@ function VideoBiteCard({
10742
10745
  decorative: isClone
10743
10746
  }
10744
10747
  ),
10745
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk6YZNUHXTcjs.cn.call(void 0, overlayClass, "pointer-events-none"), children: overlayContent })
10748
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk7JWFMAQBcjs.cn.call(void 0, overlayClass, "pointer-events-none"), children: overlayContent })
10746
10749
  ] })
10747
10750
  ) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: overlayClass, children: overlayContent })
10748
10751
  ]
@@ -10754,7 +10757,7 @@ function VideoBiteCard({
10754
10757
  ref: (node) => _optionalChain([rootRef, 'optionalCall', _241 => _241(node)]),
10755
10758
  "aria-hidden": isClone || void 0,
10756
10759
  "data-strip-card-key": key,
10757
- className: _chunk6YZNUHXTcjs.cn.call(void 0, "group/card", BITE_CARD_FRAME_CLASS, height !== void 0 ? "shrink-0" : "w-full", className),
10760
+ className: _chunk7JWFMAQBcjs.cn.call(void 0, "group/card", BITE_CARD_FRAME_CLASS, height !== void 0 ? "shrink-0" : "w-full", className),
10758
10761
  style: height !== void 0 ? { maxWidth: STRIP_CELL_MAX_WIDTH } : void 0,
10759
10762
  onPointerEnter: handlePointerEnter,
10760
10763
  onPointerLeave: handlePointerLeave,
@@ -10788,7 +10791,7 @@ function EntityVideoSection({
10788
10791
  title = "Video",
10789
10792
  videoSummary,
10790
10793
  videoBites,
10791
- bitesTitle = _chunkUN6LC5PKcjs.DEFAULT_VIDEO_BITES_TITLE,
10794
+ bitesTitle = _chunkYBTORXFYcjs.DEFAULT_VIDEO_BITES_TITLE,
10792
10795
  filterPublishedBites = true,
10793
10796
  bitesProfile = null,
10794
10797
  bitesHref,
@@ -10803,7 +10806,7 @@ function EntityVideoSection({
10803
10806
  skeletonTabs = false
10804
10807
  }) {
10805
10808
  const captions = useCaptions();
10806
- const loading = _chunk6YZNUHXTcjs.useLoadingScope.call(void 0, );
10809
+ const loading = _chunk7JWFMAQBcjs.useLoadingScope.call(void 0, );
10807
10810
  const hasFullVideo = !!(youtubeUrl || mainVideoUrl);
10808
10811
  const hasHighlight = !!highlightVideoUrl;
10809
10812
  const hasVideo = hasFullVideo || hasHighlight;
@@ -10823,7 +10826,7 @@ function EntityVideoSection({
10823
10826
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TabsTrigger, { value: "highlights", className: VIDEO_TAB_TRIGGER_CLASS, children: HIGHLIGHTS_TAB_LABEL })
10824
10827
  ] }),
10825
10828
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TabsContent, { value: "full-video", className: VIDEO_TAB_CONTENT_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
10826
- _chunkUN6LC5PKcjs.Video,
10829
+ _chunkYBTORXFYcjs.Video,
10827
10830
  {
10828
10831
  kind: fullVideoKind,
10829
10832
  url: fullVideoUrl,
@@ -10835,7 +10838,7 @@ function EntityVideoSection({
10835
10838
  }
10836
10839
  ) }),
10837
10840
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TabsContent, { value: "highlights", className: VIDEO_TAB_CONTENT_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
10838
- _chunkUN6LC5PKcjs.Video,
10841
+ _chunkYBTORXFYcjs.Video,
10839
10842
  {
10840
10843
  url: highlightVideoUrl,
10841
10844
  poster: highlightVideoThumbnail,
@@ -10844,7 +10847,7 @@ function EntityVideoSection({
10844
10847
  }
10845
10848
  ) })
10846
10849
  ] }) : fullVideoUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
10847
- _chunkUN6LC5PKcjs.Video,
10850
+ _chunkYBTORXFYcjs.Video,
10848
10851
  {
10849
10852
  kind: fullVideoKind,
10850
10853
  url: fullVideoUrl,
@@ -10855,7 +10858,7 @@ function EntityVideoSection({
10855
10858
  priority
10856
10859
  }
10857
10860
  ) : highlightVideoUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
10858
- _chunkUN6LC5PKcjs.Video,
10861
+ _chunkYBTORXFYcjs.Video,
10859
10862
  {
10860
10863
  url: highlightVideoUrl,
10861
10864
  poster: highlightVideoThumbnail,
@@ -10865,7 +10868,7 @@ function EntityVideoSection({
10865
10868
  }
10866
10869
  ) : null),
10867
10870
  videoSummary && MarkdownRenderer && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full min-w-0 flex-col gap-6", children: [
10868
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${_chunkJGURZROBcjs.SECTION_HEADING_CLASS} break-words`, children: "Summary" }),
10871
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${_chunkFIKIPO4Fcjs.SECTION_HEADING_CLASS} break-words`, children: "Summary" }),
10869
10872
  /* @__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 }) })
10870
10873
  ] }),
10871
10874
  videoBites && videoBites.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -10884,13 +10887,13 @@ function EntityVideoSection({
10884
10887
  ] });
10885
10888
  }
10886
10889
  function EntityVideoSectionSkeleton({ tabs = false, className }) {
10887
- if (!tabs) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUN6LC5PKcjs.Video, { loading: true, url: "", layout: "centered", className });
10888
- return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Tabs, { defaultValue: "full-video", className: _chunk6YZNUHXTcjs.cn.call(void 0, "w-full", className), "aria-hidden": true, inert: true, children: [
10890
+ if (!tabs) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYBTORXFYcjs.Video, { loading: true, url: "", layout: "centered", className });
10891
+ 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: [
10889
10892
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, TabsList, { className: VIDEO_TAB_LIST_CLASS, children: [
10890
10893
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TabsTrigger, { value: "full-video", className: VIDEO_TAB_TRIGGER_CLASS, children: FULL_VIDEO_TAB_LABEL }),
10891
10894
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TabsTrigger, { value: "highlights", className: VIDEO_TAB_TRIGGER_CLASS, children: HIGHLIGHTS_TAB_LABEL })
10892
10895
  ] }),
10893
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TabsContent, { value: "full-video", className: VIDEO_TAB_CONTENT_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUN6LC5PKcjs.Video, { loading: true, url: "", layout: "centered" }) })
10896
+ /* @__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" }) })
10894
10897
  ] });
10895
10898
  }
10896
10899
 
@@ -10937,38 +10940,38 @@ function designDocPeople(doc) {
10937
10940
  return people;
10938
10941
  }
10939
10942
  function designDocMetaLine(doc) {
10940
- return [_optionalChain([doc, 'access', _246 => _246.author, 'optionalAccess', _247 => _247.full_name]) ? `DRI ${doc.author.full_name}` : null, `updated ${_chunkJGURZROBcjs.formatDateShort.call(void 0, doc.updated_at)}`].filter(Boolean).join(" \xB7 ");
10943
+ return [_optionalChain([doc, 'access', _246 => _246.author, 'optionalAccess', _247 => _247.full_name]) ? `DRI ${doc.author.full_name}` : null, `updated ${_chunkFIKIPO4Fcjs.formatDateShort.call(void 0, doc.updated_at)}`].filter(Boolean).join(" \xB7 ");
10941
10944
  }
10942
10945
  var DESIGN_DOC_CARD_BODY = "flex h-full flex-col gap-[var(--spacing-system-mf)] p-[var(--spacing-system-lf)]";
10943
10946
  var DESIGN_DOC_CARD_HEADER = "flex w-full items-center gap-[16px]";
10944
10947
  var DESIGN_DOC_CARD_HEADING = "flex min-w-0 flex-1 flex-col";
10945
- var DESIGN_DOC_CARD_TITLE_ROW = `flex items-center text-h3 ${_chunkAT4C2YMAcjs.TEXT_LINES_MIN[2]}`;
10946
- var DESIGN_DOC_CARD_META_ROW = `flex items-center text-h5 ${_chunkAT4C2YMAcjs.TEXT_LINES_MIN[1]}`;
10947
- var DESIGN_DOC_CARD_SUMMARY_ROW = `flex items-center text-h4 ${_chunkAT4C2YMAcjs.TEXT_LINES_MIN[3]}`;
10948
+ var DESIGN_DOC_CARD_TITLE_ROW = `flex items-center text-h3 ${_chunk4WIJI4AKcjs.TEXT_LINES_MIN[2]}`;
10949
+ var DESIGN_DOC_CARD_META_ROW = `flex items-center text-h5 ${_chunk4WIJI4AKcjs.TEXT_LINES_MIN[1]}`;
10950
+ var DESIGN_DOC_CARD_SUMMARY_ROW = `flex items-center text-h4 ${_chunk4WIJI4AKcjs.TEXT_LINES_MIN[3]}`;
10948
10951
  var DESIGN_DOC_CARD_FOOTER = "flex w-full items-center justify-between gap-2";
10949
10952
  function DesignDocCardSkeleton({ className } = {}) {
10950
- return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk6YZNUHXTcjs.cn.call(void 0, _chunkUN6LC5PKcjs.CONTENT_CARD_SKELETON_FRAME_CLASS, DESIGN_DOC_CARD_BODY, className), "aria-hidden": true, children: [
10953
+ 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: [
10951
10954
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: DESIGN_DOC_CARD_HEADER, children: [
10952
10955
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: DESIGN_DOC_CARD_HEADING, children: [
10953
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: DESIGN_DOC_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAT4C2YMAcjs.TextLineSkeleton, { type: "h3", lines: 2, className: "w-3/4" }) }),
10954
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: DESIGN_DOC_CARD_META_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAT4C2YMAcjs.TextLineSkeleton, { type: "h5", className: "w-1/3" }) })
10956
+ /* @__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" }) }),
10957
+ /* @__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" }) })
10955
10958
  ] }),
10956
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUN6LC5PKcjs.StatusBadge, { loading: true, text: "", variant: "button", className: "hidden md:inline-flex" })
10959
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYBTORXFYcjs.StatusBadge, { loading: true, text: "", variant: "button", className: "hidden md:inline-flex" })
10957
10960
  ] }),
10958
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "md:hidden", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUN6LC5PKcjs.StatusBadge, { loading: true, text: "", variant: "button" }) }),
10959
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: DESIGN_DOC_CARD_SUMMARY_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAT4C2YMAcjs.TextLineSkeleton, { type: "h4", lines: 3, className: "w-full" }) }),
10961
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "md:hidden", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYBTORXFYcjs.StatusBadge, { loading: true, text: "", variant: "button" }) }),
10962
+ /* @__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" }) }),
10960
10963
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex-1" }),
10961
10964
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: DESIGN_DOC_CARD_FOOTER, children: [
10962
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAT4C2YMAcjs.TextLineSkeleton, { type: "h6", className: "w-1/3" }),
10963
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCFXCCQ6Tcjs.AvatarStack, { loading: true, people: [], max: 1, size: "xs", className: "shrink-0" })
10965
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.TextLineSkeleton, { type: "h6", className: "w-1/3" }),
10966
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVVLL37EMcjs.AvatarStack, { loading: true, people: [], max: 1, size: "xs", className: "shrink-0" })
10964
10967
  ] })
10965
10968
  ] });
10966
10969
  }
10967
10970
  function DesignDocCard({ doc, href, target, rel, className }) {
10968
10971
  const readiness = DESIGN_DOC_READINESS_DISPLAY[designDocReadiness(doc.completion)];
10969
10972
  const people = designDocPeople(doc);
10970
- const link = _chunkUN6LC5PKcjs.safeHref.call(void 0, _nullishCoalesce(href, () => ( null)));
10971
- if (_chunk6YZNUHXTcjs.useLoadingScope.call(void 0, )) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DesignDocCardSkeleton, { className });
10973
+ const link = _chunkYBTORXFYcjs.safeHref.call(void 0, _nullishCoalesce(href, () => ( null)));
10974
+ if (_chunk7JWFMAQBcjs.useLoadingScope.call(void 0, )) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DesignDocCardSkeleton, { className });
10972
10975
  const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
10973
10976
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: DESIGN_DOC_CARD_HEADER, children: [
10974
10977
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: DESIGN_DOC_CARD_HEADING, children: [
@@ -10976,7 +10979,7 @@ function DesignDocCard({ doc, href, target, rel, className }) {
10976
10979
  /* @__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) }) })
10977
10980
  ] }),
10978
10981
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
10979
- _chunkUN6LC5PKcjs.StatusBadge,
10982
+ _chunkYBTORXFYcjs.StatusBadge,
10980
10983
  {
10981
10984
  text: readiness.label,
10982
10985
  colorScheme: readiness.scheme,
@@ -10986,15 +10989,15 @@ function DesignDocCard({ doc, href, target, rel, className }) {
10986
10989
  }
10987
10990
  )
10988
10991
  ] }),
10989
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "md:hidden", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUN6LC5PKcjs.StatusBadge, { text: readiness.label, colorScheme: readiness.scheme, variant: "button", singleLine: true }) }),
10992
+ /* @__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 }) }),
10990
10993
  /* @__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 || "" }) }),
10991
10994
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex-1" }),
10992
10995
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: DESIGN_DOC_CARD_FOOTER, children: [
10993
10996
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-secondary text-h6", children: formatCompletionLabelWithBlockers(doc.completion) }),
10994
- people.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCFXCCQ6Tcjs.AvatarStack, { size: "xs", people, className: "shrink-0" }) : null
10997
+ people.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVVLL37EMcjs.AvatarStack, { size: "xs", people, className: "shrink-0" }) : null
10995
10998
  ] })
10996
10999
  ] });
10997
- const outer = _chunk6YZNUHXTcjs.cn.call(void 0, _chunkUN6LC5PKcjs.CONTENT_CARD_FRAME_CLASS, DESIGN_DOC_CARD_BODY, className);
11000
+ const outer = _chunk7JWFMAQBcjs.cn.call(void 0, _chunkYBTORXFYcjs.CONTENT_CARD_FRAME_CLASS, DESIGN_DOC_CARD_BODY, className);
10998
11001
  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 });
10999
11002
  }
11000
11003
 
@@ -11099,10 +11102,10 @@ function ReviewStateBadge({ state, className = "" }) {
11099
11102
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `inline-flex shrink-0 items-center rounded px-1.5 py-0.5 text-h5 ${paint} ${className}`, children: label });
11100
11103
  }
11101
11104
  function GitHubActivityCard({ item, variant = "compact", className, anchorProps }) {
11102
- if (_chunk6YZNUHXTcjs.useLoadingScope.call(void 0, )) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, GitHubActivityCardSkeleton, { variant, className });
11105
+ if (_chunk7JWFMAQBcjs.useLoadingScope.call(void 0, )) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, GitHubActivityCardSkeleton, { variant, className });
11103
11106
  const kind = _nullishCoalesce(item.kind, () => ( "commit"));
11104
11107
  const repo = _nullishCoalesce(_nullishCoalesce(item.repo, () => ( parseRepoFromUrl(item.url))), () => ( ""));
11105
- const dateText = _chunkGP7NV6BKcjs.formatDateUTC.call(void 0, item.dateUpdated, { fallback: "", timezone: "local" });
11108
+ const dateText = _chunk6UKH22NQcjs.formatDateUTC.call(void 0, item.dateUpdated, { fallback: "", timezone: "local" });
11106
11109
  const idLabel = formatActivityId(item.id, kind);
11107
11110
  const { display: title, reviewState } = parseGithubTitle(item.title, kind);
11108
11111
  const primaryText = kind === "pr_review" ? title.replace(/^by\s+/i, "").trim() || "Reviewer" : title;
@@ -11136,26 +11139,26 @@ function GitHubActivityCard({ item, variant = "compact", className, anchorProps
11136
11139
  metaParts.push(
11137
11140
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap", children: dateText }, "date")
11138
11141
  );
11139
- const href = _chunkUN6LC5PKcjs.safeHref.call(void 0, item.url);
11142
+ const href = _chunkYBTORXFYcjs.safeHref.call(void 0, item.url);
11140
11143
  const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
11141
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkUN6LC5PKcjs.COMPACT_CARD_ICON_SLOT, children: kindIcon(kind, "h-5 w-5") }),
11142
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkUN6LC5PKcjs.COMPACT_CARD_TEXT_COL, children: [
11143
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunkUN6LC5PKcjs.COMPACT_CARD_TITLE_ROW} flex-nowrap gap-1.5`, children: [
11144
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkYBTORXFYcjs.COMPACT_CARD_ICON_SLOT, children: kindIcon(kind, "h-5 w-5") }),
11145
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkYBTORXFYcjs.COMPACT_CARD_TEXT_COL, children: [
11146
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunkYBTORXFYcjs.COMPACT_CARD_TITLE_ROW} flex-nowrap gap-1.5`, children: [
11144
11147
  reviewState ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ReviewStateBadge, { state: reviewState }) : null,
11145
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkUN6LC5PKcjs.COMPACT_CARD_TITLE, children: primaryText })
11148
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkYBTORXFYcjs.COMPACT_CARD_TITLE, children: primaryText })
11146
11149
  ] }),
11147
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkUN6LC5PKcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkUN6LC5PKcjs.COMPACT_CARD_META_ROW, children: metaParts.map((part, i) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react2.default.Fragment, { children: [
11150
+ /* @__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: [
11148
11151
  i > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0 text-ods-text-secondary/40", children: "\xB7" }) : null,
11149
11152
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 truncate", children: part })
11150
11153
  ] }, i)) }) }),
11151
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkUN6LC5PKcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkUN6LC5PKcjs.COMPACT_CARD_SUMMARY, children: _chunkUN6LC5PKcjs.COMPACT_CARD_ROW_FILLER }) })
11154
+ /* @__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 }) })
11152
11155
  ] }),
11153
11156
  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
11154
11157
  ] });
11155
11158
  if (anchorProps) {
11156
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { ...anchorProps, className: `${_chunkUN6LC5PKcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body });
11159
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { ...anchorProps, className: `${_chunkYBTORXFYcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body });
11157
11160
  }
11158
- return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { href, target: "_blank", rel: "noopener noreferrer", className: `${_chunkUN6LC5PKcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkUN6LC5PKcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
11161
+ 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 });
11159
11162
  }
11160
11163
  function GitHubActivityCardSkeleton({
11161
11164
  variant = "compact",
@@ -11163,18 +11166,18 @@ function GitHubActivityCardSkeleton({
11163
11166
  }) {
11164
11167
  if (variant === "row") {
11165
11168
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
11166
- _chunkUN6LC5PKcjs.ActivityRowSkeleton,
11169
+ _chunkYBTORXFYcjs.ActivityRowSkeleton,
11167
11170
  {
11168
11171
  lead: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-28 shrink-0 items-center gap-2", children: [
11169
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAT4C2YMAcjs.UnifiedSkeleton, { className: "h-3.5 w-3.5 rounded" }),
11170
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAT4C2YMAcjs.UnifiedSkeleton, { className: "h-3 w-16 rounded" })
11172
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.UnifiedSkeleton, { className: "h-3.5 w-3.5 rounded" }),
11173
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.UnifiedSkeleton, { className: "h-3 w-16 rounded" })
11171
11174
  ] }),
11172
11175
  trailingWidths: ["w-40", "w-20"],
11173
11176
  className
11174
11177
  }
11175
11178
  );
11176
11179
  }
11177
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUN6LC5PKcjs.CompactCardSkeleton, { titleWidth: "w-2/3", rows: [{ width: "w-1/2" }, {}], trailingIcon: true, className });
11180
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYBTORXFYcjs.CompactCardSkeleton, { titleWidth: "w-2/3", rows: [{ width: "w-1/2" }, {}], trailingIcon: true, className });
11178
11181
  }
11179
11182
 
11180
11183
  // src/utils/url-fix.ts
@@ -11250,10 +11253,10 @@ function VendorIconSkeleton({
11250
11253
  ...props
11251
11254
  }) {
11252
11255
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
11253
- _chunkAT4C2YMAcjs.UnifiedSkeleton,
11256
+ _chunk4WIJI4AKcjs.UnifiedSkeleton,
11254
11257
  {
11255
- className: _chunk6YZNUHXTcjs.cn.call(void 0, sizeClasses[size], "flex-shrink-0 rounded-lg", className),
11256
- ..._chunk6YZNUHXTcjs.loadingItemProps.call(void 0, props)
11258
+ className: _chunk7JWFMAQBcjs.cn.call(void 0, sizeClasses[size], "flex-shrink-0 rounded-lg", className),
11259
+ ..._chunk7JWFMAQBcjs.loadingItemProps.call(void 0, props)
11257
11260
  }
11258
11261
  );
11259
11262
  }
@@ -11266,32 +11269,32 @@ function VendorIcon({
11266
11269
  loading: loadingProp,
11267
11270
  ...props
11268
11271
  }) {
11269
- const loading = _chunk6YZNUHXTcjs.useLoadingScope.call(void 0, ) || !!loadingProp;
11272
+ const loading = _chunk7JWFMAQBcjs.useLoadingScope.call(void 0, ) || !!loadingProp;
11270
11273
  const logoUrl = getVendorLogo(vendor);
11271
- const logoSrc = _chunkJGURZROBcjs.useProxiedImageUrl.call(void 0, logoUrl, { directHttps: false });
11274
+ const logoSrc = _chunkFIKIPO4Fcjs.useProxiedImageUrl.call(void 0, logoUrl, { directHttps: false });
11272
11275
  const { width, height } = showBackground ? imageSizeMap[size] : { width: tilePxMap[size], height: tilePxMap[size] };
11273
- const containerClasses = _chunk6YZNUHXTcjs.cn.call(void 0,
11276
+ const containerClasses = _chunk7JWFMAQBcjs.cn.call(void 0,
11274
11277
  sizeClasses[size],
11275
11278
  "flex flex-shrink-0 items-center justify-center rounded-lg",
11276
11279
  showBackground && backgroundClasses[backgroundStyle],
11277
11280
  !showBackground && "overflow-hidden",
11278
11281
  className
11279
11282
  );
11280
- const markers = _chunk6YZNUHXTcjs.loadingItemProps.call(void 0, props);
11283
+ const markers = _chunk7JWFMAQBcjs.loadingItemProps.call(void 0, props);
11281
11284
  if (loading) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, VendorIconSkeleton, { size, className, ...markers });
11282
11285
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: containerClasses, ...markers, children: logoUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
11283
- _chunkDRWPSN3Acjs.next_image_default,
11286
+ _chunkKUXHXLJQcjs.next_image_default,
11284
11287
  {
11285
11288
  src: logoSrc,
11286
11289
  alt: `${vendor.title} logo`,
11287
11290
  width,
11288
11291
  height,
11289
- className: _chunk6YZNUHXTcjs.cn.call(void 0, "object-contain", showBackground ? "p-1" : "h-full w-full")
11292
+ className: _chunk7JWFMAQBcjs.cn.call(void 0, "object-contain", showBackground ? "p-1" : "h-full w-full")
11290
11293
  }
11291
11294
  ) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
11292
11295
  "div",
11293
11296
  {
11294
- className: _chunk6YZNUHXTcjs.cn.call(void 0,
11297
+ className: _chunk7JWFMAQBcjs.cn.call(void 0,
11295
11298
  "flex items-center justify-center uppercase text-h6",
11296
11299
  backgroundStyle === "white" ? "text-[#333333]" : "text-ods-text-secondary"
11297
11300
  ),
@@ -11312,8 +11315,8 @@ function useChatCardItem(type, id) {
11312
11315
  const res = await _chunk5GJM7VRRcjs.embedAuthedFetch.call(void 0, url);
11313
11316
  if (!res.ok) throw new Error(`chat card fetch failed: ${res.status}`);
11314
11317
  const data = await res.json();
11315
- const items = _chunkJGURZROBcjs.extractCardItems.call(void 0, type, data);
11316
- const match = items.find((it) => _chunkJGURZROBcjs.extractItemId.call(void 0, type, it) === id);
11318
+ const items = _chunkFIKIPO4Fcjs.extractCardItems.call(void 0, type, data);
11319
+ const match = items.find((it) => _chunkFIKIPO4Fcjs.extractItemId.call(void 0, type, it) === id);
11317
11320
  return _nullishCoalesce(match, () => ( null));
11318
11321
  },
11319
11322
  enabled: !!url && id.length > 0,
@@ -11355,9 +11358,9 @@ var TRAILING_CELL_LAYOUT = "w-[56px] md:w-[68px]";
11355
11358
  function CardMedia({ imageSrc, imageAlt, icon }) {
11356
11359
  if (imageSrc) {
11357
11360
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "relative block size-10 shrink-0", children: [
11358
- /* @__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: _chunkGP7NV6BKcjs.personInitials.call(void 0, imageAlt) || "?" }),
11361
+ /* @__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) || "?" }),
11359
11362
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
11360
- _chunkDRWPSN3Acjs.next_image_default,
11363
+ _chunkKUXHXLJQcjs.next_image_default,
11361
11364
  {
11362
11365
  src: imageSrc,
11363
11366
  alt: imageAlt || "",
@@ -11382,17 +11385,17 @@ function MingoInfoCardSkeleton({ className }) {
11382
11385
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
11383
11386
  "span",
11384
11387
  {
11385
- className: _chunk6YZNUHXTcjs.cn.call(void 0,
11388
+ className: _chunk7JWFMAQBcjs.cn.call(void 0,
11386
11389
  "flex w-full items-center gap-[var(--spacing-system-s)] overflow-hidden rounded-md border border-ods-border bg-ods-card p-[var(--spacing-system-s)]",
11387
11390
  className
11388
11391
  ),
11389
11392
  children: [
11390
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAT4C2YMAcjs.UnifiedSkeleton, { as: "span", className: "block size-10 shrink-0 rounded-md border border-ods-border" }),
11393
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.UnifiedSkeleton, { as: "span", className: "block size-10 shrink-0 rounded-md border border-ods-border" }),
11391
11394
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 flex-1 flex-col justify-center gap-1.5", children: [
11392
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAT4C2YMAcjs.UnifiedSkeleton, { as: "span", className: "block h-4 w-1/2 rounded" }),
11393
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAT4C2YMAcjs.UnifiedSkeleton, { as: "span", className: "block h-3 w-3/4 rounded" })
11395
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.UnifiedSkeleton, { as: "span", className: "block h-4 w-1/2 rounded" }),
11396
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.UnifiedSkeleton, { as: "span", className: "block h-3 w-3/4 rounded" })
11394
11397
  ] }),
11395
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAT4C2YMAcjs.UnifiedSkeleton, { as: "span", className: "block h-5 w-16 shrink-0 rounded" })
11398
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.UnifiedSkeleton, { as: "span", className: "block h-5 w-16 shrink-0 rounded" })
11396
11399
  ]
11397
11400
  }
11398
11401
  );
@@ -11411,7 +11414,7 @@ function MingoInfoCard({
11411
11414
  loading: loadingProp = false,
11412
11415
  className
11413
11416
  }) {
11414
- const loading = _chunk6YZNUHXTcjs.useLoadingScope.call(void 0, ) || loadingProp;
11417
+ const loading = _chunk7JWFMAQBcjs.useLoadingScope.call(void 0, ) || loadingProp;
11415
11418
  const hasMedia = !!imageSrc || !!icon;
11416
11419
  const action = _react.useContext.call(void 0, MingoInfoCardActionContext);
11417
11420
  if (loading) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MingoInfoCardSkeleton, { className });
@@ -11427,24 +11430,24 @@ function MingoInfoCard({
11427
11430
  status ? (
11428
11431
  // Reuse the shared Tag palette (single source of truth for colours)
11429
11432
  // without rendering Tag's `<div>` — span-only for `<p>` validity.
11430
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk6YZNUHXTcjs.cn.call(void 0, _chunkGP7NV6BKcjs.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 }) })
11433
+ /* @__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 }) })
11431
11434
  ) : null
11432
11435
  ] });
11433
- const contentClass = _chunk6YZNUHXTcjs.cn.call(void 0,
11436
+ const contentClass = _chunk7JWFMAQBcjs.cn.call(void 0,
11434
11437
  "flex min-w-0 flex-1 items-center gap-[var(--spacing-system-s)] overflow-hidden p-[var(--spacing-system-s)] text-left",
11435
11438
  isInteractive && "cursor-pointer transition-colors hover:bg-ods-bg-hover focus:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-ods-accent active:bg-ods-bg-active"
11436
11439
  );
11437
11440
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
11438
11441
  "span",
11439
11442
  {
11440
- className: _chunk6YZNUHXTcjs.cn.call(void 0,
11443
+ className: _chunk7JWFMAQBcjs.cn.call(void 0,
11441
11444
  "flex w-full items-center divide-x divide-ods-border overflow-hidden rounded-md border border-ods-border bg-ods-card",
11442
11445
  className
11443
11446
  ),
11444
11447
  children: [
11445
- isAnchor ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { ...anchorProps, className: _chunk6YZNUHXTcjs.cn.call(void 0, contentClass, "no-underline"), children: content }) : onClick ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkK7I3YYYUcjs.Button, { variant: "row", type: "button", onClick, className: "min-w-0 flex-1 self-stretch", children: content }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: contentClass, children: content }),
11448
+ isAnchor ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { ...anchorProps, className: _chunk7JWFMAQBcjs.cn.call(void 0, contentClass, "no-underline"), children: content }) : onClick ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAHBTZ7DNcjs.Button, { variant: "row", type: "button", onClick, className: "min-w-0 flex-1 self-stretch", children: content }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: contentClass, children: content }),
11446
11449
  action && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
11447
- _chunkK7I3YYYUcjs.Button,
11450
+ _chunkAHBTZ7DNcjs.Button,
11448
11451
  {
11449
11452
  variant: "cell",
11450
11453
  type: "button",
@@ -11455,12 +11458,12 @@ function MingoInfoCard({
11455
11458
  }
11456
11459
  ),
11457
11460
  hasMenu && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
11458
- _chunkQVKWKY4Ocjs.ActionsMenuDropdown,
11461
+ _chunkJTIGKLKJcjs.ActionsMenuDropdown,
11459
11462
  {
11460
11463
  groups: menuGroups,
11461
11464
  triggerAriaLabel: menuAriaLabel,
11462
11465
  onCloseAutoFocus: (e) => e.preventDefault(),
11463
- customTrigger: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkK7I3YYYUcjs.Button, { variant: "cell", type: "button", "aria-label": menuAriaLabel, className: TRAILING_CELL_LAYOUT, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSWHUL32Wcjs.Ellipsis01Icon, { size: 24 }) })
11466
+ customTrigger: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAHBTZ7DNcjs.Button, { variant: "cell", type: "button", "aria-label": menuAriaLabel, className: TRAILING_CELL_LAYOUT, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSWHUL32Wcjs.Ellipsis01Icon, { size: 24 }) })
11464
11467
  }
11465
11468
  )
11466
11469
  ]
@@ -11519,7 +11522,7 @@ function resolveFetchedCardHref({
11519
11522
  composeContentUrl
11520
11523
  }) {
11521
11524
  if (!composeContentUrl || !contentRefType || !id) return null;
11522
- const canonicalType = _chunkJGURZROBcjs.canonicalContentRefType.call(void 0, contentRefType);
11525
+ const canonicalType = _chunkFIKIPO4Fcjs.canonicalContentRefType.call(void 0, contentRefType);
11523
11526
  return composeContentUrl({
11524
11527
  // The card registry keys some entries by the legacy rail vocabulary
11525
11528
  // (`blog_post_existing`) because that is what `buildListUrl` expects.
@@ -11549,7 +11552,7 @@ function sourceRowCtxFromRuntime(runtime, surface = {}) {
11549
11552
  }
11550
11553
  function pickSourceIcon(sourceRepo, documentType) {
11551
11554
  const iconName = sourceRepo ? getSourceIconName(sourceRepo) : void 0;
11552
- const icon = iconName ? _chunk75PJ2SAZcjs.resolveIcon.call(void 0, iconName, { variant: "brand" }) : _lucidereact.FileText;
11555
+ const icon = iconName ? _chunk5RGGUQ4Ycjs.resolveIcon.call(void 0, iconName, { variant: "brand" }) : _lucidereact.FileText;
11553
11556
  const iconLabel = _nullishCoalesce(documentType, () => ( "Source"));
11554
11557
  return { icon, iconLabel };
11555
11558
  }
@@ -11569,16 +11572,16 @@ function resolveSourceRowCTA(row, ctx = {}) {
11569
11572
  if (docTarget) {
11570
11573
  const seg = docTarget.basePath.split("/").filter(Boolean).join("/");
11571
11574
  const base = `${getPlatformUrl(docTarget.platform)}${seg ? `/${seg}` : ""}/`;
11572
- href = _nullishCoalesce(_chunkUN6LC5PKcjs.safeHref.call(void 0, new URL(safePath, base).toString()), () => ( null));
11575
+ href = _nullishCoalesce(_chunkYBTORXFYcjs.safeHref.call(void 0, new URL(safePath, base).toString()), () => ( null));
11573
11576
  targetPlatform = docTarget.platform;
11574
11577
  } else if (ctx.chipBasePlatform) {
11575
11578
  const base = `${getPlatformUrl(ctx.chipBasePlatform)}/knowledge-base/`;
11576
- href = _nullishCoalesce(_chunkUN6LC5PKcjs.safeHref.call(void 0, new URL(safePath, base).toString()), () => ( null));
11579
+ href = _nullishCoalesce(_chunkYBTORXFYcjs.safeHref.call(void 0, new URL(safePath, base).toString()), () => ( null));
11577
11580
  targetPlatform = ctx.chipBasePlatform;
11578
11581
  } else if (ctx.baseRoute) {
11579
11582
  const synthetic = `https://_internal_.local${ctx.baseRoute.startsWith("/") ? ctx.baseRoute : "/" + ctx.baseRoute}/`;
11580
11583
  const absolute = new URL(safePath, synthetic).toString();
11581
- href = _nullishCoalesce(_chunkUN6LC5PKcjs.safeHref.call(void 0, absolute.replace("https://_internal_.local", "")), () => ( null));
11584
+ href = _nullishCoalesce(_chunkYBTORXFYcjs.safeHref.call(void 0, absolute.replace("https://_internal_.local", "")), () => ( null));
11582
11585
  targetPlatform = _nullishCoalesce(ctx.currentPlatform, () => ( null));
11583
11586
  }
11584
11587
  }
@@ -11587,15 +11590,15 @@ function resolveSourceRowCTA(row, ctx = {}) {
11587
11590
  // Canonical vocabulary only — a rail-vocab alias would miss the host's
11588
11591
  // `hostedTypes` / `overrides` and fall through to the seam's default
11589
11592
  // `<origin>/<type>/<id>` branch. Same canonicalizer `buildListUrl` uses.
11590
- type: _chunkJGURZROBcjs.canonicalContentRefType.call(void 0, row.documentType),
11593
+ type: _chunkFIKIPO4Fcjs.canonicalContentRefType.call(void 0, row.documentType),
11591
11594
  identifier: idValue,
11592
11595
  externalUrl: row.externalUrl,
11593
11596
  targetPlatform: _nullishCoalesce(row.targetPlatform, () => ( null))
11594
11597
  });
11595
- href = composed.href ? _nullishCoalesce(_chunkUN6LC5PKcjs.safeHref.call(void 0, composed.href), () => ( null)) : null;
11598
+ href = composed.href ? _nullishCoalesce(_chunkYBTORXFYcjs.safeHref.call(void 0, composed.href), () => ( null)) : null;
11596
11599
  targetPlatform = composed.targetPlatform;
11597
11600
  } else if (row.externalUrl) {
11598
- href = _nullishCoalesce(_chunkUN6LC5PKcjs.safeHref.call(void 0, row.externalUrl), () => ( null));
11601
+ href = _nullishCoalesce(_chunkYBTORXFYcjs.safeHref.call(void 0, row.externalUrl), () => ( null));
11599
11602
  targetPlatform = _nullishCoalesce(row.targetPlatform, () => ( null));
11600
11603
  }
11601
11604
  const documentType = row.documentType;
@@ -11662,7 +11665,7 @@ function resolveCardDestination({
11662
11665
  itemHref: _nullishCoalesce(_optionalChain([entry, 'access', _261 => _261.fallbackHref, 'optionalCall', _262 => _262(item)]), () => ( null)),
11663
11666
  allowComposed: !entry.noComposedHref
11664
11667
  });
11665
- const url = choice ? _nullishCoalesce(_chunkUN6LC5PKcjs.safeHref.call(void 0, choice.href), () => ( null)) : null;
11668
+ const url = choice ? _nullishCoalesce(_chunkYBTORXFYcjs.safeHref.call(void 0, choice.href), () => ( null)) : null;
11666
11669
  if (choice && url) {
11667
11670
  return { url, targetPlatform: _nullishCoalesce(choice.targetPlatform, () => ( rowPlatform)), path, source: choice.source };
11668
11671
  }
@@ -11675,11 +11678,11 @@ function resolveCardDestination({
11675
11678
 
11676
11679
  function DeletedDataCard({ title, entityLabel, recoveryNote, className }) {
11677
11680
  const label = entityLabel || "Item";
11678
- return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `${_chunkUN6LC5PKcjs.COMPACT_CARD_OUTER_STATIC} opacity-70 ${_nullishCoalesce(className, () => ( ""))}`, children: [
11679
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkUN6LC5PKcjs.COMPACT_CARD_ICON_SLOT, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Trash2, { className: "h-4 w-4 text-ods-text-secondary" }) }),
11680
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkUN6LC5PKcjs.COMPACT_CARD_TEXT_COL, children: [
11681
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkUN6LC5PKcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkUN6LC5PKcjs.COMPACT_CARD_TITLE} text-ods-text-secondary line-through`, children: title || `Deleted ${label.toLowerCase()}` }) }),
11682
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkUN6LC5PKcjs.COMPACT_CARD_META_ROW, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "text-ods-text-secondary", children: [
11681
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `${_chunkYBTORXFYcjs.COMPACT_CARD_OUTER_STATIC} opacity-70 ${_nullishCoalesce(className, () => ( ""))}`, children: [
11682
+ /* @__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" }) }),
11683
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkYBTORXFYcjs.COMPACT_CARD_TEXT_COL, children: [
11684
+ /* @__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()}` }) }),
11685
+ /* @__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: [
11683
11686
  label,
11684
11687
  " deleted",
11685
11688
  recoveryNote ? ` \xB7 ${recoveryNote}` : ""
@@ -11725,7 +11728,7 @@ function GitHubChatCard({
11725
11728
  const title = kind === "pr_review" ? display.replace(/^by\s+/i, "").trim() || "Reviewer" : display;
11726
11729
  const status = kind === "pr_review" && reviewState ? { label: reviewStateLabel(reviewState), variant: reviewStateToVariant(reviewState) } : { label: kindLabel(kind), variant: "grey" };
11727
11730
  const idLabel = formatActivityId(chatRef.id, kind);
11728
- const dateText = _chunkGP7NV6BKcjs.formatDateUTC.call(void 0, _nullishCoalesce(chatRef.date, () => ( null)), { fallback: "", timezone: "local" });
11731
+ const dateText = _chunk6UKH22NQcjs.formatDateUTC.call(void 0, _nullishCoalesce(chatRef.date, () => ( null)), { fallback: "", timezone: "local" });
11729
11732
  const description = [idLabel, dateText].filter(Boolean).join(" \xB7 ") || void 0;
11730
11733
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
11731
11734
  MingoInfoCard,
@@ -11734,7 +11737,7 @@ function GitHubChatCard({
11734
11737
  description,
11735
11738
  icon: githubKindIcon(kind),
11736
11739
  status,
11737
- anchorProps: _chunkUN6LC5PKcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
11740
+ anchorProps: _chunkYBTORXFYcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
11738
11741
  menuGroups: cardMenuGroups(chatRef.url, discuss),
11739
11742
  menuAriaLabel: "Activity actions"
11740
11743
  }
@@ -11881,7 +11884,7 @@ function HubspotTicketChatCard({
11881
11884
  description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
11882
11885
  icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOSS23NHHcjs.TagIcon, { size: 24 }),
11883
11886
  status: statusText ? { label: statusText, variant: hubspotStatusToVariant(status) } : void 0,
11884
- anchorProps: _chunkUN6LC5PKcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
11887
+ anchorProps: _chunkYBTORXFYcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
11885
11888
  menuGroups: cardMenuGroups(chatRef.url, discuss, {
11886
11889
  label: "Open Ticket Details",
11887
11890
  icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOSS23NHHcjs.TagIcon, { size: 20 })
@@ -11904,7 +11907,7 @@ function FaqChatCard({
11904
11907
  description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
11905
11908
  icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFO6DOP6Mcjs.QuestionCircleIcon, { size: 24 }),
11906
11909
  status: { label: statusLabel, variant: "grey" },
11907
- anchorProps: _chunkUN6LC5PKcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
11910
+ anchorProps: _chunkYBTORXFYcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
11908
11911
  menuGroups: cardMenuGroups(chatRef.url, discuss),
11909
11912
  menuAriaLabel: "FAQ actions"
11910
11913
  }
@@ -11924,7 +11927,7 @@ function SlackChatCard({
11924
11927
  title,
11925
11928
  description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
11926
11929
  icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZUHFVG4Fcjs.SlackLogoGreyIcon, { size: 24 }),
11927
- anchorProps: _chunkUN6LC5PKcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
11930
+ anchorProps: _chunkYBTORXFYcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
11928
11931
  menuGroups: cardMenuGroups(chatRef.url, discuss),
11929
11932
  menuAriaLabel: "Message actions"
11930
11933
  }
@@ -11942,7 +11945,7 @@ function GlyphChatCard({
11942
11945
  title: chatRef.title,
11943
11946
  description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
11944
11947
  icon,
11945
- anchorProps: _chunkUN6LC5PKcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
11948
+ anchorProps: _chunkYBTORXFYcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
11946
11949
  menuGroups: cardMenuGroups(chatRef.url, discuss),
11947
11950
  menuAriaLabel: "Card actions"
11948
11951
  }
@@ -11960,20 +11963,20 @@ function TrustCenterChatCard({
11960
11963
  }) {
11961
11964
  const raw2 = _optionalChain([item, 'optionalAccess', _286 => _286.frameworks]);
11962
11965
  const frameworks = Array.isArray(raw2) ? raw2 : [];
11963
- const summary = _chunkJGURZROBcjs.trustFrameworksSummary.call(void 0, frameworks);
11966
+ const summary = _chunkFIKIPO4Fcjs.trustFrameworksSummary.call(void 0, frameworks);
11964
11967
  const leadFramework = frameworks[0];
11965
11968
  const lead = leadFramework ? {
11966
- label: _chunkJGURZROBcjs.trustFrameworkBadge.call(void 0, leadFramework),
11967
- color: _chunkJGURZROBcjs.trustFrameworkMonitoringEntry.call(void 0, leadFramework.monitoring).color
11969
+ label: _chunkFIKIPO4Fcjs.trustFrameworkBadge.call(void 0, leadFramework),
11970
+ color: _chunkFIKIPO4Fcjs.trustFrameworkMonitoringEntry.call(void 0, leadFramework.monitoring).color
11968
11971
  } : void 0;
11969
11972
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
11970
11973
  MingoInfoCard,
11971
11974
  {
11972
- title: _chunkJGURZROBcjs.TRUST_CENTER_TITLE,
11973
- description: summary || _chunkJGURZROBcjs.TRUST_CENTER_TAGLINE,
11975
+ title: _chunkFIKIPO4Fcjs.TRUST_CENTER_TITLE,
11976
+ description: summary || _chunkFIKIPO4Fcjs.TRUST_CENTER_TAGLINE,
11974
11977
  icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOBGYDNT6cjs.ShieldCheckIcon, { size: 24 }),
11975
11978
  status: lead ? { label: lead.label, variant: TRUST_STATUS_TAG_VARIANT[lead.color] } : void 0,
11976
- anchorProps: _chunkUN6LC5PKcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
11979
+ anchorProps: _chunkYBTORXFYcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
11977
11980
  menuGroups: cardMenuGroups(chatRef.url, discuss, {
11978
11981
  label: "View trust center",
11979
11982
  icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOBGYDNT6cjs.ShieldCheckIcon, { size: 20 })
@@ -11995,7 +11998,7 @@ function DataRoomDocChatCard({
11995
11998
  description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
11996
11999
  icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU4USZF42cjs.FileContentIcon, { size: 24 }),
11997
12000
  status: { label: badgeText, variant: "grey" },
11998
- anchorProps: _chunkUN6LC5PKcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
12001
+ anchorProps: _chunkYBTORXFYcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
11999
12002
  menuGroups: cardMenuGroups(chatRef.url, discuss),
12000
12003
  menuAriaLabel: "Document actions"
12001
12004
  }
@@ -12014,7 +12017,7 @@ function GenericFinancialChatCard({
12014
12017
  title: chatRef.title,
12015
12018
  description: subtitle,
12016
12019
  icon,
12017
- anchorProps: _chunkUN6LC5PKcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
12020
+ anchorProps: _chunkYBTORXFYcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
12018
12021
  menuGroups: cardMenuGroups(chatRef.url, discuss),
12019
12022
  menuAriaLabel: "Document actions"
12020
12023
  }
@@ -12100,7 +12103,7 @@ function CampaignChatCard({
12100
12103
  }) {
12101
12104
  const goalsCount = Array.isArray(_optionalChain([item, 'optionalAccess', _292 => _292.goals])) ? item.goals.length : 0;
12102
12105
  const meta = [
12103
- _optionalChain([item, 'optionalAccess', _293 => _293.start_date]) ? _chunkJGURZROBcjs.formatDateShort.call(void 0, item.start_date) : null,
12106
+ _optionalChain([item, 'optionalAccess', _293 => _293.start_date]) ? _chunkFIKIPO4Fcjs.formatDateShort.call(void 0, item.start_date) : null,
12104
12107
  goalsCount > 0 ? `${goalsCount} goal${goalsCount !== 1 ? "s" : ""}` : null,
12105
12108
  "Marketing campaign"
12106
12109
  ].filter(Boolean).join(" \xB7 ");
@@ -12139,7 +12142,7 @@ function EntityMingoCard({
12139
12142
  imageAlt: typeof title === "string" ? title : void 0,
12140
12143
  icon: fallbackIcon,
12141
12144
  status,
12142
- anchorProps: _chunkUN6LC5PKcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
12145
+ anchorProps: _chunkYBTORXFYcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
12143
12146
  menuGroups: cardMenuGroups(chatRef.url, discuss, openDetails, externalLink),
12144
12147
  menuAriaLabel
12145
12148
  }
@@ -12151,7 +12154,7 @@ function entityCover(image, ogPlaceholder) {
12151
12154
  function statusPill(status) {
12152
12155
  const s = typeof status === "string" ? status.trim() : "";
12153
12156
  if (!s) return void 0;
12154
- const scheme = _chunkJGURZROBcjs.getStatusColorScheme.call(void 0, s);
12157
+ const scheme = _chunkFIKIPO4Fcjs.getStatusColorScheme.call(void 0, s);
12155
12158
  const variant = scheme === "success" || scheme === "error" || scheme === "warning" ? scheme : "grey";
12156
12159
  return { label: s, variant };
12157
12160
  }
@@ -12242,7 +12245,7 @@ function DesignDocChatCard({
12242
12245
  description: doc ? [designDocMetaLine(doc), formatCompletionLabel(doc.completion)].join(" \xB7 ") : _nullishCoalesce(displayRef.preview, () => ( void 0)),
12243
12246
  icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU4USZF42cjs.FileContentIcon, { size: 24 }),
12244
12247
  status: readiness ? { label: readiness.label, variant: readiness.scheme === "success" ? "success" : "grey" } : { label: "Design doc", variant: "grey" },
12245
- anchorProps: _chunkUN6LC5PKcjs.buildAnchorProps.call(void 0, displayRef.url, isNewTab),
12248
+ anchorProps: _chunkYBTORXFYcjs.buildAnchorProps.call(void 0, displayRef.url, isNewTab),
12246
12249
  menuGroups: cardMenuGroups(displayRef.url, discuss),
12247
12250
  menuAriaLabel: "Design doc actions"
12248
12251
  }
@@ -12260,7 +12263,7 @@ function InvestorUpdateChatCard({
12260
12263
  EntityMingoCard,
12261
12264
  {
12262
12265
  title,
12263
- description: _optionalChain([item, 'optionalAccess', _323 => _323.strategic_update]) || _optionalChain([item, 'optionalAccess', _324 => _324.content]) || _chunkJGURZROBcjs.formatInvestorUpdatePeriod.call(void 0, _nullishCoalesce(_optionalChain([item, 'optionalAccess', _325 => _325.period_start]), () => ( null)), _nullishCoalesce(_optionalChain([item, 'optionalAccess', _326 => _326.period_end]), () => ( null))) || void 0,
12266
+ description: _optionalChain([item, 'optionalAccess', _323 => _323.strategic_update]) || _optionalChain([item, 'optionalAccess', _324 => _324.content]) || _chunkFIKIPO4Fcjs.formatInvestorUpdatePeriod.call(void 0, _nullishCoalesce(_optionalChain([item, 'optionalAccess', _325 => _325.period_start]), () => ( null)), _nullishCoalesce(_optionalChain([item, 'optionalAccess', _326 => _326.period_end]), () => ( null))) || void 0,
12264
12267
  cover: entityCover(_optionalChain([item, 'optionalAccess', _327 => _327.featured_image]), ogPlaceholder),
12265
12268
  fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk37SGOMF5cjs.PresentationLineIcon, { size: 24 }),
12266
12269
  status: { label: "Investor update", variant: "grey" },
@@ -12304,7 +12307,7 @@ function ProgramChatCard({
12304
12307
  discuss
12305
12308
  }) {
12306
12309
  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 });
12307
- const { line: meta } = _chunkJGURZROBcjs.programMetaLine.call(void 0, _nullishCoalesce(item, () => ( {})), configKey, _chunkJGURZROBcjs.programMetaFormatters.call(void 0, _chunkJGURZROBcjs.PROGRAM_META_RENDERERS));
12310
+ const { line: meta } = _chunkFIKIPO4Fcjs.programMetaLine.call(void 0, _nullishCoalesce(item, () => ( {})), configKey, _chunkFIKIPO4Fcjs.programMetaFormatters.call(void 0, _chunkFIKIPO4Fcjs.PROGRAM_META_RENDERERS));
12308
12311
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
12309
12312
  EntityMingoCard,
12310
12313
  {
@@ -12330,10 +12333,10 @@ function RoadmapChatCard({
12330
12333
  const logoUrl = typeof _optionalChain([item, 'optionalAccess', _337 => _337.icon]) === "string" && item.icon.startsWith("http") ? item.icon : void 0;
12331
12334
  const useTypeIcon = cardType === "internal_task" || !logoUrl && _optionalChain([item, 'optionalAccess', _338 => _338.customItemId]) != null;
12332
12335
  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 });
12333
- const icon = useTypeIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJGURZROBcjs.TaskTypeIcon, { customItemId: _optionalChain([item, 'optionalAccess', _339 => _339.customItemId]), className: "size-6" }) : logoUrl ? (
12336
+ const icon = useTypeIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFIKIPO4Fcjs.TaskTypeIcon, { customItemId: _optionalChain([item, 'optionalAccess', _339 => _339.customItemId]), className: "size-6" }) : logoUrl ? (
12334
12337
  // Contained (not full-bleed) so the integration logo keeps its aspect
12335
12338
  // ratio inside the bordered icon box — matches RoadmapCard.
12336
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDRWPSN3Acjs.next_image_default, { src: logoUrl, alt: "", className: "size-6 object-contain", width: 24, height: 24, unoptimized: true })
12339
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKUXHXLJQcjs.next_image_default, { src: logoUrl, alt: "", className: "size-6 object-contain", width: 24, height: 24, unoptimized: true })
12337
12340
  ) : defaultIcon;
12338
12341
  const clickupHref = clickupTaskUrl(chatRef.id);
12339
12342
  const clickupIcon = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk27TMRMOMcjs.ClickupLogoIcon, { size: 20 });
@@ -12396,11 +12399,11 @@ function refText(ref, key) {
12396
12399
  return typeof value === "string" && value.length > 0 ? value : null;
12397
12400
  }
12398
12401
  function VendorGlyph({ title, logoUrl }) {
12399
- if (!logoUrl) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUN6LC5PKcjs.EntityIcon, { icon: { name: SOURCE_ICON_NAMES.vendors }, size: 24 });
12402
+ if (!logoUrl) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYBTORXFYcjs.EntityIcon, { icon: { name: SOURCE_ICON_NAMES.vendors }, size: 24 });
12400
12403
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, VendorIcon, { vendor: { title, logo_url: logoUrl }, size: "xs", showBackground: false });
12401
12404
  }
12402
12405
  function SitePageGlyph({ iconName }) {
12403
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUN6LC5PKcjs.EntityIcon, { icon: { name: _nullishCoalesce(iconName, () => ( SOURCE_ICON_NAMES["website-pages"])) }, size: 24 });
12406
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYBTORXFYcjs.EntityIcon, { icon: { name: _nullishCoalesce(iconName, () => ( SOURCE_ICON_NAMES["website-pages"])) }, size: 24 });
12404
12407
  }
12405
12408
  var GITHUB_CARD_CONFIGS = {
12406
12409
  github_commit: { label: "GitHub commit", kind: "commit" },
@@ -12517,7 +12520,7 @@ function programRegistryEntries() {
12517
12520
  label: cfg.label,
12518
12521
  contentRefType: cfg.contentRefType,
12519
12522
  bareInline: true,
12520
- skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJGURZROBcjs.ProgramCard, { loading: true, size: "sm" }),
12523
+ skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFIKIPO4Fcjs.ProgramCard, { loading: true, size: "sm" }),
12521
12524
  render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
12522
12525
  ProgramChatCard,
12523
12526
  {
@@ -12558,7 +12561,7 @@ function roadmapRegistryEntries() {
12558
12561
  bareInline: true,
12559
12562
  ...cfg.noComposedHref ? { noComposedHref: true } : {},
12560
12563
  ...cfg.fallbackHref ? { fallbackHref: cfg.fallbackHref } : {},
12561
- skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJGURZROBcjs.RoadmapCard, { loading: true, size: "sm" }),
12564
+ skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFIKIPO4Fcjs.RoadmapCard, { loading: true, size: "sm" }),
12562
12565
  render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
12563
12566
  RoadmapChatCard,
12564
12567
  {
@@ -12616,12 +12619,12 @@ var CHAT_CARD_REGISTRY = {
12616
12619
  // projection route; `extractCardItems` turns its object payload into the
12617
12620
  // single matched row. Destination is the public page unless the host
12618
12621
  // re-homes the type (`composeContentUrl` override).
12619
- [_chunkJGURZROBcjs.TRUST_CENTER_DOCUMENT_TYPE]: {
12622
+ [_chunkFIKIPO4Fcjs.TRUST_CENTER_DOCUMENT_TYPE]: {
12620
12623
  label: "Trust center",
12621
12624
  bareInline: true,
12622
- contentRefType: _chunkJGURZROBcjs.TRUST_CENTER_DOCUMENT_TYPE,
12625
+ contentRefType: _chunkFIKIPO4Fcjs.TRUST_CENTER_DOCUMENT_TYPE,
12623
12626
  noComposedHref: true,
12624
- fallbackHref: () => _chunkJGURZROBcjs.TRUST_CENTER_PAGE_PATH,
12627
+ fallbackHref: () => _chunkFIKIPO4Fcjs.TRUST_CENTER_PAGE_PATH,
12625
12628
  skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MingoInfoCard, { loading: true, title: "" }),
12626
12629
  render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TrustCenterChatCard, { item, chatRef, isNewTab: opts.isNewTab, discuss: opts.discuss })
12627
12630
  },
@@ -12647,7 +12650,7 @@ var CHAT_CARD_REGISTRY = {
12647
12650
  label: "Blog post",
12648
12651
  contentRefType: "blog_post_existing",
12649
12652
  bareInline: true,
12650
- skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJGURZROBcjs.BlogCard, { loading: true, size: "sm" }),
12653
+ skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFIKIPO4Fcjs.BlogCard, { loading: true, size: "sm" }),
12651
12654
  render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
12652
12655
  BlogChatCard,
12653
12656
  {
@@ -12664,7 +12667,7 @@ var CHAT_CARD_REGISTRY = {
12664
12667
  label: "Case study",
12665
12668
  contentRefType: "case_study",
12666
12669
  bareInline: true,
12667
- skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUN6LC5PKcjs.CaseStudyCard, { loading: true, size: "sm" }),
12670
+ skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYBTORXFYcjs.CaseStudyCard, { loading: true, size: "sm" }),
12668
12671
  render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
12669
12672
  CaseStudyChatCard,
12670
12673
  {
@@ -12689,7 +12692,7 @@ var CHAT_CARD_REGISTRY = {
12689
12692
  label: "Customer interview",
12690
12693
  contentRefType: "customer_interview",
12691
12694
  bareInline: true,
12692
- skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJGURZROBcjs.CustomerInterviewCard, { loading: true, size: "sm" }),
12695
+ skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFIKIPO4Fcjs.CustomerInterviewCard, { loading: true, size: "sm" }),
12693
12696
  render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
12694
12697
  CustomerInterviewChatCard,
12695
12698
  {
@@ -12705,9 +12708,9 @@ var CHAT_CARD_REGISTRY = {
12705
12708
  label: "Product release",
12706
12709
  contentRefType: "product_release",
12707
12710
  bareInline: true,
12708
- skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJGURZROBcjs.ProductReleaseCard, { loading: true, size: "sm" }),
12711
+ skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFIKIPO4Fcjs.ProductReleaseCard, { loading: true, size: "sm" }),
12709
12712
  render: (item, chatRef, opts) => {
12710
- const builder = _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _380 => _380.extras, 'optionalAccess', _381 => _381.buildProductReleaseCardProps]), () => ( _chunkJGURZROBcjs.defaultBuildProductReleaseCardProps));
12713
+ const builder = _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _380 => _380.extras, 'optionalAccess', _381 => _381.buildProductReleaseCardProps]), () => ( _chunkFIKIPO4Fcjs.defaultBuildProductReleaseCardProps));
12711
12714
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
12712
12715
  ProductReleaseChatCard,
12713
12716
  {
@@ -12725,7 +12728,7 @@ var CHAT_CARD_REGISTRY = {
12725
12728
  label: "Investor update",
12726
12729
  contentRefType: "investor_update",
12727
12730
  bareInline: true,
12728
- skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJGURZROBcjs.InvestorUpdateCard, { loading: true, size: "sm" }),
12731
+ skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFIKIPO4Fcjs.InvestorUpdateCard, { loading: true, size: "sm" }),
12729
12732
  render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
12730
12733
  InvestorUpdateChatCard,
12731
12734
  {
@@ -12743,7 +12746,7 @@ var CHAT_CARD_REGISTRY = {
12743
12746
  bareInline: true,
12744
12747
  // "Display" affordance (verbatim guide body) instead of "Ask".
12745
12748
  displayAction: true,
12746
- skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJGURZROBcjs.OnboardingGuideCard, { loading: true, size: "sm" }),
12749
+ skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFIKIPO4Fcjs.OnboardingGuideCard, { loading: true, size: "sm" }),
12747
12750
  render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
12748
12751
  OnboardingGuideChatCard,
12749
12752
  {
@@ -12816,7 +12819,7 @@ function ChatCardLoader({
12816
12819
  entry: fetchEntry,
12817
12820
  ctx: sourceRowCtxFromRuntime(runtime, { baseRoute, chipBasePlatform }),
12818
12821
  composeContentUrl: runtime.composeContentUrl,
12819
- resolveHref: (href) => _chunkJGURZROBcjs.resolveHrefForRuntime.call(void 0, href, runtime)
12822
+ resolveHref: (href) => _chunkFIKIPO4Fcjs.resolveHrefForRuntime.call(void 0, href, runtime)
12820
12823
  });
12821
12824
  const hrefResolvedChatRef = {
12822
12825
  ...chatRef,
@@ -12827,12 +12830,12 @@ function ChatCardLoader({
12827
12830
  };
12828
12831
  const fetchedTitle = fetchEntry && item ? readFetchedCardTitle(item) : null;
12829
12832
  const finalChatRef = fetchedTitle && (!hrefResolvedChatRef.title || hrefResolvedChatRef.title === hrefResolvedChatRef.id) ? { ...hrefResolvedChatRef, title: fetchedTitle } : hrefResolvedChatRef;
12830
- const isNewTab = _chunkUN6LC5PKcjs.computeIsNewTab.call(void 0, runtime, finalChatRef.url, _nullishCoalesce(finalChatRef.targetPlatform, () => ( null)));
12833
+ const isNewTab = _chunkYBTORXFYcjs.computeIsNewTab.call(void 0, runtime, finalChatRef.url, _nullishCoalesce(finalChatRef.targetPlatform, () => ( null)));
12831
12834
  const useDisplay = !!entry.displayAction && !!onDisplay;
12832
12835
  const discussFn = useDisplay ? onDisplay : onDiscuss;
12833
12836
  const discuss = discussFn ? {
12834
12837
  label: useDisplay ? "Display" : "Ask Mingo",
12835
- icon: useDisplay ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU4USZF42cjs.FileContentIcon, { size: 20 }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTUD7BV6Ocjs.AgentMark, { agent: "mingo", className: "size-5" }),
12838
+ icon: useDisplay ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU4USZF42cjs.FileContentIcon, { size: 20 }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7MV23NNTcjs.AgentMark, { agent: "mingo", className: "size-5" }),
12836
12839
  run: () => discussFn(finalChatRef)
12837
12840
  } : void 0;
12838
12841
  const renderOpts = {
@@ -12941,12 +12944,12 @@ function makeBatchDedupKey(item) {
12941
12944
  return `${item.messageType}:${seq}:${type}:${text2}:${integratedToolType}:${toolFunction}:${approvalRequestId}`;
12942
12945
  }
12943
12946
  function getChatTypeMessageType(chatType) {
12944
- return chatType === _chunkIONS6HDFcjs.CHAT_TYPE.ADMIN ? "admin-message" : "message";
12947
+ return chatType === _chunk3NGJ7NPTcjs.CHAT_TYPE.ADMIN ? "admin-message" : "message";
12945
12948
  }
12946
12949
  function useChunkCatchup({
12947
12950
  dialogId,
12948
12951
  onChunkReceived,
12949
- chatTypes = [_chunkIONS6HDFcjs.CHAT_TYPE.CLIENT],
12952
+ chatTypes = [_chunk3NGJ7NPTcjs.CHAT_TYPE.CLIENT],
12950
12953
  fetchChunks
12951
12954
  }) {
12952
12955
  const processedSequenceKeys = _react.useRef.call(void 0, /* @__PURE__ */ new Set());
@@ -13907,7 +13910,7 @@ function useChatAttachmentImageGallery() {
13907
13910
  return () => root.removeEventListener("click", onClick);
13908
13911
  }, [viewUrlPrefix]);
13909
13912
  const modal = state.isOpen ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
13910
- _chunkJGURZROBcjs.ImageGalleryModal,
13913
+ _chunkFIKIPO4Fcjs.ImageGalleryModal,
13911
13914
  {
13912
13915
  images: state.images,
13913
13916
  isOpen: state.isOpen,
@@ -15069,7 +15072,7 @@ function nullableText(value) {
15069
15072
  }
15070
15073
  function httpsUrl(value) {
15071
15074
  const candidate = text(value);
15072
- if (!candidate || _chunkUN6LC5PKcjs.UNSAFE_URL_CHARS.test(candidate)) return void 0;
15075
+ if (!candidate || _chunkYBTORXFYcjs.UNSAFE_URL_CHARS.test(candidate)) return void 0;
15073
15076
  try {
15074
15077
  return new URL(candidate).protocol === "https:" ? candidate : void 0;
15075
15078
  } catch (e17) {
@@ -15653,7 +15656,7 @@ function createChatStreamReducer(options = {}) {
15653
15656
  const status = approvalStatuses[requestId] || "pending";
15654
15657
  if (!displayInline(approvalType)) {
15655
15658
  const required = _nullishCoalesce(toolCalls.find((c) => c.requiresApproval), () => ( toolCalls[0]));
15656
- const summary = required ? _chunkTUD7BV6Ocjs.getCommandText.call(void 0, required) : `Batch of ${toolCalls.length} tool calls`;
15659
+ const summary = required ? _chunk7MV23NNTcjs.getCommandText.call(void 0, required) : `Batch of ${toolCalls.length} tool calls`;
15657
15660
  pendingEscalated.set(requestId, {
15658
15661
  command: summary,
15659
15662
  explanation: _optionalChain([required, 'optionalAccess', _536 => _536.toolExplanation]),
@@ -15686,7 +15689,7 @@ function createChatStreamReducer(options = {}) {
15686
15689
  if (!call.requiresApproval) continue;
15687
15690
  segments = accumulator.addApprovalRequest(
15688
15691
  requestId,
15689
- _chunkTUD7BV6Ocjs.getCommandText.call(void 0, call),
15692
+ _chunk7MV23NNTcjs.getCommandText.call(void 0, call),
15690
15693
  call.toolExplanation,
15691
15694
  approvalType,
15692
15695
  status,
@@ -15765,7 +15768,7 @@ function createChatStreamReducer(options = {}) {
15765
15768
  if (!call.requiresApproval) continue;
15766
15769
  segments = accumulator.addApprovalRequest(
15767
15770
  requestId,
15768
- _chunkTUD7BV6Ocjs.getCommandText.call(void 0, call),
15771
+ _chunk7MV23NNTcjs.getCommandText.call(void 0, call),
15769
15772
  call.toolExplanation,
15770
15773
  escalatedData.approvalType,
15771
15774
  status
@@ -18063,12 +18066,12 @@ function decodeNatsChunk(chunk) {
18063
18066
 
18064
18067
  // src/components/chat/utils/process-historical-messages.ts
18065
18068
  function getOwnerDisplayName(owner) {
18066
- if (_optionalChain([owner, 'optionalAccess', _614 => _614.type]) === _chunkIONS6HDFcjs.OWNER_TYPE.ADMIN && owner.user) {
18069
+ if (_optionalChain([owner, 'optionalAccess', _614 => _614.type]) === _chunk3NGJ7NPTcjs.OWNER_TYPE.ADMIN && owner.user) {
18067
18070
  const { firstName, lastName } = owner.user;
18068
18071
  const name = [firstName, lastName].filter(Boolean).join(" ");
18069
18072
  if (name) return name;
18070
18073
  }
18071
- return _optionalChain([owner, 'optionalAccess', _615 => _615.type]) === _chunkIONS6HDFcjs.OWNER_TYPE.ADMIN ? "Admin" : "You";
18074
+ return _optionalChain([owner, 'optionalAccess', _615 => _615.type]) === _chunk3NGJ7NPTcjs.OWNER_TYPE.ADMIN ? "Admin" : "You";
18072
18075
  }
18073
18076
  function getOwnerAvatar(owner) {
18074
18077
  return _nullishCoalesce(_optionalChain([owner, 'optionalAccess', _616 => _616.user, 'optionalAccess', _617 => _617.image, 'optionalAccess', _618 => _618.imageUrl]), () => ( void 0));
@@ -18331,7 +18334,7 @@ function applyHistoryEvent(event, accumulator, approvalStatuses, options, escala
18331
18334
  if (!call.requiresApproval) continue;
18332
18335
  accumulator.addApprovalRequest(
18333
18336
  event.requestId,
18334
- _chunkTUD7BV6Ocjs.getCommandText.call(void 0, call),
18337
+ _chunk7MV23NNTcjs.getCommandText.call(void 0, call),
18335
18338
  call.toolExplanation,
18336
18339
  approvalType,
18337
18340
  status,
@@ -18392,7 +18395,7 @@ function applyHistoryEvent(event, accumulator, approvalStatuses, options, escala
18392
18395
  if (!call.requiresApproval) continue;
18393
18396
  accumulator.addApprovalRequest(
18394
18397
  requestId,
18395
- _chunkTUD7BV6Ocjs.getCommandText.call(void 0, call),
18398
+ _chunk7MV23NNTcjs.getCommandText.call(void 0, call),
18396
18399
  call.toolExplanation,
18397
18400
  escalatedData.approvalType,
18398
18401
  status
@@ -18500,10 +18503,10 @@ function processHistoricalMessages(messages, options = {}) {
18500
18503
  pushStandaloneMessages(processedMessages, msg, messageDataArray);
18501
18504
  return;
18502
18505
  }
18503
- const isUserMessage = _optionalChain([msg, 'access', _631 => _631.owner, 'optionalAccess', _632 => _632.type]) === _chunkIONS6HDFcjs.OWNER_TYPE.CLIENT || _optionalChain([msg, 'access', _633 => _633.owner, 'optionalAccess', _634 => _634.type]) === _chunkIONS6HDFcjs.OWNER_TYPE.ADMIN;
18506
+ 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;
18504
18507
  if (isUserMessage) {
18505
18508
  flushAssistantMessage();
18506
- const userAuthorType = _optionalChain([msg, 'access', _635 => _635.owner, 'optionalAccess', _636 => _636.type]) === _chunkIONS6HDFcjs.OWNER_TYPE.ADMIN ? "admin" : "user";
18509
+ const userAuthorType = _optionalChain([msg, 'access', _635 => _635.owner, 'optionalAccess', _636 => _636.type]) === _chunk3NGJ7NPTcjs.OWNER_TYPE.ADMIN ? "admin" : "user";
18507
18510
  messageDataArray.forEach((data) => {
18508
18511
  if (data.type === MESSAGE_TYPE.TEXT && "text" in data && data.text) {
18509
18512
  const rawContext = data.contextItems;
@@ -18554,7 +18557,7 @@ function processHistoricalMessages(messages, options = {}) {
18554
18557
  });
18555
18558
  const nextMsg = messages[index + 1];
18556
18559
  const isLastMessage = index === messages.length - 1;
18557
- const nextIsFromUser = nextMsg && (_optionalChain([nextMsg, 'access', _639 => _639.owner, 'optionalAccess', _640 => _640.type]) === _chunkIONS6HDFcjs.OWNER_TYPE.CLIENT || _optionalChain([nextMsg, 'access', _641 => _641.owner, 'optionalAccess', _642 => _642.type]) === _chunkIONS6HDFcjs.OWNER_TYPE.ADMIN);
18560
+ 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);
18558
18561
  if (isLastMessage || nextIsFromUser) {
18559
18562
  flushAssistantMessage();
18560
18563
  }