@flamingo-stack/openframe-frontend-core 0.0.416 → 0.0.417

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 (105) hide show
  1. package/dist/{chunk-CQG77HCB.cjs → chunk-2IJX5XDG.cjs} +11 -11
  2. package/dist/{chunk-CQG77HCB.cjs.map → chunk-2IJX5XDG.cjs.map} +1 -1
  3. package/dist/{chunk-D4NSPERU.cjs → chunk-3R7XBEUB.cjs} +26 -26
  4. package/dist/{chunk-D4NSPERU.cjs.map → chunk-3R7XBEUB.cjs.map} +1 -1
  5. package/dist/{chunk-234A5WF2.cjs → chunk-42KMUJFK.cjs} +26 -26
  6. package/dist/{chunk-234A5WF2.cjs.map → chunk-42KMUJFK.cjs.map} +1 -1
  7. package/dist/{chunk-S3PO5NOK.cjs → chunk-53LGRFM2.cjs} +443 -369
  8. package/dist/chunk-53LGRFM2.cjs.map +1 -0
  9. package/dist/{chunk-SFZ2BJST.js → chunk-6OZPER3T.js} +2 -2
  10. package/dist/{chunk-N6T7CDEN.js → chunk-BIRJP6QA.js} +1470 -1396
  11. package/dist/chunk-BIRJP6QA.js.map +1 -0
  12. package/dist/{chunk-VBJC75FT.js → chunk-E3AB36EG.js} +4 -4
  13. package/dist/{chunk-BIFZRCGN.cjs → chunk-F3U6OH3K.cjs} +31 -31
  14. package/dist/{chunk-BIFZRCGN.cjs.map → chunk-F3U6OH3K.cjs.map} +1 -1
  15. package/dist/{chunk-QMGXJEZ3.cjs → chunk-F4HV6IBG.cjs} +62 -62
  16. package/dist/{chunk-QMGXJEZ3.cjs.map → chunk-F4HV6IBG.cjs.map} +1 -1
  17. package/dist/{chunk-IVWQIWZI.cjs → chunk-GGTNMXGZ.cjs} +5 -5
  18. package/dist/{chunk-IVWQIWZI.cjs.map → chunk-GGTNMXGZ.cjs.map} +1 -1
  19. package/dist/{chunk-RQLQOH46.cjs → chunk-H3HZMHN3.cjs} +37 -37
  20. package/dist/{chunk-RQLQOH46.cjs.map → chunk-H3HZMHN3.cjs.map} +1 -1
  21. package/dist/{chunk-QO2JZYIB.js → chunk-IEAQBLZI.js} +4 -4
  22. package/dist/{chunk-DQMH6NAF.cjs → chunk-KGYUVJJ5.cjs} +15 -15
  23. package/dist/{chunk-DQMH6NAF.cjs.map → chunk-KGYUVJJ5.cjs.map} +1 -1
  24. package/dist/{chunk-3RW27WRK.js → chunk-MHUT2NR4.js} +2 -2
  25. package/dist/{chunk-CRPIHDEI.cjs → chunk-MOOMQTZ5.cjs} +9 -9
  26. package/dist/{chunk-CRPIHDEI.cjs.map → chunk-MOOMQTZ5.cjs.map} +1 -1
  27. package/dist/{chunk-4AFA5N5Q.js → chunk-P7FJIB7V.js} +2 -2
  28. package/dist/{chunk-3F4LKYIK.cjs → chunk-S52UK6KQ.cjs} +7 -7
  29. package/dist/{chunk-3F4LKYIK.cjs.map → chunk-S52UK6KQ.cjs.map} +1 -1
  30. package/dist/{chunk-43AKGHDL.js → chunk-SIF5WN7S.js} +4 -4
  31. package/dist/{chunk-3OSTXIB6.cjs → chunk-T6VFIDS4.cjs} +59 -59
  32. package/dist/{chunk-3OSTXIB6.cjs.map → chunk-T6VFIDS4.cjs.map} +1 -1
  33. package/dist/{chunk-FHAMKB5L.js → chunk-UL5RGRWZ.js} +2 -2
  34. package/dist/{chunk-GIHNDMGI.js → chunk-WTJ4AOVR.js} +2 -2
  35. package/dist/{chunk-CQ6MF7KT.js → chunk-Y37BRIBI.js} +4 -4
  36. package/dist/{chunk-GEUZA4VP.js → chunk-Y4ZQTUBT.js} +2 -2
  37. package/dist/{chunk-BGSIZWAK.js → chunk-YX2YP4YM.js} +2 -2
  38. package/dist/components/announcement-bar.d.ts.map +1 -1
  39. package/dist/components/case-studies/index.cjs +8 -8
  40. package/dist/components/case-studies/index.js +2 -2
  41. package/dist/components/chat/chat-panel-header-mobile.d.ts +8 -8
  42. package/dist/components/chat/chat-panel-header-mobile.d.ts.map +1 -1
  43. package/dist/components/chat/index.cjs +2 -2
  44. package/dist/components/chat/index.js +1 -1
  45. package/dist/components/contact/index.cjs +3 -3
  46. package/dist/components/contact/index.js +2 -2
  47. package/dist/components/docs/index.cjs +5 -5
  48. package/dist/components/docs/index.js +4 -4
  49. package/dist/components/embeds/index.cjs +3 -3
  50. package/dist/components/embeds/index.js +2 -2
  51. package/dist/components/faq/index.cjs +3 -3
  52. package/dist/components/faq/index.js +2 -2
  53. package/dist/components/features/index.cjs +2 -2
  54. package/dist/components/features/index.js +1 -1
  55. package/dist/components/help-center-pages/index.cjs +20 -20
  56. package/dist/components/help-center-pages/index.js +11 -11
  57. package/dist/components/index.cjs +131 -129
  58. package/dist/components/index.cjs.map +1 -1
  59. package/dist/components/index.js +12 -10
  60. package/dist/components/index.js.map +1 -1
  61. package/dist/components/navigation/header.d.ts.map +1 -1
  62. package/dist/components/navigation/index.cjs +4 -2
  63. package/dist/components/navigation/index.cjs.map +1 -1
  64. package/dist/components/navigation/index.d.ts +2 -0
  65. package/dist/components/navigation/index.d.ts.map +1 -1
  66. package/dist/components/navigation/index.js +3 -1
  67. package/dist/components/navigation/mingo-ai-button.d.ts +16 -0
  68. package/dist/components/navigation/mingo-ai-button.d.ts.map +1 -0
  69. package/dist/components/onboarding-guides/index.cjs +5 -5
  70. package/dist/components/onboarding-guides/index.js +4 -4
  71. package/dist/components/related-content/index.cjs +3 -3
  72. package/dist/components/related-content/index.js +2 -2
  73. package/dist/components/tickets/index.cjs +5 -5
  74. package/dist/components/tickets/index.js +4 -4
  75. package/dist/components/ui/index.cjs +2 -2
  76. package/dist/components/ui/index.js +1 -1
  77. package/dist/index.cjs +4 -2
  78. package/dist/index.cjs.map +1 -1
  79. package/dist/index.js +3 -1
  80. package/dist/types/navigation.d.ts +12 -0
  81. package/dist/types/navigation.d.ts.map +1 -1
  82. package/package.json +1 -1
  83. package/src/components/announcement-bar.tsx +5 -1
  84. package/src/components/chat/chat-panel-header-mobile.tsx +21 -8
  85. package/src/components/chat/embeddable-chat.tsx +13 -0
  86. package/src/components/navigation/header.tsx +25 -10
  87. package/src/components/navigation/index.ts +3 -0
  88. package/src/components/navigation/mingo-ai-button.tsx +98 -0
  89. package/src/stories/Header.stories.tsx +28 -0
  90. package/src/stories/MingoAiButton.stories.tsx +46 -0
  91. package/src/styles/chat-animations.css +54 -0
  92. package/src/types/navigation.ts +12 -0
  93. package/dist/chunk-N6T7CDEN.js.map +0 -1
  94. package/dist/chunk-S3PO5NOK.cjs.map +0 -1
  95. /package/dist/{chunk-SFZ2BJST.js.map → chunk-6OZPER3T.js.map} +0 -0
  96. /package/dist/{chunk-VBJC75FT.js.map → chunk-E3AB36EG.js.map} +0 -0
  97. /package/dist/{chunk-QO2JZYIB.js.map → chunk-IEAQBLZI.js.map} +0 -0
  98. /package/dist/{chunk-3RW27WRK.js.map → chunk-MHUT2NR4.js.map} +0 -0
  99. /package/dist/{chunk-4AFA5N5Q.js.map → chunk-P7FJIB7V.js.map} +0 -0
  100. /package/dist/{chunk-43AKGHDL.js.map → chunk-SIF5WN7S.js.map} +0 -0
  101. /package/dist/{chunk-FHAMKB5L.js.map → chunk-UL5RGRWZ.js.map} +0 -0
  102. /package/dist/{chunk-GIHNDMGI.js.map → chunk-WTJ4AOVR.js.map} +0 -0
  103. /package/dist/{chunk-CQ6MF7KT.js.map → chunk-Y37BRIBI.js.map} +0 -0
  104. /package/dist/{chunk-GEUZA4VP.js.map → chunk-Y4ZQTUBT.js.map} +0 -0
  105. /package/dist/{chunk-BGSIZWAK.js.map → chunk-YX2YP4YM.js.map} +0 -0
@@ -7938,6 +7938,7 @@ function ChatPanelHeaderMobile({
7938
7938
  backAriaLabel = "Back",
7939
7939
  isArchivedView = false,
7940
7940
  onBack,
7941
+ onClose,
7941
7942
  onRestore,
7942
7943
  onRename,
7943
7944
  onArchive,
@@ -7979,6 +7980,17 @@ function ChatPanelHeaderMobile({
7979
7980
  triggerAriaLabel: "Chat actions",
7980
7981
  triggerClassName: "shrink-0 bg-ods-card border-ods-border hover:bg-ods-bg-hover flex items-center justify-center focus-visible:ring-0"
7981
7982
  }
7983
+ ),
7984
+ onClose && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
7985
+ _chunkE6WANQ6Kcjs.Button,
7986
+ {
7987
+ variant: "outline",
7988
+ size: "icon",
7989
+ "aria-label": "Close chat",
7990
+ onClick: onClose,
7991
+ className: "shrink-0",
7992
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGD345ZVcjs.XmarkIcon, {})
7993
+ }
7982
7994
  )
7983
7995
  ] })
7984
7996
  ] })
@@ -35326,6 +35338,53 @@ function MobileNavPanel({ isOpen, config }) {
35326
35338
  ] });
35327
35339
  }
35328
35340
 
35341
+ // src/components/navigation/mingo-ai-button.tsx
35342
+
35343
+ var MINGO_ACCENT = "var(--ods-flamingo-cyan-base)";
35344
+ function MingoAiButton({ source, icon, label = "Mingo AI", className, onClick, ...props }) {
35345
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
35346
+ "button",
35347
+ {
35348
+ ...props,
35349
+ type: "button",
35350
+ "aria-label": label,
35351
+ onClick: (e) => {
35352
+ window.dispatchEvent(new CustomEvent("ask-ai:open", { detail: { source: _nullishCoalesce(source, () => ( "")) } }));
35353
+ _optionalChain([onClick, 'optionalCall', _728 => _728(e)]);
35354
+ },
35355
+ className: _chunkFIG2RKZFcjs.cn.call(void 0,
35356
+ // `--spacing-system-l` is itself responsive (16px, 24px from 800px):
35357
+ // the compact mobile padding keeps the 375px header row
35358
+ // (logo + CTA + burger + Mingo) inside one viewport per Figma
35359
+ // 3924-35639 (mobile) / 4033-90260 (desktop).
35360
+ "group/mingo relative flex h-full items-center border-l border-ods-border bg-ods-card px-[var(--spacing-system-l)] transition-colors duration-200 focus:outline-none focus-visible:ring-2 focus-visible:ring-ods-accent",
35361
+ className
35362
+ ),
35363
+ children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "relative flex h-10 items-center gap-[var(--spacing-system-s)] rounded-md px-[var(--spacing-system-m)] md:h-12", children: [
35364
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { "aria-hidden": "true", className: "pointer-events-none absolute inset-0 overflow-hidden rounded-md", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "mingo-edge" }) }),
35365
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { "aria-hidden": "true", className: "pointer-events-none absolute inset-[3px] rounded-[3px] bg-ods-card" }),
35366
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { "aria-hidden": "true", className: "pointer-events-none absolute inset-0 overflow-hidden rounded-md", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
35367
+ "span",
35368
+ {
35369
+ className: "mingo-shimmer absolute inset-y-0 left-0 w-1/2",
35370
+ style: { background: "linear-gradient(105deg, transparent, color-mix(in srgb, var(--ods-system-greys-white) 12%, transparent), transparent)" }
35371
+ }
35372
+ ) }),
35373
+ icon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "relative inline-flex size-6 shrink-0 items-center justify-center", children: icon }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
35374
+ _chunkGHHUCCLXcjs.MingoIcon,
35375
+ {
35376
+ color: "currentColor",
35377
+ eyesColor: MINGO_ACCENT,
35378
+ cornerColor: MINGO_ACCENT,
35379
+ className: "relative h-6 w-6 shrink-0 text-ods-text-primary"
35380
+ }
35381
+ ),
35382
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "relative hidden whitespace-nowrap text-h3 font-bold tracking-[-0.36px] text-ods-text-primary md:inline", children: label })
35383
+ ] })
35384
+ }
35385
+ );
35386
+ }
35387
+
35329
35388
  // src/components/navigation/header.tsx
35330
35389
 
35331
35390
  function Header2({ config, platform }) {
@@ -35461,7 +35520,7 @@ function Header2({ config, platform }) {
35461
35520
  className: _chunkFIG2RKZFcjs.cn.call(void 0,
35462
35521
  "flex justify-start w-full",
35463
35522
  "font-bold text-[16px] leading-none tracking-[-0.32px]",
35464
- index < (_nullishCoalesce(_optionalChain([item, 'access', _728 => _728.children, 'optionalAccess', _729 => _729.length]), () => ( 0))) - 1 && "mb-1",
35523
+ index < (_nullishCoalesce(_optionalChain([item, 'access', _729 => _729.children, 'optionalAccess', _730 => _730.length]), () => ( 0))) - 1 && "mb-1",
35465
35524
  "text-ods-text-primary",
35466
35525
  // All dropdown items use primary text color
35467
35526
  child.isActive && "bg-ods-bg-hover"
@@ -35543,9 +35602,12 @@ function Header2({ config, platform }) {
35543
35602
  "header",
35544
35603
  {
35545
35604
  className: _chunkFIG2RKZFcjs.cn.call(void 0,
35546
- "w-full flex items-center justify-between",
35605
+ // 72px = unified-header spec height (Figma 4033-90260); the right
35606
+ // cluster self-stretches so the Mingo launcher can sit flush.
35607
+ "w-full h-[72px] flex items-center justify-between",
35547
35608
  "border-b border-ods-border backdrop-blur-sm",
35548
- "px-6 py-3",
35609
+ "pl-6",
35610
+ !_optionalChain([config, 'access', _731 => _731.mingo, 'optionalAccess', _732 => _732.enabled]) && "pr-6",
35549
35611
  // Background color (configurable via backgroundColor prop)
35550
35612
  config.backgroundColor || "bg-ods-card",
35551
35613
  config.className
@@ -35553,14 +35615,14 @@ function Header2({ config, platform }) {
35553
35615
  style: config.style,
35554
35616
  children: [
35555
35617
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-start flex-shrink-0", children: [
35556
- _optionalChain([config, 'access', _730 => _730.actions, 'optionalAccess', _731 => _731.left]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center", children: config.actions.left }),
35618
+ _optionalChain([config, 'access', _733 => _733.actions, 'optionalAccess', _734 => _734.left]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center", children: config.actions.left }),
35557
35619
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWBR7H6E3cjs.next_link_default, { href: config.logo.href, className: "transition-opacity duration-200 hover:opacity-80", children: config.logo.element })
35558
35620
  ] }),
35559
35621
  config.navigation && config.navigation.items.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
35560
35622
  "nav",
35561
35623
  {
35562
35624
  className: _chunkFIG2RKZFcjs.cn.call(void 0,
35563
- "hidden md:flex items-center gap-2",
35625
+ "hidden lg:flex items-center gap-2",
35564
35626
  config.navigation.position === "center" && "absolute left-1/2 transform -translate-x-1/2",
35565
35627
  config.navigation.position === "right" && "ml-auto mr-4"
35566
35628
  ),
@@ -35569,23 +35631,25 @@ function Header2({ config, platform }) {
35569
35631
  children: config.navigation.items.map(renderNavigationItem)
35570
35632
  }
35571
35633
  ),
35572
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-end gap-4 flex-shrink-0", children: [
35573
- _optionalChain([config, 'access', _732 => _732.actions, 'optionalAccess', _733 => _733.right]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden md:flex items-center gap-4", children: config.actions.right }),
35634
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-end gap-3 flex-shrink-0 self-stretch", children: [
35635
+ _optionalChain([config, 'access', _735 => _735.actions, 'optionalAccess', _736 => _736.right]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden lg:flex items-center gap-3", children: config.actions.right }),
35636
+ _optionalChain([config, 'access', _737 => _737.actions, 'optionalAccess', _738 => _738.persistent]) && config.actions.persistent.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center", children: config.actions.persistent }),
35574
35637
  config.mobile && config.mobile.enabled && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
35575
35638
  _chunkE6WANQ6Kcjs.Button,
35576
35639
  {
35577
- variant: "transparent",
35640
+ variant: "outline",
35578
35641
  size: "icon",
35579
- className: "flex md:hidden",
35642
+ className: "flex lg:hidden",
35580
35643
  onClick: () => {
35581
- _optionalChain([config, 'access', _734 => _734.mobile, 'optionalAccess', _735 => _735.onToggle, 'optionalCall', _736 => _736()]);
35644
+ _optionalChain([config, 'access', _739 => _739.mobile, 'optionalAccess', _740 => _740.onToggle, 'optionalCall', _741 => _741()]);
35582
35645
  },
35583
- "aria-label": _optionalChain([config, 'access', _737 => _737.mobile, 'optionalAccess', _738 => _738.isOpen]) ? "Close menu" : "Open menu",
35584
- "aria-expanded": _nullishCoalesce(_optionalChain([config, 'access', _739 => _739.mobile, 'optionalAccess', _740 => _740.isOpen]), () => ( false)),
35585
- "aria-controls": _optionalChain([config, 'access', _741 => _741.mobile, 'optionalAccess', _742 => _742.isOpen]) ? MOBILE_NAV_PANEL_ID : void 0,
35586
- leftIcon: _optionalChain([config, 'access', _743 => _743.mobile, 'optionalAccess', _744 => _744.menuIcon]) || /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGD345ZVcjs.Menu01Icon, {})
35646
+ "aria-label": _optionalChain([config, 'access', _742 => _742.mobile, 'optionalAccess', _743 => _743.isOpen]) ? "Close menu" : "Open menu",
35647
+ "aria-expanded": _nullishCoalesce(_optionalChain([config, 'access', _744 => _744.mobile, 'optionalAccess', _745 => _745.isOpen]), () => ( false)),
35648
+ "aria-controls": _optionalChain([config, 'access', _746 => _746.mobile, 'optionalAccess', _747 => _747.isOpen]) ? MOBILE_NAV_PANEL_ID : void 0,
35649
+ leftIcon: _optionalChain([config, 'access', _748 => _748.mobile, 'optionalAccess', _749 => _749.menuIcon]) || /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGD345ZVcjs.Menu01Icon, {})
35587
35650
  }
35588
- )
35651
+ ),
35652
+ _optionalChain([config, 'access', _750 => _750.mingo, 'optionalAccess', _751 => _751.enabled]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MingoAiButton, { source: config.mingo.source, icon: config.mingo.icon, label: config.mingo.label, className: config.mingo.className })
35589
35653
  ] })
35590
35654
  ]
35591
35655
  }
@@ -35600,10 +35664,10 @@ function Header2({ config, platform }) {
35600
35664
  // src/components/navigation/header-skeleton.tsx
35601
35665
 
35602
35666
  function HeaderSkeleton({ config }) {
35603
- const showNavigation = _optionalChain([config, 'optionalAccess', _745 => _745.navigation]) && config.navigation.items.length > 0;
35604
- const showActions = _optionalChain([config, 'optionalAccess', _746 => _746.actions, 'optionalAccess', _747 => _747.right]) && config.actions.right.length > 0;
35605
- const showMobileMenu = _optionalChain([config, 'optionalAccess', _748 => _748.mobile, 'optionalAccess', _749 => _749.enabled]);
35606
- const isAdminHeader = _optionalChain([config, 'optionalAccess', _750 => _750.className, 'optionalAccess', _751 => _751.includes, 'call', _752 => _752("admin")]);
35667
+ const showNavigation = _optionalChain([config, 'optionalAccess', _752 => _752.navigation]) && config.navigation.items.length > 0;
35668
+ const showActions = _optionalChain([config, 'optionalAccess', _753 => _753.actions, 'optionalAccess', _754 => _754.right]) && config.actions.right.length > 0;
35669
+ const showMobileMenu = _optionalChain([config, 'optionalAccess', _755 => _755.mobile, 'optionalAccess', _756 => _756.enabled]);
35670
+ const isAdminHeader = _optionalChain([config, 'optionalAccess', _757 => _757.className, 'optionalAccess', _758 => _758.includes, 'call', _759 => _759("admin")]);
35607
35671
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "sticky top-0 z-40 w-full", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
35608
35672
  "header",
35609
35673
  {
@@ -35612,11 +35676,11 @@ function HeaderSkeleton({ config }) {
35612
35676
  "bg-ods-card border-b border-ods-border backdrop-blur-sm",
35613
35677
  "px-6 py-3",
35614
35678
  "transition-opacity duration-300 ease-in-out",
35615
- _optionalChain([config, 'optionalAccess', _753 => _753.className])
35679
+ _optionalChain([config, 'optionalAccess', _760 => _760.className])
35616
35680
  ),
35617
35681
  children: [
35618
35682
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-start flex-shrink-0", children: [
35619
- isAdminHeader && _optionalChain([config, 'optionalAccess', _754 => _754.actions, 'optionalAccess', _755 => _755.left]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mr-4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-10 w-10 bg-ods-border rounded animate-pulse" }) }),
35683
+ isAdminHeader && _optionalChain([config, 'optionalAccess', _761 => _761.actions, 'optionalAccess', _762 => _762.left]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mr-4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-10 w-10 bg-ods-border rounded animate-pulse" }) }),
35620
35684
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
35621
35685
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-8 w-8 bg-ods-border rounded animate-pulse" }),
35622
35686
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-6 w-24 bg-ods-border rounded animate-pulse" })
@@ -35624,8 +35688,8 @@ function HeaderSkeleton({ config }) {
35624
35688
  ] }),
35625
35689
  showNavigation && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "nav", { className: _chunkFIG2RKZFcjs.cn.call(void 0,
35626
35690
  "hidden md:flex items-center gap-2",
35627
- _optionalChain([config, 'optionalAccess', _756 => _756.navigation, 'optionalAccess', _757 => _757.position]) === "center" && "absolute left-1/2 transform -translate-x-1/2",
35628
- _optionalChain([config, 'optionalAccess', _758 => _758.navigation, 'optionalAccess', _759 => _759.position]) === "right" && "ml-auto mr-4"
35691
+ _optionalChain([config, 'optionalAccess', _763 => _763.navigation, 'optionalAccess', _764 => _764.position]) === "center" && "absolute left-1/2 transform -translate-x-1/2",
35692
+ _optionalChain([config, 'optionalAccess', _765 => _765.navigation, 'optionalAccess', _766 => _766.position]) === "right" && "ml-auto mr-4"
35629
35693
  ), children: [
35630
35694
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-10 w-20 bg-ods-border rounded animate-pulse" }),
35631
35695
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-10 w-28 bg-ods-border rounded animate-pulse" }),
@@ -35741,7 +35805,7 @@ function SlidingSidebar({ config }) {
35741
35805
  variant: "transparent",
35742
35806
  size: "default",
35743
35807
  onClick: () => {
35744
- _optionalChain([item, 'access', _760 => _760.onClick, 'optionalCall', _761 => _761()]);
35808
+ _optionalChain([item, 'access', _767 => _767.onClick, 'optionalCall', _768 => _768()]);
35745
35809
  config.onClose();
35746
35810
  },
35747
35811
  leftIcon: item.icon,
@@ -35764,7 +35828,7 @@ function SlidingSidebar({ config }) {
35764
35828
  variant: "transparent",
35765
35829
  size: "default",
35766
35830
  onClick: () => {
35767
- _optionalChain([item, 'access', _762 => _762.onClick, 'optionalCall', _763 => _763()]);
35831
+ _optionalChain([item, 'access', _769 => _769.onClick, 'optionalCall', _770 => _770()]);
35768
35832
  config.onClose();
35769
35833
  },
35770
35834
  leftIcon: item.icon,
@@ -35896,7 +35960,7 @@ function StickySectionNav({
35896
35960
  ] });
35897
35961
  }
35898
35962
  function useSectionNavigation(sections, options) {
35899
- const [activeSection, setActiveSection] = _react.useState.call(void 0, _optionalChain([sections, 'access', _764 => _764[0], 'optionalAccess', _765 => _765.id]) || "");
35963
+ const [activeSection, setActiveSection] = _react.useState.call(void 0, _optionalChain([sections, 'access', _771 => _771[0], 'optionalAccess', _772 => _772.id]) || "");
35900
35964
  const isScrollingFromClick = _react.useRef.call(void 0, false);
35901
35965
  const { offset: offset2 = 100 } = options || {};
35902
35966
  const handleSectionClick = _react.useCallback.call(void 0, (sectionId) => {
@@ -35920,7 +35984,7 @@ function useSectionNavigation(sections, options) {
35920
35984
  const handleScroll = () => {
35921
35985
  if (isScrollingFromClick.current) return;
35922
35986
  const scrollPosition = window.scrollY + offset2 + 50;
35923
- let currentSection = _optionalChain([sections, 'access', _766 => _766[0], 'optionalAccess', _767 => _767.id]) || "";
35987
+ let currentSection = _optionalChain([sections, 'access', _773 => _773[0], 'optionalAccess', _774 => _774.id]) || "";
35924
35988
  for (let i = sections.length - 1; i >= 0; i--) {
35925
35989
  const element = document.getElementById(sections[i].id);
35926
35990
  if (element && scrollPosition >= element.offsetTop) {
@@ -36111,7 +36175,7 @@ function NavigationSidebar({ config, disabled = false }) {
36111
36175
  } else {
36112
36176
  setDesktopMinimized((prev) => !prev);
36113
36177
  }
36114
- _optionalChain([config, 'access', _768 => _768.onToggleMinimized, 'optionalCall', _769 => _769()]);
36178
+ _optionalChain([config, 'access', _775 => _775.onToggleMinimized, 'optionalCall', _776 => _776()]);
36115
36179
  }, [isTablet, setDesktopMinimized, config]);
36116
36180
  const closeOverlay = _react.useCallback.call(void 0, () => {
36117
36181
  setTabletMinimized(true);
@@ -36125,11 +36189,11 @@ function NavigationSidebar({ config, disabled = false }) {
36125
36189
  return () => document.removeEventListener("keydown", handleKeyDown);
36126
36190
  }, [isOverlayOpen, closeOverlay]);
36127
36191
  const handleItemClick = _react.useCallback.call(void 0, (item, event) => {
36128
- _optionalChain([event, 'optionalAccess', _770 => _770.stopPropagation, 'call', _771 => _771()]);
36192
+ _optionalChain([event, 'optionalAccess', _777 => _777.stopPropagation, 'call', _778 => _778()]);
36129
36193
  if (item.onClick) {
36130
36194
  item.onClick();
36131
36195
  } else if (item.path) {
36132
- _optionalChain([config, 'access', _772 => _772.onNavigate, 'optionalCall', _773 => _773(item.path)]);
36196
+ _optionalChain([config, 'access', _779 => _779.onNavigate, 'optionalCall', _780 => _780(item.path)]);
36133
36197
  }
36134
36198
  if (isTablet) setTabletMinimized(true);
36135
36199
  }, [config, isTablet]);
@@ -36254,11 +36318,11 @@ function HeaderGlobalSearch({
36254
36318
  };
36255
36319
  const handleSubmit = (e) => {
36256
36320
  e.preventDefault();
36257
- _optionalChain([onSubmit, 'optionalCall', _774 => _774(currentValue)]);
36321
+ _optionalChain([onSubmit, 'optionalCall', _781 => _781(currentValue)]);
36258
36322
  };
36259
36323
  const handleKeyDown = (e) => {
36260
36324
  if (e.key === "Enter") {
36261
- _optionalChain([onSubmit, 'optionalCall', _775 => _775(currentValue)]);
36325
+ _optionalChain([onSubmit, 'optionalCall', _782 => _782(currentValue)]);
36262
36326
  }
36263
36327
  };
36264
36328
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
@@ -36352,8 +36416,8 @@ function HeaderOrganizationFilter({
36352
36416
  className
36353
36417
  }) {
36354
36418
  const selectedOrg = organizations.find((o) => o.id === selectedOrgId);
36355
- const displayName = _optionalChain([selectedOrg, 'optionalAccess', _776 => _776.name]) || "All Organizations";
36356
- const deviceCount = _nullishCoalesce(_optionalChain([selectedOrg, 'optionalAccess', _777 => _777.deviceCount]), () => ( totalDeviceCount));
36419
+ const displayName = _optionalChain([selectedOrg, 'optionalAccess', _783 => _783.name]) || "All Organizations";
36420
+ const deviceCount = _nullishCoalesce(_optionalChain([selectedOrg, 'optionalAccess', _784 => _784.deviceCount]), () => ( totalDeviceCount));
36357
36421
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkE6WANQ6Kcjs.DropdownMenu, { children: [
36358
36422
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkE6WANQ6Kcjs.DropdownMenuTrigger, { asChild: true, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
36359
36423
  "button",
@@ -36378,11 +36442,11 @@ function HeaderOrganizationFilter({
36378
36442
  }
36379
36443
  ) }),
36380
36444
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkE6WANQ6Kcjs.DropdownMenuContent, { align: "end", className: "min-w-[240px]", children: [
36381
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkE6WANQ6Kcjs.DropdownMenuItem, { onClick: () => _optionalChain([onOrgChange, 'optionalCall', _778 => _778("")]), children: "All Organizations" }),
36445
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkE6WANQ6Kcjs.DropdownMenuItem, { onClick: () => _optionalChain([onOrgChange, 'optionalCall', _785 => _785("")]), children: "All Organizations" }),
36382
36446
  organizations.map((org) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
36383
36447
  _chunkE6WANQ6Kcjs.DropdownMenuItem,
36384
36448
  {
36385
- onClick: () => _optionalChain([onOrgChange, 'optionalCall', _779 => _779(org.id)]),
36449
+ onClick: () => _optionalChain([onOrgChange, 'optionalCall', _786 => _786(org.id)]),
36386
36450
  children: org.name
36387
36451
  },
36388
36452
  org.id
@@ -36572,9 +36636,9 @@ function NotificationsHeaderButton({
36572
36636
  dimmedClass
36573
36637
  }) {
36574
36638
  const ctx = useOptionalNotifications();
36575
- const hasUnread = (_nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _780 => _780.unreadCount]), () => ( fallbackUnreadCount))) > 0;
36576
- const isActive = _nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _781 => _781.isOpen]), () => ( false));
36577
- const onClick = _optionalChain([ctx, 'optionalAccess', _782 => _782.toggle]);
36639
+ const hasUnread = (_nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _787 => _787.unreadCount]), () => ( fallbackUnreadCount))) > 0;
36640
+ const isActive = _nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _788 => _788.isOpen]), () => ( false));
36641
+ const onClick = _optionalChain([ctx, 'optionalAccess', _789 => _789.toggle]);
36578
36642
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
36579
36643
  HeaderButton,
36580
36644
  {
@@ -36621,7 +36685,7 @@ var MobileBurgerMenu = React121.default.memo(function MobileBurgerMenu2({
36621
36685
  if (item.onClick) {
36622
36686
  item.onClick();
36623
36687
  } else if (item.path) {
36624
- _optionalChain([config, 'access', _783 => _783.onNavigate, 'optionalCall', _784 => _784(item.path)]);
36688
+ _optionalChain([config, 'access', _790 => _790.onNavigate, 'optionalCall', _791 => _791(item.path)]);
36625
36689
  }
36626
36690
  onClose();
36627
36691
  }, [config, onClose]);
@@ -37227,7 +37291,7 @@ var ShellTypeBadge = ({
37227
37291
  className,
37228
37292
  iconClassName
37229
37293
  }) => {
37230
- const normalizedType = _optionalChain([shellType, 'optionalAccess', _785 => _785.toUpperCase, 'call', _786 => _786()]);
37294
+ const normalizedType = _optionalChain([shellType, 'optionalAccess', _792 => _792.toUpperCase, 'call', _793 => _793()]);
37231
37295
  const label = getShellLabel(normalizedType);
37232
37296
  const { icon: IconComponent, props: iconProps } = _nullishCoalesce(shellIconMap[normalizedType], () => ( defaultIconConfig));
37233
37297
  const defaultIconClassName = "className" in iconProps ? iconProps.className : void 0;
@@ -37614,12 +37678,12 @@ function OnboardingWalkthrough({
37614
37678
  }
37615
37679
  }, [state.completedSteps, markComplete]);
37616
37680
  const handleStepSkip = (step) => {
37617
- _optionalChain([step, 'access', _787 => _787.onSkip, 'optionalCall', _788 => _788()]);
37681
+ _optionalChain([step, 'access', _794 => _794.onSkip, 'optionalCall', _795 => _795()]);
37618
37682
  markSkipped(step.id);
37619
37683
  };
37620
37684
  const handleDismiss = () => {
37621
37685
  dismissOnboarding();
37622
- _optionalChain([onDismiss, 'optionalCall', _789 => _789()]);
37686
+ _optionalChain([onDismiss, 'optionalCall', _796 => _796()]);
37623
37687
  };
37624
37688
  if (state.dismissed) {
37625
37689
  return null;
@@ -37749,7 +37813,7 @@ var LogCard = ({ log, isLast, showConnector, onClick }) => {
37749
37813
  onKeyDown: (e) => {
37750
37814
  if (e.key === "Enter" || e.key === " ") {
37751
37815
  e.preventDefault();
37752
- _optionalChain([onClick, 'optionalCall', _790 => _790()]);
37816
+ _optionalChain([onClick, 'optionalCall', _797 => _797()]);
37753
37817
  }
37754
37818
  },
37755
37819
  children: [
@@ -37850,7 +37914,7 @@ var LogsList = React118.forwardRef(({
37850
37914
  log,
37851
37915
  isLast: index === logs.length - 1,
37852
37916
  showConnector,
37853
- onClick: () => _optionalChain([onLogClick, 'optionalCall', _791 => _791(log)])
37917
+ onClick: () => _optionalChain([onLogClick, 'optionalCall', _798 => _798(log)])
37854
37918
  },
37855
37919
  log.id
37856
37920
  ))
@@ -37951,7 +38015,7 @@ var Slider = React120.forwardRef(
37951
38015
  ({ className, value = [0], onValueChange, min = 0, max = 100, step = 1, ...props }, ref) => {
37952
38016
  const handleChange = (e) => {
37953
38017
  const newValue = [Number(e.target.value)];
37954
- _optionalChain([onValueChange, 'optionalCall', _792 => _792(newValue)]);
38018
+ _optionalChain([onValueChange, 'optionalCall', _799 => _799(newValue)]);
37955
38019
  };
37956
38020
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
37957
38021
  "input",
@@ -38385,7 +38449,7 @@ function CursorPaginationSimple({
38385
38449
  {
38386
38450
  variant: "transparent",
38387
38451
  size: "icon",
38388
- onClick: () => _optionalChain([onPrevious, 'optionalCall', _793 => _793("")]),
38452
+ onClick: () => _optionalChain([onPrevious, 'optionalCall', _800 => _800("")]),
38389
38453
  disabled: !hasPreviousPage || loading,
38390
38454
  className: "h-8 w-8",
38391
38455
  leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronLeft, { className: "h-4 w-4" }),
@@ -38397,7 +38461,7 @@ function CursorPaginationSimple({
38397
38461
  {
38398
38462
  variant: "transparent",
38399
38463
  size: "icon",
38400
- onClick: () => _optionalChain([onNext, 'optionalCall', _794 => _794("")]),
38464
+ onClick: () => _optionalChain([onNext, 'optionalCall', _801 => _801("")]),
38401
38465
  disabled: !hasNextPage || loading,
38402
38466
  className: "h-8 w-8",
38403
38467
  rightIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronRight, { className: "h-4 w-4" }),
@@ -38417,8 +38481,8 @@ function TableEmptyState({ message: message2, icon, action, className }) {
38417
38481
  icon: _nullishCoalesce(icon, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWZW7C7TFcjs.SearchIcon, {}))),
38418
38482
  title: _nullishCoalesce(message2, () => ( "No results found")),
38419
38483
  description: message2 == null ? "Try adjusting your search or filters" : void 0,
38420
- buttonLabel: _optionalChain([action, 'optionalAccess', _795 => _795.label]),
38421
- onButtonClick: _optionalChain([action, 'optionalAccess', _796 => _796.onClick]),
38484
+ buttonLabel: _optionalChain([action, 'optionalAccess', _802 => _802.label]),
38485
+ onButtonClick: _optionalChain([action, 'optionalAccess', _803 => _803.onClick]),
38422
38486
  className: _chunkFIG2RKZFcjs.cn.call(void 0, "py-[var(--spacing-system-xxl)]", className)
38423
38487
  }
38424
38488
  );
@@ -38439,7 +38503,7 @@ function TableColumnFilterDropdown({
38439
38503
  placement = "bottom-start",
38440
38504
  dropdownClassName = "min-w-[240px]"
38441
38505
  }) {
38442
- const activeCount = _optionalChain([filters, 'optionalAccess', _797 => _797[columnKey], 'optionalAccess', _798 => _798.length]) || 0;
38506
+ const activeCount = _optionalChain([filters, 'optionalAccess', _804 => _804[columnKey], 'optionalAccess', _805 => _805.length]) || 0;
38443
38507
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
38444
38508
  FiltersDropdown,
38445
38509
  {
@@ -38482,7 +38546,7 @@ function TableColumnFilterDropdown({
38482
38546
  delete newFilters[columnKey];
38483
38547
  onFilterChange(newFilters);
38484
38548
  },
38485
- currentFilters: { [columnKey]: _optionalChain([filters, 'optionalAccess', _799 => _799[columnKey]]) || [] },
38549
+ currentFilters: { [columnKey]: _optionalChain([filters, 'optionalAccess', _806 => _806[columnKey]]) || [] },
38486
38550
  placement,
38487
38551
  dropdownClassName
38488
38552
  }
@@ -38692,7 +38756,7 @@ function TableCardSkeleton({
38692
38756
  className,
38693
38757
  rowClassName
38694
38758
  }) {
38695
- const primaryKey = _optionalChain([(_nullishCoalesce(columns.find((c) => /flex-(1|\[)/.test(c.width || "")), () => ( columns[0]))), 'optionalAccess', _800 => _800.key]);
38759
+ const primaryKey = _optionalChain([(_nullishCoalesce(columns.find((c) => /flex-(1|\[)/.test(c.width || "")), () => ( columns[0]))), 'optionalAccess', _807 => _807.key]);
38696
38760
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: Array.from({ length: rows }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
38697
38761
  "div",
38698
38762
  {
@@ -38785,7 +38849,7 @@ function TableRow({
38785
38849
  const keys = column.key.split(".");
38786
38850
  let value = item;
38787
38851
  for (const key of keys) {
38788
- value = _optionalChain([value, 'optionalAccess', _801 => _801[key]]);
38852
+ value = _optionalChain([value, 'optionalAccess', _808 => _808[key]]);
38789
38853
  }
38790
38854
  if (value === null || value === void 0) {
38791
38855
  return "-";
@@ -38874,7 +38938,7 @@ function useTableMotion(enabled) {
38874
38938
  // src/components/ui/table/table.tsx
38875
38939
 
38876
38940
  function injectSyntheticColumns(columns, rowActions, renderRowActions, rowHref) {
38877
- const hasActions = Boolean(_optionalChain([rowActions, 'optionalAccess', _802 => _802.length])) || Boolean(renderRowActions);
38941
+ const hasActions = Boolean(_optionalChain([rowActions, 'optionalAccess', _809 => _809.length])) || Boolean(renderRowActions);
38878
38942
  const result = [...columns];
38879
38943
  if (hasActions) {
38880
38944
  const actionsColumn = {
@@ -38970,7 +39034,7 @@ function Table({
38970
39034
  return rowKey(item);
38971
39035
  }
38972
39036
  const key = item[rowKey];
38973
- return _optionalChain([key, 'optionalAccess', _803 => _803.toString, 'call', _804 => _804()]) || index.toString();
39037
+ return _optionalChain([key, 'optionalAccess', _810 => _810.toString, 'call', _811 => _811()]) || index.toString();
38974
39038
  };
38975
39039
  const getRowClassName = (item, index) => {
38976
39040
  if (typeof rowClassName === "function") {
@@ -39004,23 +39068,23 @@ function Table({
39004
39068
  const allSelected = selectedRows.length > 0 && selectedRows.length === data.length;
39005
39069
  const someSelected = selectedRows.length > 0 && selectedRows.length < data.length;
39006
39070
  const sentinelRef = _react.useRef.call(void 0, null);
39007
- const onLoadMoreRef = _react.useRef.call(void 0, _optionalChain([infiniteScroll, 'optionalAccess', _805 => _805.onLoadMore]));
39008
- onLoadMoreRef.current = _optionalChain([infiniteScroll, 'optionalAccess', _806 => _806.onLoadMore]);
39071
+ const onLoadMoreRef = _react.useRef.call(void 0, _optionalChain([infiniteScroll, 'optionalAccess', _812 => _812.onLoadMore]));
39072
+ onLoadMoreRef.current = _optionalChain([infiniteScroll, 'optionalAccess', _813 => _813.onLoadMore]);
39009
39073
  _react.useEffect.call(void 0, () => {
39010
- if (!_optionalChain([infiniteScroll, 'optionalAccess', _807 => _807.hasNextPage]) || infiniteScroll.isFetchingNextPage) return;
39074
+ if (!_optionalChain([infiniteScroll, 'optionalAccess', _814 => _814.hasNextPage]) || infiniteScroll.isFetchingNextPage) return;
39011
39075
  const sentinel = sentinelRef.current;
39012
39076
  if (!sentinel) return;
39013
39077
  const observer = new IntersectionObserver(
39014
39078
  (entries) => {
39015
- if (_optionalChain([entries, 'access', _808 => _808[0], 'optionalAccess', _809 => _809.isIntersecting])) {
39016
- _optionalChain([onLoadMoreRef, 'access', _810 => _810.current, 'optionalCall', _811 => _811()]);
39079
+ if (_optionalChain([entries, 'access', _815 => _815[0], 'optionalAccess', _816 => _816.isIntersecting])) {
39080
+ _optionalChain([onLoadMoreRef, 'access', _817 => _817.current, 'optionalCall', _818 => _818()]);
39017
39081
  }
39018
39082
  },
39019
39083
  { rootMargin: "200px" }
39020
39084
  );
39021
39085
  observer.observe(sentinel);
39022
39086
  return () => observer.disconnect();
39023
- }, [_optionalChain([infiniteScroll, 'optionalAccess', _812 => _812.hasNextPage]), _optionalChain([infiniteScroll, 'optionalAccess', _813 => _813.isFetchingNextPage])]);
39087
+ }, [_optionalChain([infiniteScroll, 'optionalAccess', _819 => _819.hasNextPage]), _optionalChain([infiniteScroll, 'optionalAccess', _820 => _820.isFetchingNextPage])]);
39024
39088
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkFIG2RKZFcjs.cn.call(void 0, "flex flex-col gap-1 w-full", containerClassName), children: [
39025
39089
  showToolbar && bulkActions && selectedRows.length > 0 && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-between bg-ods-card border border-ods-border rounded-[6px] p-3 mb-2", children: [
39026
39090
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "text-ods-text-secondary text-sm", children: [
@@ -39090,14 +39154,14 @@ function Table({
39090
39154
  selected: isRowSelected(item),
39091
39155
  onSelect: handleSelectRow,
39092
39156
  animateRowReorder,
39093
- motionDiv: _optionalChain([tableMotion, 'optionalAccess', _814 => _814.motionDiv])
39157
+ motionDiv: _optionalChain([tableMotion, 'optionalAccess', _821 => _821.motionDiv])
39094
39158
  },
39095
39159
  getRowKey(item, index)
39096
39160
  ));
39097
- const LayoutGroup = _optionalChain([tableMotion, 'optionalAccess', _815 => _815.LayoutGroup]);
39161
+ const LayoutGroup = _optionalChain([tableMotion, 'optionalAccess', _822 => _822.LayoutGroup]);
39098
39162
  return animateRowReorder && LayoutGroup ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, LayoutGroup, { children: rows }) : rows;
39099
39163
  })(),
39100
- _optionalChain([infiniteScroll, 'optionalAccess', _816 => _816.isFetchingNextPage]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
39164
+ _optionalChain([infiniteScroll, 'optionalAccess', _823 => _823.isFetchingNextPage]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
39101
39165
  TableCardSkeleton,
39102
39166
  {
39103
39167
  columns,
@@ -39106,7 +39170,7 @@ function Table({
39106
39170
  hasChevron: Boolean(rowHref)
39107
39171
  }
39108
39172
  ),
39109
- _optionalChain([infiniteScroll, 'optionalAccess', _817 => _817.hasNextPage]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: sentinelRef, className: "h-1", "aria-hidden": "true" }),
39173
+ _optionalChain([infiniteScroll, 'optionalAccess', _824 => _824.hasNextPage]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: sentinelRef, className: "h-1", "aria-hidden": "true" }),
39110
39174
  !infiniteScroll && Array.from({ length: Math.max(0, skeletonRows - data.length) }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
39111
39175
  "div",
39112
39176
  {
@@ -39464,7 +39528,7 @@ function QueryReportTable({
39464
39528
  );
39465
39529
  const handleExport = () => {
39466
39530
  exportToCSV(data, columns, exportFilename);
39467
- _optionalChain([onExport, 'optionalCall', _818 => _818()]);
39531
+ _optionalChain([onExport, 'optionalCall', _825 => _825()]);
39468
39532
  };
39469
39533
  const tableMinWidth = columns.length * (columnWidth + 16);
39470
39534
  const {
@@ -39637,7 +39701,7 @@ function DataTableColumnFilter({
39637
39701
  align = "left"
39638
39702
  }) {
39639
39703
  const currentValue = column.getFilterValue();
39640
- const activeCount = _nullishCoalesce(_optionalChain([currentValue, 'optionalAccess', _819 => _819.length]), () => ( 0));
39704
+ const activeCount = _nullishCoalesce(_optionalChain([currentValue, 'optionalAccess', _826 => _826.length]), () => ( 0));
39641
39705
  const sections = _react.useMemo.call(void 0,
39642
39706
  () => [
39643
39707
  {
@@ -39718,7 +39782,7 @@ function DataTableHeader({
39718
39782
  if (header.isPlaceholder) return false;
39719
39783
  if (isLgUp) return true;
39720
39784
  const meta = header.column.columnDef.meta;
39721
- return Boolean(_optionalChain([meta, 'optionalAccess', _820 => _820.filter])) || _optionalChain([meta, 'optionalAccess', _821 => _821.alwaysShowHeader]) === true;
39785
+ return Boolean(_optionalChain([meta, 'optionalAccess', _827 => _827.filter])) || _optionalChain([meta, 'optionalAccess', _828 => _828.alwaysShowHeader]) === true;
39722
39786
  });
39723
39787
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
39724
39788
  "div",
@@ -39748,21 +39812,21 @@ function HeaderCell({ header, isLgUp, sort, onSortChange }) {
39748
39812
  if (header.isPlaceholder) return null;
39749
39813
  const column = header.column;
39750
39814
  const meta = column.columnDef.meta;
39751
- const hasFilter = Boolean(_optionalChain([meta, 'optionalAccess', _822 => _822.filter]));
39752
- const keepOnTablet = hasFilter || _optionalChain([meta, 'optionalAccess', _823 => _823.alwaysShowHeader]) === true;
39753
- const align = _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _824 => _824.align]), () => ( "left"));
39754
- const canSort = _optionalChain([meta, 'optionalAccess', _825 => _825.sortable]) === true;
39755
- const sortDir = _optionalChain([sort, 'optionalAccess', _826 => _826.id]) === column.id ? sort.desc ? "desc" : "asc" : false;
39815
+ const hasFilter = Boolean(_optionalChain([meta, 'optionalAccess', _829 => _829.filter]));
39816
+ const keepOnTablet = hasFilter || _optionalChain([meta, 'optionalAccess', _830 => _830.alwaysShowHeader]) === true;
39817
+ const align = _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _831 => _831.align]), () => ( "left"));
39818
+ const canSort = _optionalChain([meta, 'optionalAccess', _832 => _832.sortable]) === true;
39819
+ const sortDir = _optionalChain([sort, 'optionalAccess', _833 => _833.id]) === column.id ? sort.desc ? "desc" : "asc" : false;
39756
39820
  if (!isLgUp && !keepOnTablet) return null;
39757
39821
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
39758
39822
  "div",
39759
39823
  {
39760
39824
  className: _chunkFIG2RKZFcjs.cn.call(void 0,
39761
39825
  "flex items-stretch",
39762
- isLgUp && (_optionalChain([meta, 'optionalAccess', _827 => _827.width]) || "flex-1 min-w-0"),
39763
- _optionalChain([meta, 'optionalAccess', _828 => _828.headerClassName]),
39826
+ isLgUp && (_optionalChain([meta, 'optionalAccess', _834 => _834.width]) || "flex-1 min-w-0"),
39827
+ _optionalChain([meta, 'optionalAccess', _835 => _835.headerClassName]),
39764
39828
  // Don't apply hide classes if column is filterable on tablet (keep filter accessible)
39765
- !(keepOnTablet && !isLgUp) && getHideClasses2(_optionalChain([meta, 'optionalAccess', _829 => _829.hideAt]))
39829
+ !(keepOnTablet && !isLgUp) && getHideClasses2(_optionalChain([meta, 'optionalAccess', _836 => _836.hideAt]))
39766
39830
  ),
39767
39831
  children: hasFilter ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
39768
39832
  DataTableColumnFilter,
@@ -39781,7 +39845,7 @@ function HeaderCell({ header, isLgUp, sort, onSortChange }) {
39781
39845
  isLgUp && alignJustify(align),
39782
39846
  canSort && "group cursor-pointer"
39783
39847
  ),
39784
- onClick: canSort ? () => _optionalChain([onSortChange, 'optionalCall', _830 => _830(column.id)]) : void 0,
39848
+ onClick: canSort ? () => _optionalChain([onSortChange, 'optionalCall', _837 => _837(column.id)]) : void 0,
39785
39849
  children: [
39786
39850
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderLabel, { header }),
39787
39851
  canSort && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SortIcon, { sorted: sortDir })
@@ -39846,7 +39910,7 @@ function DataTableSkeleton({
39846
39910
  }) {
39847
39911
  const table = useDataTableContext();
39848
39912
  const columns = table.getVisibleFlatColumns();
39849
- const firstColumnId = _optionalChain([columns, 'access', _831 => _831[0], 'optionalAccess', _832 => _832.id]);
39913
+ const firstColumnId = _optionalChain([columns, 'access', _838 => _838[0], 'optionalAccess', _839 => _839.id]);
39850
39914
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: Array.from({ length: rows }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
39851
39915
  "div",
39852
39916
  {
@@ -39870,7 +39934,7 @@ function DataTableSkeleton({
39870
39934
  {
39871
39935
  className: _chunkFIG2RKZFcjs.cn.call(void 0,
39872
39936
  "flex flex-col justify-center shrink-0",
39873
- _optionalChain([meta, 'optionalAccess', _833 => _833.width]) || "flex-1"
39937
+ _optionalChain([meta, 'optionalAccess', _840 => _840.width]) || "flex-1"
39874
39938
  ),
39875
39939
  children: [
39876
39940
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-5 bg-ods-bg-surface rounded-sm w-3/4 mb-[var(--spacing-system-xxs)]" }),
@@ -39920,7 +39984,7 @@ function DataTableRowImpl({
39920
39984
  const handleClick = _react.useCallback.call(void 0,
39921
39985
  (e) => {
39922
39986
  const target = e.target;
39923
- if (!_optionalChain([containerRef, 'access', _834 => _834.current, 'optionalAccess', _835 => _835.contains, 'call', _836 => _836(target)])) {
39987
+ if (!_optionalChain([containerRef, 'access', _841 => _841.current, 'optionalAccess', _842 => _842.contains, 'call', _843 => _843(target)])) {
39924
39988
  if (isLinkMode) e.preventDefault();
39925
39989
  return;
39926
39990
  }
@@ -39928,7 +39992,7 @@ function DataTableRowImpl({
39928
39992
  if (isLinkMode) e.preventDefault();
39929
39993
  return;
39930
39994
  }
39931
- _optionalChain([onClick, 'optionalCall', _837 => _837(row.original)]);
39995
+ _optionalChain([onClick, 'optionalCall', _844 => _844(row.original)]);
39932
39996
  },
39933
39997
  [onClick, row.original, isLinkMode]
39934
39998
  );
@@ -39953,10 +40017,10 @@ function DataTableRowImpl({
39953
40017
  {
39954
40018
  className: _chunkFIG2RKZFcjs.cn.call(void 0,
39955
40019
  "flex flex-col overflow-hidden",
39956
- alignJustify(_optionalChain([meta, 'optionalAccess', _838 => _838.align])),
39957
- _optionalChain([meta, 'optionalAccess', _839 => _839.width]) || "flex-1 min-w-0",
39958
- _optionalChain([meta, 'optionalAccess', _840 => _840.cellClassName]),
39959
- getHideClasses2(_optionalChain([meta, 'optionalAccess', _841 => _841.hideAt]))
40020
+ alignJustify(_optionalChain([meta, 'optionalAccess', _845 => _845.align])),
40021
+ _optionalChain([meta, 'optionalAccess', _846 => _846.width]) || "flex-1 min-w-0",
40022
+ _optionalChain([meta, 'optionalAccess', _847 => _847.cellClassName]),
40023
+ getHideClasses2(_optionalChain([meta, 'optionalAccess', _848 => _848.hideAt]))
39960
40024
  ),
39961
40025
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CellContent, { children: _reacttable.flexRender.call(void 0, cell.column.columnDef.cell, cell.getContext()) })
39962
40026
  },
@@ -40036,7 +40100,7 @@ function DataTableBody({
40036
40100
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkFIG2RKZFcjs.cn.call(void 0, "flex flex-col gap-[var(--spacing-system-xsf)] w-full", className), children: [
40037
40101
  rows.map((row, index) => {
40038
40102
  const item = row.original;
40039
- const href = _nullishCoalesce(_optionalChain([rowHref, 'optionalCall', _842 => _842(item)]), () => ( void 0));
40103
+ const href = _nullishCoalesce(_optionalChain([rowHref, 'optionalCall', _849 => _849(item)]), () => ( void 0));
40040
40104
  const cls = typeof rowClassName === "function" ? rowClassName(item, index) : rowClassName;
40041
40105
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
40042
40106
  DataTableRow,
@@ -40047,7 +40111,7 @@ function DataTableBody({
40047
40111
  compact,
40048
40112
  autoHeight,
40049
40113
  className: cls,
40050
- subRow: _optionalChain([renderSubRow, 'optionalCall', _843 => _843(item)])
40114
+ subRow: _optionalChain([renderSubRow, 'optionalCall', _850 => _850(item)])
40051
40115
  },
40052
40116
  row.id
40053
40117
  );
@@ -40102,7 +40166,7 @@ function DataTableInfiniteFooter({
40102
40166
  if (!sentinel) return;
40103
40167
  const observer = new IntersectionObserver(
40104
40168
  (entries) => {
40105
- if (_optionalChain([entries, 'access', _844 => _844[0], 'optionalAccess', _845 => _845.isIntersecting])) onLoadMoreRef.current();
40169
+ if (_optionalChain([entries, 'access', _851 => _851[0], 'optionalAccess', _852 => _852.isIntersecting])) onLoadMoreRef.current();
40106
40170
  },
40107
40171
  { rootMargin }
40108
40172
  );
@@ -40150,7 +40214,7 @@ function DataTableRowCount({
40150
40214
  const table = useDataTableContext();
40151
40215
  const count = _nullishCoalesce(totalCount, () => ( table.getRowModel().rows.length));
40152
40216
  if (hideWhenEmpty && count === 0) return null;
40153
- const label = _nullishCoalesce(_optionalChain([pluralize, 'optionalCall', _846 => _846(count, itemName)]), () => ( (count === 1 ? itemName : `${itemName}s`)));
40217
+ const label = _nullishCoalesce(_optionalChain([pluralize, 'optionalCall', _853 => _853(count, itemName)]), () => ( (count === 1 ? itemName : `${itemName}s`)));
40154
40218
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
40155
40219
  "span",
40156
40220
  {
@@ -40309,7 +40373,7 @@ function SearchInput({
40309
40373
  if (!showHiddenTags) return;
40310
40374
  const handleClick = (e) => {
40311
40375
  const target = e.target;
40312
- if (!_optionalChain([hiddenTagsRef, 'access', _847 => _847.current, 'optionalAccess', _848 => _848.contains, 'call', _849 => _849(target)]) && !_optionalChain([hiddenTagsPopupRef, 'access', _850 => _850.current, 'optionalAccess', _851 => _851.contains, 'call', _852 => _852(target)])) {
40376
+ if (!_optionalChain([hiddenTagsRef, 'access', _854 => _854.current, 'optionalAccess', _855 => _855.contains, 'call', _856 => _856(target)]) && !_optionalChain([hiddenTagsPopupRef, 'access', _857 => _857.current, 'optionalAccess', _858 => _858.contains, 'call', _859 => _859(target)])) {
40313
40377
  setShowHiddenTags(false);
40314
40378
  }
40315
40379
  };
@@ -40357,10 +40421,10 @@ function SearchInput({
40357
40421
  } else {
40358
40422
  setInternalValue("");
40359
40423
  }
40360
- _optionalChain([inputRef, 'access', _853 => _853.current, 'optionalAccess', _854 => _854.focus, 'call', _855 => _855()]);
40424
+ _optionalChain([inputRef, 'access', _860 => _860.current, 'optionalAccess', _861 => _861.focus, 'call', _862 => _862()]);
40361
40425
  };
40362
40426
  const handleResultClick = (result, e) => {
40363
- _optionalChain([onResultSelect, 'optionalCall', _856 => _856(
40427
+ _optionalChain([onResultSelect, 'optionalCall', _863 => _863(
40364
40428
  result,
40365
40429
  e ? {
40366
40430
  metaKey: e.metaKey,
@@ -40392,7 +40456,7 @@ function SearchInput({
40392
40456
  if (highlightedIndex >= 0 && flatResults[highlightedIndex]) {
40393
40457
  handleResultClick(flatResults[highlightedIndex]);
40394
40458
  } else {
40395
- _optionalChain([onSubmit, 'optionalCall', _857 => _857(currentValue)]);
40459
+ _optionalChain([onSubmit, 'optionalCall', _864 => _864(currentValue)]);
40396
40460
  }
40397
40461
  break;
40398
40462
  case "Escape":
@@ -40470,7 +40534,7 @@ function SearchInput({
40470
40534
  dropdownVisible && "!border-ods-accent"
40471
40535
  ),
40472
40536
  onClick: () => {
40473
- _optionalChain([inputRef, 'access', _858 => _858.current, 'optionalAccess', _859 => _859.focus, 'call', _860 => _860()]);
40537
+ _optionalChain([inputRef, 'access', _865 => _865.current, 'optionalAccess', _866 => _866.focus, 'call', _867 => _867()]);
40474
40538
  setIsOpen(true);
40475
40539
  },
40476
40540
  children: [
@@ -40554,10 +40618,10 @@ function SearchInput({
40554
40618
  align: "start",
40555
40619
  onOpenAutoFocus: (e) => {
40556
40620
  e.preventDefault();
40557
- _optionalChain([inputRef, 'access', _861 => _861.current, 'optionalAccess', _862 => _862.focus, 'call', _863 => _863()]);
40621
+ _optionalChain([inputRef, 'access', _868 => _868.current, 'optionalAccess', _869 => _869.focus, 'call', _870 => _870()]);
40558
40622
  },
40559
40623
  onInteractOutside: (e) => {
40560
- if (_optionalChain([containerRef, 'access', _864 => _864.current, 'optionalAccess', _865 => _865.contains, 'call', _866 => _866(e.target)])) {
40624
+ if (_optionalChain([containerRef, 'access', _871 => _871.current, 'optionalAccess', _872 => _872.contains, 'call', _873 => _873(e.target)])) {
40561
40625
  e.preventDefault();
40562
40626
  }
40563
40627
  },
@@ -40574,10 +40638,10 @@ function SearchInput({
40574
40638
  ref: hiddenTagsPopupRef,
40575
40639
  items: hiddenChips.map((chip) => ({ label: chip.label, value: chip.id })),
40576
40640
  style: {
40577
- left: badgeRef.current ? badgeRef.current.getBoundingClientRect().left - (_nullishCoalesce(_optionalChain([containerRef, 'access', _867 => _867.current, 'optionalAccess', _868 => _868.getBoundingClientRect, 'call', _869 => _869(), 'access', _870 => _870.left]), () => ( 0))) : 0
40641
+ left: badgeRef.current ? badgeRef.current.getBoundingClientRect().left - (_nullishCoalesce(_optionalChain([containerRef, 'access', _874 => _874.current, 'optionalAccess', _875 => _875.getBoundingClientRect, 'call', _876 => _876(), 'access', _877 => _877.left]), () => ( 0))) : 0
40578
40642
  },
40579
40643
  onRemove: (value2) => {
40580
- _optionalChain([onFilterRemove, 'optionalCall', _871 => _871(value2)]);
40644
+ _optionalChain([onFilterRemove, 'optionalCall', _878 => _878(value2)]);
40581
40645
  if (hiddenCount <= 1) setShowHiddenTags(false);
40582
40646
  }
40583
40647
  }
@@ -40628,7 +40692,7 @@ function FilterListItem({
40628
40692
  }) {
40629
40693
  const handleToggle = () => {
40630
40694
  if (disabled) return;
40631
- _optionalChain([onToggle, 'optionalCall', _872 => _872(!selected)]);
40695
+ _optionalChain([onToggle, 'optionalCall', _879 => _879(!selected)]);
40632
40696
  };
40633
40697
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
40634
40698
  "div",
@@ -40675,7 +40739,7 @@ function FilterListItem({
40675
40739
  CheckboxPrimitive4.Root,
40676
40740
  {
40677
40741
  checked: selected,
40678
- onCheckedChange: (c) => _optionalChain([onToggle, 'optionalCall', _873 => _873(c === true)]),
40742
+ onCheckedChange: (c) => _optionalChain([onToggle, 'optionalCall', _880 => _880(c === true)]),
40679
40743
  onClick: (e) => e.stopPropagation(),
40680
40744
  disabled,
40681
40745
  "aria-label": title,
@@ -40774,7 +40838,7 @@ function TagSearchInput({
40774
40838
  if (!showHiddenTags) return;
40775
40839
  const handleClick = (e) => {
40776
40840
  const target = e.target;
40777
- if (!_optionalChain([hiddenTagsRef, 'access', _874 => _874.current, 'optionalAccess', _875 => _875.contains, 'call', _876 => _876(target)]) && !_optionalChain([hiddenTagsPopupRef, 'access', _877 => _877.current, 'optionalAccess', _878 => _878.contains, 'call', _879 => _879(target)])) {
40841
+ if (!_optionalChain([hiddenTagsRef, 'access', _881 => _881.current, 'optionalAccess', _882 => _882.contains, 'call', _883 => _883(target)]) && !_optionalChain([hiddenTagsPopupRef, 'access', _884 => _884.current, 'optionalAccess', _885 => _885.contains, 'call', _886 => _886(target)])) {
40778
40842
  setShowHiddenTags(false);
40779
40843
  }
40780
40844
  };
@@ -40790,13 +40854,13 @@ function TagSearchInput({
40790
40854
  e.preventDefault();
40791
40855
  onSubmit(searchValue);
40792
40856
  }
40793
- _optionalChain([onKeyDown, 'optionalCall', _880 => _880(e)]);
40857
+ _optionalChain([onKeyDown, 'optionalCall', _887 => _887(e)]);
40794
40858
  };
40795
40859
  const handleClearAll = (e) => {
40796
40860
  e.stopPropagation();
40797
40861
  e.preventDefault();
40798
- _optionalChain([onClearAll, 'optionalCall', _881 => _881()]);
40799
- _optionalChain([inputRef, 'access', _882 => _882.current, 'optionalAccess', _883 => _883.focus, 'call', _884 => _884()]);
40862
+ _optionalChain([onClearAll, 'optionalCall', _888 => _888()]);
40863
+ _optionalChain([inputRef, 'access', _889 => _889.current, 'optionalAccess', _890 => _890.focus, 'call', _891 => _891()]);
40800
40864
  };
40801
40865
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { ref: wrapperRef, className: "relative", children: [
40802
40866
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
@@ -40813,7 +40877,7 @@ function TagSearchInput({
40813
40877
  className
40814
40878
  ),
40815
40879
  onClick: () => {
40816
- if (!disabled) _optionalChain([inputRef, 'access', _885 => _885.current, 'optionalAccess', _886 => _886.focus, 'call', _887 => _887()]);
40880
+ if (!disabled) _optionalChain([inputRef, 'access', _892 => _892.current, 'optionalAccess', _893 => _893.focus, 'call', _894 => _894()]);
40817
40881
  },
40818
40882
  children: [
40819
40883
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "shrink-0 flex items-center pl-3", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWZW7C7TFcjs.SearchIcon, { className: "text-ods-text-secondary size-4 md:size-6" }) }),
@@ -40885,7 +40949,7 @@ function TagSearchInput({
40885
40949
  items: hiddenTags,
40886
40950
  disabled,
40887
40951
  style: {
40888
- left: badgeRef.current ? badgeRef.current.getBoundingClientRect().left - (_nullishCoalesce(_optionalChain([wrapperRef, 'access', _888 => _888.current, 'optionalAccess', _889 => _889.getBoundingClientRect, 'call', _890 => _890(), 'access', _891 => _891.left]), () => ( 0))) : 0
40952
+ left: badgeRef.current ? badgeRef.current.getBoundingClientRect().left - (_nullishCoalesce(_optionalChain([wrapperRef, 'access', _895 => _895.current, 'optionalAccess', _896 => _896.getBoundingClientRect, 'call', _897 => _897(), 'access', _898 => _898.left]), () => ( 0))) : 0
40889
40953
  },
40890
40954
  onRemove: (value) => {
40891
40955
  onTagRemove(value);
@@ -40986,7 +41050,7 @@ function MarkdownEditor({
40986
41050
  const [defaultExtraCommands, setDefaultExtraCommands] = _react.useState.call(void 0, []);
40987
41051
  _react.useEffect.call(void 0, () => {
40988
41052
  Promise.resolve().then(() => _interopRequireWildcard(require("@uiw/react-md-editor"))).then((mod) => {
40989
- if (_optionalChain([mod, 'access', _892 => _892.commands, 'optionalAccess', _893 => _893.getExtraCommands])) {
41053
+ if (_optionalChain([mod, 'access', _899 => _899.commands, 'optionalAccess', _900 => _900.getExtraCommands])) {
40990
41054
  setDefaultExtraCommands(mod.commands.getExtraCommands());
40991
41055
  }
40992
41056
  });
@@ -41020,7 +41084,7 @@ function MarkdownEditor({
41020
41084
  const isImage = file.type.startsWith("image/");
41021
41085
  const markdown = isImage ? `![${file.name}](${url})` : `[${file.name}](${url})`;
41022
41086
  insertTextAtCursor(markdown);
41023
- _optionalChain([onFileUploaded, 'optionalCall', _894 => _894(url, file.name)]);
41087
+ _optionalChain([onFileUploaded, 'optionalCall', _901 => _901(url, file.name)]);
41024
41088
  } catch (error) {
41025
41089
  console.error("File upload failed:", error);
41026
41090
  setUploadProgress("Upload failed. Please try again.");
@@ -41033,7 +41097,7 @@ function MarkdownEditor({
41033
41097
  );
41034
41098
  const handleFileInputChange = _react.useCallback.call(void 0,
41035
41099
  (e) => {
41036
- const file = _optionalChain([e, 'access', _895 => _895.target, 'access', _896 => _896.files, 'optionalAccess', _897 => _897[0]]);
41100
+ const file = _optionalChain([e, 'access', _902 => _902.target, 'access', _903 => _903.files, 'optionalAccess', _904 => _904[0]]);
41037
41101
  if (file) {
41038
41102
  handleFileUpload(file);
41039
41103
  e.target.value = "";
@@ -41044,7 +41108,7 @@ function MarkdownEditor({
41044
41108
  const handlePaste = _react.useCallback.call(void 0,
41045
41109
  (e) => {
41046
41110
  if (!onUploadFile) return;
41047
- const items = _optionalChain([e, 'access', _898 => _898.clipboardData, 'optionalAccess', _899 => _899.items]);
41111
+ const items = _optionalChain([e, 'access', _905 => _905.clipboardData, 'optionalAccess', _906 => _906.items]);
41048
41112
  if (!items) return;
41049
41113
  for (const item of items) {
41050
41114
  if (item.type.startsWith("image/")) {
@@ -41069,7 +41133,7 @@ function MarkdownEditor({
41069
41133
  buttonProps: { "aria-label": "Upload file", title: "Upload file" },
41070
41134
  icon: isUploading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Loader2, { className: "w-3 h-3 animate-spin" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Upload, { className: "w-3 h-3" }),
41071
41135
  execute: () => {
41072
- _optionalChain([fileInputRef, 'access', _900 => _900.current, 'optionalAccess', _901 => _901.click, 'call', _902 => _902()]);
41136
+ _optionalChain([fileInputRef, 'access', _907 => _907.current, 'optionalAccess', _908 => _908.click, 'call', _909 => _909()]);
41073
41137
  }
41074
41138
  } : null;
41075
41139
  const extraCommands = uploadCommand ? [...defaultExtraCommands, uploadCommand] : defaultExtraCommands;
@@ -41081,7 +41145,7 @@ function MarkdownEditor({
41081
41145
  const EDGE_ZONE = 60;
41082
41146
  const MAX_SCROLL_SPEED = 15;
41083
41147
  const findScrollParent = _react.useCallback.call(void 0, (el) => {
41084
- let node = _optionalChain([el, 'optionalAccess', _903 => _903.parentElement]);
41148
+ let node = _optionalChain([el, 'optionalAccess', _910 => _910.parentElement]);
41085
41149
  while (node && node !== document.documentElement) {
41086
41150
  const { overflowY } = window.getComputedStyle(node);
41087
41151
  if ((overflowY === "auto" || overflowY === "scroll") && node.scrollHeight > node.clientHeight) {
@@ -41224,7 +41288,7 @@ function matchesAccept(file, accept) {
41224
41288
  });
41225
41289
  }
41226
41290
  function dragHasFiles(e) {
41227
- const types = _optionalChain([e, 'access', _904 => _904.dataTransfer, 'optionalAccess', _905 => _905.types]);
41291
+ const types = _optionalChain([e, 'access', _911 => _911.dataTransfer, 'optionalAccess', _912 => _912.types]);
41228
41292
  if (!types) return false;
41229
41293
  for (let i = 0; i < types.length; i++) {
41230
41294
  if (types[i] === "Files") return true;
@@ -41320,7 +41384,7 @@ function FileUpload({
41320
41384
  e.stopPropagation();
41321
41385
  setDragActive(false);
41322
41386
  if (disabled) return;
41323
- if (_optionalChain([e, 'access', _906 => _906.dataTransfer, 'access', _907 => _907.files, 'optionalAccess', _908 => _908.length])) {
41387
+ if (_optionalChain([e, 'access', _913 => _913.dataTransfer, 'access', _914 => _914.files, 'optionalAccess', _915 => _915.length])) {
41324
41388
  handleFiles(e.dataTransfer.files);
41325
41389
  }
41326
41390
  };
@@ -41348,7 +41412,7 @@ function FileUpload({
41348
41412
  e.preventDefault();
41349
41413
  dragCounter = 0;
41350
41414
  setDragActive(false);
41351
- if (_optionalChain([e, 'access', _909 => _909.dataTransfer, 'optionalAccess', _910 => _910.files, 'optionalAccess', _911 => _911.length])) {
41415
+ if (_optionalChain([e, 'access', _916 => _916.dataTransfer, 'optionalAccess', _917 => _917.files, 'optionalAccess', _918 => _918.length])) {
41352
41416
  handleFilesRef.current(e.dataTransfer.files);
41353
41417
  }
41354
41418
  };
@@ -41370,7 +41434,7 @@ function FileUpload({
41370
41434
  };
41371
41435
  }, [acceptWindowDrops, disabled]);
41372
41436
  const handleFileSelect = (e) => {
41373
- if (_optionalChain([e, 'access', _912 => _912.target, 'access', _913 => _913.files, 'optionalAccess', _914 => _914.length])) {
41437
+ if (_optionalChain([e, 'access', _919 => _919.target, 'access', _920 => _920.files, 'optionalAccess', _921 => _921.length])) {
41374
41438
  handleFiles(e.target.files);
41375
41439
  }
41376
41440
  };
@@ -41387,7 +41451,7 @@ function FileUpload({
41387
41451
  };
41388
41452
  const openDialog = async () => {
41389
41453
  if (disabled) return;
41390
- _optionalChain([fileInputRef, 'access', _915 => _915.current, 'optionalAccess', _916 => _916.click, 'call', _917 => _917()]);
41454
+ _optionalChain([fileInputRef, 'access', _922 => _922.current, 'optionalAccess', _923 => _923.click, 'call', _924 => _924()]);
41391
41455
  };
41392
41456
  const displayError = error || validationError || void 0;
41393
41457
  const hasFiles = isManaged ? managedFiles.length > 0 : files.length > 0;
@@ -41449,7 +41513,7 @@ function FileUpload({
41449
41513
  "button",
41450
41514
  {
41451
41515
  type: "button",
41452
- onClick: () => _optionalChain([onRemoveManagedFile, 'optionalCall', _918 => _918(entry.id)]),
41516
+ onClick: () => _optionalChain([onRemoveManagedFile, 'optionalCall', _925 => _925(entry.id)]),
41453
41517
  className: "shrink-0 text-ods-error hover:opacity-80 transition-opacity",
41454
41518
  "aria-label": `Remove ${entry.fileName}`,
41455
41519
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGD345ZVcjs.TrashIcon, { className: "size-6" })
@@ -41580,7 +41644,7 @@ function ImageUploader({
41580
41644
  onChange(file);
41581
41645
  };
41582
41646
  const handleFileSelect = (e) => {
41583
- validateAndEmit(_optionalChain([e, 'access', _919 => _919.target, 'access', _920 => _920.files, 'optionalAccess', _921 => _921[0]]));
41647
+ validateAndEmit(_optionalChain([e, 'access', _926 => _926.target, 'access', _927 => _927.files, 'optionalAccess', _928 => _928[0]]));
41584
41648
  if (inputRef.current) inputRef.current.value = "";
41585
41649
  };
41586
41650
  const handleDrag = (e) => {
@@ -41595,11 +41659,11 @@ function ImageUploader({
41595
41659
  e.stopPropagation();
41596
41660
  setDragActive(false);
41597
41661
  if (!interactive) return;
41598
- validateAndEmit(_optionalChain([e, 'access', _922 => _922.dataTransfer, 'access', _923 => _923.files, 'optionalAccess', _924 => _924[0]]));
41662
+ validateAndEmit(_optionalChain([e, 'access', _929 => _929.dataTransfer, 'access', _930 => _930.files, 'optionalAccess', _931 => _931[0]]));
41599
41663
  };
41600
41664
  const openDialog = () => {
41601
41665
  if (!interactive) return;
41602
- _optionalChain([inputRef, 'access', _925 => _925.current, 'optionalAccess', _926 => _926.click, 'call', _927 => _927()]);
41666
+ _optionalChain([inputRef, 'access', _932 => _932.current, 'optionalAccess', _933 => _933.click, 'call', _934 => _934()]);
41603
41667
  };
41604
41668
  const handleRootKeyDown = (e) => {
41605
41669
  if (hasImage || !interactive) return;
@@ -41790,8 +41854,8 @@ function ColorPresetSelect({
41790
41854
  }) {
41791
41855
  const selectedPreset = presets.find((p) => p.key === presetKey);
41792
41856
  const isCustom = !selectedPreset;
41793
- const displayLabel = _nullishCoalesce(_optionalChain([selectedPreset, 'optionalAccess', _928 => _928.label]), () => ( "Custom"));
41794
- const displayColor = _nullishCoalesce(_optionalChain([selectedPreset, 'optionalAccess', _929 => _929.color]), () => ( value));
41857
+ const displayLabel = _nullishCoalesce(_optionalChain([selectedPreset, 'optionalAccess', _935 => _935.label]), () => ( "Custom"));
41858
+ const displayColor = _nullishCoalesce(_optionalChain([selectedPreset, 'optionalAccess', _936 => _936.color]), () => ( value));
41795
41859
  const groups = [
41796
41860
  {
41797
41861
  items: [
@@ -42081,7 +42145,7 @@ function TicketStatusConfigRow({
42081
42145
  _chunkE6WANQ6Kcjs.Input,
42082
42146
  {
42083
42147
  value: name,
42084
- onChange: (e) => _optionalChain([onNameChange, 'optionalCall', _930 => _930(e.target.value)]),
42148
+ onChange: (e) => _optionalChain([onNameChange, 'optionalCall', _937 => _937(e.target.value)]),
42085
42149
  disabled: isSystem,
42086
42150
  readOnly: isSystem,
42087
42151
  "aria-label": "Status name",
@@ -42454,14 +42518,14 @@ function TicketInfoSection({
42454
42518
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
42455
42519
  SquareAvatar,
42456
42520
  {
42457
- src: _optionalChain([organization, 'optionalAccess', _931 => _931.imageSrc]),
42458
- alt: _optionalChain([organization, 'optionalAccess', _932 => _932.name]),
42459
- fallback: _optionalChain([organization, 'optionalAccess', _933 => _933.name]) || "Org",
42521
+ src: _optionalChain([organization, 'optionalAccess', _938 => _938.imageSrc]),
42522
+ alt: _optionalChain([organization, 'optionalAccess', _939 => _939.name]),
42523
+ fallback: _optionalChain([organization, 'optionalAccess', _940 => _940.name]) || "Org",
42460
42524
  size: "md",
42461
42525
  className: "shrink-0"
42462
42526
  }
42463
42527
  ),
42464
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, InfoCell2, { value: _optionalChain([organization, 'optionalAccess', _934 => _934.name]) || "Unassigned", label: "Organization" })
42528
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, InfoCell2, { value: _optionalChain([organization, 'optionalAccess', _941 => _941.name]) || "Unassigned", label: "Organization" })
42465
42529
  ] }),
42466
42530
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: assigned ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
42467
42531
  AssigneeDropdown,
@@ -42482,10 +42546,10 @@ function TicketInfoSection({
42482
42546
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
42483
42547
  InfoCell2,
42484
42548
  {
42485
- value: _optionalChain([device, 'optionalAccess', _935 => _935.name]) || "Unassigned",
42549
+ value: _optionalChain([device, 'optionalAccess', _942 => _942.name]) || "Unassigned",
42486
42550
  label: "Device",
42487
- icon: _optionalChain([device, 'optionalAccess', _936 => _936.icon]),
42488
- onClick: _optionalChain([device, 'optionalAccess', _937 => _937.onClick])
42551
+ icon: _optionalChain([device, 'optionalAccess', _943 => _943.icon]),
42552
+ onClick: _optionalChain([device, 'optionalAccess', _944 => _944.onClick])
42489
42553
  }
42490
42554
  ),
42491
42555
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-4 min-w-0", children: [
@@ -42815,7 +42879,7 @@ function RoadmapCard({
42815
42879
  const compactHref = safeHref(_nullishCoalesce(href, () => ( null)));
42816
42880
  const hasVotes = (_nullishCoalesce(item.upvotes, () => ( 0))) > 0 || (_nullishCoalesce(item.downvotes, () => ( 0))) > 0;
42817
42881
  const hasFigma = !!item.figmaUrl;
42818
- const hasScreenshots = (_nullishCoalesce(_optionalChain([item, 'access', _938 => _938.screenshots, 'optionalAccess', _939 => _939.length]), () => ( 0))) > 0;
42882
+ const hasScreenshots = (_nullishCoalesce(_optionalChain([item, 'access', _945 => _945.screenshots, 'optionalAccess', _946 => _946.length]), () => ( 0))) > 0;
42819
42883
  const typeLabel = getTaskTypeLabel(item.customItemId);
42820
42884
  const useTypeIcon = cardType === "internal_task" || !iconSrc && item.customItemId != null;
42821
42885
  const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
@@ -42834,7 +42898,7 @@ function RoadmapCard({
42834
42898
  unoptimized: true,
42835
42899
  className: "h-8 w-8 object-contain"
42836
42900
  }
42837
- ) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-[10px] font-medium uppercase text-ods-text-secondary", children: _optionalChain([item, 'access', _940 => _940.title, 'optionalAccess', _941 => _941.substring, 'call', _942 => _942(0, 2)]) || "??" })
42901
+ ) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-[10px] font-medium uppercase text-ods-text-secondary", children: _optionalChain([item, 'access', _947 => _947.title, 'optionalAccess', _948 => _948.substring, 'call', _949 => _949(0, 2)]) || "??" })
42838
42902
  }
42839
42903
  ),
42840
42904
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: COMPACT_CARD_TEXT_COL, children: [
@@ -42909,7 +42973,7 @@ function RoadmapCard({
42909
42973
  unoptimized: true,
42910
42974
  className: "object-contain p-1"
42911
42975
  }
42912
- ) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-xs font-medium uppercase text-ods-text-secondary", children: _optionalChain([item, 'access', _943 => _943.title, 'optionalAccess', _944 => _944.substring, 'call', _945 => _945(0, 2)]) || "??" }) }),
42976
+ ) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-xs font-medium uppercase text-ods-text-secondary", children: _optionalChain([item, 'access', _950 => _950.title, 'optionalAccess', _951 => _951.substring, 'call', _952 => _952(0, 2)]) || "??" }) }),
42913
42977
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-1 min-w-0 flex flex-col", children: [
42914
42978
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-h-[48px] flex items-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "text-h3 text-ods-text-primary tracking-[-0.36px] flex-1 line-clamp-2", children: item.title }) }),
42915
42979
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-h-[20px] flex items-center", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "text-h5 text-ods-text-secondary uppercase tracking-[-0.28px] truncate", children: [
@@ -43419,7 +43483,7 @@ function DataRoomDocCard({ item, className, badgeText, anchorProps }) {
43419
43483
  ] }) : null,
43420
43484
  item.preview ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "line-clamp-2 whitespace-pre-wrap break-words text-[13px] leading-5 text-ods-text-secondary", children: item.preview }) }) : null
43421
43485
  ] }),
43422
- _optionalChain([anchorProps, 'optionalAccess', _946 => _946.href]) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex shrink-0 items-center self-start h-5 text-ods-text-secondary", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ExternalLink, { className: "w-3.5 h-3.5" }) }) : null
43486
+ _optionalChain([anchorProps, 'optionalAccess', _953 => _953.href]) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex shrink-0 items-center self-start h-5 text-ods-text-secondary", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ExternalLink, { className: "w-3.5 h-3.5" }) }) : null
43423
43487
  ] });
43424
43488
  if (!anchorProps) {
43425
43489
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
@@ -43489,7 +43553,7 @@ function getDefaultOptions() {
43489
43553
  // node_modules/date-fns/startOfWeek.mjs
43490
43554
  function startOfWeek(date, options) {
43491
43555
  const defaultOptions2 = getDefaultOptions();
43492
- const weekStartsOn = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _947 => _947.weekStartsOn]), () => ( _optionalChain([options, 'optionalAccess', _948 => _948.locale, 'optionalAccess', _949 => _949.options, 'optionalAccess', _950 => _950.weekStartsOn]))), () => ( defaultOptions2.weekStartsOn)), () => ( _optionalChain([defaultOptions2, 'access', _951 => _951.locale, 'optionalAccess', _952 => _952.options, 'optionalAccess', _953 => _953.weekStartsOn]))), () => ( 0));
43556
+ const weekStartsOn = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _954 => _954.weekStartsOn]), () => ( _optionalChain([options, 'optionalAccess', _955 => _955.locale, 'optionalAccess', _956 => _956.options, 'optionalAccess', _957 => _957.weekStartsOn]))), () => ( defaultOptions2.weekStartsOn)), () => ( _optionalChain([defaultOptions2, 'access', _958 => _958.locale, 'optionalAccess', _959 => _959.options, 'optionalAccess', _960 => _960.weekStartsOn]))), () => ( 0));
43493
43557
  const _date = toDate2(date);
43494
43558
  const day = _date.getDay();
43495
43559
  const diff = (day < weekStartsOn ? 7 : 0) + day - weekStartsOn;
@@ -43664,7 +43728,7 @@ var formatDistance = (token, count, options) => {
43664
43728
  } else {
43665
43729
  result = tokenValue.other.replace("{{count}}", count.toString());
43666
43730
  }
43667
- if (_optionalChain([options, 'optionalAccess', _954 => _954.addSuffix])) {
43731
+ if (_optionalChain([options, 'optionalAccess', _961 => _961.addSuffix])) {
43668
43732
  if (options.comparison && options.comparison > 0) {
43669
43733
  return "in " + result;
43670
43734
  } else {
@@ -43731,15 +43795,15 @@ var formatRelative = (token, _date, _baseDate, _options) => formatRelativeLocale
43731
43795
  // node_modules/date-fns/locale/_lib/buildLocalizeFn.mjs
43732
43796
  function buildLocalizeFn(args) {
43733
43797
  return (value, options) => {
43734
- const context = _optionalChain([options, 'optionalAccess', _955 => _955.context]) ? String(options.context) : "standalone";
43798
+ const context = _optionalChain([options, 'optionalAccess', _962 => _962.context]) ? String(options.context) : "standalone";
43735
43799
  let valuesArray;
43736
43800
  if (context === "formatting" && args.formattingValues) {
43737
43801
  const defaultWidth = args.defaultFormattingWidth || args.defaultWidth;
43738
- const width = _optionalChain([options, 'optionalAccess', _956 => _956.width]) ? String(options.width) : defaultWidth;
43802
+ const width = _optionalChain([options, 'optionalAccess', _963 => _963.width]) ? String(options.width) : defaultWidth;
43739
43803
  valuesArray = args.formattingValues[width] || args.formattingValues[defaultWidth];
43740
43804
  } else {
43741
43805
  const defaultWidth = args.defaultWidth;
43742
- const width = _optionalChain([options, 'optionalAccess', _957 => _957.width]) ? String(options.width) : args.defaultWidth;
43806
+ const width = _optionalChain([options, 'optionalAccess', _964 => _964.width]) ? String(options.width) : args.defaultWidth;
43743
43807
  valuesArray = args.values[width] || args.values[defaultWidth];
43744
43808
  }
43745
43809
  const index = args.argumentCallback ? args.argumentCallback(value) : value;
@@ -44119,7 +44183,7 @@ function getWeekYear(date, options) {
44119
44183
  const _date = toDate2(date);
44120
44184
  const year = _date.getFullYear();
44121
44185
  const defaultOptions2 = getDefaultOptions();
44122
- const firstWeekContainsDate = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _958 => _958.firstWeekContainsDate]), () => ( _optionalChain([options, 'optionalAccess', _959 => _959.locale, 'optionalAccess', _960 => _960.options, 'optionalAccess', _961 => _961.firstWeekContainsDate]))), () => ( defaultOptions2.firstWeekContainsDate)), () => ( _optionalChain([defaultOptions2, 'access', _962 => _962.locale, 'optionalAccess', _963 => _963.options, 'optionalAccess', _964 => _964.firstWeekContainsDate]))), () => ( 1));
44186
+ const firstWeekContainsDate = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _965 => _965.firstWeekContainsDate]), () => ( _optionalChain([options, 'optionalAccess', _966 => _966.locale, 'optionalAccess', _967 => _967.options, 'optionalAccess', _968 => _968.firstWeekContainsDate]))), () => ( defaultOptions2.firstWeekContainsDate)), () => ( _optionalChain([defaultOptions2, 'access', _969 => _969.locale, 'optionalAccess', _970 => _970.options, 'optionalAccess', _971 => _971.firstWeekContainsDate]))), () => ( 1));
44123
44187
  const firstWeekOfNextYear = constructFrom(date, 0);
44124
44188
  firstWeekOfNextYear.setFullYear(year + 1, 0, firstWeekContainsDate);
44125
44189
  firstWeekOfNextYear.setHours(0, 0, 0, 0);
@@ -44140,7 +44204,7 @@ function getWeekYear(date, options) {
44140
44204
  // node_modules/date-fns/startOfWeekYear.mjs
44141
44205
  function startOfWeekYear(date, options) {
44142
44206
  const defaultOptions2 = getDefaultOptions();
44143
- const firstWeekContainsDate = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _965 => _965.firstWeekContainsDate]), () => ( _optionalChain([options, 'optionalAccess', _966 => _966.locale, 'optionalAccess', _967 => _967.options, 'optionalAccess', _968 => _968.firstWeekContainsDate]))), () => ( defaultOptions2.firstWeekContainsDate)), () => ( _optionalChain([defaultOptions2, 'access', _969 => _969.locale, 'optionalAccess', _970 => _970.options, 'optionalAccess', _971 => _971.firstWeekContainsDate]))), () => ( 1));
44207
+ const firstWeekContainsDate = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _972 => _972.firstWeekContainsDate]), () => ( _optionalChain([options, 'optionalAccess', _973 => _973.locale, 'optionalAccess', _974 => _974.options, 'optionalAccess', _975 => _975.firstWeekContainsDate]))), () => ( defaultOptions2.firstWeekContainsDate)), () => ( _optionalChain([defaultOptions2, 'access', _976 => _976.locale, 'optionalAccess', _977 => _977.options, 'optionalAccess', _978 => _978.firstWeekContainsDate]))), () => ( 1));
44144
44208
  const year = getWeekYear(date, options);
44145
44209
  const firstWeek = constructFrom(date, 0);
44146
44210
  firstWeek.setFullYear(year, 0, firstWeekContainsDate);
@@ -44955,9 +45019,9 @@ var doubleQuoteRegExp = /''/g;
44955
45019
  var unescapedLatinCharacterRegExp = /[a-zA-Z]/;
44956
45020
  function format2(date, formatStr, options) {
44957
45021
  const defaultOptions2 = getDefaultOptions();
44958
- const locale = _nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _972 => _972.locale]), () => ( defaultOptions2.locale)), () => ( enUS));
44959
- const firstWeekContainsDate = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _973 => _973.firstWeekContainsDate]), () => ( _optionalChain([options, 'optionalAccess', _974 => _974.locale, 'optionalAccess', _975 => _975.options, 'optionalAccess', _976 => _976.firstWeekContainsDate]))), () => ( defaultOptions2.firstWeekContainsDate)), () => ( _optionalChain([defaultOptions2, 'access', _977 => _977.locale, 'optionalAccess', _978 => _978.options, 'optionalAccess', _979 => _979.firstWeekContainsDate]))), () => ( 1));
44960
- const weekStartsOn = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _980 => _980.weekStartsOn]), () => ( _optionalChain([options, 'optionalAccess', _981 => _981.locale, 'optionalAccess', _982 => _982.options, 'optionalAccess', _983 => _983.weekStartsOn]))), () => ( defaultOptions2.weekStartsOn)), () => ( _optionalChain([defaultOptions2, 'access', _984 => _984.locale, 'optionalAccess', _985 => _985.options, 'optionalAccess', _986 => _986.weekStartsOn]))), () => ( 0));
45022
+ const locale = _nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _979 => _979.locale]), () => ( defaultOptions2.locale)), () => ( enUS));
45023
+ const firstWeekContainsDate = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _980 => _980.firstWeekContainsDate]), () => ( _optionalChain([options, 'optionalAccess', _981 => _981.locale, 'optionalAccess', _982 => _982.options, 'optionalAccess', _983 => _983.firstWeekContainsDate]))), () => ( defaultOptions2.firstWeekContainsDate)), () => ( _optionalChain([defaultOptions2, 'access', _984 => _984.locale, 'optionalAccess', _985 => _985.options, 'optionalAccess', _986 => _986.firstWeekContainsDate]))), () => ( 1));
45024
+ const weekStartsOn = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _987 => _987.weekStartsOn]), () => ( _optionalChain([options, 'optionalAccess', _988 => _988.locale, 'optionalAccess', _989 => _989.options, 'optionalAccess', _990 => _990.weekStartsOn]))), () => ( defaultOptions2.weekStartsOn)), () => ( _optionalChain([defaultOptions2, 'access', _991 => _991.locale, 'optionalAccess', _992 => _992.options, 'optionalAccess', _993 => _993.weekStartsOn]))), () => ( 0));
44961
45025
  const originalDate = toDate2(date);
44962
45026
  if (!isValid(originalDate)) {
44963
45027
  throw new RangeError("Invalid time value");
@@ -44998,7 +45062,7 @@ function format2(date, formatStr, options) {
44998
45062
  return parts.map((part) => {
44999
45063
  if (!part.isToken) return part.value;
45000
45064
  const token = part.value;
45001
- if (!_optionalChain([options, 'optionalAccess', _987 => _987.useAdditionalWeekYearTokens]) && isProtectedWeekYearToken(token) || !_optionalChain([options, 'optionalAccess', _988 => _988.useAdditionalDayOfYearTokens]) && isProtectedDayOfYearToken(token)) {
45065
+ if (!_optionalChain([options, 'optionalAccess', _994 => _994.useAdditionalWeekYearTokens]) && isProtectedWeekYearToken(token) || !_optionalChain([options, 'optionalAccess', _995 => _995.useAdditionalDayOfYearTokens]) && isProtectedDayOfYearToken(token)) {
45002
45066
  warnOrThrowProtectedError(token, formatStr, String(date));
45003
45067
  }
45004
45068
  const formatter = formatters[token[0]];
@@ -45204,7 +45268,7 @@ function ProgramCard({
45204
45268
  const itemDate2 = compactDate;
45205
45269
  const compactCover = coverImage || placeholderUrl || null;
45206
45270
  const typeMeta = compactTypeMeta();
45207
- const subtitleParts = [itemDate2, typeMeta, _optionalChain([config, 'access', _989 => _989.labels, 'optionalAccess', _990 => _990.singular])].filter(
45271
+ const subtitleParts = [itemDate2, typeMeta, _optionalChain([config, 'access', _996 => _996.labels, 'optionalAccess', _997 => _997.singular])].filter(
45208
45272
  (s) => typeof s === "string" && s.length > 0
45209
45273
  );
45210
45274
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "a", { href, target, rel, className: _chunkFIG2RKZFcjs.cn.call(void 0, COMPACT_CARD_OUTER, className), children: [
@@ -45361,7 +45425,7 @@ function ProgramCard({
45361
45425
 
45362
45426
 
45363
45427
  function CampaignCardAdmin({ campaign, className, anchorProps }) {
45364
- const goalsCount = _optionalChain([campaign, 'access', _991 => _991.goals, 'optionalAccess', _992 => _992.length]) || 0;
45428
+ const goalsCount = _optionalChain([campaign, 'access', _998 => _998.goals, 'optionalAccess', _999 => _999.length]) || 0;
45365
45429
  const innerChildren = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
45366
45430
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: COMPACT_CARD_ICON_SLOT, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Megaphone, { className: "h-5 w-5" }) }),
45367
45431
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: COMPACT_CARD_TEXT_COL, children: [
@@ -45523,7 +45587,7 @@ function resolveSourceRowCTA(row, ctx = {}) {
45523
45587
  if (row.path && shouldFallbackToPathNav(row) && !row.externalUrl) {
45524
45588
  const safePath = sanitizePath(row.path);
45525
45589
  if (safePath) {
45526
- const docTarget = row.documentType ? _optionalChain([ctx, 'access', _993 => _993.docPlatformTargets, 'optionalAccess', _994 => _994[row.documentType]]) : void 0;
45590
+ const docTarget = row.documentType ? _optionalChain([ctx, 'access', _1000 => _1000.docPlatformTargets, 'optionalAccess', _1001 => _1001[row.documentType]]) : void 0;
45527
45591
  if (docTarget) {
45528
45592
  const seg = docTarget.basePath.split("/").filter(Boolean).join("/");
45529
45593
  const base = `${_chunkFIG2RKZFcjs.getBaseUrl.call(void 0, docTarget.platform)}${seg ? `/${seg}` : ""}/`;
@@ -45738,8 +45802,8 @@ function cardMenuGroups(href, discuss, openDetails) {
45738
45802
  if (href) {
45739
45803
  items.push({
45740
45804
  id: "open-details",
45741
- label: _nullishCoalesce(_optionalChain([openDetails, 'optionalAccess', _995 => _995.label]), () => ( "Open Details")),
45742
- icon: _nullishCoalesce(_optionalChain([openDetails, 'optionalAccess', _996 => _996.icon]), () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGD345ZVcjs.EyeIcon, { size: 20 }))),
45805
+ label: _nullishCoalesce(_optionalChain([openDetails, 'optionalAccess', _1002 => _1002.label]), () => ( "Open Details")),
45806
+ icon: _nullishCoalesce(_optionalChain([openDetails, 'optionalAccess', _1003 => _1003.icon]), () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGD345ZVcjs.EyeIcon, { size: 20 }))),
45743
45807
  // Main row → open the entity (same tab, soft Link nav).
45744
45808
  href,
45745
45809
  // Trailing 40px ↗ side-button → open in a new tab.
@@ -45769,8 +45833,8 @@ function HubspotTicketChatCard({
45769
45833
  isNewTab,
45770
45834
  discuss
45771
45835
  }) {
45772
- const status = typeof _optionalChain([chatRef, 'access', _997 => _997.metadata, 'optionalAccess', _998 => _998.status]) === "string" ? chatRef.metadata.status : void 0;
45773
- const statusLabel = typeof _optionalChain([chatRef, 'access', _999 => _999.metadata, 'optionalAccess', _1000 => _1000.statusLabel]) === "string" ? chatRef.metadata.statusLabel : void 0;
45836
+ const status = typeof _optionalChain([chatRef, 'access', _1004 => _1004.metadata, 'optionalAccess', _1005 => _1005.status]) === "string" ? chatRef.metadata.status : void 0;
45837
+ const statusLabel = typeof _optionalChain([chatRef, 'access', _1006 => _1006.metadata, 'optionalAccess', _1007 => _1007.statusLabel]) === "string" ? chatRef.metadata.statusLabel : void 0;
45774
45838
  const statusText = _nullishCoalesce(statusLabel, () => ( formatStatusToken(status)));
45775
45839
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
45776
45840
  MingoInfoCard,
@@ -45793,7 +45857,7 @@ function FaqChatCard({
45793
45857
  isNewTab,
45794
45858
  discuss
45795
45859
  }) {
45796
- const section = typeof _optionalChain([chatRef, 'access', _1001 => _1001.metadata, 'optionalAccess', _1002 => _1002.section]) === "string" ? chatRef.metadata.section.trim() : void 0;
45860
+ const section = typeof _optionalChain([chatRef, 'access', _1008 => _1008.metadata, 'optionalAccess', _1009 => _1009.section]) === "string" ? chatRef.metadata.section.trim() : void 0;
45797
45861
  const statusLabel = section && section.length > 0 ? section : "FAQ";
45798
45862
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
45799
45863
  MingoInfoCard,
@@ -45813,7 +45877,7 @@ function SlackChatCard({
45813
45877
  isNewTab,
45814
45878
  discuss
45815
45879
  }) {
45816
- const channelName = typeof _optionalChain([chatRef, 'access', _1003 => _1003.metadata, 'optionalAccess', _1004 => _1004.channelName]) === "string" ? chatRef.metadata.channelName.trim() : void 0;
45880
+ const channelName = typeof _optionalChain([chatRef, 'access', _1010 => _1010.metadata, 'optionalAccess', _1011 => _1011.channelName]) === "string" ? chatRef.metadata.channelName.trim() : void 0;
45817
45881
  const channelPretty = channelName ? channelName.startsWith("#") ? channelName : `#${channelName}` : void 0;
45818
45882
  const title = channelPretty ? `${chatRef.title} \xB7 ${channelPretty}` : chatRef.title;
45819
45883
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -45853,7 +45917,7 @@ function GenericFinancialChatCard({
45853
45917
  isNewTab,
45854
45918
  discuss
45855
45919
  }) {
45856
- const subtitle = typeof _optionalChain([chatRef, 'access', _1005 => _1005.metadata, 'optionalAccess', _1006 => _1006.subtitle]) === "string" ? chatRef.metadata.subtitle : void 0;
45920
+ const subtitle = typeof _optionalChain([chatRef, 'access', _1012 => _1012.metadata, 'optionalAccess', _1013 => _1013.subtitle]) === "string" ? chatRef.metadata.subtitle : void 0;
45857
45921
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
45858
45922
  MingoInfoCard,
45859
45923
  {
@@ -45922,12 +45986,12 @@ function ProductReleaseChatCard({
45922
45986
  discuss
45923
45987
  }) {
45924
45988
  const releaseProps = buildProps(item);
45925
- const status = _optionalChain([item, 'optionalAccess', _1007 => _1007.version]) ? { label: String(item.version), variant: "grey" } : { label: "Release", variant: "grey" };
45989
+ const status = _optionalChain([item, 'optionalAccess', _1014 => _1014.version]) ? { label: String(item.version), variant: "grey" } : { label: "Release", variant: "grey" };
45926
45990
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
45927
45991
  EntityMingoCard,
45928
45992
  {
45929
- title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _1008 => _1008.title]), () => ( "")),
45930
- description: _optionalChain([item, 'optionalAccess', _1009 => _1009.summary]) || releaseProps.formattedDate || void 0,
45993
+ title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _1015 => _1015.title]), () => ( "")),
45994
+ description: _optionalChain([item, 'optionalAccess', _1016 => _1016.summary]) || releaseProps.formattedDate || void 0,
45931
45995
  cover: releaseProps.coverImage || void 0,
45932
45996
  fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGD345ZVcjs.Rocket02Icon, { size: 24 }),
45933
45997
  status,
@@ -45944,17 +46008,17 @@ function CampaignChatCard({
45944
46008
  isNewTab,
45945
46009
  discuss
45946
46010
  }) {
45947
- const goalsCount = Array.isArray(_optionalChain([item, 'optionalAccess', _1010 => _1010.goals])) ? item.goals.length : 0;
46011
+ const goalsCount = Array.isArray(_optionalChain([item, 'optionalAccess', _1017 => _1017.goals])) ? item.goals.length : 0;
45948
46012
  const meta = [
45949
- _optionalChain([item, 'optionalAccess', _1011 => _1011.start_date]) ? formatDateShort(item.start_date) : null,
46013
+ _optionalChain([item, 'optionalAccess', _1018 => _1018.start_date]) ? formatDateShort(item.start_date) : null,
45950
46014
  goalsCount > 0 ? `${goalsCount} goal${goalsCount !== 1 ? "s" : ""}` : null,
45951
46015
  "Marketing campaign"
45952
46016
  ].filter(Boolean).join(" \xB7 ");
45953
46017
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
45954
46018
  EntityMingoCard,
45955
46019
  {
45956
- title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _1012 => _1012.name]), () => ( "")),
45957
- description: meta || _optionalChain([item, 'optionalAccess', _1013 => _1013.description]) || void 0,
46020
+ title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _1019 => _1019.name]), () => ( "")),
46021
+ description: meta || _optionalChain([item, 'optionalAccess', _1020 => _1020.description]) || void 0,
45958
46022
  fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGD345ZVcjs.Megaphone01Icon, { size: 24 }),
45959
46023
  chatRef,
45960
46024
  isNewTab,
@@ -46007,14 +46071,14 @@ function BlogChatCard({
46007
46071
  hasEmbeddedVideo,
46008
46072
  discuss
46009
46073
  }) {
46010
- const category = Array.isArray(_optionalChain([item, 'optionalAccess', _1014 => _1014.categories])) ? _optionalChain([item, 'access', _1015 => _1015.categories, 'access', _1016 => _1016.find, 'call', _1017 => _1017((c) => c && c.name), 'optionalAccess', _1018 => _1018.name]) : void 0;
46074
+ const category = Array.isArray(_optionalChain([item, 'optionalAccess', _1021 => _1021.categories])) ? _optionalChain([item, 'access', _1022 => _1022.categories, 'access', _1023 => _1023.find, 'call', _1024 => _1024((c) => c && c.name), 'optionalAccess', _1025 => _1025.name]) : void 0;
46011
46075
  const status = hasEmbeddedVideo ? { label: "Video", variant: "primary" } : category ? { label: category, variant: "grey" } : void 0;
46012
46076
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
46013
46077
  EntityMingoCard,
46014
46078
  {
46015
- title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _1019 => _1019.title]), () => ( "")),
46016
- description: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _1020 => _1020.summary]), () => ( void 0)),
46017
- cover: entityCover(_optionalChain([item, 'optionalAccess', _1021 => _1021.featured_image]), ogPlaceholder),
46079
+ title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _1026 => _1026.title]), () => ( "")),
46080
+ description: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _1027 => _1027.summary]), () => ( void 0)),
46081
+ cover: entityCover(_optionalChain([item, 'optionalAccess', _1028 => _1028.featured_image]), ogPlaceholder),
46018
46082
  fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGD345ZVcjs.NewspaperIcon, { size: 24 }),
46019
46083
  status,
46020
46084
  chatRef,
@@ -46031,13 +46095,13 @@ function CaseStudyChatCard({
46031
46095
  ogPlaceholder,
46032
46096
  discuss
46033
46097
  }) {
46034
- const meta = [_optionalChain([item, 'optionalAccess', _1022 => _1022.msp, 'optionalAccess', _1023 => _1023.name]), _optionalChain([item, 'optionalAccess', _1024 => _1024.user, 'optionalAccess', _1025 => _1025.full_name])].filter(Boolean).join(" \xB7 ");
46098
+ const meta = [_optionalChain([item, 'optionalAccess', _1029 => _1029.msp, 'optionalAccess', _1030 => _1030.name]), _optionalChain([item, 'optionalAccess', _1031 => _1031.user, 'optionalAccess', _1032 => _1032.full_name])].filter(Boolean).join(" \xB7 ");
46035
46099
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
46036
46100
  EntityMingoCard,
46037
46101
  {
46038
- title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _1026 => _1026.title]), () => ( "")),
46039
- description: _optionalChain([item, 'optionalAccess', _1027 => _1027.summary]) || meta || void 0,
46040
- cover: entityCover(_optionalChain([item, 'optionalAccess', _1028 => _1028.featured_image]), ogPlaceholder),
46102
+ title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _1033 => _1033.title]), () => ( "")),
46103
+ description: _optionalChain([item, 'optionalAccess', _1034 => _1034.summary]) || meta || void 0,
46104
+ cover: entityCover(_optionalChain([item, 'optionalAccess', _1035 => _1035.featured_image]), ogPlaceholder),
46041
46105
  fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGD345ZVcjs.TrophyIcon, { size: 24 }),
46042
46106
  status: { label: "Case study", variant: "grey" },
46043
46107
  chatRef,
@@ -46054,13 +46118,13 @@ function CustomerInterviewChatCard({
46054
46118
  ogPlaceholder,
46055
46119
  discuss
46056
46120
  }) {
46057
- const meta = [_optionalChain([item, 'optionalAccess', _1029 => _1029.user, 'optionalAccess', _1030 => _1030.full_name]), _optionalChain([item, 'optionalAccess', _1031 => _1031.msp, 'optionalAccess', _1032 => _1032.name])].filter(Boolean).join(" \xB7 ");
46121
+ const meta = [_optionalChain([item, 'optionalAccess', _1036 => _1036.user, 'optionalAccess', _1037 => _1037.full_name]), _optionalChain([item, 'optionalAccess', _1038 => _1038.msp, 'optionalAccess', _1039 => _1039.name])].filter(Boolean).join(" \xB7 ");
46058
46122
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
46059
46123
  EntityMingoCard,
46060
46124
  {
46061
- title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _1033 => _1033.title]), () => ( "")),
46062
- description: _optionalChain([item, 'optionalAccess', _1034 => _1034.video_summary]) || meta || void 0,
46063
- cover: entityCover(_optionalChain([item, 'optionalAccess', _1035 => _1035.featured_image]), ogPlaceholder),
46125
+ title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _1040 => _1040.title]), () => ( "")),
46126
+ description: _optionalChain([item, 'optionalAccess', _1041 => _1041.video_summary]) || meta || void 0,
46127
+ cover: entityCover(_optionalChain([item, 'optionalAccess', _1042 => _1042.featured_image]), ogPlaceholder),
46064
46128
  fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGD345ZVcjs.MicrophoneIcon, { size: 24 }),
46065
46129
  status: { label: "Interview", variant: "grey" },
46066
46130
  chatRef,
@@ -46077,13 +46141,13 @@ function InvestorUpdateChatCard({
46077
46141
  ogPlaceholder,
46078
46142
  discuss
46079
46143
  }) {
46080
- const title = _optionalChain([item, 'optionalAccess', _1036 => _1036.title]) || `Update #${_nullishCoalesce(_optionalChain([item, 'optionalAccess', _1037 => _1037.update_number]), () => ( "?"))}`;
46144
+ const title = _optionalChain([item, 'optionalAccess', _1043 => _1043.title]) || `Update #${_nullishCoalesce(_optionalChain([item, 'optionalAccess', _1044 => _1044.update_number]), () => ( "?"))}`;
46081
46145
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
46082
46146
  EntityMingoCard,
46083
46147
  {
46084
46148
  title,
46085
- description: _optionalChain([item, 'optionalAccess', _1038 => _1038.strategic_update]) || _optionalChain([item, 'optionalAccess', _1039 => _1039.content]) || formatInvestorUpdatePeriod(_optionalChain([item, 'optionalAccess', _1040 => _1040.period_start]), _optionalChain([item, 'optionalAccess', _1041 => _1041.period_end])) || void 0,
46086
- cover: entityCover(_optionalChain([item, 'optionalAccess', _1042 => _1042.featured_image]), ogPlaceholder),
46149
+ description: _optionalChain([item, 'optionalAccess', _1045 => _1045.strategic_update]) || _optionalChain([item, 'optionalAccess', _1046 => _1046.content]) || formatInvestorUpdatePeriod(_optionalChain([item, 'optionalAccess', _1047 => _1047.period_start]), _optionalChain([item, 'optionalAccess', _1048 => _1048.period_end])) || void 0,
46150
+ cover: entityCover(_optionalChain([item, 'optionalAccess', _1049 => _1049.featured_image]), ogPlaceholder),
46087
46151
  fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGD345ZVcjs.PresentationLineIcon, { size: 24 }),
46088
46152
  status: { label: "Investor update", variant: "grey" },
46089
46153
  chatRef,
@@ -46100,12 +46164,12 @@ function OnboardingGuideChatCard({
46100
46164
  ogPlaceholder,
46101
46165
  discuss
46102
46166
  }) {
46103
- const cover = _nullishCoalesce(_nullishCoalesce(entityCover(_optionalChain([item, 'optionalAccess', _1043 => _1043.featured_image])), () => ( entityCover(_optionalChain([item, 'optionalAccess', _1044 => _1044.main_video_thumbnail])))), () => ( entityCover(_optionalChain([item, 'optionalAccess', _1045 => _1045.og_image_url]), ogPlaceholder)));
46167
+ const cover = _nullishCoalesce(_nullishCoalesce(entityCover(_optionalChain([item, 'optionalAccess', _1050 => _1050.featured_image])), () => ( entityCover(_optionalChain([item, 'optionalAccess', _1051 => _1051.main_video_thumbnail])))), () => ( entityCover(_optionalChain([item, 'optionalAccess', _1052 => _1052.og_image_url]), ogPlaceholder)));
46104
46168
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
46105
46169
  EntityMingoCard,
46106
46170
  {
46107
- title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _1046 => _1046.title]), () => ( "")),
46108
- description: _nullishCoalesce(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _1047 => _1047.summary]), () => ( _optionalChain([item, 'optionalAccess', _1048 => _1048.description]))), () => ( void 0)),
46171
+ title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _1053 => _1053.title]), () => ( "")),
46172
+ description: _nullishCoalesce(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _1054 => _1054.summary]), () => ( _optionalChain([item, 'optionalAccess', _1055 => _1055.description]))), () => ( void 0)),
46109
46173
  cover,
46110
46174
  fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGD345ZVcjs.CompassIcon, { size: 24 }),
46111
46175
  status: { label: "Guide", variant: "grey" },
@@ -46126,25 +46190,25 @@ function ProgramChatCard({
46126
46190
  discuss
46127
46191
  }) {
46128
46192
  const icon = configKey === "webinar" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGD345ZVcjs.PresentationBarIcon, { size: 24 }) : configKey === "event" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGD345ZVcjs.CalendarIcon, { size: 24 }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGD345ZVcjs.MicrophoneIcon, { size: 24 });
46129
- const isScheduled = _optionalChain([item, 'optionalAccess', _1049 => _1049.status]) === "scheduled";
46193
+ const isScheduled = _optionalChain([item, 'optionalAccess', _1056 => _1056.status]) === "scheduled";
46130
46194
  let typeMeta;
46131
- if (configKey === "podcast" && typeof _optionalChain([item, 'optionalAccess', _1050 => _1050.duration_seconds]) === "number" && item.duration_seconds > 0 && !isScheduled) {
46195
+ if (configKey === "podcast" && typeof _optionalChain([item, 'optionalAccess', _1057 => _1057.duration_seconds]) === "number" && item.duration_seconds > 0 && !isScheduled) {
46132
46196
  typeMeta = formatDurationCompact(item.duration_seconds);
46133
- } else if (configKey === "event" && typeof _optionalChain([item, 'optionalAccess', _1051 => _1051.location_name]) === "string" && item.location_name.trim().length > 0) {
46197
+ } else if (configKey === "event" && typeof _optionalChain([item, 'optionalAccess', _1058 => _1058.location_name]) === "string" && item.location_name.trim().length > 0) {
46134
46198
  typeMeta = item.location_name;
46135
- } else if (configKey === "webinar" && _optionalChain([item, 'optionalAccess', _1052 => _1052.start_at])) {
46199
+ } else if (configKey === "webinar" && _optionalChain([item, 'optionalAccess', _1059 => _1059.start_at])) {
46136
46200
  const time = formatTimeWithTimezone(item.start_at, _nullishCoalesce(item.timezone, () => ( null)));
46137
46201
  const dur = formatDurationFromRange(item.start_at, item.end_at);
46138
46202
  typeMeta = dur ? `${time} \xB7 ${dur}` : time;
46139
46203
  }
46140
- const itemDate = formatDateUTC(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _1053 => _1053.date]), () => ( null)), { fallback: "", timezone: "local" });
46204
+ const itemDate = formatDateUTC(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _1060 => _1060.date]), () => ( null)), { fallback: "", timezone: "local" });
46141
46205
  const meta = [itemDate, typeMeta].filter(Boolean).join(" \xB7 ");
46142
46206
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
46143
46207
  EntityMingoCard,
46144
46208
  {
46145
- title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _1054 => _1054.title]), () => ( "")),
46146
- description: meta || _optionalChain([item, 'optionalAccess', _1055 => _1055.description]) || void 0,
46147
- cover: entityCover(_optionalChain([item, 'optionalAccess', _1056 => _1056.cover_url]), ogPlaceholder),
46209
+ title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _1061 => _1061.title]), () => ( "")),
46210
+ description: meta || _optionalChain([item, 'optionalAccess', _1062 => _1062.description]) || void 0,
46211
+ cover: entityCover(_optionalChain([item, 'optionalAccess', _1063 => _1063.cover_url]), ogPlaceholder),
46148
46212
  fallbackIcon: icon,
46149
46213
  status: { label, variant: "grey" },
46150
46214
  chatRef,
@@ -46161,10 +46225,10 @@ function RoadmapChatCard({
46161
46225
  cardType,
46162
46226
  discuss
46163
46227
  }) {
46164
- const logoUrl = typeof _optionalChain([item, 'optionalAccess', _1057 => _1057.icon]) === "string" && item.icon.startsWith("http") ? item.icon : void 0;
46165
- const useTypeIcon = cardType === "internal_task" || !logoUrl && _optionalChain([item, 'optionalAccess', _1058 => _1058.customItemId]) != null;
46228
+ const logoUrl = typeof _optionalChain([item, 'optionalAccess', _1064 => _1064.icon]) === "string" && item.icon.startsWith("http") ? item.icon : void 0;
46229
+ const useTypeIcon = cardType === "internal_task" || !logoUrl && _optionalChain([item, 'optionalAccess', _1065 => _1065.customItemId]) != null;
46166
46230
  const defaultIcon = cardType === "delivery_item" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGD345ZVcjs.TruckFastIcon, { size: 24 }) : cardType === "internal_task" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGD345ZVcjs.CheckSquareIcon, { size: 24 }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGD345ZVcjs.MapIcon, { size: 24 });
46167
- const icon = useTypeIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TaskTypeIcon, { customItemId: _optionalChain([item, 'optionalAccess', _1059 => _1059.customItemId]), className: "size-6" }) : logoUrl ? (
46231
+ const icon = useTypeIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TaskTypeIcon, { customItemId: _optionalChain([item, 'optionalAccess', _1066 => _1066.customItemId]), className: "size-6" }) : logoUrl ? (
46168
46232
  // Contained (not full-bleed) so the integration logo keeps its aspect
46169
46233
  // ratio inside the bordered icon box — matches RoadmapCard.
46170
46234
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "img", { src: logoUrl, alt: "", className: "size-6 object-contain" })
@@ -46172,10 +46236,10 @@ function RoadmapChatCard({
46172
46236
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
46173
46237
  EntityMingoCard,
46174
46238
  {
46175
- title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _1060 => _1060.title]), () => ( "")),
46176
- description: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _1061 => _1061.description]), () => ( void 0)),
46239
+ title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _1067 => _1067.title]), () => ( "")),
46240
+ description: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _1068 => _1068.description]), () => ( void 0)),
46177
46241
  fallbackIcon: icon,
46178
- status: statusPill(_optionalChain([item, 'optionalAccess', _1062 => _1062.status])),
46242
+ status: statusPill(_optionalChain([item, 'optionalAccess', _1069 => _1069.status])),
46179
46243
  chatRef,
46180
46244
  isNewTab,
46181
46245
  discuss,
@@ -46261,7 +46325,7 @@ function programRegistryEntries() {
46261
46325
  discuss: opts.discuss,
46262
46326
  configKey: cfg.configKey,
46263
46327
  label: cfg.configKey.charAt(0).toUpperCase() + cfg.configKey.slice(1),
46264
- ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _1063 => _1063.extras, 'optionalAccess', _1064 => _1064.buildOgPlaceholderUrl, 'optionalCall', _1065 => _1065(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _1066 => _1066.title]), () => ( "")))]), () => ( null))
46328
+ ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _1070 => _1070.extras, 'optionalAccess', _1071 => _1071.buildOgPlaceholderUrl, 'optionalCall', _1072 => _1072(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _1073 => _1073.title]), () => ( "")))]), () => ( null))
46265
46329
  }
46266
46330
  )
46267
46331
  };
@@ -46413,8 +46477,8 @@ var CHAT_CARD_REGISTRY = {
46413
46477
  chatRef,
46414
46478
  isNewTab: opts.isNewTab,
46415
46479
  discuss: opts.discuss,
46416
- ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _1067 => _1067.extras, 'optionalAccess', _1068 => _1068.buildOgPlaceholderUrl, 'optionalCall', _1069 => _1069(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _1070 => _1070.title]), () => ( "")))]), () => ( null)),
46417
- hasEmbeddedVideo: _optionalChain([chatRef, 'access', _1071 => _1071.metadata, 'optionalAccess', _1072 => _1072.hasEmbeddedVideo]) === true
46480
+ ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _1074 => _1074.extras, 'optionalAccess', _1075 => _1075.buildOgPlaceholderUrl, 'optionalCall', _1076 => _1076(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _1077 => _1077.title]), () => ( "")))]), () => ( null)),
46481
+ hasEmbeddedVideo: _optionalChain([chatRef, 'access', _1078 => _1078.metadata, 'optionalAccess', _1079 => _1079.hasEmbeddedVideo]) === true
46418
46482
  }
46419
46483
  )
46420
46484
  },
@@ -46431,7 +46495,7 @@ var CHAT_CARD_REGISTRY = {
46431
46495
  chatRef,
46432
46496
  isNewTab: opts.isNewTab,
46433
46497
  discuss: opts.discuss,
46434
- ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _1073 => _1073.extras, 'optionalAccess', _1074 => _1074.buildOgPlaceholderUrl, 'optionalCall', _1075 => _1075(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _1076 => _1076.title]), () => ( "")))]), () => ( null))
46498
+ ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _1080 => _1080.extras, 'optionalAccess', _1081 => _1081.buildOgPlaceholderUrl, 'optionalCall', _1082 => _1082(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _1083 => _1083.title]), () => ( "")))]), () => ( null))
46435
46499
  }
46436
46500
  )
46437
46501
  },
@@ -46448,7 +46512,7 @@ var CHAT_CARD_REGISTRY = {
46448
46512
  chatRef,
46449
46513
  isNewTab: opts.isNewTab,
46450
46514
  discuss: opts.discuss,
46451
- ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _1077 => _1077.extras, 'optionalAccess', _1078 => _1078.buildOgPlaceholderUrl, 'optionalCall', _1079 => _1079(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _1080 => _1080.title]), () => ( "")))]), () => ( null))
46515
+ ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _1084 => _1084.extras, 'optionalAccess', _1085 => _1085.buildOgPlaceholderUrl, 'optionalCall', _1086 => _1086(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _1087 => _1087.title]), () => ( "")))]), () => ( null))
46452
46516
  }
46453
46517
  )
46454
46518
  },
@@ -46459,7 +46523,7 @@ var CHAT_CARD_REGISTRY = {
46459
46523
  bareInline: true,
46460
46524
  skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ProductReleaseCardSkeleton, { size: "sm" }),
46461
46525
  render: (item, chatRef, opts) => {
46462
- const builder = _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _1081 => _1081.extras, 'optionalAccess', _1082 => _1082.buildProductReleaseCardProps]), () => ( defaultBuildProductReleaseCardProps));
46526
+ const builder = _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _1088 => _1088.extras, 'optionalAccess', _1089 => _1089.buildProductReleaseCardProps]), () => ( defaultBuildProductReleaseCardProps));
46463
46527
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
46464
46528
  ProductReleaseChatCard,
46465
46529
  {
@@ -46486,7 +46550,7 @@ var CHAT_CARD_REGISTRY = {
46486
46550
  chatRef,
46487
46551
  isNewTab: opts.isNewTab,
46488
46552
  discuss: opts.discuss,
46489
- ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _1083 => _1083.extras, 'optionalAccess', _1084 => _1084.buildOgPlaceholderUrl, 'optionalCall', _1085 => _1085(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _1086 => _1086.title]), () => ( "")))]), () => ( null))
46553
+ ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _1090 => _1090.extras, 'optionalAccess', _1091 => _1091.buildOgPlaceholderUrl, 'optionalCall', _1092 => _1092(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _1093 => _1093.title]), () => ( "")))]), () => ( null))
46490
46554
  }
46491
46555
  )
46492
46556
  },
@@ -46505,7 +46569,7 @@ var CHAT_CARD_REGISTRY = {
46505
46569
  chatRef,
46506
46570
  isNewTab: opts.isNewTab,
46507
46571
  discuss: opts.discuss,
46508
- ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _1087 => _1087.extras, 'optionalAccess', _1088 => _1088.buildOgPlaceholderUrl, 'optionalCall', _1089 => _1089(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _1090 => _1090.title]), () => ( "")))]), () => ( null))
46572
+ ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _1094 => _1094.extras, 'optionalAccess', _1095 => _1095.buildOgPlaceholderUrl, 'optionalCall', _1096 => _1096(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _1097 => _1097.title]), () => ( "")))]), () => ( null))
46509
46573
  }
46510
46574
  )
46511
46575
  },
@@ -46517,7 +46581,7 @@ var CHAT_CARD_REGISTRY = {
46517
46581
  skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CampaignCardAdminSkeleton, {}),
46518
46582
  // No public viewer — synthesize the hub-internal admin URL post-fetch
46519
46583
  // so the wrapper + isNewTab computation see the actual destination.
46520
- fallbackHref: (item) => _optionalChain([item, 'optionalAccess', _1091 => _1091.id]) ? `/admin/campaigns/${encodeURIComponent(item.id)}` : null,
46584
+ fallbackHref: (item) => _optionalChain([item, 'optionalAccess', _1098 => _1098.id]) ? `/admin/campaigns/${encodeURIComponent(item.id)}` : null,
46521
46585
  render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
46522
46586
  CampaignChatCard,
46523
46587
  {
@@ -46543,12 +46607,12 @@ function ChatCardNavWrap({
46543
46607
  const onClickCapture = (e) => {
46544
46608
  if (!href) return;
46545
46609
  const targetEl = e.target;
46546
- if (_optionalChain([targetEl, 'optionalAccess', _1092 => _1092.closest, 'optionalCall', _1093 => _1093("button")])) return;
46547
- if (!_optionalChain([targetEl, 'optionalAccess', _1094 => _1094.closest, 'optionalCall', _1095 => _1095("a")])) return;
46610
+ if (_optionalChain([targetEl, 'optionalAccess', _1099 => _1099.closest, 'optionalCall', _1100 => _1100("button")])) return;
46611
+ if (!_optionalChain([targetEl, 'optionalAccess', _1101 => _1101.closest, 'optionalCall', _1102 => _1102("a")])) return;
46548
46612
  const handled = handleChatNavClick(e, runtime, { href, path, targetPlatform }, router.push);
46549
46613
  if (!handled) return;
46550
46614
  e.stopPropagation();
46551
- if (!isNewTab && _optionalChain([panel, 'optionalAccess', _1096 => _1096.closeChat])) panel.closeChat();
46615
+ if (!isNewTab && _optionalChain([panel, 'optionalAccess', _1103 => _1103.closeChat])) panel.closeChat();
46552
46616
  };
46553
46617
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "contents", onClickCapture, children });
46554
46618
  }
@@ -46570,7 +46634,7 @@ function ChatCardLoader({
46570
46634
  title: chatRef.title,
46571
46635
  externalUrl: chatRef.url,
46572
46636
  targetPlatform: chatRef.targetPlatform,
46573
- path: typeof _optionalChain([chatRef, 'access', _1097 => _1097.metadata, 'optionalAccess', _1098 => _1098.path]) === "string" ? chatRef.metadata.path : null
46637
+ path: typeof _optionalChain([chatRef, 'access', _1104 => _1104.metadata, 'optionalAccess', _1105 => _1105.path]) === "string" ? chatRef.metadata.path : null
46574
46638
  },
46575
46639
  sourceRowCtxFromRuntime(runtime, { baseRoute, chipBasePlatform })
46576
46640
  );
@@ -46584,7 +46648,7 @@ function ChatCardLoader({
46584
46648
  const entry = CHAT_CARD_REGISTRY[resolvedChatRef.type];
46585
46649
  const fetchEntry = entry && entry.mode === "fetch" ? entry : null;
46586
46650
  const { item, isLoading } = useChatCardItem(
46587
- _nullishCoalesce(_optionalChain([fetchEntry, 'optionalAccess', _1099 => _1099.contentRefType]), () => ( "")),
46651
+ _nullishCoalesce(_optionalChain([fetchEntry, 'optionalAccess', _1106 => _1106.contentRefType]), () => ( "")),
46588
46652
  fetchEntry ? resolvedChatRef.id : ""
46589
46653
  );
46590
46654
  if (!entry) return null;
@@ -46615,7 +46679,7 @@ function ChatCardLoader({
46615
46679
  isNewTab,
46616
46680
  discuss
46617
46681
  };
46618
- const path = typeof _optionalChain([finalChatRef, 'access', _1100 => _1100.metadata, 'optionalAccess', _1101 => _1101.path]) === "string" ? finalChatRef.metadata.path : null;
46682
+ const path = typeof _optionalChain([finalChatRef, 'access', _1107 => _1107.metadata, 'optionalAccess', _1108 => _1108.path]) === "string" ? finalChatRef.metadata.path : null;
46619
46683
  const navWrap = (children) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
46620
46684
  ChatCardNavWrap,
46621
46685
  {
@@ -47001,7 +47065,7 @@ function useJetStreamDialogSubscription({
47001
47065
  const lifecycle = _chunkPXXS27EEcjs.startConnectionLifecycle.call(void 0, {
47002
47066
  conn: sharedConn,
47003
47067
  wsUrl,
47004
- onBeforeReconnect: () => _optionalChain([onBeforeReconnectRef, 'access', _1102 => _1102.current, 'optionalCall', _1103 => _1103()]),
47068
+ onBeforeReconnect: () => _optionalChain([onBeforeReconnectRef, 'access', _1109 => _1109.current, 'optionalCall', _1110 => _1110()]),
47005
47069
  backoff: reconnectionBackoffRef.current,
47006
47070
  getFreshUrl: () => getNatsWsUrlRef.current(),
47007
47071
  // JetStream emits 'error' for protocol-level failures (e.g. -ERR Permissions
@@ -47016,7 +47080,7 @@ function useJetStreamDialogSubscription({
47016
47080
  setReconnectionCount((c) => c + 1);
47017
47081
  }
47018
47082
  hadConnectionBeforeRef.current = true;
47019
- _optionalChain([onConnectRef, 'access', _1104 => _1104.current, 'optionalCall', _1105 => _1105()]);
47083
+ _optionalChain([onConnectRef, 'access', _1111 => _1111.current, 'optionalCall', _1112 => _1112()]);
47020
47084
  }
47021
47085
  if (status === "error") {
47022
47086
  console.warn("[JetStream] NATS protocol error:", evt.data);
@@ -47026,7 +47090,7 @@ function useJetStreamDialogSubscription({
47026
47090
  setIsConnected(false);
47027
47091
  setIsSubscribed(false);
47028
47092
  tearDownSubscription();
47029
- _optionalChain([onDisconnectRef, 'access', _1106 => _1106.current, 'optionalCall', _1107 => _1107()]);
47093
+ _optionalChain([onDisconnectRef, 'access', _1113 => _1113.current, 'optionalCall', _1114 => _1114()]);
47030
47094
  }
47031
47095
  }
47032
47096
  });
@@ -47105,7 +47169,7 @@ function useJetStreamDialogSubscription({
47105
47169
  }
47106
47170
  subscriptionRef.current = handle;
47107
47171
  setIsSubscribed(true);
47108
- _optionalChain([onSubscribedRef, 'access', _1108 => _1108.current, 'optionalCall', _1109 => _1109()]);
47172
+ _optionalChain([onSubscribedRef, 'access', _1115 => _1115.current, 'optionalCall', _1116 => _1116()]);
47109
47173
  } catch (e52) {
47110
47174
  if (!cancelled) {
47111
47175
  setIsSubscribed(false);
@@ -47218,20 +47282,20 @@ function useNatsDialogSubscription({
47218
47282
  const tearDownSubscriptions = () => {
47219
47283
  subscriptionRefs.current.forEach((sub) => {
47220
47284
  try {
47221
- _optionalChain([sub, 'optionalAccess', _1110 => _1110.unsubscribe, 'call', _1111 => _1111()]);
47285
+ _optionalChain([sub, 'optionalAccess', _1117 => _1117.unsubscribe, 'call', _1118 => _1118()]);
47222
47286
  } catch (e54) {
47223
47287
  }
47224
47288
  });
47225
47289
  subscriptionRefs.current.clear();
47226
47290
  lastSubscribedDialogIdRef.current = null;
47227
- _optionalChain([abortControllerRef, 'access', _1112 => _1112.current, 'optionalAccess', _1113 => _1113.abort, 'call', _1114 => _1114()]);
47291
+ _optionalChain([abortControllerRef, 'access', _1119 => _1119.current, 'optionalAccess', _1120 => _1120.abort, 'call', _1121 => _1121()]);
47228
47292
  abortControllerRef.current = null;
47229
47293
  };
47230
47294
  const isDisconnectStatus = (status) => status === "closed" || status === "disconnected";
47231
47295
  const lifecycle = _chunkPXXS27EEcjs.startConnectionLifecycle.call(void 0, {
47232
47296
  conn: sharedConn,
47233
47297
  wsUrl,
47234
- onBeforeReconnect: () => _optionalChain([onBeforeReconnectRef, 'access', _1115 => _1115.current, 'optionalCall', _1116 => _1116()]),
47298
+ onBeforeReconnect: () => _optionalChain([onBeforeReconnectRef, 'access', _1122 => _1122.current, 'optionalCall', _1123 => _1123()]),
47235
47299
  backoff: reconnectionBackoffRef.current,
47236
47300
  getFreshUrl: () => getNatsWsUrlRef.current(),
47237
47301
  shouldRetryOn: isDisconnectStatus,
@@ -47242,7 +47306,7 @@ function useNatsDialogSubscription({
47242
47306
  setReconnectionCount((c) => c + 1);
47243
47307
  }
47244
47308
  hadConnectionBeforeRef.current = true;
47245
- _optionalChain([onConnectRef, 'access', _1117 => _1117.current, 'optionalCall', _1118 => _1118()]);
47309
+ _optionalChain([onConnectRef, 'access', _1124 => _1124.current, 'optionalCall', _1125 => _1125()]);
47246
47310
  }
47247
47311
  if (status === "error") {
47248
47312
  console.warn("[NATS] protocol error:", evt.data);
@@ -47252,7 +47316,7 @@ function useNatsDialogSubscription({
47252
47316
  setIsConnected(false);
47253
47317
  setIsSubscribed(false);
47254
47318
  tearDownSubscriptions();
47255
- _optionalChain([onDisconnectRef, 'access', _1119 => _1119.current, 'optionalCall', _1120 => _1120()]);
47319
+ _optionalChain([onDisconnectRef, 'access', _1126 => _1126.current, 'optionalCall', _1127 => _1127()]);
47256
47320
  }
47257
47321
  }
47258
47322
  });
@@ -47283,13 +47347,13 @@ function useNatsDialogSubscription({
47283
47347
  setIsSubscribed(false);
47284
47348
  subscriptionRefs.current.forEach((sub) => {
47285
47349
  try {
47286
- _optionalChain([sub, 'optionalAccess', _1121 => _1121.unsubscribe, 'call', _1122 => _1122()]);
47350
+ _optionalChain([sub, 'optionalAccess', _1128 => _1128.unsubscribe, 'call', _1129 => _1129()]);
47287
47351
  } catch (e55) {
47288
47352
  }
47289
47353
  });
47290
47354
  subscriptionRefs.current.clear();
47291
47355
  lastSubscribedDialogIdRef.current = null;
47292
- _optionalChain([abortControllerRef, 'access', _1123 => _1123.current, 'optionalAccess', _1124 => _1124.abort, 'call', _1125 => _1125()]);
47356
+ _optionalChain([abortControllerRef, 'access', _1130 => _1130.current, 'optionalAccess', _1131 => _1131.abort, 'call', _1132 => _1132()]);
47293
47357
  abortControllerRef.current = null;
47294
47358
  }
47295
47359
  return;
@@ -47301,12 +47365,12 @@ function useNatsDialogSubscription({
47301
47365
  if (subscriptionRefs.current.size > 0) {
47302
47366
  subscriptionRefs.current.forEach((sub) => {
47303
47367
  try {
47304
- _optionalChain([sub, 'optionalAccess', _1126 => _1126.unsubscribe, 'call', _1127 => _1127()]);
47368
+ _optionalChain([sub, 'optionalAccess', _1133 => _1133.unsubscribe, 'call', _1134 => _1134()]);
47305
47369
  } catch (e56) {
47306
47370
  }
47307
47371
  });
47308
47372
  subscriptionRefs.current.clear();
47309
- _optionalChain([abortControllerRef, 'access', _1128 => _1128.current, 'optionalAccess', _1129 => _1129.abort, 'call', _1130 => _1130()]);
47373
+ _optionalChain([abortControllerRef, 'access', _1135 => _1135.current, 'optionalAccess', _1136 => _1136.abort, 'call', _1137 => _1137()]);
47310
47374
  }
47311
47375
  abortControllerRef.current = new AbortController();
47312
47376
  const abort = abortControllerRef.current;
@@ -47338,7 +47402,7 @@ function useNatsDialogSubscription({
47338
47402
  });
47339
47403
  lastSubscribedDialogIdRef.current = dialogId;
47340
47404
  setIsSubscribed(true);
47341
- _optionalChain([onSubscribedRef, 'access', _1131 => _1131.current, 'optionalCall', _1132 => _1132()]);
47405
+ _optionalChain([onSubscribedRef, 'access', _1138 => _1138.current, 'optionalCall', _1139 => _1139()]);
47342
47406
  };
47343
47407
  if (isConnectedRef.current) {
47344
47408
  createSubscriptions();
@@ -47348,7 +47412,7 @@ function useNatsDialogSubscription({
47348
47412
  abort.abort();
47349
47413
  subscriptionRefs.current.forEach((sub) => {
47350
47414
  try {
47351
- _optionalChain([sub, 'optionalAccess', _1133 => _1133.unsubscribe, 'call', _1134 => _1134()]);
47415
+ _optionalChain([sub, 'optionalAccess', _1140 => _1140.unsubscribe, 'call', _1141 => _1141()]);
47352
47416
  } catch (e58) {
47353
47417
  }
47354
47418
  });
@@ -47389,7 +47453,7 @@ function useNatsDialogSubscription({
47389
47453
  });
47390
47454
  lastSubscribedDialogIdRef.current = dialogId2;
47391
47455
  setIsSubscribed(true);
47392
- _optionalChain([onSubscribedRef, 'access', _1135 => _1135.current, 'optionalCall', _1136 => _1136()]);
47456
+ _optionalChain([onSubscribedRef, 'access', _1142 => _1142.current, 'optionalCall', _1143 => _1143()]);
47393
47457
  } else if (subscriptionRefs.current.size > 0) {
47394
47458
  setIsSubscribed(true);
47395
47459
  }
@@ -47397,10 +47461,10 @@ function useNatsDialogSubscription({
47397
47461
  return { isConnected, isSubscribed, reconnectionCount };
47398
47462
  }
47399
47463
  function buildNatsWsUrl(apiBaseUrl, options) {
47400
- const path = _optionalChain([options, 'optionalAccess', _1137 => _1137.source]) === "dashboard" ? "/ws/nats-api" : "/ws/nats";
47464
+ const path = _optionalChain([options, 'optionalAccess', _1144 => _1144.source]) === "dashboard" ? "/ws/nats-api" : "/ws/nats";
47401
47465
  const u = new URL(path, apiBaseUrl);
47402
47466
  u.protocol = u.protocol === "https:" ? "wss:" : "ws:";
47403
- if (_optionalChain([options, 'optionalAccess', _1138 => _1138.includeAuthParam]) && _optionalChain([options, 'optionalAccess', _1139 => _1139.token])) {
47467
+ if (_optionalChain([options, 'optionalAccess', _1145 => _1145.includeAuthParam]) && _optionalChain([options, 'optionalAccess', _1146 => _1146.token])) {
47404
47468
  u.searchParams.set("authorization", options.token);
47405
47469
  }
47406
47470
  return u.toString();
@@ -47536,7 +47600,7 @@ function parseChunkToAction(chunk) {
47536
47600
  // is REQUIRED on `ChatContextItem`, so fall back to the id (same as the
47537
47601
  // historical path in `process-historical-messages.ts`) — keeps both
47538
47602
  // message sources producing an identical shape.
47539
- contextItems: Array.isArray(data.contextItems) ? data.contextItems.filter((it) => typeof _optionalChain([it, 'optionalAccess', _1140 => _1140.type]) === "string" && typeof _optionalChain([it, 'optionalAccess', _1141 => _1141.id]) === "string").map((it) => ({ type: it.type, id: it.id, label: it.id })) : void 0
47603
+ contextItems: Array.isArray(data.contextItems) ? data.contextItems.filter((it) => typeof _optionalChain([it, 'optionalAccess', _1147 => _1147.type]) === "string" && typeof _optionalChain([it, 'optionalAccess', _1148 => _1148.id]) === "string").map((it) => ({ type: it.type, id: it.id, label: it.id })) : void 0
47540
47604
  };
47541
47605
  case MESSAGE_TYPE.TOKEN_USAGE:
47542
47606
  return {
@@ -47728,8 +47792,8 @@ var MessageSegmentAccumulator = class {
47728
47792
  type: "tool_execution",
47729
47793
  data: {
47730
47794
  ...toolData,
47731
- toolTitle: _nullishCoalesce(_nullishCoalesce(toolData.toolTitle, () => ( _optionalChain([existingExecuting, 'optionalAccess', _1142 => _1142.data, 'access', _1143 => _1143.toolTitle]))), () => ( _optionalChain([executingTool, 'optionalAccess', _1144 => _1144.toolTitle]))),
47732
- parameters: toolData.parameters || _optionalChain([executingTool, 'optionalAccess', _1145 => _1145.parameters])
47795
+ toolTitle: _nullishCoalesce(_nullishCoalesce(toolData.toolTitle, () => ( _optionalChain([existingExecuting, 'optionalAccess', _1149 => _1149.data, 'access', _1150 => _1150.toolTitle]))), () => ( _optionalChain([executingTool, 'optionalAccess', _1151 => _1151.toolTitle]))),
47796
+ parameters: toolData.parameters || _optionalChain([executingTool, 'optionalAccess', _1152 => _1152.parameters])
47733
47797
  }
47734
47798
  };
47735
47799
  if (existingIndex !== -1) {
@@ -47753,8 +47817,8 @@ var MessageSegmentAccumulator = class {
47753
47817
  if (seg.type !== "approval_batch") return seg;
47754
47818
  const hasCall = seg.data.toolCalls.some((c) => c.toolExecutionRequestId === execId);
47755
47819
  if (!hasCall) return seg;
47756
- const prev = _optionalChain([seg, 'access', _1146 => _1146.data, 'access', _1147 => _1147.executions, 'optionalAccess', _1148 => _1148[execId]]);
47757
- const next = toolData.type === "EXECUTED_TOOL" ? { status: "done", result: toolData.result, success: toolData.success } : { status: "executing", result: _optionalChain([prev, 'optionalAccess', _1149 => _1149.result]), success: _optionalChain([prev, 'optionalAccess', _1150 => _1150.success]) };
47820
+ const prev = _optionalChain([seg, 'access', _1153 => _1153.data, 'access', _1154 => _1154.executions, 'optionalAccess', _1155 => _1155[execId]]);
47821
+ const next = toolData.type === "EXECUTED_TOOL" ? { status: "done", result: toolData.result, success: toolData.success } : { status: "executing", result: _optionalChain([prev, 'optionalAccess', _1156 => _1156.result]), success: _optionalChain([prev, 'optionalAccess', _1157 => _1157.success]) };
47758
47822
  matched = true;
47759
47823
  return {
47760
47824
  ...seg,
@@ -47876,10 +47940,10 @@ var MessageSegmentAccumulator = class {
47876
47940
  const segment = {
47877
47941
  type: "approval_request",
47878
47942
  data: {
47879
- command: _optionalChain([pendingApproval, 'optionalAccess', _1151 => _1151.command]) || "",
47880
- explanation: _optionalChain([pendingApproval, 'optionalAccess', _1152 => _1152.explanation]),
47943
+ command: _optionalChain([pendingApproval, 'optionalAccess', _1158 => _1158.command]) || "",
47944
+ explanation: _optionalChain([pendingApproval, 'optionalAccess', _1159 => _1159.explanation]),
47881
47945
  requestId,
47882
- approvalType: _optionalChain([pendingApproval, 'optionalAccess', _1153 => _1153.approvalType]) || approvalType
47946
+ approvalType: _optionalChain([pendingApproval, 'optionalAccess', _1160 => _1160.approvalType]) || approvalType
47883
47947
  },
47884
47948
  status,
47885
47949
  onApprove: this.callbacks.onApprove,
@@ -48071,7 +48135,7 @@ function useRealtimeChunkProcessor(options) {
48071
48135
  if (initialState.escalatedApprovals) {
48072
48136
  pendingEscalatedRef.current = new Map(initialState.escalatedApprovals);
48073
48137
  initialState.escalatedApprovals.forEach((data, requestId) => {
48074
- _optionalChain([callbacks, 'access', _1154 => _1154.onEscalatedApproval, 'optionalCall', _1155 => _1155(requestId, data)]);
48138
+ _optionalChain([callbacks, 'access', _1161 => _1161.onEscalatedApproval, 'optionalCall', _1162 => _1162(requestId, data)]);
48075
48139
  });
48076
48140
  }
48077
48141
  hasEverStreamedRef.current = true;
@@ -48092,12 +48156,12 @@ function useRealtimeChunkProcessor(options) {
48092
48156
  if (!action) return;
48093
48157
  const accumulator = accumulatorRef.current;
48094
48158
  const streamSeq = chunk && typeof chunk === "object" && typeof chunk.streamSeq === "number" ? chunk.streamSeq : void 0;
48095
- const emitSegments = (s, meta) => _optionalChain([callbacks, 'access', _1156 => _1156.onSegmentsUpdate, 'optionalCall', _1157 => _1157(s, streamSeq != null ? { ...meta, streamSeq } : meta)]);
48159
+ const emitSegments = (s, meta) => _optionalChain([callbacks, 'access', _1163 => _1163.onSegmentsUpdate, 'optionalCall', _1164 => _1164(s, streamSeq != null ? { ...meta, streamSeq } : meta)]);
48096
48160
  if (action.action === "direct_message") sawDirectMessageRef.current = true;
48097
48161
  if ((directModeFlagRef.current || sawDirectMessageRef.current) && !DIRECT_MODE_ALLOWED.has(action.action)) {
48098
48162
  if (isInStreamRef.current) {
48099
48163
  isInStreamRef.current = false;
48100
- _optionalChain([callbacks, 'access', _1158 => _1158.onStreamEnd, 'optionalCall', _1159 => _1159()]);
48164
+ _optionalChain([callbacks, 'access', _1165 => _1165.onStreamEnd, 'optionalCall', _1166 => _1166()]);
48101
48165
  accumulator.resetSegments();
48102
48166
  }
48103
48167
  return;
@@ -48106,16 +48170,16 @@ function useRealtimeChunkProcessor(options) {
48106
48170
  case "message_start":
48107
48171
  isInStreamRef.current = true;
48108
48172
  hasEverStreamedRef.current = true;
48109
- _optionalChain([callbacks, 'access', _1160 => _1160.onStreamStart, 'optionalCall', _1161 => _1161()]);
48173
+ _optionalChain([callbacks, 'access', _1167 => _1167.onStreamStart, 'optionalCall', _1168 => _1168()]);
48110
48174
  accumulator.resetSegments();
48111
48175
  break;
48112
48176
  case "message_end":
48113
48177
  isInStreamRef.current = false;
48114
- _optionalChain([callbacks, 'access', _1162 => _1162.onStreamEnd, 'optionalCall', _1163 => _1163()]);
48178
+ _optionalChain([callbacks, 'access', _1169 => _1169.onStreamEnd, 'optionalCall', _1170 => _1170()]);
48115
48179
  accumulator.resetSegments();
48116
48180
  break;
48117
48181
  case "metadata":
48118
- _optionalChain([callbacks, 'access', _1164 => _1164.onMetadata, 'optionalCall', _1165 => _1165(action)]);
48182
+ _optionalChain([callbacks, 'access', _1171 => _1171.onMetadata, 'optionalCall', _1172 => _1172(action)]);
48119
48183
  break;
48120
48184
  case "text": {
48121
48185
  const segments = accumulator.appendText(action.text);
@@ -48158,7 +48222,7 @@ function useRealtimeChunkProcessor(options) {
48158
48222
  emitSegments(segments);
48159
48223
  } else {
48160
48224
  pendingEscalatedRef.current.set(requestId, { command, explanation, approvalType });
48161
- _optionalChain([callbacks, 'access', _1166 => _1166.onEscalatedApproval, 'optionalCall', _1167 => _1167(requestId, { command, explanation, approvalType })]);
48225
+ _optionalChain([callbacks, 'access', _1173 => _1173.onEscalatedApproval, 'optionalCall', _1174 => _1174(requestId, { command, explanation, approvalType })]);
48162
48226
  }
48163
48227
  break;
48164
48228
  }
@@ -48170,13 +48234,13 @@ function useRealtimeChunkProcessor(options) {
48170
48234
  const summary = required ? getCommandText(required) : `Batch of ${toolCalls.length} tool calls`;
48171
48235
  pendingEscalatedRef.current.set(requestId, {
48172
48236
  command: summary,
48173
- explanation: _optionalChain([required, 'optionalAccess', _1168 => _1168.toolExplanation]),
48237
+ explanation: _optionalChain([required, 'optionalAccess', _1175 => _1175.toolExplanation]),
48174
48238
  approvalType,
48175
48239
  toolCalls
48176
48240
  });
48177
- _optionalChain([callbacks, 'access', _1169 => _1169.onEscalatedApproval, 'optionalCall', _1170 => _1170(requestId, {
48241
+ _optionalChain([callbacks, 'access', _1176 => _1176.onEscalatedApproval, 'optionalCall', _1177 => _1177(requestId, {
48178
48242
  command: summary,
48179
- explanation: _optionalChain([required, 'optionalAccess', _1171 => _1171.toolExplanation]),
48243
+ explanation: _optionalChain([required, 'optionalAccess', _1178 => _1178.toolExplanation]),
48180
48244
  approvalType
48181
48245
  })]);
48182
48246
  break;
@@ -48206,7 +48270,7 @@ function useRealtimeChunkProcessor(options) {
48206
48270
  const status = approved ? "approved" : "rejected";
48207
48271
  if (escalatedData) {
48208
48272
  pendingEscalatedRef.current.delete(requestId);
48209
- _optionalChain([callbacks, 'access', _1172 => _1172.onEscalatedApprovalResult, 'optionalCall', _1173 => _1173(requestId, approved, {
48273
+ _optionalChain([callbacks, 'access', _1179 => _1179.onEscalatedApprovalResult, 'optionalCall', _1180 => _1180(requestId, approved, {
48210
48274
  command: escalatedData.command,
48211
48275
  explanation: escalatedData.explanation,
48212
48276
  approvalType: escalatedData.approvalType
@@ -48252,29 +48316,29 @@ function useRealtimeChunkProcessor(options) {
48252
48316
  emitSegments(accumulator.getSegments());
48253
48317
  }
48254
48318
  }
48255
- _optionalChain([callbacks, 'access', _1174 => _1174.onApprovalResolved, 'optionalCall', _1175 => _1175(requestId, status, approvalType, resolvedByName)]);
48319
+ _optionalChain([callbacks, 'access', _1181 => _1181.onApprovalResolved, 'optionalCall', _1182 => _1182(requestId, status, approvalType, resolvedByName)]);
48256
48320
  break;
48257
48321
  }
48258
48322
  case "error": {
48259
48323
  let message2;
48260
- if ("details" in action && _optionalChain([action, 'optionalAccess', _1176 => _1176.details])) {
48324
+ if ("details" in action && _optionalChain([action, 'optionalAccess', _1183 => _1183.details])) {
48261
48325
  try {
48262
- message2 = _optionalChain([JSON, 'access', _1177 => _1177.parse, 'call', _1178 => _1178(action.details), 'optionalAccess', _1179 => _1179.error, 'optionalAccess', _1180 => _1180.message]);
48326
+ message2 = _optionalChain([JSON, 'access', _1184 => _1184.parse, 'call', _1185 => _1185(action.details), 'optionalAccess', _1186 => _1186.error, 'optionalAccess', _1187 => _1187.message]);
48263
48327
  } catch (e60) {
48264
48328
  message2 = action.details;
48265
48329
  }
48266
48330
  }
48267
48331
  const segments = accumulator.addError(action.error, message2);
48268
48332
  emitSegments(segments);
48269
- _optionalChain([callbacks, 'access', _1181 => _1181.onError, 'optionalCall', _1182 => _1182(action.error, message2)]);
48333
+ _optionalChain([callbacks, 'access', _1188 => _1188.onError, 'optionalCall', _1189 => _1189(action.error, message2)]);
48270
48334
  break;
48271
48335
  }
48272
48336
  case "system": {
48273
- _optionalChain([callbacks, 'access', _1183 => _1183.onSystemMessage, 'optionalCall', _1184 => _1184(action.text, { streamSeq })]);
48337
+ _optionalChain([callbacks, 'access', _1190 => _1190.onSystemMessage, 'optionalCall', _1191 => _1191(action.text, { streamSeq })]);
48274
48338
  break;
48275
48339
  }
48276
48340
  case "direct_message": {
48277
- _optionalChain([callbacks, 'access', _1185 => _1185.onDirectMessage, 'optionalCall', _1186 => _1186(action.text, {
48341
+ _optionalChain([callbacks, 'access', _1192 => _1192.onDirectMessage, 'optionalCall', _1193 => _1193(action.text, {
48278
48342
  ownerType: action.ownerType,
48279
48343
  displayName: action.displayName,
48280
48344
  userId: action.userId,
@@ -48283,7 +48347,7 @@ function useRealtimeChunkProcessor(options) {
48283
48347
  break;
48284
48348
  }
48285
48349
  case "message_request":
48286
- _optionalChain([callbacks, 'access', _1187 => _1187.onUserMessage, 'optionalCall', _1188 => _1188(action.text, {
48350
+ _optionalChain([callbacks, 'access', _1194 => _1194.onUserMessage, 'optionalCall', _1195 => _1195(action.text, {
48287
48351
  ownerType: action.ownerType,
48288
48352
  displayName: action.displayName,
48289
48353
  userId: action.userId,
@@ -48292,7 +48356,7 @@ function useRealtimeChunkProcessor(options) {
48292
48356
  })]);
48293
48357
  break;
48294
48358
  case "token_usage":
48295
- _optionalChain([callbacks, 'access', _1189 => _1189.onTokenUsage, 'optionalCall', _1190 => _1190(action.data)]);
48359
+ _optionalChain([callbacks, 'access', _1196 => _1196.onTokenUsage, 'optionalCall', _1197 => _1197(action.data)]);
48296
48360
  break;
48297
48361
  case "context_compaction_start": {
48298
48362
  const standalone = !isInStreamRef.current;
@@ -48307,7 +48371,7 @@ function useRealtimeChunkProcessor(options) {
48307
48371
  break;
48308
48372
  }
48309
48373
  case "dialog_closed":
48310
- _optionalChain([callbacks, 'access', _1191 => _1191.onDialogClosed, 'optionalCall', _1192 => _1192()]);
48374
+ _optionalChain([callbacks, 'access', _1198 => _1198.onDialogClosed, 'optionalCall', _1199 => _1199()]);
48311
48375
  break;
48312
48376
  default:
48313
48377
  break;
@@ -48354,7 +48418,7 @@ async function fetchSlashCommands(prefix, signal, commandsUrl) {
48354
48418
  const data = await res.json();
48355
48419
  return _nullishCoalesce(data.commands, () => ( []));
48356
48420
  } catch (err) {
48357
- if (_optionalChain([err, 'optionalAccess', _1193 => _1193.name]) === "AbortError") throw err;
48421
+ if (_optionalChain([err, 'optionalAccess', _1200 => _1200.name]) === "AbortError") throw err;
48358
48422
  console.warn("[chat] slash-commands fetch failed, showing none:", err);
48359
48423
  return [];
48360
48424
  }
@@ -48375,7 +48439,7 @@ function useSlashCommands(prefix, commandsUrl) {
48375
48439
  const next = await fetchSlashCommands(prefix, ctrl.signal, commandsUrl);
48376
48440
  if (!cancelled) setCommands(next);
48377
48441
  } catch (err) {
48378
- if (!cancelled && _optionalChain([err, 'optionalAccess', _1194 => _1194.name]) !== "AbortError") {
48442
+ if (!cancelled && _optionalChain([err, 'optionalAccess', _1201 => _1201.name]) !== "AbortError") {
48379
48443
  console.warn("[use-slash-commands] fetch failed:", err);
48380
48444
  }
48381
48445
  } finally {
@@ -48394,7 +48458,7 @@ function useSlashCommandRegistry(commandsUrl, options) {
48394
48458
  const query = _reactquery.useQuery.call(void 0, {
48395
48459
  queryKey: ["chat-slash-commands", commandsUrl],
48396
48460
  queryFn: ({ signal }) => fetchSlashCommands("", signal, commandsUrl),
48397
- enabled: _nullishCoalesce(_optionalChain([options, 'optionalAccess', _1195 => _1195.enabled]), () => ( true)),
48461
+ enabled: _nullishCoalesce(_optionalChain([options, 'optionalAccess', _1202 => _1202.enabled]), () => ( true)),
48398
48462
  staleTime: Infinity,
48399
48463
  gcTime: Infinity,
48400
48464
  // The commands registry is non-critical chrome — a failure degrades to an
@@ -48433,21 +48497,21 @@ async function fetchEmptyStateConfig(signal, emptyStateUrl) {
48433
48497
  }
48434
48498
  const data = await res.json();
48435
48499
  return {
48436
- name: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1196 => _1196.name]), () => ( null)),
48437
- icon: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1197 => _1197.icon]), () => ( null)),
48438
- greeting: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1198 => _1198.greeting]), () => ( null)),
48439
- enabledRagTableIds: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1199 => _1199.enabledRagTableIds]), () => ( [])),
48440
- quickActions: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1200 => _1200.quickActions]), () => ( [])),
48441
- suggestedQueries: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1201 => _1201.suggestedQueries]), () => ( []))
48500
+ name: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1203 => _1203.name]), () => ( null)),
48501
+ icon: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1204 => _1204.icon]), () => ( null)),
48502
+ greeting: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1205 => _1205.greeting]), () => ( null)),
48503
+ enabledRagTableIds: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1206 => _1206.enabledRagTableIds]), () => ( [])),
48504
+ quickActions: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1207 => _1207.quickActions]), () => ( [])),
48505
+ suggestedQueries: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1208 => _1208.suggestedQueries]), () => ( []))
48442
48506
  };
48443
48507
  } catch (err) {
48444
- if (_optionalChain([err, 'optionalAccess', _1202 => _1202.name]) === "AbortError") throw err;
48508
+ if (_optionalChain([err, 'optionalAccess', _1209 => _1209.name]) === "AbortError") throw err;
48445
48509
  console.warn("[chat] empty-state config fetch failed, using neutral defaults:", err);
48446
48510
  return EMPTY_STATE_FALLBACK;
48447
48511
  }
48448
48512
  }
48449
48513
  function useEmptyStateConfig(emptyStateUrl, options) {
48450
- const enabled = (_nullishCoalesce(_optionalChain([options, 'optionalAccess', _1203 => _1203.enabled]), () => ( true))) && !!emptyStateUrl;
48514
+ const enabled = (_nullishCoalesce(_optionalChain([options, 'optionalAccess', _1210 => _1210.enabled]), () => ( true))) && !!emptyStateUrl;
48451
48515
  const query = _reactquery.useQuery.call(void 0, {
48452
48516
  queryKey: ["chat-empty-state", emptyStateUrl],
48453
48517
  queryFn: ({ signal }) => fetchEmptyStateConfig(signal, emptyStateUrl),
@@ -48476,7 +48540,7 @@ var CHAT_ATTACHMENT_MAX_SIZE_BYTES = 25 * 1024 * 1024;
48476
48540
  var STORAGE_CACHE_CONTROL_IMMUTABLE = "public, max-age=31536000, immutable";
48477
48541
  function uploadWithProgress(url, file, token, onProgress, signal) {
48478
48542
  return new Promise((resolve, reject) => {
48479
- if (_optionalChain([signal, 'optionalAccess', _1204 => _1204.aborted])) {
48543
+ if (_optionalChain([signal, 'optionalAccess', _1211 => _1211.aborted])) {
48480
48544
  reject(new Error("Upload cancelled"));
48481
48545
  return;
48482
48546
  }
@@ -48490,7 +48554,7 @@ function uploadWithProgress(url, file, token, onProgress, signal) {
48490
48554
  xhr.removeEventListener("error", handleError);
48491
48555
  xhr.removeEventListener("abort", handleAbort);
48492
48556
  xhr.removeEventListener("timeout", handleTimeout);
48493
- _optionalChain([signal, 'optionalAccess', _1205 => _1205.removeEventListener, 'call', _1206 => _1206("abort", handleSignalAbort)]);
48557
+ _optionalChain([signal, 'optionalAccess', _1212 => _1212.removeEventListener, 'call', _1213 => _1213("abort", handleSignalAbort)]);
48494
48558
  if (xhr.readyState !== XMLHttpRequest.DONE) xhr.abort();
48495
48559
  };
48496
48560
  const handleProgress = (event) => {
@@ -48526,7 +48590,7 @@ function uploadWithProgress(url, file, token, onProgress, signal) {
48526
48590
  const handleSignalAbort = () => {
48527
48591
  xhr.abort();
48528
48592
  };
48529
- _optionalChain([signal, 'optionalAccess', _1207 => _1207.addEventListener, 'call', _1208 => _1208("abort", handleSignalAbort, { once: true })]);
48593
+ _optionalChain([signal, 'optionalAccess', _1214 => _1214.addEventListener, 'call', _1215 => _1215("abort", handleSignalAbort, { once: true })]);
48530
48594
  xhr.upload.addEventListener("progress", handleProgress);
48531
48595
  xhr.addEventListener("load", handleLoad);
48532
48596
  xhr.addEventListener("error", handleError);
@@ -48570,12 +48634,12 @@ function useChatAttachments() {
48570
48634
  try {
48571
48635
  sniffed = await _filetype.fileTypeFromBlob.call(void 0, att.file);
48572
48636
  } catch (err) {
48573
- if (_optionalChain([ctrl, 'optionalAccess', _1209 => _1209.signal, 'access', _1210 => _1210.aborted])) return;
48637
+ if (_optionalChain([ctrl, 'optionalAccess', _1216 => _1216.signal, 'access', _1217 => _1217.aborted])) return;
48574
48638
  throw new Error(
48575
48639
  `Could not read file content: ${err instanceof Error ? err.message : String(err)}`
48576
48640
  );
48577
48641
  }
48578
- if (_optionalChain([ctrl, 'optionalAccess', _1211 => _1211.signal, 'access', _1212 => _1212.aborted])) return;
48642
+ if (_optionalChain([ctrl, 'optionalAccess', _1218 => _1218.signal, 'access', _1219 => _1219.aborted])) return;
48579
48643
  if (!sniffed) {
48580
48644
  throw new Error("Unrecognized file format");
48581
48645
  }
@@ -48589,7 +48653,7 @@ function useChatAttachments() {
48589
48653
  const urlResp = await _chunkSR6LEWCFcjs.embedAuthedFetch.call(void 0, uploadUrlEndpoint, {
48590
48654
  method: "POST",
48591
48655
  headers: { "Content-Type": "application/json" },
48592
- signal: _optionalChain([ctrl, 'optionalAccess', _1213 => _1213.signal]),
48656
+ signal: _optionalChain([ctrl, 'optionalAccess', _1220 => _1220.signal]),
48593
48657
  body: JSON.stringify({
48594
48658
  fileName: att.file.name,
48595
48659
  // Pass the SNIFFED MIME (not `file.type`, which can be a
@@ -48615,9 +48679,9 @@ function useChatAttachments() {
48615
48679
  (pct) => {
48616
48680
  updateOne(att.id, { progress: pct });
48617
48681
  },
48618
- _optionalChain([ctrl, 'optionalAccess', _1214 => _1214.signal])
48682
+ _optionalChain([ctrl, 'optionalAccess', _1221 => _1221.signal])
48619
48683
  );
48620
- if (_optionalChain([ctrl, 'optionalAccess', _1215 => _1215.signal, 'access', _1216 => _1216.aborted])) return;
48684
+ if (_optionalChain([ctrl, 'optionalAccess', _1222 => _1222.signal, 'access', _1223 => _1223.aborted])) return;
48621
48685
  updateOne(att.id, {
48622
48686
  status: "ready",
48623
48687
  progress: 100,
@@ -48625,7 +48689,7 @@ function useChatAttachments() {
48625
48689
  viewToken: mintData.viewToken
48626
48690
  });
48627
48691
  } catch (err) {
48628
- if (_optionalChain([ctrl, 'optionalAccess', _1217 => _1217.signal, 'access', _1218 => _1218.aborted])) return;
48692
+ if (_optionalChain([ctrl, 'optionalAccess', _1224 => _1224.signal, 'access', _1225 => _1225.aborted])) return;
48629
48693
  const message2 = err instanceof Error ? err.message : String(err);
48630
48694
  updateOne(att.id, { status: "error", progress: 0, errorMessage: message2 });
48631
48695
  } finally {
@@ -48776,7 +48840,7 @@ var ANON_DEFAULTS = {
48776
48840
  function useResolveChatIdentity(enabled) {
48777
48841
  const runtime = _chunk2B6773QMcjs.useRequiredChatRuntime.call(void 0, );
48778
48842
  const url = runtime.endpoints.identityUrl;
48779
- const proxyEmail = _nullishCoalesce(_optionalChain([_chunkSR6LEWCFcjs.getEmbedProxyAuth.call(void 0, ), 'optionalAccess', _1219 => _1219.email]), () => ( null));
48843
+ const proxyEmail = _nullishCoalesce(_optionalChain([_chunkSR6LEWCFcjs.getEmbedProxyAuth.call(void 0, ), 'optionalAccess', _1226 => _1226.email]), () => ( null));
48780
48844
  const [data, setData] = _react.useState.call(void 0, ANON_DEFAULTS);
48781
48845
  const [isLoading, setIsLoading] = _react.useState.call(void 0, enabled);
48782
48846
  _react.useEffect.call(void 0, () => {
@@ -48867,7 +48931,7 @@ function useSSE({ useMock = true, debugMode = false, streamFn } = {}) {
48867
48931
  yield chunk;
48868
48932
  }
48869
48933
  } catch (err) {
48870
- if (_optionalChain([err, 'optionalAccess', _1220 => _1220.name]) === "AbortError" || ctrl.signal.aborted) {
48934
+ if (_optionalChain([err, 'optionalAccess', _1227 => _1227.name]) === "AbortError" || ctrl.signal.aborted) {
48871
48935
  return;
48872
48936
  }
48873
48937
  const errorMessage = err instanceof Error ? err.message : "An error occurred";
@@ -48918,7 +48982,7 @@ function useChat({
48918
48982
  const onMessagesChangeRef = _react.useRef.call(void 0, onMessagesChange);
48919
48983
  onMessagesChangeRef.current = onMessagesChange;
48920
48984
  _react.useEffect.call(void 0, () => {
48921
- _optionalChain([onMessagesChangeRef, 'access', _1221 => _1221.current, 'optionalCall', _1222 => _1222(messages)]);
48985
+ _optionalChain([onMessagesChangeRef, 'access', _1228 => _1228.current, 'optionalCall', _1229 => _1229(messages)]);
48922
48986
  }, [messages]);
48923
48987
  const {
48924
48988
  streamMessage,
@@ -48955,7 +49019,7 @@ function useChat({
48955
49019
  name: "You",
48956
49020
  content: text,
48957
49021
  timestamp: /* @__PURE__ */ new Date(),
48958
- ..._optionalChain([options, 'optionalAccess', _1223 => _1223.hidden]) ? { hidden: true } : {}
49022
+ ..._optionalChain([options, 'optionalAccess', _1230 => _1230.hidden]) ? { hidden: true } : {}
48959
49023
  };
48960
49024
  addMessage(userMessage);
48961
49025
  setIsTyping(true);
@@ -49017,7 +49081,7 @@ function useChat({
49017
49081
  currentTextSegment = "";
49018
49082
  }
49019
49083
  const seg = segment;
49020
- const proposalId = _optionalChain([seg, 'access', _1224 => _1224.data, 'optionalAccess', _1225 => _1225.requestId]);
49084
+ const proposalId = _optionalChain([seg, 'access', _1231 => _1231.data, 'optionalAccess', _1232 => _1232.requestId]);
49021
49085
  const updateApprovalMessage = (transform) => {
49022
49086
  setMessages((prev) => {
49023
49087
  for (let i = prev.length - 1; i >= 0; i--) {
@@ -49026,7 +49090,7 @@ function useChat({
49026
49090
  if (!Array.isArray(m.content)) continue;
49027
49091
  const segments = m.content;
49028
49092
  const hasMatch = segments.some(
49029
- (s) => s.type === "approval_request" && _optionalChain([s, 'access', _1226 => _1226.data, 'optionalAccess', _1227 => _1227.requestId]) === proposalId
49093
+ (s) => s.type === "approval_request" && _optionalChain([s, 'access', _1233 => _1233.data, 'optionalAccess', _1234 => _1234.requestId]) === proposalId
49030
49094
  );
49031
49095
  if (!hasMatch) continue;
49032
49096
  const next = [...prev];
@@ -49068,11 +49132,11 @@ function useChat({
49068
49132
  if (!Array.isArray(m.content)) continue;
49069
49133
  const segments = m.content;
49070
49134
  const hasMatch = segments.some(
49071
- (s) => s.type === "approval_request" && _optionalChain([s, 'access', _1228 => _1228.data, 'optionalAccess', _1229 => _1229.requestId]) === decision.proposalId
49135
+ (s) => s.type === "approval_request" && _optionalChain([s, 'access', _1235 => _1235.data, 'optionalAccess', _1236 => _1236.requestId]) === decision.proposalId
49072
49136
  );
49073
49137
  if (!hasMatch) continue;
49074
49138
  const flipped = segments.map(
49075
- (s) => s.type === "approval_request" && _optionalChain([s, 'access', _1230 => _1230.data, 'optionalAccess', _1231 => _1231.requestId]) === decision.proposalId ? { ...s, status: decision.action } : s
49139
+ (s) => s.type === "approval_request" && _optionalChain([s, 'access', _1237 => _1237.data, 'optionalAccess', _1238 => _1238.requestId]) === decision.proposalId ? { ...s, status: decision.action } : s
49076
49140
  );
49077
49141
  const next = [...prev];
49078
49142
  next[i] = { ...m, content: flipped };
@@ -49234,8 +49298,8 @@ function createDocStreamFn(source, endpoints, messagesRef, sourcesMapRef, refsMa
49234
49298
  })),
49235
49299
  { role: "user", content: message2 }
49236
49300
  ];
49237
- const targetPath = _optionalChain([extra, 'optionalAccess', _1232 => _1232.approvalAction]) ? endpoints.approvalToolUrl : endpoints.chatStreamUrl;
49238
- const requestBody = _optionalChain([extra, 'optionalAccess', _1233 => _1233.approvalAction]) ? {
49301
+ const targetPath = _optionalChain([extra, 'optionalAccess', _1239 => _1239.approvalAction]) ? endpoints.approvalToolUrl : endpoints.chatStreamUrl;
49302
+ const requestBody = _optionalChain([extra, 'optionalAccess', _1240 => _1240.approvalAction]) ? {
49239
49303
  proposal_id: extra.approvalAction.proposalId,
49240
49304
  action: extra.approvalAction.action,
49241
49305
  messages: currentMessages.filter((m) => (m.role === "user" || m.role === "assistant") && !m.hidden).map((m) => ({
@@ -49244,8 +49308,8 @@ function createDocStreamFn(source, endpoints, messagesRef, sourcesMapRef, refsMa
49244
49308
  }))
49245
49309
  } : {
49246
49310
  messages: apiMessages,
49247
- ..._optionalChain([extra, 'optionalAccess', _1234 => _1234.commandOverride]) ? { commandOverride: extra.commandOverride } : {},
49248
- ..._optionalChain([extra, 'optionalAccess', _1235 => _1235.pendingAttachments]) && extra.pendingAttachments.length > 0 ? { pendingAttachments: extra.pendingAttachments } : {}
49311
+ ..._optionalChain([extra, 'optionalAccess', _1241 => _1241.commandOverride]) ? { commandOverride: extra.commandOverride } : {},
49312
+ ..._optionalChain([extra, 'optionalAccess', _1242 => _1242.pendingAttachments]) && extra.pendingAttachments.length > 0 ? { pendingAttachments: extra.pendingAttachments } : {}
49249
49313
  };
49250
49314
  const response = await _chunkSR6LEWCFcjs.embedAuthedFetch.call(void 0, targetPath, {
49251
49315
  method: "POST",
@@ -49255,7 +49319,7 @@ function createDocStreamFn(source, endpoints, messagesRef, sourcesMapRef, refsMa
49255
49319
  if (!response.ok) {
49256
49320
  throw new Error(`Chat request failed: ${response.status}`);
49257
49321
  }
49258
- const reader = _optionalChain([response, 'access', _1236 => _1236.body, 'optionalAccess', _1237 => _1237.getReader, 'call', _1238 => _1238()]);
49322
+ const reader = _optionalChain([response, 'access', _1243 => _1243.body, 'optionalAccess', _1244 => _1244.getReader, 'call', _1245 => _1245()]);
49259
49323
  if (!reader) throw new Error("No response body");
49260
49324
  const decoder = new TextDecoder();
49261
49325
  let buffer = "";
@@ -49338,7 +49402,7 @@ function createDocStreamFn(source, endpoints, messagesRef, sourcesMapRef, refsMa
49338
49402
  const toolName = typeof meta.tool_name === "string" ? meta.tool_name : void 0;
49339
49403
  const result = _nullishCoalesce(meta.result, () => ( null));
49340
49404
  const card = _nullishCoalesce(meta.card, () => ( null));
49341
- if (_optionalChain([card, 'optionalAccess', _1239 => _1239.ref, 'optionalAccess', _1240 => _1240.id]) && _optionalChain([card, 'optionalAccess', _1241 => _1241.type])) {
49405
+ if (_optionalChain([card, 'optionalAccess', _1246 => _1246.ref, 'optionalAccess', _1247 => _1247.id]) && _optionalChain([card, 'optionalAccess', _1248 => _1248.type])) {
49342
49406
  const existing = _nullishCoalesce(refsMapRef.current.get(sendIdx), () => ( {}));
49343
49407
  const key = buildChatRefKey(card.type, card.ref.id);
49344
49408
  refsMapRef.current.set(sendIdx, { ...existing, [key]: card.ref });
@@ -49351,8 +49415,8 @@ function createDocStreamFn(source, endpoints, messagesRef, sourcesMapRef, refsMa
49351
49415
  willAutoContinue: meta.willAutoContinue === true,
49352
49416
  ...toolName ? { toolName } : {},
49353
49417
  ...result ? { result } : {},
49354
- ..._optionalChain([card, 'optionalAccess', _1242 => _1242.marker]) ? { marker: card.marker } : {},
49355
- ..._optionalChain([card, 'optionalAccess', _1243 => _1243.ref]) ? { cardRef: card.ref } : {},
49418
+ ..._optionalChain([card, 'optionalAccess', _1249 => _1249.marker]) ? { marker: card.marker } : {},
49419
+ ..._optionalChain([card, 'optionalAccess', _1250 => _1250.ref]) ? { cardRef: card.ref } : {},
49356
49420
  ...typeof meta.receiptText === "string" ? { receiptText: meta.receiptText } : {},
49357
49421
  proposalId: typeof meta.proposalId === "string" ? meta.proposalId : void 0
49358
49422
  };
@@ -49471,7 +49535,7 @@ var DEFAULT_CHAT_SOURCE = "embed";
49471
49535
  var chatStorageKey = (source) => {
49472
49536
  const base = `mingo-chat-${source}-v${CHAT_STORAGE_VERSION}`;
49473
49537
  const auth = _chunkSR6LEWCFcjs.getEmbedProxyAuth.call(void 0, );
49474
- if (_optionalChain([auth, 'optionalAccess', _1244 => _1244.email])) {
49538
+ if (_optionalChain([auth, 'optionalAccess', _1251 => _1251.email])) {
49475
49539
  return `${base}-u-${encodeURIComponent(auth.email.toLowerCase())}`;
49476
49540
  }
49477
49541
  return base;
@@ -49526,7 +49590,7 @@ function useSseChatAdapter(options, runtimeOptions = {}) {
49526
49590
  const { active = true } = runtimeOptions;
49527
49591
  const runtime = _chunk2B6773QMcjs.useRequiredChatRuntime.call(void 0, );
49528
49592
  const source = runtime.source || DEFAULT_CHAT_SOURCE;
49529
- const tableIdForDocumentType = _nullishCoalesce(_optionalChain([options, 'optionalAccess', _1245 => _1245.tableIdForDocumentType]), () => ( defaultTableIdForDocumentType));
49593
+ const tableIdForDocumentType = _nullishCoalesce(_optionalChain([options, 'optionalAccess', _1252 => _1252.tableIdForDocumentType]), () => ( defaultTableIdForDocumentType));
49530
49594
  const persistedRef = _react.useRef.call(void 0, null);
49531
49595
  if (persistedRef.current === null) {
49532
49596
  pruneStaleChatStorage(source);
@@ -49631,7 +49695,7 @@ function useSseChatAdapter(options, runtimeOptions = {}) {
49631
49695
  const lookupIdx = sendIdx >= 0 ? sendIdx : 0;
49632
49696
  sources = sourcesMapRef.current.get(lookupIdx);
49633
49697
  chatRefs = _nullishCoalesce(m.chatRefs, () => ( refsMapRef.current.get(lookupIdx)));
49634
- scrollAnchor = _nullishCoalesce(_optionalChain([metaMapRef, 'access', _1246 => _1246.current, 'access', _1247 => _1247.get, 'call', _1248 => _1248(lookupIdx), 'optionalAccess', _1249 => _1249.scrollAnchor]), () => ( void 0));
49698
+ scrollAnchor = _nullishCoalesce(_optionalChain([metaMapRef, 'access', _1253 => _1253.current, 'access', _1254 => _1254.get, 'call', _1255 => _1255(lookupIdx), 'optionalAccess', _1256 => _1256.scrollAnchor]), () => ( void 0));
49635
49699
  }
49636
49700
  return {
49637
49701
  id: m.id,
@@ -49679,7 +49743,7 @@ function useSseChatAdapter(options, runtimeOptions = {}) {
49679
49743
  );
49680
49744
  return;
49681
49745
  }
49682
- const refSlug = typeof _optionalChain([reference, 'access', _1250 => _1250.metadata, 'optionalAccess', _1251 => _1251.slug]) === "string" && reference.metadata.slug.length > 0 ? reference.metadata.slug : "";
49746
+ const refSlug = typeof _optionalChain([reference, 'access', _1257 => _1257.metadata, 'optionalAccess', _1258 => _1258.slug]) === "string" && reference.metadata.slug.length > 0 ? reference.metadata.slug : "";
49683
49747
  const queryValue = refSlug || sanitizeTitleForChat(reference.title) || reference.id;
49684
49748
  const escaped = queryValue.replace(/\\/g, "\\\\").replace(/"/g, '\\"');
49685
49749
  const text = `/${cmdId} display "${escaped}"`;
@@ -49751,18 +49815,18 @@ function useSseChatAdapter(options, runtimeOptions = {}) {
49751
49815
  clearMessages,
49752
49816
  streamingPhase,
49753
49817
  /** Provider key for the lib's `<ModelDisplay>` icon. */
49754
- currentProvider: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1252 => _1252.provider]), () => ( null)),
49755
- currentModelLabel: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1253 => _1253.modelLabel]), () => ( null)),
49756
- currentContextWindowMaxTokens: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1254 => _1254.contextWindowMaxTokens]), () => ( null)),
49818
+ currentProvider: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1259 => _1259.provider]), () => ( null)),
49819
+ currentModelLabel: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1260 => _1260.modelLabel]), () => ( null)),
49820
+ currentContextWindowMaxTokens: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1261 => _1261.contextWindowMaxTokens]), () => ( null)),
49757
49821
  /** Input tokens (known after server's message_start frame; null until). */
49758
- currentInputTokens: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1255 => _1255.inputTokens]), () => ( null)),
49822
+ currentInputTokens: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1262 => _1262.inputTokens]), () => ( null)),
49759
49823
  /** Output tokens (known only after server's trailing usage frame). */
49760
- currentOutputTokens: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1256 => _1256.outputTokens]), () => ( null)),
49824
+ currentOutputTokens: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1263 => _1263.outputTokens]), () => ( null)),
49761
49825
  /** Cache hit % (read / total-input × 100). null during streaming. */
49762
- currentCacheHitRatePct: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1257 => _1257.cacheHitRatePct]), () => ( null)),
49826
+ currentCacheHitRatePct: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1264 => _1264.cacheHitRatePct]), () => ( null)),
49763
49827
  /** Cross-call usage breakdown (Haiku rewriter/classifier/summarizer
49764
49828
  * token counts). null until the trailing usage frame lands. */
49765
- currentUsageBreakdown: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1258 => _1258.breakdown]), () => ( null)),
49829
+ currentUsageBreakdown: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1265 => _1265.breakdown]), () => ( null)),
49766
49830
  // ─── Dialog management — stubs for v1 ────────────────────────────────
49767
49831
  // Guide mode currently keeps its history in `localStorage` opaquely
49768
49832
  // under the hood (`runtime.source` namespaced key). Surfacing that
@@ -49820,15 +49884,15 @@ var noopRejectRequest = async (_id, _reason) => {
49820
49884
 
49821
49885
  // src/components/chat/utils/process-historical-messages.ts
49822
49886
  function getOwnerDisplayName(owner) {
49823
- if (_optionalChain([owner, 'optionalAccess', _1259 => _1259.type]) === OWNER_TYPE.ADMIN && owner.user) {
49887
+ if (_optionalChain([owner, 'optionalAccess', _1266 => _1266.type]) === OWNER_TYPE.ADMIN && owner.user) {
49824
49888
  const { firstName, lastName } = owner.user;
49825
49889
  const name = [firstName, lastName].filter(Boolean).join(" ");
49826
49890
  if (name) return name;
49827
49891
  }
49828
- return _optionalChain([owner, 'optionalAccess', _1260 => _1260.type]) === OWNER_TYPE.ADMIN ? "Admin" : "You";
49892
+ return _optionalChain([owner, 'optionalAccess', _1267 => _1267.type]) === OWNER_TYPE.ADMIN ? "Admin" : "You";
49829
49893
  }
49830
49894
  function getOwnerAvatar(owner) {
49831
- return _nullishCoalesce(_optionalChain([owner, 'optionalAccess', _1261 => _1261.user, 'optionalAccess', _1262 => _1262.image, 'optionalAccess', _1263 => _1263.imageUrl]), () => ( void 0));
49895
+ return _nullishCoalesce(_optionalChain([owner, 'optionalAccess', _1268 => _1268.user, 'optionalAccess', _1269 => _1269.image, 'optionalAccess', _1270 => _1270.imageUrl]), () => ( void 0));
49832
49896
  }
49833
49897
  function pushStandaloneMessages(processedMessages, msg, messageDataArray) {
49834
49898
  messageDataArray.forEach((data) => {
@@ -49891,14 +49955,14 @@ function processHistoricalMessages(messages, options = {}) {
49891
49955
  pushStandaloneMessages(processedMessages, msg, messageDataArray);
49892
49956
  return;
49893
49957
  }
49894
- const isUserMessage = _optionalChain([msg, 'access', _1264 => _1264.owner, 'optionalAccess', _1265 => _1265.type]) === OWNER_TYPE.CLIENT || _optionalChain([msg, 'access', _1266 => _1266.owner, 'optionalAccess', _1267 => _1267.type]) === OWNER_TYPE.ADMIN;
49958
+ const isUserMessage = _optionalChain([msg, 'access', _1271 => _1271.owner, 'optionalAccess', _1272 => _1272.type]) === OWNER_TYPE.CLIENT || _optionalChain([msg, 'access', _1273 => _1273.owner, 'optionalAccess', _1274 => _1274.type]) === OWNER_TYPE.ADMIN;
49895
49959
  if (isUserMessage) {
49896
49960
  flushAssistantMessage();
49897
- const userAuthorType = _optionalChain([msg, 'access', _1268 => _1268.owner, 'optionalAccess', _1269 => _1269.type]) === OWNER_TYPE.ADMIN ? "admin" : "user";
49961
+ const userAuthorType = _optionalChain([msg, 'access', _1275 => _1275.owner, 'optionalAccess', _1276 => _1276.type]) === OWNER_TYPE.ADMIN ? "admin" : "user";
49898
49962
  messageDataArray.forEach((data) => {
49899
49963
  if (data.type === MESSAGE_TYPE.TEXT && "text" in data && data.text) {
49900
49964
  const rawContext = data.contextItems;
49901
- const contextItems = Array.isArray(rawContext) ? rawContext.filter((c) => typeof _optionalChain([c, 'optionalAccess', _1270 => _1270.type]) === "string" && typeof _optionalChain([c, 'optionalAccess', _1271 => _1271.id]) === "string").map((c) => ({ type: c.type, id: c.id, label: c.id })) : void 0;
49965
+ const contextItems = Array.isArray(rawContext) ? rawContext.filter((c) => typeof _optionalChain([c, 'optionalAccess', _1277 => _1277.type]) === "string" && typeof _optionalChain([c, 'optionalAccess', _1278 => _1278.id]) === "string").map((c) => ({ type: c.type, id: c.id, label: c.id })) : void 0;
49902
49966
  processedMessages.push({
49903
49967
  id: msg.id,
49904
49968
  role: "user",
@@ -49922,7 +49986,7 @@ function processHistoricalMessages(messages, options = {}) {
49922
49986
  });
49923
49987
  const nextMsg = messages[index + 1];
49924
49988
  const isLastMessage = index === messages.length - 1;
49925
- const nextIsFromUser = nextMsg && (_optionalChain([nextMsg, 'access', _1272 => _1272.owner, 'optionalAccess', _1273 => _1273.type]) === OWNER_TYPE.CLIENT || _optionalChain([nextMsg, 'access', _1274 => _1274.owner, 'optionalAccess', _1275 => _1275.type]) === OWNER_TYPE.ADMIN);
49989
+ const nextIsFromUser = nextMsg && (_optionalChain([nextMsg, 'access', _1279 => _1279.owner, 'optionalAccess', _1280 => _1280.type]) === OWNER_TYPE.CLIENT || _optionalChain([nextMsg, 'access', _1281 => _1281.owner, 'optionalAccess', _1282 => _1282.type]) === OWNER_TYPE.ADMIN);
49926
49990
  if (isLastMessage || nextIsFromUser) {
49927
49991
  flushAssistantMessage();
49928
49992
  }
@@ -50032,7 +50096,7 @@ function processMessageData(data, accumulator, approvalStatuses, options = {}, e
50032
50096
  }
50033
50097
  }
50034
50098
  } else {
50035
- _optionalChain([escalatedApprovals, 'optionalAccess', _1276 => _1276.set, 'call', _1277 => _1277(data.approvalRequestId, {
50099
+ _optionalChain([escalatedApprovals, 'optionalAccess', _1283 => _1283.set, 'call', _1284 => _1284(data.approvalRequestId, {
50036
50100
  command: data.command || "",
50037
50101
  explanation: data.explanation,
50038
50102
  approvalType,
@@ -50046,8 +50110,8 @@ function processMessageData(data, accumulator, approvalStatuses, options = {}, e
50046
50110
  const existingStatus = approvalStatuses[data.approvalRequestId];
50047
50111
  const status = existingStatus || (data.approved ? "approved" : "rejected");
50048
50112
  const resolvedByName = "resolvedByName" in data ? data.resolvedByName : void 0;
50049
- const escalatedData = _optionalChain([escalatedApprovals, 'optionalAccess', _1278 => _1278.get, 'call', _1279 => _1279(data.approvalRequestId)]);
50050
- if (_optionalChain([escalatedData, 'optionalAccess', _1280 => _1280.toolCalls]) && escalatedData.toolCalls.length > 0) {
50113
+ const escalatedData = _optionalChain([escalatedApprovals, 'optionalAccess', _1285 => _1285.get, 'call', _1286 => _1286(data.approvalRequestId)]);
50114
+ if (_optionalChain([escalatedData, 'optionalAccess', _1287 => _1287.toolCalls]) && escalatedData.toolCalls.length > 0) {
50051
50115
  if (batchApprovalsEnabled) {
50052
50116
  accumulator.addApprovalBatch(
50053
50117
  data.approvalRequestId,
@@ -50069,7 +50133,7 @@ function processMessageData(data, accumulator, approvalStatuses, options = {}, e
50069
50133
  );
50070
50134
  }
50071
50135
  }
50072
- _optionalChain([escalatedApprovals, 'optionalAccess', _1281 => _1281.delete, 'call', _1282 => _1282(data.approvalRequestId)]);
50136
+ _optionalChain([escalatedApprovals, 'optionalAccess', _1288 => _1288.delete, 'call', _1289 => _1289(data.approvalRequestId)]);
50073
50137
  break;
50074
50138
  }
50075
50139
  if (escalatedData) {
@@ -50078,7 +50142,7 @@ function processMessageData(data, accumulator, approvalStatuses, options = {}, e
50078
50142
  explanation: escalatedData.explanation,
50079
50143
  approvalType: escalatedData.approvalType
50080
50144
  });
50081
- _optionalChain([escalatedApprovals, 'optionalAccess', _1283 => _1283.delete, 'call', _1284 => _1284(data.approvalRequestId)]);
50145
+ _optionalChain([escalatedApprovals, 'optionalAccess', _1290 => _1290.delete, 'call', _1291 => _1291(data.approvalRequestId)]);
50082
50146
  }
50083
50147
  const before = accumulator.getSegments();
50084
50148
  const after = accumulator.updateApprovalStatus(data.approvalRequestId, status, resolvedByName);
@@ -50094,9 +50158,9 @@ function processMessageData(data, accumulator, approvalStatuses, options = {}, e
50094
50158
  case MESSAGE_TYPE.ERROR:
50095
50159
  if ("error" in data) {
50096
50160
  let message2;
50097
- if ("details" in data && _optionalChain([data, 'optionalAccess', _1285 => _1285.details])) {
50161
+ if ("details" in data && _optionalChain([data, 'optionalAccess', _1292 => _1292.details])) {
50098
50162
  try {
50099
- message2 = _optionalChain([JSON, 'access', _1286 => _1286.parse, 'call', _1287 => _1287(data.details), 'optionalAccess', _1288 => _1288.error, 'optionalAccess', _1289 => _1289.message]);
50163
+ message2 = _optionalChain([JSON, 'access', _1293 => _1293.parse, 'call', _1294 => _1294(data.details), 'optionalAccess', _1295 => _1295.error, 'optionalAccess', _1296 => _1296.message]);
50100
50164
  } catch (e67) {
50101
50165
  message2 = data.details;
50102
50166
  }
@@ -50179,14 +50243,14 @@ function processHistoricalMessagesWithErrors(messages, options = {}) {
50179
50243
  pushStandaloneMessages(processedMessages, msg, messageDataArray);
50180
50244
  return;
50181
50245
  }
50182
- const isUserMessage = _optionalChain([msg, 'access', _1290 => _1290.owner, 'optionalAccess', _1291 => _1291.type]) === OWNER_TYPE.CLIENT || _optionalChain([msg, 'access', _1292 => _1292.owner, 'optionalAccess', _1293 => _1293.type]) === OWNER_TYPE.ADMIN;
50246
+ const isUserMessage = _optionalChain([msg, 'access', _1297 => _1297.owner, 'optionalAccess', _1298 => _1298.type]) === OWNER_TYPE.CLIENT || _optionalChain([msg, 'access', _1299 => _1299.owner, 'optionalAccess', _1300 => _1300.type]) === OWNER_TYPE.ADMIN;
50183
50247
  if (isUserMessage) {
50184
50248
  flushAssistantMessage();
50185
- const userAuthorType = _optionalChain([msg, 'access', _1294 => _1294.owner, 'optionalAccess', _1295 => _1295.type]) === OWNER_TYPE.ADMIN ? "admin" : "user";
50249
+ const userAuthorType = _optionalChain([msg, 'access', _1301 => _1301.owner, 'optionalAccess', _1302 => _1302.type]) === OWNER_TYPE.ADMIN ? "admin" : "user";
50186
50250
  messageDataArray.forEach((data) => {
50187
50251
  if (data.type === MESSAGE_TYPE.TEXT && "text" in data && data.text) {
50188
50252
  const rawContext = data.contextItems;
50189
- const contextItems = Array.isArray(rawContext) ? rawContext.filter((c) => typeof _optionalChain([c, 'optionalAccess', _1296 => _1296.type]) === "string" && typeof _optionalChain([c, 'optionalAccess', _1297 => _1297.id]) === "string").map((c) => ({ type: c.type, id: c.id, label: c.id })) : void 0;
50253
+ const contextItems = Array.isArray(rawContext) ? rawContext.filter((c) => typeof _optionalChain([c, 'optionalAccess', _1303 => _1303.type]) === "string" && typeof _optionalChain([c, 'optionalAccess', _1304 => _1304.id]) === "string").map((c) => ({ type: c.type, id: c.id, label: c.id })) : void 0;
50190
50254
  processedMessages.push({
50191
50255
  id: msg.id,
50192
50256
  role: "user",
@@ -50210,7 +50274,7 @@ function processHistoricalMessagesWithErrors(messages, options = {}) {
50210
50274
  });
50211
50275
  const nextMsg = messages[index + 1];
50212
50276
  const isLastMessage = index === messages.length - 1;
50213
- const nextIsFromUser = nextMsg && (_optionalChain([nextMsg, 'access', _1298 => _1298.owner, 'optionalAccess', _1299 => _1299.type]) === OWNER_TYPE.CLIENT || _optionalChain([nextMsg, 'access', _1300 => _1300.owner, 'optionalAccess', _1301 => _1301.type]) === OWNER_TYPE.ADMIN);
50277
+ const nextIsFromUser = nextMsg && (_optionalChain([nextMsg, 'access', _1305 => _1305.owner, 'optionalAccess', _1306 => _1306.type]) === OWNER_TYPE.CLIENT || _optionalChain([nextMsg, 'access', _1307 => _1307.owner, 'optionalAccess', _1308 => _1308.type]) === OWNER_TYPE.ADMIN);
50214
50278
  if (isLastMessage || nextIsFromUser) {
50215
50279
  flushAssistantMessage();
50216
50280
  }
@@ -50546,7 +50610,7 @@ function useNatsChatAdapter(config, options = {}) {
50546
50610
  }, [active, fetchDialogs, loadDialogsPage]);
50547
50611
  const sendMessage = _react.useCallback.call(void 0,
50548
50612
  async (text, sendOptions) => {
50549
- const hidden = _nullishCoalesce(_optionalChain([sendOptions, 'optionalAccess', _1302 => _1302.hidden]), () => ( false));
50613
+ const hidden = _nullishCoalesce(_optionalChain([sendOptions, 'optionalAccess', _1309 => _1309.hidden]), () => ( false));
50550
50614
  setMessages((prev) => [
50551
50615
  ...prev,
50552
50616
  {
@@ -50710,11 +50774,11 @@ function useNatsChatAdapter(config, options = {}) {
50710
50774
  // Tokens: live `token_usage` frame / dialog snapshot (`dialogTokenUsage`).
50711
50775
  // contextWindow uses the dialog's `contextSize` (the "X / Y" denominator,
50712
50776
  // matching the /mingo page). cacheHitRate/breakdown are SSE-only → null.
50713
- currentProvider: _nullishCoalesce(_nullishCoalesce(_optionalChain([liveModel, 'optionalAccess', _1303 => _1303.provider]), () => ( modelProvider)), () => ( null)),
50714
- currentModelLabel: _nullishCoalesce(_nullishCoalesce(_optionalChain([liveModel, 'optionalAccess', _1304 => _1304.modelLabel]), () => ( modelLabel)), () => ( null)),
50715
- currentContextWindowMaxTokens: _nullishCoalesce(_nullishCoalesce(_optionalChain([dialogTokenUsage, 'optionalAccess', _1305 => _1305.contextSize]), () => ( _optionalChain([liveModel, 'optionalAccess', _1306 => _1306.contextWindowMaxTokens]))), () => ( null)),
50716
- currentInputTokens: _nullishCoalesce(_optionalChain([dialogTokenUsage, 'optionalAccess', _1307 => _1307.inputTokensSize]), () => ( null)),
50717
- currentOutputTokens: _nullishCoalesce(_optionalChain([dialogTokenUsage, 'optionalAccess', _1308 => _1308.outputTokensSize]), () => ( null)),
50777
+ currentProvider: _nullishCoalesce(_nullishCoalesce(_optionalChain([liveModel, 'optionalAccess', _1310 => _1310.provider]), () => ( modelProvider)), () => ( null)),
50778
+ currentModelLabel: _nullishCoalesce(_nullishCoalesce(_optionalChain([liveModel, 'optionalAccess', _1311 => _1311.modelLabel]), () => ( modelLabel)), () => ( null)),
50779
+ currentContextWindowMaxTokens: _nullishCoalesce(_nullishCoalesce(_optionalChain([dialogTokenUsage, 'optionalAccess', _1312 => _1312.contextSize]), () => ( _optionalChain([liveModel, 'optionalAccess', _1313 => _1313.contextWindowMaxTokens]))), () => ( null)),
50780
+ currentInputTokens: _nullishCoalesce(_optionalChain([dialogTokenUsage, 'optionalAccess', _1314 => _1314.inputTokensSize]), () => ( null)),
50781
+ currentOutputTokens: _nullishCoalesce(_optionalChain([dialogTokenUsage, 'optionalAccess', _1315 => _1315.outputTokensSize]), () => ( null)),
50718
50782
  currentCacheHitRatePct: null,
50719
50783
  currentUsageBreakdown: null,
50720
50784
  // Dialog management
@@ -50962,7 +51026,7 @@ function extractIncompleteMessageState(lastMessage) {
50962
51026
  break;
50963
51027
  case "approval_batch": {
50964
51028
  const allDone = !!segment.data.executions && segment.data.toolCalls.every(
50965
- (c) => _optionalChain([segment, 'access', _1309 => _1309.data, 'access', _1310 => _1310.executions, 'optionalAccess', _1311 => _1311[c.toolExecutionRequestId], 'optionalAccess', _1312 => _1312.status]) === "done"
51029
+ (c) => _optionalChain([segment, 'access', _1316 => _1316.data, 'access', _1317 => _1317.executions, 'optionalAccess', _1318 => _1318[c.toolExecutionRequestId], 'optionalAccess', _1319 => _1319.status]) === "done"
50966
51030
  );
50967
51031
  if (segment.status !== "rejected" && !allDone) {
50968
51032
  hasIncompleteState = true;
@@ -51030,20 +51094,20 @@ function mergeHistoryWithRealtime(input) {
51030
51094
  const seqCoverageKnown = realtimeSeenStreamSeq > 0 && historyMaxStreamSeq > 0;
51031
51095
  const historyCoversRealtime = seqCoverageKnown ? historyMaxStreamSeq >= realtimeSeenStreamSeq : null;
51032
51096
  const trailing = processedHistory[processedHistory.length - 1];
51033
- const historyTrailingAssistant = _optionalChain([trailing, 'optionalAccess', _1313 => _1313.role]) === "assistant" ? trailing : null;
51034
- const historyBatchId = historyTrailingAssistant && Array.isArray(historyTrailingAssistant.content) ? _nullishCoalesce(_optionalChain([historyTrailingAssistant, 'access', _1314 => _1314.content, 'access', _1315 => _1315.find, 'call', _1316 => _1316((s) => s.type === "approval_batch"), 'optionalAccess', _1317 => _1317.data, 'optionalAccess', _1318 => _1318.approvalRequestId]), () => ( null)) : null;
51097
+ const historyTrailingAssistant = _optionalChain([trailing, 'optionalAccess', _1320 => _1320.role]) === "assistant" ? trailing : null;
51098
+ const historyBatchId = historyTrailingAssistant && Array.isArray(historyTrailingAssistant.content) ? _nullishCoalesce(_optionalChain([historyTrailingAssistant, 'access', _1321 => _1321.content, 'access', _1322 => _1322.find, 'call', _1323 => _1323((s) => s.type === "approval_batch"), 'optionalAccess', _1324 => _1324.data, 'optionalAccess', _1325 => _1325.approvalRequestId]), () => ( null)) : null;
51035
51099
  let processedToUse = processedHistory;
51036
51100
  const pinnedSyntheticIds = /* @__PURE__ */ new Set();
51037
51101
  const droppedSyntheticIds = /* @__PURE__ */ new Set();
51038
51102
  if (historyBatchId) {
51039
51103
  const batchTwins = existingMessages.filter(
51040
51104
  (m) => m.role === "assistant" && Array.isArray(m.content) && m.content.some(
51041
- (s) => s.type === "approval_batch" && _optionalChain([s, 'access', _1319 => _1319.data, 'optionalAccess', _1320 => _1320.approvalRequestId]) === historyBatchId
51105
+ (s) => s.type === "approval_batch" && _optionalChain([s, 'access', _1326 => _1326.data, 'optionalAccess', _1327 => _1327.approvalRequestId]) === historyBatchId
51042
51106
  )
51043
51107
  );
51044
51108
  const existingWithSameBatch = _nullishCoalesce(batchTwins.find((m) => m.id === streamingMessageId), () => ( batchTwins[batchTwins.length - 1]));
51045
51109
  if (existingWithSameBatch && Array.isArray(existingWithSameBatch.content)) {
51046
- const histSize = Array.isArray(_optionalChain([historyTrailingAssistant, 'optionalAccess', _1321 => _1321.content])) ? historyTrailingAssistant.content.length : 0;
51110
+ const histSize = Array.isArray(_optionalChain([historyTrailingAssistant, 'optionalAccess', _1328 => _1328.content])) ? historyTrailingAssistant.content.length : 0;
51047
51111
  const realtimeSize = existingWithSameBatch.content.length;
51048
51112
  if (existingWithSameBatch.id === streamingMessageId || realtimeSize > histSize) {
51049
51113
  processedToUse = processedHistory.slice(0, -1);
@@ -51059,16 +51123,16 @@ function mergeHistoryWithRealtime(input) {
51059
51123
  if (pinnedSyntheticIds.has(m.id)) return true;
51060
51124
  if (droppedSyntheticIds.has(m.id)) return false;
51061
51125
  if (processedIds.has(m.id)) return false;
51062
- if (_optionalChain([rawHistoryIds, 'optionalAccess', _1322 => _1322.has, 'call', _1323 => _1323(m.id)])) return false;
51126
+ if (_optionalChain([rawHistoryIds, 'optionalAccess', _1329 => _1329.has, 'call', _1330 => _1330(m.id)])) return false;
51063
51127
  if (m.role === "user" && m.id.startsWith("optimistic-") && typeof m.content === "string") {
51064
- const canBeInSnapshot = (_nullishCoalesce(_optionalChain([m, 'access', _1324 => _1324.timestamp, 'optionalAccess', _1325 => _1325.getTime, 'call', _1326 => _1326()]), () => ( 0))) <= historyFetchedAt;
51128
+ const canBeInSnapshot = (_nullishCoalesce(_optionalChain([m, 'access', _1331 => _1331.timestamp, 'optionalAccess', _1332 => _1332.getTime, 'call', _1333 => _1333()]), () => ( 0))) <= historyFetchedAt;
51065
51129
  return !(canBeInSnapshot && processedToUse.some((pm) => pm.role === "user" && pm.content === m.content));
51066
51130
  }
51067
51131
  if (isSyntheticRealtimeId(m.id) && m.id !== streamingMessageId) {
51068
51132
  if (m.role === "assistant" && trailingAssistantText && assistantAnswerText(m.content) === trailingAssistantText) {
51069
51133
  return false;
51070
51134
  }
51071
- const covered = typeof m.streamSeq === "number" && historyMaxStreamSeq > 0 ? historyMaxStreamSeq >= m.streamSeq : historyCoversRealtime !== null ? historyCoversRealtime : (_nullishCoalesce(_optionalChain([m, 'access', _1327 => _1327.timestamp, 'optionalAccess', _1328 => _1328.getTime, 'call', _1329 => _1329()]), () => ( 0))) <= historyFetchedAt;
51135
+ const covered = typeof m.streamSeq === "number" && historyMaxStreamSeq > 0 ? historyMaxStreamSeq >= m.streamSeq : historyCoversRealtime !== null ? historyCoversRealtime : (_nullishCoalesce(_optionalChain([m, 'access', _1334 => _1334.timestamp, 'optionalAccess', _1335 => _1335.getTime, 'call', _1336 => _1336()]), () => ( 0))) <= historyFetchedAt;
51072
51136
  if (covered) return false;
51073
51137
  }
51074
51138
  return true;
@@ -51288,7 +51352,7 @@ function useChatDialogManager({
51288
51352
  const handleConfirmRestore = _react.useCallback.call(void 0, async () => {
51289
51353
  if (restoreTarget) {
51290
51354
  try {
51291
- await _optionalChain([unarchiveDialog, 'optionalCall', _1330 => _1330(restoreTarget.id)]);
51355
+ await _optionalChain([unarchiveDialog, 'optionalCall', _1337 => _1337(restoreTarget.id)]);
51292
51356
  } catch (err) {
51293
51357
  console.error("[useChatDialogManager] unarchive failed:", err);
51294
51358
  return;
@@ -51705,7 +51769,7 @@ function EmbeddableChatInner({
51705
51769
  }),
51706
51770
  [commandsUrl]
51707
51771
  );
51708
- const userName = _optionalChain([identityUser, 'optionalAccess', _1331 => _1331.firstName, 'optionalAccess', _1332 => _1332.trim, 'call', _1333 => _1333()]) || _optionalChain([identityUser, 'optionalAccess', _1334 => _1334.name, 'optionalAccess', _1335 => _1335.split, 'call', _1336 => _1336(" "), 'access', _1337 => _1337[0], 'optionalAccess', _1338 => _1338.trim, 'call', _1339 => _1339()]) || void 0;
51772
+ const userName = _optionalChain([identityUser, 'optionalAccess', _1338 => _1338.firstName, 'optionalAccess', _1339 => _1339.trim, 'call', _1340 => _1340()]) || _optionalChain([identityUser, 'optionalAccess', _1341 => _1341.name, 'optionalAccess', _1342 => _1342.split, 'call', _1343 => _1343(" "), 'access', _1344 => _1344[0], 'optionalAccess', _1345 => _1345.trim, 'call', _1346 => _1346()]) || void 0;
51709
51773
  const effectiveModes = _react.useMemo.call(void 0, () => {
51710
51774
  if (modes) return modes;
51711
51775
  const guideOptions = tableIdForDocumentType ? { tableIdForDocumentType } : {};
@@ -51714,19 +51778,19 @@ function EmbeddableChatInner({
51714
51778
  const mingoCaps = _react.useMemo.call(void 0, () => {
51715
51779
  if (mingoState) {
51716
51780
  return {
51717
- canRename: _nullishCoalesce(_optionalChain([mingoDialogCapabilities, 'optionalAccess', _1340 => _1340.canRename]), () => ( false)),
51718
- canArchive: _nullishCoalesce(_optionalChain([mingoDialogCapabilities, 'optionalAccess', _1341 => _1341.canArchive]), () => ( false)),
51719
- fetchArchivedDialogs: _optionalChain([mingoDialogCapabilities, 'optionalAccess', _1342 => _1342.fetchArchivedDialogs]),
51720
- unarchiveDialog: _optionalChain([mingoDialogCapabilities, 'optionalAccess', _1343 => _1343.unarchiveDialog]),
51721
- searchQuery: _optionalChain([mingoDialogCapabilities, 'optionalAccess', _1344 => _1344.searchQuery]),
51722
- onSearchChange: _optionalChain([mingoDialogCapabilities, 'optionalAccess', _1345 => _1345.onSearchChange])
51781
+ canRename: _nullishCoalesce(_optionalChain([mingoDialogCapabilities, 'optionalAccess', _1347 => _1347.canRename]), () => ( false)),
51782
+ canArchive: _nullishCoalesce(_optionalChain([mingoDialogCapabilities, 'optionalAccess', _1348 => _1348.canArchive]), () => ( false)),
51783
+ fetchArchivedDialogs: _optionalChain([mingoDialogCapabilities, 'optionalAccess', _1349 => _1349.fetchArchivedDialogs]),
51784
+ unarchiveDialog: _optionalChain([mingoDialogCapabilities, 'optionalAccess', _1350 => _1350.unarchiveDialog]),
51785
+ searchQuery: _optionalChain([mingoDialogCapabilities, 'optionalAccess', _1351 => _1351.searchQuery]),
51786
+ onSearchChange: _optionalChain([mingoDialogCapabilities, 'optionalAccess', _1352 => _1352.onSearchChange])
51723
51787
  };
51724
51788
  }
51725
51789
  return {
51726
- canRename: !!_optionalChain([effectiveModes, 'access', _1346 => _1346.mingo, 'optionalAccess', _1347 => _1347.renameDialog]),
51727
- canArchive: !!_optionalChain([effectiveModes, 'access', _1348 => _1348.mingo, 'optionalAccess', _1349 => _1349.archiveDialog]),
51728
- fetchArchivedDialogs: _optionalChain([effectiveModes, 'access', _1350 => _1350.mingo, 'optionalAccess', _1351 => _1351.fetchArchivedDialogs]),
51729
- unarchiveDialog: _optionalChain([effectiveModes, 'access', _1352 => _1352.mingo, 'optionalAccess', _1353 => _1353.unarchiveDialog]),
51790
+ canRename: !!_optionalChain([effectiveModes, 'access', _1353 => _1353.mingo, 'optionalAccess', _1354 => _1354.renameDialog]),
51791
+ canArchive: !!_optionalChain([effectiveModes, 'access', _1355 => _1355.mingo, 'optionalAccess', _1356 => _1356.archiveDialog]),
51792
+ fetchArchivedDialogs: _optionalChain([effectiveModes, 'access', _1357 => _1357.mingo, 'optionalAccess', _1358 => _1358.fetchArchivedDialogs]),
51793
+ unarchiveDialog: _optionalChain([effectiveModes, 'access', _1359 => _1359.mingo, 'optionalAccess', _1360 => _1360.unarchiveDialog]),
51730
51794
  searchQuery: void 0,
51731
51795
  onSearchChange: void 0
51732
51796
  };
@@ -51740,7 +51804,7 @@ function EmbeddableChatInner({
51740
51804
  if (controlledActiveMode === void 0) {
51741
51805
  setUncontrolledActiveMode(next);
51742
51806
  }
51743
- _optionalChain([onActiveModeChange, 'optionalCall', _1354 => _1354(next)]);
51807
+ _optionalChain([onActiveModeChange, 'optionalCall', _1361 => _1361(next)]);
51744
51808
  },
51745
51809
  [controlledActiveMode, onActiveModeChange]
51746
51810
  );
@@ -51762,7 +51826,7 @@ function EmbeddableChatInner({
51762
51826
  const effectiveQuickActions = emptyStateUrl ? emptyStateConfig.quickActions : [];
51763
51827
  const effectiveAssistantName = emptyStateConfig.name;
51764
51828
  const effectiveAssistantIcon = emptyStateConfig.icon;
51765
- const headerAssistantName = _nullishCoalesce(effectiveAssistantName, () => ( (typeof _optionalChain([guideWelcome, 'optionalAccess', _1355 => _1355.title]) === "string" ? guideWelcome.title : null)));
51829
+ const headerAssistantName = _nullishCoalesce(effectiveAssistantName, () => ( (typeof _optionalChain([guideWelcome, 'optionalAccess', _1362 => _1362.title]) === "string" ? guideWelcome.title : null)));
51766
51830
  const {
51767
51831
  messages: rawMessages,
51768
51832
  isLoading: chatLoading,
@@ -51802,7 +51866,7 @@ function EmbeddableChatInner({
51802
51866
  if (activeMode !== "guide" || guidePromptSentRef.current) return;
51803
51867
  guidePromptSentRef.current = true;
51804
51868
  void sendMessage(guidePendingPrompt);
51805
- _optionalChain([onGuidePromptConsumed, 'optionalCall', _1356 => _1356()]);
51869
+ _optionalChain([onGuidePromptConsumed, 'optionalCall', _1363 => _1363()]);
51806
51870
  }, [guidePendingPrompt, activeMode, sendMessage, onGuidePromptConsumed]);
51807
51871
  const {
51808
51872
  attachments: stagedAttachments,
@@ -51813,7 +51877,7 @@ function EmbeddableChatInner({
51813
51877
  clear: clearAttachments
51814
51878
  } = useChatAttachments();
51815
51879
  const { panelRef: galleryPanelRef, modal: galleryModal } = useChatAttachmentImageGallery();
51816
- const contextMaxItems = _nullishCoalesce(_optionalChain([contextPicker, 'optionalAccess', _1357 => _1357.maxItems]), () => ( 10));
51880
+ const contextMaxItems = _nullishCoalesce(_optionalChain([contextPicker, 'optionalAccess', _1364 => _1364.maxItems]), () => ( 10));
51817
51881
  const contextPickerForMode = activeMode === "mingo" ? contextPicker : void 0;
51818
51882
  const [contextItems, setContextItems] = _react.useState.call(void 0, []);
51819
51883
  const [contextPickerOpen, setContextPickerOpen] = _react.useState.call(void 0, false);
@@ -51830,10 +51894,10 @@ function EmbeddableChatInner({
51830
51894
  }, [activeDialogId, activeMode]);
51831
51895
  const mentionMarkerByType = _react.useMemo.call(void 0, () => {
51832
51896
  const m = /* @__PURE__ */ new Map();
51833
- for (const t of _nullishCoalesce(_optionalChain([contextPicker, 'optionalAccess', _1358 => _1358.entityTypes]), () => ( []))) if (t.marker) m.set(t.type, t.marker);
51897
+ for (const t of _nullishCoalesce(_optionalChain([contextPicker, 'optionalAccess', _1365 => _1365.entityTypes]), () => ( []))) if (t.marker) m.set(t.type, t.marker);
51834
51898
  return m;
51835
- }, [_optionalChain([contextPicker, 'optionalAccess', _1359 => _1359.entityTypes])]);
51836
- const contextEntityTypes = _optionalChain([contextPicker, 'optionalAccess', _1360 => _1360.entityTypes]);
51899
+ }, [_optionalChain([contextPicker, 'optionalAccess', _1366 => _1366.entityTypes])]);
51900
+ const contextEntityTypes = _optionalChain([contextPicker, 'optionalAccess', _1367 => _1367.entityTypes]);
51837
51901
  const resolveContextIcon = _react.useMemo.call(void 0, () => {
51838
51902
  const byType = /* @__PURE__ */ new Map();
51839
51903
  for (const t of _nullishCoalesce(contextEntityTypes, () => ( []))) byType.set(t.type, t.icon);
@@ -51845,7 +51909,7 @@ function EmbeddableChatInner({
51845
51909
  if (mentionActiveRef.current) {
51846
51910
  if (contextItems.some((p) => `${p.type}:${p.id}` === key)) return;
51847
51911
  if (contextItems.length >= contextMaxItems) return;
51848
- _optionalChain([chatInputRef, 'access', _1361 => _1361.current, 'optionalAccess', _1362 => _1362.commitMention, 'call', _1363 => _1363(mentionTokenOf(key, mentionMarkerByType), {
51912
+ _optionalChain([chatInputRef, 'access', _1368 => _1368.current, 'optionalAccess', _1369 => _1369.commitMention, 'call', _1370 => _1370(mentionTokenOf(key, mentionMarkerByType), {
51849
51913
  label: item.label,
51850
51914
  icon: resolveContextIcon(item)
51851
51915
  })]);
@@ -51867,9 +51931,9 @@ function EmbeddableChatInner({
51867
51931
  setContextItems((prev) => prev.filter((p) => `${p.type}:${p.id}` !== key));
51868
51932
  if (mentionKeysRef.current.has(key)) {
51869
51933
  mentionKeysRef.current.delete(key);
51870
- const cur = _nullishCoalesce(_optionalChain([chatInputRef, 'access', _1364 => _1364.current, 'optionalAccess', _1365 => _1365.getValue, 'call', _1366 => _1366()]), () => ( ""));
51934
+ const cur = _nullishCoalesce(_optionalChain([chatInputRef, 'access', _1371 => _1371.current, 'optionalAccess', _1372 => _1372.getValue, 'call', _1373 => _1373()]), () => ( ""));
51871
51935
  const next = cur.replace(`@${mentionTokenOf(key, mentionMarkerByType)}`, "").replace(/\s{2,}/g, " ").trimStart();
51872
- _optionalChain([chatInputRef, 'access', _1367 => _1367.current, 'optionalAccess', _1368 => _1368.setValue, 'call', _1369 => _1369(next)]);
51936
+ _optionalChain([chatInputRef, 'access', _1374 => _1374.current, 'optionalAccess', _1375 => _1375.setValue, 'call', _1376 => _1376(next)]);
51873
51937
  }
51874
51938
  }, [mentionMarkerByType]);
51875
51939
  const handleContextValueChange = _react.useCallback.call(void 0, (value) => {
@@ -51886,7 +51950,7 @@ function EmbeddableChatInner({
51886
51950
  }, []);
51887
51951
  const closeContextPicker = _react.useCallback.call(void 0, () => {
51888
51952
  if (mentionActiveRef.current) {
51889
- _optionalChain([chatInputRef, 'access', _1370 => _1370.current, 'optionalAccess', _1371 => _1371.removeMentionTrigger, 'call', _1372 => _1372()]);
51953
+ _optionalChain([chatInputRef, 'access', _1377 => _1377.current, 'optionalAccess', _1378 => _1378.removeMentionTrigger, 'call', _1379 => _1379()]);
51890
51954
  }
51891
51955
  setContextPickerOpen(false);
51892
51956
  setMentionQuery(null);
@@ -51920,8 +51984,8 @@ function EmbeddableChatInner({
51920
51984
  []
51921
51985
  );
51922
51986
  const timestampCacheRef = _react.useRef.call(void 0, /* @__PURE__ */ new Map());
51923
- const guideUserName = activeMode === "guide" ? [_optionalChain([identityUser, 'optionalAccess', _1373 => _1373.firstName]), _optionalChain([identityUser, 'optionalAccess', _1374 => _1374.lastName])].filter(Boolean).join(" ").trim() || _optionalChain([identityUser, 'optionalAccess', _1375 => _1375.name, 'optionalAccess', _1376 => _1376.trim, 'call', _1377 => _1377()]) || void 0 : void 0;
51924
- const guideUserAvatar = activeMode === "guide" ? _optionalChain([identityUser, 'optionalAccess', _1378 => _1378.avatarUrl, 'optionalAccess', _1379 => _1379.trim, 'call', _1380 => _1380()]) || void 0 : void 0;
51987
+ const guideUserName = activeMode === "guide" ? [_optionalChain([identityUser, 'optionalAccess', _1380 => _1380.firstName]), _optionalChain([identityUser, 'optionalAccess', _1381 => _1381.lastName])].filter(Boolean).join(" ").trim() || _optionalChain([identityUser, 'optionalAccess', _1382 => _1382.name, 'optionalAccess', _1383 => _1383.trim, 'call', _1384 => _1384()]) || void 0 : void 0;
51988
+ const guideUserAvatar = activeMode === "guide" ? _optionalChain([identityUser, 'optionalAccess', _1385 => _1385.avatarUrl, 'optionalAccess', _1386 => _1386.trim, 'call', _1387 => _1387()]) || void 0 : void 0;
51925
51989
  const messages = _react.useMemo.call(void 0, () => {
51926
51990
  const cache = timestampCacheRef.current;
51927
51991
  const seenIds = /* @__PURE__ */ new Set();
@@ -52054,6 +52118,15 @@ function EmbeddableChatInner({
52054
52118
  window.addEventListener("ask-ai:open-with-ref", handler);
52055
52119
  return () => window.removeEventListener("ask-ai:open-with-ref", handler);
52056
52120
  }, [source, discussRef, setIsOpen]);
52121
+ _react.useEffect.call(void 0, () => {
52122
+ const handler = (e) => {
52123
+ const detail = e.detail;
52124
+ if (!detail || detail.source !== source) return;
52125
+ setIsOpen(true);
52126
+ };
52127
+ window.addEventListener("ask-ai:open", handler);
52128
+ return () => window.removeEventListener("ask-ai:open", handler);
52129
+ }, [source, setIsOpen]);
52057
52130
  const hasMessages = messages.length > 0;
52058
52131
  const dialogsInitialLoading = isDialogsLoading && dialogs.length === 0;
52059
52132
  const dialogsLoadError = dialogsError && dialogs.length === 0;
@@ -52090,9 +52163,9 @@ function EmbeddableChatInner({
52090
52163
  const lastAssistantMsg = [...rawMessages].reverse().find((m) => m.role === "assistant");
52091
52164
  const lastSources = _react.useMemo.call(void 0, () => {
52092
52165
  if (chatLoading) return void 0;
52093
- const sources = _optionalChain([lastAssistantMsg, 'optionalAccess', _1381 => _1381.sources]);
52166
+ const sources = _optionalChain([lastAssistantMsg, 'optionalAccess', _1388 => _1388.sources]);
52094
52167
  if (!sources || sources.length === 0) return void 0;
52095
- const content = _optionalChain([lastAssistantMsg, 'optionalAccess', _1382 => _1382.content]) || "";
52168
+ const content = _optionalChain([lastAssistantMsg, 'optionalAccess', _1389 => _1389.content]) || "";
52096
52169
  const citationOrder = [...content.matchAll(/\[(\d+)\]/g)].map(
52097
52170
  (m) => parseInt(m[1], 10)
52098
52171
  );
@@ -52139,7 +52212,7 @@ function EmbeddableChatInner({
52139
52212
  ChatPanelHeader,
52140
52213
  {
52141
52214
  showBack: hasConversation || guideCanReturnToMingo,
52142
- title: hasConversation ? _optionalChain([activeDialog, 'optionalAccess', _1383 => _1383.title]) || "New Chat" : isGuideEmpty ? _nullishCoalesce(headerAssistantName, () => ( "Mingo Guide")) : "Current Chats",
52215
+ title: hasConversation ? _optionalChain([activeDialog, 'optionalAccess', _1390 => _1390.title]) || "New Chat" : isGuideEmpty ? _nullishCoalesce(headerAssistantName, () => ( "Mingo Guide")) : "Current Chats",
52143
52216
  backAriaLabel: hasConversation ? isViewingArchived ? "Back to archive" : "Back" : "Back to Mingo",
52144
52217
  isArchivedView: isViewingArchived,
52145
52218
  onBack: hasConversation ? handleBack : () => handleActiveModeChange("mingo"),
@@ -52260,9 +52333,9 @@ function EmbeddableChatInner({
52260
52333
  subtitle: _nullishCoalesce(effectiveGreeting, () => ( void 0)),
52261
52334
  subtitleLoading: emptyStateLoading,
52262
52335
  ...guideWelcome,
52263
- title: _nullishCoalesce(effectiveAssistantName, () => ( _optionalChain([guideWelcome, 'optionalAccess', _1384 => _1384.title]))),
52264
- icon: _nullishCoalesce(effectiveAssistantIcon, () => ( _optionalChain([guideWelcome, 'optionalAccess', _1385 => _1385.icon]))),
52265
- quickActions: agentConfigUrl && guideSuggestedActions.length > 0 ? guideSuggestedActions : _nullishCoalesce(_optionalChain([guideWelcome, 'optionalAccess', _1386 => _1386.quickActions]), () => ( guideSuggestedActions)),
52336
+ title: _nullishCoalesce(effectiveAssistantName, () => ( _optionalChain([guideWelcome, 'optionalAccess', _1391 => _1391.title]))),
52337
+ icon: _nullishCoalesce(effectiveAssistantIcon, () => ( _optionalChain([guideWelcome, 'optionalAccess', _1392 => _1392.icon]))),
52338
+ quickActions: agentConfigUrl && guideSuggestedActions.length > 0 ? guideSuggestedActions : _nullishCoalesce(_optionalChain([guideWelcome, 'optionalAccess', _1393 => _1393.quickActions]), () => ( guideSuggestedActions)),
52266
52339
  onQuickAction: (action) => {
52267
52340
  setQuickActionPreview(null);
52268
52341
  handleSend(_nullishCoalesce(action.prompt, () => ( action.label)));
@@ -53400,5 +53473,6 @@ function EmbeddableChatInner({
53400
53473
 
53401
53474
 
53402
53475
 
53403
- exports.Label = Label; exports.AllowedDomainsInput = AllowedDomainsInput; exports.HiddenTagsPopup = HiddenTagsPopup; exports.tagVariants = tagVariants; exports.Tag = Tag; exports.Autocomplete = Autocomplete; exports.Card = Card; exports.CardHeader = CardHeader; exports.CardTitle = CardTitle; exports.CardDescription = CardDescription; exports.CardContent = CardContent; exports.CardFooter = CardFooter; exports.CardHorizontal = CardHorizontal; exports.CheckboxBlock = CheckboxBlock; exports.CheckboxWithDescription = CheckboxWithDescription; exports.Select = Select; exports.SelectGroup = SelectGroup; exports.SelectValue = SelectValue; exports.SelectTrigger = SelectTrigger; exports.SelectScrollUpButton = SelectScrollUpButton; exports.SelectScrollDownButton = SelectScrollDownButton; exports.SelectContent = SelectContent; exports.SelectLabel = SelectLabel; exports.SelectItem = SelectItem; exports.SelectSeparator = SelectSeparator; exports.DatePicker = DatePicker; exports.DatePickerInput = DatePickerInput; exports.DatePickerInputSimple = DatePickerInputSimple; exports.DateFilterPanel = DateFilterPanel; exports.DateFilterMenu = DateFilterMenu; exports.DurationInput = DurationInput; exports.HoneypotField = HoneypotField; exports.ProgressBar = ProgressBar; exports.InfoCard = InfoCard; exports.InfoRow = InfoRow; exports.formatDate = formatDate; exports.formatNumber = formatNumber; exports.formatPrice = formatPrice; exports.formatBytes = formatBytes; exports.formatBytesShort = formatBytesShort; exports.formatFileSize = formatFileSize; exports.formatLargeNumber = formatLargeNumber; exports.formatAbbreviatedNumber = formatAbbreviatedNumber; exports.getFirstLastInitials = getFirstLastInitials; exports.nameInitials = nameInitials; exports.formatDurationMMSS = formatDurationMMSS; exports.formatDurationCompact = formatDurationCompact; exports.formatTimeWithTimezone = formatTimeWithTimezone; exports.formatDurationFromRange = formatDurationFromRange; exports.formatDateUTC = formatDateUTC; exports.formatEntryMonthUTC = formatEntryMonthUTC; exports.formatLegalDate = formatLegalDate; exports.formatCurrency = formatCurrency; exports.formatPercent = formatPercent; exports.formatWholeDollars = formatWholeDollars; exports.formatCompactMetric = formatCompactMetric; exports.getTrendColors = getTrendColors; exports.formatDateRange = formatDateRange; exports.formatDateTimeAt = formatDateTimeAt; exports.formatDurationFromMs = formatDurationFromMs; exports.formatDuration = formatDuration; exports.formatUnderscoreText = formatUnderscoreText; exports.stripHtml = stripHtml; exports.formatClassification = formatClassification; exports.formatPricingModel = formatPricingModel; exports.formatBioText = formatBioText; exports.SquareAvatar = SquareAvatar; exports.AssigneeDropdown = AssigneeDropdown; exports.ActionsMenu = ActionsMenu; exports.ActionsMenuDropdown = ActionsMenuDropdown; exports.ColorSwatch = ColorSwatch; exports.DESIGN_PALETTE = DESIGN_PALETTE; exports.getContrastRatio = getContrastRatio; exports.pickReadableTextColor = pickReadableTextColor; exports.extractDominantColor = extractDominantColor; exports.getBestContrastColor = getBestContrastColor; exports.analyzeImageColor = analyzeImageColor; exports.extractImageEdgeColorAsync = extractImageEdgeColorAsync; exports.getPlatformAccentColor = getPlatformAccentColor; exports.getCurrentPlatform = getCurrentPlatform; exports.getReadableTextColor = getReadableTextColor; exports.HEX_PATTERN = HEX_PATTERN; exports.hexToRgb = hexToRgb2; exports.rgbToHex = rgbToHex; exports.deriveHoverColor = deriveHoverColor; exports.deriveActiveColor = deriveActiveColor; exports.resolveTicketStatus = resolveTicketStatus; exports.getTicketStatusConfig = getTicketStatusConfig; exports.getTicketStatusTag = getTicketStatusTag; exports.kindToCanonicalStatus = kindToCanonicalStatus; exports.usesCanonicalStatusStyle = usesCanonicalStatusStyle; exports.resolveStatusTagProps = resolveStatusTagProps; exports.TicketStatusTag = TicketStatusTag; exports.InfoSection = InfoSection; exports.InputTrigger = InputTrigger; exports.InteractiveCard = InteractiveCard; exports.MediaTypeSelector = MediaTypeSelector; exports.noDataIconClasses = noDataIconClasses; exports.noDataActionsVariants = noDataActionsVariants; exports.NoDataMessage = NoDataMessage; exports.NoDataAction = NoDataAction; exports.NoDataActions = NoDataActions; exports.NoData = NoData; exports.PageLoader = PageLoader; exports.CompactPageLoader = CompactPageLoader; exports.RadioGroup = RadioGroup; exports.RadioGroupItem = RadioGroupItem; exports.RadioGroupBlock = RadioGroupBlock; exports.useScrollFade = useScrollFade; exports.ScrollFadeOverlay = ScrollFadeOverlay; exports.Switch = Switch; exports.TagSelectDropdown = TagSelectDropdown; exports.badgeVariants = badgeVariants; exports.Badge = Badge; exports.TagsInput = TagsInput; exports.TagsManager = TagsManager; exports.Textarea = Textarea; exports.AlertDialog = AlertDialog; exports.AlertDialogTrigger = AlertDialogTrigger; exports.AlertDialogPortal = AlertDialogPortal; exports.AlertDialogOverlay = AlertDialogOverlay; exports.AlertDialogContent = AlertDialogContent; exports.AlertDialogHeader = AlertDialogHeader; exports.AlertDialogFooter = AlertDialogFooter; exports.AlertDialogTitle = AlertDialogTitle; exports.AlertDialogDescription = AlertDialogDescription; exports.AlertDialogAction = AlertDialogAction; exports.AlertDialogCancel = AlertDialogCancel; exports.AspectRatio = AspectRatio; exports.Dialog = Dialog; exports.DialogTrigger = DialogTrigger; exports.DialogPortal = DialogPortal; exports.DialogClose = DialogClose; exports.DialogOverlay = DialogOverlay; exports.DialogContent = DialogContent; exports.DialogHeader = DialogHeader; exports.DialogFooter = DialogFooter; exports.DialogTitle = DialogTitle; exports.DialogDescription = DialogDescription; exports.ImageGalleryModal = ImageGalleryModal; exports.Modal = Modal2; exports.ModalContent = ModalContent2; exports.ModalHeader = ModalHeader2; exports.ModalTitle = ModalTitle2; exports.ModalFooter = ModalFooter2; exports.Modal2 = Modal; exports.ModalContent2 = ModalContent; exports.ModalHeader2 = ModalHeader; exports.ModalTitle2 = ModalTitle; exports.ModalFooter2 = ModalFooter; exports.Separator = Separator2; exports.Sheet = Sheet; exports.SheetTrigger = SheetTrigger; exports.SheetClose = SheetClose; exports.SheetPortal = SheetPortal; exports.SheetOverlay = SheetOverlay; exports.SheetContent = SheetContent; exports.SheetHeader = SheetHeader; exports.SheetFooter = SheetFooter; exports.SheetTitle = SheetTitle; exports.SheetDescription = SheetDescription; exports.OVERLAY_BACKDROP_CLASS = OVERLAY_BACKDROP_CLASS; exports.Drawer = Drawer; exports.DrawerTrigger = DrawerTrigger; exports.DrawerClose = DrawerClose; exports.DrawerPortal = DrawerPortal; exports.DrawerOverlay = DrawerOverlay; exports.DrawerContent = DrawerContent; exports.DrawerHeader = DrawerHeader; exports.DrawerTitle = DrawerTitle; exports.DrawerDescription = DrawerDescription; exports.DrawerBody = DrawerBody; exports.DrawerFooter = DrawerFooter; exports.Tabs = Tabs; exports.TabsList = TabsList; exports.TabsTrigger = TabsTrigger; exports.TabsContent = TabsContent; exports.Accordion = Accordion; exports.AccordionItem = AccordionItem; exports.AccordionTrigger = AccordionTrigger; exports.AccordionContent = AccordionContent; exports.Breadcrumb = Breadcrumb; exports.BreadcrumbList = BreadcrumbList; exports.BreadcrumbItem = BreadcrumbItem; exports.BreadcrumbLink = BreadcrumbLink; exports.BreadcrumbPage = BreadcrumbPage; exports.BreadcrumbSeparator = BreadcrumbSeparator; exports.BreadcrumbEllipsis = BreadcrumbEllipsis; exports.MenubarMenu = MenubarMenu; exports.MenubarGroup = MenubarGroup; exports.MenubarPortal = MenubarPortal; exports.MenubarSub = MenubarSub; exports.MenubarRadioGroup = MenubarRadioGroup; exports.Menubar = Menubar; exports.MenubarTrigger = MenubarTrigger; exports.MenubarSubTrigger = MenubarSubTrigger; exports.MenubarSubContent = MenubarSubContent; exports.MenubarContent = MenubarContent; exports.MenubarItem = MenubarItem; exports.MenubarCheckboxItem = MenubarCheckboxItem; exports.MenubarRadioItem = MenubarRadioItem; exports.MenubarLabel = MenubarLabel; exports.MenubarSeparator = MenubarSeparator; exports.MenubarShortcut = MenubarShortcut; exports.NavigationMenu = NavigationMenu; exports.NavigationMenuList = NavigationMenuList; exports.NavigationMenuItem = NavigationMenuItem; exports.navigationMenuTriggerStyle = navigationMenuTriggerStyle; exports.NavigationMenuTrigger = NavigationMenuTrigger; exports.NavigationMenuContent = NavigationMenuContent; exports.NavigationMenuLink = NavigationMenuLink; exports.NavigationMenuViewport = NavigationMenuViewport; exports.NavigationMenuIndicator = NavigationMenuIndicator; exports.CrossfadePanels = CrossfadePanels; exports.TabContent = TabContent; exports.TabNavigation = TabNavigation; exports.getTabById = getTabById; exports.getTabComponent = getTabComponent; exports.Alert = Alert; exports.AlertTitle = AlertTitle; exports.AlertDescription = AlertDescription; exports.AIGeneratedBadge = AIGeneratedBadge; exports.FadePreview = FadePreview; exports.Progress = Progress; exports.VideoPlayBadge = VideoPlayBadge; exports.VideoUnmuteGlyph = VideoUnmuteGlyph; exports.fetchPriorityProp = fetchPriorityProp; exports.extractYouTubeId = extractYouTubeId; exports.Video = Video2; exports.MediaCarousel = MediaCarousel; exports.EMBED_SIZES = EMBED_SIZES; exports.EmbedContainer = EmbedContainer; exports.YouTubeContainer = YouTubeContainer; exports.TwitterContainer = TwitterContainer; exports.RedditContainer = RedditContainer; exports.LinkPreviewContainer = LinkPreviewContainer; exports.LinkedInContainer = LinkedInContainer; exports.RichMarkdownRuntimeProvider = RichMarkdownRuntimeProvider; exports.useRichMarkdownRuntime = useRichMarkdownRuntime; exports.RedditEmbedClient = RedditEmbedClient; exports.TwitterEmbedClient = TwitterEmbedClient; exports.LinkedInEmbedClient = LinkedInEmbedClient; exports.OGLinkErrorBoundary = OGLinkErrorBoundary; exports.OGLinkPreview = OGLinkPreview; exports.toGoogleSheetsEmbedUrl = toGoogleSheetsEmbedUrl; exports.toGoogleSheetsOriginalUrl = toGoogleSheetsOriginalUrl; exports.toFigmaEmbedUrl = toFigmaEmbedUrl; exports.isFigmaSlidesUrl = isFigmaSlidesUrl; exports.toFigmaOriginalUrl = toFigmaOriginalUrl; exports.EmbedIframe = EmbedIframe; exports.FigmaEmbed = FigmaEmbed; exports.MarkdownImage = MarkdownImage; exports.RichMarkdownRenderer = RichMarkdownRenderer; exports.ReleaseChangelogSection = ReleaseChangelogSection; exports.StackedRowsPanel = StackedRowsPanel; exports.SlackChannelChip = SlackChannelChip; exports.statusBadgeVariants = statusBadgeVariants; exports.StatusBadge = StatusBadge; exports.StatusIndicator = StatusIndicator; exports.HoverDropdown = HoverDropdown; exports.ExpandChevron = ExpandChevron; exports.useCollapsible = useCollapsible; exports.getCommandText = getCommandText; exports.ArgRow = ArgRow; exports.ResultBlock = ResultBlock; exports.CommandBlock = CommandBlock; exports.ApprovalStatusTag = ApprovalStatusTag; exports.ApprovalBatchMessage = ApprovalBatchMessage; exports.ApprovalRequestMessage = ApprovalRequestMessage; exports.ContextCompactionDisplay = ContextCompactionDisplay; exports.SimpleMarkdownRenderer = SimpleMarkdownRenderer; exports.ThinkingDisplay = ThinkingDisplay; exports.ErrorMessageDisplay = ErrorMessageDisplay; exports.MspOrganizationCard = MspOrganizationCard; exports.MspOrganizationCardSkeleton = MspOrganizationCardSkeleton; exports.ChatContainer = ChatContainer; exports.ChatHeader = ChatHeader; exports.ChatContent = ChatContent; exports.ChatFooter = ChatFooter; exports.ChatTypingIndicator = ChatTypingIndicator; exports.MingoOnboardingCard = MingoOnboardingCard; exports.ICON_REGISTRY = ICON_REGISTRY; exports.normalizeIconKey = normalizeIconKey; exports.getIconComponent = getIconComponent; exports.getDynamicIcon = getDynamicIcon; exports.ICON_ALIASES = ICON_ALIASES; exports.resolveIcon = resolveIcon; exports.ICON_OPTIONS = ICON_OPTIONS; exports.SlashCommandSuggestions = SlashCommandSuggestions; exports.ChatInput = ChatInput; exports.formatTicketRelativeTime = formatTicketRelativeTime; exports.formatTicketFullTimestamp = formatTicketFullTimestamp; exports.formatRelativeTime = formatRelativeTime; exports.formatAbsoluteDate = formatAbsoluteDate; exports.formatDateTime = formatDateTime; exports.getDetailedTimeDifference = getDetailedTimeDifference; exports.isToday = isToday; exports.isWithinMinutes = isWithinMinutes; exports.createUTCTimestamp = createUTCTimestamp; exports.ToolExecutionDisplay = ToolExecutionDisplay; exports.remarkCardLinks = remarkCardLinks; exports.remarkMentionChips = remarkMentionChips; exports.BlockCard = BlockCard; exports.CONTEXT_ROW_CLASS = CONTEXT_ROW_CLASS; exports.CONTEXT_ICON_CLASS = CONTEXT_ICON_CLASS; exports.CONTEXT_LABEL_CLASS = CONTEXT_LABEL_CLASS; exports.CONTEXT_BACK_CLASS = CONTEXT_BACK_CLASS; exports.CONTEXT_STATE_CLASS = CONTEXT_STATE_CLASS; exports.ContextMenuRow = ContextMenuRow; exports.ContextItemsSkeleton = ContextItemsSkeleton; exports.ContextItemsList = ContextItemsList; exports.ContextErrorBoundary = ContextErrorBoundary; exports.CHAT_CONTEXT_ITEMS_DEFAULT_MAX = CHAT_CONTEXT_ITEMS_DEFAULT_MAX; exports.ChatComposerPlusMenu = ChatComposerPlusMenu; exports.ChatContextPicker = ChatContextPicker; exports.ChatContextChipStrip = ChatContextChipStrip; exports.MemoizedChatMessageEnhanced = MemoizedChatMessageEnhanced; exports.ChatMessageSkeleton = ChatMessageSkeleton; exports.ChatMessageListSkeleton = ChatMessageListSkeleton; exports.MESSAGE_TYPE = MESSAGE_TYPE; exports.SCROLL_ANCHOR = SCROLL_ANCHOR; exports.ChatMessageList = ChatMessageList; exports.getProxiedImageUrl = getProxiedImageUrl; exports.urlPathLooksLikeSvg = urlPathLooksLikeSvg; exports.shouldProxyImage = shouldProxyImage; exports.generateImageSizes = generateImageSizes; exports.useProxiedImageUrl = useProxiedImageUrl; exports.ChatMessageRow = ChatMessageRow; exports.ChatMessageRowSkeleton = ChatMessageRowSkeleton; exports.ChatQuickAction = ChatQuickAction; exports.FAE_AVATAR_DATA_URI = FAE_AVATAR_DATA_URI; exports.AgentMark = AgentMark; exports.EntityIcon = EntityIcon; exports.getAgentAccent = getAgentAccent; exports.accentFromIdentityIcon = accentFromIdentityIcon; exports.renderQuickActionIcon = renderQuickActionIcon; exports.QuickActionChipSkeleton = QuickActionChipSkeleton; exports.QuickActionChipButton = QuickActionChipButton; exports.ChatQuickActionRow = ChatQuickActionRow; exports.ChatQuickActionRowSkeleton = ChatQuickActionRowSkeleton; exports.QuickActionMarquee = QuickActionMarquee; exports.ChatTicketItem = ChatTicketItem; exports.ChatTicketList = ChatTicketList; exports.MingoOnboardingCardSkeleton = MingoOnboardingCardSkeleton; exports.MingoOnboardingListSkeleton = MingoOnboardingListSkeleton; exports.MingoChatHistorySkeleton = MingoChatHistorySkeleton; exports.MingoChatHistory = MingoChatHistory; exports.MingoWelcome = MingoWelcome; exports.GuideWelcome = GuideWelcome; exports.TooltipProvider = TooltipProvider; exports.Tooltip = Tooltip; exports.TooltipTrigger = TooltipTrigger; exports.TooltipContent = TooltipContent; exports.GuideModeBanner = GuideModeBanner; exports.RenameChatModal = RenameChatModal; exports.ArchiveChatModal = ArchiveChatModal; exports.UnarchiveChatModal = UnarchiveChatModal; exports.ChatDialogModals = ChatDialogModals; exports.ChatHeaderIconButton = ChatHeaderIconButton; exports.COMPACT_HEADER_BUTTON = COMPACT_HEADER_BUTTON; exports.ChatPanelHeader = ChatPanelHeader; exports.CHAT_ATTACHMENT_VIEW_URL_PREFIX = CHAT_ATTACHMENT_VIEW_URL_PREFIX; exports.CHAT_ATTACHMENT_VIEW_TOKEN_QUERY_PARAM = CHAT_ATTACHMENT_VIEW_TOKEN_QUERY_PARAM; exports.ANTHROPIC_SUPPORTED_IMAGE_MIME = ANTHROPIC_SUPPORTED_IMAGE_MIME; exports.buildChatAttachmentViewUrl = buildChatAttachmentViewUrl; exports.escapeMarkdownInline = escapeMarkdownInline; exports.formatChatAttachmentMarkdownForBubble = formatChatAttachmentMarkdownForBubble; exports.CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED = CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED; exports.CHAT_ATTACHMENT_MARKDOWN_PATTERN = CHAT_ATTACHMENT_MARKDOWN_PATTERN; exports.stripChatAttachmentMarkdown = stripChatAttachmentMarkdown; exports.CHAT_ATTACHMENT_MIME_TYPES = CHAT_ATTACHMENT_MIME_TYPES; exports.CHAT_ATTACHMENT_CONCURRENT_UPLOADS_PER_USER = CHAT_ATTACHMENT_CONCURRENT_UPLOADS_PER_USER; exports.ChatAttachmentAddButton = ChatAttachmentAddButton; exports.ChatAttachmentChipStrip = ChatAttachmentChipStrip; exports.HoverCard = HoverCard; exports.HoverCardTrigger = HoverCardTrigger; exports.HoverCardContent = HoverCardContent; exports.ModelDisplay = ModelDisplay; exports.ModelDisplaySkeleton = ModelDisplaySkeleton; exports.ChatComposer = ChatComposer; exports.ChatArchivePage = ChatArchivePage; exports.DialogListItem = DialogListItem; exports.ChatSidebar = ChatSidebar; exports.isCrossOriginUrl = isCrossOriginUrl; exports.decideNewTab = decideNewTab; exports.computeIsNewTab = computeIsNewTab; exports.newTabAnchorAttrs = newTabAnchorAttrs; exports.buildAnchorProps = buildAnchorProps; exports.NEW_TAB_FEATURES = NEW_TAB_FEATURES; exports.isModifierClick = isModifierClick; exports.stripSameOriginToPath = stripSameOriginToPath; exports.resolveExternalNavigation = resolveExternalNavigation; exports.executeNavigation = executeNavigation; exports.executeNavigationImperative = executeNavigationImperative; exports.handleChatNavClick = handleChatNavClick; exports.NavLinkAnchorViaRuntime = NavLinkAnchorViaRuntime; exports.SourceActionButton = SourceActionButton; exports.EMPTY_AUTHOR_PLACEHOLDER = EMPTY_AUTHOR_PLACEHOLDER; exports.EntityMetadataValueCell = EntityMetadataValueCell; exports.EntityMetadataAuthorCell = EntityMetadataAuthorCell; exports.EntityAuthorCard = EntityAuthorCard; exports.BlogImagePlaceholder = BlogImagePlaceholder; exports.useCoverImageFallback = useCoverImageFallback; exports.hideOnError = hideOnError; exports.EntityPortraitCard = EntityPortraitCard; exports.FlamingoLogo = FlamingoLogo2; exports.PlatformBadge = PlatformBadge; exports.AdminContentCard = AdminContentCard; exports.getProxiedImageUrl2 = getProxiedImageUrl2; exports.WhatIShippedCard = WhatIShippedCard; exports.WhatIShippedCardSkeleton = WhatIShippedCardSkeleton; exports.MUX_STREAM_ORIGIN = MUX_STREAM_ORIGIN; exports.MUX_IMAGE_ORIGIN = MUX_IMAGE_ORIGIN; exports.useVideoOriginPreconnect = useVideoOriginPreconnect; exports.useVideoWarmup = useVideoWarmup; exports.RATIO_GRID_CLASS = RATIO_GRID_CLASS; exports.RATIO_TO_CSS_ASPECT = RATIO_TO_CSS_ASPECT; exports.RatioTabs = RatioTabs; exports.detectAspectRatio = detectAspectRatio; exports.ratioToCategory = ratioToCategory; exports.groupByAspectRatio = groupByAspectRatio; exports.DEFAULT_VIDEO_BITES_TITLE = DEFAULT_VIDEO_BITES_TITLE; exports.toStripProfile = toStripProfile; exports.sortBitesByCreatedAtDesc = sortBitesByCreatedAtDesc; exports.PAGE_HEADING_CLASS = PAGE_HEADING_CLASS; exports.SECTION_HEADING_CLASS = SECTION_HEADING_CLASS; exports.PageHeading = PageHeading; exports.STRIP_CELL_MAX_WIDTH = STRIP_CELL_MAX_WIDTH; exports.CardsStrip = CardsStrip; exports.SquareAvatar2 = SquareAvatar2; exports.UserDisplay = UserDisplay; exports.VideoBitesStrip = VideoBitesStrip; exports.VideoBiteCard = VideoBiteCard; exports.EntityVideoSection = EntityVideoSection; exports.ChatVideoEntityCard = ChatVideoEntityCard; exports.ProductReleaseCard = ProductReleaseCard; exports.ProductReleaseCardSkeleton = ProductReleaseCardSkeleton; exports.formatReleaseDate = formatReleaseDate; exports.formatDateShort = formatDateShort; exports.formatDateSlashUTC = formatDateSlashUTC; exports.resolveReleaseCover = resolveReleaseCover; exports.releaseTypeToBadgeColor = releaseTypeToBadgeColor; exports.defaultBuildProductReleaseCardProps = defaultBuildProductReleaseCardProps; exports.buildProductReleaseCardProps = buildProductReleaseCardProps; exports.useEntityCardLink = useEntityCardLink; exports.COMPACT_CARD_OUTER = COMPACT_CARD_OUTER; exports.COMPACT_CARD_OUTER_STATIC = COMPACT_CARD_OUTER_STATIC; exports.COMPACT_CARD_SKELETON_OUTER = COMPACT_CARD_SKELETON_OUTER; exports.COMPACT_CARD_IMAGE_SLOT = COMPACT_CARD_IMAGE_SLOT; exports.COMPACT_CARD_SKELETON_IMAGE_SLOT = COMPACT_CARD_SKELETON_IMAGE_SLOT; exports.COMPACT_CARD_ICON_SLOT = COMPACT_CARD_ICON_SLOT; exports.COMPACT_CARD_TEXT_COL = COMPACT_CARD_TEXT_COL; exports.COMPACT_CARD_TITLE_ROW = COMPACT_CARD_TITLE_ROW; exports.COMPACT_CARD_META_ROW_BOX = COMPACT_CARD_META_ROW_BOX; exports.COMPACT_CARD_TITLE = COMPACT_CARD_TITLE; exports.COMPACT_CARD_SUBTITLE = COMPACT_CARD_SUBTITLE; exports.COMPACT_CARD_SUMMARY = COMPACT_CARD_SUMMARY; exports.COMPACT_CARD_META_ROW = COMPACT_CARD_META_ROW; exports.COMPACT_CARD_ROW_FILLER = COMPACT_CARD_ROW_FILLER; exports.safeHref = safeHref; exports.BlogCardSkeleton = BlogCardSkeleton; exports.BlogCard = BlogCard; exports.CaseStudyCardSkeleton = CaseStudyCardSkeleton; exports.CaseStudyCard = CaseStudyCard; exports.CustomerInterviewCardSkeleton = CustomerInterviewCardSkeleton; exports.CustomerInterviewCard = CustomerInterviewCard; exports.formatInvestorUpdatePeriod = formatInvestorUpdatePeriod; exports.InvestorUpdateCardSkeleton = InvestorUpdateCardSkeleton; exports.InvestorUpdateCard = InvestorUpdateCard; exports.OnboardingGuideCardSkeleton = OnboardingGuideCardSkeleton; exports.OnboardingGuideCard = OnboardingGuideCard; exports.RoadmapVoteButton = RoadmapVoteButton; exports.getStatusColorScheme = getStatusColorScheme; exports.CUSTOM_ITEM_ID = CUSTOM_ITEM_ID; exports.getTaskTypeLabel = getTaskTypeLabel; exports.TaskTypeIcon = TaskTypeIcon; exports.RoadmapCardSkeleton = RoadmapCardSkeleton; exports.RoadmapCard = RoadmapCard; exports.GitHubActivityCard = GitHubActivityCard; exports.GitHubActivityCardSkeleton = GitHubActivityCardSkeleton; exports.SlackMessageCard = SlackMessageCard; exports.SlackMessageCardSkeleton = SlackMessageCardSkeleton; exports.HubspotTicketCard = HubspotTicketCard; exports.HubspotTicketCardSkeleton = HubspotTicketCardSkeleton; exports.DataRoomDocCard = DataRoomDocCard; exports.DataRoomDocCardSkeleton = DataRoomDocCardSkeleton; exports.programItemToStripProfile = programItemToStripProfile; exports.transformEventToProgram = transformEventToProgram; exports.transformPodcastToProgram = transformPodcastToProgram; exports.transformWebinarToProgram = transformWebinarToProgram; exports.ProgramCardSkeleton = ProgramCardSkeleton; exports.ProgramCard = ProgramCard; exports.CampaignCardAdmin = CampaignCardAdmin; exports.CampaignCardAdminSkeleton = CampaignCardAdminSkeleton; exports.GenericEntityCard = GenericEntityCard; exports.GenericEntityCardSkeleton = GenericEntityCardSkeleton; exports.extractItems = extractItems; exports.extractItemId = extractItemId; exports.useChatCardItem = useChatCardItem; exports.SOURCE_ICON_NAMES = SOURCE_ICON_NAMES; exports.getSourceIconName = getSourceIconName; exports.SOURCE_LABELS_BY_TABLE = SOURCE_LABELS_BY_TABLE; exports.getSourceLabel = getSourceLabel; exports.DEFAULT_DOCUMENT_TYPE_TO_TABLE_ID = DEFAULT_DOCUMENT_TYPE_TO_TABLE_ID; exports.defaultTableIdForDocumentType = defaultTableIdForDocumentType; exports.resolveSourceRowCTA = resolveSourceRowCTA; exports.resolveSourceIcon = resolveSourceIcon; exports.ChatCardLoader = ChatCardLoader; exports.renderChatInlineEntityCard = renderChatInlineEntityCard; exports.CHAT_TYPE = CHAT_TYPE; exports.OWNER_TYPE = OWNER_TYPE; exports.MESSAGE_ROLE = MESSAGE_ROLE; exports.ASSISTANT_TYPE = ASSISTANT_TYPE; exports.AUTHOR_TYPE = AUTHOR_TYPE; exports.APPROVAL_STATUS = APPROVAL_STATUS; exports.APPROVAL_BLOCK_VARIANT = APPROVAL_BLOCK_VARIANT; exports.CONNECTION_STATUS = CONNECTION_STATUS; exports.buildChatRefKey = buildChatRefKey; exports.isStructuredContent = isStructuredContent; exports.normalizeContent = normalizeContent2; exports.NETWORK_CONFIG = NETWORK_CONFIG; exports.useChunkCatchup = useChunkCatchup; exports.useJetStreamDialogSubscription = useJetStreamDialogSubscription; exports.useNatsDialogSubscription = useNatsDialogSubscription; exports.buildNatsWsUrl = buildNatsWsUrl; exports.parseChunkToAction = parseChunkToAction; exports.isControlChunk = isControlChunk; exports.isErrorChunk = isErrorChunk; exports.isMetadataChunk = isMetadataChunk; exports.extractTextFromChunk = extractTextFromChunk; exports.MessageSegmentAccumulator = MessageSegmentAccumulator; exports.createMessageSegmentAccumulator = createMessageSegmentAccumulator; exports.useRealtimeChunkProcessor = useRealtimeChunkProcessor; exports.fetchSlashCommands = fetchSlashCommands; exports.useSlashCommands = useSlashCommands; exports.useSlashCommandRegistry = useSlashCommandRegistry; exports.fetchEmptyStateConfig = fetchEmptyStateConfig; exports.useEmptyStateConfig = useEmptyStateConfig; exports.useChatAttachments = useChatAttachments; exports.useChatAttachmentImageGallery = useChatAttachmentImageGallery; exports.ChatIdentityProvider = ChatIdentityProvider; exports.useChatIdentity = useChatIdentity; exports.useCloseOnNavigation = useCloseOnNavigation; exports.useSSE = useSSE; exports.useChat = useChat; exports.SCROLL_ANCHOR_WIRE_KEY = SCROLL_ANCHOR_WIRE_KEY; exports.parseScrollAnchor = parseScrollAnchor; exports.AUTO_CONTINUATION_DIRECTIVE_PREFIX = AUTO_CONTINUATION_DIRECTIVE_PREFIX; exports.buildAutoContinuationDirective = buildAutoContinuationDirective; exports.flattenAssistantContent = flattenAssistantContent; exports.parseWireCommandOverride = parseWireCommandOverride; exports.sanitizeTitleForChat = sanitizeTitleForChat; exports.formatSingularLookupInvocation = formatSingularLookupInvocation; exports.extractEntityIdFilter = extractEntityIdFilter; exports.buildDiscussAddendum = buildDiscussAddendum; exports.useSseChatAdapter = useSseChatAdapter; exports.processHistoricalMessages = processHistoricalMessages; exports.extractErrorMessages = extractErrorMessages; exports.processHistoricalMessagesWithErrors = processHistoricalMessagesWithErrors; exports.useNatsChatAdapter = useNatsChatAdapter; exports.useUnifiedChat = useUnifiedChat; exports.extractIncompleteMessageState = extractIncompleteMessageState; exports.SYNTHETIC_REALTIME_ID_PREFIXES = SYNTHETIC_REALTIME_ID_PREFIXES; exports.flattenMessagePagesChronological = flattenMessagePagesChronological; exports.maxPersistedStreamSeq = maxPersistedStreamSeq; exports.mergeHistoryWithRealtime = mergeHistoryWithRealtime; exports.computeHistoryPrepend = computeHistoryPrepend; exports.CHIP_ACTION_BUTTON_CLASS = CHIP_ACTION_BUTTON_CLASS; exports.chatChipClass = chatChipClass; exports.clickupTaskUrl = clickupTaskUrl; exports.EmbeddableChat = EmbeddableChat; exports.FilterCheckboxItem = FilterCheckboxItem; exports.TagKeyValueFilter = TagKeyValueFilter; exports.FilterModal = FilterModal; exports.PageActions = PageActions; exports.usePageActionsBottomPadding = usePageActionsBottomPadding; exports.PageContainer = PageContainer; exports.ListPageContainer = ListPageContainer; exports.DetailPageContainer = DetailPageContainer; exports.FormPageContainer = FormPageContainer; exports.ContentPageContainer = ContentPageContainer; exports.ListPageLayout = ListPageLayout; exports.EntityImage = EntityImage; exports.TITLE_BLOCK_MIN_HEIGHT = TITLE_BLOCK_MIN_HEIGHT; exports.TitleBlock = TitleBlock; exports.PageLayout = PageLayout; exports.PageShell = PageShell; exports.ArticleDetailLayout = ArticleDetailLayout; exports.toggleVariants = toggleVariants; exports.Toggle = Toggle; exports.ToggleGroup = ToggleGroup; exports.ToggleGroupItem = ToggleGroupItem; exports.delay = delay; exports.generateRandomString = generateRandomString; exports.truncateString = truncateString; exports.serializeJsonLd = serializeJsonLd; exports.deepClone = deepClone; exports.getSlackCommunityJoinUrl = getSlackCommunityJoinUrl; exports.SEO_TITLE_MAX_LENGTH = SEO_TITLE_MAX_LENGTH; exports.BRAND_MARK_SVGS = BRAND_MARK_SVGS; exports.brandMarkDataUri = brandMarkDataUri; exports.OS_PLATFORMS = OS_PLATFORMS; exports.DEFAULT_OS_PLATFORM = DEFAULT_OS_PLATFORM; exports.isValidEmailDomain = isValidEmailDomain; exports.validateEmailDomain = validateEmailDomain; exports.validateEmailDomainList = validateEmailDomainList; exports.cleanEmailDomain = cleanEmailDomain; exports.getConfidenceColorClass = getConfidenceColorClass; exports.getConfidenceLevel = getConfidenceLevel; exports.getConfidenceBorderClass = getConfidenceBorderClass; exports.getConfidenceTextClass = getConfidenceTextClass; exports.getConfidenceBgClass = getConfidenceBgClass; exports.getConfidenceLabel = getConfidenceLabel; exports.DEV_SECTION_PARAM_KEYS = DEV_SECTION_PARAM_KEYS; exports.devSectionAnchorId = devSectionAnchorId; exports.normalizeToolType = normalizeToolType; exports.normalizeToolTypeWithFallback = normalizeToolTypeWithFallback; exports.toToolLabel = toToolLabel; exports.isValidToolType = isValidToolType; exports.getToolTypeAliases = getToolTypeAliases; exports.getToolLabel = getToolLabel; exports.ShellTypeValues = ShellTypeValues; exports.SHELL_TYPES = SHELL_TYPES; exports.shellLabels = shellLabels; exports.getShellLabel = getShellLabel; exports.getShellIcon = getShellIcon; exports.OSTypeValues = OSTypeValues; exports.OS_TYPES = OS_TYPES; exports.osLabels = osLabels; exports.normalizeOSType = normalizeOSType; exports.getOSLabel = getOSLabel; exports.getOSIcon = getOSIcon; exports.getOSTypeDefinition = getOSTypeDefinition; exports.getOSPlatformId = getOSPlatformId; exports.isOSPlatform = isOSPlatform; exports.getCountryPhoneData = getCountryPhoneData; exports.getCountryByCode = getCountryByCode; exports.validatePhoneNumber = validatePhoneNumber; exports.formatPhoneE164 = formatPhoneE164; exports.GENERIC_EMAIL_DOMAINS = GENERIC_EMAIL_DOMAINS; exports.extractDomainFromEmail = extractDomainFromEmail; exports.normalizeDomain = normalizeDomain; exports.isGenericDomain = isGenericDomain; exports.hasGenericEmailDomain = hasGenericEmailDomain; exports.isGenericWebsiteDomain = isGenericWebsiteDomain; exports.announcementDismissCookieName = announcementDismissCookieName; exports.isDismissedCookieValue = isDismissedCookieValue; exports.dismissAnnouncement = dismissAnnouncement; exports.isAnnouncementDismissed = isAnnouncementDismissed; exports.clearAnnouncementDismissals = clearAnnouncementDismissals; exports.clearLegacyAnnouncementCache = clearLegacyAnnouncementCache; exports.readLeadingDecisionFrame = readLeadingDecisionFrame; exports.ANNOUNCEMENT_CTA_DEFAULTS = ANNOUNCEMENT_CTA_DEFAULTS; exports.AVAILABLE_SVG_ICONS = AVAILABLE_SVG_ICONS; exports.releaseTypeOptions = releaseTypeOptions; exports.releaseStatusOptions = releaseStatusOptions; exports.changelogLabels = changelogLabels; exports.SEMVER_REGEX = SEMVER_REGEX; exports.TASK_TYPE_LABELS = TASK_TYPE_LABELS; exports.TASK_TYPE_TEXT_COLORS = TASK_TYPE_TEXT_COLORS; exports.TMCG_ROLES = TMCG_ROLES; exports.TMCG_ROLE_DISPLAY_NAMES = TMCG_ROLE_DISPLAY_NAMES; exports.TMCG_SOCIAL_PLATFORMS = TMCG_SOCIAL_PLATFORMS; exports.ROADMAP_STATUS_OPTIONS = ROADMAP_STATUS_OPTIONS; exports.DELIVERY_TASK_TYPE_OPTIONS = DELIVERY_TASK_TYPE_OPTIONS; exports.TICKET_STATUS_OPTIONS = TICKET_STATUS_OPTIONS; exports.OPENFRAME_DEV_SECTIONS = OPENFRAME_DEV_SECTIONS; exports.canonicalContentRefType = canonicalContentRefType; exports.buildListUrl = buildListUrl; exports.faqSectionSlug = faqSectionSlug; exports.faqItemAnchor = faqItemAnchor; exports.parseFaqHash = parseFaqHash; exports.CONTENT_REF_GROUPS = CONTENT_REF_GROUPS; exports.getContentRefLabel = getContentRefLabel; exports.getContentRefLabelOrTitleCase = getContentRefLabelOrTitleCase; exports.orderContentRefTypes = orderContentRefTypes; exports.buildSuggestionUrl = buildSuggestionUrl; exports.DEFAULT_CONTENT_SUFFIXES = DEFAULT_CONTENT_SUFFIXES; exports.makeComposeContentUrl = makeComposeContentUrl; exports.buildDefaultHref = buildDefaultHref; exports.resolveContentHref = resolveContentHref; exports.DEFAULT_FOLDER_INDEX_FILE = DEFAULT_FOLDER_INDEX_FILE; exports.stripFolderIndexFromPath = stripFolderIndexFromPath; exports.findDocNodeByPath = findDocNodeByPath; exports.getDocAncestorNodeIds = getDocAncestorNodeIds; exports.resolveContentFetchPath = resolveContentFetchPath; exports.getInitialExpandedNodeIds = getInitialExpandedNodeIds; exports.getDocSourceDefaultPath = getDocSourceDefaultPath; exports.toDocSlug = toDocSlug; exports.pathToNodeId = pathToNodeId; exports.normalizeDocPath = normalizeDocPath; exports.formatDocName = formatDocName; exports.sortTreeChildren = sortTreeChildren; exports.buildDocumentTree = buildDocumentTree; exports.stripInlineMarkdown = stripInlineMarkdown; exports.markdownToPlainText = markdownToPlainText; exports.extractSections = extractSections; exports.SECTION_HERO_ICON_CLASS = SECTION_HERO_ICON_CLASS; exports.BenefitCard = BenefitCard; exports.BenefitCardGrid = BenefitCardGrid; exports.BrandAssociationCard = BrandAssociationCard; exports.BrandAssociationGrid = BrandAssociationGrid; exports.BulletList = BulletList; exports.ChevronButton = ChevronButton; exports.CircularProgress = CircularProgress; exports.CheckIcon = CheckIcon2; exports.XIcon = XIcon2; exports.MinusIcon = MinusIcon; exports.CheckCircleIcon = CheckCircleIcon2; exports.XCircleIcon = XCircleIcon; exports.FloatingTooltip = FloatingTooltip; exports.DashboardInfoCard = DashboardInfoCard; exports.OSTypeBadge = OSTypeBadge; exports.OSTypeIcon = OSTypeIcon; exports.OSTypeLabel = OSTypeLabel; exports.DeviceCard = DeviceCard; exports.DeviceCardCompact = DeviceCardCompact; exports.FeatureCardGrid = FeatureCardGrid; exports.FeatureList = FeatureList; exports.TruncateText = TruncateText; exports.HighlightCard = HighlightCard; exports.HighlightCardGrid = HighlightCardGrid; exports.IconsBlock = IconsBlock; exports.DropdownButton = DropdownButton; exports.MoreActionsMenu = MoreActionsMenu; exports.OrganizationCard = OrganizationCard; exports.ServiceCard = ServiceCard; exports.Slider = Slider; exports.TabSelector = TabSelector; exports.TitleContentBlock = TitleContentBlock; exports.ErrorState = ErrorState; exports.PageError = PageError; exports.LoadError = LoadError; exports.NotFoundError = NotFoundError; exports.ContentLoader = ContentLoader; exports.CardLoader = CardLoader; exports.FormLoader = FormLoader; exports.DetailLoader = DetailLoader; exports.ListLoader = ListLoader; exports.Pagination = Pagination; exports.PaginationContent = PaginationContent; exports.PaginationItem = PaginationItem; exports.PaginationLink = PaginationLink; exports.PaginationEllipsis = PaginationEllipsis; exports.PaginationPrevious = PaginationPrevious; exports.PaginationNext = PaginationNext; exports.init_pagination = init_pagination; exports.CursorPagination = CursorPagination; exports.CursorPaginationSimple = CursorPaginationSimple; exports.TableEmptyState = TableEmptyState; exports.DynamicThemeProvider = DynamicThemeProvider; exports.useDynamicTheme = useDynamicTheme; exports.THEME_STORAGE_KEY = THEME_STORAGE_KEY; exports.THEME_ATTRIBUTE = THEME_ATTRIBUTE; exports.DEFAULT_THEME = DEFAULT_THEME; exports.ThemeProvider = ThemeProvider; exports.useTheme = useTheme; exports.useThemeToggle = useThemeToggle; exports.ArrayEntryManager = ArrayEntryManager; exports.AuthBenefitsPanel = AuthBenefitsPanel; exports.OpenFrameWordmark = OpenFrameWordmark; exports.PoweredByFlamingo = PoweredByFlamingo; exports.AuthShell = AuthShell; exports.BackToLoginLink = BackToLoginLink; exports.PasswordInput = PasswordInput; exports.PROVIDER_META = PROVIDER_META; exports.SsoProviderButtons = SsoProviderButtons; exports.CompleteAccountForm = CompleteAccountForm; exports.TermsAgreementLabel = TermsAgreementLabel; exports.CreateOrganizationForm = CreateOrganizationForm; exports.InviteLinkInvalidModal = InviteLinkInvalidModal; exports.LoginForm = LoginForm; exports.OpenFrameSsoLoginForm = OpenFrameSsoLoginForm; exports.OpenFrameSsoSignUpForm = OpenFrameSsoSignUpForm; exports.PasswordResetForm = PasswordResetForm; exports.SsoAuthShell = SsoAuthShell; exports.ProviderButton = ProviderButton; exports.AuthProvidersList = AuthProvidersList; exports.ChangelogManager = ChangelogManager; exports.ChangelogSectionsManager = ChangelogSectionsManager; exports.ClickUpTasksManager = ClickUpTasksManager; exports.CommandBox = CommandBox; exports.TAG_BADGE_CLASS = TAG_BADGE_CLASS; exports.EntityTagBadges = EntityTagBadges; exports.ErrorBoundary = ErrorBoundary; exports.SectionSelector = SectionSelector; exports.FigmaPrototypeViewer = FigmaPrototypeViewer; exports.FiltersDropdown = FiltersDropdown; exports.useFiltersDropdown = useFiltersDropdown; exports.GitHubReleasesManager = GitHubReleasesManager; exports.KnowledgeBaseLinksManager = KnowledgeBaseLinksManager; exports.LoadingProvider = LoadingProvider; exports.useLoading = useLoading; exports.MediaGalleryManager = MediaGalleryManager; exports.MoreAboutButton = MoreAboutButton; exports.OSTypeBadgeGroup = OSTypeBadgeGroup; exports.ParallaxImageShowcase = ParallaxImageShowcase; exports.PathsDisplay = PathsDisplay; exports.OPENFRAME_PATHS = OPENFRAME_PATHS; exports.getOpenFramePaths = getOpenFramePaths; exports.OPENFRAME_DOCTOR_COMMANDS = OPENFRAME_DOCTOR_COMMANDS; exports.getOpenFrameDoctorCommand = getOpenFrameDoctorCommand; exports.PlatformFilterComponent = PlatformFilterComponent; exports.PushButtonSelector = PushButtonSelector; exports.ReleaseMediaManager = ReleaseMediaManager; exports.SelectButton = SelectButton; exports.SEOEditorPreview = SEOEditorPreview; exports.SocialLinksManager = SocialLinksManager; exports.StartWithOpenFrameButton = StartWithOpenFrameButton; exports.StatusFilterComponent = StatusFilterComponent; exports.TagsSelector = TagsSelector; exports.WarningBlock = WarningBlock; exports.VideoBitesDisplay = VideoBitesDisplay; exports.getCaptionsUrl = getCaptionsUrl; exports.VideoSourceSelector = VideoSourceSelector; exports.ConfidenceBadge = ConfidenceBadge; exports.TranscriptSummaryEditor = TranscriptSummaryEditor; exports.AIEnrichButton = AIEnrichButton; exports.AIWarningsSection = AIWarningsSection; exports.AIEnrichSection = AIEnrichSection; exports.HighlightVideoSection = HighlightVideoSection; exports.HighlightConfigSection = HighlightConfigSection; exports.EntitySummaryEditor = EntitySummaryEditor; exports.AIStatusIndicator = AIStatusIndicator; exports.AIRequiredBadge = AIRequiredBadge; exports.TranscribeSummarizeSection = TranscribeSummarizeSection; exports.VideoClipsSection = VideoClipsSection; exports.HighlightGenerationSection = HighlightGenerationSection; exports.HighlightVideoPreview = HighlightVideoPreview; exports.TranscribeAndSummarizeCombinedSection = TranscribeAndSummarizeCombinedSection; exports.HighlightVideoCombinedSection = HighlightVideoCombinedSection; exports.ViewToggle = ViewToggle; exports.PolicyConfigurationPanel = PolicyConfigurationPanel; exports.PhoneInput = PhoneInput; exports.WaitlistForm = WaitlistForm; exports.NotificationsProvider = NotificationsProvider; exports.useNotifications = useNotifications; exports.useOptionalNotifications = useOptionalNotifications; exports.useAppLayoutDrawerContainer = useAppLayoutDrawerContainer; exports.AppLayoutDrawerRoot = AppLayoutDrawerRoot; exports.AppLayoutDrawerTrigger = AppLayoutDrawerTrigger; exports.AppLayoutDrawerClose = AppLayoutDrawerClose; exports.AppLayoutDrawerContent = AppLayoutDrawerContent; exports.AppLayoutDrawerHeader = AppLayoutDrawerHeader; exports.AppLayoutDrawerTitle = AppLayoutDrawerTitle; exports.AppLayoutDrawerDescription = AppLayoutDrawerDescription; exports.AppLayoutDrawerBody = AppLayoutDrawerBody; exports.AppLayoutDrawerFooter = AppLayoutDrawerFooter; exports.NotificationTile = NotificationTile; exports.NotificationDrawer = NotificationDrawer; exports.NotificationPopups = NotificationPopups; exports.ADMIN_APPROVAL_REQUEST_CONTEXT_TYPE = ADMIN_APPROVAL_REQUEST_CONTEXT_TYPE; exports.isApprovalNotification = isApprovalNotification; exports.getApprovalMeta = getApprovalMeta; exports.resolutionToStatus = resolutionToStatus; exports.approvalMetaToBatchData = approvalMetaToBatchData; exports.ApprovalRequestNotificationTile = ApprovalRequestNotificationTile; exports.TimeTrackerProvider = TimeTrackerProvider; exports.useTimeTracker = useTimeTracker; exports.useOptionalTimeTracker = useOptionalTimeTracker; exports.useTrackerClock = useTrackerClock; exports.TimeTrackerPanel = TimeTrackerPanel; exports.HeaderButton = HeaderButton; exports.TimeTrackerHeaderButton = TimeTrackerHeaderButton; exports.BoardColumnHeader = BoardColumnHeader; exports.tintOnDark = tintOnDark; exports.BoardTicketApproval = BoardTicketApproval; exports.TicketCard = TicketCard; exports.TicketCardSkeleton = TicketCardSkeleton; exports.BoardColumn = BoardColumn; exports.useBoardCollapse = useBoardCollapse; exports.Board = Board; exports.columnFromTicketStatus = columnFromTicketStatus; exports.groupTicketsByStatus = groupTicketsByStatus; exports.TicketStatusConfigList = TicketStatusConfigList; exports.TableHeader = TableHeader; exports.TableCell = TableCell; exports.TableCardSkeleton = TableCardSkeleton; exports.TableRow = TableRow; exports.Table = Table; exports.TableDescriptionCell = TableDescriptionCell; exports.TableTimestampCell = TableTimestampCell; exports.QueryReportTableHeader = QueryReportTableHeader; exports.QueryReportTableRow = QueryReportTableRow; exports.QueryReportTableSkeleton = QueryReportTableSkeleton; exports.deriveColumns = deriveColumns; exports.exportToCSV = exportToCSV; exports.QueryReportTable = QueryReportTable; exports.useDataTableContext = useDataTableContext; exports.DataTableRoot = DataTableRoot; exports.getHideClasses = getHideClasses2; exports.alignJustify = alignJustify; exports.multiSelectFilterFn = multiSelectFilterFn; exports.DataTableHeader = DataTableHeader; exports.DataTableEmpty = DataTableEmpty; exports.ROW_HEIGHT_DESKTOP = ROW_HEIGHT_DESKTOP2; exports.ROW_HEIGHT_MOBILE = ROW_HEIGHT_MOBILE2; exports.DataTableSkeleton = DataTableSkeleton; exports.DataTableRow = DataTableRow; exports.DataTableBody = DataTableBody; exports.DataTableInfiniteFooter = DataTableInfiniteFooter; exports.DataTableCursorFooter = DataTableCursorFooter; exports.DataTableRowCount = DataTableRowCount; exports.useDataTable = useDataTable; exports.DataTable = DataTable; exports.flexRender = _reacttable.flexRender; exports.createColumnHelper = _reacttable.createColumnHelper; exports.getCoreRowModel = _reacttable.getCoreRowModel; exports.getExpandedRowModel = _reacttable.getExpandedRowModel; exports.getFacetedRowModel = _reacttable.getFacetedRowModel; exports.getFacetedUniqueValues = _reacttable.getFacetedUniqueValues; exports.getFilteredRowModel = _reacttable.getFilteredRowModel; exports.getGroupedRowModel = _reacttable.getGroupedRowModel; exports.getPaginationRowModel = _reacttable.getPaginationRowModel; exports.getSortedRowModel = _reacttable.getSortedRowModel; exports.SearchInput = SearchInput; exports.FilterListItem = FilterListItem; exports.FilterList = FilterList; exports.TagSearchInput = TagSearchInput; exports.MarkdownEditor = MarkdownEditor; exports.FileUpload = FileUpload; exports.ImageUploader = ImageUploader; exports.TICKET_STATUS_COLOR_PRESETS = TICKET_STATUS_COLOR_PRESETS; exports.CUSTOM_PRESET_KEY = CUSTOM_PRESET_KEY; exports.DEFAULT_CUSTOM_STATUS_COLOR = DEFAULT_CUSTOM_STATUS_COLOR; exports.ColorPresetSelect = ColorPresetSelect; exports.ColorPickerInput = ColorPickerInput; exports.TicketStatusConfigRow = TicketStatusConfigRow; exports.TicketDetailSection = TicketDetailSection; exports.TicketAttachmentsList = TicketAttachmentsList; exports.TicketNoteCard = TicketNoteCard; exports.TicketNotesSection = TicketNotesSection; exports.TicketInfoSection = TicketInfoSection; exports.FilterPillRow = FilterPillRow; exports.MOBILE_NAV_PANEL_ID = MOBILE_NAV_PANEL_ID; exports.MobileNavPanel = MobileNavPanel; exports.Header = Header2; exports.HeaderSkeleton = HeaderSkeleton; exports.ClientOnlyHeader = ClientOnlyHeader; exports.SlidingSidebar = SlidingSidebar; exports.StickySectionNav = StickySectionNav; exports.useSectionNavigation = useSectionNavigation; exports.NavigationSidebar = NavigationSidebar; exports.HeaderGlobalSearch = HeaderGlobalSearch; exports.HeaderMingoButton = HeaderMingoButton; exports.HeaderOrganizationFilter = HeaderOrganizationFilter; exports.AppHeader = AppHeader; exports.MobileBurgerMenu = MobileBurgerMenu; exports.AppLayout = AppLayout; exports.MultiLevelNavigation = MultiLevelNavigation; exports.MobileNavigationDropdown = MobileNavigationDropdown; exports.SoftwareInfo = SoftwareInfo; exports.SoftwareSourceBadge = SoftwareSourceBadge; exports.CveLink = CveLink; exports.ToolBadge = ToolBadge; exports.ShellTypeBadge = ShellTypeBadge; exports.ScriptInfoSection = ScriptInfoSection; exports.ScriptArguments = ScriptArguments; exports.OnboardingStepCard = OnboardingStepCard; exports.OnboardingWalkthrough = OnboardingWalkthrough; exports.LOG_SEVERITY_COLORS = LOG_SEVERITY_COLORS; exports.LOG_SEVERITY_LABELS = LOG_SEVERITY_LABELS; exports.LogSeverityDot = LogSeverityDot; exports.LogsList = LogsList; exports.assets = assets;
53404
- //# sourceMappingURL=chunk-S3PO5NOK.cjs.map
53476
+
53477
+ exports.Label = Label; exports.AllowedDomainsInput = AllowedDomainsInput; exports.HiddenTagsPopup = HiddenTagsPopup; exports.tagVariants = tagVariants; exports.Tag = Tag; exports.Autocomplete = Autocomplete; exports.Card = Card; exports.CardHeader = CardHeader; exports.CardTitle = CardTitle; exports.CardDescription = CardDescription; exports.CardContent = CardContent; exports.CardFooter = CardFooter; exports.CardHorizontal = CardHorizontal; exports.CheckboxBlock = CheckboxBlock; exports.CheckboxWithDescription = CheckboxWithDescription; exports.Select = Select; exports.SelectGroup = SelectGroup; exports.SelectValue = SelectValue; exports.SelectTrigger = SelectTrigger; exports.SelectScrollUpButton = SelectScrollUpButton; exports.SelectScrollDownButton = SelectScrollDownButton; exports.SelectContent = SelectContent; exports.SelectLabel = SelectLabel; exports.SelectItem = SelectItem; exports.SelectSeparator = SelectSeparator; exports.DatePicker = DatePicker; exports.DatePickerInput = DatePickerInput; exports.DatePickerInputSimple = DatePickerInputSimple; exports.DateFilterPanel = DateFilterPanel; exports.DateFilterMenu = DateFilterMenu; exports.DurationInput = DurationInput; exports.HoneypotField = HoneypotField; exports.ProgressBar = ProgressBar; exports.InfoCard = InfoCard; exports.InfoRow = InfoRow; exports.formatDate = formatDate; exports.formatNumber = formatNumber; exports.formatPrice = formatPrice; exports.formatBytes = formatBytes; exports.formatBytesShort = formatBytesShort; exports.formatFileSize = formatFileSize; exports.formatLargeNumber = formatLargeNumber; exports.formatAbbreviatedNumber = formatAbbreviatedNumber; exports.getFirstLastInitials = getFirstLastInitials; exports.nameInitials = nameInitials; exports.formatDurationMMSS = formatDurationMMSS; exports.formatDurationCompact = formatDurationCompact; exports.formatTimeWithTimezone = formatTimeWithTimezone; exports.formatDurationFromRange = formatDurationFromRange; exports.formatDateUTC = formatDateUTC; exports.formatEntryMonthUTC = formatEntryMonthUTC; exports.formatLegalDate = formatLegalDate; exports.formatCurrency = formatCurrency; exports.formatPercent = formatPercent; exports.formatWholeDollars = formatWholeDollars; exports.formatCompactMetric = formatCompactMetric; exports.getTrendColors = getTrendColors; exports.formatDateRange = formatDateRange; exports.formatDateTimeAt = formatDateTimeAt; exports.formatDurationFromMs = formatDurationFromMs; exports.formatDuration = formatDuration; exports.formatUnderscoreText = formatUnderscoreText; exports.stripHtml = stripHtml; exports.formatClassification = formatClassification; exports.formatPricingModel = formatPricingModel; exports.formatBioText = formatBioText; exports.SquareAvatar = SquareAvatar; exports.AssigneeDropdown = AssigneeDropdown; exports.ActionsMenu = ActionsMenu; exports.ActionsMenuDropdown = ActionsMenuDropdown; exports.ColorSwatch = ColorSwatch; exports.DESIGN_PALETTE = DESIGN_PALETTE; exports.getContrastRatio = getContrastRatio; exports.pickReadableTextColor = pickReadableTextColor; exports.extractDominantColor = extractDominantColor; exports.getBestContrastColor = getBestContrastColor; exports.analyzeImageColor = analyzeImageColor; exports.extractImageEdgeColorAsync = extractImageEdgeColorAsync; exports.getPlatformAccentColor = getPlatformAccentColor; exports.getCurrentPlatform = getCurrentPlatform; exports.getReadableTextColor = getReadableTextColor; exports.HEX_PATTERN = HEX_PATTERN; exports.hexToRgb = hexToRgb2; exports.rgbToHex = rgbToHex; exports.deriveHoverColor = deriveHoverColor; exports.deriveActiveColor = deriveActiveColor; exports.resolveTicketStatus = resolveTicketStatus; exports.getTicketStatusConfig = getTicketStatusConfig; exports.getTicketStatusTag = getTicketStatusTag; exports.kindToCanonicalStatus = kindToCanonicalStatus; exports.usesCanonicalStatusStyle = usesCanonicalStatusStyle; exports.resolveStatusTagProps = resolveStatusTagProps; exports.TicketStatusTag = TicketStatusTag; exports.InfoSection = InfoSection; exports.InputTrigger = InputTrigger; exports.InteractiveCard = InteractiveCard; exports.MediaTypeSelector = MediaTypeSelector; exports.noDataIconClasses = noDataIconClasses; exports.noDataActionsVariants = noDataActionsVariants; exports.NoDataMessage = NoDataMessage; exports.NoDataAction = NoDataAction; exports.NoDataActions = NoDataActions; exports.NoData = NoData; exports.PageLoader = PageLoader; exports.CompactPageLoader = CompactPageLoader; exports.RadioGroup = RadioGroup; exports.RadioGroupItem = RadioGroupItem; exports.RadioGroupBlock = RadioGroupBlock; exports.useScrollFade = useScrollFade; exports.ScrollFadeOverlay = ScrollFadeOverlay; exports.Switch = Switch; exports.TagSelectDropdown = TagSelectDropdown; exports.badgeVariants = badgeVariants; exports.Badge = Badge; exports.TagsInput = TagsInput; exports.TagsManager = TagsManager; exports.Textarea = Textarea; exports.AlertDialog = AlertDialog; exports.AlertDialogTrigger = AlertDialogTrigger; exports.AlertDialogPortal = AlertDialogPortal; exports.AlertDialogOverlay = AlertDialogOverlay; exports.AlertDialogContent = AlertDialogContent; exports.AlertDialogHeader = AlertDialogHeader; exports.AlertDialogFooter = AlertDialogFooter; exports.AlertDialogTitle = AlertDialogTitle; exports.AlertDialogDescription = AlertDialogDescription; exports.AlertDialogAction = AlertDialogAction; exports.AlertDialogCancel = AlertDialogCancel; exports.AspectRatio = AspectRatio; exports.Dialog = Dialog; exports.DialogTrigger = DialogTrigger; exports.DialogPortal = DialogPortal; exports.DialogClose = DialogClose; exports.DialogOverlay = DialogOverlay; exports.DialogContent = DialogContent; exports.DialogHeader = DialogHeader; exports.DialogFooter = DialogFooter; exports.DialogTitle = DialogTitle; exports.DialogDescription = DialogDescription; exports.ImageGalleryModal = ImageGalleryModal; exports.Modal = Modal2; exports.ModalContent = ModalContent2; exports.ModalHeader = ModalHeader2; exports.ModalTitle = ModalTitle2; exports.ModalFooter = ModalFooter2; exports.Modal2 = Modal; exports.ModalContent2 = ModalContent; exports.ModalHeader2 = ModalHeader; exports.ModalTitle2 = ModalTitle; exports.ModalFooter2 = ModalFooter; exports.Separator = Separator2; exports.Sheet = Sheet; exports.SheetTrigger = SheetTrigger; exports.SheetClose = SheetClose; exports.SheetPortal = SheetPortal; exports.SheetOverlay = SheetOverlay; exports.SheetContent = SheetContent; exports.SheetHeader = SheetHeader; exports.SheetFooter = SheetFooter; exports.SheetTitle = SheetTitle; exports.SheetDescription = SheetDescription; exports.OVERLAY_BACKDROP_CLASS = OVERLAY_BACKDROP_CLASS; exports.Drawer = Drawer; exports.DrawerTrigger = DrawerTrigger; exports.DrawerClose = DrawerClose; exports.DrawerPortal = DrawerPortal; exports.DrawerOverlay = DrawerOverlay; exports.DrawerContent = DrawerContent; exports.DrawerHeader = DrawerHeader; exports.DrawerTitle = DrawerTitle; exports.DrawerDescription = DrawerDescription; exports.DrawerBody = DrawerBody; exports.DrawerFooter = DrawerFooter; exports.Tabs = Tabs; exports.TabsList = TabsList; exports.TabsTrigger = TabsTrigger; exports.TabsContent = TabsContent; exports.Accordion = Accordion; exports.AccordionItem = AccordionItem; exports.AccordionTrigger = AccordionTrigger; exports.AccordionContent = AccordionContent; exports.Breadcrumb = Breadcrumb; exports.BreadcrumbList = BreadcrumbList; exports.BreadcrumbItem = BreadcrumbItem; exports.BreadcrumbLink = BreadcrumbLink; exports.BreadcrumbPage = BreadcrumbPage; exports.BreadcrumbSeparator = BreadcrumbSeparator; exports.BreadcrumbEllipsis = BreadcrumbEllipsis; exports.MenubarMenu = MenubarMenu; exports.MenubarGroup = MenubarGroup; exports.MenubarPortal = MenubarPortal; exports.MenubarSub = MenubarSub; exports.MenubarRadioGroup = MenubarRadioGroup; exports.Menubar = Menubar; exports.MenubarTrigger = MenubarTrigger; exports.MenubarSubTrigger = MenubarSubTrigger; exports.MenubarSubContent = MenubarSubContent; exports.MenubarContent = MenubarContent; exports.MenubarItem = MenubarItem; exports.MenubarCheckboxItem = MenubarCheckboxItem; exports.MenubarRadioItem = MenubarRadioItem; exports.MenubarLabel = MenubarLabel; exports.MenubarSeparator = MenubarSeparator; exports.MenubarShortcut = MenubarShortcut; exports.NavigationMenu = NavigationMenu; exports.NavigationMenuList = NavigationMenuList; exports.NavigationMenuItem = NavigationMenuItem; exports.navigationMenuTriggerStyle = navigationMenuTriggerStyle; exports.NavigationMenuTrigger = NavigationMenuTrigger; exports.NavigationMenuContent = NavigationMenuContent; exports.NavigationMenuLink = NavigationMenuLink; exports.NavigationMenuViewport = NavigationMenuViewport; exports.NavigationMenuIndicator = NavigationMenuIndicator; exports.CrossfadePanels = CrossfadePanels; exports.TabContent = TabContent; exports.TabNavigation = TabNavigation; exports.getTabById = getTabById; exports.getTabComponent = getTabComponent; exports.Alert = Alert; exports.AlertTitle = AlertTitle; exports.AlertDescription = AlertDescription; exports.AIGeneratedBadge = AIGeneratedBadge; exports.FadePreview = FadePreview; exports.Progress = Progress; exports.VideoPlayBadge = VideoPlayBadge; exports.VideoUnmuteGlyph = VideoUnmuteGlyph; exports.fetchPriorityProp = fetchPriorityProp; exports.extractYouTubeId = extractYouTubeId; exports.Video = Video2; exports.MediaCarousel = MediaCarousel; exports.EMBED_SIZES = EMBED_SIZES; exports.EmbedContainer = EmbedContainer; exports.YouTubeContainer = YouTubeContainer; exports.TwitterContainer = TwitterContainer; exports.RedditContainer = RedditContainer; exports.LinkPreviewContainer = LinkPreviewContainer; exports.LinkedInContainer = LinkedInContainer; exports.RichMarkdownRuntimeProvider = RichMarkdownRuntimeProvider; exports.useRichMarkdownRuntime = useRichMarkdownRuntime; exports.RedditEmbedClient = RedditEmbedClient; exports.TwitterEmbedClient = TwitterEmbedClient; exports.LinkedInEmbedClient = LinkedInEmbedClient; exports.OGLinkErrorBoundary = OGLinkErrorBoundary; exports.OGLinkPreview = OGLinkPreview; exports.toGoogleSheetsEmbedUrl = toGoogleSheetsEmbedUrl; exports.toGoogleSheetsOriginalUrl = toGoogleSheetsOriginalUrl; exports.toFigmaEmbedUrl = toFigmaEmbedUrl; exports.isFigmaSlidesUrl = isFigmaSlidesUrl; exports.toFigmaOriginalUrl = toFigmaOriginalUrl; exports.EmbedIframe = EmbedIframe; exports.FigmaEmbed = FigmaEmbed; exports.MarkdownImage = MarkdownImage; exports.RichMarkdownRenderer = RichMarkdownRenderer; exports.ReleaseChangelogSection = ReleaseChangelogSection; exports.StackedRowsPanel = StackedRowsPanel; exports.SlackChannelChip = SlackChannelChip; exports.statusBadgeVariants = statusBadgeVariants; exports.StatusBadge = StatusBadge; exports.StatusIndicator = StatusIndicator; exports.HoverDropdown = HoverDropdown; exports.ExpandChevron = ExpandChevron; exports.useCollapsible = useCollapsible; exports.getCommandText = getCommandText; exports.ArgRow = ArgRow; exports.ResultBlock = ResultBlock; exports.CommandBlock = CommandBlock; exports.ApprovalStatusTag = ApprovalStatusTag; exports.ApprovalBatchMessage = ApprovalBatchMessage; exports.ApprovalRequestMessage = ApprovalRequestMessage; exports.ContextCompactionDisplay = ContextCompactionDisplay; exports.SimpleMarkdownRenderer = SimpleMarkdownRenderer; exports.ThinkingDisplay = ThinkingDisplay; exports.ErrorMessageDisplay = ErrorMessageDisplay; exports.MspOrganizationCard = MspOrganizationCard; exports.MspOrganizationCardSkeleton = MspOrganizationCardSkeleton; exports.ChatContainer = ChatContainer; exports.ChatHeader = ChatHeader; exports.ChatContent = ChatContent; exports.ChatFooter = ChatFooter; exports.ChatTypingIndicator = ChatTypingIndicator; exports.MingoOnboardingCard = MingoOnboardingCard; exports.ICON_REGISTRY = ICON_REGISTRY; exports.normalizeIconKey = normalizeIconKey; exports.getIconComponent = getIconComponent; exports.getDynamicIcon = getDynamicIcon; exports.ICON_ALIASES = ICON_ALIASES; exports.resolveIcon = resolveIcon; exports.ICON_OPTIONS = ICON_OPTIONS; exports.SlashCommandSuggestions = SlashCommandSuggestions; exports.ChatInput = ChatInput; exports.formatTicketRelativeTime = formatTicketRelativeTime; exports.formatTicketFullTimestamp = formatTicketFullTimestamp; exports.formatRelativeTime = formatRelativeTime; exports.formatAbsoluteDate = formatAbsoluteDate; exports.formatDateTime = formatDateTime; exports.getDetailedTimeDifference = getDetailedTimeDifference; exports.isToday = isToday; exports.isWithinMinutes = isWithinMinutes; exports.createUTCTimestamp = createUTCTimestamp; exports.ToolExecutionDisplay = ToolExecutionDisplay; exports.remarkCardLinks = remarkCardLinks; exports.remarkMentionChips = remarkMentionChips; exports.BlockCard = BlockCard; exports.CONTEXT_ROW_CLASS = CONTEXT_ROW_CLASS; exports.CONTEXT_ICON_CLASS = CONTEXT_ICON_CLASS; exports.CONTEXT_LABEL_CLASS = CONTEXT_LABEL_CLASS; exports.CONTEXT_BACK_CLASS = CONTEXT_BACK_CLASS; exports.CONTEXT_STATE_CLASS = CONTEXT_STATE_CLASS; exports.ContextMenuRow = ContextMenuRow; exports.ContextItemsSkeleton = ContextItemsSkeleton; exports.ContextItemsList = ContextItemsList; exports.ContextErrorBoundary = ContextErrorBoundary; exports.CHAT_CONTEXT_ITEMS_DEFAULT_MAX = CHAT_CONTEXT_ITEMS_DEFAULT_MAX; exports.ChatComposerPlusMenu = ChatComposerPlusMenu; exports.ChatContextPicker = ChatContextPicker; exports.ChatContextChipStrip = ChatContextChipStrip; exports.MemoizedChatMessageEnhanced = MemoizedChatMessageEnhanced; exports.ChatMessageSkeleton = ChatMessageSkeleton; exports.ChatMessageListSkeleton = ChatMessageListSkeleton; exports.MESSAGE_TYPE = MESSAGE_TYPE; exports.SCROLL_ANCHOR = SCROLL_ANCHOR; exports.ChatMessageList = ChatMessageList; exports.getProxiedImageUrl = getProxiedImageUrl; exports.urlPathLooksLikeSvg = urlPathLooksLikeSvg; exports.shouldProxyImage = shouldProxyImage; exports.generateImageSizes = generateImageSizes; exports.useProxiedImageUrl = useProxiedImageUrl; exports.ChatMessageRow = ChatMessageRow; exports.ChatMessageRowSkeleton = ChatMessageRowSkeleton; exports.ChatQuickAction = ChatQuickAction; exports.FAE_AVATAR_DATA_URI = FAE_AVATAR_DATA_URI; exports.AgentMark = AgentMark; exports.EntityIcon = EntityIcon; exports.getAgentAccent = getAgentAccent; exports.accentFromIdentityIcon = accentFromIdentityIcon; exports.renderQuickActionIcon = renderQuickActionIcon; exports.QuickActionChipSkeleton = QuickActionChipSkeleton; exports.QuickActionChipButton = QuickActionChipButton; exports.ChatQuickActionRow = ChatQuickActionRow; exports.ChatQuickActionRowSkeleton = ChatQuickActionRowSkeleton; exports.QuickActionMarquee = QuickActionMarquee; exports.ChatTicketItem = ChatTicketItem; exports.ChatTicketList = ChatTicketList; exports.MingoOnboardingCardSkeleton = MingoOnboardingCardSkeleton; exports.MingoOnboardingListSkeleton = MingoOnboardingListSkeleton; exports.MingoChatHistorySkeleton = MingoChatHistorySkeleton; exports.MingoChatHistory = MingoChatHistory; exports.MingoWelcome = MingoWelcome; exports.GuideWelcome = GuideWelcome; exports.TooltipProvider = TooltipProvider; exports.Tooltip = Tooltip; exports.TooltipTrigger = TooltipTrigger; exports.TooltipContent = TooltipContent; exports.GuideModeBanner = GuideModeBanner; exports.RenameChatModal = RenameChatModal; exports.ArchiveChatModal = ArchiveChatModal; exports.UnarchiveChatModal = UnarchiveChatModal; exports.ChatDialogModals = ChatDialogModals; exports.ChatHeaderIconButton = ChatHeaderIconButton; exports.COMPACT_HEADER_BUTTON = COMPACT_HEADER_BUTTON; exports.ChatPanelHeader = ChatPanelHeader; exports.CHAT_ATTACHMENT_VIEW_URL_PREFIX = CHAT_ATTACHMENT_VIEW_URL_PREFIX; exports.CHAT_ATTACHMENT_VIEW_TOKEN_QUERY_PARAM = CHAT_ATTACHMENT_VIEW_TOKEN_QUERY_PARAM; exports.ANTHROPIC_SUPPORTED_IMAGE_MIME = ANTHROPIC_SUPPORTED_IMAGE_MIME; exports.buildChatAttachmentViewUrl = buildChatAttachmentViewUrl; exports.escapeMarkdownInline = escapeMarkdownInline; exports.formatChatAttachmentMarkdownForBubble = formatChatAttachmentMarkdownForBubble; exports.CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED = CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED; exports.CHAT_ATTACHMENT_MARKDOWN_PATTERN = CHAT_ATTACHMENT_MARKDOWN_PATTERN; exports.stripChatAttachmentMarkdown = stripChatAttachmentMarkdown; exports.CHAT_ATTACHMENT_MIME_TYPES = CHAT_ATTACHMENT_MIME_TYPES; exports.CHAT_ATTACHMENT_CONCURRENT_UPLOADS_PER_USER = CHAT_ATTACHMENT_CONCURRENT_UPLOADS_PER_USER; exports.ChatAttachmentAddButton = ChatAttachmentAddButton; exports.ChatAttachmentChipStrip = ChatAttachmentChipStrip; exports.HoverCard = HoverCard; exports.HoverCardTrigger = HoverCardTrigger; exports.HoverCardContent = HoverCardContent; exports.ModelDisplay = ModelDisplay; exports.ModelDisplaySkeleton = ModelDisplaySkeleton; exports.ChatComposer = ChatComposer; exports.ChatArchivePage = ChatArchivePage; exports.DialogListItem = DialogListItem; exports.ChatSidebar = ChatSidebar; exports.isCrossOriginUrl = isCrossOriginUrl; exports.decideNewTab = decideNewTab; exports.computeIsNewTab = computeIsNewTab; exports.newTabAnchorAttrs = newTabAnchorAttrs; exports.buildAnchorProps = buildAnchorProps; exports.NEW_TAB_FEATURES = NEW_TAB_FEATURES; exports.isModifierClick = isModifierClick; exports.stripSameOriginToPath = stripSameOriginToPath; exports.resolveExternalNavigation = resolveExternalNavigation; exports.executeNavigation = executeNavigation; exports.executeNavigationImperative = executeNavigationImperative; exports.handleChatNavClick = handleChatNavClick; exports.NavLinkAnchorViaRuntime = NavLinkAnchorViaRuntime; exports.SourceActionButton = SourceActionButton; exports.EMPTY_AUTHOR_PLACEHOLDER = EMPTY_AUTHOR_PLACEHOLDER; exports.EntityMetadataValueCell = EntityMetadataValueCell; exports.EntityMetadataAuthorCell = EntityMetadataAuthorCell; exports.EntityAuthorCard = EntityAuthorCard; exports.BlogImagePlaceholder = BlogImagePlaceholder; exports.useCoverImageFallback = useCoverImageFallback; exports.hideOnError = hideOnError; exports.EntityPortraitCard = EntityPortraitCard; exports.FlamingoLogo = FlamingoLogo2; exports.PlatformBadge = PlatformBadge; exports.AdminContentCard = AdminContentCard; exports.getProxiedImageUrl2 = getProxiedImageUrl2; exports.WhatIShippedCard = WhatIShippedCard; exports.WhatIShippedCardSkeleton = WhatIShippedCardSkeleton; exports.MUX_STREAM_ORIGIN = MUX_STREAM_ORIGIN; exports.MUX_IMAGE_ORIGIN = MUX_IMAGE_ORIGIN; exports.useVideoOriginPreconnect = useVideoOriginPreconnect; exports.useVideoWarmup = useVideoWarmup; exports.RATIO_GRID_CLASS = RATIO_GRID_CLASS; exports.RATIO_TO_CSS_ASPECT = RATIO_TO_CSS_ASPECT; exports.RatioTabs = RatioTabs; exports.detectAspectRatio = detectAspectRatio; exports.ratioToCategory = ratioToCategory; exports.groupByAspectRatio = groupByAspectRatio; exports.DEFAULT_VIDEO_BITES_TITLE = DEFAULT_VIDEO_BITES_TITLE; exports.toStripProfile = toStripProfile; exports.sortBitesByCreatedAtDesc = sortBitesByCreatedAtDesc; exports.PAGE_HEADING_CLASS = PAGE_HEADING_CLASS; exports.SECTION_HEADING_CLASS = SECTION_HEADING_CLASS; exports.PageHeading = PageHeading; exports.STRIP_CELL_MAX_WIDTH = STRIP_CELL_MAX_WIDTH; exports.CardsStrip = CardsStrip; exports.SquareAvatar2 = SquareAvatar2; exports.UserDisplay = UserDisplay; exports.VideoBitesStrip = VideoBitesStrip; exports.VideoBiteCard = VideoBiteCard; exports.EntityVideoSection = EntityVideoSection; exports.ChatVideoEntityCard = ChatVideoEntityCard; exports.ProductReleaseCard = ProductReleaseCard; exports.ProductReleaseCardSkeleton = ProductReleaseCardSkeleton; exports.formatReleaseDate = formatReleaseDate; exports.formatDateShort = formatDateShort; exports.formatDateSlashUTC = formatDateSlashUTC; exports.resolveReleaseCover = resolveReleaseCover; exports.releaseTypeToBadgeColor = releaseTypeToBadgeColor; exports.defaultBuildProductReleaseCardProps = defaultBuildProductReleaseCardProps; exports.buildProductReleaseCardProps = buildProductReleaseCardProps; exports.useEntityCardLink = useEntityCardLink; exports.COMPACT_CARD_OUTER = COMPACT_CARD_OUTER; exports.COMPACT_CARD_OUTER_STATIC = COMPACT_CARD_OUTER_STATIC; exports.COMPACT_CARD_SKELETON_OUTER = COMPACT_CARD_SKELETON_OUTER; exports.COMPACT_CARD_IMAGE_SLOT = COMPACT_CARD_IMAGE_SLOT; exports.COMPACT_CARD_SKELETON_IMAGE_SLOT = COMPACT_CARD_SKELETON_IMAGE_SLOT; exports.COMPACT_CARD_ICON_SLOT = COMPACT_CARD_ICON_SLOT; exports.COMPACT_CARD_TEXT_COL = COMPACT_CARD_TEXT_COL; exports.COMPACT_CARD_TITLE_ROW = COMPACT_CARD_TITLE_ROW; exports.COMPACT_CARD_META_ROW_BOX = COMPACT_CARD_META_ROW_BOX; exports.COMPACT_CARD_TITLE = COMPACT_CARD_TITLE; exports.COMPACT_CARD_SUBTITLE = COMPACT_CARD_SUBTITLE; exports.COMPACT_CARD_SUMMARY = COMPACT_CARD_SUMMARY; exports.COMPACT_CARD_META_ROW = COMPACT_CARD_META_ROW; exports.COMPACT_CARD_ROW_FILLER = COMPACT_CARD_ROW_FILLER; exports.safeHref = safeHref; exports.BlogCardSkeleton = BlogCardSkeleton; exports.BlogCard = BlogCard; exports.CaseStudyCardSkeleton = CaseStudyCardSkeleton; exports.CaseStudyCard = CaseStudyCard; exports.CustomerInterviewCardSkeleton = CustomerInterviewCardSkeleton; exports.CustomerInterviewCard = CustomerInterviewCard; exports.formatInvestorUpdatePeriod = formatInvestorUpdatePeriod; exports.InvestorUpdateCardSkeleton = InvestorUpdateCardSkeleton; exports.InvestorUpdateCard = InvestorUpdateCard; exports.OnboardingGuideCardSkeleton = OnboardingGuideCardSkeleton; exports.OnboardingGuideCard = OnboardingGuideCard; exports.RoadmapVoteButton = RoadmapVoteButton; exports.getStatusColorScheme = getStatusColorScheme; exports.CUSTOM_ITEM_ID = CUSTOM_ITEM_ID; exports.getTaskTypeLabel = getTaskTypeLabel; exports.TaskTypeIcon = TaskTypeIcon; exports.RoadmapCardSkeleton = RoadmapCardSkeleton; exports.RoadmapCard = RoadmapCard; exports.GitHubActivityCard = GitHubActivityCard; exports.GitHubActivityCardSkeleton = GitHubActivityCardSkeleton; exports.SlackMessageCard = SlackMessageCard; exports.SlackMessageCardSkeleton = SlackMessageCardSkeleton; exports.HubspotTicketCard = HubspotTicketCard; exports.HubspotTicketCardSkeleton = HubspotTicketCardSkeleton; exports.DataRoomDocCard = DataRoomDocCard; exports.DataRoomDocCardSkeleton = DataRoomDocCardSkeleton; exports.programItemToStripProfile = programItemToStripProfile; exports.transformEventToProgram = transformEventToProgram; exports.transformPodcastToProgram = transformPodcastToProgram; exports.transformWebinarToProgram = transformWebinarToProgram; exports.ProgramCardSkeleton = ProgramCardSkeleton; exports.ProgramCard = ProgramCard; exports.CampaignCardAdmin = CampaignCardAdmin; exports.CampaignCardAdminSkeleton = CampaignCardAdminSkeleton; exports.GenericEntityCard = GenericEntityCard; exports.GenericEntityCardSkeleton = GenericEntityCardSkeleton; exports.extractItems = extractItems; exports.extractItemId = extractItemId; exports.useChatCardItem = useChatCardItem; exports.SOURCE_ICON_NAMES = SOURCE_ICON_NAMES; exports.getSourceIconName = getSourceIconName; exports.SOURCE_LABELS_BY_TABLE = SOURCE_LABELS_BY_TABLE; exports.getSourceLabel = getSourceLabel; exports.DEFAULT_DOCUMENT_TYPE_TO_TABLE_ID = DEFAULT_DOCUMENT_TYPE_TO_TABLE_ID; exports.defaultTableIdForDocumentType = defaultTableIdForDocumentType; exports.resolveSourceRowCTA = resolveSourceRowCTA; exports.resolveSourceIcon = resolveSourceIcon; exports.ChatCardLoader = ChatCardLoader; exports.renderChatInlineEntityCard = renderChatInlineEntityCard; exports.CHAT_TYPE = CHAT_TYPE; exports.OWNER_TYPE = OWNER_TYPE; exports.MESSAGE_ROLE = MESSAGE_ROLE; exports.ASSISTANT_TYPE = ASSISTANT_TYPE; exports.AUTHOR_TYPE = AUTHOR_TYPE; exports.APPROVAL_STATUS = APPROVAL_STATUS; exports.APPROVAL_BLOCK_VARIANT = APPROVAL_BLOCK_VARIANT; exports.CONNECTION_STATUS = CONNECTION_STATUS; exports.buildChatRefKey = buildChatRefKey; exports.isStructuredContent = isStructuredContent; exports.normalizeContent = normalizeContent2; exports.NETWORK_CONFIG = NETWORK_CONFIG; exports.useChunkCatchup = useChunkCatchup; exports.useJetStreamDialogSubscription = useJetStreamDialogSubscription; exports.useNatsDialogSubscription = useNatsDialogSubscription; exports.buildNatsWsUrl = buildNatsWsUrl; exports.parseChunkToAction = parseChunkToAction; exports.isControlChunk = isControlChunk; exports.isErrorChunk = isErrorChunk; exports.isMetadataChunk = isMetadataChunk; exports.extractTextFromChunk = extractTextFromChunk; exports.MessageSegmentAccumulator = MessageSegmentAccumulator; exports.createMessageSegmentAccumulator = createMessageSegmentAccumulator; exports.useRealtimeChunkProcessor = useRealtimeChunkProcessor; exports.fetchSlashCommands = fetchSlashCommands; exports.useSlashCommands = useSlashCommands; exports.useSlashCommandRegistry = useSlashCommandRegistry; exports.fetchEmptyStateConfig = fetchEmptyStateConfig; exports.useEmptyStateConfig = useEmptyStateConfig; exports.useChatAttachments = useChatAttachments; exports.useChatAttachmentImageGallery = useChatAttachmentImageGallery; exports.ChatIdentityProvider = ChatIdentityProvider; exports.useChatIdentity = useChatIdentity; exports.useCloseOnNavigation = useCloseOnNavigation; exports.useSSE = useSSE; exports.useChat = useChat; exports.SCROLL_ANCHOR_WIRE_KEY = SCROLL_ANCHOR_WIRE_KEY; exports.parseScrollAnchor = parseScrollAnchor; exports.AUTO_CONTINUATION_DIRECTIVE_PREFIX = AUTO_CONTINUATION_DIRECTIVE_PREFIX; exports.buildAutoContinuationDirective = buildAutoContinuationDirective; exports.flattenAssistantContent = flattenAssistantContent; exports.parseWireCommandOverride = parseWireCommandOverride; exports.sanitizeTitleForChat = sanitizeTitleForChat; exports.formatSingularLookupInvocation = formatSingularLookupInvocation; exports.extractEntityIdFilter = extractEntityIdFilter; exports.buildDiscussAddendum = buildDiscussAddendum; exports.useSseChatAdapter = useSseChatAdapter; exports.processHistoricalMessages = processHistoricalMessages; exports.extractErrorMessages = extractErrorMessages; exports.processHistoricalMessagesWithErrors = processHistoricalMessagesWithErrors; exports.useNatsChatAdapter = useNatsChatAdapter; exports.useUnifiedChat = useUnifiedChat; exports.extractIncompleteMessageState = extractIncompleteMessageState; exports.SYNTHETIC_REALTIME_ID_PREFIXES = SYNTHETIC_REALTIME_ID_PREFIXES; exports.flattenMessagePagesChronological = flattenMessagePagesChronological; exports.maxPersistedStreamSeq = maxPersistedStreamSeq; exports.mergeHistoryWithRealtime = mergeHistoryWithRealtime; exports.computeHistoryPrepend = computeHistoryPrepend; exports.CHIP_ACTION_BUTTON_CLASS = CHIP_ACTION_BUTTON_CLASS; exports.chatChipClass = chatChipClass; exports.clickupTaskUrl = clickupTaskUrl; exports.EmbeddableChat = EmbeddableChat; exports.FilterCheckboxItem = FilterCheckboxItem; exports.TagKeyValueFilter = TagKeyValueFilter; exports.FilterModal = FilterModal; exports.PageActions = PageActions; exports.usePageActionsBottomPadding = usePageActionsBottomPadding; exports.PageContainer = PageContainer; exports.ListPageContainer = ListPageContainer; exports.DetailPageContainer = DetailPageContainer; exports.FormPageContainer = FormPageContainer; exports.ContentPageContainer = ContentPageContainer; exports.ListPageLayout = ListPageLayout; exports.EntityImage = EntityImage; exports.TITLE_BLOCK_MIN_HEIGHT = TITLE_BLOCK_MIN_HEIGHT; exports.TitleBlock = TitleBlock; exports.PageLayout = PageLayout; exports.PageShell = PageShell; exports.ArticleDetailLayout = ArticleDetailLayout; exports.toggleVariants = toggleVariants; exports.Toggle = Toggle; exports.ToggleGroup = ToggleGroup; exports.ToggleGroupItem = ToggleGroupItem; exports.delay = delay; exports.generateRandomString = generateRandomString; exports.truncateString = truncateString; exports.serializeJsonLd = serializeJsonLd; exports.deepClone = deepClone; exports.getSlackCommunityJoinUrl = getSlackCommunityJoinUrl; exports.SEO_TITLE_MAX_LENGTH = SEO_TITLE_MAX_LENGTH; exports.BRAND_MARK_SVGS = BRAND_MARK_SVGS; exports.brandMarkDataUri = brandMarkDataUri; exports.OS_PLATFORMS = OS_PLATFORMS; exports.DEFAULT_OS_PLATFORM = DEFAULT_OS_PLATFORM; exports.isValidEmailDomain = isValidEmailDomain; exports.validateEmailDomain = validateEmailDomain; exports.validateEmailDomainList = validateEmailDomainList; exports.cleanEmailDomain = cleanEmailDomain; exports.getConfidenceColorClass = getConfidenceColorClass; exports.getConfidenceLevel = getConfidenceLevel; exports.getConfidenceBorderClass = getConfidenceBorderClass; exports.getConfidenceTextClass = getConfidenceTextClass; exports.getConfidenceBgClass = getConfidenceBgClass; exports.getConfidenceLabel = getConfidenceLabel; exports.DEV_SECTION_PARAM_KEYS = DEV_SECTION_PARAM_KEYS; exports.devSectionAnchorId = devSectionAnchorId; exports.normalizeToolType = normalizeToolType; exports.normalizeToolTypeWithFallback = normalizeToolTypeWithFallback; exports.toToolLabel = toToolLabel; exports.isValidToolType = isValidToolType; exports.getToolTypeAliases = getToolTypeAliases; exports.getToolLabel = getToolLabel; exports.ShellTypeValues = ShellTypeValues; exports.SHELL_TYPES = SHELL_TYPES; exports.shellLabels = shellLabels; exports.getShellLabel = getShellLabel; exports.getShellIcon = getShellIcon; exports.OSTypeValues = OSTypeValues; exports.OS_TYPES = OS_TYPES; exports.osLabels = osLabels; exports.normalizeOSType = normalizeOSType; exports.getOSLabel = getOSLabel; exports.getOSIcon = getOSIcon; exports.getOSTypeDefinition = getOSTypeDefinition; exports.getOSPlatformId = getOSPlatformId; exports.isOSPlatform = isOSPlatform; exports.getCountryPhoneData = getCountryPhoneData; exports.getCountryByCode = getCountryByCode; exports.validatePhoneNumber = validatePhoneNumber; exports.formatPhoneE164 = formatPhoneE164; exports.GENERIC_EMAIL_DOMAINS = GENERIC_EMAIL_DOMAINS; exports.extractDomainFromEmail = extractDomainFromEmail; exports.normalizeDomain = normalizeDomain; exports.isGenericDomain = isGenericDomain; exports.hasGenericEmailDomain = hasGenericEmailDomain; exports.isGenericWebsiteDomain = isGenericWebsiteDomain; exports.announcementDismissCookieName = announcementDismissCookieName; exports.isDismissedCookieValue = isDismissedCookieValue; exports.dismissAnnouncement = dismissAnnouncement; exports.isAnnouncementDismissed = isAnnouncementDismissed; exports.clearAnnouncementDismissals = clearAnnouncementDismissals; exports.clearLegacyAnnouncementCache = clearLegacyAnnouncementCache; exports.readLeadingDecisionFrame = readLeadingDecisionFrame; exports.ANNOUNCEMENT_CTA_DEFAULTS = ANNOUNCEMENT_CTA_DEFAULTS; exports.AVAILABLE_SVG_ICONS = AVAILABLE_SVG_ICONS; exports.releaseTypeOptions = releaseTypeOptions; exports.releaseStatusOptions = releaseStatusOptions; exports.changelogLabels = changelogLabels; exports.SEMVER_REGEX = SEMVER_REGEX; exports.TASK_TYPE_LABELS = TASK_TYPE_LABELS; exports.TASK_TYPE_TEXT_COLORS = TASK_TYPE_TEXT_COLORS; exports.TMCG_ROLES = TMCG_ROLES; exports.TMCG_ROLE_DISPLAY_NAMES = TMCG_ROLE_DISPLAY_NAMES; exports.TMCG_SOCIAL_PLATFORMS = TMCG_SOCIAL_PLATFORMS; exports.ROADMAP_STATUS_OPTIONS = ROADMAP_STATUS_OPTIONS; exports.DELIVERY_TASK_TYPE_OPTIONS = DELIVERY_TASK_TYPE_OPTIONS; exports.TICKET_STATUS_OPTIONS = TICKET_STATUS_OPTIONS; exports.OPENFRAME_DEV_SECTIONS = OPENFRAME_DEV_SECTIONS; exports.canonicalContentRefType = canonicalContentRefType; exports.buildListUrl = buildListUrl; exports.faqSectionSlug = faqSectionSlug; exports.faqItemAnchor = faqItemAnchor; exports.parseFaqHash = parseFaqHash; exports.CONTENT_REF_GROUPS = CONTENT_REF_GROUPS; exports.getContentRefLabel = getContentRefLabel; exports.getContentRefLabelOrTitleCase = getContentRefLabelOrTitleCase; exports.orderContentRefTypes = orderContentRefTypes; exports.buildSuggestionUrl = buildSuggestionUrl; exports.DEFAULT_CONTENT_SUFFIXES = DEFAULT_CONTENT_SUFFIXES; exports.makeComposeContentUrl = makeComposeContentUrl; exports.buildDefaultHref = buildDefaultHref; exports.resolveContentHref = resolveContentHref; exports.DEFAULT_FOLDER_INDEX_FILE = DEFAULT_FOLDER_INDEX_FILE; exports.stripFolderIndexFromPath = stripFolderIndexFromPath; exports.findDocNodeByPath = findDocNodeByPath; exports.getDocAncestorNodeIds = getDocAncestorNodeIds; exports.resolveContentFetchPath = resolveContentFetchPath; exports.getInitialExpandedNodeIds = getInitialExpandedNodeIds; exports.getDocSourceDefaultPath = getDocSourceDefaultPath; exports.toDocSlug = toDocSlug; exports.pathToNodeId = pathToNodeId; exports.normalizeDocPath = normalizeDocPath; exports.formatDocName = formatDocName; exports.sortTreeChildren = sortTreeChildren; exports.buildDocumentTree = buildDocumentTree; exports.stripInlineMarkdown = stripInlineMarkdown; exports.markdownToPlainText = markdownToPlainText; exports.extractSections = extractSections; exports.SECTION_HERO_ICON_CLASS = SECTION_HERO_ICON_CLASS; exports.BenefitCard = BenefitCard; exports.BenefitCardGrid = BenefitCardGrid; exports.BrandAssociationCard = BrandAssociationCard; exports.BrandAssociationGrid = BrandAssociationGrid; exports.BulletList = BulletList; exports.ChevronButton = ChevronButton; exports.CircularProgress = CircularProgress; exports.CheckIcon = CheckIcon2; exports.XIcon = XIcon2; exports.MinusIcon = MinusIcon; exports.CheckCircleIcon = CheckCircleIcon2; exports.XCircleIcon = XCircleIcon; exports.FloatingTooltip = FloatingTooltip; exports.DashboardInfoCard = DashboardInfoCard; exports.OSTypeBadge = OSTypeBadge; exports.OSTypeIcon = OSTypeIcon; exports.OSTypeLabel = OSTypeLabel; exports.DeviceCard = DeviceCard; exports.DeviceCardCompact = DeviceCardCompact; exports.FeatureCardGrid = FeatureCardGrid; exports.FeatureList = FeatureList; exports.TruncateText = TruncateText; exports.HighlightCard = HighlightCard; exports.HighlightCardGrid = HighlightCardGrid; exports.IconsBlock = IconsBlock; exports.DropdownButton = DropdownButton; exports.MoreActionsMenu = MoreActionsMenu; exports.OrganizationCard = OrganizationCard; exports.ServiceCard = ServiceCard; exports.Slider = Slider; exports.TabSelector = TabSelector; exports.TitleContentBlock = TitleContentBlock; exports.ErrorState = ErrorState; exports.PageError = PageError; exports.LoadError = LoadError; exports.NotFoundError = NotFoundError; exports.ContentLoader = ContentLoader; exports.CardLoader = CardLoader; exports.FormLoader = FormLoader; exports.DetailLoader = DetailLoader; exports.ListLoader = ListLoader; exports.Pagination = Pagination; exports.PaginationContent = PaginationContent; exports.PaginationItem = PaginationItem; exports.PaginationLink = PaginationLink; exports.PaginationEllipsis = PaginationEllipsis; exports.PaginationPrevious = PaginationPrevious; exports.PaginationNext = PaginationNext; exports.init_pagination = init_pagination; exports.CursorPagination = CursorPagination; exports.CursorPaginationSimple = CursorPaginationSimple; exports.TableEmptyState = TableEmptyState; exports.DynamicThemeProvider = DynamicThemeProvider; exports.useDynamicTheme = useDynamicTheme; exports.THEME_STORAGE_KEY = THEME_STORAGE_KEY; exports.THEME_ATTRIBUTE = THEME_ATTRIBUTE; exports.DEFAULT_THEME = DEFAULT_THEME; exports.ThemeProvider = ThemeProvider; exports.useTheme = useTheme; exports.useThemeToggle = useThemeToggle; exports.ArrayEntryManager = ArrayEntryManager; exports.AuthBenefitsPanel = AuthBenefitsPanel; exports.OpenFrameWordmark = OpenFrameWordmark; exports.PoweredByFlamingo = PoweredByFlamingo; exports.AuthShell = AuthShell; exports.BackToLoginLink = BackToLoginLink; exports.PasswordInput = PasswordInput; exports.PROVIDER_META = PROVIDER_META; exports.SsoProviderButtons = SsoProviderButtons; exports.CompleteAccountForm = CompleteAccountForm; exports.TermsAgreementLabel = TermsAgreementLabel; exports.CreateOrganizationForm = CreateOrganizationForm; exports.InviteLinkInvalidModal = InviteLinkInvalidModal; exports.LoginForm = LoginForm; exports.OpenFrameSsoLoginForm = OpenFrameSsoLoginForm; exports.OpenFrameSsoSignUpForm = OpenFrameSsoSignUpForm; exports.PasswordResetForm = PasswordResetForm; exports.SsoAuthShell = SsoAuthShell; exports.ProviderButton = ProviderButton; exports.AuthProvidersList = AuthProvidersList; exports.ChangelogManager = ChangelogManager; exports.ChangelogSectionsManager = ChangelogSectionsManager; exports.ClickUpTasksManager = ClickUpTasksManager; exports.CommandBox = CommandBox; exports.TAG_BADGE_CLASS = TAG_BADGE_CLASS; exports.EntityTagBadges = EntityTagBadges; exports.ErrorBoundary = ErrorBoundary; exports.SectionSelector = SectionSelector; exports.FigmaPrototypeViewer = FigmaPrototypeViewer; exports.FiltersDropdown = FiltersDropdown; exports.useFiltersDropdown = useFiltersDropdown; exports.GitHubReleasesManager = GitHubReleasesManager; exports.KnowledgeBaseLinksManager = KnowledgeBaseLinksManager; exports.LoadingProvider = LoadingProvider; exports.useLoading = useLoading; exports.MediaGalleryManager = MediaGalleryManager; exports.MoreAboutButton = MoreAboutButton; exports.OSTypeBadgeGroup = OSTypeBadgeGroup; exports.ParallaxImageShowcase = ParallaxImageShowcase; exports.PathsDisplay = PathsDisplay; exports.OPENFRAME_PATHS = OPENFRAME_PATHS; exports.getOpenFramePaths = getOpenFramePaths; exports.OPENFRAME_DOCTOR_COMMANDS = OPENFRAME_DOCTOR_COMMANDS; exports.getOpenFrameDoctorCommand = getOpenFrameDoctorCommand; exports.PlatformFilterComponent = PlatformFilterComponent; exports.PushButtonSelector = PushButtonSelector; exports.ReleaseMediaManager = ReleaseMediaManager; exports.SelectButton = SelectButton; exports.SEOEditorPreview = SEOEditorPreview; exports.SocialLinksManager = SocialLinksManager; exports.StartWithOpenFrameButton = StartWithOpenFrameButton; exports.StatusFilterComponent = StatusFilterComponent; exports.TagsSelector = TagsSelector; exports.WarningBlock = WarningBlock; exports.VideoBitesDisplay = VideoBitesDisplay; exports.getCaptionsUrl = getCaptionsUrl; exports.VideoSourceSelector = VideoSourceSelector; exports.ConfidenceBadge = ConfidenceBadge; exports.TranscriptSummaryEditor = TranscriptSummaryEditor; exports.AIEnrichButton = AIEnrichButton; exports.AIWarningsSection = AIWarningsSection; exports.AIEnrichSection = AIEnrichSection; exports.HighlightVideoSection = HighlightVideoSection; exports.HighlightConfigSection = HighlightConfigSection; exports.EntitySummaryEditor = EntitySummaryEditor; exports.AIStatusIndicator = AIStatusIndicator; exports.AIRequiredBadge = AIRequiredBadge; exports.TranscribeSummarizeSection = TranscribeSummarizeSection; exports.VideoClipsSection = VideoClipsSection; exports.HighlightGenerationSection = HighlightGenerationSection; exports.HighlightVideoPreview = HighlightVideoPreview; exports.TranscribeAndSummarizeCombinedSection = TranscribeAndSummarizeCombinedSection; exports.HighlightVideoCombinedSection = HighlightVideoCombinedSection; exports.ViewToggle = ViewToggle; exports.PolicyConfigurationPanel = PolicyConfigurationPanel; exports.PhoneInput = PhoneInput; exports.WaitlistForm = WaitlistForm; exports.NotificationsProvider = NotificationsProvider; exports.useNotifications = useNotifications; exports.useOptionalNotifications = useOptionalNotifications; exports.useAppLayoutDrawerContainer = useAppLayoutDrawerContainer; exports.AppLayoutDrawerRoot = AppLayoutDrawerRoot; exports.AppLayoutDrawerTrigger = AppLayoutDrawerTrigger; exports.AppLayoutDrawerClose = AppLayoutDrawerClose; exports.AppLayoutDrawerContent = AppLayoutDrawerContent; exports.AppLayoutDrawerHeader = AppLayoutDrawerHeader; exports.AppLayoutDrawerTitle = AppLayoutDrawerTitle; exports.AppLayoutDrawerDescription = AppLayoutDrawerDescription; exports.AppLayoutDrawerBody = AppLayoutDrawerBody; exports.AppLayoutDrawerFooter = AppLayoutDrawerFooter; exports.NotificationTile = NotificationTile; exports.NotificationDrawer = NotificationDrawer; exports.NotificationPopups = NotificationPopups; exports.ADMIN_APPROVAL_REQUEST_CONTEXT_TYPE = ADMIN_APPROVAL_REQUEST_CONTEXT_TYPE; exports.isApprovalNotification = isApprovalNotification; exports.getApprovalMeta = getApprovalMeta; exports.resolutionToStatus = resolutionToStatus; exports.approvalMetaToBatchData = approvalMetaToBatchData; exports.ApprovalRequestNotificationTile = ApprovalRequestNotificationTile; exports.TimeTrackerProvider = TimeTrackerProvider; exports.useTimeTracker = useTimeTracker; exports.useOptionalTimeTracker = useOptionalTimeTracker; exports.useTrackerClock = useTrackerClock; exports.TimeTrackerPanel = TimeTrackerPanel; exports.HeaderButton = HeaderButton; exports.TimeTrackerHeaderButton = TimeTrackerHeaderButton; exports.BoardColumnHeader = BoardColumnHeader; exports.tintOnDark = tintOnDark; exports.BoardTicketApproval = BoardTicketApproval; exports.TicketCard = TicketCard; exports.TicketCardSkeleton = TicketCardSkeleton; exports.BoardColumn = BoardColumn; exports.useBoardCollapse = useBoardCollapse; exports.Board = Board; exports.columnFromTicketStatus = columnFromTicketStatus; exports.groupTicketsByStatus = groupTicketsByStatus; exports.TicketStatusConfigList = TicketStatusConfigList; exports.TableHeader = TableHeader; exports.TableCell = TableCell; exports.TableCardSkeleton = TableCardSkeleton; exports.TableRow = TableRow; exports.Table = Table; exports.TableDescriptionCell = TableDescriptionCell; exports.TableTimestampCell = TableTimestampCell; exports.QueryReportTableHeader = QueryReportTableHeader; exports.QueryReportTableRow = QueryReportTableRow; exports.QueryReportTableSkeleton = QueryReportTableSkeleton; exports.deriveColumns = deriveColumns; exports.exportToCSV = exportToCSV; exports.QueryReportTable = QueryReportTable; exports.useDataTableContext = useDataTableContext; exports.DataTableRoot = DataTableRoot; exports.getHideClasses = getHideClasses2; exports.alignJustify = alignJustify; exports.multiSelectFilterFn = multiSelectFilterFn; exports.DataTableHeader = DataTableHeader; exports.DataTableEmpty = DataTableEmpty; exports.ROW_HEIGHT_DESKTOP = ROW_HEIGHT_DESKTOP2; exports.ROW_HEIGHT_MOBILE = ROW_HEIGHT_MOBILE2; exports.DataTableSkeleton = DataTableSkeleton; exports.DataTableRow = DataTableRow; exports.DataTableBody = DataTableBody; exports.DataTableInfiniteFooter = DataTableInfiniteFooter; exports.DataTableCursorFooter = DataTableCursorFooter; exports.DataTableRowCount = DataTableRowCount; exports.useDataTable = useDataTable; exports.DataTable = DataTable; exports.flexRender = _reacttable.flexRender; exports.createColumnHelper = _reacttable.createColumnHelper; exports.getCoreRowModel = _reacttable.getCoreRowModel; exports.getExpandedRowModel = _reacttable.getExpandedRowModel; exports.getFacetedRowModel = _reacttable.getFacetedRowModel; exports.getFacetedUniqueValues = _reacttable.getFacetedUniqueValues; exports.getFilteredRowModel = _reacttable.getFilteredRowModel; exports.getGroupedRowModel = _reacttable.getGroupedRowModel; exports.getPaginationRowModel = _reacttable.getPaginationRowModel; exports.getSortedRowModel = _reacttable.getSortedRowModel; exports.SearchInput = SearchInput; exports.FilterListItem = FilterListItem; exports.FilterList = FilterList; exports.TagSearchInput = TagSearchInput; exports.MarkdownEditor = MarkdownEditor; exports.FileUpload = FileUpload; exports.ImageUploader = ImageUploader; exports.TICKET_STATUS_COLOR_PRESETS = TICKET_STATUS_COLOR_PRESETS; exports.CUSTOM_PRESET_KEY = CUSTOM_PRESET_KEY; exports.DEFAULT_CUSTOM_STATUS_COLOR = DEFAULT_CUSTOM_STATUS_COLOR; exports.ColorPresetSelect = ColorPresetSelect; exports.ColorPickerInput = ColorPickerInput; exports.TicketStatusConfigRow = TicketStatusConfigRow; exports.TicketDetailSection = TicketDetailSection; exports.TicketAttachmentsList = TicketAttachmentsList; exports.TicketNoteCard = TicketNoteCard; exports.TicketNotesSection = TicketNotesSection; exports.TicketInfoSection = TicketInfoSection; exports.FilterPillRow = FilterPillRow; exports.MOBILE_NAV_PANEL_ID = MOBILE_NAV_PANEL_ID; exports.MobileNavPanel = MobileNavPanel; exports.MingoAiButton = MingoAiButton; exports.Header = Header2; exports.HeaderSkeleton = HeaderSkeleton; exports.ClientOnlyHeader = ClientOnlyHeader; exports.SlidingSidebar = SlidingSidebar; exports.StickySectionNav = StickySectionNav; exports.useSectionNavigation = useSectionNavigation; exports.NavigationSidebar = NavigationSidebar; exports.HeaderGlobalSearch = HeaderGlobalSearch; exports.HeaderMingoButton = HeaderMingoButton; exports.HeaderOrganizationFilter = HeaderOrganizationFilter; exports.AppHeader = AppHeader; exports.MobileBurgerMenu = MobileBurgerMenu; exports.AppLayout = AppLayout; exports.MultiLevelNavigation = MultiLevelNavigation; exports.MobileNavigationDropdown = MobileNavigationDropdown; exports.SoftwareInfo = SoftwareInfo; exports.SoftwareSourceBadge = SoftwareSourceBadge; exports.CveLink = CveLink; exports.ToolBadge = ToolBadge; exports.ShellTypeBadge = ShellTypeBadge; exports.ScriptInfoSection = ScriptInfoSection; exports.ScriptArguments = ScriptArguments; exports.OnboardingStepCard = OnboardingStepCard; exports.OnboardingWalkthrough = OnboardingWalkthrough; exports.LOG_SEVERITY_COLORS = LOG_SEVERITY_COLORS; exports.LOG_SEVERITY_LABELS = LOG_SEVERITY_LABELS; exports.LogSeverityDot = LogSeverityDot; exports.LogsList = LogsList; exports.assets = assets;
53478
+ //# sourceMappingURL=chunk-53LGRFM2.cjs.map