@flamingo-stack/openframe-frontend-core 0.0.337 → 0.0.338-snapshot.20260629235958

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 (121) hide show
  1. package/dist/{chunk-6XIB47I2.cjs → chunk-4DXRKAV6.cjs} +5 -5
  2. package/dist/{chunk-6XIB47I2.cjs.map → chunk-4DXRKAV6.cjs.map} +1 -1
  3. package/dist/{chunk-XB5LZ2YF.js → chunk-5A5SLX2F.js} +2 -2
  4. package/dist/{chunk-SKK3C6RE.cjs → chunk-6YWPFPKC.cjs} +25 -25
  5. package/dist/{chunk-SKK3C6RE.cjs.map → chunk-6YWPFPKC.cjs.map} +1 -1
  6. package/dist/{chunk-6G4NIF4Y.js → chunk-742ZCG3D.js} +4 -4
  7. package/dist/{chunk-6OA77Y55.cjs → chunk-7OPVJDX6.cjs} +15 -15
  8. package/dist/{chunk-6OA77Y55.cjs.map → chunk-7OPVJDX6.cjs.map} +1 -1
  9. package/dist/{chunk-TXVO2E5C.cjs → chunk-D5BRTQEA.cjs} +26 -26
  10. package/dist/{chunk-TXVO2E5C.cjs.map → chunk-D5BRTQEA.cjs.map} +1 -1
  11. package/dist/{chunk-HKAOAKPW.cjs → chunk-DKK3VRRM.cjs} +12 -12
  12. package/dist/{chunk-HKAOAKPW.cjs.map → chunk-DKK3VRRM.cjs.map} +1 -1
  13. package/dist/{chunk-EX5IVHLS.js → chunk-DLXHC6JS.js} +2 -2
  14. package/dist/{chunk-OKPYF6AI.js → chunk-DUJINSKJ.js} +2 -2
  15. package/dist/{chunk-LF2BC2Z6.cjs → chunk-FFNTLQZR.cjs} +60 -60
  16. package/dist/chunk-FFNTLQZR.cjs.map +1 -0
  17. package/dist/{chunk-75I2PDDE.cjs → chunk-GBE2R7R4.cjs} +7 -7
  18. package/dist/{chunk-75I2PDDE.cjs.map → chunk-GBE2R7R4.cjs.map} +1 -1
  19. package/dist/{chunk-AAPECG2D.js → chunk-GEJQRRD2.js} +8 -8
  20. package/dist/chunk-GEJQRRD2.js.map +1 -0
  21. package/dist/{chunk-X5DAKNSR.js → chunk-HHS3CJ7G.js} +2 -2
  22. package/dist/{chunk-KNTKGT4X.js → chunk-I54DGTLP.js} +3171 -3165
  23. package/dist/chunk-I54DGTLP.js.map +1 -0
  24. package/dist/{chunk-IZ72DTGG.js → chunk-I7NP2ZAJ.js} +4 -4
  25. package/dist/{chunk-43LYMONR.js → chunk-IK22LSYP.js} +4 -4
  26. package/dist/{chunk-7JZFRSMF.cjs → chunk-J344NBBP.cjs} +37 -37
  27. package/dist/{chunk-7JZFRSMF.cjs.map → chunk-J344NBBP.cjs.map} +1 -1
  28. package/dist/{chunk-WQZPEEFC.js → chunk-J7VJHE6O.js} +2 -2
  29. package/dist/{chunk-3YN5ZRHG.cjs → chunk-JOLEA7LT.cjs} +31 -31
  30. package/dist/{chunk-3YN5ZRHG.cjs.map → chunk-JOLEA7LT.cjs.map} +1 -1
  31. package/dist/{chunk-SZJLJWWO.cjs → chunk-KPR563UC.cjs} +62 -62
  32. package/dist/{chunk-SZJLJWWO.cjs.map → chunk-KPR563UC.cjs.map} +1 -1
  33. package/dist/{chunk-A3AMVJDJ.cjs → chunk-OJJCWMLT.cjs} +9 -9
  34. package/dist/{chunk-A3AMVJDJ.cjs.map → chunk-OJJCWMLT.cjs.map} +1 -1
  35. package/dist/{chunk-ASMOZBD6.cjs → chunk-PNWORHOR.cjs} +401 -395
  36. package/dist/chunk-PNWORHOR.cjs.map +1 -0
  37. package/dist/{chunk-3B6JQUCN.js → chunk-S5B3ZX6U.js} +2 -2
  38. package/dist/{chunk-F77UFU5A.js → chunk-YX7RIC4Z.js} +2 -2
  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/index.cjs +2 -2
  42. package/dist/components/chat/index.js +1 -1
  43. package/dist/components/contact/index.cjs +3 -3
  44. package/dist/components/contact/index.js +2 -2
  45. package/dist/components/docs/index.cjs +5 -5
  46. package/dist/components/docs/index.js +4 -4
  47. package/dist/components/embeds/index.cjs +3 -3
  48. package/dist/components/embeds/index.js +2 -2
  49. package/dist/components/faq/index.cjs +3 -3
  50. package/dist/components/faq/index.js +2 -2
  51. package/dist/components/features/entity-summary-editor.d.ts.map +1 -1
  52. package/dist/components/features/highlight-video-combined-section.d.ts.map +1 -1
  53. package/dist/components/features/highlight-video-preview.d.ts.map +1 -1
  54. package/dist/components/features/highlight-video-section.d.ts.map +1 -1
  55. package/dist/components/features/index.cjs +2 -2
  56. package/dist/components/features/index.js +1 -1
  57. package/dist/components/features/seo-editor-preview.d.ts.map +1 -1
  58. package/dist/components/features/transcript-summary-editor.d.ts.map +1 -1
  59. package/dist/components/features/video-source-selector.d.ts.map +1 -1
  60. package/dist/components/help-center-pages/index.cjs +20 -20
  61. package/dist/components/help-center-pages/index.js +11 -11
  62. package/dist/components/index.cjs +123 -121
  63. package/dist/components/index.cjs.map +1 -1
  64. package/dist/components/index.js +11 -9
  65. package/dist/components/index.js.map +1 -1
  66. package/dist/components/layout/page-layout.d.ts +6 -1
  67. package/dist/components/layout/page-layout.d.ts.map +1 -1
  68. package/dist/components/layout/title-block.d.ts +8 -1
  69. package/dist/components/layout/title-block.d.ts.map +1 -1
  70. package/dist/components/navigation/index.cjs +2 -2
  71. package/dist/components/navigation/index.js +1 -1
  72. package/dist/components/onboarding-guides/index.cjs +5 -5
  73. package/dist/components/onboarding-guides/index.js +4 -4
  74. package/dist/components/related-content/index.cjs +3 -3
  75. package/dist/components/related-content/index.js +2 -2
  76. package/dist/components/tickets/index.cjs +5 -5
  77. package/dist/components/tickets/index.js +4 -4
  78. package/dist/components/ui/ai-generated-badge.d.ts +10 -0
  79. package/dist/components/ui/ai-generated-badge.d.ts.map +1 -0
  80. package/dist/components/ui/index.cjs +4 -2
  81. package/dist/components/ui/index.cjs.map +1 -1
  82. package/dist/components/ui/index.d.ts +1 -0
  83. package/dist/components/ui/index.d.ts.map +1 -1
  84. package/dist/components/ui/index.js +3 -1
  85. package/dist/components/ui/info-card.d.ts.map +1 -1
  86. package/dist/components/ui/release-changelog-section.d.ts +2 -2
  87. package/dist/components/ui/release-changelog-section.d.ts.map +1 -1
  88. package/dist/components/ui/table/table-skeleton.d.ts.map +1 -1
  89. package/dist/index.cjs +4 -2
  90. package/dist/index.cjs.map +1 -1
  91. package/dist/index.js +3 -1
  92. package/package.json +1 -1
  93. package/src/components/features/entity-summary-editor.tsx +2 -4
  94. package/src/components/features/highlight-video-combined-section.tsx +2 -4
  95. package/src/components/features/highlight-video-preview.tsx +2 -4
  96. package/src/components/features/highlight-video-section.tsx +2 -4
  97. package/src/components/features/seo-editor-preview.tsx +4 -12
  98. package/src/components/features/transcript-summary-editor.tsx +3 -8
  99. package/src/components/features/video-source-selector.tsx +2 -4
  100. package/src/components/layout/page-layout.tsx +10 -1
  101. package/src/components/layout/title-block.tsx +56 -5
  102. package/src/components/shared/product-release/release-detail-page.tsx +4 -4
  103. package/src/components/ui/ai-generated-badge.tsx +17 -0
  104. package/src/components/ui/index.ts +1 -0
  105. package/src/components/ui/info-card.tsx +55 -41
  106. package/src/components/ui/release-changelog-section.tsx +19 -14
  107. package/src/components/ui/table/table-skeleton.tsx +6 -2
  108. package/dist/chunk-AAPECG2D.js.map +0 -1
  109. package/dist/chunk-ASMOZBD6.cjs.map +0 -1
  110. package/dist/chunk-KNTKGT4X.js.map +0 -1
  111. package/dist/chunk-LF2BC2Z6.cjs.map +0 -1
  112. /package/dist/{chunk-XB5LZ2YF.js.map → chunk-5A5SLX2F.js.map} +0 -0
  113. /package/dist/{chunk-6G4NIF4Y.js.map → chunk-742ZCG3D.js.map} +0 -0
  114. /package/dist/{chunk-EX5IVHLS.js.map → chunk-DLXHC6JS.js.map} +0 -0
  115. /package/dist/{chunk-OKPYF6AI.js.map → chunk-DUJINSKJ.js.map} +0 -0
  116. /package/dist/{chunk-X5DAKNSR.js.map → chunk-HHS3CJ7G.js.map} +0 -0
  117. /package/dist/{chunk-IZ72DTGG.js.map → chunk-I7NP2ZAJ.js.map} +0 -0
  118. /package/dist/{chunk-43LYMONR.js.map → chunk-IK22LSYP.js.map} +0 -0
  119. /package/dist/{chunk-WQZPEEFC.js.map → chunk-J7VJHE6O.js.map} +0 -0
  120. /package/dist/{chunk-3B6JQUCN.js.map → chunk-S5B3ZX6U.js.map} +0 -0
  121. /package/dist/{chunk-F77UFU5A.js.map → chunk-YX7RIC4Z.js.map} +0 -0
@@ -13078,36 +13078,43 @@ function InfoCard({ data, className = "" }) {
13078
13078
  className
13079
13079
  ),
13080
13080
  children: [
13081
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "p-[var(--spacing-system-m)] flex flex-col gap-[var(--spacing-system-s)] items-start w-full", children: [
13082
- data.title && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xsf)] self-stretch h-6", children: [
13083
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-h4 text-ods-text-primary truncate", title: data.title, children: data.title }),
13084
- data.icon
13081
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "p-[var(--spacing-system-m)] flex flex-col gap-[var(--spacing-system-l)] items-start w-full", children: [
13082
+ (data.title || data.subtitle) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col items-start self-stretch w-full", children: [
13083
+ data.title && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xsf)] self-stretch", children: [
13084
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-h4 text-ods-text-primary truncate min-w-0", title: data.title, children: data.title }),
13085
+ data.icon
13086
+ ] }),
13087
+ data.subtitle && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xsf)] self-stretch", children: [
13088
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-h4 text-ods-text-secondary truncate min-w-0", title: data.subtitle, children: data.subtitle }),
13089
+ !data.title && data.icon
13090
+ ] })
13085
13091
  ] }),
13086
- data.subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-h4 text-ods-text-secondary truncate self-stretch", title: data.subtitle, children: data.subtitle }),
13087
- data.items.map((item, index) => {
13088
- const values = Array.isArray(item.value) ? item.value : [item.value];
13089
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, React114.default.Fragment, { children: values.map((val, valIndex) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
13090
- InfoCardValueRow,
13092
+ (data.items.length > 0 || data.progress) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-xs)] items-start self-stretch w-full", children: [
13093
+ data.items.map((item, index) => {
13094
+ const values = Array.isArray(item.value) ? item.value : [item.value];
13095
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, React114.default.Fragment, { children: values.map((val, valIndex) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
13096
+ InfoCardValueRow,
13097
+ {
13098
+ label: item.label,
13099
+ value: val,
13100
+ showLabel: valIndex === 0,
13101
+ copyable: item.copyable,
13102
+ icon: valIndex === 0 ? item.icon : void 0,
13103
+ copyAriaLabel: `Copy ${_nullishCoalesce(item.label, () => ( "value"))} ${valIndex + 1}`
13104
+ },
13105
+ `${index}-${valIndex}`
13106
+ )) }, index);
13107
+ }),
13108
+ data.progress && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
13109
+ ProgressBar,
13091
13110
  {
13092
- label: item.label,
13093
- value: val,
13094
- showLabel: valIndex === 0,
13095
- copyable: item.copyable,
13096
- icon: valIndex === 0 ? item.icon : void 0,
13097
- copyAriaLabel: `Copy ${_nullishCoalesce(item.label, () => ( "value"))} ${valIndex + 1}`
13098
- },
13099
- `${index}-${valIndex}`
13100
- )) }, index);
13101
- }),
13102
- data.progress && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
13103
- ProgressBar,
13104
- {
13105
- progress: data.progress.value,
13106
- warningThreshold: data.progress.warningThreshold,
13107
- criticalThreshold: data.progress.criticalThreshold,
13108
- inverted: data.progress.inverted
13109
- }
13110
- )
13111
+ progress: data.progress.value,
13112
+ warningThreshold: data.progress.warningThreshold,
13113
+ criticalThreshold: data.progress.criticalThreshold,
13114
+ inverted: data.progress.inverted
13115
+ }
13116
+ )
13117
+ ] })
13111
13118
  ] }),
13112
13119
  data.footer && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, InfoCardFooter, { footer: data.footer })
13113
13120
  ]
@@ -16155,6 +16162,16 @@ var AlertDescription = React64.forwardRef(({ className, ...props }, ref) => /* @
16155
16162
  ));
16156
16163
  AlertDescription.displayName = "AlertDescription";
16157
16164
 
16165
+ // src/components/ui/ai-generated-badge.tsx
16166
+
16167
+
16168
+ function AIGeneratedBadge({ className }) {
16169
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Badge, { variant: "secondary", className: `flex items-center gap-1${className ? ` ${className}` : ""}`, children: [
16170
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Sparkles, { className: "h-3 w-3" }),
16171
+ "AI Generated"
16172
+ ] });
16173
+ }
16174
+
16158
16175
  // src/components/ui/progress.tsx
16159
16176
  _chunkFIG2RKZFcjs.init_cn.call(void 0, );
16160
16177
 
@@ -18807,7 +18824,7 @@ function ReleaseChangelogSection({
18807
18824
  defaultCollapsed = true,
18808
18825
  previewFirst = false,
18809
18826
  icon,
18810
- SimpleMarkdownRenderer: SimpleMarkdownRenderer2 = RichMarkdownRenderer
18827
+ MarkdownRenderer = RichMarkdownRenderer
18811
18828
  }) {
18812
18829
  const [collapsed, setCollapsed] = _react.useState.call(void 0, collapsible ? defaultCollapsed : false);
18813
18830
  const [previewExpanded, setPreviewExpanded] = _react.useState.call(void 0, false);
@@ -18866,7 +18883,7 @@ function ReleaseChangelogSection({
18866
18883
  WebkitMaskImage: "linear-gradient(to bottom, black 30%, transparent 100%)"
18867
18884
  } : {}
18868
18885
  },
18869
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChangelogEntryList, { entries, SimpleMarkdownRenderer: SimpleMarkdownRenderer2 })
18886
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChangelogEntryList, { entries, MarkdownRenderer })
18870
18887
  }
18871
18888
  ),
18872
18889
  previewNeedsFade && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
@@ -18887,23 +18904,23 @@ function ReleaseChangelogSection({
18887
18904
  }
18888
18905
  )
18889
18906
  ] })
18890
- ) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChangelogEntryList, { entries, SimpleMarkdownRenderer: SimpleMarkdownRenderer2 }))
18907
+ ) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChangelogEntryList, { entries, MarkdownRenderer }))
18891
18908
  ] });
18892
18909
  }
18893
18910
  function ChangelogEntryList({
18894
18911
  entries,
18895
- SimpleMarkdownRenderer: SimpleMarkdownRenderer2
18912
+ MarkdownRenderer
18896
18913
  }) {
18897
18914
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "ul", { className: "space-y-6", children: entries.map((entry, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "li", { className: "border-l-2 border-ods-border pl-4 ml-0", children: [
18898
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-h3 text-ods-text-primary mb-2", children: entry.title }),
18915
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-h3 text-ods-text-primary mb-2 [&_p]:!text-[length:var(--font-size-h3-body)] [&_p]:!leading-[var(--font-line-space-h3-body)] [&_p]:!font-bold [&_p]:!my-0 [&_p+p]:!mt-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MarkdownRenderer, { content: entry.title }) }),
18899
18916
  entry.description && /* Entry description — body text matches the main release
18900
18917
  summary at the SAME 14/18px responsive `text-h4` scale.
18901
- The `SimpleMarkdownRenderer` forces its own `<p>` typography
18918
+ The `MarkdownRenderer` forces its own `<p>` typography
18902
18919
  which would override `text-h4` on `lg+` viewports and
18903
18920
  inflate the changelog body to 20px. The `[&_p]:!` overrides
18904
18921
  pin every descendant `<p>` back to the h4 responsive tokens
18905
18922
  so the breakpoints stay aligned with the rest of the page. */
18906
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-h4 text-ods-text-primary [&_p]:!text-[length:var(--font-size-h4-body)] [&_p]:!leading-[var(--font-line-space-h4-body)] [&_p]:!font-medium", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SimpleMarkdownRenderer2, { content: entry.description }) })
18923
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-h4 text-ods-text-primary [&_p]:!text-[length:var(--font-size-h4-body)] [&_p]:!leading-[var(--font-line-space-h4-body)] [&_p]:!font-medium", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MarkdownRenderer, { content: entry.description }) })
18907
18924
  ] }, index)) });
18908
18925
  }
18909
18926
 
@@ -19973,6 +19990,15 @@ function EntityImage({ src, alt, fallbackText, className }) {
19973
19990
  // src/components/layout/title-block.tsx
19974
19991
 
19975
19992
  var TITLE_BLOCK_MIN_HEIGHT = "min-h-11 md:min-h-12";
19993
+ function TitleTextSkeleton({ widthClass, heightClass }) {
19994
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
19995
+ "span",
19996
+ {
19997
+ "aria-hidden": true,
19998
+ className: _chunkFIG2RKZFcjs.cn.call(void 0, "inline-block max-w-full rounded-md bg-ods-border animate-pulse", widthClass, heightClass)
19999
+ }
20000
+ );
20001
+ }
19976
20002
  function TitleBlock({
19977
20003
  title,
19978
20004
  subtitle,
@@ -19984,7 +20010,9 @@ function TitleBlock({
19984
20010
  selector,
19985
20011
  variant = "plain",
19986
20012
  className,
19987
- titleSize = "h2"
20013
+ titleSize = "h2",
20014
+ titleAdornment,
20015
+ loading
19988
20016
  }) {
19989
20017
  const hasActions = actions && actions.length > 0;
19990
20018
  const hasMenuActions = !!menuActions && menuActions.some((g) => g.items.length > 0);
@@ -20015,7 +20043,7 @@ function TitleBlock({
20015
20043
  className: "hidden md:inline-flex"
20016
20044
  }
20017
20045
  ),
20018
- image || subtitle ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-m)] min-w-0 w-full", children: [
20046
+ image || subtitle || loading ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-m)] min-w-0 w-full", children: [
20019
20047
  image && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
20020
20048
  EntityImage,
20021
20049
  {
@@ -20025,10 +20053,16 @@ function TitleBlock({
20025
20053
  }
20026
20054
  ),
20027
20055
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col justify-center min-w-0 flex-1", children: [
20028
- title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: _chunkFIG2RKZFcjs.cn.call(void 0, titleClass, "text-ods-text-primary truncate"), title, children: title }),
20029
- subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-h6 text-ods-text-secondary truncate", title: subtitle, children: subtitle })
20056
+ (loading || title) && (titleAdornment ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-m)] min-w-0 w-full", children: [
20057
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: _chunkFIG2RKZFcjs.cn.call(void 0, titleClass, "text-ods-text-primary truncate min-w-0"), title, children: loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TitleTextSkeleton, { widthClass: "w-48 md:w-72", heightClass: "h-4 md:h-6" }) : title }),
20058
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0", children: titleAdornment })
20059
+ ] }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: _chunkFIG2RKZFcjs.cn.call(void 0, titleClass, "text-ods-text-primary truncate"), title, children: loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TitleTextSkeleton, { widthClass: "w-48 md:w-72", heightClass: "h-4 md:h-6" }) : title })),
20060
+ subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-h6 text-ods-text-secondary truncate", title: subtitle, children: loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TitleTextSkeleton, { widthClass: "w-28 md:w-36", heightClass: "h-2.5 md:h-3" }) : subtitle })
20030
20061
  ] })
20031
- ] }) : title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: _chunkFIG2RKZFcjs.cn.call(void 0, titleClass, "text-ods-text-primary"), children: title })
20062
+ ] }) : title && (titleAdornment ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-m)] min-w-0 w-full", children: [
20063
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: _chunkFIG2RKZFcjs.cn.call(void 0, titleClass, "text-ods-text-primary truncate min-w-0"), title, children: title }),
20064
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0", children: titleAdornment })
20065
+ ] }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: _chunkFIG2RKZFcjs.cn.call(void 0, titleClass, "text-ods-text-primary"), children: title }))
20032
20066
  ] }),
20033
20067
  (hasActions || hasMenuActions || selector) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex gap-2 items-center shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
20034
20068
  PageActions,
@@ -20060,11 +20094,13 @@ function PageLayout({
20060
20094
  className,
20061
20095
  contentClassName,
20062
20096
  showHeader = true,
20063
- titleSize
20097
+ titleSize,
20098
+ titleAdornment,
20099
+ loading
20064
20100
  }) {
20065
20101
  const hasActions = actions && actions.length > 0;
20066
20102
  const needsBottomPadding = hasActions && actionsVariant === "primary-buttons";
20067
- const hasHeader = showHeader && (title || subtitle || image || backButton || hasActions || selector);
20103
+ const hasHeader = showHeader && (title || subtitle || image || backButton || hasActions || selector || loading);
20068
20104
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkFIG2RKZFcjs.cn.call(void 0, "flex flex-col w-full", className), children: [
20069
20105
  hasHeader && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
20070
20106
  TitleBlock,
@@ -20078,7 +20114,9 @@ function PageLayout({
20078
20114
  menuActions,
20079
20115
  selector,
20080
20116
  variant: headerVariant,
20081
- titleSize
20117
+ titleSize,
20118
+ titleAdornment,
20119
+ loading
20082
20120
  }
20083
20121
  ),
20084
20122
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkFIG2RKZFcjs.cn.call(void 0, "flex flex-col flex-1 gap-[var(--spacing-system-l)]", needsBottomPadding && "pb-28 md:pb-0", contentClassName), children })
@@ -26457,10 +26495,7 @@ function SEOEditorPreview({
26457
26495
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
26458
26496
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Label, { className: "font-['DM_Sans'] text-[14px] font-medium text-ods-text-primary", children: "SEO Title" }),
26459
26497
  aiConfidenceSeoTitle !== void 0 && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
26460
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Badge, { variant: "secondary", className: "flex items-center gap-1", children: [
26461
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Sparkles, { className: "h-3 w-3" }),
26462
- "AI Generated"
26463
- ] }),
26498
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, AIGeneratedBadge, {}),
26464
26499
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
26465
26500
  ConfidenceBadge,
26466
26501
  {
@@ -26507,10 +26542,7 @@ function SEOEditorPreview({
26507
26542
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
26508
26543
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Label, { className: "font-['DM_Sans'] text-[14px] font-medium text-ods-text-primary", children: "SEO Keywords" }),
26509
26544
  aiConfidenceSeoKeywords !== void 0 && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
26510
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Badge, { variant: "secondary", className: "flex items-center gap-1", children: [
26511
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Sparkles, { className: "h-3 w-3" }),
26512
- "AI Generated"
26513
- ] }),
26545
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, AIGeneratedBadge, {}),
26514
26546
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
26515
26547
  ConfidenceBadge,
26516
26548
  {
@@ -26539,10 +26571,7 @@ function SEOEditorPreview({
26539
26571
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
26540
26572
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Label, { className: "font-['DM_Sans'] text-[14px] font-medium text-ods-text-primary", children: "SEO Description" }),
26541
26573
  aiConfidenceSeoDescription !== void 0 && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
26542
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Badge, { variant: "secondary", className: "flex items-center gap-1", children: [
26543
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Sparkles, { className: "h-3 w-3" }),
26544
- "AI Generated"
26545
- ] }),
26574
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, AIGeneratedBadge, {}),
26546
26575
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
26547
26576
  ConfidenceBadge,
26548
26577
  {
@@ -27186,9 +27215,9 @@ function getCaptionsUrl(entityType, entityId, srtContent) {
27186
27215
  }
27187
27216
 
27188
27217
  // src/components/features/video-source-selector.tsx
27189
- _chunkQJGRP2YEcjs.init_button2.call(void 0, );
27190
27218
 
27191
27219
 
27220
+ _chunkQJGRP2YEcjs.init_button2.call(void 0, );
27192
27221
 
27193
27222
  function VideoSourceSelector({
27194
27223
  videoSourceType,
@@ -27298,10 +27327,7 @@ function VideoSourceSelector({
27298
27327
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-between mb-2", children: [
27299
27328
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
27300
27329
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Label, { children: uploadLabel }),
27301
- showAIBadge && isAIGenerated && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Badge, { variant: "secondary", className: "flex items-center gap-1", children: [
27302
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Sparkles, { className: "h-3 w-3" }),
27303
- "AI Generated"
27304
- ] })
27330
+ showAIBadge && isAIGenerated && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, AIGeneratedBadge, {})
27305
27331
  ] }),
27306
27332
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
27307
27333
  _chunkQJGRP2YEcjs.Button,
@@ -27406,9 +27432,6 @@ function DefaultVideoPreview({ videoUrl, resolveVideoUrl, onDelete, disabled })
27406
27432
  ] });
27407
27433
  }
27408
27434
 
27409
- // src/components/features/transcript-summary-editor.tsx
27410
-
27411
-
27412
27435
  // src/components/features/ai-enrich/ConfidenceBadge.tsx
27413
27436
  _chunkFIG2RKZFcjs.init_cn.call(void 0, );
27414
27437
 
@@ -27487,10 +27510,7 @@ function TranscriptSummaryEditor({
27487
27510
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mb-2", children: [
27488
27511
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
27489
27512
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Label, { htmlFor: "video-summary", children: videoSummaryLabel }),
27490
- isAIGenerated && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Badge, { variant: "secondary", className: "flex items-center gap-1", children: [
27491
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Sparkles, { className: "h-3 w-3" }),
27492
- "AI Generated"
27493
- ] }),
27513
+ isAIGenerated && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, AIGeneratedBadge, {}),
27494
27514
  videoSummaryConfidence !== void 0 && videoSummaryConfidence !== null && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
27495
27515
  ConfidenceBadge,
27496
27516
  {
@@ -27527,10 +27547,7 @@ function TranscriptSummaryEditor({
27527
27547
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mb-2", children: [
27528
27548
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
27529
27549
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Label, { htmlFor: "transcript", children: transcriptLabel }),
27530
- isAIGenerated && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Badge, { variant: "secondary", className: "flex items-center gap-1", children: [
27531
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Sparkles, { className: "h-3 w-3" }),
27532
- "AI Generated"
27533
- ] }),
27550
+ isAIGenerated && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, AIGeneratedBadge, {}),
27534
27551
  transcriptConfidence !== void 0 && transcriptConfidence !== null && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
27535
27552
  ConfidenceBadge,
27536
27553
  {
@@ -27982,10 +27999,7 @@ function HighlightVideoSection({
27982
27999
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-between mb-2", children: [
27983
28000
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
27984
28001
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Label, { children: "Highlight Video" }),
27985
- highlightVideoSource === "ai_generated" && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Badge, { variant: "secondary", className: "flex items-center gap-1", children: [
27986
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Sparkles, { className: "h-3 w-3" }),
27987
- "AI Generated"
27988
- ] }),
28002
+ highlightVideoSource === "ai_generated" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, AIGeneratedBadge, {}),
27989
28003
  highlightVideoDurationMs && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Badge, { variant: "outline", className: "text-xs", children: formatDuration2(highlightVideoDurationMs) })
27990
28004
  ] }),
27991
28005
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -28090,7 +28104,6 @@ function HighlightConfigSection({
28090
28104
 
28091
28105
  // src/components/features/entity-summary-editor.tsx
28092
28106
 
28093
-
28094
28107
  function EntitySummaryEditor({
28095
28108
  summary = "",
28096
28109
  onSummaryChange,
@@ -28107,10 +28120,7 @@ function EntitySummaryEditor({
28107
28120
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mb-2", children: [
28108
28121
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
28109
28122
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Label, { htmlFor: "entity-summary", children: label }),
28110
- isAIGenerated && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Badge, { variant: "secondary", className: "flex items-center gap-1", children: [
28111
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Sparkles, { className: "h-3 w-3" }),
28112
- "AI Generated"
28113
- ] }),
28123
+ isAIGenerated && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, AIGeneratedBadge, {}),
28114
28124
  summaryConfidence !== void 0 && summaryConfidence !== null && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
28115
28125
  ConfidenceBadge,
28116
28126
  {
@@ -28421,10 +28431,7 @@ function HighlightVideoPreview({
28421
28431
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-between mb-2", children: [
28422
28432
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
28423
28433
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Label, { children: label }),
28424
- highlightVideoSource === "ai_generated" && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Badge, { variant: "secondary", className: "flex items-center gap-1", children: [
28425
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Sparkles, { className: "h-3 w-3" }),
28426
- "AI Generated"
28427
- ] }),
28434
+ highlightVideoSource === "ai_generated" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, AIGeneratedBadge, {}),
28428
28435
  highlightVideoDurationMs && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Badge, { variant: "outline", className: "text-xs", children: formatDuration2(highlightVideoDurationMs) })
28429
28436
  ] }),
28430
28437
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -28634,10 +28641,7 @@ function HighlightVideoCombinedSection({
28634
28641
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-between mb-2", children: [
28635
28642
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
28636
28643
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Label, { children: previewLabel }),
28637
- highlightVideoSource === "ai_generated" && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Badge, { variant: "secondary", className: "flex items-center gap-1", children: [
28638
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Sparkles, { className: "h-3 w-3" }),
28639
- "AI Generated"
28640
- ] }),
28644
+ highlightVideoSource === "ai_generated" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, AIGeneratedBadge, {}),
28641
28645
  highlightVideoDurationMs && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Badge, { variant: "outline", className: "text-xs", children: formatDuration2(highlightVideoDurationMs) })
28642
28646
  ] }),
28643
28647
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -35577,6 +35581,7 @@ function TableCardSkeleton({
35577
35581
  className,
35578
35582
  rowClassName
35579
35583
  }) {
35584
+ const primaryKey = _optionalChain([(_nullishCoalesce(columns.find((c) => /flex-(1|\[)/.test(c.width || "")), () => ( columns[0]))), 'optionalAccess', _663 => _663.key]);
35580
35585
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: Array.from({ length: rows }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
35581
35586
  "div",
35582
35587
  {
@@ -35599,7 +35604,7 @@ function TableCardSkeleton({
35599
35604
  ),
35600
35605
  children: [
35601
35606
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-5 bg-ods-bg-surface rounded w-3/4 mb-1" }),
35602
- index % 2 === 0 && column.key === columns[0].key && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-4 bg-ods-bg-surface rounded w-1/2 opacity-60" })
35607
+ index % 2 === 0 && column.key === primaryKey && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-4 bg-ods-bg-surface rounded w-1/2 opacity-60" })
35603
35608
  ]
35604
35609
  },
35605
35610
  column.key
@@ -35664,7 +35669,7 @@ function TableRow({
35664
35669
  const keys = column.key.split(".");
35665
35670
  let value = item;
35666
35671
  for (const key of keys) {
35667
- value = _optionalChain([value, 'optionalAccess', _663 => _663[key]]);
35672
+ value = _optionalChain([value, 'optionalAccess', _664 => _664[key]]);
35668
35673
  }
35669
35674
  if (value === null || value === void 0) {
35670
35675
  return "-";
@@ -35734,7 +35739,7 @@ function TableRow({
35734
35739
  // src/components/ui/table/table.tsx
35735
35740
 
35736
35741
  function injectSyntheticColumns(columns, rowActions, renderRowActions, rowHref) {
35737
- const hasActions = Boolean(_optionalChain([rowActions, 'optionalAccess', _664 => _664.length])) || Boolean(renderRowActions);
35742
+ const hasActions = Boolean(_optionalChain([rowActions, 'optionalAccess', _665 => _665.length])) || Boolean(renderRowActions);
35738
35743
  const result = [...columns];
35739
35744
  if (hasActions) {
35740
35745
  const actionsColumn = {
@@ -35828,7 +35833,7 @@ function Table({
35828
35833
  return rowKey(item);
35829
35834
  }
35830
35835
  const key = item[rowKey];
35831
- return _optionalChain([key, 'optionalAccess', _665 => _665.toString, 'call', _666 => _666()]) || index.toString();
35836
+ return _optionalChain([key, 'optionalAccess', _666 => _666.toString, 'call', _667 => _667()]) || index.toString();
35832
35837
  };
35833
35838
  const getRowClassName = (item, index) => {
35834
35839
  if (typeof rowClassName === "function") {
@@ -35862,23 +35867,23 @@ function Table({
35862
35867
  const allSelected = selectedRows.length > 0 && selectedRows.length === data.length;
35863
35868
  const someSelected = selectedRows.length > 0 && selectedRows.length < data.length;
35864
35869
  const sentinelRef = _react.useRef.call(void 0, null);
35865
- const onLoadMoreRef = _react.useRef.call(void 0, _optionalChain([infiniteScroll, 'optionalAccess', _667 => _667.onLoadMore]));
35866
- onLoadMoreRef.current = _optionalChain([infiniteScroll, 'optionalAccess', _668 => _668.onLoadMore]);
35870
+ const onLoadMoreRef = _react.useRef.call(void 0, _optionalChain([infiniteScroll, 'optionalAccess', _668 => _668.onLoadMore]));
35871
+ onLoadMoreRef.current = _optionalChain([infiniteScroll, 'optionalAccess', _669 => _669.onLoadMore]);
35867
35872
  _react.useEffect.call(void 0, () => {
35868
- if (!_optionalChain([infiniteScroll, 'optionalAccess', _669 => _669.hasNextPage]) || infiniteScroll.isFetchingNextPage) return;
35873
+ if (!_optionalChain([infiniteScroll, 'optionalAccess', _670 => _670.hasNextPage]) || infiniteScroll.isFetchingNextPage) return;
35869
35874
  const sentinel = sentinelRef.current;
35870
35875
  if (!sentinel) return;
35871
35876
  const observer = new IntersectionObserver(
35872
35877
  (entries) => {
35873
- if (_optionalChain([entries, 'access', _670 => _670[0], 'optionalAccess', _671 => _671.isIntersecting])) {
35874
- _optionalChain([onLoadMoreRef, 'access', _672 => _672.current, 'optionalCall', _673 => _673()]);
35878
+ if (_optionalChain([entries, 'access', _671 => _671[0], 'optionalAccess', _672 => _672.isIntersecting])) {
35879
+ _optionalChain([onLoadMoreRef, 'access', _673 => _673.current, 'optionalCall', _674 => _674()]);
35875
35880
  }
35876
35881
  },
35877
35882
  { rootMargin: "200px" }
35878
35883
  );
35879
35884
  observer.observe(sentinel);
35880
35885
  return () => observer.disconnect();
35881
- }, [_optionalChain([infiniteScroll, 'optionalAccess', _674 => _674.hasNextPage]), _optionalChain([infiniteScroll, 'optionalAccess', _675 => _675.isFetchingNextPage])]);
35886
+ }, [_optionalChain([infiniteScroll, 'optionalAccess', _675 => _675.hasNextPage]), _optionalChain([infiniteScroll, 'optionalAccess', _676 => _676.isFetchingNextPage])]);
35882
35887
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkFIG2RKZFcjs.cn.call(void 0, "flex flex-col gap-1 w-full", containerClassName), children: [
35883
35888
  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: [
35884
35889
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "text-ods-text-secondary text-sm", children: [
@@ -35949,7 +35954,7 @@ function Table({
35949
35954
  },
35950
35955
  getRowKey(item, index)
35951
35956
  )),
35952
- _optionalChain([infiniteScroll, 'optionalAccess', _676 => _676.isFetchingNextPage]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
35957
+ _optionalChain([infiniteScroll, 'optionalAccess', _677 => _677.isFetchingNextPage]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
35953
35958
  TableCardSkeleton,
35954
35959
  {
35955
35960
  columns,
@@ -35958,7 +35963,7 @@ function Table({
35958
35963
  hasChevron: Boolean(rowHref)
35959
35964
  }
35960
35965
  ),
35961
- _optionalChain([infiniteScroll, 'optionalAccess', _677 => _677.hasNextPage]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: sentinelRef, className: "h-1", "aria-hidden": "true" }),
35966
+ _optionalChain([infiniteScroll, 'optionalAccess', _678 => _678.hasNextPage]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: sentinelRef, className: "h-1", "aria-hidden": "true" }),
35962
35967
  !infiniteScroll && Array.from({ length: Math.max(0, skeletonRows - data.length) }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
35963
35968
  "div",
35964
35969
  {
@@ -36316,7 +36321,7 @@ function QueryReportTable({
36316
36321
  );
36317
36322
  const handleExport = () => {
36318
36323
  exportToCSV(data, columns, exportFilename);
36319
- _optionalChain([onExport, 'optionalCall', _678 => _678()]);
36324
+ _optionalChain([onExport, 'optionalCall', _679 => _679()]);
36320
36325
  };
36321
36326
  const tableMinWidth = columns.length * (columnWidth + 16);
36322
36327
  const {
@@ -36489,7 +36494,7 @@ function DataTableColumnFilter({
36489
36494
  align = "left"
36490
36495
  }) {
36491
36496
  const currentValue = column.getFilterValue();
36492
- const activeCount = _nullishCoalesce(_optionalChain([currentValue, 'optionalAccess', _679 => _679.length]), () => ( 0));
36497
+ const activeCount = _nullishCoalesce(_optionalChain([currentValue, 'optionalAccess', _680 => _680.length]), () => ( 0));
36493
36498
  const sections = _react.useMemo.call(void 0,
36494
36499
  () => [
36495
36500
  {
@@ -36569,7 +36574,7 @@ function DataTableHeader({
36569
36574
  const hasVisibleHeaderCell = headerGroup.headers.some((header) => {
36570
36575
  if (header.isPlaceholder) return false;
36571
36576
  if (isLgUp) return true;
36572
- return Boolean(_optionalChain([header, 'access', _680 => _680.column, 'access', _681 => _681.columnDef, 'access', _682 => _682.meta, 'optionalAccess', _683 => _683.filter]));
36577
+ return Boolean(_optionalChain([header, 'access', _681 => _681.column, 'access', _682 => _682.columnDef, 'access', _683 => _683.meta, 'optionalAccess', _684 => _684.filter]));
36573
36578
  });
36574
36579
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
36575
36580
  "div",
@@ -36599,20 +36604,20 @@ function HeaderCell({ header, isLgUp, sort, onSortChange }) {
36599
36604
  if (header.isPlaceholder) return null;
36600
36605
  const column = header.column;
36601
36606
  const meta = column.columnDef.meta;
36602
- const hasFilter = Boolean(_optionalChain([meta, 'optionalAccess', _684 => _684.filter]));
36603
- const align = _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _685 => _685.align]), () => ( "left"));
36604
- const canSort = _optionalChain([meta, 'optionalAccess', _686 => _686.sortable]) === true;
36605
- const sortDir = _optionalChain([sort, 'optionalAccess', _687 => _687.id]) === column.id ? sort.desc ? "desc" : "asc" : false;
36607
+ const hasFilter = Boolean(_optionalChain([meta, 'optionalAccess', _685 => _685.filter]));
36608
+ const align = _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _686 => _686.align]), () => ( "left"));
36609
+ const canSort = _optionalChain([meta, 'optionalAccess', _687 => _687.sortable]) === true;
36610
+ const sortDir = _optionalChain([sort, 'optionalAccess', _688 => _688.id]) === column.id ? sort.desc ? "desc" : "asc" : false;
36606
36611
  if (!isLgUp && !hasFilter) return null;
36607
36612
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
36608
36613
  "div",
36609
36614
  {
36610
36615
  className: _chunkFIG2RKZFcjs.cn.call(void 0,
36611
36616
  "flex items-stretch",
36612
- isLgUp && (_optionalChain([meta, 'optionalAccess', _688 => _688.width]) || "flex-1 min-w-0"),
36613
- _optionalChain([meta, 'optionalAccess', _689 => _689.headerClassName]),
36617
+ isLgUp && (_optionalChain([meta, 'optionalAccess', _689 => _689.width]) || "flex-1 min-w-0"),
36618
+ _optionalChain([meta, 'optionalAccess', _690 => _690.headerClassName]),
36614
36619
  // Don't apply hide classes if column is filterable on tablet (keep filter accessible)
36615
- !(hasFilter && !isLgUp) && getHideClasses2(_optionalChain([meta, 'optionalAccess', _690 => _690.hideAt]))
36620
+ !(hasFilter && !isLgUp) && getHideClasses2(_optionalChain([meta, 'optionalAccess', _691 => _691.hideAt]))
36616
36621
  ),
36617
36622
  children: hasFilter ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
36618
36623
  DataTableColumnFilter,
@@ -36631,7 +36636,7 @@ function HeaderCell({ header, isLgUp, sort, onSortChange }) {
36631
36636
  isLgUp && alignJustify(align),
36632
36637
  canSort && "group cursor-pointer"
36633
36638
  ),
36634
- onClick: canSort ? () => _optionalChain([onSortChange, 'optionalCall', _691 => _691(column.id)]) : void 0,
36639
+ onClick: canSort ? () => _optionalChain([onSortChange, 'optionalCall', _692 => _692(column.id)]) : void 0,
36635
36640
  children: [
36636
36641
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderLabel, { header }),
36637
36642
  canSort && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SortIcon, { sorted: sortDir })
@@ -36696,7 +36701,7 @@ function DataTableSkeleton({
36696
36701
  }) {
36697
36702
  const table = useDataTableContext();
36698
36703
  const columns = table.getVisibleFlatColumns();
36699
- const firstColumnId = _optionalChain([columns, 'access', _692 => _692[0], 'optionalAccess', _693 => _693.id]);
36704
+ const firstColumnId = _optionalChain([columns, 'access', _693 => _693[0], 'optionalAccess', _694 => _694.id]);
36700
36705
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: Array.from({ length: rows }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
36701
36706
  "div",
36702
36707
  {
@@ -36720,7 +36725,7 @@ function DataTableSkeleton({
36720
36725
  {
36721
36726
  className: _chunkFIG2RKZFcjs.cn.call(void 0,
36722
36727
  "flex flex-col justify-center shrink-0",
36723
- _optionalChain([meta, 'optionalAccess', _694 => _694.width]) || "flex-1"
36728
+ _optionalChain([meta, 'optionalAccess', _695 => _695.width]) || "flex-1"
36724
36729
  ),
36725
36730
  children: [
36726
36731
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-5 bg-ods-bg-surface rounded-sm w-3/4 mb-[var(--spacing-system-xxs)]" }),
@@ -36769,7 +36774,7 @@ function DataTableRowImpl({
36769
36774
  const handleClick = _react.useCallback.call(void 0,
36770
36775
  (e) => {
36771
36776
  const target = e.target;
36772
- if (!_optionalChain([containerRef, 'access', _695 => _695.current, 'optionalAccess', _696 => _696.contains, 'call', _697 => _697(target)])) {
36777
+ if (!_optionalChain([containerRef, 'access', _696 => _696.current, 'optionalAccess', _697 => _697.contains, 'call', _698 => _698(target)])) {
36773
36778
  if (isLinkMode) e.preventDefault();
36774
36779
  return;
36775
36780
  }
@@ -36777,7 +36782,7 @@ function DataTableRowImpl({
36777
36782
  if (isLinkMode) e.preventDefault();
36778
36783
  return;
36779
36784
  }
36780
- _optionalChain([onClick, 'optionalCall', _698 => _698(row.original)]);
36785
+ _optionalChain([onClick, 'optionalCall', _699 => _699(row.original)]);
36781
36786
  },
36782
36787
  [onClick, row.original, isLinkMode]
36783
36788
  );
@@ -36802,10 +36807,10 @@ function DataTableRowImpl({
36802
36807
  {
36803
36808
  className: _chunkFIG2RKZFcjs.cn.call(void 0,
36804
36809
  "flex flex-col overflow-hidden",
36805
- alignJustify(_optionalChain([meta, 'optionalAccess', _699 => _699.align])),
36806
- _optionalChain([meta, 'optionalAccess', _700 => _700.width]) || "flex-1 min-w-0",
36807
- _optionalChain([meta, 'optionalAccess', _701 => _701.cellClassName]),
36808
- getHideClasses2(_optionalChain([meta, 'optionalAccess', _702 => _702.hideAt]))
36810
+ alignJustify(_optionalChain([meta, 'optionalAccess', _700 => _700.align])),
36811
+ _optionalChain([meta, 'optionalAccess', _701 => _701.width]) || "flex-1 min-w-0",
36812
+ _optionalChain([meta, 'optionalAccess', _702 => _702.cellClassName]),
36813
+ getHideClasses2(_optionalChain([meta, 'optionalAccess', _703 => _703.hideAt]))
36809
36814
  ),
36810
36815
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CellContent, { children: _reacttable.flexRender.call(void 0, cell.column.columnDef.cell, cell.getContext()) })
36811
36816
  },
@@ -36884,7 +36889,7 @@ function DataTableBody({
36884
36889
  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: [
36885
36890
  rows.map((row, index) => {
36886
36891
  const item = row.original;
36887
- const href = _nullishCoalesce(_optionalChain([rowHref, 'optionalCall', _703 => _703(item)]), () => ( void 0));
36892
+ const href = _nullishCoalesce(_optionalChain([rowHref, 'optionalCall', _704 => _704(item)]), () => ( void 0));
36888
36893
  const cls = typeof rowClassName === "function" ? rowClassName(item, index) : rowClassName;
36889
36894
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
36890
36895
  DataTableRow,
@@ -36894,7 +36899,7 @@ function DataTableBody({
36894
36899
  href,
36895
36900
  compact,
36896
36901
  className: cls,
36897
- subRow: _optionalChain([renderSubRow, 'optionalCall', _704 => _704(item)])
36902
+ subRow: _optionalChain([renderSubRow, 'optionalCall', _705 => _705(item)])
36898
36903
  },
36899
36904
  row.id
36900
36905
  );
@@ -36949,7 +36954,7 @@ function DataTableInfiniteFooter({
36949
36954
  if (!sentinel) return;
36950
36955
  const observer = new IntersectionObserver(
36951
36956
  (entries) => {
36952
- if (_optionalChain([entries, 'access', _705 => _705[0], 'optionalAccess', _706 => _706.isIntersecting])) onLoadMoreRef.current();
36957
+ if (_optionalChain([entries, 'access', _706 => _706[0], 'optionalAccess', _707 => _707.isIntersecting])) onLoadMoreRef.current();
36953
36958
  },
36954
36959
  { rootMargin }
36955
36960
  );
@@ -36997,7 +37002,7 @@ function DataTableRowCount({
36997
37002
  const table = useDataTableContext();
36998
37003
  const count = _nullishCoalesce(totalCount, () => ( table.getRowModel().rows.length));
36999
37004
  if (hideWhenEmpty && count === 0) return null;
37000
- const label = _nullishCoalesce(_optionalChain([pluralize, 'optionalCall', _707 => _707(count, itemName)]), () => ( (count === 1 ? itemName : `${itemName}s`)));
37005
+ const label = _nullishCoalesce(_optionalChain([pluralize, 'optionalCall', _708 => _708(count, itemName)]), () => ( (count === 1 ? itemName : `${itemName}s`)));
37001
37006
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
37002
37007
  "span",
37003
37008
  {
@@ -37156,7 +37161,7 @@ function SearchInput({
37156
37161
  if (!showHiddenTags) return;
37157
37162
  const handleClick = (e) => {
37158
37163
  const target = e.target;
37159
- if (!_optionalChain([hiddenTagsRef, 'access', _708 => _708.current, 'optionalAccess', _709 => _709.contains, 'call', _710 => _710(target)]) && !_optionalChain([hiddenTagsPopupRef, 'access', _711 => _711.current, 'optionalAccess', _712 => _712.contains, 'call', _713 => _713(target)])) {
37164
+ if (!_optionalChain([hiddenTagsRef, 'access', _709 => _709.current, 'optionalAccess', _710 => _710.contains, 'call', _711 => _711(target)]) && !_optionalChain([hiddenTagsPopupRef, 'access', _712 => _712.current, 'optionalAccess', _713 => _713.contains, 'call', _714 => _714(target)])) {
37160
37165
  setShowHiddenTags(false);
37161
37166
  }
37162
37167
  };
@@ -37204,10 +37209,10 @@ function SearchInput({
37204
37209
  } else {
37205
37210
  setInternalValue("");
37206
37211
  }
37207
- _optionalChain([inputRef, 'access', _714 => _714.current, 'optionalAccess', _715 => _715.focus, 'call', _716 => _716()]);
37212
+ _optionalChain([inputRef, 'access', _715 => _715.current, 'optionalAccess', _716 => _716.focus, 'call', _717 => _717()]);
37208
37213
  };
37209
37214
  const handleResultClick = (result, e) => {
37210
- _optionalChain([onResultSelect, 'optionalCall', _717 => _717(
37215
+ _optionalChain([onResultSelect, 'optionalCall', _718 => _718(
37211
37216
  result,
37212
37217
  e ? {
37213
37218
  metaKey: e.metaKey,
@@ -37239,7 +37244,7 @@ function SearchInput({
37239
37244
  if (highlightedIndex >= 0 && flatResults[highlightedIndex]) {
37240
37245
  handleResultClick(flatResults[highlightedIndex]);
37241
37246
  } else {
37242
- _optionalChain([onSubmit, 'optionalCall', _718 => _718(currentValue)]);
37247
+ _optionalChain([onSubmit, 'optionalCall', _719 => _719(currentValue)]);
37243
37248
  }
37244
37249
  break;
37245
37250
  case "Escape":
@@ -37317,7 +37322,7 @@ function SearchInput({
37317
37322
  dropdownVisible && "!border-ods-accent"
37318
37323
  ),
37319
37324
  onClick: () => {
37320
- _optionalChain([inputRef, 'access', _719 => _719.current, 'optionalAccess', _720 => _720.focus, 'call', _721 => _721()]);
37325
+ _optionalChain([inputRef, 'access', _720 => _720.current, 'optionalAccess', _721 => _721.focus, 'call', _722 => _722()]);
37321
37326
  setIsOpen(true);
37322
37327
  },
37323
37328
  children: [
@@ -37401,10 +37406,10 @@ function SearchInput({
37401
37406
  align: "start",
37402
37407
  onOpenAutoFocus: (e) => {
37403
37408
  e.preventDefault();
37404
- _optionalChain([inputRef, 'access', _722 => _722.current, 'optionalAccess', _723 => _723.focus, 'call', _724 => _724()]);
37409
+ _optionalChain([inputRef, 'access', _723 => _723.current, 'optionalAccess', _724 => _724.focus, 'call', _725 => _725()]);
37405
37410
  },
37406
37411
  onInteractOutside: (e) => {
37407
- if (_optionalChain([containerRef, 'access', _725 => _725.current, 'optionalAccess', _726 => _726.contains, 'call', _727 => _727(e.target)])) {
37412
+ if (_optionalChain([containerRef, 'access', _726 => _726.current, 'optionalAccess', _727 => _727.contains, 'call', _728 => _728(e.target)])) {
37408
37413
  e.preventDefault();
37409
37414
  }
37410
37415
  },
@@ -37421,10 +37426,10 @@ function SearchInput({
37421
37426
  ref: hiddenTagsPopupRef,
37422
37427
  items: hiddenChips.map((chip) => ({ label: chip.label, value: chip.id })),
37423
37428
  style: {
37424
- left: badgeRef.current ? badgeRef.current.getBoundingClientRect().left - (_nullishCoalesce(_optionalChain([containerRef, 'access', _728 => _728.current, 'optionalAccess', _729 => _729.getBoundingClientRect, 'call', _730 => _730(), 'access', _731 => _731.left]), () => ( 0))) : 0
37429
+ left: badgeRef.current ? badgeRef.current.getBoundingClientRect().left - (_nullishCoalesce(_optionalChain([containerRef, 'access', _729 => _729.current, 'optionalAccess', _730 => _730.getBoundingClientRect, 'call', _731 => _731(), 'access', _732 => _732.left]), () => ( 0))) : 0
37425
37430
  },
37426
37431
  onRemove: (value2) => {
37427
- _optionalChain([onFilterRemove, 'optionalCall', _732 => _732(value2)]);
37432
+ _optionalChain([onFilterRemove, 'optionalCall', _733 => _733(value2)]);
37428
37433
  if (hiddenCount <= 1) setShowHiddenTags(false);
37429
37434
  }
37430
37435
  }
@@ -37475,7 +37480,7 @@ function FilterListItem({
37475
37480
  }) {
37476
37481
  const handleToggle = () => {
37477
37482
  if (disabled) return;
37478
- _optionalChain([onToggle, 'optionalCall', _733 => _733(!selected)]);
37483
+ _optionalChain([onToggle, 'optionalCall', _734 => _734(!selected)]);
37479
37484
  };
37480
37485
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
37481
37486
  "div",
@@ -37522,7 +37527,7 @@ function FilterListItem({
37522
37527
  CheckboxPrimitive4.Root,
37523
37528
  {
37524
37529
  checked: selected,
37525
- onCheckedChange: (c) => _optionalChain([onToggle, 'optionalCall', _734 => _734(c === true)]),
37530
+ onCheckedChange: (c) => _optionalChain([onToggle, 'optionalCall', _735 => _735(c === true)]),
37526
37531
  onClick: (e) => e.stopPropagation(),
37527
37532
  disabled,
37528
37533
  "aria-label": title,
@@ -37621,7 +37626,7 @@ function TagSearchInput({
37621
37626
  if (!showHiddenTags) return;
37622
37627
  const handleClick = (e) => {
37623
37628
  const target = e.target;
37624
- if (!_optionalChain([hiddenTagsRef, 'access', _735 => _735.current, 'optionalAccess', _736 => _736.contains, 'call', _737 => _737(target)]) && !_optionalChain([hiddenTagsPopupRef, 'access', _738 => _738.current, 'optionalAccess', _739 => _739.contains, 'call', _740 => _740(target)])) {
37629
+ if (!_optionalChain([hiddenTagsRef, 'access', _736 => _736.current, 'optionalAccess', _737 => _737.contains, 'call', _738 => _738(target)]) && !_optionalChain([hiddenTagsPopupRef, 'access', _739 => _739.current, 'optionalAccess', _740 => _740.contains, 'call', _741 => _741(target)])) {
37625
37630
  setShowHiddenTags(false);
37626
37631
  }
37627
37632
  };
@@ -37637,13 +37642,13 @@ function TagSearchInput({
37637
37642
  e.preventDefault();
37638
37643
  onSubmit(searchValue);
37639
37644
  }
37640
- _optionalChain([onKeyDown, 'optionalCall', _741 => _741(e)]);
37645
+ _optionalChain([onKeyDown, 'optionalCall', _742 => _742(e)]);
37641
37646
  };
37642
37647
  const handleClearAll = (e) => {
37643
37648
  e.stopPropagation();
37644
37649
  e.preventDefault();
37645
- _optionalChain([onClearAll, 'optionalCall', _742 => _742()]);
37646
- _optionalChain([inputRef, 'access', _743 => _743.current, 'optionalAccess', _744 => _744.focus, 'call', _745 => _745()]);
37650
+ _optionalChain([onClearAll, 'optionalCall', _743 => _743()]);
37651
+ _optionalChain([inputRef, 'access', _744 => _744.current, 'optionalAccess', _745 => _745.focus, 'call', _746 => _746()]);
37647
37652
  };
37648
37653
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { ref: wrapperRef, className: "relative", children: [
37649
37654
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
@@ -37660,7 +37665,7 @@ function TagSearchInput({
37660
37665
  className
37661
37666
  ),
37662
37667
  onClick: () => {
37663
- if (!disabled) _optionalChain([inputRef, 'access', _746 => _746.current, 'optionalAccess', _747 => _747.focus, 'call', _748 => _748()]);
37668
+ if (!disabled) _optionalChain([inputRef, 'access', _747 => _747.current, 'optionalAccess', _748 => _748.focus, 'call', _749 => _749()]);
37664
37669
  },
37665
37670
  children: [
37666
37671
  /* @__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" }) }),
@@ -37732,7 +37737,7 @@ function TagSearchInput({
37732
37737
  items: hiddenTags,
37733
37738
  disabled,
37734
37739
  style: {
37735
- left: badgeRef.current ? badgeRef.current.getBoundingClientRect().left - (_nullishCoalesce(_optionalChain([wrapperRef, 'access', _749 => _749.current, 'optionalAccess', _750 => _750.getBoundingClientRect, 'call', _751 => _751(), 'access', _752 => _752.left]), () => ( 0))) : 0
37740
+ left: badgeRef.current ? badgeRef.current.getBoundingClientRect().left - (_nullishCoalesce(_optionalChain([wrapperRef, 'access', _750 => _750.current, 'optionalAccess', _751 => _751.getBoundingClientRect, 'call', _752 => _752(), 'access', _753 => _753.left]), () => ( 0))) : 0
37736
37741
  },
37737
37742
  onRemove: (value) => {
37738
37743
  onTagRemove(value);
@@ -37833,7 +37838,7 @@ function MarkdownEditor({
37833
37838
  const [defaultExtraCommands, setDefaultExtraCommands] = _react.useState.call(void 0, []);
37834
37839
  _react.useEffect.call(void 0, () => {
37835
37840
  Promise.resolve().then(() => _interopRequireWildcard(require("@uiw/react-md-editor"))).then((mod) => {
37836
- if (_optionalChain([mod, 'access', _753 => _753.commands, 'optionalAccess', _754 => _754.getExtraCommands])) {
37841
+ if (_optionalChain([mod, 'access', _754 => _754.commands, 'optionalAccess', _755 => _755.getExtraCommands])) {
37837
37842
  setDefaultExtraCommands(mod.commands.getExtraCommands());
37838
37843
  }
37839
37844
  });
@@ -37867,7 +37872,7 @@ function MarkdownEditor({
37867
37872
  const isImage = file.type.startsWith("image/");
37868
37873
  const markdown = isImage ? `![${file.name}](${url})` : `[${file.name}](${url})`;
37869
37874
  insertTextAtCursor(markdown);
37870
- _optionalChain([onFileUploaded, 'optionalCall', _755 => _755(url, file.name)]);
37875
+ _optionalChain([onFileUploaded, 'optionalCall', _756 => _756(url, file.name)]);
37871
37876
  } catch (error) {
37872
37877
  console.error("File upload failed:", error);
37873
37878
  setUploadProgress("Upload failed. Please try again.");
@@ -37880,7 +37885,7 @@ function MarkdownEditor({
37880
37885
  );
37881
37886
  const handleFileInputChange = _react.useCallback.call(void 0,
37882
37887
  (e) => {
37883
- const file = _optionalChain([e, 'access', _756 => _756.target, 'access', _757 => _757.files, 'optionalAccess', _758 => _758[0]]);
37888
+ const file = _optionalChain([e, 'access', _757 => _757.target, 'access', _758 => _758.files, 'optionalAccess', _759 => _759[0]]);
37884
37889
  if (file) {
37885
37890
  handleFileUpload(file);
37886
37891
  e.target.value = "";
@@ -37891,7 +37896,7 @@ function MarkdownEditor({
37891
37896
  const handlePaste = _react.useCallback.call(void 0,
37892
37897
  (e) => {
37893
37898
  if (!onUploadFile) return;
37894
- const items = _optionalChain([e, 'access', _759 => _759.clipboardData, 'optionalAccess', _760 => _760.items]);
37899
+ const items = _optionalChain([e, 'access', _760 => _760.clipboardData, 'optionalAccess', _761 => _761.items]);
37895
37900
  if (!items) return;
37896
37901
  for (const item of items) {
37897
37902
  if (item.type.startsWith("image/")) {
@@ -37916,7 +37921,7 @@ function MarkdownEditor({
37916
37921
  buttonProps: { "aria-label": "Upload file", title: "Upload file" },
37917
37922
  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" }),
37918
37923
  execute: () => {
37919
- _optionalChain([fileInputRef, 'access', _761 => _761.current, 'optionalAccess', _762 => _762.click, 'call', _763 => _763()]);
37924
+ _optionalChain([fileInputRef, 'access', _762 => _762.current, 'optionalAccess', _763 => _763.click, 'call', _764 => _764()]);
37920
37925
  }
37921
37926
  } : null;
37922
37927
  const extraCommands = uploadCommand ? [...defaultExtraCommands, uploadCommand] : defaultExtraCommands;
@@ -37928,7 +37933,7 @@ function MarkdownEditor({
37928
37933
  const EDGE_ZONE = 60;
37929
37934
  const MAX_SCROLL_SPEED = 15;
37930
37935
  const findScrollParent = _react.useCallback.call(void 0, (el) => {
37931
- let node = _optionalChain([el, 'optionalAccess', _764 => _764.parentElement]);
37936
+ let node = _optionalChain([el, 'optionalAccess', _765 => _765.parentElement]);
37932
37937
  while (node && node !== document.documentElement) {
37933
37938
  const { overflowY } = window.getComputedStyle(node);
37934
37939
  if ((overflowY === "auto" || overflowY === "scroll") && node.scrollHeight > node.clientHeight) {
@@ -38071,7 +38076,7 @@ function matchesAccept(file, accept) {
38071
38076
  });
38072
38077
  }
38073
38078
  function dragHasFiles(e) {
38074
- const types = _optionalChain([e, 'access', _765 => _765.dataTransfer, 'optionalAccess', _766 => _766.types]);
38079
+ const types = _optionalChain([e, 'access', _766 => _766.dataTransfer, 'optionalAccess', _767 => _767.types]);
38075
38080
  if (!types) return false;
38076
38081
  for (let i = 0; i < types.length; i++) {
38077
38082
  if (types[i] === "Files") return true;
@@ -38167,7 +38172,7 @@ function FileUpload({
38167
38172
  e.stopPropagation();
38168
38173
  setDragActive(false);
38169
38174
  if (disabled) return;
38170
- if (_optionalChain([e, 'access', _767 => _767.dataTransfer, 'access', _768 => _768.files, 'optionalAccess', _769 => _769.length])) {
38175
+ if (_optionalChain([e, 'access', _768 => _768.dataTransfer, 'access', _769 => _769.files, 'optionalAccess', _770 => _770.length])) {
38171
38176
  handleFiles(e.dataTransfer.files);
38172
38177
  }
38173
38178
  };
@@ -38195,7 +38200,7 @@ function FileUpload({
38195
38200
  e.preventDefault();
38196
38201
  dragCounter = 0;
38197
38202
  setDragActive(false);
38198
- if (_optionalChain([e, 'access', _770 => _770.dataTransfer, 'optionalAccess', _771 => _771.files, 'optionalAccess', _772 => _772.length])) {
38203
+ if (_optionalChain([e, 'access', _771 => _771.dataTransfer, 'optionalAccess', _772 => _772.files, 'optionalAccess', _773 => _773.length])) {
38199
38204
  handleFilesRef.current(e.dataTransfer.files);
38200
38205
  }
38201
38206
  };
@@ -38217,7 +38222,7 @@ function FileUpload({
38217
38222
  };
38218
38223
  }, [acceptWindowDrops, disabled]);
38219
38224
  const handleFileSelect = (e) => {
38220
- if (_optionalChain([e, 'access', _773 => _773.target, 'access', _774 => _774.files, 'optionalAccess', _775 => _775.length])) {
38225
+ if (_optionalChain([e, 'access', _774 => _774.target, 'access', _775 => _775.files, 'optionalAccess', _776 => _776.length])) {
38221
38226
  handleFiles(e.target.files);
38222
38227
  }
38223
38228
  };
@@ -38234,7 +38239,7 @@ function FileUpload({
38234
38239
  };
38235
38240
  const openDialog = async () => {
38236
38241
  if (disabled) return;
38237
- _optionalChain([fileInputRef, 'access', _776 => _776.current, 'optionalAccess', _777 => _777.click, 'call', _778 => _778()]);
38242
+ _optionalChain([fileInputRef, 'access', _777 => _777.current, 'optionalAccess', _778 => _778.click, 'call', _779 => _779()]);
38238
38243
  };
38239
38244
  const displayError = error || validationError || void 0;
38240
38245
  const hasFiles = isManaged ? managedFiles.length > 0 : files.length > 0;
@@ -38296,7 +38301,7 @@ function FileUpload({
38296
38301
  "button",
38297
38302
  {
38298
38303
  type: "button",
38299
- onClick: () => _optionalChain([onRemoveManagedFile, 'optionalCall', _779 => _779(entry.id)]),
38304
+ onClick: () => _optionalChain([onRemoveManagedFile, 'optionalCall', _780 => _780(entry.id)]),
38300
38305
  className: "shrink-0 text-ods-error hover:opacity-80 transition-opacity",
38301
38306
  "aria-label": `Remove ${entry.fileName}`,
38302
38307
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.TrashIcon, { className: "size-6" })
@@ -38427,7 +38432,7 @@ function ImageUploader({
38427
38432
  onChange(file);
38428
38433
  };
38429
38434
  const handleFileSelect = (e) => {
38430
- validateAndEmit(_optionalChain([e, 'access', _780 => _780.target, 'access', _781 => _781.files, 'optionalAccess', _782 => _782[0]]));
38435
+ validateAndEmit(_optionalChain([e, 'access', _781 => _781.target, 'access', _782 => _782.files, 'optionalAccess', _783 => _783[0]]));
38431
38436
  if (inputRef.current) inputRef.current.value = "";
38432
38437
  };
38433
38438
  const handleDrag = (e) => {
@@ -38442,11 +38447,11 @@ function ImageUploader({
38442
38447
  e.stopPropagation();
38443
38448
  setDragActive(false);
38444
38449
  if (!interactive) return;
38445
- validateAndEmit(_optionalChain([e, 'access', _783 => _783.dataTransfer, 'access', _784 => _784.files, 'optionalAccess', _785 => _785[0]]));
38450
+ validateAndEmit(_optionalChain([e, 'access', _784 => _784.dataTransfer, 'access', _785 => _785.files, 'optionalAccess', _786 => _786[0]]));
38446
38451
  };
38447
38452
  const openDialog = () => {
38448
38453
  if (!interactive) return;
38449
- _optionalChain([inputRef, 'access', _786 => _786.current, 'optionalAccess', _787 => _787.click, 'call', _788 => _788()]);
38454
+ _optionalChain([inputRef, 'access', _787 => _787.current, 'optionalAccess', _788 => _788.click, 'call', _789 => _789()]);
38450
38455
  };
38451
38456
  const handleRootKeyDown = (e) => {
38452
38457
  if (hasImage || !interactive) return;
@@ -38637,8 +38642,8 @@ function ColorPresetSelect({
38637
38642
  }) {
38638
38643
  const selectedPreset = presets.find((p) => p.key === presetKey);
38639
38644
  const isCustom = !selectedPreset;
38640
- const displayLabel = _nullishCoalesce(_optionalChain([selectedPreset, 'optionalAccess', _789 => _789.label]), () => ( "Custom"));
38641
- const displayColor = _nullishCoalesce(_optionalChain([selectedPreset, 'optionalAccess', _790 => _790.color]), () => ( value));
38645
+ const displayLabel = _nullishCoalesce(_optionalChain([selectedPreset, 'optionalAccess', _790 => _790.label]), () => ( "Custom"));
38646
+ const displayColor = _nullishCoalesce(_optionalChain([selectedPreset, 'optionalAccess', _791 => _791.color]), () => ( value));
38642
38647
  const groups = [
38643
38648
  {
38644
38649
  items: [
@@ -38928,7 +38933,7 @@ function TicketStatusConfigRow({
38928
38933
  _chunkQJGRP2YEcjs.Input,
38929
38934
  {
38930
38935
  value: name,
38931
- onChange: (e) => _optionalChain([onNameChange, 'optionalCall', _791 => _791(e.target.value)]),
38936
+ onChange: (e) => _optionalChain([onNameChange, 'optionalCall', _792 => _792(e.target.value)]),
38932
38937
  disabled: isSystem,
38933
38938
  readOnly: isSystem,
38934
38939
  "aria-label": "Status name",
@@ -39301,14 +39306,14 @@ function TicketInfoSection({
39301
39306
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
39302
39307
  SquareAvatar,
39303
39308
  {
39304
- src: _optionalChain([organization, 'optionalAccess', _792 => _792.imageSrc]),
39305
- alt: _optionalChain([organization, 'optionalAccess', _793 => _793.name]),
39306
- fallback: _optionalChain([organization, 'optionalAccess', _794 => _794.name]) || "Org",
39309
+ src: _optionalChain([organization, 'optionalAccess', _793 => _793.imageSrc]),
39310
+ alt: _optionalChain([organization, 'optionalAccess', _794 => _794.name]),
39311
+ fallback: _optionalChain([organization, 'optionalAccess', _795 => _795.name]) || "Org",
39307
39312
  size: "md",
39308
39313
  className: "shrink-0"
39309
39314
  }
39310
39315
  ),
39311
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, InfoCell2, { value: _optionalChain([organization, 'optionalAccess', _795 => _795.name]) || "Unassigned", label: "Organization" })
39316
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, InfoCell2, { value: _optionalChain([organization, 'optionalAccess', _796 => _796.name]) || "Unassigned", label: "Organization" })
39312
39317
  ] }),
39313
39318
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: assigned ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
39314
39319
  AssigneeDropdown,
@@ -39329,10 +39334,10 @@ function TicketInfoSection({
39329
39334
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
39330
39335
  InfoCell2,
39331
39336
  {
39332
- value: _optionalChain([device, 'optionalAccess', _796 => _796.name]) || "Unassigned",
39337
+ value: _optionalChain([device, 'optionalAccess', _797 => _797.name]) || "Unassigned",
39333
39338
  label: "Device",
39334
- icon: _optionalChain([device, 'optionalAccess', _797 => _797.icon]),
39335
- onClick: _optionalChain([device, 'optionalAccess', _798 => _798.onClick])
39339
+ icon: _optionalChain([device, 'optionalAccess', _798 => _798.icon]),
39340
+ onClick: _optionalChain([device, 'optionalAccess', _799 => _799.onClick])
39336
39341
  }
39337
39342
  ),
39338
39343
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-4 min-w-0", children: [
@@ -39662,7 +39667,7 @@ function RoadmapCard({
39662
39667
  const compactHref = safeHref(_nullishCoalesce(href, () => ( null)));
39663
39668
  const hasVotes = (_nullishCoalesce(item.upvotes, () => ( 0))) > 0 || (_nullishCoalesce(item.downvotes, () => ( 0))) > 0;
39664
39669
  const hasFigma = !!item.figmaUrl;
39665
- const hasScreenshots = (_nullishCoalesce(_optionalChain([item, 'access', _799 => _799.screenshots, 'optionalAccess', _800 => _800.length]), () => ( 0))) > 0;
39670
+ const hasScreenshots = (_nullishCoalesce(_optionalChain([item, 'access', _800 => _800.screenshots, 'optionalAccess', _801 => _801.length]), () => ( 0))) > 0;
39666
39671
  const typeLabel = getTaskTypeLabel(item.customItemId);
39667
39672
  const useTypeIcon = cardType === "internal_task" || !iconSrc && item.customItemId != null;
39668
39673
  const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
@@ -39681,7 +39686,7 @@ function RoadmapCard({
39681
39686
  unoptimized: true,
39682
39687
  className: "h-8 w-8 object-contain"
39683
39688
  }
39684
- ) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-[10px] font-medium uppercase text-ods-text-secondary", children: _optionalChain([item, 'access', _801 => _801.title, 'optionalAccess', _802 => _802.substring, 'call', _803 => _803(0, 2)]) || "??" })
39689
+ ) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-[10px] font-medium uppercase text-ods-text-secondary", children: _optionalChain([item, 'access', _802 => _802.title, 'optionalAccess', _803 => _803.substring, 'call', _804 => _804(0, 2)]) || "??" })
39685
39690
  }
39686
39691
  ),
39687
39692
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: COMPACT_CARD_TEXT_COL, children: [
@@ -39756,7 +39761,7 @@ function RoadmapCard({
39756
39761
  unoptimized: true,
39757
39762
  className: "object-contain p-1"
39758
39763
  }
39759
- ) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-xs font-medium uppercase text-ods-text-secondary", children: _optionalChain([item, 'access', _804 => _804.title, 'optionalAccess', _805 => _805.substring, 'call', _806 => _806(0, 2)]) || "??" }) }),
39764
+ ) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-xs font-medium uppercase text-ods-text-secondary", children: _optionalChain([item, 'access', _805 => _805.title, 'optionalAccess', _806 => _806.substring, 'call', _807 => _807(0, 2)]) || "??" }) }),
39760
39765
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-1 min-w-0 flex flex-col", children: [
39761
39766
  /* @__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 }) }),
39762
39767
  /* @__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: [
@@ -40266,7 +40271,7 @@ function DataRoomDocCard({ item, className, badgeText, anchorProps }) {
40266
40271
  ] }) : null,
40267
40272
  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
40268
40273
  ] }),
40269
- _optionalChain([anchorProps, 'optionalAccess', _807 => _807.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
40274
+ _optionalChain([anchorProps, 'optionalAccess', _808 => _808.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
40270
40275
  ] });
40271
40276
  if (!anchorProps) {
40272
40277
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
@@ -40336,7 +40341,7 @@ function getDefaultOptions() {
40336
40341
  // node_modules/date-fns/startOfWeek.mjs
40337
40342
  function startOfWeek(date, options) {
40338
40343
  const defaultOptions2 = getDefaultOptions();
40339
- const weekStartsOn = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _808 => _808.weekStartsOn]), () => ( _optionalChain([options, 'optionalAccess', _809 => _809.locale, 'optionalAccess', _810 => _810.options, 'optionalAccess', _811 => _811.weekStartsOn]))), () => ( defaultOptions2.weekStartsOn)), () => ( _optionalChain([defaultOptions2, 'access', _812 => _812.locale, 'optionalAccess', _813 => _813.options, 'optionalAccess', _814 => _814.weekStartsOn]))), () => ( 0));
40344
+ const weekStartsOn = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _809 => _809.weekStartsOn]), () => ( _optionalChain([options, 'optionalAccess', _810 => _810.locale, 'optionalAccess', _811 => _811.options, 'optionalAccess', _812 => _812.weekStartsOn]))), () => ( defaultOptions2.weekStartsOn)), () => ( _optionalChain([defaultOptions2, 'access', _813 => _813.locale, 'optionalAccess', _814 => _814.options, 'optionalAccess', _815 => _815.weekStartsOn]))), () => ( 0));
40340
40345
  const _date = toDate(date);
40341
40346
  const day = _date.getDay();
40342
40347
  const diff = (day < weekStartsOn ? 7 : 0) + day - weekStartsOn;
@@ -40511,7 +40516,7 @@ var formatDistance = (token, count, options) => {
40511
40516
  } else {
40512
40517
  result = tokenValue.other.replace("{{count}}", count.toString());
40513
40518
  }
40514
- if (_optionalChain([options, 'optionalAccess', _815 => _815.addSuffix])) {
40519
+ if (_optionalChain([options, 'optionalAccess', _816 => _816.addSuffix])) {
40515
40520
  if (options.comparison && options.comparison > 0) {
40516
40521
  return "in " + result;
40517
40522
  } else {
@@ -40578,15 +40583,15 @@ var formatRelative = (token, _date, _baseDate, _options) => formatRelativeLocale
40578
40583
  // node_modules/date-fns/locale/_lib/buildLocalizeFn.mjs
40579
40584
  function buildLocalizeFn(args) {
40580
40585
  return (value, options) => {
40581
- const context = _optionalChain([options, 'optionalAccess', _816 => _816.context]) ? String(options.context) : "standalone";
40586
+ const context = _optionalChain([options, 'optionalAccess', _817 => _817.context]) ? String(options.context) : "standalone";
40582
40587
  let valuesArray;
40583
40588
  if (context === "formatting" && args.formattingValues) {
40584
40589
  const defaultWidth = args.defaultFormattingWidth || args.defaultWidth;
40585
- const width = _optionalChain([options, 'optionalAccess', _817 => _817.width]) ? String(options.width) : defaultWidth;
40590
+ const width = _optionalChain([options, 'optionalAccess', _818 => _818.width]) ? String(options.width) : defaultWidth;
40586
40591
  valuesArray = args.formattingValues[width] || args.formattingValues[defaultWidth];
40587
40592
  } else {
40588
40593
  const defaultWidth = args.defaultWidth;
40589
- const width = _optionalChain([options, 'optionalAccess', _818 => _818.width]) ? String(options.width) : args.defaultWidth;
40594
+ const width = _optionalChain([options, 'optionalAccess', _819 => _819.width]) ? String(options.width) : args.defaultWidth;
40590
40595
  valuesArray = args.values[width] || args.values[defaultWidth];
40591
40596
  }
40592
40597
  const index = args.argumentCallback ? args.argumentCallback(value) : value;
@@ -40966,7 +40971,7 @@ function getWeekYear(date, options) {
40966
40971
  const _date = toDate(date);
40967
40972
  const year = _date.getFullYear();
40968
40973
  const defaultOptions2 = getDefaultOptions();
40969
- const firstWeekContainsDate = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _819 => _819.firstWeekContainsDate]), () => ( _optionalChain([options, 'optionalAccess', _820 => _820.locale, 'optionalAccess', _821 => _821.options, 'optionalAccess', _822 => _822.firstWeekContainsDate]))), () => ( defaultOptions2.firstWeekContainsDate)), () => ( _optionalChain([defaultOptions2, 'access', _823 => _823.locale, 'optionalAccess', _824 => _824.options, 'optionalAccess', _825 => _825.firstWeekContainsDate]))), () => ( 1));
40974
+ const firstWeekContainsDate = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _820 => _820.firstWeekContainsDate]), () => ( _optionalChain([options, 'optionalAccess', _821 => _821.locale, 'optionalAccess', _822 => _822.options, 'optionalAccess', _823 => _823.firstWeekContainsDate]))), () => ( defaultOptions2.firstWeekContainsDate)), () => ( _optionalChain([defaultOptions2, 'access', _824 => _824.locale, 'optionalAccess', _825 => _825.options, 'optionalAccess', _826 => _826.firstWeekContainsDate]))), () => ( 1));
40970
40975
  const firstWeekOfNextYear = constructFrom(date, 0);
40971
40976
  firstWeekOfNextYear.setFullYear(year + 1, 0, firstWeekContainsDate);
40972
40977
  firstWeekOfNextYear.setHours(0, 0, 0, 0);
@@ -40987,7 +40992,7 @@ function getWeekYear(date, options) {
40987
40992
  // node_modules/date-fns/startOfWeekYear.mjs
40988
40993
  function startOfWeekYear(date, options) {
40989
40994
  const defaultOptions2 = getDefaultOptions();
40990
- const firstWeekContainsDate = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _826 => _826.firstWeekContainsDate]), () => ( _optionalChain([options, 'optionalAccess', _827 => _827.locale, 'optionalAccess', _828 => _828.options, 'optionalAccess', _829 => _829.firstWeekContainsDate]))), () => ( defaultOptions2.firstWeekContainsDate)), () => ( _optionalChain([defaultOptions2, 'access', _830 => _830.locale, 'optionalAccess', _831 => _831.options, 'optionalAccess', _832 => _832.firstWeekContainsDate]))), () => ( 1));
40995
+ const firstWeekContainsDate = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _827 => _827.firstWeekContainsDate]), () => ( _optionalChain([options, 'optionalAccess', _828 => _828.locale, 'optionalAccess', _829 => _829.options, 'optionalAccess', _830 => _830.firstWeekContainsDate]))), () => ( defaultOptions2.firstWeekContainsDate)), () => ( _optionalChain([defaultOptions2, 'access', _831 => _831.locale, 'optionalAccess', _832 => _832.options, 'optionalAccess', _833 => _833.firstWeekContainsDate]))), () => ( 1));
40991
40996
  const year = getWeekYear(date, options);
40992
40997
  const firstWeek = constructFrom(date, 0);
40993
40998
  firstWeek.setFullYear(year, 0, firstWeekContainsDate);
@@ -41802,9 +41807,9 @@ var doubleQuoteRegExp = /''/g;
41802
41807
  var unescapedLatinCharacterRegExp = /[a-zA-Z]/;
41803
41808
  function format(date, formatStr, options) {
41804
41809
  const defaultOptions2 = getDefaultOptions();
41805
- const locale = _nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _833 => _833.locale]), () => ( defaultOptions2.locale)), () => ( enUS));
41806
- const firstWeekContainsDate = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _834 => _834.firstWeekContainsDate]), () => ( _optionalChain([options, 'optionalAccess', _835 => _835.locale, 'optionalAccess', _836 => _836.options, 'optionalAccess', _837 => _837.firstWeekContainsDate]))), () => ( defaultOptions2.firstWeekContainsDate)), () => ( _optionalChain([defaultOptions2, 'access', _838 => _838.locale, 'optionalAccess', _839 => _839.options, 'optionalAccess', _840 => _840.firstWeekContainsDate]))), () => ( 1));
41807
- const weekStartsOn = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _841 => _841.weekStartsOn]), () => ( _optionalChain([options, 'optionalAccess', _842 => _842.locale, 'optionalAccess', _843 => _843.options, 'optionalAccess', _844 => _844.weekStartsOn]))), () => ( defaultOptions2.weekStartsOn)), () => ( _optionalChain([defaultOptions2, 'access', _845 => _845.locale, 'optionalAccess', _846 => _846.options, 'optionalAccess', _847 => _847.weekStartsOn]))), () => ( 0));
41810
+ const locale = _nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _834 => _834.locale]), () => ( defaultOptions2.locale)), () => ( enUS));
41811
+ const firstWeekContainsDate = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _835 => _835.firstWeekContainsDate]), () => ( _optionalChain([options, 'optionalAccess', _836 => _836.locale, 'optionalAccess', _837 => _837.options, 'optionalAccess', _838 => _838.firstWeekContainsDate]))), () => ( defaultOptions2.firstWeekContainsDate)), () => ( _optionalChain([defaultOptions2, 'access', _839 => _839.locale, 'optionalAccess', _840 => _840.options, 'optionalAccess', _841 => _841.firstWeekContainsDate]))), () => ( 1));
41812
+ const weekStartsOn = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _842 => _842.weekStartsOn]), () => ( _optionalChain([options, 'optionalAccess', _843 => _843.locale, 'optionalAccess', _844 => _844.options, 'optionalAccess', _845 => _845.weekStartsOn]))), () => ( defaultOptions2.weekStartsOn)), () => ( _optionalChain([defaultOptions2, 'access', _846 => _846.locale, 'optionalAccess', _847 => _847.options, 'optionalAccess', _848 => _848.weekStartsOn]))), () => ( 0));
41808
41813
  const originalDate = toDate(date);
41809
41814
  if (!isValid(originalDate)) {
41810
41815
  throw new RangeError("Invalid time value");
@@ -41845,7 +41850,7 @@ function format(date, formatStr, options) {
41845
41850
  return parts.map((part) => {
41846
41851
  if (!part.isToken) return part.value;
41847
41852
  const token = part.value;
41848
- if (!_optionalChain([options, 'optionalAccess', _848 => _848.useAdditionalWeekYearTokens]) && isProtectedWeekYearToken(token) || !_optionalChain([options, 'optionalAccess', _849 => _849.useAdditionalDayOfYearTokens]) && isProtectedDayOfYearToken(token)) {
41853
+ if (!_optionalChain([options, 'optionalAccess', _849 => _849.useAdditionalWeekYearTokens]) && isProtectedWeekYearToken(token) || !_optionalChain([options, 'optionalAccess', _850 => _850.useAdditionalDayOfYearTokens]) && isProtectedDayOfYearToken(token)) {
41849
41854
  warnOrThrowProtectedError(token, formatStr, String(date));
41850
41855
  }
41851
41856
  const formatter = formatters[token[0]];
@@ -42026,7 +42031,7 @@ function ProgramCard({
42026
42031
  const dur = formatDurationFromRange(w.start_at, w.end_at);
42027
42032
  typeMeta = dur ? `${time} \xB7 ${dur}` : time;
42028
42033
  }
42029
- const subtitleParts = [itemDate2, typeMeta, _optionalChain([config, 'access', _850 => _850.labels, 'optionalAccess', _851 => _851.singular])].filter(
42034
+ const subtitleParts = [itemDate2, typeMeta, _optionalChain([config, 'access', _851 => _851.labels, 'optionalAccess', _852 => _852.singular])].filter(
42030
42035
  (s) => typeof s === "string" && s.length > 0
42031
42036
  );
42032
42037
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "a", { href, target, rel, className: _chunkFIG2RKZFcjs.cn.call(void 0, COMPACT_CARD_OUTER, className), children: [
@@ -42183,7 +42188,7 @@ function ProgramCard({
42183
42188
 
42184
42189
 
42185
42190
  function CampaignCardAdmin({ campaign, className, anchorProps }) {
42186
- const goalsCount = _optionalChain([campaign, 'access', _852 => _852.goals, 'optionalAccess', _853 => _853.length]) || 0;
42191
+ const goalsCount = _optionalChain([campaign, 'access', _853 => _853.goals, 'optionalAccess', _854 => _854.length]) || 0;
42187
42192
  const innerChildren = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
42188
42193
  /* @__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" }) }),
42189
42194
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: COMPACT_CARD_TEXT_COL, children: [
@@ -42345,7 +42350,7 @@ function resolveSourceRowCTA(row, ctx = {}) {
42345
42350
  if (row.path && shouldFallbackToPathNav(row) && !row.externalUrl) {
42346
42351
  const safePath = sanitizePath(row.path);
42347
42352
  if (safePath) {
42348
- const docTarget = row.documentType ? _optionalChain([ctx, 'access', _854 => _854.docPlatformTargets, 'optionalAccess', _855 => _855[row.documentType]]) : void 0;
42353
+ const docTarget = row.documentType ? _optionalChain([ctx, 'access', _855 => _855.docPlatformTargets, 'optionalAccess', _856 => _856[row.documentType]]) : void 0;
42349
42354
  if (docTarget) {
42350
42355
  const seg = docTarget.basePath.split("/").filter(Boolean).join("/");
42351
42356
  const base = `${_chunkFIG2RKZFcjs.getBaseUrl.call(void 0, docTarget.platform)}${seg ? `/${seg}` : ""}/`;
@@ -42560,8 +42565,8 @@ function cardMenuGroups(href, discuss, openDetails) {
42560
42565
  if (href) {
42561
42566
  items.push({
42562
42567
  id: "open-details",
42563
- label: _nullishCoalesce(_optionalChain([openDetails, 'optionalAccess', _856 => _856.label]), () => ( "Open Details")),
42564
- icon: _nullishCoalesce(_optionalChain([openDetails, 'optionalAccess', _857 => _857.icon]), () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.EyeIcon, { size: 20 }))),
42568
+ label: _nullishCoalesce(_optionalChain([openDetails, 'optionalAccess', _857 => _857.label]), () => ( "Open Details")),
42569
+ icon: _nullishCoalesce(_optionalChain([openDetails, 'optionalAccess', _858 => _858.icon]), () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.EyeIcon, { size: 20 }))),
42565
42570
  // Main row → open the entity (same tab, soft Link nav).
42566
42571
  href,
42567
42572
  // Trailing 40px ↗ side-button → open in a new tab.
@@ -42591,8 +42596,8 @@ function HubspotTicketChatCard({
42591
42596
  isNewTab,
42592
42597
  discuss
42593
42598
  }) {
42594
- const status = typeof _optionalChain([chatRef, 'access', _858 => _858.metadata, 'optionalAccess', _859 => _859.status]) === "string" ? chatRef.metadata.status : void 0;
42595
- const statusLabel = typeof _optionalChain([chatRef, 'access', _860 => _860.metadata, 'optionalAccess', _861 => _861.statusLabel]) === "string" ? chatRef.metadata.statusLabel : void 0;
42599
+ const status = typeof _optionalChain([chatRef, 'access', _859 => _859.metadata, 'optionalAccess', _860 => _860.status]) === "string" ? chatRef.metadata.status : void 0;
42600
+ const statusLabel = typeof _optionalChain([chatRef, 'access', _861 => _861.metadata, 'optionalAccess', _862 => _862.statusLabel]) === "string" ? chatRef.metadata.statusLabel : void 0;
42596
42601
  const statusText = _nullishCoalesce(statusLabel, () => ( formatStatusToken(status)));
42597
42602
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
42598
42603
  MingoInfoCard,
@@ -42615,7 +42620,7 @@ function FaqChatCard({
42615
42620
  isNewTab,
42616
42621
  discuss
42617
42622
  }) {
42618
- const section = typeof _optionalChain([chatRef, 'access', _862 => _862.metadata, 'optionalAccess', _863 => _863.section]) === "string" ? chatRef.metadata.section.trim() : void 0;
42623
+ const section = typeof _optionalChain([chatRef, 'access', _863 => _863.metadata, 'optionalAccess', _864 => _864.section]) === "string" ? chatRef.metadata.section.trim() : void 0;
42619
42624
  const statusLabel = section && section.length > 0 ? section : "FAQ";
42620
42625
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
42621
42626
  MingoInfoCard,
@@ -42635,7 +42640,7 @@ function SlackChatCard({
42635
42640
  isNewTab,
42636
42641
  discuss
42637
42642
  }) {
42638
- const channelName = typeof _optionalChain([chatRef, 'access', _864 => _864.metadata, 'optionalAccess', _865 => _865.channelName]) === "string" ? chatRef.metadata.channelName.trim() : void 0;
42643
+ const channelName = typeof _optionalChain([chatRef, 'access', _865 => _865.metadata, 'optionalAccess', _866 => _866.channelName]) === "string" ? chatRef.metadata.channelName.trim() : void 0;
42639
42644
  const channelPretty = channelName ? channelName.startsWith("#") ? channelName : `#${channelName}` : void 0;
42640
42645
  const title = channelPretty ? `${chatRef.title} \xB7 ${channelPretty}` : chatRef.title;
42641
42646
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -42675,7 +42680,7 @@ function GenericFinancialChatCard({
42675
42680
  isNewTab,
42676
42681
  discuss
42677
42682
  }) {
42678
- const subtitle = typeof _optionalChain([chatRef, 'access', _866 => _866.metadata, 'optionalAccess', _867 => _867.subtitle]) === "string" ? chatRef.metadata.subtitle : void 0;
42683
+ const subtitle = typeof _optionalChain([chatRef, 'access', _867 => _867.metadata, 'optionalAccess', _868 => _868.subtitle]) === "string" ? chatRef.metadata.subtitle : void 0;
42679
42684
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
42680
42685
  MingoInfoCard,
42681
42686
  {
@@ -42744,12 +42749,12 @@ function ProductReleaseChatCard({
42744
42749
  discuss
42745
42750
  }) {
42746
42751
  const releaseProps = buildProps(item);
42747
- const status = _optionalChain([item, 'optionalAccess', _868 => _868.version]) ? { label: String(item.version), variant: "grey" } : { label: "Release", variant: "grey" };
42752
+ const status = _optionalChain([item, 'optionalAccess', _869 => _869.version]) ? { label: String(item.version), variant: "grey" } : { label: "Release", variant: "grey" };
42748
42753
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
42749
42754
  EntityMingoCard,
42750
42755
  {
42751
- title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _869 => _869.title]), () => ( "")),
42752
- description: _optionalChain([item, 'optionalAccess', _870 => _870.summary]) || releaseProps.formattedDate || void 0,
42756
+ title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _870 => _870.title]), () => ( "")),
42757
+ description: _optionalChain([item, 'optionalAccess', _871 => _871.summary]) || releaseProps.formattedDate || void 0,
42753
42758
  cover: releaseProps.coverImage || void 0,
42754
42759
  fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.Rocket02Icon, { size: 24 }),
42755
42760
  status,
@@ -42766,17 +42771,17 @@ function CampaignChatCard({
42766
42771
  isNewTab,
42767
42772
  discuss
42768
42773
  }) {
42769
- const goalsCount = Array.isArray(_optionalChain([item, 'optionalAccess', _871 => _871.goals])) ? item.goals.length : 0;
42774
+ const goalsCount = Array.isArray(_optionalChain([item, 'optionalAccess', _872 => _872.goals])) ? item.goals.length : 0;
42770
42775
  const meta = [
42771
- _optionalChain([item, 'optionalAccess', _872 => _872.start_date]) ? formatDateShort(item.start_date) : null,
42776
+ _optionalChain([item, 'optionalAccess', _873 => _873.start_date]) ? formatDateShort(item.start_date) : null,
42772
42777
  goalsCount > 0 ? `${goalsCount} goal${goalsCount !== 1 ? "s" : ""}` : null,
42773
42778
  "Marketing campaign"
42774
42779
  ].filter(Boolean).join(" \xB7 ");
42775
42780
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
42776
42781
  EntityMingoCard,
42777
42782
  {
42778
- title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _873 => _873.name]), () => ( "")),
42779
- description: meta || _optionalChain([item, 'optionalAccess', _874 => _874.description]) || void 0,
42783
+ title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _874 => _874.name]), () => ( "")),
42784
+ description: meta || _optionalChain([item, 'optionalAccess', _875 => _875.description]) || void 0,
42780
42785
  fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.Megaphone01Icon, { size: 24 }),
42781
42786
  chatRef,
42782
42787
  isNewTab,
@@ -42829,14 +42834,14 @@ function BlogChatCard({
42829
42834
  hasEmbeddedVideo,
42830
42835
  discuss
42831
42836
  }) {
42832
- const category = Array.isArray(_optionalChain([item, 'optionalAccess', _875 => _875.categories])) ? _optionalChain([item, 'access', _876 => _876.categories, 'access', _877 => _877.find, 'call', _878 => _878((c) => c && c.name), 'optionalAccess', _879 => _879.name]) : void 0;
42837
+ const category = Array.isArray(_optionalChain([item, 'optionalAccess', _876 => _876.categories])) ? _optionalChain([item, 'access', _877 => _877.categories, 'access', _878 => _878.find, 'call', _879 => _879((c) => c && c.name), 'optionalAccess', _880 => _880.name]) : void 0;
42833
42838
  const status = hasEmbeddedVideo ? { label: "Video", variant: "primary" } : category ? { label: category, variant: "grey" } : void 0;
42834
42839
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
42835
42840
  EntityMingoCard,
42836
42841
  {
42837
- title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _880 => _880.title]), () => ( "")),
42838
- description: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _881 => _881.summary]), () => ( void 0)),
42839
- cover: entityCover(_optionalChain([item, 'optionalAccess', _882 => _882.featured_image]), ogPlaceholder),
42842
+ title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _881 => _881.title]), () => ( "")),
42843
+ description: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _882 => _882.summary]), () => ( void 0)),
42844
+ cover: entityCover(_optionalChain([item, 'optionalAccess', _883 => _883.featured_image]), ogPlaceholder),
42840
42845
  fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.NewspaperIcon, { size: 24 }),
42841
42846
  status,
42842
42847
  chatRef,
@@ -42853,13 +42858,13 @@ function CaseStudyChatCard({
42853
42858
  ogPlaceholder,
42854
42859
  discuss
42855
42860
  }) {
42856
- const meta = [_optionalChain([item, 'optionalAccess', _883 => _883.msp, 'optionalAccess', _884 => _884.name]), _optionalChain([item, 'optionalAccess', _885 => _885.user, 'optionalAccess', _886 => _886.full_name])].filter(Boolean).join(" \xB7 ");
42861
+ const meta = [_optionalChain([item, 'optionalAccess', _884 => _884.msp, 'optionalAccess', _885 => _885.name]), _optionalChain([item, 'optionalAccess', _886 => _886.user, 'optionalAccess', _887 => _887.full_name])].filter(Boolean).join(" \xB7 ");
42857
42862
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
42858
42863
  EntityMingoCard,
42859
42864
  {
42860
- title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _887 => _887.title]), () => ( "")),
42861
- description: _optionalChain([item, 'optionalAccess', _888 => _888.summary]) || meta || void 0,
42862
- cover: entityCover(_optionalChain([item, 'optionalAccess', _889 => _889.featured_image]), ogPlaceholder),
42865
+ title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _888 => _888.title]), () => ( "")),
42866
+ description: _optionalChain([item, 'optionalAccess', _889 => _889.summary]) || meta || void 0,
42867
+ cover: entityCover(_optionalChain([item, 'optionalAccess', _890 => _890.featured_image]), ogPlaceholder),
42863
42868
  fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.TrophyIcon, { size: 24 }),
42864
42869
  status: { label: "Case study", variant: "grey" },
42865
42870
  chatRef,
@@ -42876,13 +42881,13 @@ function CustomerInterviewChatCard({
42876
42881
  ogPlaceholder,
42877
42882
  discuss
42878
42883
  }) {
42879
- const meta = [_optionalChain([item, 'optionalAccess', _890 => _890.user, 'optionalAccess', _891 => _891.full_name]), _optionalChain([item, 'optionalAccess', _892 => _892.msp, 'optionalAccess', _893 => _893.name])].filter(Boolean).join(" \xB7 ");
42884
+ const meta = [_optionalChain([item, 'optionalAccess', _891 => _891.user, 'optionalAccess', _892 => _892.full_name]), _optionalChain([item, 'optionalAccess', _893 => _893.msp, 'optionalAccess', _894 => _894.name])].filter(Boolean).join(" \xB7 ");
42880
42885
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
42881
42886
  EntityMingoCard,
42882
42887
  {
42883
- title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _894 => _894.title]), () => ( "")),
42884
- description: _optionalChain([item, 'optionalAccess', _895 => _895.video_summary]) || meta || void 0,
42885
- cover: entityCover(_optionalChain([item, 'optionalAccess', _896 => _896.featured_image]), ogPlaceholder),
42888
+ title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _895 => _895.title]), () => ( "")),
42889
+ description: _optionalChain([item, 'optionalAccess', _896 => _896.video_summary]) || meta || void 0,
42890
+ cover: entityCover(_optionalChain([item, 'optionalAccess', _897 => _897.featured_image]), ogPlaceholder),
42886
42891
  fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.MicrophoneIcon, { size: 24 }),
42887
42892
  status: { label: "Interview", variant: "grey" },
42888
42893
  chatRef,
@@ -42899,13 +42904,13 @@ function InvestorUpdateChatCard({
42899
42904
  ogPlaceholder,
42900
42905
  discuss
42901
42906
  }) {
42902
- const title = _optionalChain([item, 'optionalAccess', _897 => _897.title]) || `Update #${_nullishCoalesce(_optionalChain([item, 'optionalAccess', _898 => _898.update_number]), () => ( "?"))}`;
42907
+ const title = _optionalChain([item, 'optionalAccess', _898 => _898.title]) || `Update #${_nullishCoalesce(_optionalChain([item, 'optionalAccess', _899 => _899.update_number]), () => ( "?"))}`;
42903
42908
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
42904
42909
  EntityMingoCard,
42905
42910
  {
42906
42911
  title,
42907
- description: _optionalChain([item, 'optionalAccess', _899 => _899.strategic_update]) || _optionalChain([item, 'optionalAccess', _900 => _900.content]) || formatInvestorUpdatePeriod(_optionalChain([item, 'optionalAccess', _901 => _901.period_start]), _optionalChain([item, 'optionalAccess', _902 => _902.period_end])) || void 0,
42908
- cover: entityCover(_optionalChain([item, 'optionalAccess', _903 => _903.featured_image]), ogPlaceholder),
42912
+ description: _optionalChain([item, 'optionalAccess', _900 => _900.strategic_update]) || _optionalChain([item, 'optionalAccess', _901 => _901.content]) || formatInvestorUpdatePeriod(_optionalChain([item, 'optionalAccess', _902 => _902.period_start]), _optionalChain([item, 'optionalAccess', _903 => _903.period_end])) || void 0,
42913
+ cover: entityCover(_optionalChain([item, 'optionalAccess', _904 => _904.featured_image]), ogPlaceholder),
42909
42914
  fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.PresentationLineIcon, { size: 24 }),
42910
42915
  status: { label: "Investor update", variant: "grey" },
42911
42916
  chatRef,
@@ -42922,12 +42927,12 @@ function OnboardingGuideChatCard({
42922
42927
  ogPlaceholder,
42923
42928
  discuss
42924
42929
  }) {
42925
- const cover = _nullishCoalesce(_nullishCoalesce(entityCover(_optionalChain([item, 'optionalAccess', _904 => _904.featured_image])), () => ( entityCover(_optionalChain([item, 'optionalAccess', _905 => _905.main_video_thumbnail])))), () => ( entityCover(_optionalChain([item, 'optionalAccess', _906 => _906.og_image_url]), ogPlaceholder)));
42930
+ const cover = _nullishCoalesce(_nullishCoalesce(entityCover(_optionalChain([item, 'optionalAccess', _905 => _905.featured_image])), () => ( entityCover(_optionalChain([item, 'optionalAccess', _906 => _906.main_video_thumbnail])))), () => ( entityCover(_optionalChain([item, 'optionalAccess', _907 => _907.og_image_url]), ogPlaceholder)));
42926
42931
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
42927
42932
  EntityMingoCard,
42928
42933
  {
42929
- title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _907 => _907.title]), () => ( "")),
42930
- description: _nullishCoalesce(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _908 => _908.summary]), () => ( _optionalChain([item, 'optionalAccess', _909 => _909.description]))), () => ( void 0)),
42934
+ title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _908 => _908.title]), () => ( "")),
42935
+ description: _nullishCoalesce(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _909 => _909.summary]), () => ( _optionalChain([item, 'optionalAccess', _910 => _910.description]))), () => ( void 0)),
42931
42936
  cover,
42932
42937
  fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.CompassIcon, { size: 24 }),
42933
42938
  status: { label: "Guide", variant: "grey" },
@@ -42948,25 +42953,25 @@ function ProgramChatCard({
42948
42953
  discuss
42949
42954
  }) {
42950
42955
  const icon = configKey === "webinar" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.PresentationBarIcon, { size: 24 }) : configKey === "event" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.CalendarIcon, { size: 24 }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.MicrophoneIcon, { size: 24 });
42951
- const isScheduled = _optionalChain([item, 'optionalAccess', _910 => _910.status]) === "scheduled";
42956
+ const isScheduled = _optionalChain([item, 'optionalAccess', _911 => _911.status]) === "scheduled";
42952
42957
  let typeMeta;
42953
- if (configKey === "podcast" && typeof _optionalChain([item, 'optionalAccess', _911 => _911.duration_seconds]) === "number" && item.duration_seconds > 0 && !isScheduled) {
42958
+ if (configKey === "podcast" && typeof _optionalChain([item, 'optionalAccess', _912 => _912.duration_seconds]) === "number" && item.duration_seconds > 0 && !isScheduled) {
42954
42959
  typeMeta = formatDurationCompact(item.duration_seconds);
42955
- } else if (configKey === "event" && typeof _optionalChain([item, 'optionalAccess', _912 => _912.location_name]) === "string" && item.location_name.trim().length > 0) {
42960
+ } else if (configKey === "event" && typeof _optionalChain([item, 'optionalAccess', _913 => _913.location_name]) === "string" && item.location_name.trim().length > 0) {
42956
42961
  typeMeta = item.location_name;
42957
- } else if (configKey === "webinar" && _optionalChain([item, 'optionalAccess', _913 => _913.start_at])) {
42962
+ } else if (configKey === "webinar" && _optionalChain([item, 'optionalAccess', _914 => _914.start_at])) {
42958
42963
  const time = formatTimeWithTimezone(item.start_at, _nullishCoalesce(item.timezone, () => ( null)));
42959
42964
  const dur = formatDurationFromRange(item.start_at, item.end_at);
42960
42965
  typeMeta = dur ? `${time} \xB7 ${dur}` : time;
42961
42966
  }
42962
- const itemDate = formatDateUTC(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _914 => _914.date]), () => ( null)), { fallback: "", timezone: "local" });
42967
+ const itemDate = formatDateUTC(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _915 => _915.date]), () => ( null)), { fallback: "", timezone: "local" });
42963
42968
  const meta = [itemDate, typeMeta].filter(Boolean).join(" \xB7 ");
42964
42969
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
42965
42970
  EntityMingoCard,
42966
42971
  {
42967
- title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _915 => _915.title]), () => ( "")),
42968
- description: meta || _optionalChain([item, 'optionalAccess', _916 => _916.description]) || void 0,
42969
- cover: entityCover(_optionalChain([item, 'optionalAccess', _917 => _917.cover_url]), ogPlaceholder),
42972
+ title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _916 => _916.title]), () => ( "")),
42973
+ description: meta || _optionalChain([item, 'optionalAccess', _917 => _917.description]) || void 0,
42974
+ cover: entityCover(_optionalChain([item, 'optionalAccess', _918 => _918.cover_url]), ogPlaceholder),
42970
42975
  fallbackIcon: icon,
42971
42976
  status: { label, variant: "grey" },
42972
42977
  chatRef,
@@ -42983,10 +42988,10 @@ function RoadmapChatCard({
42983
42988
  cardType,
42984
42989
  discuss
42985
42990
  }) {
42986
- const logoUrl = typeof _optionalChain([item, 'optionalAccess', _918 => _918.icon]) === "string" && item.icon.startsWith("http") ? item.icon : void 0;
42987
- const useTypeIcon = cardType === "internal_task" || !logoUrl && _optionalChain([item, 'optionalAccess', _919 => _919.customItemId]) != null;
42991
+ const logoUrl = typeof _optionalChain([item, 'optionalAccess', _919 => _919.icon]) === "string" && item.icon.startsWith("http") ? item.icon : void 0;
42992
+ const useTypeIcon = cardType === "internal_task" || !logoUrl && _optionalChain([item, 'optionalAccess', _920 => _920.customItemId]) != null;
42988
42993
  const defaultIcon = cardType === "delivery_item" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.TruckFastIcon, { size: 24 }) : cardType === "internal_task" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.CheckSquareIcon, { size: 24 }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.MapIcon, { size: 24 });
42989
- const icon = useTypeIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TaskTypeIcon, { customItemId: _optionalChain([item, 'optionalAccess', _920 => _920.customItemId]), className: "size-6" }) : logoUrl ? (
42994
+ const icon = useTypeIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TaskTypeIcon, { customItemId: _optionalChain([item, 'optionalAccess', _921 => _921.customItemId]), className: "size-6" }) : logoUrl ? (
42990
42995
  // Contained (not full-bleed) so the integration logo keeps its aspect
42991
42996
  // ratio inside the bordered icon box — matches RoadmapCard.
42992
42997
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "img", { src: logoUrl, alt: "", className: "size-6 object-contain" })
@@ -42994,10 +42999,10 @@ function RoadmapChatCard({
42994
42999
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
42995
43000
  EntityMingoCard,
42996
43001
  {
42997
- title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _921 => _921.title]), () => ( "")),
42998
- description: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _922 => _922.description]), () => ( void 0)),
43002
+ title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _922 => _922.title]), () => ( "")),
43003
+ description: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _923 => _923.description]), () => ( void 0)),
42999
43004
  fallbackIcon: icon,
43000
- status: statusPill(_optionalChain([item, 'optionalAccess', _923 => _923.status])),
43005
+ status: statusPill(_optionalChain([item, 'optionalAccess', _924 => _924.status])),
43001
43006
  chatRef,
43002
43007
  isNewTab,
43003
43008
  discuss,
@@ -43083,7 +43088,7 @@ function programRegistryEntries() {
43083
43088
  discuss: opts.discuss,
43084
43089
  configKey: cfg.configKey,
43085
43090
  label: cfg.configKey.charAt(0).toUpperCase() + cfg.configKey.slice(1),
43086
- ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _924 => _924.extras, 'optionalAccess', _925 => _925.buildOgPlaceholderUrl, 'optionalCall', _926 => _926(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _927 => _927.title]), () => ( "")))]), () => ( null))
43091
+ ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _925 => _925.extras, 'optionalAccess', _926 => _926.buildOgPlaceholderUrl, 'optionalCall', _927 => _927(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _928 => _928.title]), () => ( "")))]), () => ( null))
43087
43092
  }
43088
43093
  )
43089
43094
  };
@@ -43235,8 +43240,8 @@ var CHAT_CARD_REGISTRY = {
43235
43240
  chatRef,
43236
43241
  isNewTab: opts.isNewTab,
43237
43242
  discuss: opts.discuss,
43238
- ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _928 => _928.extras, 'optionalAccess', _929 => _929.buildOgPlaceholderUrl, 'optionalCall', _930 => _930(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _931 => _931.title]), () => ( "")))]), () => ( null)),
43239
- hasEmbeddedVideo: _optionalChain([chatRef, 'access', _932 => _932.metadata, 'optionalAccess', _933 => _933.hasEmbeddedVideo]) === true
43243
+ ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _929 => _929.extras, 'optionalAccess', _930 => _930.buildOgPlaceholderUrl, 'optionalCall', _931 => _931(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _932 => _932.title]), () => ( "")))]), () => ( null)),
43244
+ hasEmbeddedVideo: _optionalChain([chatRef, 'access', _933 => _933.metadata, 'optionalAccess', _934 => _934.hasEmbeddedVideo]) === true
43240
43245
  }
43241
43246
  )
43242
43247
  },
@@ -43253,7 +43258,7 @@ var CHAT_CARD_REGISTRY = {
43253
43258
  chatRef,
43254
43259
  isNewTab: opts.isNewTab,
43255
43260
  discuss: opts.discuss,
43256
- ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _934 => _934.extras, 'optionalAccess', _935 => _935.buildOgPlaceholderUrl, 'optionalCall', _936 => _936(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _937 => _937.title]), () => ( "")))]), () => ( null))
43261
+ ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _935 => _935.extras, 'optionalAccess', _936 => _936.buildOgPlaceholderUrl, 'optionalCall', _937 => _937(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _938 => _938.title]), () => ( "")))]), () => ( null))
43257
43262
  }
43258
43263
  )
43259
43264
  },
@@ -43270,7 +43275,7 @@ var CHAT_CARD_REGISTRY = {
43270
43275
  chatRef,
43271
43276
  isNewTab: opts.isNewTab,
43272
43277
  discuss: opts.discuss,
43273
- ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _938 => _938.extras, 'optionalAccess', _939 => _939.buildOgPlaceholderUrl, 'optionalCall', _940 => _940(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _941 => _941.title]), () => ( "")))]), () => ( null))
43278
+ ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _939 => _939.extras, 'optionalAccess', _940 => _940.buildOgPlaceholderUrl, 'optionalCall', _941 => _941(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _942 => _942.title]), () => ( "")))]), () => ( null))
43274
43279
  }
43275
43280
  )
43276
43281
  },
@@ -43281,7 +43286,7 @@ var CHAT_CARD_REGISTRY = {
43281
43286
  bareInline: true,
43282
43287
  skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ProductReleaseCardSkeleton, { size: "sm" }),
43283
43288
  render: (item, chatRef, opts) => {
43284
- const builder = _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _942 => _942.extras, 'optionalAccess', _943 => _943.buildProductReleaseCardProps]), () => ( defaultBuildProductReleaseCardProps));
43289
+ const builder = _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _943 => _943.extras, 'optionalAccess', _944 => _944.buildProductReleaseCardProps]), () => ( defaultBuildProductReleaseCardProps));
43285
43290
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
43286
43291
  ProductReleaseChatCard,
43287
43292
  {
@@ -43308,7 +43313,7 @@ var CHAT_CARD_REGISTRY = {
43308
43313
  chatRef,
43309
43314
  isNewTab: opts.isNewTab,
43310
43315
  discuss: opts.discuss,
43311
- ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _944 => _944.extras, 'optionalAccess', _945 => _945.buildOgPlaceholderUrl, 'optionalCall', _946 => _946(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _947 => _947.title]), () => ( "")))]), () => ( null))
43316
+ ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _945 => _945.extras, 'optionalAccess', _946 => _946.buildOgPlaceholderUrl, 'optionalCall', _947 => _947(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _948 => _948.title]), () => ( "")))]), () => ( null))
43312
43317
  }
43313
43318
  )
43314
43319
  },
@@ -43327,7 +43332,7 @@ var CHAT_CARD_REGISTRY = {
43327
43332
  chatRef,
43328
43333
  isNewTab: opts.isNewTab,
43329
43334
  discuss: opts.discuss,
43330
- ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _948 => _948.extras, 'optionalAccess', _949 => _949.buildOgPlaceholderUrl, 'optionalCall', _950 => _950(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _951 => _951.title]), () => ( "")))]), () => ( null))
43335
+ ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _949 => _949.extras, 'optionalAccess', _950 => _950.buildOgPlaceholderUrl, 'optionalCall', _951 => _951(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _952 => _952.title]), () => ( "")))]), () => ( null))
43331
43336
  }
43332
43337
  )
43333
43338
  },
@@ -43339,7 +43344,7 @@ var CHAT_CARD_REGISTRY = {
43339
43344
  skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CampaignCardAdminSkeleton, {}),
43340
43345
  // No public viewer — synthesize the hub-internal admin URL post-fetch
43341
43346
  // so the wrapper + isNewTab computation see the actual destination.
43342
- fallbackHref: (item) => _optionalChain([item, 'optionalAccess', _952 => _952.id]) ? `/admin/campaigns/${encodeURIComponent(item.id)}` : null,
43347
+ fallbackHref: (item) => _optionalChain([item, 'optionalAccess', _953 => _953.id]) ? `/admin/campaigns/${encodeURIComponent(item.id)}` : null,
43343
43348
  render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
43344
43349
  CampaignChatCard,
43345
43350
  {
@@ -43365,12 +43370,12 @@ function ChatCardNavWrap({
43365
43370
  const onClickCapture = (e) => {
43366
43371
  if (!href) return;
43367
43372
  const targetEl = e.target;
43368
- if (_optionalChain([targetEl, 'optionalAccess', _953 => _953.closest, 'optionalCall', _954 => _954("button")])) return;
43369
- if (!_optionalChain([targetEl, 'optionalAccess', _955 => _955.closest, 'optionalCall', _956 => _956("a")])) return;
43373
+ if (_optionalChain([targetEl, 'optionalAccess', _954 => _954.closest, 'optionalCall', _955 => _955("button")])) return;
43374
+ if (!_optionalChain([targetEl, 'optionalAccess', _956 => _956.closest, 'optionalCall', _957 => _957("a")])) return;
43370
43375
  const handled = handleChatNavClick(e, runtime, { href, path, targetPlatform }, router.push);
43371
43376
  if (!handled) return;
43372
43377
  e.stopPropagation();
43373
- if (!isNewTab && _optionalChain([panel, 'optionalAccess', _957 => _957.closeChat])) panel.closeChat();
43378
+ if (!isNewTab && _optionalChain([panel, 'optionalAccess', _958 => _958.closeChat])) panel.closeChat();
43374
43379
  };
43375
43380
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "contents", onClickCapture, children });
43376
43381
  }
@@ -43392,7 +43397,7 @@ function ChatCardLoader({
43392
43397
  title: chatRef.title,
43393
43398
  externalUrl: chatRef.url,
43394
43399
  targetPlatform: chatRef.targetPlatform,
43395
- path: typeof _optionalChain([chatRef, 'access', _958 => _958.metadata, 'optionalAccess', _959 => _959.path]) === "string" ? chatRef.metadata.path : null
43400
+ path: typeof _optionalChain([chatRef, 'access', _959 => _959.metadata, 'optionalAccess', _960 => _960.path]) === "string" ? chatRef.metadata.path : null
43396
43401
  },
43397
43402
  sourceRowCtxFromRuntime(runtime, { baseRoute, chipBasePlatform })
43398
43403
  );
@@ -43406,7 +43411,7 @@ function ChatCardLoader({
43406
43411
  const entry = CHAT_CARD_REGISTRY[resolvedChatRef.type];
43407
43412
  const fetchEntry = entry && entry.mode === "fetch" ? entry : null;
43408
43413
  const { item, isLoading } = useChatCardItem(
43409
- _nullishCoalesce(_optionalChain([fetchEntry, 'optionalAccess', _960 => _960.contentRefType]), () => ( "")),
43414
+ _nullishCoalesce(_optionalChain([fetchEntry, 'optionalAccess', _961 => _961.contentRefType]), () => ( "")),
43410
43415
  fetchEntry ? resolvedChatRef.id : ""
43411
43416
  );
43412
43417
  if (!entry) return null;
@@ -43437,7 +43442,7 @@ function ChatCardLoader({
43437
43442
  isNewTab,
43438
43443
  discuss
43439
43444
  };
43440
- const path = typeof _optionalChain([finalChatRef, 'access', _961 => _961.metadata, 'optionalAccess', _962 => _962.path]) === "string" ? finalChatRef.metadata.path : null;
43445
+ const path = typeof _optionalChain([finalChatRef, 'access', _962 => _962.metadata, 'optionalAccess', _963 => _963.path]) === "string" ? finalChatRef.metadata.path : null;
43441
43446
  const navWrap = (children) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
43442
43447
  ChatCardNavWrap,
43443
43448
  {
@@ -43823,7 +43828,7 @@ function useJetStreamDialogSubscription({
43823
43828
  const lifecycle = _chunkPXXS27EEcjs.startConnectionLifecycle.call(void 0, {
43824
43829
  conn: sharedConn,
43825
43830
  wsUrl,
43826
- onBeforeReconnect: () => _optionalChain([onBeforeReconnectRef, 'access', _963 => _963.current, 'optionalCall', _964 => _964()]),
43831
+ onBeforeReconnect: () => _optionalChain([onBeforeReconnectRef, 'access', _964 => _964.current, 'optionalCall', _965 => _965()]),
43827
43832
  backoff: reconnectionBackoffRef.current,
43828
43833
  getFreshUrl: () => getNatsWsUrlRef.current(),
43829
43834
  // JetStream emits 'error' for protocol-level failures (e.g. -ERR Permissions
@@ -43838,7 +43843,7 @@ function useJetStreamDialogSubscription({
43838
43843
  setReconnectionCount((c) => c + 1);
43839
43844
  }
43840
43845
  hadConnectionBeforeRef.current = true;
43841
- _optionalChain([onConnectRef, 'access', _965 => _965.current, 'optionalCall', _966 => _966()]);
43846
+ _optionalChain([onConnectRef, 'access', _966 => _966.current, 'optionalCall', _967 => _967()]);
43842
43847
  }
43843
43848
  if (status === "error") {
43844
43849
  console.warn("[JetStream] NATS protocol error:", evt.data);
@@ -43848,7 +43853,7 @@ function useJetStreamDialogSubscription({
43848
43853
  setIsConnected(false);
43849
43854
  setIsSubscribed(false);
43850
43855
  tearDownSubscription();
43851
- _optionalChain([onDisconnectRef, 'access', _967 => _967.current, 'optionalCall', _968 => _968()]);
43856
+ _optionalChain([onDisconnectRef, 'access', _968 => _968.current, 'optionalCall', _969 => _969()]);
43852
43857
  }
43853
43858
  }
43854
43859
  });
@@ -43927,7 +43932,7 @@ function useJetStreamDialogSubscription({
43927
43932
  }
43928
43933
  subscriptionRef.current = handle;
43929
43934
  setIsSubscribed(true);
43930
- _optionalChain([onSubscribedRef, 'access', _969 => _969.current, 'optionalCall', _970 => _970()]);
43935
+ _optionalChain([onSubscribedRef, 'access', _970 => _970.current, 'optionalCall', _971 => _971()]);
43931
43936
  } catch (e44) {
43932
43937
  if (!cancelled) {
43933
43938
  setIsSubscribed(false);
@@ -44040,20 +44045,20 @@ function useNatsDialogSubscription({
44040
44045
  const tearDownSubscriptions = () => {
44041
44046
  subscriptionRefs.current.forEach((sub) => {
44042
44047
  try {
44043
- _optionalChain([sub, 'optionalAccess', _971 => _971.unsubscribe, 'call', _972 => _972()]);
44048
+ _optionalChain([sub, 'optionalAccess', _972 => _972.unsubscribe, 'call', _973 => _973()]);
44044
44049
  } catch (e46) {
44045
44050
  }
44046
44051
  });
44047
44052
  subscriptionRefs.current.clear();
44048
44053
  lastSubscribedDialogIdRef.current = null;
44049
- _optionalChain([abortControllerRef, 'access', _973 => _973.current, 'optionalAccess', _974 => _974.abort, 'call', _975 => _975()]);
44054
+ _optionalChain([abortControllerRef, 'access', _974 => _974.current, 'optionalAccess', _975 => _975.abort, 'call', _976 => _976()]);
44050
44055
  abortControllerRef.current = null;
44051
44056
  };
44052
44057
  const isDisconnectStatus = (status) => status === "closed" || status === "disconnected";
44053
44058
  const lifecycle = _chunkPXXS27EEcjs.startConnectionLifecycle.call(void 0, {
44054
44059
  conn: sharedConn,
44055
44060
  wsUrl,
44056
- onBeforeReconnect: () => _optionalChain([onBeforeReconnectRef, 'access', _976 => _976.current, 'optionalCall', _977 => _977()]),
44061
+ onBeforeReconnect: () => _optionalChain([onBeforeReconnectRef, 'access', _977 => _977.current, 'optionalCall', _978 => _978()]),
44057
44062
  backoff: reconnectionBackoffRef.current,
44058
44063
  getFreshUrl: () => getNatsWsUrlRef.current(),
44059
44064
  shouldRetryOn: isDisconnectStatus,
@@ -44064,7 +44069,7 @@ function useNatsDialogSubscription({
44064
44069
  setReconnectionCount((c) => c + 1);
44065
44070
  }
44066
44071
  hadConnectionBeforeRef.current = true;
44067
- _optionalChain([onConnectRef, 'access', _978 => _978.current, 'optionalCall', _979 => _979()]);
44072
+ _optionalChain([onConnectRef, 'access', _979 => _979.current, 'optionalCall', _980 => _980()]);
44068
44073
  }
44069
44074
  if (status === "error") {
44070
44075
  console.warn("[NATS] protocol error:", evt.data);
@@ -44074,7 +44079,7 @@ function useNatsDialogSubscription({
44074
44079
  setIsConnected(false);
44075
44080
  setIsSubscribed(false);
44076
44081
  tearDownSubscriptions();
44077
- _optionalChain([onDisconnectRef, 'access', _980 => _980.current, 'optionalCall', _981 => _981()]);
44082
+ _optionalChain([onDisconnectRef, 'access', _981 => _981.current, 'optionalCall', _982 => _982()]);
44078
44083
  }
44079
44084
  }
44080
44085
  });
@@ -44105,13 +44110,13 @@ function useNatsDialogSubscription({
44105
44110
  setIsSubscribed(false);
44106
44111
  subscriptionRefs.current.forEach((sub) => {
44107
44112
  try {
44108
- _optionalChain([sub, 'optionalAccess', _982 => _982.unsubscribe, 'call', _983 => _983()]);
44113
+ _optionalChain([sub, 'optionalAccess', _983 => _983.unsubscribe, 'call', _984 => _984()]);
44109
44114
  } catch (e47) {
44110
44115
  }
44111
44116
  });
44112
44117
  subscriptionRefs.current.clear();
44113
44118
  lastSubscribedDialogIdRef.current = null;
44114
- _optionalChain([abortControllerRef, 'access', _984 => _984.current, 'optionalAccess', _985 => _985.abort, 'call', _986 => _986()]);
44119
+ _optionalChain([abortControllerRef, 'access', _985 => _985.current, 'optionalAccess', _986 => _986.abort, 'call', _987 => _987()]);
44115
44120
  abortControllerRef.current = null;
44116
44121
  }
44117
44122
  return;
@@ -44123,12 +44128,12 @@ function useNatsDialogSubscription({
44123
44128
  if (subscriptionRefs.current.size > 0) {
44124
44129
  subscriptionRefs.current.forEach((sub) => {
44125
44130
  try {
44126
- _optionalChain([sub, 'optionalAccess', _987 => _987.unsubscribe, 'call', _988 => _988()]);
44131
+ _optionalChain([sub, 'optionalAccess', _988 => _988.unsubscribe, 'call', _989 => _989()]);
44127
44132
  } catch (e48) {
44128
44133
  }
44129
44134
  });
44130
44135
  subscriptionRefs.current.clear();
44131
- _optionalChain([abortControllerRef, 'access', _989 => _989.current, 'optionalAccess', _990 => _990.abort, 'call', _991 => _991()]);
44136
+ _optionalChain([abortControllerRef, 'access', _990 => _990.current, 'optionalAccess', _991 => _991.abort, 'call', _992 => _992()]);
44132
44137
  }
44133
44138
  abortControllerRef.current = new AbortController();
44134
44139
  const abort = abortControllerRef.current;
@@ -44160,7 +44165,7 @@ function useNatsDialogSubscription({
44160
44165
  });
44161
44166
  lastSubscribedDialogIdRef.current = dialogId;
44162
44167
  setIsSubscribed(true);
44163
- _optionalChain([onSubscribedRef, 'access', _992 => _992.current, 'optionalCall', _993 => _993()]);
44168
+ _optionalChain([onSubscribedRef, 'access', _993 => _993.current, 'optionalCall', _994 => _994()]);
44164
44169
  };
44165
44170
  if (isConnectedRef.current) {
44166
44171
  createSubscriptions();
@@ -44170,7 +44175,7 @@ function useNatsDialogSubscription({
44170
44175
  abort.abort();
44171
44176
  subscriptionRefs.current.forEach((sub) => {
44172
44177
  try {
44173
- _optionalChain([sub, 'optionalAccess', _994 => _994.unsubscribe, 'call', _995 => _995()]);
44178
+ _optionalChain([sub, 'optionalAccess', _995 => _995.unsubscribe, 'call', _996 => _996()]);
44174
44179
  } catch (e50) {
44175
44180
  }
44176
44181
  });
@@ -44211,7 +44216,7 @@ function useNatsDialogSubscription({
44211
44216
  });
44212
44217
  lastSubscribedDialogIdRef.current = dialogId2;
44213
44218
  setIsSubscribed(true);
44214
- _optionalChain([onSubscribedRef, 'access', _996 => _996.current, 'optionalCall', _997 => _997()]);
44219
+ _optionalChain([onSubscribedRef, 'access', _997 => _997.current, 'optionalCall', _998 => _998()]);
44215
44220
  } else if (subscriptionRefs.current.size > 0) {
44216
44221
  setIsSubscribed(true);
44217
44222
  }
@@ -44219,10 +44224,10 @@ function useNatsDialogSubscription({
44219
44224
  return { isConnected, isSubscribed, reconnectionCount };
44220
44225
  }
44221
44226
  function buildNatsWsUrl(apiBaseUrl, options) {
44222
- const path = _optionalChain([options, 'optionalAccess', _998 => _998.source]) === "dashboard" ? "/ws/nats-api" : "/ws/nats";
44227
+ const path = _optionalChain([options, 'optionalAccess', _999 => _999.source]) === "dashboard" ? "/ws/nats-api" : "/ws/nats";
44223
44228
  const u = new URL(path, apiBaseUrl);
44224
44229
  u.protocol = u.protocol === "https:" ? "wss:" : "ws:";
44225
- if (_optionalChain([options, 'optionalAccess', _999 => _999.includeAuthParam]) && _optionalChain([options, 'optionalAccess', _1000 => _1000.token])) {
44230
+ if (_optionalChain([options, 'optionalAccess', _1000 => _1000.includeAuthParam]) && _optionalChain([options, 'optionalAccess', _1001 => _1001.token])) {
44226
44231
  u.searchParams.set("authorization", options.token);
44227
44232
  }
44228
44233
  return u.toString();
@@ -44358,7 +44363,7 @@ function parseChunkToAction(chunk) {
44358
44363
  // is REQUIRED on `ChatContextItem`, so fall back to the id (same as the
44359
44364
  // historical path in `process-historical-messages.ts`) — keeps both
44360
44365
  // message sources producing an identical shape.
44361
- contextItems: Array.isArray(data.contextItems) ? data.contextItems.filter((it) => typeof _optionalChain([it, 'optionalAccess', _1001 => _1001.type]) === "string" && typeof _optionalChain([it, 'optionalAccess', _1002 => _1002.id]) === "string").map((it) => ({ type: it.type, id: it.id, label: it.id })) : void 0
44366
+ contextItems: Array.isArray(data.contextItems) ? data.contextItems.filter((it) => typeof _optionalChain([it, 'optionalAccess', _1002 => _1002.type]) === "string" && typeof _optionalChain([it, 'optionalAccess', _1003 => _1003.id]) === "string").map((it) => ({ type: it.type, id: it.id, label: it.id })) : void 0
44362
44367
  };
44363
44368
  case MESSAGE_TYPE.TOKEN_USAGE:
44364
44369
  return {
@@ -44550,8 +44555,8 @@ var MessageSegmentAccumulator = class {
44550
44555
  type: "tool_execution",
44551
44556
  data: {
44552
44557
  ...toolData,
44553
- toolTitle: _nullishCoalesce(_nullishCoalesce(toolData.toolTitle, () => ( _optionalChain([existingExecuting, 'optionalAccess', _1003 => _1003.data, 'access', _1004 => _1004.toolTitle]))), () => ( _optionalChain([executingTool, 'optionalAccess', _1005 => _1005.toolTitle]))),
44554
- parameters: toolData.parameters || _optionalChain([executingTool, 'optionalAccess', _1006 => _1006.parameters])
44558
+ toolTitle: _nullishCoalesce(_nullishCoalesce(toolData.toolTitle, () => ( _optionalChain([existingExecuting, 'optionalAccess', _1004 => _1004.data, 'access', _1005 => _1005.toolTitle]))), () => ( _optionalChain([executingTool, 'optionalAccess', _1006 => _1006.toolTitle]))),
44559
+ parameters: toolData.parameters || _optionalChain([executingTool, 'optionalAccess', _1007 => _1007.parameters])
44555
44560
  }
44556
44561
  };
44557
44562
  if (existingIndex !== -1) {
@@ -44575,8 +44580,8 @@ var MessageSegmentAccumulator = class {
44575
44580
  if (seg.type !== "approval_batch") return seg;
44576
44581
  const hasCall = seg.data.toolCalls.some((c) => c.toolExecutionRequestId === execId);
44577
44582
  if (!hasCall) return seg;
44578
- const prev = _optionalChain([seg, 'access', _1007 => _1007.data, 'access', _1008 => _1008.executions, 'optionalAccess', _1009 => _1009[execId]]);
44579
- const next = toolData.type === "EXECUTED_TOOL" ? { status: "done", result: toolData.result, success: toolData.success } : { status: "executing", result: _optionalChain([prev, 'optionalAccess', _1010 => _1010.result]), success: _optionalChain([prev, 'optionalAccess', _1011 => _1011.success]) };
44583
+ const prev = _optionalChain([seg, 'access', _1008 => _1008.data, 'access', _1009 => _1009.executions, 'optionalAccess', _1010 => _1010[execId]]);
44584
+ const next = toolData.type === "EXECUTED_TOOL" ? { status: "done", result: toolData.result, success: toolData.success } : { status: "executing", result: _optionalChain([prev, 'optionalAccess', _1011 => _1011.result]), success: _optionalChain([prev, 'optionalAccess', _1012 => _1012.success]) };
44580
44585
  matched = true;
44581
44586
  return {
44582
44587
  ...seg,
@@ -44698,10 +44703,10 @@ var MessageSegmentAccumulator = class {
44698
44703
  const segment = {
44699
44704
  type: "approval_request",
44700
44705
  data: {
44701
- command: _optionalChain([pendingApproval, 'optionalAccess', _1012 => _1012.command]) || "",
44702
- explanation: _optionalChain([pendingApproval, 'optionalAccess', _1013 => _1013.explanation]),
44706
+ command: _optionalChain([pendingApproval, 'optionalAccess', _1013 => _1013.command]) || "",
44707
+ explanation: _optionalChain([pendingApproval, 'optionalAccess', _1014 => _1014.explanation]),
44703
44708
  requestId,
44704
- approvalType: _optionalChain([pendingApproval, 'optionalAccess', _1014 => _1014.approvalType]) || approvalType
44709
+ approvalType: _optionalChain([pendingApproval, 'optionalAccess', _1015 => _1015.approvalType]) || approvalType
44705
44710
  },
44706
44711
  status,
44707
44712
  onApprove: this.callbacks.onApprove,
@@ -44893,7 +44898,7 @@ function useRealtimeChunkProcessor(options) {
44893
44898
  if (initialState.escalatedApprovals) {
44894
44899
  pendingEscalatedRef.current = new Map(initialState.escalatedApprovals);
44895
44900
  initialState.escalatedApprovals.forEach((data, requestId) => {
44896
- _optionalChain([callbacks, 'access', _1015 => _1015.onEscalatedApproval, 'optionalCall', _1016 => _1016(requestId, data)]);
44901
+ _optionalChain([callbacks, 'access', _1016 => _1016.onEscalatedApproval, 'optionalCall', _1017 => _1017(requestId, data)]);
44897
44902
  });
44898
44903
  }
44899
44904
  hasEverStreamedRef.current = true;
@@ -44914,12 +44919,12 @@ function useRealtimeChunkProcessor(options) {
44914
44919
  if (!action) return;
44915
44920
  const accumulator = accumulatorRef.current;
44916
44921
  const streamSeq = chunk && typeof chunk === "object" && typeof chunk.streamSeq === "number" ? chunk.streamSeq : void 0;
44917
- const emitSegments = (s, meta) => _optionalChain([callbacks, 'access', _1017 => _1017.onSegmentsUpdate, 'optionalCall', _1018 => _1018(s, streamSeq != null ? { ...meta, streamSeq } : meta)]);
44922
+ const emitSegments = (s, meta) => _optionalChain([callbacks, 'access', _1018 => _1018.onSegmentsUpdate, 'optionalCall', _1019 => _1019(s, streamSeq != null ? { ...meta, streamSeq } : meta)]);
44918
44923
  if (action.action === "direct_message") sawDirectMessageRef.current = true;
44919
44924
  if ((directModeFlagRef.current || sawDirectMessageRef.current) && !DIRECT_MODE_ALLOWED.has(action.action)) {
44920
44925
  if (isInStreamRef.current) {
44921
44926
  isInStreamRef.current = false;
44922
- _optionalChain([callbacks, 'access', _1019 => _1019.onStreamEnd, 'optionalCall', _1020 => _1020()]);
44927
+ _optionalChain([callbacks, 'access', _1020 => _1020.onStreamEnd, 'optionalCall', _1021 => _1021()]);
44923
44928
  accumulator.resetSegments();
44924
44929
  }
44925
44930
  return;
@@ -44928,16 +44933,16 @@ function useRealtimeChunkProcessor(options) {
44928
44933
  case "message_start":
44929
44934
  isInStreamRef.current = true;
44930
44935
  hasEverStreamedRef.current = true;
44931
- _optionalChain([callbacks, 'access', _1021 => _1021.onStreamStart, 'optionalCall', _1022 => _1022()]);
44936
+ _optionalChain([callbacks, 'access', _1022 => _1022.onStreamStart, 'optionalCall', _1023 => _1023()]);
44932
44937
  accumulator.resetSegments();
44933
44938
  break;
44934
44939
  case "message_end":
44935
44940
  isInStreamRef.current = false;
44936
- _optionalChain([callbacks, 'access', _1023 => _1023.onStreamEnd, 'optionalCall', _1024 => _1024()]);
44941
+ _optionalChain([callbacks, 'access', _1024 => _1024.onStreamEnd, 'optionalCall', _1025 => _1025()]);
44937
44942
  accumulator.resetSegments();
44938
44943
  break;
44939
44944
  case "metadata":
44940
- _optionalChain([callbacks, 'access', _1025 => _1025.onMetadata, 'optionalCall', _1026 => _1026(action)]);
44945
+ _optionalChain([callbacks, 'access', _1026 => _1026.onMetadata, 'optionalCall', _1027 => _1027(action)]);
44941
44946
  break;
44942
44947
  case "text": {
44943
44948
  const segments = accumulator.appendText(action.text);
@@ -44980,7 +44985,7 @@ function useRealtimeChunkProcessor(options) {
44980
44985
  emitSegments(segments);
44981
44986
  } else {
44982
44987
  pendingEscalatedRef.current.set(requestId, { command, explanation, approvalType });
44983
- _optionalChain([callbacks, 'access', _1027 => _1027.onEscalatedApproval, 'optionalCall', _1028 => _1028(requestId, { command, explanation, approvalType })]);
44988
+ _optionalChain([callbacks, 'access', _1028 => _1028.onEscalatedApproval, 'optionalCall', _1029 => _1029(requestId, { command, explanation, approvalType })]);
44984
44989
  }
44985
44990
  break;
44986
44991
  }
@@ -44992,13 +44997,13 @@ function useRealtimeChunkProcessor(options) {
44992
44997
  const summary = required ? getCommandText(required) : `Batch of ${toolCalls.length} tool calls`;
44993
44998
  pendingEscalatedRef.current.set(requestId, {
44994
44999
  command: summary,
44995
- explanation: _optionalChain([required, 'optionalAccess', _1029 => _1029.toolExplanation]),
45000
+ explanation: _optionalChain([required, 'optionalAccess', _1030 => _1030.toolExplanation]),
44996
45001
  approvalType,
44997
45002
  toolCalls
44998
45003
  });
44999
- _optionalChain([callbacks, 'access', _1030 => _1030.onEscalatedApproval, 'optionalCall', _1031 => _1031(requestId, {
45004
+ _optionalChain([callbacks, 'access', _1031 => _1031.onEscalatedApproval, 'optionalCall', _1032 => _1032(requestId, {
45000
45005
  command: summary,
45001
- explanation: _optionalChain([required, 'optionalAccess', _1032 => _1032.toolExplanation]),
45006
+ explanation: _optionalChain([required, 'optionalAccess', _1033 => _1033.toolExplanation]),
45002
45007
  approvalType
45003
45008
  })]);
45004
45009
  break;
@@ -45028,7 +45033,7 @@ function useRealtimeChunkProcessor(options) {
45028
45033
  const status = approved ? "approved" : "rejected";
45029
45034
  if (escalatedData) {
45030
45035
  pendingEscalatedRef.current.delete(requestId);
45031
- _optionalChain([callbacks, 'access', _1033 => _1033.onEscalatedApprovalResult, 'optionalCall', _1034 => _1034(requestId, approved, {
45036
+ _optionalChain([callbacks, 'access', _1034 => _1034.onEscalatedApprovalResult, 'optionalCall', _1035 => _1035(requestId, approved, {
45032
45037
  command: escalatedData.command,
45033
45038
  explanation: escalatedData.explanation,
45034
45039
  approvalType: escalatedData.approvalType
@@ -45074,29 +45079,29 @@ function useRealtimeChunkProcessor(options) {
45074
45079
  emitSegments(accumulator.getSegments());
45075
45080
  }
45076
45081
  }
45077
- _optionalChain([callbacks, 'access', _1035 => _1035.onApprovalResolved, 'optionalCall', _1036 => _1036(requestId, status, approvalType, resolvedByName)]);
45082
+ _optionalChain([callbacks, 'access', _1036 => _1036.onApprovalResolved, 'optionalCall', _1037 => _1037(requestId, status, approvalType, resolvedByName)]);
45078
45083
  break;
45079
45084
  }
45080
45085
  case "error": {
45081
45086
  let message2;
45082
- if ("details" in action && _optionalChain([action, 'optionalAccess', _1037 => _1037.details])) {
45087
+ if ("details" in action && _optionalChain([action, 'optionalAccess', _1038 => _1038.details])) {
45083
45088
  try {
45084
- message2 = _optionalChain([JSON, 'access', _1038 => _1038.parse, 'call', _1039 => _1039(action.details), 'optionalAccess', _1040 => _1040.error, 'optionalAccess', _1041 => _1041.message]);
45089
+ message2 = _optionalChain([JSON, 'access', _1039 => _1039.parse, 'call', _1040 => _1040(action.details), 'optionalAccess', _1041 => _1041.error, 'optionalAccess', _1042 => _1042.message]);
45085
45090
  } catch (e52) {
45086
45091
  message2 = action.details;
45087
45092
  }
45088
45093
  }
45089
45094
  const segments = accumulator.addError(action.error, message2);
45090
45095
  emitSegments(segments);
45091
- _optionalChain([callbacks, 'access', _1042 => _1042.onError, 'optionalCall', _1043 => _1043(action.error, message2)]);
45096
+ _optionalChain([callbacks, 'access', _1043 => _1043.onError, 'optionalCall', _1044 => _1044(action.error, message2)]);
45092
45097
  break;
45093
45098
  }
45094
45099
  case "system": {
45095
- _optionalChain([callbacks, 'access', _1044 => _1044.onSystemMessage, 'optionalCall', _1045 => _1045(action.text, { streamSeq })]);
45100
+ _optionalChain([callbacks, 'access', _1045 => _1045.onSystemMessage, 'optionalCall', _1046 => _1046(action.text, { streamSeq })]);
45096
45101
  break;
45097
45102
  }
45098
45103
  case "direct_message": {
45099
- _optionalChain([callbacks, 'access', _1046 => _1046.onDirectMessage, 'optionalCall', _1047 => _1047(action.text, {
45104
+ _optionalChain([callbacks, 'access', _1047 => _1047.onDirectMessage, 'optionalCall', _1048 => _1048(action.text, {
45100
45105
  ownerType: action.ownerType,
45101
45106
  displayName: action.displayName,
45102
45107
  userId: action.userId,
@@ -45105,7 +45110,7 @@ function useRealtimeChunkProcessor(options) {
45105
45110
  break;
45106
45111
  }
45107
45112
  case "message_request":
45108
- _optionalChain([callbacks, 'access', _1048 => _1048.onUserMessage, 'optionalCall', _1049 => _1049(action.text, {
45113
+ _optionalChain([callbacks, 'access', _1049 => _1049.onUserMessage, 'optionalCall', _1050 => _1050(action.text, {
45109
45114
  ownerType: action.ownerType,
45110
45115
  displayName: action.displayName,
45111
45116
  userId: action.userId,
@@ -45114,7 +45119,7 @@ function useRealtimeChunkProcessor(options) {
45114
45119
  })]);
45115
45120
  break;
45116
45121
  case "token_usage":
45117
- _optionalChain([callbacks, 'access', _1050 => _1050.onTokenUsage, 'optionalCall', _1051 => _1051(action.data)]);
45122
+ _optionalChain([callbacks, 'access', _1051 => _1051.onTokenUsage, 'optionalCall', _1052 => _1052(action.data)]);
45118
45123
  break;
45119
45124
  case "context_compaction_start": {
45120
45125
  const standalone = !isInStreamRef.current;
@@ -45129,7 +45134,7 @@ function useRealtimeChunkProcessor(options) {
45129
45134
  break;
45130
45135
  }
45131
45136
  case "dialog_closed":
45132
- _optionalChain([callbacks, 'access', _1052 => _1052.onDialogClosed, 'optionalCall', _1053 => _1053()]);
45137
+ _optionalChain([callbacks, 'access', _1053 => _1053.onDialogClosed, 'optionalCall', _1054 => _1054()]);
45133
45138
  break;
45134
45139
  default:
45135
45140
  break;
@@ -45176,7 +45181,7 @@ async function fetchSlashCommands(prefix, signal, commandsUrl) {
45176
45181
  const data = await res.json();
45177
45182
  return _nullishCoalesce(data.commands, () => ( []));
45178
45183
  } catch (err) {
45179
- if (_optionalChain([err, 'optionalAccess', _1054 => _1054.name]) === "AbortError") throw err;
45184
+ if (_optionalChain([err, 'optionalAccess', _1055 => _1055.name]) === "AbortError") throw err;
45180
45185
  console.warn("[chat] slash-commands fetch failed, showing none:", err);
45181
45186
  return [];
45182
45187
  }
@@ -45197,7 +45202,7 @@ function useSlashCommands(prefix, commandsUrl) {
45197
45202
  const next = await fetchSlashCommands(prefix, ctrl.signal, commandsUrl);
45198
45203
  if (!cancelled) setCommands(next);
45199
45204
  } catch (err) {
45200
- if (!cancelled && _optionalChain([err, 'optionalAccess', _1055 => _1055.name]) !== "AbortError") {
45205
+ if (!cancelled && _optionalChain([err, 'optionalAccess', _1056 => _1056.name]) !== "AbortError") {
45201
45206
  console.warn("[use-slash-commands] fetch failed:", err);
45202
45207
  }
45203
45208
  } finally {
@@ -45216,7 +45221,7 @@ function useSlashCommandRegistry(commandsUrl, options) {
45216
45221
  const query = _reactquery.useQuery.call(void 0, {
45217
45222
  queryKey: ["chat-slash-commands", commandsUrl],
45218
45223
  queryFn: ({ signal }) => fetchSlashCommands("", signal, commandsUrl),
45219
- enabled: _nullishCoalesce(_optionalChain([options, 'optionalAccess', _1056 => _1056.enabled]), () => ( true)),
45224
+ enabled: _nullishCoalesce(_optionalChain([options, 'optionalAccess', _1057 => _1057.enabled]), () => ( true)),
45220
45225
  staleTime: Infinity,
45221
45226
  gcTime: Infinity,
45222
45227
  // The commands registry is non-critical chrome — a failure degrades to an
@@ -45252,18 +45257,18 @@ async function fetchEmptyStateConfig(signal, emptyStateUrl) {
45252
45257
  }
45253
45258
  const data = await res.json();
45254
45259
  return {
45255
- greeting: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1057 => _1057.greeting]), () => ( null)),
45256
- enabledRagTableIds: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1058 => _1058.enabledRagTableIds]), () => ( [])),
45257
- suggestedQueries: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1059 => _1059.suggestedQueries]), () => ( []))
45260
+ greeting: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1058 => _1058.greeting]), () => ( null)),
45261
+ enabledRagTableIds: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1059 => _1059.enabledRagTableIds]), () => ( [])),
45262
+ suggestedQueries: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1060 => _1060.suggestedQueries]), () => ( []))
45258
45263
  };
45259
45264
  } catch (err) {
45260
- if (_optionalChain([err, 'optionalAccess', _1060 => _1060.name]) === "AbortError") throw err;
45265
+ if (_optionalChain([err, 'optionalAccess', _1061 => _1061.name]) === "AbortError") throw err;
45261
45266
  console.warn("[chat] empty-state config fetch failed, using neutral defaults:", err);
45262
45267
  return EMPTY_STATE_FALLBACK;
45263
45268
  }
45264
45269
  }
45265
45270
  function useEmptyStateConfig(emptyStateUrl, options) {
45266
- const enabled = (_nullishCoalesce(_optionalChain([options, 'optionalAccess', _1061 => _1061.enabled]), () => ( true))) && !!emptyStateUrl;
45271
+ const enabled = (_nullishCoalesce(_optionalChain([options, 'optionalAccess', _1062 => _1062.enabled]), () => ( true))) && !!emptyStateUrl;
45267
45272
  const query = _reactquery.useQuery.call(void 0, {
45268
45273
  queryKey: ["chat-empty-state", emptyStateUrl],
45269
45274
  queryFn: ({ signal }) => fetchEmptyStateConfig(signal, emptyStateUrl),
@@ -45292,7 +45297,7 @@ var CHAT_ATTACHMENT_MAX_SIZE_BYTES = 25 * 1024 * 1024;
45292
45297
  var STORAGE_CACHE_CONTROL_IMMUTABLE = "public, max-age=31536000, immutable";
45293
45298
  function uploadWithProgress(url, file, token, onProgress, signal) {
45294
45299
  return new Promise((resolve, reject) => {
45295
- if (_optionalChain([signal, 'optionalAccess', _1062 => _1062.aborted])) {
45300
+ if (_optionalChain([signal, 'optionalAccess', _1063 => _1063.aborted])) {
45296
45301
  reject(new Error("Upload cancelled"));
45297
45302
  return;
45298
45303
  }
@@ -45306,7 +45311,7 @@ function uploadWithProgress(url, file, token, onProgress, signal) {
45306
45311
  xhr.removeEventListener("error", handleError);
45307
45312
  xhr.removeEventListener("abort", handleAbort);
45308
45313
  xhr.removeEventListener("timeout", handleTimeout);
45309
- _optionalChain([signal, 'optionalAccess', _1063 => _1063.removeEventListener, 'call', _1064 => _1064("abort", handleSignalAbort)]);
45314
+ _optionalChain([signal, 'optionalAccess', _1064 => _1064.removeEventListener, 'call', _1065 => _1065("abort", handleSignalAbort)]);
45310
45315
  if (xhr.readyState !== XMLHttpRequest.DONE) xhr.abort();
45311
45316
  };
45312
45317
  const handleProgress = (event) => {
@@ -45342,7 +45347,7 @@ function uploadWithProgress(url, file, token, onProgress, signal) {
45342
45347
  const handleSignalAbort = () => {
45343
45348
  xhr.abort();
45344
45349
  };
45345
- _optionalChain([signal, 'optionalAccess', _1065 => _1065.addEventListener, 'call', _1066 => _1066("abort", handleSignalAbort, { once: true })]);
45350
+ _optionalChain([signal, 'optionalAccess', _1066 => _1066.addEventListener, 'call', _1067 => _1067("abort", handleSignalAbort, { once: true })]);
45346
45351
  xhr.upload.addEventListener("progress", handleProgress);
45347
45352
  xhr.addEventListener("load", handleLoad);
45348
45353
  xhr.addEventListener("error", handleError);
@@ -45386,12 +45391,12 @@ function useChatAttachments() {
45386
45391
  try {
45387
45392
  sniffed = await _filetype.fileTypeFromBlob.call(void 0, att.file);
45388
45393
  } catch (err) {
45389
- if (_optionalChain([ctrl, 'optionalAccess', _1067 => _1067.signal, 'access', _1068 => _1068.aborted])) return;
45394
+ if (_optionalChain([ctrl, 'optionalAccess', _1068 => _1068.signal, 'access', _1069 => _1069.aborted])) return;
45390
45395
  throw new Error(
45391
45396
  `Could not read file content: ${err instanceof Error ? err.message : String(err)}`
45392
45397
  );
45393
45398
  }
45394
- if (_optionalChain([ctrl, 'optionalAccess', _1069 => _1069.signal, 'access', _1070 => _1070.aborted])) return;
45399
+ if (_optionalChain([ctrl, 'optionalAccess', _1070 => _1070.signal, 'access', _1071 => _1071.aborted])) return;
45395
45400
  if (!sniffed) {
45396
45401
  throw new Error("Unrecognized file format");
45397
45402
  }
@@ -45405,7 +45410,7 @@ function useChatAttachments() {
45405
45410
  const urlResp = await _chunkDCIB6AK3cjs.embedAuthedFetch.call(void 0, uploadUrlEndpoint, {
45406
45411
  method: "POST",
45407
45412
  headers: { "Content-Type": "application/json" },
45408
- signal: _optionalChain([ctrl, 'optionalAccess', _1071 => _1071.signal]),
45413
+ signal: _optionalChain([ctrl, 'optionalAccess', _1072 => _1072.signal]),
45409
45414
  body: JSON.stringify({
45410
45415
  fileName: att.file.name,
45411
45416
  // Pass the SNIFFED MIME (not `file.type`, which can be a
@@ -45431,9 +45436,9 @@ function useChatAttachments() {
45431
45436
  (pct) => {
45432
45437
  updateOne(att.id, { progress: pct });
45433
45438
  },
45434
- _optionalChain([ctrl, 'optionalAccess', _1072 => _1072.signal])
45439
+ _optionalChain([ctrl, 'optionalAccess', _1073 => _1073.signal])
45435
45440
  );
45436
- if (_optionalChain([ctrl, 'optionalAccess', _1073 => _1073.signal, 'access', _1074 => _1074.aborted])) return;
45441
+ if (_optionalChain([ctrl, 'optionalAccess', _1074 => _1074.signal, 'access', _1075 => _1075.aborted])) return;
45437
45442
  updateOne(att.id, {
45438
45443
  status: "ready",
45439
45444
  progress: 100,
@@ -45441,7 +45446,7 @@ function useChatAttachments() {
45441
45446
  viewToken: mintData.viewToken
45442
45447
  });
45443
45448
  } catch (err) {
45444
- if (_optionalChain([ctrl, 'optionalAccess', _1075 => _1075.signal, 'access', _1076 => _1076.aborted])) return;
45449
+ if (_optionalChain([ctrl, 'optionalAccess', _1076 => _1076.signal, 'access', _1077 => _1077.aborted])) return;
45445
45450
  const message2 = err instanceof Error ? err.message : String(err);
45446
45451
  updateOne(att.id, { status: "error", progress: 0, errorMessage: message2 });
45447
45452
  } finally {
@@ -45592,7 +45597,7 @@ var ANON_DEFAULTS = {
45592
45597
  function useResolveChatIdentity(enabled) {
45593
45598
  const runtime = _chunkN2DVKXN4cjs.useRequiredChatRuntime.call(void 0, );
45594
45599
  const url = runtime.endpoints.identityUrl;
45595
- const proxyEmail = _nullishCoalesce(_optionalChain([_chunkDCIB6AK3cjs.getEmbedProxyAuth.call(void 0, ), 'optionalAccess', _1077 => _1077.email]), () => ( null));
45600
+ const proxyEmail = _nullishCoalesce(_optionalChain([_chunkDCIB6AK3cjs.getEmbedProxyAuth.call(void 0, ), 'optionalAccess', _1078 => _1078.email]), () => ( null));
45596
45601
  const [data, setData] = _react.useState.call(void 0, ANON_DEFAULTS);
45597
45602
  const [isLoading, setIsLoading] = _react.useState.call(void 0, enabled);
45598
45603
  _react.useEffect.call(void 0, () => {
@@ -45683,7 +45688,7 @@ function useSSE({ useMock = true, debugMode = false, streamFn } = {}) {
45683
45688
  yield chunk;
45684
45689
  }
45685
45690
  } catch (err) {
45686
- if (_optionalChain([err, 'optionalAccess', _1078 => _1078.name]) === "AbortError" || ctrl.signal.aborted) {
45691
+ if (_optionalChain([err, 'optionalAccess', _1079 => _1079.name]) === "AbortError" || ctrl.signal.aborted) {
45687
45692
  return;
45688
45693
  }
45689
45694
  const errorMessage = err instanceof Error ? err.message : "An error occurred";
@@ -45734,7 +45739,7 @@ function useChat({
45734
45739
  const onMessagesChangeRef = _react.useRef.call(void 0, onMessagesChange);
45735
45740
  onMessagesChangeRef.current = onMessagesChange;
45736
45741
  _react.useEffect.call(void 0, () => {
45737
- _optionalChain([onMessagesChangeRef, 'access', _1079 => _1079.current, 'optionalCall', _1080 => _1080(messages)]);
45742
+ _optionalChain([onMessagesChangeRef, 'access', _1080 => _1080.current, 'optionalCall', _1081 => _1081(messages)]);
45738
45743
  }, [messages]);
45739
45744
  const {
45740
45745
  streamMessage,
@@ -45771,7 +45776,7 @@ function useChat({
45771
45776
  name: "You",
45772
45777
  content: text,
45773
45778
  timestamp: /* @__PURE__ */ new Date(),
45774
- ..._optionalChain([options, 'optionalAccess', _1081 => _1081.hidden]) ? { hidden: true } : {}
45779
+ ..._optionalChain([options, 'optionalAccess', _1082 => _1082.hidden]) ? { hidden: true } : {}
45775
45780
  };
45776
45781
  addMessage(userMessage);
45777
45782
  setIsTyping(true);
@@ -45833,7 +45838,7 @@ function useChat({
45833
45838
  currentTextSegment = "";
45834
45839
  }
45835
45840
  const seg = segment;
45836
- const proposalId = _optionalChain([seg, 'access', _1082 => _1082.data, 'optionalAccess', _1083 => _1083.requestId]);
45841
+ const proposalId = _optionalChain([seg, 'access', _1083 => _1083.data, 'optionalAccess', _1084 => _1084.requestId]);
45837
45842
  const updateApprovalMessage = (transform) => {
45838
45843
  setMessages((prev) => {
45839
45844
  for (let i = prev.length - 1; i >= 0; i--) {
@@ -45842,7 +45847,7 @@ function useChat({
45842
45847
  if (!Array.isArray(m.content)) continue;
45843
45848
  const segments = m.content;
45844
45849
  const hasMatch = segments.some(
45845
- (s) => s.type === "approval_request" && _optionalChain([s, 'access', _1084 => _1084.data, 'optionalAccess', _1085 => _1085.requestId]) === proposalId
45850
+ (s) => s.type === "approval_request" && _optionalChain([s, 'access', _1085 => _1085.data, 'optionalAccess', _1086 => _1086.requestId]) === proposalId
45846
45851
  );
45847
45852
  if (!hasMatch) continue;
45848
45853
  const next = [...prev];
@@ -45884,11 +45889,11 @@ function useChat({
45884
45889
  if (!Array.isArray(m.content)) continue;
45885
45890
  const segments = m.content;
45886
45891
  const hasMatch = segments.some(
45887
- (s) => s.type === "approval_request" && _optionalChain([s, 'access', _1086 => _1086.data, 'optionalAccess', _1087 => _1087.requestId]) === decision.proposalId
45892
+ (s) => s.type === "approval_request" && _optionalChain([s, 'access', _1087 => _1087.data, 'optionalAccess', _1088 => _1088.requestId]) === decision.proposalId
45888
45893
  );
45889
45894
  if (!hasMatch) continue;
45890
45895
  const flipped = segments.map(
45891
- (s) => s.type === "approval_request" && _optionalChain([s, 'access', _1088 => _1088.data, 'optionalAccess', _1089 => _1089.requestId]) === decision.proposalId ? { ...s, status: decision.action } : s
45896
+ (s) => s.type === "approval_request" && _optionalChain([s, 'access', _1089 => _1089.data, 'optionalAccess', _1090 => _1090.requestId]) === decision.proposalId ? { ...s, status: decision.action } : s
45892
45897
  );
45893
45898
  const next = [...prev];
45894
45899
  next[i] = { ...m, content: flipped };
@@ -46050,8 +46055,8 @@ function createDocStreamFn(source, endpoints, messagesRef, sourcesMapRef, refsMa
46050
46055
  })),
46051
46056
  { role: "user", content: message2 }
46052
46057
  ];
46053
- const targetPath = _optionalChain([extra, 'optionalAccess', _1090 => _1090.approvalAction]) ? endpoints.approvalToolUrl : endpoints.chatStreamUrl;
46054
- const requestBody = _optionalChain([extra, 'optionalAccess', _1091 => _1091.approvalAction]) ? {
46058
+ const targetPath = _optionalChain([extra, 'optionalAccess', _1091 => _1091.approvalAction]) ? endpoints.approvalToolUrl : endpoints.chatStreamUrl;
46059
+ const requestBody = _optionalChain([extra, 'optionalAccess', _1092 => _1092.approvalAction]) ? {
46055
46060
  proposal_id: extra.approvalAction.proposalId,
46056
46061
  action: extra.approvalAction.action,
46057
46062
  messages: currentMessages.filter((m) => (m.role === "user" || m.role === "assistant") && !m.hidden).map((m) => ({
@@ -46060,8 +46065,8 @@ function createDocStreamFn(source, endpoints, messagesRef, sourcesMapRef, refsMa
46060
46065
  }))
46061
46066
  } : {
46062
46067
  messages: apiMessages,
46063
- ..._optionalChain([extra, 'optionalAccess', _1092 => _1092.commandOverride]) ? { commandOverride: extra.commandOverride } : {},
46064
- ..._optionalChain([extra, 'optionalAccess', _1093 => _1093.pendingAttachments]) && extra.pendingAttachments.length > 0 ? { pendingAttachments: extra.pendingAttachments } : {}
46068
+ ..._optionalChain([extra, 'optionalAccess', _1093 => _1093.commandOverride]) ? { commandOverride: extra.commandOverride } : {},
46069
+ ..._optionalChain([extra, 'optionalAccess', _1094 => _1094.pendingAttachments]) && extra.pendingAttachments.length > 0 ? { pendingAttachments: extra.pendingAttachments } : {}
46065
46070
  };
46066
46071
  const response = await _chunkDCIB6AK3cjs.embedAuthedFetch.call(void 0, targetPath, {
46067
46072
  method: "POST",
@@ -46071,7 +46076,7 @@ function createDocStreamFn(source, endpoints, messagesRef, sourcesMapRef, refsMa
46071
46076
  if (!response.ok) {
46072
46077
  throw new Error(`Chat request failed: ${response.status}`);
46073
46078
  }
46074
- const reader = _optionalChain([response, 'access', _1094 => _1094.body, 'optionalAccess', _1095 => _1095.getReader, 'call', _1096 => _1096()]);
46079
+ const reader = _optionalChain([response, 'access', _1095 => _1095.body, 'optionalAccess', _1096 => _1096.getReader, 'call', _1097 => _1097()]);
46075
46080
  if (!reader) throw new Error("No response body");
46076
46081
  const decoder = new TextDecoder();
46077
46082
  let buffer = "";
@@ -46154,7 +46159,7 @@ function createDocStreamFn(source, endpoints, messagesRef, sourcesMapRef, refsMa
46154
46159
  const toolName = typeof meta.tool_name === "string" ? meta.tool_name : void 0;
46155
46160
  const result = _nullishCoalesce(meta.result, () => ( null));
46156
46161
  const card = _nullishCoalesce(meta.card, () => ( null));
46157
- if (_optionalChain([card, 'optionalAccess', _1097 => _1097.ref, 'optionalAccess', _1098 => _1098.id]) && _optionalChain([card, 'optionalAccess', _1099 => _1099.type])) {
46162
+ if (_optionalChain([card, 'optionalAccess', _1098 => _1098.ref, 'optionalAccess', _1099 => _1099.id]) && _optionalChain([card, 'optionalAccess', _1100 => _1100.type])) {
46158
46163
  const existing = _nullishCoalesce(refsMapRef.current.get(sendIdx), () => ( {}));
46159
46164
  const key = buildChatRefKey(card.type, card.ref.id);
46160
46165
  refsMapRef.current.set(sendIdx, { ...existing, [key]: card.ref });
@@ -46167,8 +46172,8 @@ function createDocStreamFn(source, endpoints, messagesRef, sourcesMapRef, refsMa
46167
46172
  willAutoContinue: meta.willAutoContinue === true,
46168
46173
  ...toolName ? { toolName } : {},
46169
46174
  ...result ? { result } : {},
46170
- ..._optionalChain([card, 'optionalAccess', _1100 => _1100.marker]) ? { marker: card.marker } : {},
46171
- ..._optionalChain([card, 'optionalAccess', _1101 => _1101.ref]) ? { cardRef: card.ref } : {},
46175
+ ..._optionalChain([card, 'optionalAccess', _1101 => _1101.marker]) ? { marker: card.marker } : {},
46176
+ ..._optionalChain([card, 'optionalAccess', _1102 => _1102.ref]) ? { cardRef: card.ref } : {},
46172
46177
  ...typeof meta.receiptText === "string" ? { receiptText: meta.receiptText } : {},
46173
46178
  proposalId: typeof meta.proposalId === "string" ? meta.proposalId : void 0
46174
46179
  };
@@ -46287,7 +46292,7 @@ var DEFAULT_CHAT_SOURCE = "embed";
46287
46292
  var chatStorageKey = (source) => {
46288
46293
  const base = `mingo-chat-${source}-v${CHAT_STORAGE_VERSION}`;
46289
46294
  const auth = _chunkDCIB6AK3cjs.getEmbedProxyAuth.call(void 0, );
46290
- if (_optionalChain([auth, 'optionalAccess', _1102 => _1102.email])) {
46295
+ if (_optionalChain([auth, 'optionalAccess', _1103 => _1103.email])) {
46291
46296
  return `${base}-u-${encodeURIComponent(auth.email.toLowerCase())}`;
46292
46297
  }
46293
46298
  return base;
@@ -46342,7 +46347,7 @@ function useSseChatAdapter(options, runtimeOptions = {}) {
46342
46347
  const { active = true } = runtimeOptions;
46343
46348
  const runtime = _chunkN2DVKXN4cjs.useRequiredChatRuntime.call(void 0, );
46344
46349
  const source = runtime.source || DEFAULT_CHAT_SOURCE;
46345
- const tableIdForDocumentType = _nullishCoalesce(_optionalChain([options, 'optionalAccess', _1103 => _1103.tableIdForDocumentType]), () => ( defaultTableIdForDocumentType));
46350
+ const tableIdForDocumentType = _nullishCoalesce(_optionalChain([options, 'optionalAccess', _1104 => _1104.tableIdForDocumentType]), () => ( defaultTableIdForDocumentType));
46346
46351
  const persistedRef = _react.useRef.call(void 0, null);
46347
46352
  if (persistedRef.current === null) {
46348
46353
  pruneStaleChatStorage(source);
@@ -46447,7 +46452,7 @@ function useSseChatAdapter(options, runtimeOptions = {}) {
46447
46452
  const lookupIdx = sendIdx >= 0 ? sendIdx : 0;
46448
46453
  sources = sourcesMapRef.current.get(lookupIdx);
46449
46454
  chatRefs = _nullishCoalesce(m.chatRefs, () => ( refsMapRef.current.get(lookupIdx)));
46450
- scrollAnchor = _nullishCoalesce(_optionalChain([metaMapRef, 'access', _1104 => _1104.current, 'access', _1105 => _1105.get, 'call', _1106 => _1106(lookupIdx), 'optionalAccess', _1107 => _1107.scrollAnchor]), () => ( void 0));
46455
+ scrollAnchor = _nullishCoalesce(_optionalChain([metaMapRef, 'access', _1105 => _1105.current, 'access', _1106 => _1106.get, 'call', _1107 => _1107(lookupIdx), 'optionalAccess', _1108 => _1108.scrollAnchor]), () => ( void 0));
46451
46456
  }
46452
46457
  return {
46453
46458
  id: m.id,
@@ -46495,7 +46500,7 @@ function useSseChatAdapter(options, runtimeOptions = {}) {
46495
46500
  );
46496
46501
  return;
46497
46502
  }
46498
- const refSlug = typeof _optionalChain([reference, 'access', _1108 => _1108.metadata, 'optionalAccess', _1109 => _1109.slug]) === "string" && reference.metadata.slug.length > 0 ? reference.metadata.slug : "";
46503
+ const refSlug = typeof _optionalChain([reference, 'access', _1109 => _1109.metadata, 'optionalAccess', _1110 => _1110.slug]) === "string" && reference.metadata.slug.length > 0 ? reference.metadata.slug : "";
46499
46504
  const queryValue = refSlug || sanitizeTitleForChat(reference.title) || reference.id;
46500
46505
  const escaped = queryValue.replace(/\\/g, "\\\\").replace(/"/g, '\\"');
46501
46506
  const text = `/${cmdId} display "${escaped}"`;
@@ -46567,18 +46572,18 @@ function useSseChatAdapter(options, runtimeOptions = {}) {
46567
46572
  clearMessages,
46568
46573
  streamingPhase,
46569
46574
  /** Provider key for the lib's `<ModelDisplay>` icon. */
46570
- currentProvider: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1110 => _1110.provider]), () => ( null)),
46571
- currentModelLabel: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1111 => _1111.modelLabel]), () => ( null)),
46572
- currentContextWindowMaxTokens: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1112 => _1112.contextWindowMaxTokens]), () => ( null)),
46575
+ currentProvider: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1111 => _1111.provider]), () => ( null)),
46576
+ currentModelLabel: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1112 => _1112.modelLabel]), () => ( null)),
46577
+ currentContextWindowMaxTokens: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1113 => _1113.contextWindowMaxTokens]), () => ( null)),
46573
46578
  /** Input tokens (known after server's message_start frame; null until). */
46574
- currentInputTokens: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1113 => _1113.inputTokens]), () => ( null)),
46579
+ currentInputTokens: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1114 => _1114.inputTokens]), () => ( null)),
46575
46580
  /** Output tokens (known only after server's trailing usage frame). */
46576
- currentOutputTokens: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1114 => _1114.outputTokens]), () => ( null)),
46581
+ currentOutputTokens: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1115 => _1115.outputTokens]), () => ( null)),
46577
46582
  /** Cache hit % (read / total-input × 100). null during streaming. */
46578
- currentCacheHitRatePct: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1115 => _1115.cacheHitRatePct]), () => ( null)),
46583
+ currentCacheHitRatePct: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1116 => _1116.cacheHitRatePct]), () => ( null)),
46579
46584
  /** Cross-call usage breakdown (Haiku rewriter/classifier/summarizer
46580
46585
  * token counts). null until the trailing usage frame lands. */
46581
- currentUsageBreakdown: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1116 => _1116.breakdown]), () => ( null)),
46586
+ currentUsageBreakdown: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1117 => _1117.breakdown]), () => ( null)),
46582
46587
  // ─── Dialog management — stubs for v1 ────────────────────────────────
46583
46588
  // Guide mode currently keeps its history in `localStorage` opaquely
46584
46589
  // under the hood (`runtime.source` namespaced key). Surfacing that
@@ -46636,15 +46641,15 @@ var noopRejectRequest = async (_id, _reason) => {
46636
46641
 
46637
46642
  // src/components/chat/utils/process-historical-messages.ts
46638
46643
  function getOwnerDisplayName(owner) {
46639
- if (_optionalChain([owner, 'optionalAccess', _1117 => _1117.type]) === OWNER_TYPE.ADMIN && owner.user) {
46644
+ if (_optionalChain([owner, 'optionalAccess', _1118 => _1118.type]) === OWNER_TYPE.ADMIN && owner.user) {
46640
46645
  const { firstName, lastName } = owner.user;
46641
46646
  const name = [firstName, lastName].filter(Boolean).join(" ");
46642
46647
  if (name) return name;
46643
46648
  }
46644
- return _optionalChain([owner, 'optionalAccess', _1118 => _1118.type]) === OWNER_TYPE.ADMIN ? "Admin" : "You";
46649
+ return _optionalChain([owner, 'optionalAccess', _1119 => _1119.type]) === OWNER_TYPE.ADMIN ? "Admin" : "You";
46645
46650
  }
46646
46651
  function getOwnerAvatar(owner) {
46647
- return _nullishCoalesce(_optionalChain([owner, 'optionalAccess', _1119 => _1119.user, 'optionalAccess', _1120 => _1120.image, 'optionalAccess', _1121 => _1121.imageUrl]), () => ( void 0));
46652
+ return _nullishCoalesce(_optionalChain([owner, 'optionalAccess', _1120 => _1120.user, 'optionalAccess', _1121 => _1121.image, 'optionalAccess', _1122 => _1122.imageUrl]), () => ( void 0));
46648
46653
  }
46649
46654
  function pushStandaloneMessages(processedMessages, msg, messageDataArray) {
46650
46655
  messageDataArray.forEach((data) => {
@@ -46707,14 +46712,14 @@ function processHistoricalMessages(messages, options = {}) {
46707
46712
  pushStandaloneMessages(processedMessages, msg, messageDataArray);
46708
46713
  return;
46709
46714
  }
46710
- const isUserMessage = _optionalChain([msg, 'access', _1122 => _1122.owner, 'optionalAccess', _1123 => _1123.type]) === OWNER_TYPE.CLIENT || _optionalChain([msg, 'access', _1124 => _1124.owner, 'optionalAccess', _1125 => _1125.type]) === OWNER_TYPE.ADMIN;
46715
+ const isUserMessage = _optionalChain([msg, 'access', _1123 => _1123.owner, 'optionalAccess', _1124 => _1124.type]) === OWNER_TYPE.CLIENT || _optionalChain([msg, 'access', _1125 => _1125.owner, 'optionalAccess', _1126 => _1126.type]) === OWNER_TYPE.ADMIN;
46711
46716
  if (isUserMessage) {
46712
46717
  flushAssistantMessage();
46713
- const userAuthorType = _optionalChain([msg, 'access', _1126 => _1126.owner, 'optionalAccess', _1127 => _1127.type]) === OWNER_TYPE.ADMIN ? "admin" : "user";
46718
+ const userAuthorType = _optionalChain([msg, 'access', _1127 => _1127.owner, 'optionalAccess', _1128 => _1128.type]) === OWNER_TYPE.ADMIN ? "admin" : "user";
46714
46719
  messageDataArray.forEach((data) => {
46715
46720
  if (data.type === MESSAGE_TYPE.TEXT && "text" in data && data.text) {
46716
46721
  const rawContext = data.contextItems;
46717
- const contextItems = Array.isArray(rawContext) ? rawContext.filter((c) => typeof _optionalChain([c, 'optionalAccess', _1128 => _1128.type]) === "string" && typeof _optionalChain([c, 'optionalAccess', _1129 => _1129.id]) === "string").map((c) => ({ type: c.type, id: c.id, label: c.id })) : void 0;
46722
+ const contextItems = Array.isArray(rawContext) ? rawContext.filter((c) => typeof _optionalChain([c, 'optionalAccess', _1129 => _1129.type]) === "string" && typeof _optionalChain([c, 'optionalAccess', _1130 => _1130.id]) === "string").map((c) => ({ type: c.type, id: c.id, label: c.id })) : void 0;
46718
46723
  processedMessages.push({
46719
46724
  id: msg.id,
46720
46725
  role: "user",
@@ -46738,7 +46743,7 @@ function processHistoricalMessages(messages, options = {}) {
46738
46743
  });
46739
46744
  const nextMsg = messages[index + 1];
46740
46745
  const isLastMessage = index === messages.length - 1;
46741
- const nextIsFromUser = nextMsg && (_optionalChain([nextMsg, 'access', _1130 => _1130.owner, 'optionalAccess', _1131 => _1131.type]) === OWNER_TYPE.CLIENT || _optionalChain([nextMsg, 'access', _1132 => _1132.owner, 'optionalAccess', _1133 => _1133.type]) === OWNER_TYPE.ADMIN);
46746
+ const nextIsFromUser = nextMsg && (_optionalChain([nextMsg, 'access', _1131 => _1131.owner, 'optionalAccess', _1132 => _1132.type]) === OWNER_TYPE.CLIENT || _optionalChain([nextMsg, 'access', _1133 => _1133.owner, 'optionalAccess', _1134 => _1134.type]) === OWNER_TYPE.ADMIN);
46742
46747
  if (isLastMessage || nextIsFromUser) {
46743
46748
  flushAssistantMessage();
46744
46749
  }
@@ -46848,7 +46853,7 @@ function processMessageData(data, accumulator, approvalStatuses, options = {}, e
46848
46853
  }
46849
46854
  }
46850
46855
  } else {
46851
- _optionalChain([escalatedApprovals, 'optionalAccess', _1134 => _1134.set, 'call', _1135 => _1135(data.approvalRequestId, {
46856
+ _optionalChain([escalatedApprovals, 'optionalAccess', _1135 => _1135.set, 'call', _1136 => _1136(data.approvalRequestId, {
46852
46857
  command: data.command || "",
46853
46858
  explanation: data.explanation,
46854
46859
  approvalType,
@@ -46862,8 +46867,8 @@ function processMessageData(data, accumulator, approvalStatuses, options = {}, e
46862
46867
  const existingStatus = approvalStatuses[data.approvalRequestId];
46863
46868
  const status = existingStatus || (data.approved ? "approved" : "rejected");
46864
46869
  const resolvedByName = "resolvedByName" in data ? data.resolvedByName : void 0;
46865
- const escalatedData = _optionalChain([escalatedApprovals, 'optionalAccess', _1136 => _1136.get, 'call', _1137 => _1137(data.approvalRequestId)]);
46866
- if (_optionalChain([escalatedData, 'optionalAccess', _1138 => _1138.toolCalls]) && escalatedData.toolCalls.length > 0) {
46870
+ const escalatedData = _optionalChain([escalatedApprovals, 'optionalAccess', _1137 => _1137.get, 'call', _1138 => _1138(data.approvalRequestId)]);
46871
+ if (_optionalChain([escalatedData, 'optionalAccess', _1139 => _1139.toolCalls]) && escalatedData.toolCalls.length > 0) {
46867
46872
  if (batchApprovalsEnabled) {
46868
46873
  accumulator.addApprovalBatch(
46869
46874
  data.approvalRequestId,
@@ -46885,7 +46890,7 @@ function processMessageData(data, accumulator, approvalStatuses, options = {}, e
46885
46890
  );
46886
46891
  }
46887
46892
  }
46888
- _optionalChain([escalatedApprovals, 'optionalAccess', _1139 => _1139.delete, 'call', _1140 => _1140(data.approvalRequestId)]);
46893
+ _optionalChain([escalatedApprovals, 'optionalAccess', _1140 => _1140.delete, 'call', _1141 => _1141(data.approvalRequestId)]);
46889
46894
  break;
46890
46895
  }
46891
46896
  if (escalatedData) {
@@ -46894,7 +46899,7 @@ function processMessageData(data, accumulator, approvalStatuses, options = {}, e
46894
46899
  explanation: escalatedData.explanation,
46895
46900
  approvalType: escalatedData.approvalType
46896
46901
  });
46897
- _optionalChain([escalatedApprovals, 'optionalAccess', _1141 => _1141.delete, 'call', _1142 => _1142(data.approvalRequestId)]);
46902
+ _optionalChain([escalatedApprovals, 'optionalAccess', _1142 => _1142.delete, 'call', _1143 => _1143(data.approvalRequestId)]);
46898
46903
  }
46899
46904
  const before = accumulator.getSegments();
46900
46905
  const after = accumulator.updateApprovalStatus(data.approvalRequestId, status, resolvedByName);
@@ -46910,9 +46915,9 @@ function processMessageData(data, accumulator, approvalStatuses, options = {}, e
46910
46915
  case MESSAGE_TYPE.ERROR:
46911
46916
  if ("error" in data) {
46912
46917
  let message2;
46913
- if ("details" in data && _optionalChain([data, 'optionalAccess', _1143 => _1143.details])) {
46918
+ if ("details" in data && _optionalChain([data, 'optionalAccess', _1144 => _1144.details])) {
46914
46919
  try {
46915
- message2 = _optionalChain([JSON, 'access', _1144 => _1144.parse, 'call', _1145 => _1145(data.details), 'optionalAccess', _1146 => _1146.error, 'optionalAccess', _1147 => _1147.message]);
46920
+ message2 = _optionalChain([JSON, 'access', _1145 => _1145.parse, 'call', _1146 => _1146(data.details), 'optionalAccess', _1147 => _1147.error, 'optionalAccess', _1148 => _1148.message]);
46916
46921
  } catch (e59) {
46917
46922
  message2 = data.details;
46918
46923
  }
@@ -46995,14 +47000,14 @@ function processHistoricalMessagesWithErrors(messages, options = {}) {
46995
47000
  pushStandaloneMessages(processedMessages, msg, messageDataArray);
46996
47001
  return;
46997
47002
  }
46998
- const isUserMessage = _optionalChain([msg, 'access', _1148 => _1148.owner, 'optionalAccess', _1149 => _1149.type]) === OWNER_TYPE.CLIENT || _optionalChain([msg, 'access', _1150 => _1150.owner, 'optionalAccess', _1151 => _1151.type]) === OWNER_TYPE.ADMIN;
47003
+ const isUserMessage = _optionalChain([msg, 'access', _1149 => _1149.owner, 'optionalAccess', _1150 => _1150.type]) === OWNER_TYPE.CLIENT || _optionalChain([msg, 'access', _1151 => _1151.owner, 'optionalAccess', _1152 => _1152.type]) === OWNER_TYPE.ADMIN;
46999
47004
  if (isUserMessage) {
47000
47005
  flushAssistantMessage();
47001
- const userAuthorType = _optionalChain([msg, 'access', _1152 => _1152.owner, 'optionalAccess', _1153 => _1153.type]) === OWNER_TYPE.ADMIN ? "admin" : "user";
47006
+ const userAuthorType = _optionalChain([msg, 'access', _1153 => _1153.owner, 'optionalAccess', _1154 => _1154.type]) === OWNER_TYPE.ADMIN ? "admin" : "user";
47002
47007
  messageDataArray.forEach((data) => {
47003
47008
  if (data.type === MESSAGE_TYPE.TEXT && "text" in data && data.text) {
47004
47009
  const rawContext = data.contextItems;
47005
- const contextItems = Array.isArray(rawContext) ? rawContext.filter((c) => typeof _optionalChain([c, 'optionalAccess', _1154 => _1154.type]) === "string" && typeof _optionalChain([c, 'optionalAccess', _1155 => _1155.id]) === "string").map((c) => ({ type: c.type, id: c.id, label: c.id })) : void 0;
47010
+ const contextItems = Array.isArray(rawContext) ? rawContext.filter((c) => typeof _optionalChain([c, 'optionalAccess', _1155 => _1155.type]) === "string" && typeof _optionalChain([c, 'optionalAccess', _1156 => _1156.id]) === "string").map((c) => ({ type: c.type, id: c.id, label: c.id })) : void 0;
47006
47011
  processedMessages.push({
47007
47012
  id: msg.id,
47008
47013
  role: "user",
@@ -47026,7 +47031,7 @@ function processHistoricalMessagesWithErrors(messages, options = {}) {
47026
47031
  });
47027
47032
  const nextMsg = messages[index + 1];
47028
47033
  const isLastMessage = index === messages.length - 1;
47029
- const nextIsFromUser = nextMsg && (_optionalChain([nextMsg, 'access', _1156 => _1156.owner, 'optionalAccess', _1157 => _1157.type]) === OWNER_TYPE.CLIENT || _optionalChain([nextMsg, 'access', _1158 => _1158.owner, 'optionalAccess', _1159 => _1159.type]) === OWNER_TYPE.ADMIN);
47034
+ const nextIsFromUser = nextMsg && (_optionalChain([nextMsg, 'access', _1157 => _1157.owner, 'optionalAccess', _1158 => _1158.type]) === OWNER_TYPE.CLIENT || _optionalChain([nextMsg, 'access', _1159 => _1159.owner, 'optionalAccess', _1160 => _1160.type]) === OWNER_TYPE.ADMIN);
47030
47035
  if (isLastMessage || nextIsFromUser) {
47031
47036
  flushAssistantMessage();
47032
47037
  }
@@ -47362,7 +47367,7 @@ function useNatsChatAdapter(config, options = {}) {
47362
47367
  }, [active, fetchDialogs, loadDialogsPage]);
47363
47368
  const sendMessage = _react.useCallback.call(void 0,
47364
47369
  async (text, sendOptions) => {
47365
- const hidden = _nullishCoalesce(_optionalChain([sendOptions, 'optionalAccess', _1160 => _1160.hidden]), () => ( false));
47370
+ const hidden = _nullishCoalesce(_optionalChain([sendOptions, 'optionalAccess', _1161 => _1161.hidden]), () => ( false));
47366
47371
  setMessages((prev) => [
47367
47372
  ...prev,
47368
47373
  {
@@ -47526,11 +47531,11 @@ function useNatsChatAdapter(config, options = {}) {
47526
47531
  // Tokens: live `token_usage` frame / dialog snapshot (`dialogTokenUsage`).
47527
47532
  // contextWindow uses the dialog's `contextSize` (the "X / Y" denominator,
47528
47533
  // matching the /mingo page). cacheHitRate/breakdown are SSE-only → null.
47529
- currentProvider: _nullishCoalesce(_nullishCoalesce(_optionalChain([liveModel, 'optionalAccess', _1161 => _1161.provider]), () => ( modelProvider)), () => ( null)),
47530
- currentModelLabel: _nullishCoalesce(_nullishCoalesce(_optionalChain([liveModel, 'optionalAccess', _1162 => _1162.modelLabel]), () => ( modelLabel)), () => ( null)),
47531
- currentContextWindowMaxTokens: _nullishCoalesce(_nullishCoalesce(_optionalChain([dialogTokenUsage, 'optionalAccess', _1163 => _1163.contextSize]), () => ( _optionalChain([liveModel, 'optionalAccess', _1164 => _1164.contextWindowMaxTokens]))), () => ( null)),
47532
- currentInputTokens: _nullishCoalesce(_optionalChain([dialogTokenUsage, 'optionalAccess', _1165 => _1165.inputTokensSize]), () => ( null)),
47533
- currentOutputTokens: _nullishCoalesce(_optionalChain([dialogTokenUsage, 'optionalAccess', _1166 => _1166.outputTokensSize]), () => ( null)),
47534
+ currentProvider: _nullishCoalesce(_nullishCoalesce(_optionalChain([liveModel, 'optionalAccess', _1162 => _1162.provider]), () => ( modelProvider)), () => ( null)),
47535
+ currentModelLabel: _nullishCoalesce(_nullishCoalesce(_optionalChain([liveModel, 'optionalAccess', _1163 => _1163.modelLabel]), () => ( modelLabel)), () => ( null)),
47536
+ currentContextWindowMaxTokens: _nullishCoalesce(_nullishCoalesce(_optionalChain([dialogTokenUsage, 'optionalAccess', _1164 => _1164.contextSize]), () => ( _optionalChain([liveModel, 'optionalAccess', _1165 => _1165.contextWindowMaxTokens]))), () => ( null)),
47537
+ currentInputTokens: _nullishCoalesce(_optionalChain([dialogTokenUsage, 'optionalAccess', _1166 => _1166.inputTokensSize]), () => ( null)),
47538
+ currentOutputTokens: _nullishCoalesce(_optionalChain([dialogTokenUsage, 'optionalAccess', _1167 => _1167.outputTokensSize]), () => ( null)),
47534
47539
  currentCacheHitRatePct: null,
47535
47540
  currentUsageBreakdown: null,
47536
47541
  // Dialog management
@@ -47778,7 +47783,7 @@ function extractIncompleteMessageState(lastMessage) {
47778
47783
  break;
47779
47784
  case "approval_batch": {
47780
47785
  const allDone = !!segment.data.executions && segment.data.toolCalls.every(
47781
- (c) => _optionalChain([segment, 'access', _1167 => _1167.data, 'access', _1168 => _1168.executions, 'optionalAccess', _1169 => _1169[c.toolExecutionRequestId], 'optionalAccess', _1170 => _1170.status]) === "done"
47786
+ (c) => _optionalChain([segment, 'access', _1168 => _1168.data, 'access', _1169 => _1169.executions, 'optionalAccess', _1170 => _1170[c.toolExecutionRequestId], 'optionalAccess', _1171 => _1171.status]) === "done"
47782
47787
  );
47783
47788
  if (segment.status !== "rejected" && !allDone) {
47784
47789
  hasIncompleteState = true;
@@ -47846,20 +47851,20 @@ function mergeHistoryWithRealtime(input) {
47846
47851
  const seqCoverageKnown = realtimeSeenStreamSeq > 0 && historyMaxStreamSeq > 0;
47847
47852
  const historyCoversRealtime = seqCoverageKnown ? historyMaxStreamSeq >= realtimeSeenStreamSeq : null;
47848
47853
  const trailing = processedHistory[processedHistory.length - 1];
47849
- const historyTrailingAssistant = _optionalChain([trailing, 'optionalAccess', _1171 => _1171.role]) === "assistant" ? trailing : null;
47850
- const historyBatchId = historyTrailingAssistant && Array.isArray(historyTrailingAssistant.content) ? _nullishCoalesce(_optionalChain([historyTrailingAssistant, 'access', _1172 => _1172.content, 'access', _1173 => _1173.find, 'call', _1174 => _1174((s) => s.type === "approval_batch"), 'optionalAccess', _1175 => _1175.data, 'optionalAccess', _1176 => _1176.approvalRequestId]), () => ( null)) : null;
47854
+ const historyTrailingAssistant = _optionalChain([trailing, 'optionalAccess', _1172 => _1172.role]) === "assistant" ? trailing : null;
47855
+ const historyBatchId = historyTrailingAssistant && Array.isArray(historyTrailingAssistant.content) ? _nullishCoalesce(_optionalChain([historyTrailingAssistant, 'access', _1173 => _1173.content, 'access', _1174 => _1174.find, 'call', _1175 => _1175((s) => s.type === "approval_batch"), 'optionalAccess', _1176 => _1176.data, 'optionalAccess', _1177 => _1177.approvalRequestId]), () => ( null)) : null;
47851
47856
  let processedToUse = processedHistory;
47852
47857
  const pinnedSyntheticIds = /* @__PURE__ */ new Set();
47853
47858
  const droppedSyntheticIds = /* @__PURE__ */ new Set();
47854
47859
  if (historyBatchId) {
47855
47860
  const batchTwins = existingMessages.filter(
47856
47861
  (m) => m.role === "assistant" && Array.isArray(m.content) && m.content.some(
47857
- (s) => s.type === "approval_batch" && _optionalChain([s, 'access', _1177 => _1177.data, 'optionalAccess', _1178 => _1178.approvalRequestId]) === historyBatchId
47862
+ (s) => s.type === "approval_batch" && _optionalChain([s, 'access', _1178 => _1178.data, 'optionalAccess', _1179 => _1179.approvalRequestId]) === historyBatchId
47858
47863
  )
47859
47864
  );
47860
47865
  const existingWithSameBatch = _nullishCoalesce(batchTwins.find((m) => m.id === streamingMessageId), () => ( batchTwins[batchTwins.length - 1]));
47861
47866
  if (existingWithSameBatch && Array.isArray(existingWithSameBatch.content)) {
47862
- const histSize = Array.isArray(_optionalChain([historyTrailingAssistant, 'optionalAccess', _1179 => _1179.content])) ? historyTrailingAssistant.content.length : 0;
47867
+ const histSize = Array.isArray(_optionalChain([historyTrailingAssistant, 'optionalAccess', _1180 => _1180.content])) ? historyTrailingAssistant.content.length : 0;
47863
47868
  const realtimeSize = existingWithSameBatch.content.length;
47864
47869
  if (existingWithSameBatch.id === streamingMessageId || realtimeSize > histSize) {
47865
47870
  processedToUse = processedHistory.slice(0, -1);
@@ -47875,16 +47880,16 @@ function mergeHistoryWithRealtime(input) {
47875
47880
  if (pinnedSyntheticIds.has(m.id)) return true;
47876
47881
  if (droppedSyntheticIds.has(m.id)) return false;
47877
47882
  if (processedIds.has(m.id)) return false;
47878
- if (_optionalChain([rawHistoryIds, 'optionalAccess', _1180 => _1180.has, 'call', _1181 => _1181(m.id)])) return false;
47883
+ if (_optionalChain([rawHistoryIds, 'optionalAccess', _1181 => _1181.has, 'call', _1182 => _1182(m.id)])) return false;
47879
47884
  if (m.role === "user" && m.id.startsWith("optimistic-") && typeof m.content === "string") {
47880
- const canBeInSnapshot = (_nullishCoalesce(_optionalChain([m, 'access', _1182 => _1182.timestamp, 'optionalAccess', _1183 => _1183.getTime, 'call', _1184 => _1184()]), () => ( 0))) <= historyFetchedAt;
47885
+ const canBeInSnapshot = (_nullishCoalesce(_optionalChain([m, 'access', _1183 => _1183.timestamp, 'optionalAccess', _1184 => _1184.getTime, 'call', _1185 => _1185()]), () => ( 0))) <= historyFetchedAt;
47881
47886
  return !(canBeInSnapshot && processedToUse.some((pm) => pm.role === "user" && pm.content === m.content));
47882
47887
  }
47883
47888
  if (isSyntheticRealtimeId(m.id) && m.id !== streamingMessageId) {
47884
47889
  if (m.role === "assistant" && trailingAssistantText && assistantAnswerText(m.content) === trailingAssistantText) {
47885
47890
  return false;
47886
47891
  }
47887
- const covered = typeof m.streamSeq === "number" && historyMaxStreamSeq > 0 ? historyMaxStreamSeq >= m.streamSeq : historyCoversRealtime !== null ? historyCoversRealtime : (_nullishCoalesce(_optionalChain([m, 'access', _1185 => _1185.timestamp, 'optionalAccess', _1186 => _1186.getTime, 'call', _1187 => _1187()]), () => ( 0))) <= historyFetchedAt;
47892
+ const covered = typeof m.streamSeq === "number" && historyMaxStreamSeq > 0 ? historyMaxStreamSeq >= m.streamSeq : historyCoversRealtime !== null ? historyCoversRealtime : (_nullishCoalesce(_optionalChain([m, 'access', _1186 => _1186.timestamp, 'optionalAccess', _1187 => _1187.getTime, 'call', _1188 => _1188()]), () => ( 0))) <= historyFetchedAt;
47888
47893
  if (covered) return false;
47889
47894
  }
47890
47895
  return true;
@@ -48104,7 +48109,7 @@ function useChatDialogManager({
48104
48109
  const handleConfirmRestore = _react.useCallback.call(void 0, async () => {
48105
48110
  if (restoreTarget) {
48106
48111
  try {
48107
- await _optionalChain([unarchiveDialog, 'optionalCall', _1188 => _1188(restoreTarget.id)]);
48112
+ await _optionalChain([unarchiveDialog, 'optionalCall', _1189 => _1189(restoreTarget.id)]);
48108
48113
  } catch (err) {
48109
48114
  console.error("[useChatDialogManager] unarchive failed:", err);
48110
48115
  return;
@@ -48513,7 +48518,7 @@ function EmbeddableChatInner({
48513
48518
  }),
48514
48519
  [commandsUrl]
48515
48520
  );
48516
- const userName = _optionalChain([identityUser, 'optionalAccess', _1189 => _1189.firstName, 'optionalAccess', _1190 => _1190.trim, 'call', _1191 => _1191()]) || _optionalChain([identityUser, 'optionalAccess', _1192 => _1192.name, 'optionalAccess', _1193 => _1193.split, 'call', _1194 => _1194(" "), 'access', _1195 => _1195[0], 'optionalAccess', _1196 => _1196.trim, 'call', _1197 => _1197()]) || void 0;
48521
+ const userName = _optionalChain([identityUser, 'optionalAccess', _1190 => _1190.firstName, 'optionalAccess', _1191 => _1191.trim, 'call', _1192 => _1192()]) || _optionalChain([identityUser, 'optionalAccess', _1193 => _1193.name, 'optionalAccess', _1194 => _1194.split, 'call', _1195 => _1195(" "), 'access', _1196 => _1196[0], 'optionalAccess', _1197 => _1197.trim, 'call', _1198 => _1198()]) || void 0;
48517
48522
  const effectiveModes = _react.useMemo.call(void 0, () => {
48518
48523
  if (modes) return modes;
48519
48524
  const guideOptions = tableIdForDocumentType ? { tableIdForDocumentType } : {};
@@ -48522,19 +48527,19 @@ function EmbeddableChatInner({
48522
48527
  const mingoCaps = _react.useMemo.call(void 0, () => {
48523
48528
  if (mingoState) {
48524
48529
  return {
48525
- canRename: _nullishCoalesce(_optionalChain([mingoDialogCapabilities, 'optionalAccess', _1198 => _1198.canRename]), () => ( false)),
48526
- canArchive: _nullishCoalesce(_optionalChain([mingoDialogCapabilities, 'optionalAccess', _1199 => _1199.canArchive]), () => ( false)),
48527
- fetchArchivedDialogs: _optionalChain([mingoDialogCapabilities, 'optionalAccess', _1200 => _1200.fetchArchivedDialogs]),
48528
- unarchiveDialog: _optionalChain([mingoDialogCapabilities, 'optionalAccess', _1201 => _1201.unarchiveDialog]),
48529
- searchQuery: _optionalChain([mingoDialogCapabilities, 'optionalAccess', _1202 => _1202.searchQuery]),
48530
- onSearchChange: _optionalChain([mingoDialogCapabilities, 'optionalAccess', _1203 => _1203.onSearchChange])
48530
+ canRename: _nullishCoalesce(_optionalChain([mingoDialogCapabilities, 'optionalAccess', _1199 => _1199.canRename]), () => ( false)),
48531
+ canArchive: _nullishCoalesce(_optionalChain([mingoDialogCapabilities, 'optionalAccess', _1200 => _1200.canArchive]), () => ( false)),
48532
+ fetchArchivedDialogs: _optionalChain([mingoDialogCapabilities, 'optionalAccess', _1201 => _1201.fetchArchivedDialogs]),
48533
+ unarchiveDialog: _optionalChain([mingoDialogCapabilities, 'optionalAccess', _1202 => _1202.unarchiveDialog]),
48534
+ searchQuery: _optionalChain([mingoDialogCapabilities, 'optionalAccess', _1203 => _1203.searchQuery]),
48535
+ onSearchChange: _optionalChain([mingoDialogCapabilities, 'optionalAccess', _1204 => _1204.onSearchChange])
48531
48536
  };
48532
48537
  }
48533
48538
  return {
48534
- canRename: !!_optionalChain([effectiveModes, 'access', _1204 => _1204.mingo, 'optionalAccess', _1205 => _1205.renameDialog]),
48535
- canArchive: !!_optionalChain([effectiveModes, 'access', _1206 => _1206.mingo, 'optionalAccess', _1207 => _1207.archiveDialog]),
48536
- fetchArchivedDialogs: _optionalChain([effectiveModes, 'access', _1208 => _1208.mingo, 'optionalAccess', _1209 => _1209.fetchArchivedDialogs]),
48537
- unarchiveDialog: _optionalChain([effectiveModes, 'access', _1210 => _1210.mingo, 'optionalAccess', _1211 => _1211.unarchiveDialog]),
48539
+ canRename: !!_optionalChain([effectiveModes, 'access', _1205 => _1205.mingo, 'optionalAccess', _1206 => _1206.renameDialog]),
48540
+ canArchive: !!_optionalChain([effectiveModes, 'access', _1207 => _1207.mingo, 'optionalAccess', _1208 => _1208.archiveDialog]),
48541
+ fetchArchivedDialogs: _optionalChain([effectiveModes, 'access', _1209 => _1209.mingo, 'optionalAccess', _1210 => _1210.fetchArchivedDialogs]),
48542
+ unarchiveDialog: _optionalChain([effectiveModes, 'access', _1211 => _1211.mingo, 'optionalAccess', _1212 => _1212.unarchiveDialog]),
48538
48543
  searchQuery: void 0,
48539
48544
  onSearchChange: void 0
48540
48545
  };
@@ -48548,7 +48553,7 @@ function EmbeddableChatInner({
48548
48553
  if (controlledActiveMode === void 0) {
48549
48554
  setUncontrolledActiveMode(next);
48550
48555
  }
48551
- _optionalChain([onActiveModeChange, 'optionalCall', _1212 => _1212(next)]);
48556
+ _optionalChain([onActiveModeChange, 'optionalCall', _1213 => _1213(next)]);
48552
48557
  },
48553
48558
  [controlledActiveMode, onActiveModeChange]
48554
48559
  );
@@ -48602,7 +48607,7 @@ function EmbeddableChatInner({
48602
48607
  clear: clearAttachments
48603
48608
  } = useChatAttachments();
48604
48609
  const { panelRef: galleryPanelRef, modal: galleryModal } = useChatAttachmentImageGallery();
48605
- const contextMaxItems = _nullishCoalesce(_optionalChain([contextPicker, 'optionalAccess', _1213 => _1213.maxItems]), () => ( 10));
48610
+ const contextMaxItems = _nullishCoalesce(_optionalChain([contextPicker, 'optionalAccess', _1214 => _1214.maxItems]), () => ( 10));
48606
48611
  const contextPickerForMode = activeMode === "mingo" ? contextPicker : void 0;
48607
48612
  const [contextItems, setContextItems] = _react.useState.call(void 0, []);
48608
48613
  const [contextPickerOpen, setContextPickerOpen] = _react.useState.call(void 0, false);
@@ -48619,10 +48624,10 @@ function EmbeddableChatInner({
48619
48624
  }, [activeDialogId, activeMode]);
48620
48625
  const mentionMarkerByType = _react.useMemo.call(void 0, () => {
48621
48626
  const m = /* @__PURE__ */ new Map();
48622
- for (const t of _nullishCoalesce(_optionalChain([contextPicker, 'optionalAccess', _1214 => _1214.entityTypes]), () => ( []))) if (t.marker) m.set(t.type, t.marker);
48627
+ for (const t of _nullishCoalesce(_optionalChain([contextPicker, 'optionalAccess', _1215 => _1215.entityTypes]), () => ( []))) if (t.marker) m.set(t.type, t.marker);
48623
48628
  return m;
48624
- }, [_optionalChain([contextPicker, 'optionalAccess', _1215 => _1215.entityTypes])]);
48625
- const contextEntityTypes = _optionalChain([contextPicker, 'optionalAccess', _1216 => _1216.entityTypes]);
48629
+ }, [_optionalChain([contextPicker, 'optionalAccess', _1216 => _1216.entityTypes])]);
48630
+ const contextEntityTypes = _optionalChain([contextPicker, 'optionalAccess', _1217 => _1217.entityTypes]);
48626
48631
  const resolveContextIcon = _react.useMemo.call(void 0, () => {
48627
48632
  const byType = /* @__PURE__ */ new Map();
48628
48633
  for (const t of _nullishCoalesce(contextEntityTypes, () => ( []))) byType.set(t.type, t.icon);
@@ -48634,7 +48639,7 @@ function EmbeddableChatInner({
48634
48639
  if (mentionActiveRef.current) {
48635
48640
  if (contextItems.some((p) => `${p.type}:${p.id}` === key)) return;
48636
48641
  if (contextItems.length >= contextMaxItems) return;
48637
- _optionalChain([chatInputRef, 'access', _1217 => _1217.current, 'optionalAccess', _1218 => _1218.commitMention, 'call', _1219 => _1219(mentionTokenOf(key, mentionMarkerByType), {
48642
+ _optionalChain([chatInputRef, 'access', _1218 => _1218.current, 'optionalAccess', _1219 => _1219.commitMention, 'call', _1220 => _1220(mentionTokenOf(key, mentionMarkerByType), {
48638
48643
  label: item.label,
48639
48644
  icon: resolveContextIcon(item)
48640
48645
  })]);
@@ -48656,9 +48661,9 @@ function EmbeddableChatInner({
48656
48661
  setContextItems((prev) => prev.filter((p) => `${p.type}:${p.id}` !== key));
48657
48662
  if (mentionKeysRef.current.has(key)) {
48658
48663
  mentionKeysRef.current.delete(key);
48659
- const cur = _nullishCoalesce(_optionalChain([chatInputRef, 'access', _1220 => _1220.current, 'optionalAccess', _1221 => _1221.getValue, 'call', _1222 => _1222()]), () => ( ""));
48664
+ const cur = _nullishCoalesce(_optionalChain([chatInputRef, 'access', _1221 => _1221.current, 'optionalAccess', _1222 => _1222.getValue, 'call', _1223 => _1223()]), () => ( ""));
48660
48665
  const next = cur.replace(`@${mentionTokenOf(key, mentionMarkerByType)}`, "").replace(/\s{2,}/g, " ").trimStart();
48661
- _optionalChain([chatInputRef, 'access', _1223 => _1223.current, 'optionalAccess', _1224 => _1224.setValue, 'call', _1225 => _1225(next)]);
48666
+ _optionalChain([chatInputRef, 'access', _1224 => _1224.current, 'optionalAccess', _1225 => _1225.setValue, 'call', _1226 => _1226(next)]);
48662
48667
  }
48663
48668
  }, [mentionMarkerByType]);
48664
48669
  const handleContextValueChange = _react.useCallback.call(void 0, (value) => {
@@ -48675,7 +48680,7 @@ function EmbeddableChatInner({
48675
48680
  }, []);
48676
48681
  const closeContextPicker = _react.useCallback.call(void 0, () => {
48677
48682
  if (mentionActiveRef.current) {
48678
- _optionalChain([chatInputRef, 'access', _1226 => _1226.current, 'optionalAccess', _1227 => _1227.removeMentionTrigger, 'call', _1228 => _1228()]);
48683
+ _optionalChain([chatInputRef, 'access', _1227 => _1227.current, 'optionalAccess', _1228 => _1228.removeMentionTrigger, 'call', _1229 => _1229()]);
48679
48684
  }
48680
48685
  setContextPickerOpen(false);
48681
48686
  setMentionQuery(null);
@@ -48709,8 +48714,8 @@ function EmbeddableChatInner({
48709
48714
  []
48710
48715
  );
48711
48716
  const timestampCacheRef = _react.useRef.call(void 0, /* @__PURE__ */ new Map());
48712
- const guideUserName = activeMode === "guide" ? [_optionalChain([identityUser, 'optionalAccess', _1229 => _1229.firstName]), _optionalChain([identityUser, 'optionalAccess', _1230 => _1230.lastName])].filter(Boolean).join(" ").trim() || _optionalChain([identityUser, 'optionalAccess', _1231 => _1231.name, 'optionalAccess', _1232 => _1232.trim, 'call', _1233 => _1233()]) || void 0 : void 0;
48713
- const guideUserAvatar = activeMode === "guide" ? _optionalChain([identityUser, 'optionalAccess', _1234 => _1234.avatarUrl, 'optionalAccess', _1235 => _1235.trim, 'call', _1236 => _1236()]) || void 0 : void 0;
48717
+ const guideUserName = activeMode === "guide" ? [_optionalChain([identityUser, 'optionalAccess', _1230 => _1230.firstName]), _optionalChain([identityUser, 'optionalAccess', _1231 => _1231.lastName])].filter(Boolean).join(" ").trim() || _optionalChain([identityUser, 'optionalAccess', _1232 => _1232.name, 'optionalAccess', _1233 => _1233.trim, 'call', _1234 => _1234()]) || void 0 : void 0;
48718
+ const guideUserAvatar = activeMode === "guide" ? _optionalChain([identityUser, 'optionalAccess', _1235 => _1235.avatarUrl, 'optionalAccess', _1236 => _1236.trim, 'call', _1237 => _1237()]) || void 0 : void 0;
48714
48719
  const messages = _react.useMemo.call(void 0, () => {
48715
48720
  const cache = timestampCacheRef.current;
48716
48721
  const seenIds = /* @__PURE__ */ new Set();
@@ -48858,9 +48863,9 @@ function EmbeddableChatInner({
48858
48863
  const lastAssistantMsg = [...rawMessages].reverse().find((m) => m.role === "assistant");
48859
48864
  const lastSources = _react.useMemo.call(void 0, () => {
48860
48865
  if (chatLoading) return void 0;
48861
- const sources = _optionalChain([lastAssistantMsg, 'optionalAccess', _1237 => _1237.sources]);
48866
+ const sources = _optionalChain([lastAssistantMsg, 'optionalAccess', _1238 => _1238.sources]);
48862
48867
  if (!sources || sources.length === 0) return void 0;
48863
- const content = _optionalChain([lastAssistantMsg, 'optionalAccess', _1238 => _1238.content]) || "";
48868
+ const content = _optionalChain([lastAssistantMsg, 'optionalAccess', _1239 => _1239.content]) || "";
48864
48869
  const citationOrder = [...content.matchAll(/\[(\d+)\]/g)].map(
48865
48870
  (m) => parseInt(m[1], 10)
48866
48871
  );
@@ -48907,7 +48912,7 @@ function EmbeddableChatInner({
48907
48912
  ChatPanelHeader,
48908
48913
  {
48909
48914
  showBack: hasConversation || guideCanReturnToMingo,
48910
- title: hasConversation ? _optionalChain([activeDialog, 'optionalAccess', _1239 => _1239.title]) || "New Chat" : isGuideEmpty ? "Mingo Guide" : "Current Chats",
48915
+ title: hasConversation ? _optionalChain([activeDialog, 'optionalAccess', _1240 => _1240.title]) || "New Chat" : isGuideEmpty ? "Mingo Guide" : "Current Chats",
48911
48916
  backAriaLabel: hasConversation ? isViewingArchived ? "Back to archive" : "Back" : "Back to Mingo",
48912
48917
  isArchivedView: isViewingArchived,
48913
48918
  onBack: hasConversation ? handleBack : () => handleActiveModeChange("mingo"),
@@ -49025,7 +49030,7 @@ function EmbeddableChatInner({
49025
49030
  subtitle: _nullishCoalesce(effectiveGreeting, () => ( void 0)),
49026
49031
  subtitleLoading: emptyStateLoading,
49027
49032
  ...guideWelcome,
49028
- quickActions: _nullishCoalesce(_optionalChain([guideWelcome, 'optionalAccess', _1240 => _1240.quickActions]), () => ( guideSuggestedActions)),
49033
+ quickActions: _nullishCoalesce(_optionalChain([guideWelcome, 'optionalAccess', _1241 => _1241.quickActions]), () => ( guideSuggestedActions)),
49029
49034
  onQuickAction: (action) => {
49030
49035
  handleSend(_nullishCoalesce(action.prompt, () => ( action.label)));
49031
49036
  },
@@ -50100,5 +50105,6 @@ function EmbeddableChatInner({
50100
50105
 
50101
50106
 
50102
50107
 
50103
- 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.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.getPlatformAccentColor = getPlatformAccentColor; exports.getCurrentPlatform = getCurrentPlatform; exports.getReadableTextColor = getReadableTextColor; exports.HEX_PATTERN = HEX_PATTERN; exports.hexToRgb = hexToRgb; 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.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.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.TabContent = TabContent; exports.TabNavigation = TabNavigation; exports.getTabById = getTabById; exports.getTabComponent = getTabComponent; exports.Alert = Alert; exports.AlertTitle = AlertTitle; exports.AlertDescription = AlertDescription; exports.Progress = Progress; exports.fetchPriorityProp = fetchPriorityProp; exports.extractYouTubeId = extractYouTubeId; exports.Video = Video; 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.statusBadgeVariants = statusBadgeVariants; exports.StatusBadge = StatusBadge; exports.StatusIndicator = StatusIndicator; exports.HoverDropdown = HoverDropdown; exports.ApprovalRequestMessage = ApprovalRequestMessage; exports.ExpandChevron = ExpandChevron; exports.useCollapsible = useCollapsible; exports.getCommandText = getCommandText; exports.ArgRow = ArgRow; exports.ResultBlock = ResultBlock; exports.ApprovalBatchMessage = ApprovalBatchMessage; exports.ContextCompactionDisplay = ContextCompactionDisplay; exports.SimpleMarkdownRenderer = SimpleMarkdownRenderer; exports.ThinkingDisplay = ThinkingDisplay; exports.ErrorMessageDisplay = ErrorMessageDisplay; exports.ChatContainer = ChatContainer; exports.ChatHeader = ChatHeader; exports.ChatContent = ChatContent; exports.ChatFooter = ChatFooter; exports.ChatTypingIndicator = ChatTypingIndicator; exports.MingoOnboardingCard = MingoOnboardingCard; exports.ONBOARDING_ICONS = ONBOARDING_ICONS; exports.resolveOnboardingIcon = resolveOnboardingIcon; exports.ONBOARDING_ICON_OPTIONS = ONBOARDING_ICON_OPTIONS; exports.SlashCommandSuggestions = SlashCommandSuggestions; exports.ChatInput = ChatInput; 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.ChatQuickActionRow = ChatQuickActionRow; exports.ChatQuickActionRowSkeleton = ChatQuickActionRowSkeleton; 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.MspOrganizationCard = MspOrganizationCard; exports.MspOrganizationCardSkeleton = MspOrganizationCardSkeleton; 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.FlamingoLogo = FlamingoLogo; exports.OpenmspLogo = OpenmspLogo; exports.PlatformBadge = PlatformBadge; exports.AdminContentCard = AdminContentCard; exports.getProxiedImageUrl2 = getProxiedImageUrl2; exports.WhatIShippedCard = WhatIShippedCard; exports.WhatIShippedCardSkeleton = WhatIShippedCardSkeleton; exports.PAGE_HEADING_CLASS = PAGE_HEADING_CLASS; exports.SECTION_HEADING_CLASS = SECTION_HEADING_CLASS; exports.PageHeading = PageHeading; exports.RATIO_GRID_CLASS = RATIO_GRID_CLASS; exports.RATIO_DISPLAY_GRID_CLASS = RATIO_DISPLAY_GRID_CLASS; exports.RatioTabs = RatioTabs; exports.detectAspectRatio = detectAspectRatio; exports.ratioToCategory = ratioToCategory; exports.groupByAspectRatio = groupByAspectRatio; exports.VideoBitesDisplay = VideoBitesDisplay; 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.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.ICON_REGISTRY = ICON_REGISTRY; exports.normalizeIconKey = normalizeIconKey; exports.getIconComponent = getIconComponent; exports.getDynamicIcon = getDynamicIcon; 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.CONNECTION_STATUS = CONNECTION_STATUS; exports.buildChatRefKey = buildChatRefKey; exports.isStructuredContent = isStructuredContent; exports.normalizeContent = normalizeContent2; exports.NETWORK_CONFIG = NETWORK_CONFIG; exports.transformEventToProgram = transformEventToProgram; exports.transformPodcastToProgram = transformPodcastToProgram; exports.transformWebinarToProgram = transformWebinarToProgram; 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.DESIGN_PALETTE = DESIGN_PALETTE; exports.getContrastRatio = getContrastRatio; exports.extractDominantColor = extractDominantColor; exports.getBestContrastColor = getBestContrastColor; exports.analyzeImageColor = analyzeImageColor; exports.extractImageEdgeColorAsync = extractImageEdgeColorAsync; 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.readLeadingDecisionFrame = readLeadingDecisionFrame; 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.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.MUX_STREAM_ORIGIN = MUX_STREAM_ORIGIN; exports.MUX_IMAGE_ORIGIN = MUX_IMAGE_ORIGIN; exports.useVideoOriginPreconnect = useVideoOriginPreconnect; exports.useVideoWarmup = useVideoWarmup; 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.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.Header = Header2; exports.HeaderSkeleton = HeaderSkeleton; exports.ClientOnlyHeader = ClientOnlyHeader; exports.MobileNavPanel = MobileNavPanel; 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.useAppLayoutDrawerContainer = useAppLayoutDrawerContainer; exports.AppLayout = AppLayout; 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.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.FAE_AVATAR_DATA_URI = FAE_AVATAR_DATA_URI; exports.assets = assets;
50104
- //# sourceMappingURL=chunk-ASMOZBD6.cjs.map
50108
+
50109
+ 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.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.getPlatformAccentColor = getPlatformAccentColor; exports.getCurrentPlatform = getCurrentPlatform; exports.getReadableTextColor = getReadableTextColor; exports.HEX_PATTERN = HEX_PATTERN; exports.hexToRgb = hexToRgb; 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.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.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.TabContent = TabContent; exports.TabNavigation = TabNavigation; exports.getTabById = getTabById; exports.getTabComponent = getTabComponent; exports.Alert = Alert; exports.AlertTitle = AlertTitle; exports.AlertDescription = AlertDescription; exports.AIGeneratedBadge = AIGeneratedBadge; exports.Progress = Progress; exports.fetchPriorityProp = fetchPriorityProp; exports.extractYouTubeId = extractYouTubeId; exports.Video = Video; 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.statusBadgeVariants = statusBadgeVariants; exports.StatusBadge = StatusBadge; exports.StatusIndicator = StatusIndicator; exports.HoverDropdown = HoverDropdown; exports.ApprovalRequestMessage = ApprovalRequestMessage; exports.ExpandChevron = ExpandChevron; exports.useCollapsible = useCollapsible; exports.getCommandText = getCommandText; exports.ArgRow = ArgRow; exports.ResultBlock = ResultBlock; exports.ApprovalBatchMessage = ApprovalBatchMessage; exports.ContextCompactionDisplay = ContextCompactionDisplay; exports.SimpleMarkdownRenderer = SimpleMarkdownRenderer; exports.ThinkingDisplay = ThinkingDisplay; exports.ErrorMessageDisplay = ErrorMessageDisplay; exports.ChatContainer = ChatContainer; exports.ChatHeader = ChatHeader; exports.ChatContent = ChatContent; exports.ChatFooter = ChatFooter; exports.ChatTypingIndicator = ChatTypingIndicator; exports.MingoOnboardingCard = MingoOnboardingCard; exports.ONBOARDING_ICONS = ONBOARDING_ICONS; exports.resolveOnboardingIcon = resolveOnboardingIcon; exports.ONBOARDING_ICON_OPTIONS = ONBOARDING_ICON_OPTIONS; exports.SlashCommandSuggestions = SlashCommandSuggestions; exports.ChatInput = ChatInput; 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.ChatQuickActionRow = ChatQuickActionRow; exports.ChatQuickActionRowSkeleton = ChatQuickActionRowSkeleton; 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.MspOrganizationCard = MspOrganizationCard; exports.MspOrganizationCardSkeleton = MspOrganizationCardSkeleton; 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.FlamingoLogo = FlamingoLogo; exports.OpenmspLogo = OpenmspLogo; exports.PlatformBadge = PlatformBadge; exports.AdminContentCard = AdminContentCard; exports.getProxiedImageUrl2 = getProxiedImageUrl2; exports.WhatIShippedCard = WhatIShippedCard; exports.WhatIShippedCardSkeleton = WhatIShippedCardSkeleton; exports.PAGE_HEADING_CLASS = PAGE_HEADING_CLASS; exports.SECTION_HEADING_CLASS = SECTION_HEADING_CLASS; exports.PageHeading = PageHeading; exports.RATIO_GRID_CLASS = RATIO_GRID_CLASS; exports.RATIO_DISPLAY_GRID_CLASS = RATIO_DISPLAY_GRID_CLASS; exports.RatioTabs = RatioTabs; exports.detectAspectRatio = detectAspectRatio; exports.ratioToCategory = ratioToCategory; exports.groupByAspectRatio = groupByAspectRatio; exports.VideoBitesDisplay = VideoBitesDisplay; 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.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.ICON_REGISTRY = ICON_REGISTRY; exports.normalizeIconKey = normalizeIconKey; exports.getIconComponent = getIconComponent; exports.getDynamicIcon = getDynamicIcon; 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.CONNECTION_STATUS = CONNECTION_STATUS; exports.buildChatRefKey = buildChatRefKey; exports.isStructuredContent = isStructuredContent; exports.normalizeContent = normalizeContent2; exports.NETWORK_CONFIG = NETWORK_CONFIG; exports.transformEventToProgram = transformEventToProgram; exports.transformPodcastToProgram = transformPodcastToProgram; exports.transformWebinarToProgram = transformWebinarToProgram; 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.DESIGN_PALETTE = DESIGN_PALETTE; exports.getContrastRatio = getContrastRatio; exports.extractDominantColor = extractDominantColor; exports.getBestContrastColor = getBestContrastColor; exports.analyzeImageColor = analyzeImageColor; exports.extractImageEdgeColorAsync = extractImageEdgeColorAsync; 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.readLeadingDecisionFrame = readLeadingDecisionFrame; 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.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.MUX_STREAM_ORIGIN = MUX_STREAM_ORIGIN; exports.MUX_IMAGE_ORIGIN = MUX_IMAGE_ORIGIN; exports.useVideoOriginPreconnect = useVideoOriginPreconnect; exports.useVideoWarmup = useVideoWarmup; 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.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.Header = Header2; exports.HeaderSkeleton = HeaderSkeleton; exports.ClientOnlyHeader = ClientOnlyHeader; exports.MobileNavPanel = MobileNavPanel; 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.useAppLayoutDrawerContainer = useAppLayoutDrawerContainer; exports.AppLayout = AppLayout; 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.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.FAE_AVATAR_DATA_URI = FAE_AVATAR_DATA_URI; exports.assets = assets;
50110
+ //# sourceMappingURL=chunk-PNWORHOR.cjs.map