@flamingo-stack/openframe-frontend-core 0.0.339-snapshot.20260630004216 → 0.0.339

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 (88) hide show
  1. package/dist/{chunk-DFFOCQFO.cjs → chunk-4DXRKAV6.cjs} +5 -5
  2. package/dist/{chunk-DFFOCQFO.cjs.map → chunk-4DXRKAV6.cjs.map} +1 -1
  3. package/dist/{chunk-KE2PMD6A.js → chunk-5A5SLX2F.js} +2 -2
  4. package/dist/{chunk-SIK5LBUN.cjs → chunk-6YWPFPKC.cjs} +25 -25
  5. package/dist/{chunk-SIK5LBUN.cjs.map → chunk-6YWPFPKC.cjs.map} +1 -1
  6. package/dist/{chunk-NC3DJLP5.js → chunk-742ZCG3D.js} +4 -4
  7. package/dist/{chunk-HVYR323G.cjs → chunk-7OPVJDX6.cjs} +15 -15
  8. package/dist/{chunk-HVYR323G.cjs.map → chunk-7OPVJDX6.cjs.map} +1 -1
  9. package/dist/{chunk-4K2M2WC4.cjs → chunk-D5BRTQEA.cjs} +26 -26
  10. package/dist/{chunk-4K2M2WC4.cjs.map → chunk-D5BRTQEA.cjs.map} +1 -1
  11. package/dist/{chunk-BMSJTLGO.cjs → chunk-DKK3VRRM.cjs} +12 -12
  12. package/dist/{chunk-BMSJTLGO.cjs.map → chunk-DKK3VRRM.cjs.map} +1 -1
  13. package/dist/{chunk-W7J46YKF.js → chunk-DLXHC6JS.js} +2 -2
  14. package/dist/{chunk-573LTCRV.js → chunk-DUJINSKJ.js} +2 -2
  15. package/dist/{chunk-DRO773DG.cjs → chunk-FFNTLQZR.cjs} +56 -56
  16. package/dist/{chunk-DRO773DG.cjs.map → chunk-FFNTLQZR.cjs.map} +1 -1
  17. package/dist/{chunk-TVCBMR3N.cjs → chunk-GBE2R7R4.cjs} +7 -7
  18. package/dist/{chunk-TVCBMR3N.cjs.map → chunk-GBE2R7R4.cjs.map} +1 -1
  19. package/dist/{chunk-T4SW6GOR.js → chunk-GEJQRRD2.js} +4 -4
  20. package/dist/{chunk-MNLQMAY3.js → chunk-HHS3CJ7G.js} +2 -2
  21. package/dist/{chunk-NDHQG4I4.js → chunk-I54DGTLP.js} +3 -26
  22. package/dist/chunk-I54DGTLP.js.map +1 -0
  23. package/dist/{chunk-GGFJ5OQ3.js → chunk-I7NP2ZAJ.js} +4 -4
  24. package/dist/{chunk-53MGSWCC.js → chunk-IK22LSYP.js} +4 -4
  25. package/dist/{chunk-VA3GDVOV.cjs → chunk-J344NBBP.cjs} +37 -37
  26. package/dist/{chunk-VA3GDVOV.cjs.map → chunk-J344NBBP.cjs.map} +1 -1
  27. package/dist/{chunk-7TENQYAJ.js → chunk-J7VJHE6O.js} +2 -2
  28. package/dist/{chunk-L6YX6D26.cjs → chunk-JOLEA7LT.cjs} +31 -31
  29. package/dist/{chunk-L6YX6D26.cjs.map → chunk-JOLEA7LT.cjs.map} +1 -1
  30. package/dist/{chunk-YEB5Z76W.cjs → chunk-KPR563UC.cjs} +62 -62
  31. package/dist/{chunk-YEB5Z76W.cjs.map → chunk-KPR563UC.cjs.map} +1 -1
  32. package/dist/{chunk-EXFHHZ2C.cjs → chunk-OJJCWMLT.cjs} +9 -9
  33. package/dist/{chunk-EXFHHZ2C.cjs.map → chunk-OJJCWMLT.cjs.map} +1 -1
  34. package/dist/{chunk-ERMMMQET.cjs → chunk-PNWORHOR.cjs} +596 -619
  35. package/dist/chunk-PNWORHOR.cjs.map +1 -0
  36. package/dist/{chunk-OVN265XQ.js → chunk-S5B3ZX6U.js} +2 -2
  37. package/dist/{chunk-TOMTBXM7.js → chunk-YX7RIC4Z.js} +2 -2
  38. package/dist/components/case-studies/index.cjs +8 -8
  39. package/dist/components/case-studies/index.js +2 -2
  40. package/dist/components/chat/chat-quick-action-row.d.ts +0 -5
  41. package/dist/components/chat/chat-quick-action-row.d.ts.map +1 -1
  42. package/dist/components/chat/guide-welcome.d.ts +1 -6
  43. package/dist/components/chat/guide-welcome.d.ts.map +1 -1
  44. package/dist/components/chat/index.cjs +2 -2
  45. package/dist/components/chat/index.js +1 -1
  46. package/dist/components/contact/index.cjs +3 -3
  47. package/dist/components/contact/index.js +2 -2
  48. package/dist/components/docs/index.cjs +5 -5
  49. package/dist/components/docs/index.js +4 -4
  50. package/dist/components/embeds/index.cjs +3 -3
  51. package/dist/components/embeds/index.js +2 -2
  52. package/dist/components/faq/index.cjs +3 -3
  53. package/dist/components/faq/index.js +2 -2
  54. package/dist/components/features/index.cjs +2 -2
  55. package/dist/components/features/index.js +1 -1
  56. package/dist/components/help-center-pages/index.cjs +20 -20
  57. package/dist/components/help-center-pages/index.js +11 -11
  58. package/dist/components/index.cjs +121 -121
  59. package/dist/components/index.js +9 -9
  60. package/dist/components/navigation/index.cjs +2 -2
  61. package/dist/components/navigation/index.js +1 -1
  62. package/dist/components/onboarding-guides/index.cjs +5 -5
  63. package/dist/components/onboarding-guides/index.js +4 -4
  64. package/dist/components/related-content/index.cjs +3 -3
  65. package/dist/components/related-content/index.js +2 -2
  66. package/dist/components/tickets/index.cjs +5 -5
  67. package/dist/components/tickets/index.js +4 -4
  68. package/dist/components/ui/index.cjs +2 -2
  69. package/dist/components/ui/index.js +1 -1
  70. package/dist/index.cjs +2 -2
  71. package/dist/index.js +1 -1
  72. package/package.json +1 -1
  73. package/src/components/chat/chat-quick-action-row.tsx +0 -9
  74. package/src/components/chat/embeddable-chat.tsx +3 -24
  75. package/src/components/chat/guide-welcome.tsx +1 -10
  76. package/dist/chunk-ERMMMQET.cjs.map +0 -1
  77. package/dist/chunk-NDHQG4I4.js.map +0 -1
  78. /package/dist/{chunk-KE2PMD6A.js.map → chunk-5A5SLX2F.js.map} +0 -0
  79. /package/dist/{chunk-NC3DJLP5.js.map → chunk-742ZCG3D.js.map} +0 -0
  80. /package/dist/{chunk-W7J46YKF.js.map → chunk-DLXHC6JS.js.map} +0 -0
  81. /package/dist/{chunk-573LTCRV.js.map → chunk-DUJINSKJ.js.map} +0 -0
  82. /package/dist/{chunk-T4SW6GOR.js.map → chunk-GEJQRRD2.js.map} +0 -0
  83. /package/dist/{chunk-MNLQMAY3.js.map → chunk-HHS3CJ7G.js.map} +0 -0
  84. /package/dist/{chunk-GGFJ5OQ3.js.map → chunk-I7NP2ZAJ.js.map} +0 -0
  85. /package/dist/{chunk-53MGSWCC.js.map → chunk-IK22LSYP.js.map} +0 -0
  86. /package/dist/{chunk-7TENQYAJ.js.map → chunk-J7VJHE6O.js.map} +0 -0
  87. /package/dist/{chunk-OVN265XQ.js.map → chunk-S5B3ZX6U.js.map} +0 -0
  88. /package/dist/{chunk-TOMTBXM7.js.map → chunk-YX7RIC4Z.js.map} +0 -0
@@ -5672,10 +5672,6 @@ function ChipButton({ chip }) {
5672
5672
  {
5673
5673
  type: "button",
5674
5674
  onClick: chip.onSelect,
5675
- onMouseEnter: chip.onHoverStart,
5676
- onMouseLeave: chip.onHoverEnd,
5677
- onFocus: chip.onHoverStart,
5678
- onBlur: chip.onHoverEnd,
5679
5675
  className: "shrink-0 rounded-md focus:outline-none focus-visible:ring-2 focus-visible:ring-ods-accent",
5680
5676
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Tag, { variant: _nullishCoalesce(chip.variant, () => ( "outline")), icon: chip.icon, label: chip.label })
5681
5677
  }
@@ -6581,8 +6577,6 @@ function GuideWelcome({
6581
6577
  subtitleLoading = false,
6582
6578
  quickActions = [],
6583
6579
  onQuickAction,
6584
- onQuickActionHover,
6585
- onQuickActionHoverEnd,
6586
6580
  children,
6587
6581
  className
6588
6582
  }) {
@@ -6609,11 +6603,9 @@ function GuideWelcome({
6609
6603
  () => quickActions.map((action) => ({
6610
6604
  id: action.id,
6611
6605
  label: action.label,
6612
- onSelect: () => _optionalChain([onQuickAction, 'optionalCall', _102 => _102(action)]),
6613
- onHoverStart: () => _optionalChain([onQuickActionHover, 'optionalCall', _103 => _103(action)]),
6614
- onHoverEnd: () => _optionalChain([onQuickActionHoverEnd, 'optionalCall', _104 => _104()])
6606
+ onSelect: () => _optionalChain([onQuickAction, 'optionalCall', _102 => _102(action)])
6615
6607
  })),
6616
- [quickActions, onQuickAction, onQuickActionHover, onQuickActionHoverEnd]
6608
+ [quickActions, onQuickAction]
6617
6609
  );
6618
6610
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
6619
6611
  "div",
@@ -7052,7 +7044,7 @@ function ChatDialogModals({
7052
7044
  RenameChatModal,
7053
7045
  {
7054
7046
  isOpen: renameTarget != null,
7055
- initialName: _nullishCoalesce(_optionalChain([renameTarget, 'optionalAccess', _105 => _105.title]), () => ( "")),
7047
+ initialName: _nullishCoalesce(_optionalChain([renameTarget, 'optionalAccess', _103 => _103.title]), () => ( "")),
7056
7048
  onClose: () => setRenameTarget(null),
7057
7049
  onSave: onConfirmRename
7058
7050
  }
@@ -7316,7 +7308,7 @@ function ChatAttachmentAddButton({
7316
7308
  const canAddMore = slotsAvailable > 0 && !disabled;
7317
7309
  const handlePick = () => {
7318
7310
  if (!canAddMore) return;
7319
- _optionalChain([fileInputRef, 'access', _106 => _106.current, 'optionalAccess', _107 => _107.click, 'call', _108 => _108()]);
7311
+ _optionalChain([fileInputRef, 'access', _104 => _104.current, 'optionalAccess', _105 => _105.click, 'call', _106 => _106()]);
7320
7312
  };
7321
7313
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
7322
7314
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -7682,7 +7674,7 @@ function ChatComposer({
7682
7674
  }) {
7683
7675
  const contextEnabled = !!contextPicker && !archived;
7684
7676
  const selected = _nullishCoalesce(selectedContextItems, () => ( []));
7685
- const entityTypes = _optionalChain([contextPicker, 'optionalAccess', _109 => _109.entityTypes]);
7677
+ const entityTypes = _optionalChain([contextPicker, 'optionalAccess', _107 => _107.entityTypes]);
7686
7678
  const iconByType = React23.useMemo(() => {
7687
7679
  const map = /* @__PURE__ */ new Map();
7688
7680
  for (const t of _nullishCoalesce(entityTypes, () => ( []))) map.set(t.type, t.icon);
@@ -7711,7 +7703,7 @@ function ChatComposer({
7711
7703
  startIcon: contextEnabled ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
7712
7704
  ChatComposerPlusMenu,
7713
7705
  {
7714
- onToggle: () => contextPickerOpen ? _optionalChain([onCloseContextPicker, 'optionalCall', _110 => _110()]) : _optionalChain([onOpenContextPicker, 'optionalCall', _111 => _111()]),
7706
+ onToggle: () => contextPickerOpen ? _optionalChain([onCloseContextPicker, 'optionalCall', _108 => _108()]) : _optionalChain([onOpenContextPicker, 'optionalCall', _109 => _109()]),
7715
7707
  open: contextPickerOpen,
7716
7708
  disabled: attachmentsDisabled,
7717
7709
  dropdown: contextPicker ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -7720,8 +7712,8 @@ function ChatComposer({
7720
7712
  open: contextPickerOpen,
7721
7713
  config: contextPicker,
7722
7714
  selectedItems: selected,
7723
- onToggleItem: (item) => _optionalChain([onToggleContextItem, 'optionalCall', _112 => _112(item)]),
7724
- onClose: () => _optionalChain([onCloseContextPicker, 'optionalCall', _113 => _113()]),
7715
+ onToggleItem: (item) => _optionalChain([onToggleContextItem, 'optionalCall', _110 => _110(item)]),
7716
+ onClose: () => _optionalChain([onCloseContextPicker, 'optionalCall', _111 => _111()]),
7725
7717
  mentionQuery
7726
7718
  }
7727
7719
  ) : void 0
@@ -7928,8 +7920,8 @@ ChatSidebarSkeleton.displayName = "ChatSidebarSkeleton";
7928
7920
  var DialogListItem = _react.forwardRef.call(void 0,
7929
7921
  ({ className, dialog, isActive, onDialogSelect, onClick, ...props }, ref) => {
7930
7922
  const handleClick = (e) => {
7931
- _optionalChain([onDialogSelect, 'optionalCall', _114 => _114(dialog.id)]);
7932
- _optionalChain([onClick, 'optionalCall', _115 => _115(e)]);
7923
+ _optionalChain([onDialogSelect, 'optionalCall', _112 => _112(dialog.id)]);
7924
+ _optionalChain([onClick, 'optionalCall', _113 => _113(e)]);
7933
7925
  };
7934
7926
  const formatTimestamp2 = (timestamp) => {
7935
7927
  if (!timestamp) return "";
@@ -7988,7 +7980,7 @@ var ChatSidebar = _react.forwardRef.call(void 0,
7988
7980
  (entries) => {
7989
7981
  const [entry] = entries;
7990
7982
  if (entry.isIntersecting && !isFetchingRef.current) {
7991
- _optionalChain([onLoadMoreRef, 'access', _116 => _116.current, 'optionalCall', _117 => _117()]);
7983
+ _optionalChain([onLoadMoreRef, 'access', _114 => _114.current, 'optionalCall', _115 => _115()]);
7992
7984
  }
7993
7985
  },
7994
7986
  { root: scrollContainer, rootMargin: "100px", threshold: 0.1 }
@@ -8104,7 +8096,7 @@ function isSameOriginAbsoluteHref(href) {
8104
8096
  function computeIsNewTab(runtime, href, targetPlatform) {
8105
8097
  if (!href) return false;
8106
8098
  if (runtime.navigation.mode === "embed") return !isSameOriginAbsoluteHref(href);
8107
- return _nullishCoalesce(_optionalChain([runtime, 'access', _118 => _118.navigation, 'access', _119 => _119.decideNewTab, 'optionalCall', _120 => _120({ href, targetPlatform })]), () => ( decideNewTab({
8099
+ return _nullishCoalesce(_optionalChain([runtime, 'access', _116 => _116.navigation, 'access', _117 => _117.decideNewTab, 'optionalCall', _118 => _118({ href, targetPlatform })]), () => ( decideNewTab({
8108
8100
  href,
8109
8101
  targetPlatform,
8110
8102
  currentSource: _nullishCoalesce(runtime.source, () => ( ""))
@@ -8168,7 +8160,7 @@ function resolveExternalNavigation(args) {
8168
8160
  function runNavigation(runtime, href, path, targetPlatform, fallbackNavigate) {
8169
8161
  const isNewTab = runtime ? computeIsNewTab(runtime, href, _nullishCoalesce(targetPlatform, () => ( null))) : false;
8170
8162
  if (isNewTab) {
8171
- if (_optionalChain([runtime, 'optionalAccess', _121 => _121.navigation, 'access', _122 => _122.openExternal])) runtime.navigation.openExternal(href);
8163
+ if (_optionalChain([runtime, 'optionalAccess', _119 => _119.navigation, 'access', _120 => _120.openExternal])) runtime.navigation.openExternal(href);
8172
8164
  else window.open(href, "_blank", NEW_TAB_FEATURES);
8173
8165
  return;
8174
8166
  }
@@ -8176,7 +8168,7 @@ function runNavigation(runtime, href, path, targetPlatform, fallbackNavigate) {
8176
8168
  if (target.includes("#") && _chunkDCIB6AK3cjs.navigateSamePageHash.call(void 0, target, { headerOffset: _chunkDCIB6AK3cjs.STICKY_HEADER_OFFSET_PX })) {
8177
8169
  return;
8178
8170
  }
8179
- const handled = _nullishCoalesce(_optionalChain([runtime, 'optionalAccess', _123 => _123.navigation, 'access', _124 => _124.navigate, 'optionalCall', _125 => _125({ href, path, targetPlatform })]), () => ( false));
8171
+ const handled = _nullishCoalesce(_optionalChain([runtime, 'optionalAccess', _121 => _121.navigation, 'access', _122 => _122.navigate, 'optionalCall', _123 => _123({ href, path, targetPlatform })]), () => ( false));
8180
8172
  if (!handled) {
8181
8173
  if (fallbackNavigate) fallbackNavigate(target);
8182
8174
  else window.location.assign(target);
@@ -8241,7 +8233,7 @@ function NavLinkAnchorViaRuntime({
8241
8233
  path,
8242
8234
  targetPlatform
8243
8235
  }, router.push);
8244
- if (handled && !isNewTab && _optionalChain([panel, 'optionalAccess', _126 => _126.closeChat])) panel.closeChat();
8236
+ if (handled && !isNewTab && _optionalChain([panel, 'optionalAccess', _124 => _124.closeChat])) panel.closeChat();
8245
8237
  };
8246
8238
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
8247
8239
  "a",
@@ -8366,7 +8358,7 @@ function EntityAuthorCard({
8366
8358
  renderEmptyAuthor = false,
8367
8359
  className
8368
8360
  }) {
8369
- const hasAuthor = !!_optionalChain([author, 'optionalAccess', _127 => _127.full_name]);
8361
+ const hasAuthor = !!_optionalChain([author, 'optionalAccess', _125 => _125.full_name]);
8370
8362
  if (!hasAuthor && !renderEmptyAuthor) return null;
8371
8363
  const effectiveAuthor = hasAuthor ? author : EMPTY_AUTHOR_PLACEHOLDER;
8372
8364
  const formatted = publishedAt ? formatDate(publishedAt) : "";
@@ -8702,8 +8694,8 @@ function AdminContentCard({
8702
8694
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "font-['DM_Sans'] font-bold text-ods-text-primary text-[18px] leading-snug line-clamp-2 break-words", children: title }),
8703
8695
  subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "font-['DM_Sans'] text-[14px] text-ods-text-secondary truncate", children: subtitle }),
8704
8696
  summary && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "font-['DM_Sans'] text-[14px] leading-relaxed text-ods-text-secondary line-clamp-2", children: summary }),
8705
- (Number(_optionalChain([platforms, 'optionalAccess', _128 => _128.length])) > 0 || badges) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2 flex-wrap", children: [
8706
- _optionalChain([platforms, 'optionalAccess', _129 => _129.map, 'call', _130 => _130((p) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
8697
+ (Number(_optionalChain([platforms, 'optionalAccess', _126 => _126.length])) > 0 || badges) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2 flex-wrap", children: [
8698
+ _optionalChain([platforms, 'optionalAccess', _127 => _127.map, 'call', _128 => _128((p) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
8707
8699
  PlatformBadge,
8708
8700
  {
8709
8701
  platform: { id: p.id || p.platform_id || "", name: p.name, display_name: p.display_name || p.name },
@@ -8759,8 +8751,8 @@ function WhatIShippedCard({ entry, placeholderUrl, actions, anchorProps, classNa
8759
8751
  ) : null,
8760
8752
  meta: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
8761
8753
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex items-center gap-2 min-w-0", children: [
8762
- _optionalChain([entry, 'access', _131 => _131.author, 'optionalAccess', _132 => _132.avatar_url]) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "img", { src: _nullishCoalesce(getProxiedImageUrl2(entry.author.avatar_url), () => ( entry.author.avatar_url)), alt: "", className: "h-5 w-5 rounded-full object-cover shrink-0" }) : null,
8763
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate", children: _nullishCoalesce(_optionalChain([entry, 'access', _133 => _133.author, 'optionalAccess', _134 => _134.full_name]), () => ( "")) })
8754
+ _optionalChain([entry, 'access', _129 => _129.author, 'optionalAccess', _130 => _130.avatar_url]) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "img", { src: _nullishCoalesce(getProxiedImageUrl2(entry.author.avatar_url), () => ( entry.author.avatar_url)), alt: "", className: "h-5 w-5 rounded-full object-cover shrink-0" }) : null,
8755
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate", children: _nullishCoalesce(_optionalChain([entry, 'access', _131 => _131.author, 'optionalAccess', _132 => _132.full_name]), () => ( "")) })
8764
8756
  ] }),
8765
8757
  month ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: month }) : null
8766
8758
  ] }),
@@ -8845,7 +8837,7 @@ function fetchPriorityProp(priority) {
8845
8837
 
8846
8838
  if (typeof window !== "undefined") {
8847
8839
  const w = window;
8848
- if (!_optionalChain([w, 'access', _135 => _135.chrome, 'optionalAccess', _136 => _136.cast])) {
8840
+ if (!_optionalChain([w, 'access', _133 => _133.chrome, 'optionalAccess', _134 => _134.cast])) {
8849
8841
  w.chrome = { ..._nullishCoalesce(w.chrome, () => ( {})), cast: { isAvailable: false } };
8850
8842
  }
8851
8843
  }
@@ -9035,7 +9027,7 @@ function YouTubeFacadeInner({
9035
9027
  const iframe = iframeRef.current;
9036
9028
  if (!iframe) return;
9037
9029
  function subscribe() {
9038
- _optionalChain([iframe, 'optionalAccess', _137 => _137.contentWindow, 'optionalAccess', _138 => _138.postMessage, 'call', _139 => _139(
9030
+ _optionalChain([iframe, 'optionalAccess', _135 => _135.contentWindow, 'optionalAccess', _136 => _136.postMessage, 'call', _137 => _137(
9039
9031
  '{"event":"listening"}',
9040
9032
  YT_NOCOOKIE_ORIGIN
9041
9033
  )]);
@@ -9053,13 +9045,13 @@ function YouTubeFacadeInner({
9053
9045
  return;
9054
9046
  }
9055
9047
  if (!payload || payload.event !== "infoDelivery") return;
9056
- const state = _optionalChain([payload, 'access', _140 => _140.info, 'optionalAccess', _141 => _141.playerState]);
9048
+ const state = _optionalChain([payload, 'access', _138 => _138.info, 'optionalAccess', _139 => _139.playerState]);
9057
9049
  if (typeof state !== "number") return;
9058
9050
  if (state === YT_STATE_PLAYING) {
9059
9051
  if (blurTimer !== null) return;
9060
9052
  blurTimer = setTimeout(() => {
9061
9053
  blurTimer = null;
9062
- _optionalChain([iframeRef, 'access', _142 => _142.current, 'optionalAccess', _143 => _143.blur, 'call', _144 => _144()]);
9054
+ _optionalChain([iframeRef, 'access', _140 => _140.current, 'optionalAccess', _141 => _141.blur, 'call', _142 => _142()]);
9063
9055
  }, YT_PLAYING_BLUR_DELAY_MS);
9064
9056
  return;
9065
9057
  }
@@ -9665,7 +9657,7 @@ function ProductReleaseCard({
9665
9657
  changelogCounts
9666
9658
  }) {
9667
9659
  if (size === "lg") {
9668
- const totalChangelog = (_nullishCoalesce(_optionalChain([changelogCounts, 'optionalAccess', _145 => _145.features]), () => ( 0))) + (_nullishCoalesce(_optionalChain([changelogCounts, 'optionalAccess', _146 => _146.fixes]), () => ( 0))) + (_nullishCoalesce(_optionalChain([changelogCounts, 'optionalAccess', _147 => _147.improvements]), () => ( 0))) + (_nullishCoalesce(_optionalChain([changelogCounts, 'optionalAccess', _148 => _148.breaking]), () => ( 0)));
9660
+ const totalChangelog = (_nullishCoalesce(_optionalChain([changelogCounts, 'optionalAccess', _143 => _143.features]), () => ( 0))) + (_nullishCoalesce(_optionalChain([changelogCounts, 'optionalAccess', _144 => _144.fixes]), () => ( 0))) + (_nullishCoalesce(_optionalChain([changelogCounts, 'optionalAccess', _145 => _145.improvements]), () => ( 0))) + (_nullishCoalesce(_optionalChain([changelogCounts, 'optionalAccess', _146 => _146.breaking]), () => ( 0)));
9669
9661
  const valueCells = [
9670
9662
  releaseType && releaseTypeBadgeColor ? {
9671
9663
  value: releaseType.toUpperCase(),
@@ -9684,7 +9676,7 @@ function ProductReleaseCard({
9684
9676
  uppercase: false
9685
9677
  } : { value: "\u2014", label: "Released", uppercase: false }
9686
9678
  ];
9687
- const effectiveAuthor = _optionalChain([author, 'optionalAccess', _149 => _149.full_name]) ? author : { full_name: "\u2014", avatar_url: null, job_title: "Unknown" };
9679
+ const effectiveAuthor = _optionalChain([author, 'optionalAccess', _147 => _147.full_name]) ? author : { full_name: "\u2014", avatar_url: null, job_title: "Unknown" };
9688
9680
  const gridColsClass = "md:grid-cols-4";
9689
9681
  const dividerClass = "border-b md:border-b-0 md:border-r border-ods-border";
9690
9682
  const frameClass = _chunkFIG2RKZFcjs.cn.call(void 0,
@@ -10097,10 +10089,10 @@ function buildProductReleaseCardProps(item) {
10097
10089
  job_title: release.author.job_title
10098
10090
  } : void 0,
10099
10091
  changelogCounts: {
10100
- features: _nullishCoalesce(_optionalChain([release, 'access', _150 => _150.features_added, 'optionalAccess', _151 => _151.length]), () => ( 0)),
10101
- fixes: _nullishCoalesce(_optionalChain([release, 'access', _152 => _152.bugs_fixed, 'optionalAccess', _153 => _153.length]), () => ( 0)),
10102
- improvements: _nullishCoalesce(_optionalChain([release, 'access', _154 => _154.improvements, 'optionalAccess', _155 => _155.length]), () => ( 0)),
10103
- breaking: _nullishCoalesce(_optionalChain([release, 'access', _156 => _156.breaking_changes, 'optionalAccess', _157 => _157.length]), () => ( 0))
10092
+ features: _nullishCoalesce(_optionalChain([release, 'access', _148 => _148.features_added, 'optionalAccess', _149 => _149.length]), () => ( 0)),
10093
+ fixes: _nullishCoalesce(_optionalChain([release, 'access', _150 => _150.bugs_fixed, 'optionalAccess', _151 => _151.length]), () => ( 0)),
10094
+ improvements: _nullishCoalesce(_optionalChain([release, 'access', _152 => _152.improvements, 'optionalAccess', _153 => _153.length]), () => ( 0)),
10095
+ breaking: _nullishCoalesce(_optionalChain([release, 'access', _154 => _154.breaking_changes, 'optionalAccess', _155 => _155.length]), () => ( 0))
10104
10096
  }
10105
10097
  };
10106
10098
  }
@@ -10228,7 +10220,7 @@ function BlogCard({
10228
10220
  const displayImage = post.featured_image && !imageError ? post.featured_image : placeholderUrl;
10229
10221
  if (size === "sm") {
10230
10222
  const dateStr2 = post.published_at ? new Date(post.published_at).toLocaleDateString("en-US", { year: "numeric", month: "short", day: "numeric", timeZone: "UTC" }) : "";
10231
- const firstCategory = _optionalChain([post, 'access', _158 => _158.categories, 'optionalAccess', _159 => _159.find, 'call', _160 => _160((c) => c && c.name), 'optionalAccess', _161 => _161.name]);
10223
+ const firstCategory = _optionalChain([post, 'access', _156 => _156.categories, 'optionalAccess', _157 => _157.find, 'call', _158 => _158((c) => c && c.name), 'optionalAccess', _159 => _159.name]);
10232
10224
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
10233
10225
  "a",
10234
10226
  {
@@ -10434,14 +10426,14 @@ function CaseStudyCard({
10434
10426
  "img",
10435
10427
  {
10436
10428
  src: coverImage,
10437
- alt: `${_optionalChain([study, 'access', _162 => _162.msp, 'optionalAccess', _163 => _163.name]) || study.title} cover`,
10429
+ alt: `${_optionalChain([study, 'access', _160 => _160.msp, 'optionalAccess', _161 => _161.name]) || study.title} cover`,
10438
10430
  className: "absolute inset-0 block w-full h-full object-contain",
10439
10431
  onError: hideOnError
10440
10432
  }
10441
10433
  ) : null }),
10442
10434
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: COMPACT_CARD_TEXT_COL, children: [
10443
10435
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: COMPACT_CARD_TITLE, children: study.title }) }),
10444
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: COMPACT_CARD_SUBTITLE, children: [_optionalChain([study, 'access', _164 => _164.msp, 'optionalAccess', _165 => _165.name]), _optionalChain([study, 'access', _166 => _166.user, 'optionalAccess', _167 => _167.full_name])].filter(Boolean).join(" \xB7 ") || "Case study" }) }),
10436
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: COMPACT_CARD_SUBTITLE, children: [_optionalChain([study, 'access', _162 => _162.msp, 'optionalAccess', _163 => _163.name]), _optionalChain([study, 'access', _164 => _164.user, 'optionalAccess', _165 => _165.full_name])].filter(Boolean).join(" \xB7 ") || "Case study" }) }),
10445
10437
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: COMPACT_CARD_SUMMARY, children: study.summary || COMPACT_CARD_ROW_FILLER }) })
10446
10438
  ] })
10447
10439
  ] });
@@ -10451,7 +10443,7 @@ function CaseStudyCard({
10451
10443
  _chunkXL4V2PYGcjs.next_image_default,
10452
10444
  {
10453
10445
  src: coverImage,
10454
- alt: _optionalChain([study, 'access', _168 => _168.msp, 'optionalAccess', _169 => _169.name]) || study.title,
10446
+ alt: _optionalChain([study, 'access', _166 => _166.msp, 'optionalAccess', _167 => _167.name]) || study.title,
10455
10447
  className: "w-full h-full object-cover",
10456
10448
  sizes: "(min-width: 1545px) 515px, (min-width: 1280px) 33vw, (min-width: 800px) 50vw, 100vw",
10457
10449
  fill: true,
@@ -10462,18 +10454,18 @@ function CaseStudyCard({
10462
10454
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-[72px] flex items-center shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-h4 text-ods-text-primary line-clamp-3 break-words", children: study.title }) }),
10463
10455
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-[60px] flex items-center shrink-0", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3 min-w-0 w-full", children: [
10464
10456
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative shrink-0 w-12 h-12", children: [
10465
- _optionalChain([study, 'access', _170 => _170.user, 'optionalAccess', _171 => _171.avatar_url]) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
10457
+ _optionalChain([study, 'access', _168 => _168.user, 'optionalAccess', _169 => _169.avatar_url]) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
10466
10458
  _chunkXL4V2PYGcjs.next_image_default,
10467
10459
  {
10468
10460
  src: study.user.avatar_url,
10469
- alt: _optionalChain([study, 'access', _172 => _172.user, 'optionalAccess', _173 => _173.full_name]) || "User",
10461
+ alt: _optionalChain([study, 'access', _170 => _170.user, 'optionalAccess', _171 => _171.full_name]) || "User",
10470
10462
  className: "w-12 h-12 rounded-full object-cover bg-ods-background border border-ods-border",
10471
10463
  width: 48,
10472
10464
  height: 48,
10473
10465
  unoptimized: true
10474
10466
  }
10475
- ) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-12 h-12 rounded-full bg-ods-background border border-ods-border flex items-center justify-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-secondary font-medium text-xl", children: (_optionalChain([study, 'access', _174 => _174.user, 'optionalAccess', _175 => _175.full_name]) || "A").charAt(0).toUpperCase() }) }),
10476
- _optionalChain([study, 'access', _176 => _176.msp, 'optionalAccess', _177 => _177.icon_url]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "absolute -bottom-1 -right-1 w-6 h-6 rounded-full bg-ods-text-primary ring-1 ring-ods-bg overflow-hidden flex items-center justify-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
10467
+ ) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-12 h-12 rounded-full bg-ods-background border border-ods-border flex items-center justify-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-secondary font-medium text-xl", children: (_optionalChain([study, 'access', _172 => _172.user, 'optionalAccess', _173 => _173.full_name]) || "A").charAt(0).toUpperCase() }) }),
10468
+ _optionalChain([study, 'access', _174 => _174.msp, 'optionalAccess', _175 => _175.icon_url]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "absolute -bottom-1 -right-1 w-6 h-6 rounded-full bg-ods-text-primary ring-1 ring-ods-bg overflow-hidden flex items-center justify-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
10477
10469
  _chunkXL4V2PYGcjs.next_image_default,
10478
10470
  {
10479
10471
  src: study.msp.icon_url,
@@ -10487,13 +10479,13 @@ function CaseStudyCard({
10487
10479
  ] }),
10488
10480
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-w-0 flex-1", children: [
10489
10481
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "font-['DM_Sans'] text-[16px] leading-[1.3] text-ods-text-primary truncate", children: [
10490
- _optionalChain([study, 'access', _178 => _178.user, 'optionalAccess', _179 => _179.full_name]) || "Anonymous",
10491
- _optionalChain([study, 'access', _180 => _180.msp, 'optionalAccess', _181 => _181.name]) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "text-ods-text-secondary", children: [
10482
+ _optionalChain([study, 'access', _176 => _176.user, 'optionalAccess', _177 => _177.full_name]) || "Anonymous",
10483
+ _optionalChain([study, 'access', _178 => _178.msp, 'optionalAccess', _179 => _179.name]) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "text-ods-text-secondary", children: [
10492
10484
  " \u2022 ",
10493
10485
  study.msp.name
10494
10486
  ] })
10495
10487
  ] }),
10496
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "font-['DM_Sans'] text-[14px] leading-none text-ods-text-secondary truncate", children: _optionalChain([study, 'access', _182 => _182.user, 'optionalAccess', _183 => _183.job_title]) || "\xA0" })
10488
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "font-['DM_Sans'] text-[14px] leading-none text-ods-text-secondary truncate", children: _optionalChain([study, 'access', _180 => _180.user, 'optionalAccess', _181 => _181.job_title]) || "\xA0" })
10497
10489
  ] })
10498
10490
  ] }) })
10499
10491
  ] }) });
@@ -10576,7 +10568,7 @@ function CustomerInterviewCard({
10576
10568
  ] }),
10577
10569
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: COMPACT_CARD_TEXT_COL, children: [
10578
10570
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: COMPACT_CARD_TITLE, children: interview.title }) }),
10579
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: COMPACT_CARD_SUBTITLE, children: [_optionalChain([interview, 'access', _184 => _184.user, 'optionalAccess', _185 => _185.full_name]), _optionalChain([interview, 'access', _186 => _186.msp, 'optionalAccess', _187 => _187.name])].filter(Boolean).join(" \xB7 ") || "Customer interview" }) }),
10571
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: COMPACT_CARD_SUBTITLE, children: [_optionalChain([interview, 'access', _182 => _182.user, 'optionalAccess', _183 => _183.full_name]), _optionalChain([interview, 'access', _184 => _184.msp, 'optionalAccess', _185 => _185.name])].filter(Boolean).join(" \xB7 ") || "Customer interview" }) }),
10580
10572
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: COMPACT_CARD_SUMMARY, children: interview.video_summary || COMPACT_CARD_ROW_FILLER }) })
10581
10573
  ] })
10582
10574
  ] });
@@ -10598,15 +10590,15 @@ function CustomerInterviewCard({
10598
10590
  interview.video_summary && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "font-['DM_Sans'] text-[14px] leading-[20px] text-ods-text-secondary line-clamp-3", children: interview.video_summary }) }),
10599
10591
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-[60px] flex items-center shrink-0 mt-auto", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3 min-w-0 w-full", children: [
10600
10592
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative shrink-0 w-12 h-12", children: [
10601
- _optionalChain([interview, 'access', _188 => _188.user, 'optionalAccess', _189 => _189.avatar_url]) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
10593
+ _optionalChain([interview, 'access', _186 => _186.user, 'optionalAccess', _187 => _187.avatar_url]) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
10602
10594
  "img",
10603
10595
  {
10604
10596
  src: interview.user.avatar_url,
10605
- alt: _optionalChain([interview, 'access', _190 => _190.user, 'optionalAccess', _191 => _191.full_name]) || "Customer",
10597
+ alt: _optionalChain([interview, 'access', _188 => _188.user, 'optionalAccess', _189 => _189.full_name]) || "Customer",
10606
10598
  className: "w-12 h-12 rounded-full object-cover bg-ods-background border border-ods-border"
10607
10599
  }
10608
- ) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-12 h-12 rounded-full bg-ods-background border border-ods-border flex items-center justify-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-secondary font-medium text-xl", children: (_optionalChain([interview, 'access', _192 => _192.user, 'optionalAccess', _193 => _193.full_name]) || "A").charAt(0).toUpperCase() }) }),
10609
- _optionalChain([interview, 'access', _194 => _194.msp, 'optionalAccess', _195 => _195.icon_url]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "absolute -bottom-1 -right-1 w-6 h-6 rounded-full bg-ods-text-primary ring-1 ring-ods-bg overflow-hidden flex items-center justify-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
10600
+ ) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-12 h-12 rounded-full bg-ods-background border border-ods-border flex items-center justify-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-secondary font-medium text-xl", children: (_optionalChain([interview, 'access', _190 => _190.user, 'optionalAccess', _191 => _191.full_name]) || "A").charAt(0).toUpperCase() }) }),
10601
+ _optionalChain([interview, 'access', _192 => _192.msp, 'optionalAccess', _193 => _193.icon_url]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "absolute -bottom-1 -right-1 w-6 h-6 rounded-full bg-ods-text-primary ring-1 ring-ods-bg overflow-hidden flex items-center justify-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
10610
10602
  "img",
10611
10603
  {
10612
10604
  src: interview.msp.icon_url,
@@ -10617,13 +10609,13 @@ function CustomerInterviewCard({
10617
10609
  ] }),
10618
10610
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-w-0 flex-1", children: [
10619
10611
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "font-['DM_Sans'] text-[16px] leading-[1.3] text-ods-text-primary truncate", children: [
10620
- _optionalChain([interview, 'access', _196 => _196.user, 'optionalAccess', _197 => _197.full_name]) || "Anonymous",
10621
- _optionalChain([interview, 'access', _198 => _198.msp, 'optionalAccess', _199 => _199.name]) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "text-ods-text-secondary", children: [
10612
+ _optionalChain([interview, 'access', _194 => _194.user, 'optionalAccess', _195 => _195.full_name]) || "Anonymous",
10613
+ _optionalChain([interview, 'access', _196 => _196.msp, 'optionalAccess', _197 => _197.name]) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "text-ods-text-secondary", children: [
10622
10614
  " \u2022 ",
10623
10615
  interview.msp.name
10624
10616
  ] })
10625
10617
  ] }),
10626
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "font-['DM_Sans'] text-[14px] leading-none text-ods-text-secondary truncate", children: _optionalChain([interview, 'access', _200 => _200.user, 'optionalAccess', _201 => _201.job_title]) || " " })
10618
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "font-['DM_Sans'] text-[14px] leading-none text-ods-text-secondary truncate", children: _optionalChain([interview, 'access', _198 => _198.user, 'optionalAccess', _199 => _199.job_title]) || " " })
10627
10619
  ] })
10628
10620
  ] }) })
10629
10621
  ] }) });
@@ -10636,7 +10628,7 @@ function CustomerInterviewCard({
10636
10628
  function formatInvestorUpdatePeriod(start, end, options) {
10637
10629
  if (!start && !end) return "";
10638
10630
  const fmt = (d) => new Date(d).toLocaleDateString("en-US", {
10639
- month: _optionalChain([options, 'optionalAccess', _202 => _202.monthFormat]) || "short",
10631
+ month: _optionalChain([options, 'optionalAccess', _200 => _200.monthFormat]) || "short",
10640
10632
  year: "numeric",
10641
10633
  // Pin to UTC so SSR (Vercel = UTC) and the client agree (React #418).
10642
10634
  timeZone: "UTC"
@@ -10728,7 +10720,7 @@ function InvestorUpdateCard({
10728
10720
  imageUrl: update.featured_image,
10729
10721
  placeholderUrl,
10730
10722
  title: update.title || `Update #${update.update_number || "?"}`,
10731
- summary: _optionalChain([update, 'access', _203 => _203.strategic_update, 'optionalAccess', _204 => _204.slice, 'call', _205 => _205(0, 120)]) || _optionalChain([update, 'access', _206 => _206.content, 'optionalAccess', _207 => _207.slice, 'call', _208 => _208(0, 120)]) || "No description",
10723
+ summary: _optionalChain([update, 'access', _201 => _201.strategic_update, 'optionalAccess', _202 => _202.slice, 'call', _203 => _203(0, 120)]) || _optionalChain([update, 'access', _204 => _204.content, 'optionalAccess', _205 => _205.slice, 'call', _206 => _206(0, 120)]) || "No description",
10732
10724
  badges: update.update_number ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "px-2 py-0.5 rounded text-xs font-medium bg-ods-accent/10 text-ods-accent", children: [
10733
10725
  "#",
10734
10726
  update.update_number
@@ -10920,7 +10912,7 @@ function OnboardingGuideCard({
10920
10912
  const compactCover = coverImage || placeholderUrl || null;
10921
10913
  const hasVideoCover = !guide.featured_image && !!guide.main_video_thumbnail;
10922
10914
  const summary2 = stripMarkdownPreview(guide.video_summary || guide.content || "");
10923
- const author = _optionalChain([guide, 'access', _209 => _209.author, 'optionalAccess', _210 => _210.full_name, 'optionalAccess', _211 => _211.trim, 'call', _212 => _212()]) || "";
10915
+ const author = _optionalChain([guide, 'access', _207 => _207.author, 'optionalAccess', _208 => _208.full_name, 'optionalAccess', _209 => _209.trim, 'call', _210 => _210()]) || "";
10924
10916
  const subtitleParts = [
10925
10917
  `Step ${guide.step_order}`,
10926
10918
  guide.section,
@@ -11296,7 +11288,7 @@ function AutocompleteInner(props, ref) {
11296
11288
  if (!isInputControlled) {
11297
11289
  setInternalInputValue(value);
11298
11290
  }
11299
- _optionalChain([onInputChange, 'optionalCall', _213 => _213(value, reason)]);
11291
+ _optionalChain([onInputChange, 'optionalCall', _211 => _211(value, reason)]);
11300
11292
  };
11301
11293
  const [isOpen, setIsOpen] = _react.useState.call(void 0, false);
11302
11294
  const [highlightedIndex, setHighlightedIndex] = _react.useState.call(void 0, -1);
@@ -11324,8 +11316,8 @@ function AutocompleteInner(props, ref) {
11324
11316
  if (!showHiddenTags) return;
11325
11317
  const handleClick = (e) => {
11326
11318
  const target = e.target;
11327
- const inButton = _optionalChain([hiddenTagsRef, 'access', _214 => _214.current, 'optionalAccess', _215 => _215.contains, 'call', _216 => _216(target)]);
11328
- const inPopup = _optionalChain([hiddenTagsPopupRef, 'access', _217 => _217.current, 'optionalAccess', _218 => _218.contains, 'call', _219 => _219(target)]);
11319
+ const inButton = _optionalChain([hiddenTagsRef, 'access', _212 => _212.current, 'optionalAccess', _213 => _213.contains, 'call', _214 => _214(target)]);
11320
+ const inPopup = _optionalChain([hiddenTagsPopupRef, 'access', _215 => _215.current, 'optionalAccess', _216 => _216.contains, 'call', _217 => _217(target)]);
11329
11321
  if (!inButton && !inPopup) {
11330
11322
  setShowHiddenTags(false);
11331
11323
  }
@@ -11370,7 +11362,7 @@ function AutocompleteInner(props, ref) {
11370
11362
  }
11371
11363
  updateInputValue("", "reset");
11372
11364
  setIsOpen(false);
11373
- _optionalChain([onCreateOption, 'optionalCall', _220 => _220(trimmed)]);
11365
+ _optionalChain([onCreateOption, 'optionalCall', _218 => _218(trimmed)]);
11374
11366
  };
11375
11367
  _react.useEffect.call(void 0, () => {
11376
11368
  setHighlightedIndex(-1);
@@ -11394,7 +11386,7 @@ function AutocompleteInner(props, ref) {
11394
11386
  props.onChange([...valueArray, option.value]);
11395
11387
  }
11396
11388
  updateInputValue("", "reset");
11397
- _optionalChain([autoLimitTags, 'access', _221 => _221.inputRef, 'access', _222 => _222.current, 'optionalAccess', _223 => _223.focus, 'call', _224 => _224()]);
11389
+ _optionalChain([autoLimitTags, 'access', _219 => _219.inputRef, 'access', _220 => _220.current, 'optionalAccess', _221 => _221.focus, 'call', _222 => _222()]);
11398
11390
  } else {
11399
11391
  ;
11400
11392
  props.onChange(option.value);
@@ -11415,7 +11407,7 @@ function AutocompleteInner(props, ref) {
11415
11407
  if (!isInputControlled) {
11416
11408
  setInternalInputValue("");
11417
11409
  }
11418
- _optionalChain([onInputChange, 'optionalCall', _225 => _225("", "clear")]);
11410
+ _optionalChain([onInputChange, 'optionalCall', _223 => _223("", "clear")]);
11419
11411
  setIsOpen(false);
11420
11412
  };
11421
11413
  const handleKeyDown = (e) => {
@@ -11489,7 +11481,7 @@ function AutocompleteInner(props, ref) {
11489
11481
  ),
11490
11482
  onClick: () => {
11491
11483
  if (!disabled) {
11492
- _optionalChain([autoLimitTags, 'access', _226 => _226.inputRef, 'access', _227 => _227.current, 'optionalAccess', _228 => _228.focus, 'call', _229 => _229()]);
11484
+ _optionalChain([autoLimitTags, 'access', _224 => _224.inputRef, 'access', _225 => _225.current, 'optionalAccess', _226 => _226.focus, 'call', _227 => _227()]);
11493
11485
  openDropdown();
11494
11486
  }
11495
11487
  },
@@ -11605,10 +11597,10 @@ function AutocompleteInner(props, ref) {
11605
11597
  align: "start",
11606
11598
  onOpenAutoFocus: (e) => {
11607
11599
  e.preventDefault();
11608
- _optionalChain([autoLimitTags, 'access', _230 => _230.inputRef, 'access', _231 => _231.current, 'optionalAccess', _232 => _232.focus, 'call', _233 => _233()]);
11600
+ _optionalChain([autoLimitTags, 'access', _228 => _228.inputRef, 'access', _229 => _229.current, 'optionalAccess', _230 => _230.focus, 'call', _231 => _231()]);
11609
11601
  },
11610
11602
  onInteractOutside: (e) => {
11611
- if (_optionalChain([containerRef, 'access', _234 => _234.current, 'optionalAccess', _235 => _235.contains, 'call', _236 => _236(e.target)])) {
11603
+ if (_optionalChain([containerRef, 'access', _232 => _232.current, 'optionalAccess', _233 => _233.contains, 'call', _234 => _234(e.target)])) {
11612
11604
  e.preventDefault();
11613
11605
  }
11614
11606
  },
@@ -12021,7 +12013,7 @@ var defaultFormatDate = (date) => {
12021
12013
  });
12022
12014
  };
12023
12015
  var formatDateRange2 = (range, formatFn) => {
12024
- if (!_optionalChain([range, 'optionalAccess', _237 => _237.from])) return "";
12016
+ if (!_optionalChain([range, 'optionalAccess', _235 => _235.from])) return "";
12025
12017
  if (!range.to) return formatFn(range.from);
12026
12018
  return `${formatFn(range.from)} - ${formatFn(range.to)}`;
12027
12019
  };
@@ -12056,16 +12048,16 @@ function DatePickerCalendar({
12056
12048
  );
12057
12049
  const [hoveredDate, setHoveredDate] = React38.useState(void 0);
12058
12050
  const rangeSelected = draftRange;
12059
- const hasCompleteRange = mode === "range" && !!_optionalChain([rangeSelected, 'optionalAccess', _238 => _238.from]) && !!_optionalChain([rangeSelected, 'optionalAccess', _239 => _239.to]) && rangeSelected.from.getTime() !== rangeSelected.to.getTime();
12051
+ const hasCompleteRange = mode === "range" && !!_optionalChain([rangeSelected, 'optionalAccess', _236 => _236.from]) && !!_optionalChain([rangeSelected, 'optionalAccess', _237 => _237.to]) && rangeSelected.from.getTime() !== rangeSelected.to.getTime();
12060
12052
  const isPreviewDate = (date) => {
12061
- if (!_optionalChain([draftRange, 'optionalAccess', _240 => _240.from]) || draftRange.to || !hoveredDate) return false;
12053
+ if (!_optionalChain([draftRange, 'optionalAccess', _238 => _238.from]) || draftRange.to || !hoveredDate) return false;
12062
12054
  const start = Math.min(draftRange.from.getTime(), hoveredDate.getTime());
12063
12055
  const end = Math.max(draftRange.from.getTime(), hoveredDate.getTime());
12064
12056
  return date.getTime() >= start && date.getTime() <= end;
12065
12057
  };
12066
12058
  const handleRangeSelect = (triggerDate) => {
12067
12059
  if (!triggerDate) return;
12068
- if (!_optionalChain([draftRange, 'optionalAccess', _241 => _241.from]) || draftRange.to) {
12060
+ if (!_optionalChain([draftRange, 'optionalAccess', _239 => _239.from]) || draftRange.to) {
12069
12061
  setDraftRange({ from: triggerDate, to: void 0 });
12070
12062
  return;
12071
12063
  }
@@ -12130,7 +12122,7 @@ function DatePickerCalendar({
12130
12122
  range_middle: "range-middle !bg-[var(--ods-open-yellow-light)] !text-ods-card !font-medium !rounded-none hover:!bg-[var(--ods-open-yellow-light)]"
12131
12123
  };
12132
12124
  const [month, setMonth] = React38.useState(
12133
- mode === "single" ? selected || today : _optionalChain([selected, 'optionalAccess', _242 => _242.from]) || today
12125
+ mode === "single" ? selected || today : _optionalChain([selected, 'optionalAccess', _240 => _240.from]) || today
12134
12126
  );
12135
12127
  const handlePreviousMonth = () => {
12136
12128
  setMonth((prev) => {
@@ -12362,14 +12354,14 @@ function DatePicker(props) {
12362
12354
  }, [props.mode, props.value, formatDate2]);
12363
12355
  const handleSelect = (value) => {
12364
12356
  if (props.mode === "single") {
12365
- _optionalChain([props, 'access', _243 => _243.onChange, 'optionalCall', _244 => _244(value)]);
12357
+ _optionalChain([props, 'access', _241 => _241.onChange, 'optionalCall', _242 => _242(value)]);
12366
12358
  if (value) {
12367
12359
  setOpen(false);
12368
12360
  }
12369
12361
  } else {
12370
12362
  const range = value;
12371
- _optionalChain([props, 'access', _245 => _245.onChange, 'optionalCall', _246 => _246(range)]);
12372
- if (_optionalChain([range, 'optionalAccess', _247 => _247.from]) && _optionalChain([range, 'optionalAccess', _248 => _248.to])) {
12363
+ _optionalChain([props, 'access', _243 => _243.onChange, 'optionalCall', _244 => _244(range)]);
12364
+ if (_optionalChain([range, 'optionalAccess', _245 => _245.from]) && _optionalChain([range, 'optionalAccess', _246 => _246.to])) {
12373
12365
  setOpen(false);
12374
12366
  }
12375
12367
  }
@@ -12476,7 +12468,7 @@ function DatePickerInput({
12476
12468
  if (newDate && value) {
12477
12469
  newDate.setHours(value.getHours(), value.getMinutes(), 0, 0);
12478
12470
  }
12479
- _optionalChain([onChange, 'optionalCall', _249 => _249(newDate)]);
12471
+ _optionalChain([onChange, 'optionalCall', _247 => _247(newDate)]);
12480
12472
  if (newDate) {
12481
12473
  setOpen(false);
12482
12474
  }
@@ -12493,12 +12485,12 @@ function DatePickerInput({
12493
12485
  }
12494
12486
  }
12495
12487
  date.setHours(hours);
12496
- _optionalChain([onChange, 'optionalCall', _250 => _250(date)]);
12488
+ _optionalChain([onChange, 'optionalCall', _248 => _248(date)]);
12497
12489
  };
12498
12490
  const handleMinuteChange = (newMinute) => {
12499
12491
  const date = value ? new Date(value) : /* @__PURE__ */ new Date();
12500
12492
  date.setMinutes(parseInt(newMinute, 10));
12501
- _optionalChain([onChange, 'optionalCall', _251 => _251(date)]);
12493
+ _optionalChain([onChange, 'optionalCall', _249 => _249(date)]);
12502
12494
  };
12503
12495
  const handlePeriodChange = (newPeriod) => {
12504
12496
  const date = value ? new Date(value) : /* @__PURE__ */ new Date();
@@ -12509,7 +12501,7 @@ function DatePickerInput({
12509
12501
  hours += 12;
12510
12502
  }
12511
12503
  date.setHours(hours);
12512
- _optionalChain([onChange, 'optionalCall', _252 => _252(date)]);
12504
+ _optionalChain([onChange, 'optionalCall', _250 => _250(date)]);
12513
12505
  };
12514
12506
  const hourOptions = React38.useMemo(() => generateHourOptions(use24HourFormat), [use24HourFormat]);
12515
12507
  const minuteOptions = React38.useMemo(() => generateMinuteOptions(), []);
@@ -12670,7 +12662,7 @@ function DatePickerInputSimple({
12670
12662
  if (newDate && value) {
12671
12663
  newDate.setHours(value.getHours(), value.getMinutes(), 0, 0);
12672
12664
  }
12673
- _optionalChain([onChange, 'optionalCall', _253 => _253(newDate)]);
12665
+ _optionalChain([onChange, 'optionalCall', _251 => _251(newDate)]);
12674
12666
  if (newDate) {
12675
12667
  setOpen(false);
12676
12668
  }
@@ -12679,7 +12671,7 @@ function DatePickerInputSimple({
12679
12671
  const [hours, minutes] = newTime.split(":").map(Number);
12680
12672
  const date = value ? new Date(value) : /* @__PURE__ */ new Date();
12681
12673
  date.setHours(hours, minutes, 0, 0);
12682
- _optionalChain([onChange, 'optionalCall', _254 => _254(date)]);
12674
+ _optionalChain([onChange, 'optionalCall', _252 => _252(date)]);
12683
12675
  };
12684
12676
  const timeOptions = React38.useMemo(
12685
12677
  () => generateTimeOptions(timeInterval, use24HourFormat),
@@ -12778,17 +12770,17 @@ function DateFilterMenu({
12778
12770
  if (next) {
12779
12771
  resetDraft();
12780
12772
  } else {
12781
- _optionalChain([onClose, 'optionalCall', _255 => _255()]);
12773
+ _optionalChain([onClose, 'optionalCall', _253 => _253()]);
12782
12774
  }
12783
12775
  setOpen(next);
12784
12776
  };
12785
12777
  const handleApply = () => {
12786
12778
  const result = mode === "single" ? { sort: draftSort, date: draftSelected } : { sort: draftSort, range: draftSelected };
12787
- _optionalChain([onApply, 'optionalCall', _256 => _256(result)]);
12779
+ _optionalChain([onApply, 'optionalCall', _254 => _254(result)]);
12788
12780
  setOpen(false);
12789
12781
  };
12790
12782
  const handleClose = () => {
12791
- _optionalChain([onClose, 'optionalCall', _257 => _257()]);
12783
+ _optionalChain([onClose, 'optionalCall', _255 => _255()]);
12792
12784
  setOpen(false);
12793
12785
  };
12794
12786
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Popover.Root, { open, onOpenChange: handleOpenChange, children: [
@@ -12898,7 +12890,7 @@ function DurationInput({ value, onChange, invalid, className }) {
12898
12890
  setSegments((prev) => compose(prev) === value ? prev : split(value));
12899
12891
  }, [value]);
12900
12892
  const focusSegment = (i) => {
12901
- const el = _optionalChain([refs, 'access', _258 => _258[i], 'optionalAccess', _259 => _259.current]);
12893
+ const el = _optionalChain([refs, 'access', _256 => _256[i], 'optionalAccess', _257 => _257.current]);
12902
12894
  if (!el) return;
12903
12895
  el.focus();
12904
12896
  el.select();
@@ -13235,7 +13227,7 @@ function CompactAssigneeDropdown({
13235
13227
  return [current, ...filtered.filter((o) => o.value !== currentAssignee.id)];
13236
13228
  }, [filtered, currentAssignee]);
13237
13229
  const handleSelect = (userId) => {
13238
- const next = _optionalChain([currentAssignee, 'optionalAccess', _260 => _260.id]) === userId ? null : userId;
13230
+ const next = _optionalChain([currentAssignee, 'optionalAccess', _258 => _258.id]) === userId ? null : userId;
13239
13231
  onAssign(next);
13240
13232
  setIsOpen(false);
13241
13233
  };
@@ -13300,7 +13292,7 @@ function CompactAssigneeDropdown({
13300
13292
  }
13301
13293
  ) }),
13302
13294
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "max-h-80 overflow-y-auto py-[var(--spacing-system-xs)]", role: "listbox", children: isLoading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "px-[var(--spacing-system-sf)] py-[var(--spacing-system-s)] text-h5 text-ods-text-secondary", children: "Loading\u2026" }) : orderedOptions.length === 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "px-[var(--spacing-system-sf)] py-[var(--spacing-system-s)] text-h5 text-ods-text-secondary", children: "No users found" }) : orderedOptions.map((opt) => {
13303
- const isCurrent = _optionalChain([currentAssignee, 'optionalAccess', _261 => _261.id]) === opt.value;
13295
+ const isCurrent = _optionalChain([currentAssignee, 'optionalAccess', _259 => _259.id]) === opt.value;
13304
13296
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
13305
13297
  "button",
13306
13298
  {
@@ -13369,7 +13361,7 @@ function DefaultAssigneeDropdown({
13369
13361
  Autocomplete,
13370
13362
  {
13371
13363
  options,
13372
- value: _nullishCoalesce(_optionalChain([currentAssignee, 'optionalAccess', _262 => _262.id]), () => ( null)),
13364
+ value: _nullishCoalesce(_optionalChain([currentAssignee, 'optionalAccess', _260 => _260.id]), () => ( null)),
13373
13365
  onChange: (val) => {
13374
13366
  onAssign(val);
13375
13367
  setIsEditing(false);
@@ -13702,7 +13694,7 @@ var NoData = React114.default.forwardRef(function NoData2({
13702
13694
  ...props
13703
13695
  }, ref) {
13704
13696
  const hasMessage = !!(icon || title || description);
13705
- const hasActions = !!_optionalChain([actions, 'optionalAccess', _263 => _263.length]);
13697
+ const hasActions = !!_optionalChain([actions, 'optionalAccess', _261 => _261.length]);
13706
13698
  const footerButton = _nullishCoalesce(button, () => ( (buttonLabel != null ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
13707
13699
  _chunkQJGRP2YEcjs.Button,
13708
13700
  {
@@ -13710,7 +13702,7 @@ var NoData = React114.default.forwardRef(function NoData2({
13710
13702
  leftIcon: buttonIcon,
13711
13703
  onClick: onButtonClick,
13712
13704
  ...buttonProps,
13713
- className: _chunkFIG2RKZFcjs.cn.call(void 0, "w-full md:w-auto", _optionalChain([buttonProps, 'optionalAccess', _264 => _264.className])),
13705
+ className: _chunkFIG2RKZFcjs.cn.call(void 0, "w-full md:w-auto", _optionalChain([buttonProps, 'optionalAccess', _262 => _262.className])),
13714
13706
  children: buttonLabel
13715
13707
  }
13716
13708
  ) : null)));
@@ -13945,7 +13937,7 @@ var Switch = React48.forwardRef(({ className, checked, onCheckedChange, ...props
13945
13937
  }, [checked]);
13946
13938
  const handleCheckedChange = (newChecked) => {
13947
13939
  setIsChecked(newChecked);
13948
- _optionalChain([onCheckedChange, 'optionalCall', _265 => _265(newChecked)]);
13940
+ _optionalChain([onCheckedChange, 'optionalCall', _263 => _263(newChecked)]);
13949
13941
  };
13950
13942
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
13951
13943
  SwitchPrimitives.Root,
@@ -14331,7 +14323,7 @@ function TagsManager({
14331
14323
  const name = search.trim();
14332
14324
  if (!name) return;
14333
14325
  const result = await onCreateTag(name);
14334
- if (_optionalChain([result, 'optionalAccess', _266 => _266.id])) {
14326
+ if (_optionalChain([result, 'optionalAccess', _264 => _264.id])) {
14335
14327
  onChange([...selectedIds, result.id]);
14336
14328
  setSearch("");
14337
14329
  }
@@ -14339,7 +14331,7 @@ function TagsManager({
14339
14331
  const startEdit = React51.useCallback((id, name) => {
14340
14332
  setEditingId(id);
14341
14333
  setEditingName(name);
14342
- setTimeout(() => _optionalChain([editInputRef, 'access', _267 => _267.current, 'optionalAccess', _268 => _268.focus, 'call', _269 => _269()]), 0);
14334
+ setTimeout(() => _optionalChain([editInputRef, 'access', _265 => _265.current, 'optionalAccess', _266 => _266.focus, 'call', _267 => _267()]), 0);
14343
14335
  }, []);
14344
14336
  const confirmEdit = React51.useCallback(async () => {
14345
14337
  if (!onUpdateTag || !editingId || !editingName.trim()) return;
@@ -14366,7 +14358,7 @@ function TagsManager({
14366
14358
  e.stopPropagation();
14367
14359
  onChange([]);
14368
14360
  setSearch("");
14369
- _optionalChain([inputRef, 'access', _270 => _270.current, 'optionalAccess', _271 => _271.focus, 'call', _272 => _272()]);
14361
+ _optionalChain([inputRef, 'access', _268 => _268.current, 'optionalAccess', _269 => _269.focus, 'call', _270 => _270()]);
14370
14362
  },
14371
14363
  [onChange]
14372
14364
  );
@@ -14465,10 +14457,10 @@ function TagsManager({
14465
14457
  align: "start",
14466
14458
  onOpenAutoFocus: (e) => {
14467
14459
  e.preventDefault();
14468
- _optionalChain([inputRef, 'access', _273 => _273.current, 'optionalAccess', _274 => _274.focus, 'call', _275 => _275()]);
14460
+ _optionalChain([inputRef, 'access', _271 => _271.current, 'optionalAccess', _272 => _272.focus, 'call', _273 => _273()]);
14469
14461
  },
14470
14462
  onInteractOutside: (e) => {
14471
- if (_optionalChain([containerRef, 'access', _276 => _276.current, 'optionalAccess', _277 => _277.contains, 'call', _278 => _278(e.target)])) {
14463
+ if (_optionalChain([containerRef, 'access', _274 => _274.current, 'optionalAccess', _275 => _275.contains, 'call', _276 => _276(e.target)])) {
14472
14464
  e.preventDefault();
14473
14465
  }
14474
14466
  },
@@ -14753,7 +14745,7 @@ var Textarea = React52.forwardRef(
14753
14745
  "button",
14754
14746
  {
14755
14747
  type: "button",
14756
- "aria-label": _nullishCoalesce(_optionalChain([endIconButtonProps, 'optionalAccess', _279 => _279["aria-label"]]), () => ( "Submit")),
14748
+ "aria-label": _nullishCoalesce(_optionalChain([endIconButtonProps, 'optionalAccess', _277 => _277["aria-label"]]), () => ( "Submit")),
14757
14749
  ...endIconButtonProps,
14758
14750
  className: _chunkFIG2RKZFcjs.cn.call(void 0,
14759
14751
  // `h-6` matches the textarea's `leading-6` line box so the icon's
@@ -14767,7 +14759,7 @@ var Textarea = React52.forwardRef(
14767
14759
  "cursor-pointer hover:text-ods-text-primary",
14768
14760
  "focus-visible:outline-none focus-visible:text-ods-accent",
14769
14761
  "disabled:cursor-not-allowed disabled:opacity-40 disabled:hover:text-ods-text-secondary",
14770
- _optionalChain([endIconButtonProps, 'optionalAccess', _280 => _280.className])
14762
+ _optionalChain([endIconButtonProps, 'optionalAccess', _278 => _278.className])
14771
14763
  ),
14772
14764
  children: endIcon
14773
14765
  }
@@ -16004,19 +15996,19 @@ function TabNavigation({
16004
15996
  const validTabIds = _react.useMemo.call(void 0, () => new Set(tabs.map((t) => t.id)), [tabs]);
16005
15997
  const getInitialTab = () => {
16006
15998
  if (isUrlSyncEnabled) {
16007
- const fromUrl = _optionalChain([searchParams, 'optionalAccess', _281 => _281.get, 'call', _282 => _282(paramName)]) || "";
15999
+ const fromUrl = _optionalChain([searchParams, 'optionalAccess', _279 => _279.get, 'call', _280 => _280(paramName)]) || "";
16008
16000
  if (validTabIds.has(fromUrl)) {
16009
16001
  return fromUrl;
16010
16002
  }
16011
16003
  }
16012
- return defaultTab || _optionalChain([tabs, 'access', _283 => _283[0], 'optionalAccess', _284 => _284.id]) || "";
16004
+ return defaultTab || _optionalChain([tabs, 'access', _281 => _281[0], 'optionalAccess', _282 => _282.id]) || "";
16013
16005
  };
16014
16006
  const [internalActiveTab, setInternalActiveTab] = _react.useState.call(void 0, getInitialTab);
16015
16007
  const activeTab = isUrlSyncEnabled ? internalActiveTab : controlledActiveTab || "";
16016
16008
  _react.useEffect.call(void 0, () => {
16017
16009
  if (!isUrlSyncEnabled) return;
16018
- const fromUrl = _optionalChain([searchParams, 'optionalAccess', _285 => _285.get, 'call', _286 => _286(paramName)]) || "";
16019
- const nextTab = validTabIds.has(fromUrl) ? fromUrl : defaultTab || _optionalChain([tabs, 'access', _287 => _287[0], 'optionalAccess', _288 => _288.id]) || "";
16010
+ const fromUrl = _optionalChain([searchParams, 'optionalAccess', _283 => _283.get, 'call', _284 => _284(paramName)]) || "";
16011
+ const nextTab = validTabIds.has(fromUrl) ? fromUrl : defaultTab || _optionalChain([tabs, 'access', _285 => _285[0], 'optionalAccess', _286 => _286.id]) || "";
16020
16012
  if (nextTab !== internalActiveTab) {
16021
16013
  setInternalActiveTab(nextTab);
16022
16014
  }
@@ -16024,13 +16016,13 @@ function TabNavigation({
16024
16016
  const handleTabChange = (tabId) => {
16025
16017
  if (isUrlSyncEnabled) {
16026
16018
  setInternalActiveTab(tabId);
16027
- const params = new URLSearchParams(_optionalChain([searchParams, 'optionalAccess', _289 => _289.toString, 'call', _290 => _290()]));
16019
+ const params = new URLSearchParams(_optionalChain([searchParams, 'optionalAccess', _287 => _287.toString, 'call', _288 => _288()]));
16028
16020
  params.set(paramName, tabId);
16029
16021
  const method = replaceState ? "replace" : "push";
16030
16022
  router[method](`${pathname}?${params.toString()}`);
16031
- _optionalChain([controlledOnTabChange, 'optionalCall', _291 => _291(tabId)]);
16023
+ _optionalChain([controlledOnTabChange, 'optionalCall', _289 => _289(tabId)]);
16032
16024
  } else {
16033
- _optionalChain([controlledOnTabChange, 'optionalCall', _292 => _292(tabId)]);
16025
+ _optionalChain([controlledOnTabChange, 'optionalCall', _290 => _290(tabId)]);
16034
16026
  }
16035
16027
  };
16036
16028
  const scrollRef = _react.useRef.call(void 0, null);
@@ -16118,7 +16110,7 @@ function TabNavigation({
16118
16110
  var getTabById = (tabs, tabId) => tabs.find((tab) => tab.id === tabId);
16119
16111
  var getTabComponent = (tabs, tabId) => {
16120
16112
  const tab = getTabById(tabs, tabId);
16121
- return _optionalChain([tab, 'optionalAccess', _293 => _293.component]) || null;
16113
+ return _optionalChain([tab, 'optionalAccess', _291 => _291.component]) || null;
16122
16114
  };
16123
16115
 
16124
16116
  // src/components/ui/alert.tsx
@@ -16380,13 +16372,13 @@ var SocialEmbedCache = class _SocialEmbedCache {
16380
16372
  errorData = await response.json();
16381
16373
  } catch (e19) {
16382
16374
  }
16383
- if (response.status === 404 && _optionalChain([errorData, 'optionalAccess', _294 => _294.error]) && _optionalChain([errorData, 'optionalAccess', _295 => _295.message])) {
16375
+ if (response.status === 404 && _optionalChain([errorData, 'optionalAccess', _292 => _292.error]) && _optionalChain([errorData, 'optionalAccess', _293 => _293.message])) {
16384
16376
  console.log(`\u{1F6AB} [${platformName} Proxy] Content unavailable: ${errorData.message}`);
16385
16377
  onError(errorData.message);
16386
16378
  onLoading(false);
16387
16379
  return;
16388
16380
  }
16389
- if (_optionalChain([errorData, 'optionalAccess', _296 => _296.error])) {
16381
+ if (_optionalChain([errorData, 'optionalAccess', _294 => _294.error])) {
16390
16382
  throw new Error(`Server error: ${errorData.error}`);
16391
16383
  }
16392
16384
  throw new Error(`Server proxy failed: ${response.status}`);
@@ -16838,7 +16830,7 @@ function RedditEmbedClient({ url, maxWidth = 700 }) {
16838
16830
  apiEndpoint: redditProxyUrl,
16839
16831
  dataValidator: validateRedditData,
16840
16832
  onDataUpdate: (data) => {
16841
- if (_optionalChain([data, 'access', _297 => _297[0], 'optionalAccess', _298 => _298.data, 'optionalAccess', _299 => _299.children, 'optionalAccess', _300 => _300[0], 'optionalAccess', _301 => _301.data])) {
16833
+ if (_optionalChain([data, 'access', _295 => _295[0], 'optionalAccess', _296 => _296.data, 'optionalAccess', _297 => _297.children, 'optionalAccess', _298 => _298[0], 'optionalAccess', _299 => _299.data])) {
16842
16834
  setRedditData(data[0].data.children[0].data);
16843
16835
  }
16844
16836
  },
@@ -16909,11 +16901,11 @@ function RedditEmbedClient({ url, maxWidth = 700 }) {
16909
16901
  gallery_data: redditData.gallery_data,
16910
16902
  media_metadata: redditData.media_metadata
16911
16903
  });
16912
- const video = _optionalChain([redditData, 'access', _302 => _302.media, 'optionalAccess', _303 => _303.reddit_video]) || _optionalChain([redditData, 'access', _304 => _304.secure_media, 'optionalAccess', _305 => _305.reddit_video]);
16904
+ const video = _optionalChain([redditData, 'access', _300 => _300.media, 'optionalAccess', _301 => _301.reddit_video]) || _optionalChain([redditData, 'access', _302 => _302.secure_media, 'optionalAccess', _303 => _303.reddit_video]);
16913
16905
  if (video && video.fallback_url) {
16914
16906
  console.log("\u{1F4F9} Found Reddit video:", video);
16915
16907
  let posterUrl = "";
16916
- if (_optionalChain([redditData, 'access', _306 => _306.preview, 'optionalAccess', _307 => _307.images, 'optionalAccess', _308 => _308[0], 'optionalAccess', _309 => _309.source, 'optionalAccess', _310 => _310.url])) {
16908
+ if (_optionalChain([redditData, 'access', _304 => _304.preview, 'optionalAccess', _305 => _305.images, 'optionalAccess', _306 => _306[0], 'optionalAccess', _307 => _307.source, 'optionalAccess', _308 => _308.url])) {
16917
16909
  posterUrl = redditData.preview.images[0].source.url.replace(/&amp;/g, "&");
16918
16910
  console.log("\u2705 Using preview image as video poster:", posterUrl);
16919
16911
  } else {
@@ -16966,7 +16958,7 @@ function RedditEmbedClient({ url, maxWidth = 700 }) {
16966
16958
  return media;
16967
16959
  }
16968
16960
  }
16969
- if (_optionalChain([redditData, 'access', _311 => _311.preview, 'optionalAccess', _312 => _312.images, 'optionalAccess', _313 => _313[0]]) && !redditData.is_video) {
16961
+ if (_optionalChain([redditData, 'access', _309 => _309.preview, 'optionalAccess', _310 => _310.images, 'optionalAccess', _311 => _311[0]]) && !redditData.is_video) {
16970
16962
  const imageData = redditData.preview.images[0];
16971
16963
  console.log("\u{1F5BC}\uFE0F Found preview image data:", imageData);
16972
16964
  let source = imageData.source;
@@ -17001,7 +16993,7 @@ function RedditEmbedClient({ url, maxWidth = 700 }) {
17001
16993
  } else if (directUrl.match(/\.(mp4|webm|mov|avi)(\?.*)?$/i)) {
17002
16994
  console.log("\u{1F3AC} Found direct video URL");
17003
16995
  let posterUrl = "";
17004
- if (_optionalChain([redditData, 'access', _314 => _314.preview, 'optionalAccess', _315 => _315.images, 'optionalAccess', _316 => _316[0], 'optionalAccess', _317 => _317.source, 'optionalAccess', _318 => _318.url])) {
16996
+ if (_optionalChain([redditData, 'access', _312 => _312.preview, 'optionalAccess', _313 => _313.images, 'optionalAccess', _314 => _314[0], 'optionalAccess', _315 => _315.source, 'optionalAccess', _316 => _316.url])) {
17005
16997
  posterUrl = redditData.preview.images[0].source.url.replace(/&amp;/g, "&");
17006
16998
  }
17007
16999
  media.push({
@@ -17014,7 +17006,7 @@ function RedditEmbedClient({ url, maxWidth = 700 }) {
17014
17006
  });
17015
17007
  } else if (directUrl.includes("imgur.com") && !directUrl.includes(".gifv")) {
17016
17008
  console.log("\u{1F310} Found Imgur link");
17017
- const imgurId = _optionalChain([directUrl, 'access', _319 => _319.match, 'call', _320 => _320(/imgur\.com\/([a-zA-Z0-9]+)/), 'optionalAccess', _321 => _321[1]]);
17009
+ const imgurId = _optionalChain([directUrl, 'access', _317 => _317.match, 'call', _318 => _318(/imgur\.com\/([a-zA-Z0-9]+)/), 'optionalAccess', _319 => _319[1]]);
17018
17010
  if (imgurId && !directUrl.includes("/a/") && !directUrl.includes("/gallery/")) {
17019
17011
  media.push({
17020
17012
  type: "image",
@@ -17163,7 +17155,7 @@ function TwitterEmbedClient({ url, tweetId, maxWidth = 700 }) {
17163
17155
  const [loading, setLoading] = _react.useState.call(void 0, true);
17164
17156
  const [error, setError] = _react.useState.call(void 0, null);
17165
17157
  const initializationDone = _react.useRef.call(void 0, false);
17166
- const extractedTweetId = tweetId || _optionalChain([url, 'access', _322 => _322.match, 'call', _323 => _323(/status\/(\d+)/), 'optionalAccess', _324 => _324[1]]);
17158
+ const extractedTweetId = tweetId || _optionalChain([url, 'access', _320 => _320.match, 'call', _321 => _321(/status\/(\d+)/), 'optionalAccess', _322 => _322[1]]);
17167
17159
  const tweetUrl = url.includes("twitter.com") || url.includes("x.com") ? url : `https://twitter.com/twitter/status/${extractedTweetId}`;
17168
17160
  _react.useEffect.call(void 0, () => {
17169
17161
  if (initializationDone.current) return;
@@ -17230,10 +17222,10 @@ function TwitterEmbedClient({ url, tweetId, maxWidth = 700 }) {
17230
17222
  const parser = new DOMParser();
17231
17223
  const doc = parser.parseFromString(tweetData.html, "text/html");
17232
17224
  const blockquote = doc.querySelector("blockquote");
17233
- const fullText = _optionalChain([blockquote, 'optionalAccess', _325 => _325.textContent]) || "";
17225
+ const fullText = _optionalChain([blockquote, 'optionalAccess', _323 => _323.textContent]) || "";
17234
17226
  const tweetText = fullText.replace(/- .* \(@.*\).*$/, "").trim();
17235
17227
  const username = tweetData.author_url ? tweetData.author_url.split("/").pop() : "";
17236
- const links = Array.from(_optionalChain([blockquote, 'optionalAccess', _326 => _326.querySelectorAll, 'call', _327 => _327("a")]) || []).map((link) => ({
17228
+ const links = Array.from(_optionalChain([blockquote, 'optionalAccess', _324 => _324.querySelectorAll, 'call', _325 => _325("a")]) || []).map((link) => ({
17237
17229
  url: link.href,
17238
17230
  text: link.textContent || link.href
17239
17231
  })).filter((link) => !link.url.includes("twitter.com") && !link.url.includes("x.com"));
@@ -17488,7 +17480,7 @@ var OGLinkPreview = ({
17488
17480
  const response = await fetch(endpoint);
17489
17481
  if (response.ok) {
17490
17482
  const data = await response.json();
17491
- if (_optionalChain([data, 'optionalAccess', _328 => _328.title]) && data.title !== "Link Preview Unavailable") {
17483
+ if (_optionalChain([data, 'optionalAccess', _326 => _326.title]) && data.title !== "Link Preview Unavailable") {
17492
17484
  setOgData(data);
17493
17485
  } else {
17494
17486
  setError(true);
@@ -17515,8 +17507,8 @@ var OGLinkPreview = ({
17515
17507
  type: "website",
17516
17508
  favicon: `https://www.google.com/s2/favicons?domain=${domain}&sz=32`
17517
17509
  } : null)));
17518
- const placeholderImageUrl = enablePlaceholder && buildPlaceholderUrl && _optionalChain([effectiveData, 'optionalAccess', _329 => _329.title]) ? buildPlaceholderUrl(effectiveData.title, effectiveData.siteName || domain) : null;
17519
- const resolvedImageUrl = _optionalChain([effectiveData, 'optionalAccess', _330 => _330.image]) && !imageError ? effectiveData.image : _optionalChain([effectiveData, 'optionalAccess', _331 => _331.originalImage]) && !originalImageError ? effectiveData.originalImage : fallbackImage && !fallbackImageError ? fallbackImage : placeholderImageUrl;
17510
+ const placeholderImageUrl = enablePlaceholder && buildPlaceholderUrl && _optionalChain([effectiveData, 'optionalAccess', _327 => _327.title]) ? buildPlaceholderUrl(effectiveData.title, effectiveData.siteName || domain) : null;
17511
+ const resolvedImageUrl = _optionalChain([effectiveData, 'optionalAccess', _328 => _328.image]) && !imageError ? effectiveData.image : _optionalChain([effectiveData, 'optionalAccess', _329 => _329.originalImage]) && !originalImageError ? effectiveData.originalImage : fallbackImage && !fallbackImageError ? fallbackImage : placeholderImageUrl;
17520
17512
  const hasImage = !!resolvedImageUrl;
17521
17513
  const isFallbackImage = resolvedImageUrl === fallbackImage;
17522
17514
  const isPlaceholder = resolvedImageUrl === placeholderImageUrl && !isFallbackImage;
@@ -17762,9 +17754,9 @@ function toFigmaEmbedUrl(url, opts) {
17762
17754
  if (match2) {
17763
17755
  const [, urlType, fileKey, titleSlug, queryString] = match2;
17764
17756
  const isSlides = urlType === "slides" || urlType === "deck";
17765
- const embedType = urlType === "proto" ? "proto" : isSlides ? _optionalChain([opts, 'optionalAccess', _332 => _332.slidesView]) === "browse" ? "slides" : "deck" : "design";
17757
+ const embedType = urlType === "proto" ? "proto" : isSlides ? _optionalChain([opts, 'optionalAccess', _330 => _330.slidesView]) === "browse" ? "slides" : "deck" : "design";
17766
17758
  const pathSuffix = titleSlug ? `/${titleSlug}` : "";
17767
- const params = new URLSearchParams(_optionalChain([queryString, 'optionalAccess', _333 => _333.replace, 'call', _334 => _334(/^\?/, "")]) || "");
17759
+ const params = new URLSearchParams(_optionalChain([queryString, 'optionalAccess', _331 => _331.replace, 'call', _332 => _332(/^\?/, "")]) || "");
17768
17760
  if (!params.has("embed-host")) {
17769
17761
  params.set("embed-host", "flamingo");
17770
17762
  }
@@ -17845,7 +17837,7 @@ function EmbedIframe({
17845
17837
  allow,
17846
17838
  referrerPolicy,
17847
17839
  loading,
17848
- allowFullScreen: _optionalChain([allow, 'optionalAccess', _335 => _335.includes, 'call', _336 => _336("fullscreen")]) ? void 0 : allowFullScreen
17840
+ allowFullScreen: _optionalChain([allow, 'optionalAccess', _333 => _333.includes, 'call', _334 => _334("fullscreen")]) ? void 0 : allowFullScreen
17849
17841
  },
17850
17842
  src
17851
17843
  )
@@ -18596,7 +18588,7 @@ var RichMarkdownInner = ({
18596
18588
  const extractText2 = (node) => {
18597
18589
  if (typeof node === "string") return node;
18598
18590
  if (Array.isArray(node)) return node.map(extractText2).join("");
18599
- if (_optionalChain([node, 'optionalAccess', _337 => _337.props, 'optionalAccess', _338 => _338.children])) return extractText2(node.props.children);
18591
+ if (_optionalChain([node, 'optionalAccess', _335 => _335.props, 'optionalAccess', _336 => _336.children])) return extractText2(node.props.children);
18600
18592
  return "";
18601
18593
  };
18602
18594
  const text = extractText2(children);
@@ -18612,7 +18604,7 @@ var RichMarkdownInner = ({
18612
18604
  const extractText2 = (node) => {
18613
18605
  if (typeof node === "string") return node;
18614
18606
  if (Array.isArray(node)) return node.map(extractText2).join("");
18615
- if (_optionalChain([node, 'optionalAccess', _339 => _339.props, 'optionalAccess', _340 => _340.children])) return extractText2(node.props.children);
18607
+ if (_optionalChain([node, 'optionalAccess', _337 => _337.props, 'optionalAccess', _338 => _338.children])) return extractText2(node.props.children);
18616
18608
  return "";
18617
18609
  };
18618
18610
  const text = extractText2(children);
@@ -18630,7 +18622,7 @@ var RichMarkdownInner = ({
18630
18622
  const extractText2 = (node) => {
18631
18623
  if (typeof node === "string") return node;
18632
18624
  if (Array.isArray(node)) return node.map(extractText2).join("");
18633
- if (_optionalChain([node, 'optionalAccess', _341 => _341.props, 'optionalAccess', _342 => _342.children])) return extractText2(node.props.children);
18625
+ if (_optionalChain([node, 'optionalAccess', _339 => _339.props, 'optionalAccess', _340 => _340.children])) return extractText2(node.props.children);
18634
18626
  return "";
18635
18627
  };
18636
18628
  const text = extractText2(children);
@@ -18648,7 +18640,7 @@ var RichMarkdownInner = ({
18648
18640
  const extractText2 = (node) => {
18649
18641
  if (typeof node === "string") return node;
18650
18642
  if (Array.isArray(node)) return node.map(extractText2).join("");
18651
- if (_optionalChain([node, 'optionalAccess', _343 => _343.props, 'optionalAccess', _344 => _344.children])) return extractText2(node.props.children);
18643
+ if (_optionalChain([node, 'optionalAccess', _341 => _341.props, 'optionalAccess', _342 => _342.children])) return extractText2(node.props.children);
18652
18644
  return "";
18653
18645
  };
18654
18646
  const text = extractText2(children);
@@ -18666,7 +18658,7 @@ var RichMarkdownInner = ({
18666
18658
  const extractText2 = (node) => {
18667
18659
  if (typeof node === "string") return node;
18668
18660
  if (Array.isArray(node)) return node.map(extractText2).join("");
18669
- if (_optionalChain([node, 'optionalAccess', _345 => _345.props, 'optionalAccess', _346 => _346.children])) return extractText2(node.props.children);
18661
+ if (_optionalChain([node, 'optionalAccess', _343 => _343.props, 'optionalAccess', _344 => _344.children])) return extractText2(node.props.children);
18670
18662
  return "";
18671
18663
  };
18672
18664
  const text = extractText2(children);
@@ -18684,7 +18676,7 @@ var RichMarkdownInner = ({
18684
18676
  const extractText2 = (node) => {
18685
18677
  if (typeof node === "string") return node;
18686
18678
  if (Array.isArray(node)) return node.map(extractText2).join("");
18687
- if (_optionalChain([node, 'optionalAccess', _347 => _347.props, 'optionalAccess', _348 => _348.children])) return extractText2(node.props.children);
18679
+ if (_optionalChain([node, 'optionalAccess', _345 => _345.props, 'optionalAccess', _346 => _346.children])) return extractText2(node.props.children);
18688
18680
  return "";
18689
18681
  };
18690
18682
  const text = extractText2(children);
@@ -18760,8 +18752,8 @@ var RichMarkdownInner = ({
18760
18752
  {
18761
18753
  href,
18762
18754
  className: `text-ods-accent no-underline relative transition-colors duration-200 hover:after:w-full after:content-[''] after:absolute after:w-0 after:h-0.5 after:-bottom-0.5 after:left-0 after:bg-ods-accent after:transition-all after:duration-300 ${className2 || ""}`,
18763
- target: _optionalChain([href, 'optionalAccess', _349 => _349.startsWith, 'call', _350 => _350("http")]) ? "_blank" : void 0,
18764
- rel: _optionalChain([href, 'optionalAccess', _351 => _351.startsWith, 'call', _352 => _352("http")]) ? "noopener noreferrer" : void 0,
18755
+ target: _optionalChain([href, 'optionalAccess', _347 => _347.startsWith, 'call', _348 => _348("http")]) ? "_blank" : void 0,
18756
+ rel: _optionalChain([href, 'optionalAccess', _349 => _349.startsWith, 'call', _350 => _350("http")]) ? "noopener noreferrer" : void 0,
18765
18757
  children
18766
18758
  }
18767
18759
  );
@@ -18885,7 +18877,7 @@ function ReleaseChangelogSection({
18885
18877
  className: "overflow-hidden transition-[max-height] duration-500",
18886
18878
  style: {
18887
18879
  transitionTimingFunction: "cubic-bezier(0.33, 1, 0.68, 1)",
18888
- maxHeight: previewExpanded || !previewNeedsFade ? _nullishCoalesce(_optionalChain([previewContentRef, 'access', _353 => _353.current, 'optionalAccess', _354 => _354.scrollHeight]), () => ( 2e3)) : PREVIEW_COLLAPSED_HEIGHT,
18880
+ maxHeight: previewExpanded || !previewNeedsFade ? _nullishCoalesce(_optionalChain([previewContentRef, 'access', _351 => _351.current, 'optionalAccess', _352 => _352.scrollHeight]), () => ( 2e3)) : PREVIEW_COLLAPSED_HEIGHT,
18889
18881
  ...previewNeedsFade && !previewExpanded ? {
18890
18882
  maskImage: "linear-gradient(to bottom, black 30%, transparent 100%)",
18891
18883
  WebkitMaskImage: "linear-gradient(to bottom, black 30%, transparent 100%)"
@@ -19322,16 +19314,16 @@ function FilterModal({
19322
19314
  };
19323
19315
  const handleReset = () => {
19324
19316
  onFilterChange({});
19325
- _optionalChain([onTagsChange, 'optionalCall', _355 => _355([])]);
19317
+ _optionalChain([onTagsChange, 'optionalCall', _353 => _353([])]);
19326
19318
  onClose();
19327
19319
  };
19328
19320
  const handleApply = () => {
19329
19321
  onFilterChange(selectedFilters);
19330
- _optionalChain([onTagsChange, 'optionalCall', _356 => _356(pendingTags)]);
19322
+ _optionalChain([onTagsChange, 'optionalCall', _354 => _354(pendingTags)]);
19331
19323
  onClose();
19332
19324
  };
19333
19325
  const getColumnDirection = (columnKey) => {
19334
- return _optionalChain([sortConfig, 'optionalAccess', _357 => _357.sortBy]) === columnKey ? sortConfig.sortDirection : void 0;
19326
+ return _optionalChain([sortConfig, 'optionalAccess', _355 => _355.sortBy]) === columnKey ? sortConfig.sortDirection : void 0;
19335
19327
  };
19336
19328
  const hasSort = !!sortConfig && sortConfig.columns.length > 0;
19337
19329
  const hasFilterGroups = filterGroups.length > 0;
@@ -19380,7 +19372,7 @@ function FilterModal({
19380
19372
  {
19381
19373
  column,
19382
19374
  currentDirection: getColumnDirection(column.key),
19383
- onSort: (direction) => _optionalChain([onSort, 'optionalCall', _358 => _358(column.key, direction)]),
19375
+ onSort: (direction) => _optionalChain([onSort, 'optionalCall', _356 => _356(column.key, direction)]),
19384
19376
  onClear: onSortClear ? () => onSortClear(column.key) : void 0
19385
19377
  },
19386
19378
  column.key
@@ -19566,7 +19558,7 @@ function IconButtonsVariant({
19566
19558
  }) {
19567
19559
  const desktopActions = actions.filter((a) => !a.showOnlyMobile);
19568
19560
  const hasMenuActions = !!menuActions && menuActions.some((g) => g.items.length > 0);
19569
- const isSingleAction = actions.length === 1 && !_optionalChain([actions, 'access', _359 => _359[0], 'access', _360 => _360.submenu, 'optionalAccess', _361 => _361.length]);
19561
+ const isSingleAction = actions.length === 1 && !_optionalChain([actions, 'access', _357 => _357[0], 'access', _358 => _358.submenu, 'optionalAccess', _359 => _359.length]);
19570
19562
  const singleAction = isSingleAction ? actions[0] : null;
19571
19563
  const useSingleActionMobile = isSingleAction && !hasMenuActions;
19572
19564
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
@@ -20788,7 +20780,7 @@ function getShellIcon(shellType) {
20788
20780
  if (!shellType) return void 0;
20789
20781
  const normalized = shellType.toUpperCase();
20790
20782
  const shellDef = SHELL_TYPES.find((s) => s.id === normalized);
20791
- return _optionalChain([shellDef, 'optionalAccess', _362 => _362.icon]);
20783
+ return _optionalChain([shellDef, 'optionalAccess', _360 => _360.icon]);
20792
20784
  }
20793
20785
 
20794
20786
  // src/types/os.types.ts
@@ -20861,7 +20853,7 @@ function getOSIcon(osType) {
20861
20853
  const normalized = normalizeOSType(osType);
20862
20854
  if (!normalized) return void 0;
20863
20855
  const osTypeDef = OS_TYPES.find((t) => t.id === normalized);
20864
- return _optionalChain([osTypeDef, 'optionalAccess', _363 => _363.icon]);
20856
+ return _optionalChain([osTypeDef, 'optionalAccess', _361 => _361.icon]);
20865
20857
  }
20866
20858
  function getOSTypeDefinition(osType) {
20867
20859
  if (!osType) return void 0;
@@ -20871,7 +20863,7 @@ function getOSTypeDefinition(osType) {
20871
20863
  }
20872
20864
  function getOSPlatformId(osType) {
20873
20865
  const osTypeDef = getOSTypeDefinition(osType);
20874
- return _optionalChain([osTypeDef, 'optionalAccess', _364 => _364.platformId]);
20866
+ return _optionalChain([osTypeDef, 'optionalAccess', _362 => _362.platformId]);
20875
20867
  }
20876
20868
  function isOSPlatform(deviceOS, targetPlatform) {
20877
20869
  if (!deviceOS || !targetPlatform) return false;
@@ -20964,10 +20956,10 @@ var GENERIC_EMAIL_DOMAINS = [
20964
20956
  ];
20965
20957
  function extractDomainFromEmail(email) {
20966
20958
  if (!email || !email.includes("@")) return null;
20967
- return _optionalChain([email, 'access', _365 => _365.split, 'call', _366 => _366("@"), 'access', _367 => _367[1], 'optionalAccess', _368 => _368.toLowerCase, 'call', _369 => _369()]) || null;
20959
+ return _optionalChain([email, 'access', _363 => _363.split, 'call', _364 => _364("@"), 'access', _365 => _365[1], 'optionalAccess', _366 => _366.toLowerCase, 'call', _367 => _367()]) || null;
20968
20960
  }
20969
20961
  function normalizeDomain(domain) {
20970
- return _optionalChain([domain, 'optionalAccess', _370 => _370.toLowerCase, 'call', _371 => _371(), 'access', _372 => _372.replace, 'call', _373 => _373(/^https?:\/\//, ""), 'access', _374 => _374.replace, 'call', _375 => _375(/^www\./, ""), 'access', _376 => _376.split, 'call', _377 => _377("/"), 'access', _378 => _378[0], 'access', _379 => _379.trim, 'call', _380 => _380()]) || "";
20962
+ return _optionalChain([domain, 'optionalAccess', _368 => _368.toLowerCase, 'call', _369 => _369(), 'access', _370 => _370.replace, 'call', _371 => _371(/^https?:\/\//, ""), 'access', _372 => _372.replace, 'call', _373 => _373(/^www\./, ""), 'access', _374 => _374.split, 'call', _375 => _375("/"), 'access', _376 => _376[0], 'access', _377 => _377.trim, 'call', _378 => _378()]) || "";
20971
20963
  }
20972
20964
  function isGenericDomain(domain) {
20973
20965
  const normalized = normalizeDomain(domain);
@@ -21401,7 +21393,7 @@ function defaultTableIdForDocumentType(documentType) {
21401
21393
 
21402
21394
  // src/utils/sse-decision-frame.ts
21403
21395
  async function readLeadingDecisionFrame(response) {
21404
- const reader = _optionalChain([response, 'access', _381 => _381.body, 'optionalAccess', _382 => _382.getReader, 'call', _383 => _383()]);
21396
+ const reader = _optionalChain([response, 'access', _379 => _379.body, 'optionalAccess', _380 => _380.getReader, 'call', _381 => _381()]);
21405
21397
  if (!reader) throw new Error("readLeadingDecisionFrame: response has no body");
21406
21398
  const decoder = new TextDecoder();
21407
21399
  let buffer = "";
@@ -21430,9 +21422,9 @@ async function readLeadingDecisionFrame(response) {
21430
21422
  );
21431
21423
  }
21432
21424
  const obj = parsed;
21433
- if (_optionalChain([obj, 'optionalAccess', _384 => _384.kind]) !== "decision_resolved") {
21425
+ if (_optionalChain([obj, 'optionalAccess', _382 => _382.kind]) !== "decision_resolved") {
21434
21426
  throw new Error(
21435
- `readLeadingDecisionFrame: expected decision_resolved, got kind=${String(_optionalChain([obj, 'optionalAccess', _385 => _385.kind]))}`
21427
+ `readLeadingDecisionFrame: expected decision_resolved, got kind=${String(_optionalChain([obj, 'optionalAccess', _383 => _383.kind]))}`
21436
21428
  );
21437
21429
  }
21438
21430
  frame = normalizeDecisionFrame(obj);
@@ -21473,7 +21465,7 @@ var AUTO_CONTINUATION_DIRECTIVE_PREFIX = "[internal-auto-continuation]";
21473
21465
  function buildAutoContinuationDirective(toolName, opts = {}) {
21474
21466
  const ticketRef = opts.ticketId ? ` (ticket #${opts.ticketId})` : "";
21475
21467
  const ticketHash = opts.ticketId ? ` #${opts.ticketId}` : "";
21476
- const isClose = toolName === "update_ticket" && _optionalChain([opts, 'access', _386 => _386.status, 'optionalAccess', _387 => _387.toUpperCase, 'call', _388 => _388()]) === "CLOSED";
21468
+ const isClose = toolName === "update_ticket" && _optionalChain([opts, 'access', _384 => _384.status, 'optionalAccess', _385 => _385.toUpperCase, 'call', _386 => _386()]) === "CLOSED";
21477
21469
  if (toolName === "create_ticket") {
21478
21470
  return `${AUTO_CONTINUATION_DIRECTIVE_PREFIX} The user just approved create_ticket${ticketRef}. Per ticket-protocol \xA71a, ask 2-4 SHORT, issue-specific diagnostic follow-up questions tailored to the symptom they reported in their original message. When they answer, propose an update_ticket with content_addendum carrying a clean Q&A digest. Do NOT call any tool in this turn \u2014 just write the questions as prose.`;
21479
21471
  }
@@ -21535,7 +21527,7 @@ function formatSingularLookupInvocation(cmdId, value) {
21535
21527
  return safe ? `/${cmdId} "${safe}"` : `/${cmdId}`;
21536
21528
  }
21537
21529
  function extractEntityIdFilter(override, expectedTableId) {
21538
- const f = _optionalChain([override, 'optionalAccess', _389 => _389.entityIdFilter]);
21530
+ const f = _optionalChain([override, 'optionalAccess', _387 => _387.entityIdFilter]);
21539
21531
  if (!f) return null;
21540
21532
  const tableId = typeof f.tableId === "string" ? f.tableId : "";
21541
21533
  const id = typeof f.id === "string" ? f.id : "";
@@ -21610,7 +21602,7 @@ function getTaskTypeLabel(customItemId) {
21610
21602
 
21611
21603
  // src/components/chat/utils/agent-status-message.ts
21612
21604
  function getStatusColorScheme(status) {
21613
- const s = _optionalChain([status, 'optionalAccess', _390 => _390.toLowerCase, 'call', _391 => _391()]) || "";
21605
+ const s = _optionalChain([status, 'optionalAccess', _388 => _388.toLowerCase, 'call', _389 => _389()]) || "";
21614
21606
  switch (status) {
21615
21607
  case "completed":
21616
21608
  case "success":
@@ -21892,10 +21884,10 @@ var CONTENT_REF_GROUPS = {
21892
21884
  what_i_shipped: { label: "What I Shipped", order: 10, layout: "grid", gridSize: "default" }
21893
21885
  };
21894
21886
  function getContentRefLabel(type) {
21895
- return _nullishCoalesce(_optionalChain([CONTENT_REF_GROUPS, 'access', _392 => _392[type], 'optionalAccess', _393 => _393.label]), () => ( null));
21887
+ return _nullishCoalesce(_optionalChain([CONTENT_REF_GROUPS, 'access', _390 => _390[type], 'optionalAccess', _391 => _391.label]), () => ( null));
21896
21888
  }
21897
21889
  function getContentRefLabelOrTitleCase(type) {
21898
- return _nullishCoalesce(_optionalChain([CONTENT_REF_GROUPS, 'access', _394 => _394[type], 'optionalAccess', _395 => _395.label]), () => ( type.replace(/_/g, " ").replace(/\b\w/g, (ch) => ch.toUpperCase())));
21890
+ return _nullishCoalesce(_optionalChain([CONTENT_REF_GROUPS, 'access', _392 => _392[type], 'optionalAccess', _393 => _393.label]), () => ( type.replace(/_/g, " ").replace(/\b\w/g, (ch) => ch.toUpperCase())));
21899
21891
  }
21900
21892
  function orderContentRefTypes(present) {
21901
21893
  const presentSet = new Set(present);
@@ -22054,7 +22046,7 @@ function getDocSourceDefaultPath(structure, folderIndexFile = DEFAULT_FOLDER_IND
22054
22046
  const firstFolderWithReadme = structure.find(
22055
22047
  (node) => node.type === "folder" && node.hasReadme && !!node.path
22056
22048
  );
22057
- return _nullishCoalesce(_optionalChain([firstFolderWithReadme, 'optionalAccess', _396 => _396.path]), () => ( null));
22049
+ return _nullishCoalesce(_optionalChain([firstFolderWithReadme, 'optionalAccess', _394 => _394.path]), () => ( null));
22058
22050
  }
22059
22051
 
22060
22052
  // src/utils/doc-path-utils.ts
@@ -22065,7 +22057,7 @@ function pathToNodeId(path) {
22065
22057
  return path.replace(/[\/\s]/g, "-").toLowerCase();
22066
22058
  }
22067
22059
  function normalizeDocPath(segments, folderIndexFile = DEFAULT_FOLDER_INDEX_FILE) {
22068
- const lowerPath = (_optionalChain([segments, 'optionalAccess', _397 => _397.join, 'call', _398 => _398("/")]) || "").toLowerCase();
22060
+ const lowerPath = (_optionalChain([segments, 'optionalAccess', _395 => _395.join, 'call', _396 => _396("/")]) || "").toLowerCase();
22069
22061
  const lowerIndex = folderIndexFile.toLowerCase();
22070
22062
  const suffix = `/${lowerIndex}`;
22071
22063
  if (lowerPath.endsWith(suffix)) return lowerPath.slice(0, -suffix.length);
@@ -22926,26 +22918,26 @@ function DeviceCard({
22926
22918
  ] }),
22927
22919
  device.organization && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "font-['DM_Sans'] font-medium text-[14px] leading-[20px] text-ods-text-secondary truncate", title: device.organization, children: device.organization })
22928
22920
  ] }),
22929
- _optionalChain([actions, 'access', _399 => _399.moreButton, 'optionalAccess', _400 => _400.visible]) !== false && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
22921
+ _optionalChain([actions, 'access', _397 => _397.moreButton, 'optionalAccess', _398 => _398.visible]) !== false && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
22930
22922
  "div",
22931
22923
  {
22932
22924
  className: "flex items-center justify-center p-3 rounded-[6px] shrink-0 border border-ods-border cursor-pointer hover:bg-ods-bg-hover transition-colors",
22933
22925
  onClick: (e) => {
22934
22926
  e.stopPropagation();
22935
- _optionalChain([actions, 'access', _401 => _401.moreButton, 'optionalAccess', _402 => _402.onClick, 'optionalCall', _403 => _403()]);
22927
+ _optionalChain([actions, 'access', _399 => _399.moreButton, 'optionalAccess', _400 => _400.onClick, 'optionalCall', _401 => _401()]);
22936
22928
  },
22937
22929
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.Ellipsis01Icon, { className: "text-ods-text-primary" })
22938
22930
  }
22939
22931
  ),
22940
- _optionalChain([actions, 'access', _404 => _404.detailsButton, 'optionalAccess', _405 => _405.visible]) !== false && _optionalChain([actions, 'access', _406 => _406.detailsButton, 'optionalAccess', _407 => _407.component]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "shrink-0", onClick: (e) => e.stopPropagation(), children: actions.detailsButton.component }),
22941
- _optionalChain([actions, 'access', _408 => _408.customActions, 'optionalAccess', _409 => _409.map, 'call', _410 => _410(
22932
+ _optionalChain([actions, 'access', _402 => _402.detailsButton, 'optionalAccess', _403 => _403.visible]) !== false && _optionalChain([actions, 'access', _404 => _404.detailsButton, 'optionalAccess', _405 => _405.component]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "shrink-0", onClick: (e) => e.stopPropagation(), children: actions.detailsButton.component }),
22933
+ _optionalChain([actions, 'access', _406 => _406.customActions, 'optionalAccess', _407 => _407.map, 'call', _408 => _408(
22942
22934
  (action, index) => action.visible !== false && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
22943
22935
  "div",
22944
22936
  {
22945
22937
  className: "flex items-center justify-center px-4 py-3 rounded-[6px] shrink-0 border border-ods-border cursor-pointer hover:bg-ods-bg-hover transition-colors",
22946
22938
  onClick: (e) => {
22947
22939
  e.stopPropagation();
22948
- _optionalChain([action, 'access', _411 => _411.onClick, 'optionalCall', _412 => _412()]);
22940
+ _optionalChain([action, 'access', _409 => _409.onClick, 'optionalCall', _410 => _410()]);
22949
22941
  },
22950
22942
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-h3 text-ods-text-primary text-nowrap tracking-[-0.36px]", children: action.label })
22951
22943
  },
@@ -23445,7 +23437,7 @@ function MoreActionsMenu({
23445
23437
  ] });
23446
23438
  const handleActivate = (e) => {
23447
23439
  e.stopPropagation();
23448
- if (!item.disabled) _optionalChain([item, 'access', _413 => _413.onClick, 'optionalCall', _414 => _414()]);
23440
+ if (!item.disabled) _optionalChain([item, 'access', _411 => _411.onClick, 'optionalCall', _412 => _412()]);
23449
23441
  };
23450
23442
  if (item.href) {
23451
23443
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -23512,7 +23504,7 @@ function OrganizationCard({
23512
23504
  const handleActionClick = (e) => {
23513
23505
  e.preventDefault();
23514
23506
  e.stopPropagation();
23515
- _optionalChain([actionButton, 'optionalAccess', _415 => _415.onClick, 'call', _416 => _416(organization, e)]);
23507
+ _optionalChain([actionButton, 'optionalAccess', _413 => _413.onClick, 'call', _414 => _414(organization, e)]);
23516
23508
  };
23517
23509
  const card = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
23518
23510
  "div",
@@ -24418,10 +24410,10 @@ var getContentDimensions = (config) => {
24418
24410
  const envMobileHeight = process.env.NEXT_PUBLIC_FIGMA_MOBILE_HEIGHT ? parseInt(process.env.NEXT_PUBLIC_FIGMA_MOBILE_HEIGHT) : null;
24419
24411
  const envDesktopWidth = process.env.NEXT_PUBLIC_FIGMA_DESKTOP_WIDTH ? parseInt(process.env.NEXT_PUBLIC_FIGMA_DESKTOP_WIDTH) : null;
24420
24412
  const envDesktopHeight = process.env.NEXT_PUBLIC_FIGMA_DESKTOP_HEIGHT ? parseInt(process.env.NEXT_PUBLIC_FIGMA_DESKTOP_HEIGHT) : null;
24421
- const mobileWidth = _nullishCoalesce(_nullishCoalesce(envMobileWidth, () => ( _optionalChain([config, 'optionalAccess', _417 => _417.mobileContentDimensions, 'optionalAccess', _418 => _418.width]))), () => ( defaultMobile.width));
24422
- const mobileHeight = _nullishCoalesce(_nullishCoalesce(envMobileHeight, () => ( _optionalChain([config, 'optionalAccess', _419 => _419.mobileContentDimensions, 'optionalAccess', _420 => _420.height]))), () => ( defaultMobile.height));
24423
- const desktopWidth = _nullishCoalesce(_nullishCoalesce(envDesktopWidth, () => ( _optionalChain([config, 'optionalAccess', _421 => _421.desktopContentDimensions, 'optionalAccess', _422 => _422.width]))), () => ( defaultDesktop.width));
24424
- const desktopHeight = _nullishCoalesce(_nullishCoalesce(envDesktopHeight, () => ( _optionalChain([config, 'optionalAccess', _423 => _423.desktopContentDimensions, 'optionalAccess', _424 => _424.height]))), () => ( defaultDesktop.height));
24413
+ const mobileWidth = _nullishCoalesce(_nullishCoalesce(envMobileWidth, () => ( _optionalChain([config, 'optionalAccess', _415 => _415.mobileContentDimensions, 'optionalAccess', _416 => _416.width]))), () => ( defaultMobile.width));
24414
+ const mobileHeight = _nullishCoalesce(_nullishCoalesce(envMobileHeight, () => ( _optionalChain([config, 'optionalAccess', _417 => _417.mobileContentDimensions, 'optionalAccess', _418 => _418.height]))), () => ( defaultMobile.height));
24415
+ const desktopWidth = _nullishCoalesce(_nullishCoalesce(envDesktopWidth, () => ( _optionalChain([config, 'optionalAccess', _419 => _419.desktopContentDimensions, 'optionalAccess', _420 => _420.width]))), () => ( defaultDesktop.width));
24416
+ const desktopHeight = _nullishCoalesce(_nullishCoalesce(envDesktopHeight, () => ( _optionalChain([config, 'optionalAccess', _421 => _421.desktopContentDimensions, 'optionalAccess', _422 => _422.height]))), () => ( defaultDesktop.height));
24425
24417
  return {
24426
24418
  mobile: { width: mobileWidth, height: mobileHeight },
24427
24419
  desktop: { width: desktopWidth, height: desktopHeight }
@@ -24555,7 +24547,7 @@ function renderUnifiedUI(state, handlers, config, iframeRef) {
24555
24547
  const contentDimensions = getContentDimensions(config);
24556
24548
  const mobileHeight = contentDimensions.mobile.height;
24557
24549
  const calculatedHeight = Math.max(mobileHeight + 100, 400);
24558
- return `${Math.min(calculatedHeight, _optionalChain([window, 'optionalAccess', _425 => _425.innerHeight]) * 0.85 || 650)}px`;
24550
+ return `${Math.min(calculatedHeight, _optionalChain([window, 'optionalAccess', _423 => _423.innerHeight]) * 0.85 || 650)}px`;
24559
24551
  })(),
24560
24552
  minHeight: viewMode === "DESKTOP" ? "auto" : (() => {
24561
24553
  const contentDimensions = getContentDimensions(config);
@@ -24660,7 +24652,7 @@ var FigmaPrototypeViewer = ({
24660
24652
  const [isInitialized, setIsInitialized] = _react.useState.call(void 0, false);
24661
24653
  const [currentNodeId, setCurrentNodeId] = _react.useState.call(void 0, null);
24662
24654
  const [internalActiveSection, setInternalActiveSection] = _react.useState.call(void 0,
24663
- config.defaultSectionId || _optionalChain([config, 'access', _426 => _426.sections, 'access', _427 => _427[0], 'optionalAccess', _428 => _428.id]) || ""
24655
+ config.defaultSectionId || _optionalChain([config, 'access', _424 => _424.sections, 'access', _425 => _425[0], 'optionalAccess', _426 => _426.id]) || ""
24664
24656
  );
24665
24657
  const activeSection = externalActiveSection || internalActiveSection;
24666
24658
  const [isNavigating, setIsNavigating] = _react.useState.call(void 0, false);
@@ -24750,7 +24742,7 @@ var FigmaPrototypeViewer = ({
24750
24742
  const handleMessage = (event) => {
24751
24743
  if (event.origin !== "https://www.figma.com") return;
24752
24744
  const validEvents = ["INITIAL_LOAD", "NEW_STATE", "PRESENTED_NODE_CHANGED"];
24753
- if (_optionalChain([event, 'access', _429 => _429.data, 'optionalAccess', _430 => _430.type]) && validEvents.includes(event.data.type)) {
24745
+ if (_optionalChain([event, 'access', _427 => _427.data, 'optionalAccess', _428 => _428.type]) && validEvents.includes(event.data.type)) {
24754
24746
  const figmaEvent = event.data;
24755
24747
  console.log("[Figma Event]", figmaEvent.type, viewMode);
24756
24748
  switch (figmaEvent.type) {
@@ -24760,19 +24752,19 @@ var FigmaPrototypeViewer = ({
24760
24752
  setIframeState("READY");
24761
24753
  break;
24762
24754
  case "PRESENTED_NODE_CHANGED":
24763
- if (_optionalChain([figmaEvent, 'access', _431 => _431.data, 'optionalAccess', _432 => _432.presentedNodeId])) {
24755
+ if (_optionalChain([figmaEvent, 'access', _429 => _429.data, 'optionalAccess', _430 => _430.presentedNodeId])) {
24764
24756
  setCurrentNodeId(figmaEvent.data.presentedNodeId);
24765
24757
  if (!isNavigating) {
24766
24758
  const matchingSection = config.sections.find((s) => {
24767
- const desktopMatch = s.startingNodeId === _optionalChain([figmaEvent, 'access', _433 => _433.data, 'optionalAccess', _434 => _434.presentedNodeId]) || s.startingNodeId.replace(":", "-") === _optionalChain([figmaEvent, 'access', _435 => _435.data, 'optionalAccess', _436 => _436.presentedNodeId]);
24768
- const mobileMatch = s.mobileStartingNodeId === _optionalChain([figmaEvent, 'access', _437 => _437.data, 'optionalAccess', _438 => _438.presentedNodeId]) || _optionalChain([s, 'access', _439 => _439.mobileStartingNodeId, 'optionalAccess', _440 => _440.replace, 'call', _441 => _441(":", "-")]) === _optionalChain([figmaEvent, 'access', _442 => _442.data, 'optionalAccess', _443 => _443.presentedNodeId]);
24759
+ const desktopMatch = s.startingNodeId === _optionalChain([figmaEvent, 'access', _431 => _431.data, 'optionalAccess', _432 => _432.presentedNodeId]) || s.startingNodeId.replace(":", "-") === _optionalChain([figmaEvent, 'access', _433 => _433.data, 'optionalAccess', _434 => _434.presentedNodeId]);
24760
+ const mobileMatch = s.mobileStartingNodeId === _optionalChain([figmaEvent, 'access', _435 => _435.data, 'optionalAccess', _436 => _436.presentedNodeId]) || _optionalChain([s, 'access', _437 => _437.mobileStartingNodeId, 'optionalAccess', _438 => _438.replace, 'call', _439 => _439(":", "-")]) === _optionalChain([figmaEvent, 'access', _440 => _440.data, 'optionalAccess', _441 => _441.presentedNodeId]);
24769
24761
  return desktopMatch || mobileMatch;
24770
24762
  });
24771
24763
  if (matchingSection && matchingSection.id !== activeSection) {
24772
24764
  if (!externalActiveSection) {
24773
24765
  setInternalActiveSection(matchingSection.id);
24774
24766
  }
24775
- _optionalChain([config, 'access', _444 => _444.onSectionChange, 'optionalCall', _445 => _445(matchingSection.id)]);
24767
+ _optionalChain([config, 'access', _442 => _442.onSectionChange, 'optionalCall', _443 => _443(matchingSection.id)]);
24776
24768
  }
24777
24769
  }
24778
24770
  }
@@ -24785,7 +24777,7 @@ var FigmaPrototypeViewer = ({
24785
24777
  }, [config.sections, activeSection, isNavigating, externalActiveSection, config.onSectionChange, viewMode]);
24786
24778
  const navigateToSection = _react.useCallback.call(void 0, (sectionId) => {
24787
24779
  const section = config.sections.find((s) => s.id === sectionId);
24788
- if (!section || !_optionalChain([iframeRef, 'access', _446 => _446.current, 'optionalAccess', _447 => _447.contentWindow]) || !isInitialized) {
24780
+ if (!section || !_optionalChain([iframeRef, 'access', _444 => _444.current, 'optionalAccess', _445 => _445.contentWindow]) || !isInitialized) {
24789
24781
  return;
24790
24782
  }
24791
24783
  setIsNavigating(true);
@@ -24793,7 +24785,7 @@ var FigmaPrototypeViewer = ({
24793
24785
  if (!externalActiveSection) {
24794
24786
  setInternalActiveSection(sectionId);
24795
24787
  }
24796
- _optionalChain([config, 'access', _448 => _448.onSectionChange, 'optionalCall', _449 => _449(sectionId)]);
24788
+ _optionalChain([config, 'access', _446 => _446.onSectionChange, 'optionalCall', _447 => _447(sectionId)]);
24797
24789
  const command = {
24798
24790
  type: "NAVIGATE_TO_FRAME_AND_CLOSE_OVERLAYS",
24799
24791
  data: { nodeId }
@@ -25113,7 +25105,7 @@ var FiltersDropdown = ({
25113
25105
  defaults[section.id] = section.defaultSelected || [];
25114
25106
  });
25115
25107
  setSelectedFilters(defaults);
25116
- _optionalChain([onReset, 'optionalCall', _450 => _450()]);
25108
+ _optionalChain([onReset, 'optionalCall', _448 => _448()]);
25117
25109
  setIsOpen(false);
25118
25110
  };
25119
25111
  const handleApply = () => {
@@ -25406,7 +25398,7 @@ function MediaGalleryManager({
25406
25398
  const [deletingIndex, setDeletingIndex] = _react.useState.call(void 0, null);
25407
25399
  const [draggedIndex, setDraggedIndex] = _react.useState.call(void 0, null);
25408
25400
  const handleFileSelect = _react.useCallback.call(void 0, async (event) => {
25409
- const file = _optionalChain([event, 'access', _451 => _451.target, 'access', _452 => _452.files, 'optionalAccess', _453 => _453[0]]);
25401
+ const file = _optionalChain([event, 'access', _449 => _449.target, 'access', _450 => _450.files, 'optionalAccess', _451 => _451[0]]);
25410
25402
  if (!file) return;
25411
25403
  let mediaType;
25412
25404
  if (file.type.startsWith("image/")) {
@@ -25521,7 +25513,7 @@ function MediaGalleryManager({
25521
25513
  {
25522
25514
  type: "button",
25523
25515
  variant: "outline",
25524
- onClick: () => _optionalChain([fileInputRef, 'access', _454 => _454.current, 'optionalAccess', _455 => _455.click, 'call', _456 => _456()]),
25516
+ onClick: () => _optionalChain([fileInputRef, 'access', _452 => _452.current, 'optionalAccess', _453 => _453.click, 'call', _454 => _454()]),
25525
25517
  disabled: isUploading,
25526
25518
  leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Plus, { className: "h-4 w-4" }),
25527
25519
  className: "font-['DM_Sans'] text-[16px] font-bold",
@@ -26189,7 +26181,7 @@ function ReleaseMediaManager({
26189
26181
  const fileInputRef = _react.useRef.call(void 0, null);
26190
26182
  const [uploadingIndex, setUploadingIndex] = _react.useState.call(void 0, null);
26191
26183
  const handleFileSelect = async (event) => {
26192
- const file = _optionalChain([event, 'access', _457 => _457.target, 'access', _458 => _458.files, 'optionalAccess', _459 => _459[0]]);
26184
+ const file = _optionalChain([event, 'access', _455 => _455.target, 'access', _456 => _456.files, 'optionalAccess', _457 => _457[0]]);
26193
26185
  if (!file) return;
26194
26186
  let mediaType;
26195
26187
  if (file.type.startsWith("image/")) {
@@ -26269,7 +26261,7 @@ function ReleaseMediaManager({
26269
26261
  {
26270
26262
  type: "button",
26271
26263
  variant: "outline",
26272
- onClick: () => _optionalChain([fileInputRef, 'access', _460 => _460.current, 'optionalAccess', _461 => _461.click, 'call', _462 => _462()]),
26264
+ onClick: () => _optionalChain([fileInputRef, 'access', _458 => _458.current, 'optionalAccess', _459 => _459.click, 'call', _460 => _460()]),
26273
26265
  disabled: uploadingIndex !== null,
26274
26266
  leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Plus, { className: "h-4 w-4" }),
26275
26267
  className: "font-['DM_Sans'] text-[16px] font-bold",
@@ -26484,7 +26476,7 @@ function SEOEditorPreview({
26484
26476
  const displayImage = hasOgImage || hasFeaturedImage;
26485
26477
  const handleImageUpload = async (event) => {
26486
26478
  if (!onOgImageUpload) return;
26487
- const file = _optionalChain([event, 'access', _463 => _463.target, 'access', _464 => _464.files, 'optionalAccess', _465 => _465[0]]);
26479
+ const file = _optionalChain([event, 'access', _461 => _461.target, 'access', _462 => _462.files, 'optionalAccess', _463 => _463[0]]);
26488
26480
  if (!file) return;
26489
26481
  setIsUploading(true);
26490
26482
  try {
@@ -26625,7 +26617,7 @@ function SEOEditorPreview({
26625
26617
  type: "button",
26626
26618
  variant: "outline",
26627
26619
  size: "icon",
26628
- onClick: () => _optionalChain([fileInputRef, 'optionalAccess', _466 => _466.click, 'call', _467 => _467()]),
26620
+ onClick: () => _optionalChain([fileInputRef, 'optionalAccess', _464 => _464.click, 'call', _465 => _465()]),
26629
26621
  disabled: disabled || isUploading,
26630
26622
  className: "bg-white text-black hover:bg-gray-100 rounded-full opacity-0 group-hover:opacity-100",
26631
26623
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Upload, { className: "h-4 w-4" })
@@ -26648,7 +26640,7 @@ function SEOEditorPreview({
26648
26640
  "div",
26649
26641
  {
26650
26642
  className: "h-full min-h-[280px] border-2 border-dashed border-ods-border rounded-lg flex flex-col items-center justify-center cursor-pointer hover:border-ods-accent transition-colors bg-ods-bg-hover",
26651
- onClick: () => onOgImageUpload && _optionalChain([fileInputRef, 'optionalAccess', _468 => _468.click, 'call', _469 => _469()]),
26643
+ onClick: () => onOgImageUpload && _optionalChain([fileInputRef, 'optionalAccess', _466 => _466.click, 'call', _467 => _467()]),
26652
26644
  children: isUploading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Loader2, { className: "h-8 w-8 animate-spin text-ods-accent" }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
26653
26645
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Upload, { className: "h-8 w-8 text-ods-text-secondary mb-2" }),
26654
26646
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-sm text-ods-text-secondary font-['DM_Sans']", children: onOgImageUpload ? "Click to upload OG image" : "No image" })
@@ -26735,7 +26727,7 @@ function SocialLinksManager({
26735
26727
  className = ""
26736
26728
  }) {
26737
26729
  const addLink = () => {
26738
- const firstPlatform = _optionalChain([platforms, 'access', _470 => _470[0], 'optionalAccess', _471 => _471.name]) || "website";
26730
+ const firstPlatform = _optionalChain([platforms, 'access', _468 => _468[0], 'optionalAccess', _469 => _469.name]) || "website";
26739
26731
  onChange([...links, { platform: firstPlatform, url: "" }]);
26740
26732
  };
26741
26733
  const removeLink = (index) => {
@@ -26747,7 +26739,7 @@ function SocialLinksManager({
26747
26739
  onChange(updated);
26748
26740
  };
26749
26741
  const getIcon = (link, platform) => {
26750
- const iconKey = _optionalChain([platform, 'optionalAccess', _472 => _472.icon_name]) || link.platform;
26742
+ const iconKey = _optionalChain([platform, 'optionalAccess', _470 => _470.icon_name]) || link.platform;
26751
26743
  const IconComponent = iconMap[iconKey];
26752
26744
  return IconComponent ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, IconComponent, { className: "w-5 h-5 text-ods-text-secondary" }) : null;
26753
26745
  };
@@ -26772,7 +26764,7 @@ function SocialLinksManager({
26772
26764
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
26773
26765
  _chunkQJGRP2YEcjs.Input,
26774
26766
  {
26775
- placeholder: _optionalChain([platform, 'optionalAccess', _473 => _473.placeholder]) || "Profile URL",
26767
+ placeholder: _optionalChain([platform, 'optionalAccess', _471 => _471.placeholder]) || "Profile URL",
26776
26768
  value: link.url,
26777
26769
  onChange: (e) => updateLink(index, "url", e.target.value),
26778
26770
  onKeyDown: (e) => {
@@ -27165,7 +27157,7 @@ function useVideoOriginPreconnect({
27165
27157
  supabaseStorageOrigin
27166
27158
  } = {}) {
27167
27159
  const runtime = _chunkN2DVKXN4cjs.useChatRuntime.call(void 0, );
27168
- const resolvedOrigin = _nullishCoalesce(supabaseStorageOrigin, () => ( _optionalChain([runtime, 'optionalAccess', _474 => _474.endpoints, 'access', _475 => _475.supabaseStorageOrigin])));
27160
+ const resolvedOrigin = _nullishCoalesce(supabaseStorageOrigin, () => ( _optionalChain([runtime, 'optionalAccess', _472 => _472.endpoints, 'access', _473 => _473.supabaseStorageOrigin])));
27169
27161
  try {
27170
27162
  ReactDOM2.default.preconnect(MUX_STREAM_ORIGIN, { crossOrigin: "anonymous" });
27171
27163
  ReactDOM2.default.preconnect(MUX_IMAGE_ORIGIN, { crossOrigin: "anonymous" });
@@ -27184,13 +27176,13 @@ function useVideoWarmup({
27184
27176
  nearMargin = "1000px"
27185
27177
  } = {}) {
27186
27178
  const runtime = _chunkN2DVKXN4cjs.useChatRuntime.call(void 0, );
27187
- const resolvedOrigin = _nullishCoalesce(supabaseStorageOrigin, () => ( _optionalChain([runtime, 'optionalAccess', _476 => _476.endpoints, 'access', _477 => _477.supabaseStorageOrigin])));
27179
+ const resolvedOrigin = _nullishCoalesce(supabaseStorageOrigin, () => ( _optionalChain([runtime, 'optionalAccess', _474 => _474.endpoints, 'access', _475 => _475.supabaseStorageOrigin])));
27188
27180
  useVideoOriginPreconnect({ supabaseStorageOrigin: resolvedOrigin });
27189
27181
  const { ref, isNear } = _chunkDCIB6AK3cjs.useNearViewport.call(void 0, nearMargin);
27190
27182
  _react.useEffect.call(void 0, () => {
27191
27183
  if (!isNear || !videoUrl || !resolvedOrigin) return;
27192
27184
  const conn = navigator.connection;
27193
- if (_optionalChain([conn, 'optionalAccess', _478 => _478.saveData]) === true) return;
27185
+ if (_optionalChain([conn, 'optionalAccess', _476 => _476.saveData]) === true) return;
27194
27186
  let videoOrigin;
27195
27187
  try {
27196
27188
  videoOrigin = new URL(videoUrl, "http://placeholder.local").origin;
@@ -27260,7 +27252,7 @@ function VideoSourceSelector({
27260
27252
  input.accept = "video/*";
27261
27253
  input.onchange = async (e) => {
27262
27254
  const target = e.target;
27263
- const file = _optionalChain([target, 'access', _479 => _479.files, 'optionalAccess', _480 => _480[0]]);
27255
+ const file = _optionalChain([target, 'access', _477 => _477.files, 'optionalAccess', _478 => _478[0]]);
27264
27256
  if (!file) return;
27265
27257
  setIsUploading(true);
27266
27258
  setUploadProgress(0);
@@ -27609,7 +27601,7 @@ function TranscriptSummaryEditor({
27609
27601
  {
27610
27602
  id: "subtitles",
27611
27603
  value: subtitles || "",
27612
- onChange: (e) => _optionalChain([onSubtitlesChange, 'optionalCall', _481 => _481(e.target.value)]),
27604
+ onChange: (e) => _optionalChain([onSubtitlesChange, 'optionalCall', _479 => _479(e.target.value)]),
27613
27605
  placeholder: subtitlesPlaceholder,
27614
27606
  disabled: disabled || !onSubtitlesChange,
27615
27607
  className: "h-full w-full resize-none border-0 bg-transparent text-ods-text-primary placeholder:text-ods-text-secondary/50 focus:ring-0 focus:outline-none p-4 font-mono text-sm",
@@ -27762,7 +27754,7 @@ var AIEnrichSection = ({
27762
27754
  }) => {
27763
27755
  const hasResults = status === "success" || status === "error";
27764
27756
  const shouldDisable = disabled || !canEnrich;
27765
- const unfilledFields = _optionalChain([requiredFields, 'optionalAccess', _482 => _482.filter, 'call', _483 => _483((f) => !f.isFilled)]) || [];
27757
+ const unfilledFields = _optionalChain([requiredFields, 'optionalAccess', _480 => _480.filter, 'call', _481 => _481((f) => !f.isFilled)]) || [];
27766
27758
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
27767
27759
  "div",
27768
27760
  {
@@ -27800,7 +27792,7 @@ var AIEnrichSection = ({
27800
27792
  {
27801
27793
  id: "ai-enrich-custom-instructions",
27802
27794
  value: _nullishCoalesce(customInstructions, () => ( "")),
27803
- onChange: (e) => _optionalChain([onCustomInstructionsChange, 'optionalCall', _484 => _484(e.target.value)]),
27795
+ onChange: (e) => _optionalChain([onCustomInstructionsChange, 'optionalCall', _482 => _482(e.target.value)]),
27804
27796
  placeholder: customInstructionsPlaceholder,
27805
27797
  disabled: loading,
27806
27798
  maxLength: customInstructionsMaxLength,
@@ -27929,7 +27921,7 @@ function HighlightVideoSection({
27929
27921
  input.accept = "video/*";
27930
27922
  input.onchange = async (e) => {
27931
27923
  const target = e.target;
27932
- const file = _optionalChain([target, 'access', _485 => _485.files, 'optionalAccess', _486 => _486[0]]);
27924
+ const file = _optionalChain([target, 'access', _483 => _483.files, 'optionalAccess', _484 => _484[0]]);
27933
27925
  if (!file) return;
27934
27926
  setUploadError(null);
27935
27927
  try {
@@ -28424,7 +28416,7 @@ function HighlightVideoPreview({
28424
28416
  input.accept = "video/*";
28425
28417
  input.onchange = async (e) => {
28426
28418
  const target = e.target;
28427
- const file = _optionalChain([target, 'access', _487 => _487.files, 'optionalAccess', _488 => _488[0]]);
28419
+ const file = _optionalChain([target, 'access', _485 => _485.files, 'optionalAccess', _486 => _486[0]]);
28428
28420
  if (!file) return;
28429
28421
  await onUpload(file);
28430
28422
  };
@@ -28608,7 +28600,7 @@ function HighlightVideoCombinedSection({
28608
28600
  input.accept = "video/*";
28609
28601
  input.onchange = async (e) => {
28610
28602
  const target = e.target;
28611
- const file = _optionalChain([target, 'access', _489 => _489.files, 'optionalAccess', _490 => _490[0]]);
28603
+ const file = _optionalChain([target, 'access', _487 => _487.files, 'optionalAccess', _488 => _488[0]]);
28612
28604
  if (!file) return;
28613
28605
  await onUpload(file);
28614
28606
  };
@@ -28902,7 +28894,7 @@ var getApprovalLevelLabel = (level, editMode = false) => {
28902
28894
  return editMode ? "Set Global Permission" : "";
28903
28895
  }
28904
28896
  const option = approvalLevelOptions.find((opt) => opt.value === level);
28905
- return _optionalChain([option, 'optionalAccess', _491 => _491.label]) || level;
28897
+ return _optionalChain([option, 'optionalAccess', _489 => _489.label]) || level;
28906
28898
  };
28907
28899
  var PolicyRow = ({ policy, categoryId, editMode, onPermissionChange }) => {
28908
28900
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "bg-ods-bg border-b border-ods-border flex gap-4 items-center px-4 py-3", children: [
@@ -29116,12 +29108,12 @@ function PhoneInput({
29116
29108
  const runValidation = _react.useCallback.call(void 0, (phone) => {
29117
29109
  if (!phone || digitCount(phone) === 0) {
29118
29110
  setIsInvalid(false);
29119
- _optionalChain([onValidationChange, 'optionalCall', _492 => _492(false)]);
29111
+ _optionalChain([onValidationChange, 'optionalCall', _490 => _490(false)]);
29120
29112
  return;
29121
29113
  }
29122
29114
  const invalid = !validatePhoneNumber(phone, countryCode);
29123
29115
  setIsInvalid(invalid);
29124
- _optionalChain([onValidationChange, 'optionalCall', _493 => _493(invalid)]);
29116
+ _optionalChain([onValidationChange, 'optionalCall', _491 => _491(invalid)]);
29125
29117
  }, [countryCode, digitCount, onValidationChange]);
29126
29118
  const debouncedValidation = _react.useCallback.call(void 0, (phone) => {
29127
29119
  if (debounceRef.current) clearTimeout(debounceRef.current);
@@ -29170,7 +29162,7 @@ function PhoneInput({
29170
29162
  debouncedValidation(val);
29171
29163
  } else if (digitCount(val) === 0) {
29172
29164
  setIsInvalid(false);
29173
- _optionalChain([onValidationChange, 'optionalCall', _494 => _494(false)]);
29165
+ _optionalChain([onValidationChange, 'optionalCall', _492 => _492(false)]);
29174
29166
  }
29175
29167
  }
29176
29168
  },
@@ -29511,19 +29503,19 @@ function NotificationsProvider({
29511
29503
  }, []);
29512
29504
  const markRead = React92.useCallback((id) => {
29513
29505
  dispatch({ type: "markRead", id });
29514
- void _optionalChain([actionsRef, 'access', _495 => _495.current, 'optionalAccess', _496 => _496.onMarkRead, 'optionalCall', _497 => _497(id)]);
29506
+ void _optionalChain([actionsRef, 'access', _493 => _493.current, 'optionalAccess', _494 => _494.onMarkRead, 'optionalCall', _495 => _495(id)]);
29515
29507
  }, []);
29516
29508
  const markAllRead = React92.useCallback(() => {
29517
29509
  dispatch({ type: "markAllRead" });
29518
- void _optionalChain([actionsRef, 'access', _498 => _498.current, 'optionalAccess', _499 => _499.onMarkAllRead, 'optionalCall', _500 => _500()]);
29510
+ void _optionalChain([actionsRef, 'access', _496 => _496.current, 'optionalAccess', _497 => _497.onMarkAllRead, 'optionalCall', _498 => _498()]);
29519
29511
  }, []);
29520
29512
  const markSettled = React92.useCallback((id) => {
29521
29513
  dispatch({ type: "markSettled", id });
29522
- void _optionalChain([actionsRef, 'access', _501 => _501.current, 'optionalAccess', _502 => _502.onMarkSettled, 'optionalCall', _503 => _503(id)]);
29514
+ void _optionalChain([actionsRef, 'access', _499 => _499.current, 'optionalAccess', _500 => _500.onMarkSettled, 'optionalCall', _501 => _501(id)]);
29523
29515
  }, []);
29524
29516
  const remove = React92.useCallback((id) => {
29525
29517
  dispatch({ type: "remove", id });
29526
- void _optionalChain([actionsRef, 'access', _504 => _504.current, 'optionalAccess', _505 => _505.onRemove, 'optionalCall', _506 => _506(id)]);
29518
+ void _optionalChain([actionsRef, 'access', _502 => _502.current, 'optionalAccess', _503 => _503.onRemove, 'optionalCall', _504 => _504(id)]);
29527
29519
  }, []);
29528
29520
  const clear = React92.useCallback(() => dispatch({ type: "clear" }), []);
29529
29521
  const open = React92.useCallback(() => setIsOpen(true), []);
@@ -29532,14 +29524,14 @@ function NotificationsProvider({
29532
29524
  const setShowPopups = React92.useCallback(
29533
29525
  (value2) => {
29534
29526
  setShowPopupsState(value2);
29535
- _optionalChain([onShowPopupsChange, 'optionalCall', _507 => _507(value2)]);
29527
+ _optionalChain([onShowPopupsChange, 'optionalCall', _505 => _505(value2)]);
29536
29528
  },
29537
29529
  [onShowPopupsChange]
29538
29530
  );
29539
29531
  const setShowDesktopPopups = React92.useCallback(
29540
29532
  (value2) => {
29541
29533
  setShowDesktopPopupsState(value2);
29542
- _optionalChain([onShowDesktopPopupsChange, 'optionalCall', _508 => _508(value2)]);
29534
+ _optionalChain([onShowDesktopPopupsChange, 'optionalCall', _506 => _506(value2)]);
29543
29535
  },
29544
29536
  [onShowDesktopPopupsChange]
29545
29537
  );
@@ -29643,7 +29635,7 @@ function NotificationTile({
29643
29635
  if (!counting) return;
29644
29636
  const remaining = Math.max(0, liveDurationMs - initialElapsed);
29645
29637
  const timer = window.setTimeout(() => {
29646
- _optionalChain([onSettle, 'optionalCall', _509 => _509(id)]);
29638
+ _optionalChain([onSettle, 'optionalCall', _507 => _507(id)]);
29647
29639
  }, remaining);
29648
29640
  return () => window.clearTimeout(timer);
29649
29641
  }, [id, counting, initialElapsed, liveDurationMs, onSettle]);
@@ -29705,7 +29697,7 @@ function NotificationTile({
29705
29697
  "button",
29706
29698
  {
29707
29699
  type: "button",
29708
- onClick: () => _optionalChain([onSettle, 'optionalCall', _510 => _510(id)]),
29700
+ onClick: () => _optionalChain([onSettle, 'optionalCall', _508 => _508(id)]),
29709
29701
  "aria-label": "Dismiss notification",
29710
29702
  tabIndex: isLive ? 0 : -1,
29711
29703
  className: _chunkFIG2RKZFcjs.cn.call(void 0,
@@ -29838,7 +29830,7 @@ function DrawerScrollList({
29838
29830
  if (!sentinel || !root) return;
29839
29831
  const observer = new IntersectionObserver(
29840
29832
  (entries) => {
29841
- if (_optionalChain([entries, 'access', _511 => _511[0], 'optionalAccess', _512 => _512.isIntersecting])) _optionalChain([loadMoreRef, 'access', _513 => _513.current, 'optionalCall', _514 => _514()]);
29833
+ if (_optionalChain([entries, 'access', _509 => _509[0], 'optionalAccess', _510 => _510.isIntersecting])) _optionalChain([loadMoreRef, 'access', _511 => _511.current, 'optionalCall', _512 => _512()]);
29842
29834
  },
29843
29835
  { root, rootMargin: loadMoreRootMargin }
29844
29836
  );
@@ -29853,7 +29845,7 @@ function DrawerScrollList({
29853
29845
  className: "flex flex-1 flex-col gap-[var(--spacing-system-xs)] overflow-y-auto px-[var(--spacing-system-m)]",
29854
29846
  children: isEmpty && !isLoadingMore ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, EmptyState, {}) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
29855
29847
  unreadNotifications.map((n) => {
29856
- const custom = _optionalChain([renderTile, 'optionalCall', _515 => _515(n, { onComplete, onSettle, liveDurationMs })]);
29848
+ const custom = _optionalChain([renderTile, 'optionalCall', _513 => _513(n, { onComplete, onSettle, liveDurationMs })]);
29857
29849
  if (custom) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { children: custom }, n.id);
29858
29850
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
29859
29851
  NotificationTile,
@@ -30017,7 +30009,7 @@ function NotificationPopups({
30017
30009
  className
30018
30010
  ),
30019
30011
  children: live.map((n) => {
30020
- const custom = _optionalChain([renderTile, 'optionalCall', _516 => _516(n, { onComplete: markRead, onSettle: markSettled, liveDurationMs })]);
30012
+ const custom = _optionalChain([renderTile, 'optionalCall', _514 => _514(n, { onComplete: markRead, onSettle: markSettled, liveDurationMs })]);
30021
30013
  if (custom) {
30022
30014
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pointer-events-auto", children: custom }, n.id);
30023
30015
  }
@@ -30197,21 +30189,21 @@ function transformWebinarToProgram(webinar) {
30197
30189
  // src/components/features/notifications/types.ts
30198
30190
  var ADMIN_APPROVAL_REQUEST_CONTEXT_TYPE = "ADMIN_APPROVAL_REQUEST";
30199
30191
  function isApprovalNotification(notification) {
30200
- return _optionalChain([notification, 'access', _517 => _517.meta, 'optionalAccess', _518 => _518.contextType]) === ADMIN_APPROVAL_REQUEST_CONTEXT_TYPE;
30192
+ return _optionalChain([notification, 'access', _515 => _515.meta, 'optionalAccess', _516 => _516.contextType]) === ADMIN_APPROVAL_REQUEST_CONTEXT_TYPE;
30201
30193
  }
30202
30194
  function getApprovalMeta(notification) {
30203
30195
  if (!isApprovalNotification(notification)) return null;
30204
30196
  const meta = notification.meta;
30205
- const approvalRequestId = _optionalChain([meta, 'optionalAccess', _519 => _519.approvalRequestId]);
30206
- const toolCalls = _optionalChain([meta, 'optionalAccess', _520 => _520.toolCalls]);
30197
+ const approvalRequestId = _optionalChain([meta, 'optionalAccess', _517 => _517.approvalRequestId]);
30198
+ const toolCalls = _optionalChain([meta, 'optionalAccess', _518 => _518.toolCalls]);
30207
30199
  if (typeof approvalRequestId !== "string" || !Array.isArray(toolCalls)) return null;
30208
30200
  return {
30209
30201
  approvalRequestId,
30210
- dialogId: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _521 => _521.dialogId]), () => ( null)),
30211
- ticketId: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _522 => _522.ticketId]), () => ( null)),
30212
- approvalType: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _523 => _523.approvalType]), () => ( null)),
30213
- resolution: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _524 => _524.resolution]), () => ( null)),
30214
- resolvedByName: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _525 => _525.resolvedByName]), () => ( null)),
30202
+ dialogId: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _519 => _519.dialogId]), () => ( null)),
30203
+ ticketId: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _520 => _520.ticketId]), () => ( null)),
30204
+ approvalType: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _521 => _521.approvalType]), () => ( null)),
30205
+ resolution: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _522 => _522.resolution]), () => ( null)),
30206
+ resolvedByName: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _523 => _523.resolvedByName]), () => ( null)),
30215
30207
  toolCalls
30216
30208
  };
30217
30209
  }
@@ -30260,7 +30252,7 @@ function ApprovalRequestNotificationTile({
30260
30252
  const [pinned, setPinned] = _react.useState.call(void 0, defaultExpanded);
30261
30253
  const [localStatus, setLocalStatus] = _react.useState.call(void 0, null);
30262
30254
  const approval = getApprovalMeta(notification);
30263
- const resolvedStatus = resolutionToStatus(_optionalChain([approval, 'optionalAccess', _526 => _526.resolution]));
30255
+ const resolvedStatus = resolutionToStatus(_optionalChain([approval, 'optionalAccess', _524 => _524.resolution]));
30264
30256
  const status = resolvedStatus !== "pending" ? resolvedStatus : _nullishCoalesce(localStatus, () => ( "pending"));
30265
30257
  const batchData = _react.useMemo.call(void 0, () => approval ? approvalMetaToBatchData(approval) : null, [approval]);
30266
30258
  const { innerRef, containerStyle } = useCollapsible({ expanded });
@@ -30528,7 +30520,7 @@ function TimeTrackerPanel({
30528
30520
  error: showFieldError ? "Required if no notes added" : void 0,
30529
30521
  disableClientFilter: !!onTicketSearch,
30530
30522
  onInputChange: (value, reason) => {
30531
- if (reason === "input") _optionalChain([onTicketSearch, 'optionalCall', _527 => _527(value)]);
30523
+ if (reason === "input") _optionalChain([onTicketSearch, 'optionalCall', _525 => _525(value)]);
30532
30524
  }
30533
30525
  }
30534
30526
  )
@@ -30618,7 +30610,7 @@ function LastEntryRow({ entry, onClick }) {
30618
30610
  {
30619
30611
  variant: "outline",
30620
30612
  size: "icon",
30621
- onClick: () => _optionalChain([onClick, 'optionalCall', _528 => _528(entry)]),
30613
+ onClick: () => _optionalChain([onClick, 'optionalCall', _526 => _526(entry)]),
30622
30614
  disabled: !onClick,
30623
30615
  "aria-label": `Open entry: ${entry.title}`,
30624
30616
  className: "h-12 w-12 shrink-0 [&_svg]:!size-6",
@@ -30662,9 +30654,9 @@ function HeaderButton({
30662
30654
  function TimeTrackerHeaderButton({ className, disabled }) {
30663
30655
  const ctx = useOptionalTimeTracker();
30664
30656
  const elapsedLabel = useTrackerClock({
30665
- status: _nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _529 => _529.status]), () => ( "ready")),
30666
- runningSince: _optionalChain([ctx, 'optionalAccess', _530 => _530.runningSince]),
30667
- accumulatedMs: _optionalChain([ctx, 'optionalAccess', _531 => _531.accumulatedMs])
30657
+ status: _nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _527 => _527.status]), () => ( "ready")),
30658
+ runningSince: _optionalChain([ctx, 'optionalAccess', _528 => _528.runningSince]),
30659
+ accumulatedMs: _optionalChain([ctx, 'optionalAccess', _529 => _529.accumulatedMs])
30668
30660
  });
30669
30661
  if (!ctx) return null;
30670
30662
  const { isOpen, open, close, status } = ctx;
@@ -30947,15 +30939,15 @@ function TicketCard({
30947
30939
  transition: sortable.transition
30948
30940
  };
30949
30941
  if (showNewMessage) style.borderColor = columnColor;
30950
- const showDeviceRow = !!(_optionalChain([ticket, 'access', _532 => _532.deviceHostnames, 'optionalAccess', _533 => _533.length]) || ticket.organizationName);
30942
+ const showDeviceRow = !!(_optionalChain([ticket, 'access', _530 => _530.deviceHostnames, 'optionalAccess', _531 => _531.length]) || ticket.organizationName);
30951
30943
  const deviceText = [
30952
- _optionalChain([ticket, 'access', _534 => _534.deviceHostnames, 'optionalAccess', _535 => _535.join, 'call', _536 => _536(", ")]),
30944
+ _optionalChain([ticket, 'access', _532 => _532.deviceHostnames, 'optionalAccess', _533 => _533.join, 'call', _534 => _534(", ")]),
30953
30945
  ticket.organizationName
30954
30946
  ].filter(Boolean).join(", ");
30955
30947
  const handleClick = (e) => {
30956
30948
  if (sortable.isDragging) e.preventDefault();
30957
30949
  };
30958
- const hasRightSection = !!(ticket.priority || _optionalChain([ticket, 'access', _537 => _537.assignees, 'optionalAccess', _538 => _538.length]) || renderAssignSlot);
30950
+ const hasRightSection = !!(ticket.priority || _optionalChain([ticket, 'access', _535 => _535.assignees, 'optionalAccess', _536 => _536.length]) || renderAssignSlot);
30959
30951
  const rightSection = hasRightSection ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "pointer-events-auto flex shrink-0 items-center gap-[var(--spacing-system-xsf)]", children: [
30960
30952
  ticket.priority && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
30961
30953
  _chunkCCG4DARMcjs.Flag02Icon,
@@ -30964,7 +30956,7 @@ function TicketCard({
30964
30956
  "aria-label": `Priority: ${ticket.priority}`
30965
30957
  }
30966
30958
  ),
30967
- renderAssignSlot ? renderAssignSlot(ticket) : _optionalChain([ticket, 'access', _539 => _539.assignees, 'optionalAccess', _540 => _540.length]) ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex -space-x-2", children: [
30959
+ renderAssignSlot ? renderAssignSlot(ticket) : _optionalChain([ticket, 'access', _537 => _537.assignees, 'optionalAccess', _538 => _538.length]) ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex -space-x-2", children: [
30968
30960
  ticket.assignees.slice(0, MAX_VISIBLE_ASSIGNEES).map((a) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
30969
30961
  SquareAvatar,
30970
30962
  {
@@ -30995,7 +30987,7 @@ function TicketCard({
30995
30987
  ] }),
30996
30988
  rightSection
30997
30989
  ] }),
30998
- _optionalChain([ticket, 'access', _541 => _541.tags, 'optionalAccess', _542 => _542.length]) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketTagRow, { tags: ticket.tags }) : null,
30990
+ _optionalChain([ticket, 'access', _539 => _539.tags, 'optionalAccess', _540 => _540.length]) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketTagRow, { tags: ticket.tags }) : null,
30999
30991
  timestampLabel && tooltipLabel && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TooltipProvider, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Tooltip, { children: [
31000
30992
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TooltipTrigger, { asChild: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "pointer-events-auto text-h6 truncate text-ods-text-secondary", children: timestampLabel }) }),
31001
30993
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TooltipContent, { children: tooltipLabel })
@@ -31195,7 +31187,7 @@ function ColumnBody({ column, getTicketHref, renderAssignSlot, onApprove, onReje
31195
31187
  const observer = new IntersectionObserver(
31196
31188
  (entries) => {
31197
31189
  if (entries.some((e) => e.isIntersecting)) {
31198
- _optionalChain([loadMoreRef, 'access', _543 => _543.current, 'optionalCall', _544 => _544(columnIdRef.current)]);
31190
+ _optionalChain([loadMoreRef, 'access', _541 => _541.current, 'optionalCall', _542 => _542(columnIdRef.current)]);
31199
31191
  }
31200
31192
  },
31201
31193
  { root, rootMargin: loadMoreRootMargin }
@@ -31225,7 +31217,7 @@ function ColumnBody({ column, getTicketHref, renderAssignSlot, onApprove, onReje
31225
31217
  ticket: t,
31226
31218
  columnId: column.id,
31227
31219
  columnColor: column.color,
31228
- href: _optionalChain([getTicketHref, 'optionalCall', _545 => _545(t.id)]),
31220
+ href: _optionalChain([getTicketHref, 'optionalCall', _543 => _543(t.id)]),
31229
31221
  renderAssignSlot,
31230
31222
  onApprove,
31231
31223
  onReject,
@@ -31325,17 +31317,17 @@ function Board({
31325
31317
  const pointer = _core.pointerWithin.call(void 0, args);
31326
31318
  const intersections = pointer.length > 0 ? pointer : _core.rectIntersection.call(void 0, args);
31327
31319
  const ticketHit = intersections.find(
31328
- (c) => _optionalChain([c, 'access', _546 => _546.data, 'optionalAccess', _547 => _547.droppableContainer, 'optionalAccess', _548 => _548.data, 'optionalAccess', _549 => _549.current, 'optionalAccess', _550 => _550.type]) === "ticket"
31320
+ (c) => _optionalChain([c, 'access', _544 => _544.data, 'optionalAccess', _545 => _545.droppableContainer, 'optionalAccess', _546 => _546.data, 'optionalAccess', _547 => _547.current, 'optionalAccess', _548 => _548.type]) === "ticket"
31329
31321
  );
31330
31322
  if (ticketHit) return [ticketHit];
31331
31323
  const columnHit = intersections.find(
31332
- (c) => _optionalChain([c, 'access', _551 => _551.data, 'optionalAccess', _552 => _552.droppableContainer, 'optionalAccess', _553 => _553.data, 'optionalAccess', _554 => _554.current, 'optionalAccess', _555 => _555.type]) === "column"
31324
+ (c) => _optionalChain([c, 'access', _549 => _549.data, 'optionalAccess', _550 => _550.droppableContainer, 'optionalAccess', _551 => _551.data, 'optionalAccess', _552 => _552.current, 'optionalAccess', _553 => _553.type]) === "column"
31333
31325
  );
31334
31326
  if (columnHit) {
31335
- const columnId = _optionalChain([columnHit, 'access', _556 => _556.data, 'optionalAccess', _557 => _557.droppableContainer, 'optionalAccess', _558 => _558.data, 'optionalAccess', _559 => _559.current, 'optionalAccess', _560 => _560.columnId]);
31327
+ const columnId = _optionalChain([columnHit, 'access', _554 => _554.data, 'optionalAccess', _555 => _555.droppableContainer, 'optionalAccess', _556 => _556.data, 'optionalAccess', _557 => _557.current, 'optionalAccess', _558 => _558.columnId]);
31336
31328
  const ticketsInColumn = args.droppableContainers.filter((c) => {
31337
31329
  const d = c.data.current;
31338
- return _optionalChain([d, 'optionalAccess', _561 => _561.type]) === "ticket" && d.columnId === columnId;
31330
+ return _optionalChain([d, 'optionalAccess', _559 => _559.type]) === "ticket" && d.columnId === columnId;
31339
31331
  });
31340
31332
  if (ticketsInColumn.length > 0) {
31341
31333
  const closest = _core.closestCorners.call(void 0, { ...args, droppableContainers: ticketsInColumn });
@@ -31360,20 +31352,20 @@ function Board({
31360
31352
  const overId = String(over.id);
31361
31353
  if (activeId === overId) return;
31362
31354
  const overData = over.data.current;
31363
- const fromColumnId = _optionalChain([locate, 'call', _562 => _562(items, activeId), 'optionalAccess', _563 => _563.columnId]);
31364
- const toColumnId = _optionalChain([overData, 'optionalAccess', _564 => _564.columnId]);
31355
+ const fromColumnId = _optionalChain([locate, 'call', _560 => _560(items, activeId), 'optionalAccess', _561 => _561.columnId]);
31356
+ const toColumnId = _optionalChain([overData, 'optionalAccess', _562 => _562.columnId]);
31365
31357
  if (!fromColumnId || !toColumnId || fromColumnId === toColumnId) return;
31366
31358
  const origin = dragOriginRef.current;
31367
- const isReturnToOrigin = _optionalChain([origin, 'optionalAccess', _565 => _565.fromColumnId]) === toColumnId;
31359
+ const isReturnToOrigin = _optionalChain([origin, 'optionalAccess', _563 => _563.fromColumnId]) === toColumnId;
31368
31360
  const targetCol = items.find((c) => c.id === toColumnId);
31369
- const blockedBySource = !isReturnToOrigin && !!_optionalChain([targetCol, 'optionalAccess', _566 => _566.allowedFromColumns]) && !!origin && !targetCol.allowedFromColumns.includes(origin.fromColumnId);
31370
- if (_optionalChain([targetCol, 'optionalAccess', _567 => _567.dropDisabled]) && !isReturnToOrigin || blockedBySource) return;
31361
+ const blockedBySource = !isReturnToOrigin && !!_optionalChain([targetCol, 'optionalAccess', _564 => _564.allowedFromColumns]) && !!origin && !targetCol.allowedFromColumns.includes(origin.fromColumnId);
31362
+ if (_optionalChain([targetCol, 'optionalAccess', _565 => _565.dropDisabled]) && !isReturnToOrigin || blockedBySource) return;
31371
31363
  setItems((prev) => {
31372
31364
  const fromIndex = findIndexInColumn(prev, fromColumnId, activeId);
31373
31365
  const toCol = prev.find((c) => c.id === toColumnId);
31374
31366
  if (fromIndex < 0 || !toCol) return prev;
31375
31367
  let toIndex;
31376
- if (_optionalChain([overData, 'optionalAccess', _568 => _568.type]) === "column") {
31368
+ if (_optionalChain([overData, 'optionalAccess', _566 => _566.type]) === "column") {
31377
31369
  toIndex = toCol.tickets.length;
31378
31370
  } else {
31379
31371
  const overIndex = toCol.tickets.findIndex((t) => t.id === overId);
@@ -31415,14 +31407,14 @@ function Board({
31415
31407
  const toColumnId = located.columnId;
31416
31408
  const isCrossColumn = origin.fromColumnId !== toColumnId;
31417
31409
  const targetCol = items.find((c) => c.id === toColumnId);
31418
- if (isCrossColumn && (_optionalChain([targetCol, 'optionalAccess', _569 => _569.dropDisabled]) || _optionalChain([targetCol, 'optionalAccess', _570 => _570.allowedFromColumns]) && !targetCol.allowedFromColumns.includes(origin.fromColumnId))) {
31410
+ if (isCrossColumn && (_optionalChain([targetCol, 'optionalAccess', _567 => _567.dropDisabled]) || _optionalChain([targetCol, 'optionalAccess', _568 => _568.allowedFromColumns]) && !targetCol.allowedFromColumns.includes(origin.fromColumnId))) {
31419
31411
  setItems(columns);
31420
31412
  return;
31421
31413
  }
31422
31414
  let finalIndex = located.index;
31423
- let finalColumnTickets = _nullishCoalesce(_optionalChain([items, 'access', _571 => _571.find, 'call', _572 => _572((c) => c.id === toColumnId), 'optionalAccess', _573 => _573.tickets]), () => ( []));
31415
+ let finalColumnTickets = _nullishCoalesce(_optionalChain([items, 'access', _569 => _569.find, 'call', _570 => _570((c) => c.id === toColumnId), 'optionalAccess', _571 => _571.tickets]), () => ( []));
31424
31416
  const overData = over.data.current;
31425
- if (_optionalChain([overData, 'optionalAccess', _574 => _574.type]) === "ticket") {
31417
+ if (_optionalChain([overData, 'optionalAccess', _572 => _572.type]) === "ticket") {
31426
31418
  const overIndex = findIndexInColumn(items, toColumnId, String(over.id));
31427
31419
  if (overIndex >= 0 && overIndex !== located.index) {
31428
31420
  finalColumnTickets = _sortable.arrayMove.call(void 0, finalColumnTickets, located.index, overIndex);
@@ -31442,8 +31434,8 @@ function Board({
31442
31434
  ticketId: origin.ticketId,
31443
31435
  fromColumnId: origin.fromColumnId,
31444
31436
  toColumnId,
31445
- afterTicketId: _nullishCoalesce(_optionalChain([finalColumnTickets, 'access', _575 => _575[finalIndex - 1], 'optionalAccess', _576 => _576.id]), () => ( null)),
31446
- beforeTicketId: _nullishCoalesce(_optionalChain([finalColumnTickets, 'access', _577 => _577[finalIndex + 1], 'optionalAccess', _578 => _578.id]), () => ( null))
31437
+ afterTicketId: _nullishCoalesce(_optionalChain([finalColumnTickets, 'access', _573 => _573[finalIndex - 1], 'optionalAccess', _574 => _574.id]), () => ( null)),
31438
+ beforeTicketId: _nullishCoalesce(_optionalChain([finalColumnTickets, 'access', _575 => _575[finalIndex + 1], 'optionalAccess', _576 => _576.id]), () => ( null))
31447
31439
  });
31448
31440
  };
31449
31441
  const handleDragCancel = () => {
@@ -31472,8 +31464,8 @@ function Board({
31472
31464
  children: items.map((column, i) => {
31473
31465
  const prev = items[i - 1];
31474
31466
  const next = items[i + 1];
31475
- const joinLeft = !!(column.system && _optionalChain([prev, 'optionalAccess', _579 => _579.system]));
31476
- const joinRight = !!(column.system && _optionalChain([next, 'optionalAccess', _580 => _580.system]));
31467
+ const joinLeft = !!(column.system && _optionalChain([prev, 'optionalAccess', _577 => _577.system]));
31468
+ const joinRight = !!(column.system && _optionalChain([next, 'optionalAccess', _578 => _578.system]));
31477
31469
  const showGap = i > 0 && !joinLeft;
31478
31470
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, React98.Fragment, { children: [
31479
31471
  showGap && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "aria-hidden": true, className: "w-[var(--spacing-system-mf)] shrink-0" }),
@@ -31526,7 +31518,7 @@ function Board({
31526
31518
  {
31527
31519
  ticket: activeTicket.ticket,
31528
31520
  columnId: activeTicket.columnId,
31529
- columnColor: _optionalChain([items, 'access', _581 => _581.find, 'call', _582 => _582((c) => c.id === activeTicket.columnId), 'optionalAccess', _583 => _583.color]),
31521
+ columnColor: _optionalChain([items, 'access', _579 => _579.find, 'call', _580 => _580((c) => c.id === activeTicket.columnId), 'optionalAccess', _581 => _581.color]),
31530
31522
  isOverlay: true
31531
31523
  }
31532
31524
  ) : null })
@@ -31542,7 +31534,7 @@ function locate(cols, ticketId) {
31542
31534
  return null;
31543
31535
  }
31544
31536
  function findIndexInColumn(cols, columnId, ticketId) {
31545
- return _nullishCoalesce(_optionalChain([cols, 'access', _584 => _584.find, 'call', _585 => _585((c) => c.id === columnId), 'optionalAccess', _586 => _586.tickets, 'access', _587 => _587.findIndex, 'call', _588 => _588((t) => t.id === ticketId)]), () => ( -1));
31537
+ return _nullishCoalesce(_optionalChain([cols, 'access', _582 => _582.find, 'call', _583 => _583((c) => c.id === columnId), 'optionalAccess', _584 => _584.tickets, 'access', _585 => _585.findIndex, 'call', _586 => _586((t) => t.id === ticketId)]), () => ( -1));
31546
31538
  }
31547
31539
 
31548
31540
  // src/components/features/board/types.ts
@@ -31790,7 +31782,7 @@ function Header2({ config, platform }) {
31790
31782
  className: _chunkFIG2RKZFcjs.cn.call(void 0,
31791
31783
  "flex justify-start w-full",
31792
31784
  "font-bold text-[16px] leading-none tracking-[-0.32px]",
31793
- index < (_nullishCoalesce(_optionalChain([item, 'access', _589 => _589.children, 'optionalAccess', _590 => _590.length]), () => ( 0))) - 1 && "mb-1",
31785
+ index < (_nullishCoalesce(_optionalChain([item, 'access', _587 => _587.children, 'optionalAccess', _588 => _588.length]), () => ( 0))) - 1 && "mb-1",
31794
31786
  "text-ods-text-primary",
31795
31787
  // All dropdown items use primary text color
31796
31788
  child.isActive && "bg-ods-bg-hover"
@@ -31882,7 +31874,7 @@ function Header2({ config, platform }) {
31882
31874
  style: config.style,
31883
31875
  children: [
31884
31876
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-start flex-shrink-0", children: [
31885
- _optionalChain([config, 'access', _591 => _591.actions, 'optionalAccess', _592 => _592.left]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center", children: config.actions.left }),
31877
+ _optionalChain([config, 'access', _589 => _589.actions, 'optionalAccess', _590 => _590.left]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center", children: config.actions.left }),
31886
31878
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWBR7H6E3cjs.next_link_default, { href: config.logo.href, className: "transition-opacity duration-200 hover:opacity-80", children: config.logo.element })
31887
31879
  ] }),
31888
31880
  config.navigation && config.navigation.items.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -31899,7 +31891,7 @@ function Header2({ config, platform }) {
31899
31891
  }
31900
31892
  ),
31901
31893
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-end gap-4 flex-shrink-0", children: [
31902
- _optionalChain([config, 'access', _593 => _593.actions, 'optionalAccess', _594 => _594.right]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden md:flex items-center gap-4", children: config.actions.right }),
31894
+ _optionalChain([config, 'access', _591 => _591.actions, 'optionalAccess', _592 => _592.right]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden md:flex items-center gap-4", children: config.actions.right }),
31903
31895
  config.mobile && config.mobile.enabled && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
31904
31896
  _chunkQJGRP2YEcjs.Button,
31905
31897
  {
@@ -31907,10 +31899,10 @@ function Header2({ config, platform }) {
31907
31899
  size: "icon",
31908
31900
  className: "flex md:hidden",
31909
31901
  onClick: () => {
31910
- _optionalChain([config, 'access', _595 => _595.mobile, 'optionalAccess', _596 => _596.onToggle, 'optionalCall', _597 => _597()]);
31902
+ _optionalChain([config, 'access', _593 => _593.mobile, 'optionalAccess', _594 => _594.onToggle, 'optionalCall', _595 => _595()]);
31911
31903
  },
31912
- "aria-label": _optionalChain([config, 'access', _598 => _598.mobile, 'optionalAccess', _599 => _599.isOpen]) ? "Close menu" : "Open menu",
31913
- leftIcon: _optionalChain([config, 'access', _600 => _600.mobile, 'optionalAccess', _601 => _601.menuIcon]) || /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.Menu01Icon, {})
31904
+ "aria-label": _optionalChain([config, 'access', _596 => _596.mobile, 'optionalAccess', _597 => _597.isOpen]) ? "Close menu" : "Open menu",
31905
+ leftIcon: _optionalChain([config, 'access', _598 => _598.mobile, 'optionalAccess', _599 => _599.menuIcon]) || /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.Menu01Icon, {})
31914
31906
  }
31915
31907
  )
31916
31908
  ] })
@@ -31927,10 +31919,10 @@ function Header2({ config, platform }) {
31927
31919
  // src/components/navigation/header-skeleton.tsx
31928
31920
 
31929
31921
  function HeaderSkeleton({ config }) {
31930
- const showNavigation = _optionalChain([config, 'optionalAccess', _602 => _602.navigation]) && config.navigation.items.length > 0;
31931
- const showActions = _optionalChain([config, 'optionalAccess', _603 => _603.actions, 'optionalAccess', _604 => _604.right]) && config.actions.right.length > 0;
31932
- const showMobileMenu = _optionalChain([config, 'optionalAccess', _605 => _605.mobile, 'optionalAccess', _606 => _606.enabled]);
31933
- const isAdminHeader = _optionalChain([config, 'optionalAccess', _607 => _607.className, 'optionalAccess', _608 => _608.includes, 'call', _609 => _609("admin")]);
31922
+ const showNavigation = _optionalChain([config, 'optionalAccess', _600 => _600.navigation]) && config.navigation.items.length > 0;
31923
+ const showActions = _optionalChain([config, 'optionalAccess', _601 => _601.actions, 'optionalAccess', _602 => _602.right]) && config.actions.right.length > 0;
31924
+ const showMobileMenu = _optionalChain([config, 'optionalAccess', _603 => _603.mobile, 'optionalAccess', _604 => _604.enabled]);
31925
+ const isAdminHeader = _optionalChain([config, 'optionalAccess', _605 => _605.className, 'optionalAccess', _606 => _606.includes, 'call', _607 => _607("admin")]);
31934
31926
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "sticky top-0 z-40 w-full", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
31935
31927
  "header",
31936
31928
  {
@@ -31939,11 +31931,11 @@ function HeaderSkeleton({ config }) {
31939
31931
  "bg-ods-card border-b border-ods-border backdrop-blur-sm",
31940
31932
  "px-6 py-3",
31941
31933
  "transition-opacity duration-300 ease-in-out",
31942
- _optionalChain([config, 'optionalAccess', _610 => _610.className])
31934
+ _optionalChain([config, 'optionalAccess', _608 => _608.className])
31943
31935
  ),
31944
31936
  children: [
31945
31937
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-start flex-shrink-0", children: [
31946
- isAdminHeader && _optionalChain([config, 'optionalAccess', _611 => _611.actions, 'optionalAccess', _612 => _612.left]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mr-4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-10 w-10 bg-ods-border rounded animate-pulse" }) }),
31938
+ isAdminHeader && _optionalChain([config, 'optionalAccess', _609 => _609.actions, 'optionalAccess', _610 => _610.left]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mr-4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-10 w-10 bg-ods-border rounded animate-pulse" }) }),
31947
31939
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
31948
31940
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-8 w-8 bg-ods-border rounded animate-pulse" }),
31949
31941
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-6 w-24 bg-ods-border rounded animate-pulse" })
@@ -31951,8 +31943,8 @@ function HeaderSkeleton({ config }) {
31951
31943
  ] }),
31952
31944
  showNavigation && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "nav", { className: _chunkFIG2RKZFcjs.cn.call(void 0,
31953
31945
  "hidden md:flex items-center gap-2",
31954
- _optionalChain([config, 'optionalAccess', _613 => _613.navigation, 'optionalAccess', _614 => _614.position]) === "center" && "absolute left-1/2 transform -translate-x-1/2",
31955
- _optionalChain([config, 'optionalAccess', _615 => _615.navigation, 'optionalAccess', _616 => _616.position]) === "right" && "ml-auto mr-4"
31946
+ _optionalChain([config, 'optionalAccess', _611 => _611.navigation, 'optionalAccess', _612 => _612.position]) === "center" && "absolute left-1/2 transform -translate-x-1/2",
31947
+ _optionalChain([config, 'optionalAccess', _613 => _613.navigation, 'optionalAccess', _614 => _614.position]) === "right" && "ml-auto mr-4"
31956
31948
  ), children: [
31957
31949
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-10 w-20 bg-ods-border rounded animate-pulse" }),
31958
31950
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-10 w-28 bg-ods-border rounded animate-pulse" }),
@@ -32000,7 +31992,7 @@ function MobileNavPanel({ isOpen, config }) {
32000
31992
  _react.useEffect.call(void 0, () => {
32001
31993
  const handleKeyDown = (e) => {
32002
31994
  if (e.key === "Escape" && isOpen) {
32003
- _optionalChain([config, 'access', _617 => _617.onClose, 'optionalCall', _618 => _618()]);
31995
+ _optionalChain([config, 'access', _615 => _615.onClose, 'optionalCall', _616 => _616()]);
32004
31996
  }
32005
31997
  };
32006
31998
  if (isOpen) {
@@ -32017,7 +32009,7 @@ function MobileNavPanel({ isOpen, config }) {
32017
32009
  if (item.onClick) {
32018
32010
  item.onClick();
32019
32011
  }
32020
- _optionalChain([config, 'access', _619 => _619.onClose, 'optionalCall', _620 => _620()]);
32012
+ _optionalChain([config, 'access', _617 => _617.onClose, 'optionalCall', _618 => _618()]);
32021
32013
  };
32022
32014
  if (item.href) {
32023
32015
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -32187,7 +32179,7 @@ function SlidingSidebar({ config }) {
32187
32179
  variant: "transparent",
32188
32180
  size: "default",
32189
32181
  onClick: () => {
32190
- _optionalChain([item, 'access', _621 => _621.onClick, 'optionalCall', _622 => _622()]);
32182
+ _optionalChain([item, 'access', _619 => _619.onClick, 'optionalCall', _620 => _620()]);
32191
32183
  config.onClose();
32192
32184
  },
32193
32185
  leftIcon: item.icon,
@@ -32210,7 +32202,7 @@ function SlidingSidebar({ config }) {
32210
32202
  variant: "transparent",
32211
32203
  size: "default",
32212
32204
  onClick: () => {
32213
- _optionalChain([item, 'access', _623 => _623.onClick, 'optionalCall', _624 => _624()]);
32205
+ _optionalChain([item, 'access', _621 => _621.onClick, 'optionalCall', _622 => _622()]);
32214
32206
  config.onClose();
32215
32207
  },
32216
32208
  leftIcon: item.icon,
@@ -32337,7 +32329,7 @@ function StickySectionNav({
32337
32329
  ] });
32338
32330
  }
32339
32331
  function useSectionNavigation(sections, options) {
32340
- const [activeSection, setActiveSection] = _react.useState.call(void 0, _optionalChain([sections, 'access', _625 => _625[0], 'optionalAccess', _626 => _626.id]) || "");
32332
+ const [activeSection, setActiveSection] = _react.useState.call(void 0, _optionalChain([sections, 'access', _623 => _623[0], 'optionalAccess', _624 => _624.id]) || "");
32341
32333
  const isScrollingFromClick = _react.useRef.call(void 0, false);
32342
32334
  const { offset: offset2 = 100 } = options || {};
32343
32335
  const handleSectionClick = _react.useCallback.call(void 0, (sectionId) => {
@@ -32361,7 +32353,7 @@ function useSectionNavigation(sections, options) {
32361
32353
  const handleScroll = () => {
32362
32354
  if (isScrollingFromClick.current) return;
32363
32355
  const scrollPosition = window.scrollY + offset2 + 50;
32364
- let currentSection = _optionalChain([sections, 'access', _627 => _627[0], 'optionalAccess', _628 => _628.id]) || "";
32356
+ let currentSection = _optionalChain([sections, 'access', _625 => _625[0], 'optionalAccess', _626 => _626.id]) || "";
32365
32357
  for (let i = sections.length - 1; i >= 0; i--) {
32366
32358
  const element = document.getElementById(sections[i].id);
32367
32359
  if (element && scrollPosition >= element.offsetTop) {
@@ -32562,7 +32554,7 @@ function NavigationSidebar({ config, disabled = false }) {
32562
32554
  } else {
32563
32555
  setDesktopMinimized((prev) => !prev);
32564
32556
  }
32565
- _optionalChain([config, 'access', _629 => _629.onToggleMinimized, 'optionalCall', _630 => _630()]);
32557
+ _optionalChain([config, 'access', _627 => _627.onToggleMinimized, 'optionalCall', _628 => _628()]);
32566
32558
  }, [isTablet, setDesktopMinimized, config]);
32567
32559
  const closeOverlay = _react.useCallback.call(void 0, () => {
32568
32560
  setTabletMinimized(true);
@@ -32576,11 +32568,11 @@ function NavigationSidebar({ config, disabled = false }) {
32576
32568
  return () => document.removeEventListener("keydown", handleKeyDown);
32577
32569
  }, [isOverlayOpen, closeOverlay]);
32578
32570
  const handleItemClick = _react.useCallback.call(void 0, (item, event) => {
32579
- _optionalChain([event, 'optionalAccess', _631 => _631.stopPropagation, 'call', _632 => _632()]);
32571
+ _optionalChain([event, 'optionalAccess', _629 => _629.stopPropagation, 'call', _630 => _630()]);
32580
32572
  if (item.onClick) {
32581
32573
  item.onClick();
32582
32574
  } else if (item.path) {
32583
- _optionalChain([config, 'access', _633 => _633.onNavigate, 'optionalCall', _634 => _634(item.path)]);
32575
+ _optionalChain([config, 'access', _631 => _631.onNavigate, 'optionalCall', _632 => _632(item.path)]);
32584
32576
  }
32585
32577
  if (isTablet) setTabletMinimized(true);
32586
32578
  }, [config, isTablet]);
@@ -32700,11 +32692,11 @@ function HeaderGlobalSearch({
32700
32692
  };
32701
32693
  const handleSubmit = (e) => {
32702
32694
  e.preventDefault();
32703
- _optionalChain([onSubmit, 'optionalCall', _635 => _635(currentValue)]);
32695
+ _optionalChain([onSubmit, 'optionalCall', _633 => _633(currentValue)]);
32704
32696
  };
32705
32697
  const handleKeyDown = (e) => {
32706
32698
  if (e.key === "Enter") {
32707
- _optionalChain([onSubmit, 'optionalCall', _636 => _636(currentValue)]);
32699
+ _optionalChain([onSubmit, 'optionalCall', _634 => _634(currentValue)]);
32708
32700
  }
32709
32701
  };
32710
32702
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
@@ -32798,8 +32790,8 @@ function HeaderOrganizationFilter({
32798
32790
  className
32799
32791
  }) {
32800
32792
  const selectedOrg = organizations.find((o) => o.id === selectedOrgId);
32801
- const displayName = _optionalChain([selectedOrg, 'optionalAccess', _637 => _637.name]) || "All Organizations";
32802
- const deviceCount = _nullishCoalesce(_optionalChain([selectedOrg, 'optionalAccess', _638 => _638.deviceCount]), () => ( totalDeviceCount));
32793
+ const displayName = _optionalChain([selectedOrg, 'optionalAccess', _635 => _635.name]) || "All Organizations";
32794
+ const deviceCount = _nullishCoalesce(_optionalChain([selectedOrg, 'optionalAccess', _636 => _636.deviceCount]), () => ( totalDeviceCount));
32803
32795
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkQJGRP2YEcjs.DropdownMenu, { children: [
32804
32796
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQJGRP2YEcjs.DropdownMenuTrigger, { asChild: true, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
32805
32797
  "button",
@@ -32824,11 +32816,11 @@ function HeaderOrganizationFilter({
32824
32816
  }
32825
32817
  ) }),
32826
32818
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkQJGRP2YEcjs.DropdownMenuContent, { align: "end", className: "min-w-[240px]", children: [
32827
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQJGRP2YEcjs.DropdownMenuItem, { onClick: () => _optionalChain([onOrgChange, 'optionalCall', _639 => _639("")]), children: "All Organizations" }),
32819
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQJGRP2YEcjs.DropdownMenuItem, { onClick: () => _optionalChain([onOrgChange, 'optionalCall', _637 => _637("")]), children: "All Organizations" }),
32828
32820
  organizations.map((org) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
32829
32821
  _chunkQJGRP2YEcjs.DropdownMenuItem,
32830
32822
  {
32831
- onClick: () => _optionalChain([onOrgChange, 'optionalCall', _640 => _640(org.id)]),
32823
+ onClick: () => _optionalChain([onOrgChange, 'optionalCall', _638 => _638(org.id)]),
32832
32824
  children: org.name
32833
32825
  },
32834
32826
  org.id
@@ -33018,9 +33010,9 @@ function NotificationsHeaderButton({
33018
33010
  dimmedClass
33019
33011
  }) {
33020
33012
  const ctx = useOptionalNotifications();
33021
- const hasUnread = (_nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _641 => _641.unreadCount]), () => ( fallbackUnreadCount))) > 0;
33022
- const isActive = _nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _642 => _642.isOpen]), () => ( false));
33023
- const onClick = _optionalChain([ctx, 'optionalAccess', _643 => _643.toggle]);
33013
+ const hasUnread = (_nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _639 => _639.unreadCount]), () => ( fallbackUnreadCount))) > 0;
33014
+ const isActive = _nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _640 => _640.isOpen]), () => ( false));
33015
+ const onClick = _optionalChain([ctx, 'optionalAccess', _641 => _641.toggle]);
33024
33016
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
33025
33017
  HeaderButton,
33026
33018
  {
@@ -33084,7 +33076,7 @@ var MobileBurgerMenu = React114.default.memo(function MobileBurgerMenu2({
33084
33076
  if (item.onClick) {
33085
33077
  item.onClick();
33086
33078
  } else if (item.path) {
33087
- _optionalChain([config, 'access', _644 => _644.onNavigate, 'optionalCall', _645 => _645(item.path)]);
33079
+ _optionalChain([config, 'access', _642 => _642.onNavigate, 'optionalCall', _643 => _643(item.path)]);
33088
33080
  }
33089
33081
  onClose();
33090
33082
  }, [config, onClose]);
@@ -33327,7 +33319,7 @@ var AppLayoutDrawerRoot = ({
33327
33319
  const handleOpenChange = React107.useCallback(
33328
33320
  (next) => {
33329
33321
  if (!isControlled) setInternalOpen(next);
33330
- _optionalChain([onOpenChange, 'optionalCall', _646 => _646(next)]);
33322
+ _optionalChain([onOpenChange, 'optionalCall', _644 => _644(next)]);
33331
33323
  },
33332
33324
  [isControlled, onOpenChange]
33333
33325
  );
@@ -33708,10 +33700,10 @@ var AppLayoutDrawerContent = React107.forwardRef(
33708
33700
  ),
33709
33701
  style,
33710
33702
  onInteractOutside: (event) => {
33711
- _optionalChain([onInteractOutside, 'optionalCall', _647 => _647(event)]);
33703
+ _optionalChain([onInteractOutside, 'optionalCall', _645 => _645(event)]);
33712
33704
  if (event.defaultPrevented) return;
33713
33705
  const target = event.target;
33714
- const isInsideContainer = !!target && !!_optionalChain([portalContainer, 'optionalAccess', _648 => _648.contains, 'call', _649 => _649(target)]);
33706
+ const isInsideContainer = !!target && !!_optionalChain([portalContainer, 'optionalAccess', _646 => _646.contains, 'call', _647 => _647(target)]);
33715
33707
  if (!isInsideContainer) {
33716
33708
  event.preventDefault();
33717
33709
  return;
@@ -34124,7 +34116,7 @@ var ShellTypeBadge = ({
34124
34116
  className,
34125
34117
  iconClassName
34126
34118
  }) => {
34127
- const normalizedType = _optionalChain([shellType, 'optionalAccess', _650 => _650.toUpperCase, 'call', _651 => _651()]);
34119
+ const normalizedType = _optionalChain([shellType, 'optionalAccess', _648 => _648.toUpperCase, 'call', _649 => _649()]);
34128
34120
  const label = getShellLabel(normalizedType);
34129
34121
  const { icon: IconComponent, props: iconProps } = _nullishCoalesce(shellIconMap[normalizedType], () => ( defaultIconConfig));
34130
34122
  const defaultIconClassName = "className" in iconProps ? iconProps.className : void 0;
@@ -34511,12 +34503,12 @@ function OnboardingWalkthrough({
34511
34503
  }
34512
34504
  }, [state.completedSteps, markComplete]);
34513
34505
  const handleStepSkip = (step) => {
34514
- _optionalChain([step, 'access', _652 => _652.onSkip, 'optionalCall', _653 => _653()]);
34506
+ _optionalChain([step, 'access', _650 => _650.onSkip, 'optionalCall', _651 => _651()]);
34515
34507
  markSkipped(step.id);
34516
34508
  };
34517
34509
  const handleDismiss = () => {
34518
34510
  dismissOnboarding();
34519
- _optionalChain([onDismiss, 'optionalCall', _654 => _654()]);
34511
+ _optionalChain([onDismiss, 'optionalCall', _652 => _652()]);
34520
34512
  };
34521
34513
  if (state.dismissed) {
34522
34514
  return null;
@@ -34646,7 +34638,7 @@ var LogCard = ({ log, isLast, showConnector, onClick }) => {
34646
34638
  onKeyDown: (e) => {
34647
34639
  if (e.key === "Enter" || e.key === " ") {
34648
34640
  e.preventDefault();
34649
- _optionalChain([onClick, 'optionalCall', _655 => _655()]);
34641
+ _optionalChain([onClick, 'optionalCall', _653 => _653()]);
34650
34642
  }
34651
34643
  },
34652
34644
  children: [
@@ -34747,7 +34739,7 @@ var LogsList = React111.forwardRef(({
34747
34739
  log,
34748
34740
  isLast: index === logs.length - 1,
34749
34741
  showConnector,
34750
- onClick: () => _optionalChain([onLogClick, 'optionalCall', _656 => _656(log)])
34742
+ onClick: () => _optionalChain([onLogClick, 'optionalCall', _654 => _654(log)])
34751
34743
  },
34752
34744
  log.id
34753
34745
  ))
@@ -34851,7 +34843,7 @@ var Slider = React113.forwardRef(
34851
34843
  ({ className, value = [0], onValueChange, min = 0, max = 100, step = 1, ...props }, ref) => {
34852
34844
  const handleChange = (e) => {
34853
34845
  const newValue = [Number(e.target.value)];
34854
- _optionalChain([onValueChange, 'optionalCall', _657 => _657(newValue)]);
34846
+ _optionalChain([onValueChange, 'optionalCall', _655 => _655(newValue)]);
34855
34847
  };
34856
34848
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
34857
34849
  "input",
@@ -35282,7 +35274,7 @@ function CursorPaginationSimple({
35282
35274
  {
35283
35275
  variant: "transparent",
35284
35276
  size: "icon",
35285
- onClick: () => _optionalChain([onPrevious, 'optionalCall', _658 => _658("")]),
35277
+ onClick: () => _optionalChain([onPrevious, 'optionalCall', _656 => _656("")]),
35286
35278
  disabled: !hasPreviousPage || loading,
35287
35279
  className: "h-8 w-8",
35288
35280
  leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronLeft, { className: "h-4 w-4" }),
@@ -35294,7 +35286,7 @@ function CursorPaginationSimple({
35294
35286
  {
35295
35287
  variant: "transparent",
35296
35288
  size: "icon",
35297
- onClick: () => _optionalChain([onNext, 'optionalCall', _659 => _659("")]),
35289
+ onClick: () => _optionalChain([onNext, 'optionalCall', _657 => _657("")]),
35298
35290
  disabled: !hasNextPage || loading,
35299
35291
  className: "h-8 w-8",
35300
35292
  rightIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronRight, { className: "h-4 w-4" }),
@@ -35314,8 +35306,8 @@ function TableEmptyState({ message: message2, icon, action, className }) {
35314
35306
  icon: _nullishCoalesce(icon, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWZW7C7TFcjs.SearchIcon, {}))),
35315
35307
  title: _nullishCoalesce(message2, () => ( "No results found")),
35316
35308
  description: message2 == null ? "Try adjusting your search or filters" : void 0,
35317
- buttonLabel: _optionalChain([action, 'optionalAccess', _660 => _660.label]),
35318
- onButtonClick: _optionalChain([action, 'optionalAccess', _661 => _661.onClick]),
35309
+ buttonLabel: _optionalChain([action, 'optionalAccess', _658 => _658.label]),
35310
+ onButtonClick: _optionalChain([action, 'optionalAccess', _659 => _659.onClick]),
35319
35311
  className: _chunkFIG2RKZFcjs.cn.call(void 0, "py-[var(--spacing-system-xxl)]", className)
35320
35312
  }
35321
35313
  );
@@ -35336,7 +35328,7 @@ function TableColumnFilterDropdown({
35336
35328
  placement = "bottom-start",
35337
35329
  dropdownClassName = "min-w-[240px]"
35338
35330
  }) {
35339
- const activeCount = _optionalChain([filters, 'optionalAccess', _662 => _662[columnKey], 'optionalAccess', _663 => _663.length]) || 0;
35331
+ const activeCount = _optionalChain([filters, 'optionalAccess', _660 => _660[columnKey], 'optionalAccess', _661 => _661.length]) || 0;
35340
35332
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
35341
35333
  FiltersDropdown,
35342
35334
  {
@@ -35379,7 +35371,7 @@ function TableColumnFilterDropdown({
35379
35371
  delete newFilters[columnKey];
35380
35372
  onFilterChange(newFilters);
35381
35373
  },
35382
- currentFilters: { [columnKey]: _optionalChain([filters, 'optionalAccess', _664 => _664[columnKey]]) || [] },
35374
+ currentFilters: { [columnKey]: _optionalChain([filters, 'optionalAccess', _662 => _662[columnKey]]) || [] },
35383
35375
  placement,
35384
35376
  dropdownClassName
35385
35377
  }
@@ -35589,7 +35581,7 @@ function TableCardSkeleton({
35589
35581
  className,
35590
35582
  rowClassName
35591
35583
  }) {
35592
- const primaryKey = _optionalChain([(_nullishCoalesce(columns.find((c) => /flex-(1|\[)/.test(c.width || "")), () => ( columns[0]))), 'optionalAccess', _665 => _665.key]);
35584
+ const primaryKey = _optionalChain([(_nullishCoalesce(columns.find((c) => /flex-(1|\[)/.test(c.width || "")), () => ( columns[0]))), 'optionalAccess', _663 => _663.key]);
35593
35585
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: Array.from({ length: rows }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
35594
35586
  "div",
35595
35587
  {
@@ -35677,7 +35669,7 @@ function TableRow({
35677
35669
  const keys = column.key.split(".");
35678
35670
  let value = item;
35679
35671
  for (const key of keys) {
35680
- value = _optionalChain([value, 'optionalAccess', _666 => _666[key]]);
35672
+ value = _optionalChain([value, 'optionalAccess', _664 => _664[key]]);
35681
35673
  }
35682
35674
  if (value === null || value === void 0) {
35683
35675
  return "-";
@@ -35747,7 +35739,7 @@ function TableRow({
35747
35739
  // src/components/ui/table/table.tsx
35748
35740
 
35749
35741
  function injectSyntheticColumns(columns, rowActions, renderRowActions, rowHref) {
35750
- const hasActions = Boolean(_optionalChain([rowActions, 'optionalAccess', _667 => _667.length])) || Boolean(renderRowActions);
35742
+ const hasActions = Boolean(_optionalChain([rowActions, 'optionalAccess', _665 => _665.length])) || Boolean(renderRowActions);
35751
35743
  const result = [...columns];
35752
35744
  if (hasActions) {
35753
35745
  const actionsColumn = {
@@ -35841,7 +35833,7 @@ function Table({
35841
35833
  return rowKey(item);
35842
35834
  }
35843
35835
  const key = item[rowKey];
35844
- return _optionalChain([key, 'optionalAccess', _668 => _668.toString, 'call', _669 => _669()]) || index.toString();
35836
+ return _optionalChain([key, 'optionalAccess', _666 => _666.toString, 'call', _667 => _667()]) || index.toString();
35845
35837
  };
35846
35838
  const getRowClassName = (item, index) => {
35847
35839
  if (typeof rowClassName === "function") {
@@ -35875,23 +35867,23 @@ function Table({
35875
35867
  const allSelected = selectedRows.length > 0 && selectedRows.length === data.length;
35876
35868
  const someSelected = selectedRows.length > 0 && selectedRows.length < data.length;
35877
35869
  const sentinelRef = _react.useRef.call(void 0, null);
35878
- const onLoadMoreRef = _react.useRef.call(void 0, _optionalChain([infiniteScroll, 'optionalAccess', _670 => _670.onLoadMore]));
35879
- onLoadMoreRef.current = _optionalChain([infiniteScroll, 'optionalAccess', _671 => _671.onLoadMore]);
35870
+ const onLoadMoreRef = _react.useRef.call(void 0, _optionalChain([infiniteScroll, 'optionalAccess', _668 => _668.onLoadMore]));
35871
+ onLoadMoreRef.current = _optionalChain([infiniteScroll, 'optionalAccess', _669 => _669.onLoadMore]);
35880
35872
  _react.useEffect.call(void 0, () => {
35881
- if (!_optionalChain([infiniteScroll, 'optionalAccess', _672 => _672.hasNextPage]) || infiniteScroll.isFetchingNextPage) return;
35873
+ if (!_optionalChain([infiniteScroll, 'optionalAccess', _670 => _670.hasNextPage]) || infiniteScroll.isFetchingNextPage) return;
35882
35874
  const sentinel = sentinelRef.current;
35883
35875
  if (!sentinel) return;
35884
35876
  const observer = new IntersectionObserver(
35885
35877
  (entries) => {
35886
- if (_optionalChain([entries, 'access', _673 => _673[0], 'optionalAccess', _674 => _674.isIntersecting])) {
35887
- _optionalChain([onLoadMoreRef, 'access', _675 => _675.current, 'optionalCall', _676 => _676()]);
35878
+ if (_optionalChain([entries, 'access', _671 => _671[0], 'optionalAccess', _672 => _672.isIntersecting])) {
35879
+ _optionalChain([onLoadMoreRef, 'access', _673 => _673.current, 'optionalCall', _674 => _674()]);
35888
35880
  }
35889
35881
  },
35890
35882
  { rootMargin: "200px" }
35891
35883
  );
35892
35884
  observer.observe(sentinel);
35893
35885
  return () => observer.disconnect();
35894
- }, [_optionalChain([infiniteScroll, 'optionalAccess', _677 => _677.hasNextPage]), _optionalChain([infiniteScroll, 'optionalAccess', _678 => _678.isFetchingNextPage])]);
35886
+ }, [_optionalChain([infiniteScroll, 'optionalAccess', _675 => _675.hasNextPage]), _optionalChain([infiniteScroll, 'optionalAccess', _676 => _676.isFetchingNextPage])]);
35895
35887
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkFIG2RKZFcjs.cn.call(void 0, "flex flex-col gap-1 w-full", containerClassName), children: [
35896
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: [
35897
35889
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "text-ods-text-secondary text-sm", children: [
@@ -35962,7 +35954,7 @@ function Table({
35962
35954
  },
35963
35955
  getRowKey(item, index)
35964
35956
  )),
35965
- _optionalChain([infiniteScroll, 'optionalAccess', _679 => _679.isFetchingNextPage]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
35957
+ _optionalChain([infiniteScroll, 'optionalAccess', _677 => _677.isFetchingNextPage]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
35966
35958
  TableCardSkeleton,
35967
35959
  {
35968
35960
  columns,
@@ -35971,7 +35963,7 @@ function Table({
35971
35963
  hasChevron: Boolean(rowHref)
35972
35964
  }
35973
35965
  ),
35974
- _optionalChain([infiniteScroll, 'optionalAccess', _680 => _680.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" }),
35975
35967
  !infiniteScroll && Array.from({ length: Math.max(0, skeletonRows - data.length) }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
35976
35968
  "div",
35977
35969
  {
@@ -36329,7 +36321,7 @@ function QueryReportTable({
36329
36321
  );
36330
36322
  const handleExport = () => {
36331
36323
  exportToCSV(data, columns, exportFilename);
36332
- _optionalChain([onExport, 'optionalCall', _681 => _681()]);
36324
+ _optionalChain([onExport, 'optionalCall', _679 => _679()]);
36333
36325
  };
36334
36326
  const tableMinWidth = columns.length * (columnWidth + 16);
36335
36327
  const {
@@ -36502,7 +36494,7 @@ function DataTableColumnFilter({
36502
36494
  align = "left"
36503
36495
  }) {
36504
36496
  const currentValue = column.getFilterValue();
36505
- const activeCount = _nullishCoalesce(_optionalChain([currentValue, 'optionalAccess', _682 => _682.length]), () => ( 0));
36497
+ const activeCount = _nullishCoalesce(_optionalChain([currentValue, 'optionalAccess', _680 => _680.length]), () => ( 0));
36506
36498
  const sections = _react.useMemo.call(void 0,
36507
36499
  () => [
36508
36500
  {
@@ -36582,7 +36574,7 @@ function DataTableHeader({
36582
36574
  const hasVisibleHeaderCell = headerGroup.headers.some((header) => {
36583
36575
  if (header.isPlaceholder) return false;
36584
36576
  if (isLgUp) return true;
36585
- return Boolean(_optionalChain([header, 'access', _683 => _683.column, 'access', _684 => _684.columnDef, 'access', _685 => _685.meta, 'optionalAccess', _686 => _686.filter]));
36577
+ return Boolean(_optionalChain([header, 'access', _681 => _681.column, 'access', _682 => _682.columnDef, 'access', _683 => _683.meta, 'optionalAccess', _684 => _684.filter]));
36586
36578
  });
36587
36579
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
36588
36580
  "div",
@@ -36612,20 +36604,20 @@ function HeaderCell({ header, isLgUp, sort, onSortChange }) {
36612
36604
  if (header.isPlaceholder) return null;
36613
36605
  const column = header.column;
36614
36606
  const meta = column.columnDef.meta;
36615
- const hasFilter = Boolean(_optionalChain([meta, 'optionalAccess', _687 => _687.filter]));
36616
- const align = _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _688 => _688.align]), () => ( "left"));
36617
- const canSort = _optionalChain([meta, 'optionalAccess', _689 => _689.sortable]) === true;
36618
- const sortDir = _optionalChain([sort, 'optionalAccess', _690 => _690.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;
36619
36611
  if (!isLgUp && !hasFilter) return null;
36620
36612
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
36621
36613
  "div",
36622
36614
  {
36623
36615
  className: _chunkFIG2RKZFcjs.cn.call(void 0,
36624
36616
  "flex items-stretch",
36625
- isLgUp && (_optionalChain([meta, 'optionalAccess', _691 => _691.width]) || "flex-1 min-w-0"),
36626
- _optionalChain([meta, 'optionalAccess', _692 => _692.headerClassName]),
36617
+ isLgUp && (_optionalChain([meta, 'optionalAccess', _689 => _689.width]) || "flex-1 min-w-0"),
36618
+ _optionalChain([meta, 'optionalAccess', _690 => _690.headerClassName]),
36627
36619
  // Don't apply hide classes if column is filterable on tablet (keep filter accessible)
36628
- !(hasFilter && !isLgUp) && getHideClasses2(_optionalChain([meta, 'optionalAccess', _693 => _693.hideAt]))
36620
+ !(hasFilter && !isLgUp) && getHideClasses2(_optionalChain([meta, 'optionalAccess', _691 => _691.hideAt]))
36629
36621
  ),
36630
36622
  children: hasFilter ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
36631
36623
  DataTableColumnFilter,
@@ -36644,7 +36636,7 @@ function HeaderCell({ header, isLgUp, sort, onSortChange }) {
36644
36636
  isLgUp && alignJustify(align),
36645
36637
  canSort && "group cursor-pointer"
36646
36638
  ),
36647
- onClick: canSort ? () => _optionalChain([onSortChange, 'optionalCall', _694 => _694(column.id)]) : void 0,
36639
+ onClick: canSort ? () => _optionalChain([onSortChange, 'optionalCall', _692 => _692(column.id)]) : void 0,
36648
36640
  children: [
36649
36641
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderLabel, { header }),
36650
36642
  canSort && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SortIcon, { sorted: sortDir })
@@ -36709,7 +36701,7 @@ function DataTableSkeleton({
36709
36701
  }) {
36710
36702
  const table = useDataTableContext();
36711
36703
  const columns = table.getVisibleFlatColumns();
36712
- const firstColumnId = _optionalChain([columns, 'access', _695 => _695[0], 'optionalAccess', _696 => _696.id]);
36704
+ const firstColumnId = _optionalChain([columns, 'access', _693 => _693[0], 'optionalAccess', _694 => _694.id]);
36713
36705
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: Array.from({ length: rows }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
36714
36706
  "div",
36715
36707
  {
@@ -36733,7 +36725,7 @@ function DataTableSkeleton({
36733
36725
  {
36734
36726
  className: _chunkFIG2RKZFcjs.cn.call(void 0,
36735
36727
  "flex flex-col justify-center shrink-0",
36736
- _optionalChain([meta, 'optionalAccess', _697 => _697.width]) || "flex-1"
36728
+ _optionalChain([meta, 'optionalAccess', _695 => _695.width]) || "flex-1"
36737
36729
  ),
36738
36730
  children: [
36739
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)]" }),
@@ -36782,7 +36774,7 @@ function DataTableRowImpl({
36782
36774
  const handleClick = _react.useCallback.call(void 0,
36783
36775
  (e) => {
36784
36776
  const target = e.target;
36785
- if (!_optionalChain([containerRef, 'access', _698 => _698.current, 'optionalAccess', _699 => _699.contains, 'call', _700 => _700(target)])) {
36777
+ if (!_optionalChain([containerRef, 'access', _696 => _696.current, 'optionalAccess', _697 => _697.contains, 'call', _698 => _698(target)])) {
36786
36778
  if (isLinkMode) e.preventDefault();
36787
36779
  return;
36788
36780
  }
@@ -36790,7 +36782,7 @@ function DataTableRowImpl({
36790
36782
  if (isLinkMode) e.preventDefault();
36791
36783
  return;
36792
36784
  }
36793
- _optionalChain([onClick, 'optionalCall', _701 => _701(row.original)]);
36785
+ _optionalChain([onClick, 'optionalCall', _699 => _699(row.original)]);
36794
36786
  },
36795
36787
  [onClick, row.original, isLinkMode]
36796
36788
  );
@@ -36815,10 +36807,10 @@ function DataTableRowImpl({
36815
36807
  {
36816
36808
  className: _chunkFIG2RKZFcjs.cn.call(void 0,
36817
36809
  "flex flex-col overflow-hidden",
36818
- alignJustify(_optionalChain([meta, 'optionalAccess', _702 => _702.align])),
36819
- _optionalChain([meta, 'optionalAccess', _703 => _703.width]) || "flex-1 min-w-0",
36820
- _optionalChain([meta, 'optionalAccess', _704 => _704.cellClassName]),
36821
- getHideClasses2(_optionalChain([meta, 'optionalAccess', _705 => _705.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]))
36822
36814
  ),
36823
36815
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CellContent, { children: _reacttable.flexRender.call(void 0, cell.column.columnDef.cell, cell.getContext()) })
36824
36816
  },
@@ -36897,7 +36889,7 @@ function DataTableBody({
36897
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: [
36898
36890
  rows.map((row, index) => {
36899
36891
  const item = row.original;
36900
- const href = _nullishCoalesce(_optionalChain([rowHref, 'optionalCall', _706 => _706(item)]), () => ( void 0));
36892
+ const href = _nullishCoalesce(_optionalChain([rowHref, 'optionalCall', _704 => _704(item)]), () => ( void 0));
36901
36893
  const cls = typeof rowClassName === "function" ? rowClassName(item, index) : rowClassName;
36902
36894
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
36903
36895
  DataTableRow,
@@ -36907,7 +36899,7 @@ function DataTableBody({
36907
36899
  href,
36908
36900
  compact,
36909
36901
  className: cls,
36910
- subRow: _optionalChain([renderSubRow, 'optionalCall', _707 => _707(item)])
36902
+ subRow: _optionalChain([renderSubRow, 'optionalCall', _705 => _705(item)])
36911
36903
  },
36912
36904
  row.id
36913
36905
  );
@@ -36962,7 +36954,7 @@ function DataTableInfiniteFooter({
36962
36954
  if (!sentinel) return;
36963
36955
  const observer = new IntersectionObserver(
36964
36956
  (entries) => {
36965
- if (_optionalChain([entries, 'access', _708 => _708[0], 'optionalAccess', _709 => _709.isIntersecting])) onLoadMoreRef.current();
36957
+ if (_optionalChain([entries, 'access', _706 => _706[0], 'optionalAccess', _707 => _707.isIntersecting])) onLoadMoreRef.current();
36966
36958
  },
36967
36959
  { rootMargin }
36968
36960
  );
@@ -37010,7 +37002,7 @@ function DataTableRowCount({
37010
37002
  const table = useDataTableContext();
37011
37003
  const count = _nullishCoalesce(totalCount, () => ( table.getRowModel().rows.length));
37012
37004
  if (hideWhenEmpty && count === 0) return null;
37013
- const label = _nullishCoalesce(_optionalChain([pluralize, 'optionalCall', _710 => _710(count, itemName)]), () => ( (count === 1 ? itemName : `${itemName}s`)));
37005
+ const label = _nullishCoalesce(_optionalChain([pluralize, 'optionalCall', _708 => _708(count, itemName)]), () => ( (count === 1 ? itemName : `${itemName}s`)));
37014
37006
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
37015
37007
  "span",
37016
37008
  {
@@ -37169,7 +37161,7 @@ function SearchInput({
37169
37161
  if (!showHiddenTags) return;
37170
37162
  const handleClick = (e) => {
37171
37163
  const target = e.target;
37172
- if (!_optionalChain([hiddenTagsRef, 'access', _711 => _711.current, 'optionalAccess', _712 => _712.contains, 'call', _713 => _713(target)]) && !_optionalChain([hiddenTagsPopupRef, 'access', _714 => _714.current, 'optionalAccess', _715 => _715.contains, 'call', _716 => _716(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)])) {
37173
37165
  setShowHiddenTags(false);
37174
37166
  }
37175
37167
  };
@@ -37217,10 +37209,10 @@ function SearchInput({
37217
37209
  } else {
37218
37210
  setInternalValue("");
37219
37211
  }
37220
- _optionalChain([inputRef, 'access', _717 => _717.current, 'optionalAccess', _718 => _718.focus, 'call', _719 => _719()]);
37212
+ _optionalChain([inputRef, 'access', _715 => _715.current, 'optionalAccess', _716 => _716.focus, 'call', _717 => _717()]);
37221
37213
  };
37222
37214
  const handleResultClick = (result, e) => {
37223
- _optionalChain([onResultSelect, 'optionalCall', _720 => _720(
37215
+ _optionalChain([onResultSelect, 'optionalCall', _718 => _718(
37224
37216
  result,
37225
37217
  e ? {
37226
37218
  metaKey: e.metaKey,
@@ -37252,7 +37244,7 @@ function SearchInput({
37252
37244
  if (highlightedIndex >= 0 && flatResults[highlightedIndex]) {
37253
37245
  handleResultClick(flatResults[highlightedIndex]);
37254
37246
  } else {
37255
- _optionalChain([onSubmit, 'optionalCall', _721 => _721(currentValue)]);
37247
+ _optionalChain([onSubmit, 'optionalCall', _719 => _719(currentValue)]);
37256
37248
  }
37257
37249
  break;
37258
37250
  case "Escape":
@@ -37330,7 +37322,7 @@ function SearchInput({
37330
37322
  dropdownVisible && "!border-ods-accent"
37331
37323
  ),
37332
37324
  onClick: () => {
37333
- _optionalChain([inputRef, 'access', _722 => _722.current, 'optionalAccess', _723 => _723.focus, 'call', _724 => _724()]);
37325
+ _optionalChain([inputRef, 'access', _720 => _720.current, 'optionalAccess', _721 => _721.focus, 'call', _722 => _722()]);
37334
37326
  setIsOpen(true);
37335
37327
  },
37336
37328
  children: [
@@ -37414,10 +37406,10 @@ function SearchInput({
37414
37406
  align: "start",
37415
37407
  onOpenAutoFocus: (e) => {
37416
37408
  e.preventDefault();
37417
- _optionalChain([inputRef, 'access', _725 => _725.current, 'optionalAccess', _726 => _726.focus, 'call', _727 => _727()]);
37409
+ _optionalChain([inputRef, 'access', _723 => _723.current, 'optionalAccess', _724 => _724.focus, 'call', _725 => _725()]);
37418
37410
  },
37419
37411
  onInteractOutside: (e) => {
37420
- if (_optionalChain([containerRef, 'access', _728 => _728.current, 'optionalAccess', _729 => _729.contains, 'call', _730 => _730(e.target)])) {
37412
+ if (_optionalChain([containerRef, 'access', _726 => _726.current, 'optionalAccess', _727 => _727.contains, 'call', _728 => _728(e.target)])) {
37421
37413
  e.preventDefault();
37422
37414
  }
37423
37415
  },
@@ -37434,10 +37426,10 @@ function SearchInput({
37434
37426
  ref: hiddenTagsPopupRef,
37435
37427
  items: hiddenChips.map((chip) => ({ label: chip.label, value: chip.id })),
37436
37428
  style: {
37437
- left: badgeRef.current ? badgeRef.current.getBoundingClientRect().left - (_nullishCoalesce(_optionalChain([containerRef, 'access', _731 => _731.current, 'optionalAccess', _732 => _732.getBoundingClientRect, 'call', _733 => _733(), 'access', _734 => _734.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
37438
37430
  },
37439
37431
  onRemove: (value2) => {
37440
- _optionalChain([onFilterRemove, 'optionalCall', _735 => _735(value2)]);
37432
+ _optionalChain([onFilterRemove, 'optionalCall', _733 => _733(value2)]);
37441
37433
  if (hiddenCount <= 1) setShowHiddenTags(false);
37442
37434
  }
37443
37435
  }
@@ -37488,7 +37480,7 @@ function FilterListItem({
37488
37480
  }) {
37489
37481
  const handleToggle = () => {
37490
37482
  if (disabled) return;
37491
- _optionalChain([onToggle, 'optionalCall', _736 => _736(!selected)]);
37483
+ _optionalChain([onToggle, 'optionalCall', _734 => _734(!selected)]);
37492
37484
  };
37493
37485
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
37494
37486
  "div",
@@ -37535,7 +37527,7 @@ function FilterListItem({
37535
37527
  CheckboxPrimitive4.Root,
37536
37528
  {
37537
37529
  checked: selected,
37538
- onCheckedChange: (c) => _optionalChain([onToggle, 'optionalCall', _737 => _737(c === true)]),
37530
+ onCheckedChange: (c) => _optionalChain([onToggle, 'optionalCall', _735 => _735(c === true)]),
37539
37531
  onClick: (e) => e.stopPropagation(),
37540
37532
  disabled,
37541
37533
  "aria-label": title,
@@ -37634,7 +37626,7 @@ function TagSearchInput({
37634
37626
  if (!showHiddenTags) return;
37635
37627
  const handleClick = (e) => {
37636
37628
  const target = e.target;
37637
- if (!_optionalChain([hiddenTagsRef, 'access', _738 => _738.current, 'optionalAccess', _739 => _739.contains, 'call', _740 => _740(target)]) && !_optionalChain([hiddenTagsPopupRef, 'access', _741 => _741.current, 'optionalAccess', _742 => _742.contains, 'call', _743 => _743(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)])) {
37638
37630
  setShowHiddenTags(false);
37639
37631
  }
37640
37632
  };
@@ -37650,13 +37642,13 @@ function TagSearchInput({
37650
37642
  e.preventDefault();
37651
37643
  onSubmit(searchValue);
37652
37644
  }
37653
- _optionalChain([onKeyDown, 'optionalCall', _744 => _744(e)]);
37645
+ _optionalChain([onKeyDown, 'optionalCall', _742 => _742(e)]);
37654
37646
  };
37655
37647
  const handleClearAll = (e) => {
37656
37648
  e.stopPropagation();
37657
37649
  e.preventDefault();
37658
- _optionalChain([onClearAll, 'optionalCall', _745 => _745()]);
37659
- _optionalChain([inputRef, 'access', _746 => _746.current, 'optionalAccess', _747 => _747.focus, 'call', _748 => _748()]);
37650
+ _optionalChain([onClearAll, 'optionalCall', _743 => _743()]);
37651
+ _optionalChain([inputRef, 'access', _744 => _744.current, 'optionalAccess', _745 => _745.focus, 'call', _746 => _746()]);
37660
37652
  };
37661
37653
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { ref: wrapperRef, className: "relative", children: [
37662
37654
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
@@ -37673,7 +37665,7 @@ function TagSearchInput({
37673
37665
  className
37674
37666
  ),
37675
37667
  onClick: () => {
37676
- if (!disabled) _optionalChain([inputRef, 'access', _749 => _749.current, 'optionalAccess', _750 => _750.focus, 'call', _751 => _751()]);
37668
+ if (!disabled) _optionalChain([inputRef, 'access', _747 => _747.current, 'optionalAccess', _748 => _748.focus, 'call', _749 => _749()]);
37677
37669
  },
37678
37670
  children: [
37679
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" }) }),
@@ -37745,7 +37737,7 @@ function TagSearchInput({
37745
37737
  items: hiddenTags,
37746
37738
  disabled,
37747
37739
  style: {
37748
- left: badgeRef.current ? badgeRef.current.getBoundingClientRect().left - (_nullishCoalesce(_optionalChain([wrapperRef, 'access', _752 => _752.current, 'optionalAccess', _753 => _753.getBoundingClientRect, 'call', _754 => _754(), 'access', _755 => _755.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
37749
37741
  },
37750
37742
  onRemove: (value) => {
37751
37743
  onTagRemove(value);
@@ -37846,7 +37838,7 @@ function MarkdownEditor({
37846
37838
  const [defaultExtraCommands, setDefaultExtraCommands] = _react.useState.call(void 0, []);
37847
37839
  _react.useEffect.call(void 0, () => {
37848
37840
  Promise.resolve().then(() => _interopRequireWildcard(require("@uiw/react-md-editor"))).then((mod) => {
37849
- if (_optionalChain([mod, 'access', _756 => _756.commands, 'optionalAccess', _757 => _757.getExtraCommands])) {
37841
+ if (_optionalChain([mod, 'access', _754 => _754.commands, 'optionalAccess', _755 => _755.getExtraCommands])) {
37850
37842
  setDefaultExtraCommands(mod.commands.getExtraCommands());
37851
37843
  }
37852
37844
  });
@@ -37880,7 +37872,7 @@ function MarkdownEditor({
37880
37872
  const isImage = file.type.startsWith("image/");
37881
37873
  const markdown = isImage ? `![${file.name}](${url})` : `[${file.name}](${url})`;
37882
37874
  insertTextAtCursor(markdown);
37883
- _optionalChain([onFileUploaded, 'optionalCall', _758 => _758(url, file.name)]);
37875
+ _optionalChain([onFileUploaded, 'optionalCall', _756 => _756(url, file.name)]);
37884
37876
  } catch (error) {
37885
37877
  console.error("File upload failed:", error);
37886
37878
  setUploadProgress("Upload failed. Please try again.");
@@ -37893,7 +37885,7 @@ function MarkdownEditor({
37893
37885
  );
37894
37886
  const handleFileInputChange = _react.useCallback.call(void 0,
37895
37887
  (e) => {
37896
- const file = _optionalChain([e, 'access', _759 => _759.target, 'access', _760 => _760.files, 'optionalAccess', _761 => _761[0]]);
37888
+ const file = _optionalChain([e, 'access', _757 => _757.target, 'access', _758 => _758.files, 'optionalAccess', _759 => _759[0]]);
37897
37889
  if (file) {
37898
37890
  handleFileUpload(file);
37899
37891
  e.target.value = "";
@@ -37904,7 +37896,7 @@ function MarkdownEditor({
37904
37896
  const handlePaste = _react.useCallback.call(void 0,
37905
37897
  (e) => {
37906
37898
  if (!onUploadFile) return;
37907
- const items = _optionalChain([e, 'access', _762 => _762.clipboardData, 'optionalAccess', _763 => _763.items]);
37899
+ const items = _optionalChain([e, 'access', _760 => _760.clipboardData, 'optionalAccess', _761 => _761.items]);
37908
37900
  if (!items) return;
37909
37901
  for (const item of items) {
37910
37902
  if (item.type.startsWith("image/")) {
@@ -37929,7 +37921,7 @@ function MarkdownEditor({
37929
37921
  buttonProps: { "aria-label": "Upload file", title: "Upload file" },
37930
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" }),
37931
37923
  execute: () => {
37932
- _optionalChain([fileInputRef, 'access', _764 => _764.current, 'optionalAccess', _765 => _765.click, 'call', _766 => _766()]);
37924
+ _optionalChain([fileInputRef, 'access', _762 => _762.current, 'optionalAccess', _763 => _763.click, 'call', _764 => _764()]);
37933
37925
  }
37934
37926
  } : null;
37935
37927
  const extraCommands = uploadCommand ? [...defaultExtraCommands, uploadCommand] : defaultExtraCommands;
@@ -37941,7 +37933,7 @@ function MarkdownEditor({
37941
37933
  const EDGE_ZONE = 60;
37942
37934
  const MAX_SCROLL_SPEED = 15;
37943
37935
  const findScrollParent = _react.useCallback.call(void 0, (el) => {
37944
- let node = _optionalChain([el, 'optionalAccess', _767 => _767.parentElement]);
37936
+ let node = _optionalChain([el, 'optionalAccess', _765 => _765.parentElement]);
37945
37937
  while (node && node !== document.documentElement) {
37946
37938
  const { overflowY } = window.getComputedStyle(node);
37947
37939
  if ((overflowY === "auto" || overflowY === "scroll") && node.scrollHeight > node.clientHeight) {
@@ -38084,7 +38076,7 @@ function matchesAccept(file, accept) {
38084
38076
  });
38085
38077
  }
38086
38078
  function dragHasFiles(e) {
38087
- const types = _optionalChain([e, 'access', _768 => _768.dataTransfer, 'optionalAccess', _769 => _769.types]);
38079
+ const types = _optionalChain([e, 'access', _766 => _766.dataTransfer, 'optionalAccess', _767 => _767.types]);
38088
38080
  if (!types) return false;
38089
38081
  for (let i = 0; i < types.length; i++) {
38090
38082
  if (types[i] === "Files") return true;
@@ -38180,7 +38172,7 @@ function FileUpload({
38180
38172
  e.stopPropagation();
38181
38173
  setDragActive(false);
38182
38174
  if (disabled) return;
38183
- if (_optionalChain([e, 'access', _770 => _770.dataTransfer, 'access', _771 => _771.files, 'optionalAccess', _772 => _772.length])) {
38175
+ if (_optionalChain([e, 'access', _768 => _768.dataTransfer, 'access', _769 => _769.files, 'optionalAccess', _770 => _770.length])) {
38184
38176
  handleFiles(e.dataTransfer.files);
38185
38177
  }
38186
38178
  };
@@ -38208,7 +38200,7 @@ function FileUpload({
38208
38200
  e.preventDefault();
38209
38201
  dragCounter = 0;
38210
38202
  setDragActive(false);
38211
- if (_optionalChain([e, 'access', _773 => _773.dataTransfer, 'optionalAccess', _774 => _774.files, 'optionalAccess', _775 => _775.length])) {
38203
+ if (_optionalChain([e, 'access', _771 => _771.dataTransfer, 'optionalAccess', _772 => _772.files, 'optionalAccess', _773 => _773.length])) {
38212
38204
  handleFilesRef.current(e.dataTransfer.files);
38213
38205
  }
38214
38206
  };
@@ -38230,7 +38222,7 @@ function FileUpload({
38230
38222
  };
38231
38223
  }, [acceptWindowDrops, disabled]);
38232
38224
  const handleFileSelect = (e) => {
38233
- if (_optionalChain([e, 'access', _776 => _776.target, 'access', _777 => _777.files, 'optionalAccess', _778 => _778.length])) {
38225
+ if (_optionalChain([e, 'access', _774 => _774.target, 'access', _775 => _775.files, 'optionalAccess', _776 => _776.length])) {
38234
38226
  handleFiles(e.target.files);
38235
38227
  }
38236
38228
  };
@@ -38247,7 +38239,7 @@ function FileUpload({
38247
38239
  };
38248
38240
  const openDialog = async () => {
38249
38241
  if (disabled) return;
38250
- _optionalChain([fileInputRef, 'access', _779 => _779.current, 'optionalAccess', _780 => _780.click, 'call', _781 => _781()]);
38242
+ _optionalChain([fileInputRef, 'access', _777 => _777.current, 'optionalAccess', _778 => _778.click, 'call', _779 => _779()]);
38251
38243
  };
38252
38244
  const displayError = error || validationError || void 0;
38253
38245
  const hasFiles = isManaged ? managedFiles.length > 0 : files.length > 0;
@@ -38309,7 +38301,7 @@ function FileUpload({
38309
38301
  "button",
38310
38302
  {
38311
38303
  type: "button",
38312
- onClick: () => _optionalChain([onRemoveManagedFile, 'optionalCall', _782 => _782(entry.id)]),
38304
+ onClick: () => _optionalChain([onRemoveManagedFile, 'optionalCall', _780 => _780(entry.id)]),
38313
38305
  className: "shrink-0 text-ods-error hover:opacity-80 transition-opacity",
38314
38306
  "aria-label": `Remove ${entry.fileName}`,
38315
38307
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.TrashIcon, { className: "size-6" })
@@ -38440,7 +38432,7 @@ function ImageUploader({
38440
38432
  onChange(file);
38441
38433
  };
38442
38434
  const handleFileSelect = (e) => {
38443
- validateAndEmit(_optionalChain([e, 'access', _783 => _783.target, 'access', _784 => _784.files, 'optionalAccess', _785 => _785[0]]));
38435
+ validateAndEmit(_optionalChain([e, 'access', _781 => _781.target, 'access', _782 => _782.files, 'optionalAccess', _783 => _783[0]]));
38444
38436
  if (inputRef.current) inputRef.current.value = "";
38445
38437
  };
38446
38438
  const handleDrag = (e) => {
@@ -38455,11 +38447,11 @@ function ImageUploader({
38455
38447
  e.stopPropagation();
38456
38448
  setDragActive(false);
38457
38449
  if (!interactive) return;
38458
- validateAndEmit(_optionalChain([e, 'access', _786 => _786.dataTransfer, 'access', _787 => _787.files, 'optionalAccess', _788 => _788[0]]));
38450
+ validateAndEmit(_optionalChain([e, 'access', _784 => _784.dataTransfer, 'access', _785 => _785.files, 'optionalAccess', _786 => _786[0]]));
38459
38451
  };
38460
38452
  const openDialog = () => {
38461
38453
  if (!interactive) return;
38462
- _optionalChain([inputRef, 'access', _789 => _789.current, 'optionalAccess', _790 => _790.click, 'call', _791 => _791()]);
38454
+ _optionalChain([inputRef, 'access', _787 => _787.current, 'optionalAccess', _788 => _788.click, 'call', _789 => _789()]);
38463
38455
  };
38464
38456
  const handleRootKeyDown = (e) => {
38465
38457
  if (hasImage || !interactive) return;
@@ -38650,8 +38642,8 @@ function ColorPresetSelect({
38650
38642
  }) {
38651
38643
  const selectedPreset = presets.find((p) => p.key === presetKey);
38652
38644
  const isCustom = !selectedPreset;
38653
- const displayLabel = _nullishCoalesce(_optionalChain([selectedPreset, 'optionalAccess', _792 => _792.label]), () => ( "Custom"));
38654
- const displayColor = _nullishCoalesce(_optionalChain([selectedPreset, 'optionalAccess', _793 => _793.color]), () => ( value));
38645
+ const displayLabel = _nullishCoalesce(_optionalChain([selectedPreset, 'optionalAccess', _790 => _790.label]), () => ( "Custom"));
38646
+ const displayColor = _nullishCoalesce(_optionalChain([selectedPreset, 'optionalAccess', _791 => _791.color]), () => ( value));
38655
38647
  const groups = [
38656
38648
  {
38657
38649
  items: [
@@ -38941,7 +38933,7 @@ function TicketStatusConfigRow({
38941
38933
  _chunkQJGRP2YEcjs.Input,
38942
38934
  {
38943
38935
  value: name,
38944
- onChange: (e) => _optionalChain([onNameChange, 'optionalCall', _794 => _794(e.target.value)]),
38936
+ onChange: (e) => _optionalChain([onNameChange, 'optionalCall', _792 => _792(e.target.value)]),
38945
38937
  disabled: isSystem,
38946
38938
  readOnly: isSystem,
38947
38939
  "aria-label": "Status name",
@@ -39314,14 +39306,14 @@ function TicketInfoSection({
39314
39306
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
39315
39307
  SquareAvatar,
39316
39308
  {
39317
- src: _optionalChain([organization, 'optionalAccess', _795 => _795.imageSrc]),
39318
- alt: _optionalChain([organization, 'optionalAccess', _796 => _796.name]),
39319
- fallback: _optionalChain([organization, 'optionalAccess', _797 => _797.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",
39320
39312
  size: "md",
39321
39313
  className: "shrink-0"
39322
39314
  }
39323
39315
  ),
39324
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, InfoCell2, { value: _optionalChain([organization, 'optionalAccess', _798 => _798.name]) || "Unassigned", label: "Organization" })
39316
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, InfoCell2, { value: _optionalChain([organization, 'optionalAccess', _796 => _796.name]) || "Unassigned", label: "Organization" })
39325
39317
  ] }),
39326
39318
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: assigned ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
39327
39319
  AssigneeDropdown,
@@ -39342,10 +39334,10 @@ function TicketInfoSection({
39342
39334
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
39343
39335
  InfoCell2,
39344
39336
  {
39345
- value: _optionalChain([device, 'optionalAccess', _799 => _799.name]) || "Unassigned",
39337
+ value: _optionalChain([device, 'optionalAccess', _797 => _797.name]) || "Unassigned",
39346
39338
  label: "Device",
39347
- icon: _optionalChain([device, 'optionalAccess', _800 => _800.icon]),
39348
- onClick: _optionalChain([device, 'optionalAccess', _801 => _801.onClick])
39339
+ icon: _optionalChain([device, 'optionalAccess', _798 => _798.icon]),
39340
+ onClick: _optionalChain([device, 'optionalAccess', _799 => _799.onClick])
39349
39341
  }
39350
39342
  ),
39351
39343
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-4 min-w-0", children: [
@@ -39675,7 +39667,7 @@ function RoadmapCard({
39675
39667
  const compactHref = safeHref(_nullishCoalesce(href, () => ( null)));
39676
39668
  const hasVotes = (_nullishCoalesce(item.upvotes, () => ( 0))) > 0 || (_nullishCoalesce(item.downvotes, () => ( 0))) > 0;
39677
39669
  const hasFigma = !!item.figmaUrl;
39678
- const hasScreenshots = (_nullishCoalesce(_optionalChain([item, 'access', _802 => _802.screenshots, 'optionalAccess', _803 => _803.length]), () => ( 0))) > 0;
39670
+ const hasScreenshots = (_nullishCoalesce(_optionalChain([item, 'access', _800 => _800.screenshots, 'optionalAccess', _801 => _801.length]), () => ( 0))) > 0;
39679
39671
  const typeLabel = getTaskTypeLabel(item.customItemId);
39680
39672
  const useTypeIcon = cardType === "internal_task" || !iconSrc && item.customItemId != null;
39681
39673
  const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
@@ -39694,7 +39686,7 @@ function RoadmapCard({
39694
39686
  unoptimized: true,
39695
39687
  className: "h-8 w-8 object-contain"
39696
39688
  }
39697
- ) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-[10px] font-medium uppercase text-ods-text-secondary", children: _optionalChain([item, 'access', _804 => _804.title, 'optionalAccess', _805 => _805.substring, 'call', _806 => _806(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)]) || "??" })
39698
39690
  }
39699
39691
  ),
39700
39692
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: COMPACT_CARD_TEXT_COL, children: [
@@ -39769,7 +39761,7 @@ function RoadmapCard({
39769
39761
  unoptimized: true,
39770
39762
  className: "object-contain p-1"
39771
39763
  }
39772
- ) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-xs font-medium uppercase text-ods-text-secondary", children: _optionalChain([item, 'access', _807 => _807.title, 'optionalAccess', _808 => _808.substring, 'call', _809 => _809(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)]) || "??" }) }),
39773
39765
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-1 min-w-0 flex flex-col", children: [
39774
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 }) }),
39775
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: [
@@ -40279,7 +40271,7 @@ function DataRoomDocCard({ item, className, badgeText, anchorProps }) {
40279
40271
  ] }) : null,
40280
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
40281
40273
  ] }),
40282
- _optionalChain([anchorProps, 'optionalAccess', _810 => _810.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
40283
40275
  ] });
40284
40276
  if (!anchorProps) {
40285
40277
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
@@ -40349,7 +40341,7 @@ function getDefaultOptions() {
40349
40341
  // node_modules/date-fns/startOfWeek.mjs
40350
40342
  function startOfWeek(date, options) {
40351
40343
  const defaultOptions2 = getDefaultOptions();
40352
- const weekStartsOn = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _811 => _811.weekStartsOn]), () => ( _optionalChain([options, 'optionalAccess', _812 => _812.locale, 'optionalAccess', _813 => _813.options, 'optionalAccess', _814 => _814.weekStartsOn]))), () => ( defaultOptions2.weekStartsOn)), () => ( _optionalChain([defaultOptions2, 'access', _815 => _815.locale, 'optionalAccess', _816 => _816.options, 'optionalAccess', _817 => _817.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));
40353
40345
  const _date = toDate(date);
40354
40346
  const day = _date.getDay();
40355
40347
  const diff = (day < weekStartsOn ? 7 : 0) + day - weekStartsOn;
@@ -40524,7 +40516,7 @@ var formatDistance = (token, count, options) => {
40524
40516
  } else {
40525
40517
  result = tokenValue.other.replace("{{count}}", count.toString());
40526
40518
  }
40527
- if (_optionalChain([options, 'optionalAccess', _818 => _818.addSuffix])) {
40519
+ if (_optionalChain([options, 'optionalAccess', _816 => _816.addSuffix])) {
40528
40520
  if (options.comparison && options.comparison > 0) {
40529
40521
  return "in " + result;
40530
40522
  } else {
@@ -40591,15 +40583,15 @@ var formatRelative = (token, _date, _baseDate, _options) => formatRelativeLocale
40591
40583
  // node_modules/date-fns/locale/_lib/buildLocalizeFn.mjs
40592
40584
  function buildLocalizeFn(args) {
40593
40585
  return (value, options) => {
40594
- const context = _optionalChain([options, 'optionalAccess', _819 => _819.context]) ? String(options.context) : "standalone";
40586
+ const context = _optionalChain([options, 'optionalAccess', _817 => _817.context]) ? String(options.context) : "standalone";
40595
40587
  let valuesArray;
40596
40588
  if (context === "formatting" && args.formattingValues) {
40597
40589
  const defaultWidth = args.defaultFormattingWidth || args.defaultWidth;
40598
- const width = _optionalChain([options, 'optionalAccess', _820 => _820.width]) ? String(options.width) : defaultWidth;
40590
+ const width = _optionalChain([options, 'optionalAccess', _818 => _818.width]) ? String(options.width) : defaultWidth;
40599
40591
  valuesArray = args.formattingValues[width] || args.formattingValues[defaultWidth];
40600
40592
  } else {
40601
40593
  const defaultWidth = args.defaultWidth;
40602
- const width = _optionalChain([options, 'optionalAccess', _821 => _821.width]) ? String(options.width) : args.defaultWidth;
40594
+ const width = _optionalChain([options, 'optionalAccess', _819 => _819.width]) ? String(options.width) : args.defaultWidth;
40603
40595
  valuesArray = args.values[width] || args.values[defaultWidth];
40604
40596
  }
40605
40597
  const index = args.argumentCallback ? args.argumentCallback(value) : value;
@@ -40979,7 +40971,7 @@ function getWeekYear(date, options) {
40979
40971
  const _date = toDate(date);
40980
40972
  const year = _date.getFullYear();
40981
40973
  const defaultOptions2 = getDefaultOptions();
40982
- const firstWeekContainsDate = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _822 => _822.firstWeekContainsDate]), () => ( _optionalChain([options, 'optionalAccess', _823 => _823.locale, 'optionalAccess', _824 => _824.options, 'optionalAccess', _825 => _825.firstWeekContainsDate]))), () => ( defaultOptions2.firstWeekContainsDate)), () => ( _optionalChain([defaultOptions2, 'access', _826 => _826.locale, 'optionalAccess', _827 => _827.options, 'optionalAccess', _828 => _828.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));
40983
40975
  const firstWeekOfNextYear = constructFrom(date, 0);
40984
40976
  firstWeekOfNextYear.setFullYear(year + 1, 0, firstWeekContainsDate);
40985
40977
  firstWeekOfNextYear.setHours(0, 0, 0, 0);
@@ -41000,7 +40992,7 @@ function getWeekYear(date, options) {
41000
40992
  // node_modules/date-fns/startOfWeekYear.mjs
41001
40993
  function startOfWeekYear(date, options) {
41002
40994
  const defaultOptions2 = getDefaultOptions();
41003
- const firstWeekContainsDate = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _829 => _829.firstWeekContainsDate]), () => ( _optionalChain([options, 'optionalAccess', _830 => _830.locale, 'optionalAccess', _831 => _831.options, 'optionalAccess', _832 => _832.firstWeekContainsDate]))), () => ( defaultOptions2.firstWeekContainsDate)), () => ( _optionalChain([defaultOptions2, 'access', _833 => _833.locale, 'optionalAccess', _834 => _834.options, 'optionalAccess', _835 => _835.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));
41004
40996
  const year = getWeekYear(date, options);
41005
40997
  const firstWeek = constructFrom(date, 0);
41006
40998
  firstWeek.setFullYear(year, 0, firstWeekContainsDate);
@@ -41815,9 +41807,9 @@ var doubleQuoteRegExp = /''/g;
41815
41807
  var unescapedLatinCharacterRegExp = /[a-zA-Z]/;
41816
41808
  function format(date, formatStr, options) {
41817
41809
  const defaultOptions2 = getDefaultOptions();
41818
- const locale = _nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _836 => _836.locale]), () => ( defaultOptions2.locale)), () => ( enUS));
41819
- const firstWeekContainsDate = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _837 => _837.firstWeekContainsDate]), () => ( _optionalChain([options, 'optionalAccess', _838 => _838.locale, 'optionalAccess', _839 => _839.options, 'optionalAccess', _840 => _840.firstWeekContainsDate]))), () => ( defaultOptions2.firstWeekContainsDate)), () => ( _optionalChain([defaultOptions2, 'access', _841 => _841.locale, 'optionalAccess', _842 => _842.options, 'optionalAccess', _843 => _843.firstWeekContainsDate]))), () => ( 1));
41820
- const weekStartsOn = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _844 => _844.weekStartsOn]), () => ( _optionalChain([options, 'optionalAccess', _845 => _845.locale, 'optionalAccess', _846 => _846.options, 'optionalAccess', _847 => _847.weekStartsOn]))), () => ( defaultOptions2.weekStartsOn)), () => ( _optionalChain([defaultOptions2, 'access', _848 => _848.locale, 'optionalAccess', _849 => _849.options, 'optionalAccess', _850 => _850.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));
41821
41813
  const originalDate = toDate(date);
41822
41814
  if (!isValid(originalDate)) {
41823
41815
  throw new RangeError("Invalid time value");
@@ -41858,7 +41850,7 @@ function format(date, formatStr, options) {
41858
41850
  return parts.map((part) => {
41859
41851
  if (!part.isToken) return part.value;
41860
41852
  const token = part.value;
41861
- if (!_optionalChain([options, 'optionalAccess', _851 => _851.useAdditionalWeekYearTokens]) && isProtectedWeekYearToken(token) || !_optionalChain([options, 'optionalAccess', _852 => _852.useAdditionalDayOfYearTokens]) && isProtectedDayOfYearToken(token)) {
41853
+ if (!_optionalChain([options, 'optionalAccess', _849 => _849.useAdditionalWeekYearTokens]) && isProtectedWeekYearToken(token) || !_optionalChain([options, 'optionalAccess', _850 => _850.useAdditionalDayOfYearTokens]) && isProtectedDayOfYearToken(token)) {
41862
41854
  warnOrThrowProtectedError(token, formatStr, String(date));
41863
41855
  }
41864
41856
  const formatter = formatters[token[0]];
@@ -42039,7 +42031,7 @@ function ProgramCard({
42039
42031
  const dur = formatDurationFromRange(w.start_at, w.end_at);
42040
42032
  typeMeta = dur ? `${time} \xB7 ${dur}` : time;
42041
42033
  }
42042
- const subtitleParts = [itemDate2, typeMeta, _optionalChain([config, 'access', _853 => _853.labels, 'optionalAccess', _854 => _854.singular])].filter(
42034
+ const subtitleParts = [itemDate2, typeMeta, _optionalChain([config, 'access', _851 => _851.labels, 'optionalAccess', _852 => _852.singular])].filter(
42043
42035
  (s) => typeof s === "string" && s.length > 0
42044
42036
  );
42045
42037
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "a", { href, target, rel, className: _chunkFIG2RKZFcjs.cn.call(void 0, COMPACT_CARD_OUTER, className), children: [
@@ -42196,7 +42188,7 @@ function ProgramCard({
42196
42188
 
42197
42189
 
42198
42190
  function CampaignCardAdmin({ campaign, className, anchorProps }) {
42199
- const goalsCount = _optionalChain([campaign, 'access', _855 => _855.goals, 'optionalAccess', _856 => _856.length]) || 0;
42191
+ const goalsCount = _optionalChain([campaign, 'access', _853 => _853.goals, 'optionalAccess', _854 => _854.length]) || 0;
42200
42192
  const innerChildren = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
42201
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" }) }),
42202
42194
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: COMPACT_CARD_TEXT_COL, children: [
@@ -42358,7 +42350,7 @@ function resolveSourceRowCTA(row, ctx = {}) {
42358
42350
  if (row.path && shouldFallbackToPathNav(row) && !row.externalUrl) {
42359
42351
  const safePath = sanitizePath(row.path);
42360
42352
  if (safePath) {
42361
- const docTarget = row.documentType ? _optionalChain([ctx, 'access', _857 => _857.docPlatformTargets, 'optionalAccess', _858 => _858[row.documentType]]) : void 0;
42353
+ const docTarget = row.documentType ? _optionalChain([ctx, 'access', _855 => _855.docPlatformTargets, 'optionalAccess', _856 => _856[row.documentType]]) : void 0;
42362
42354
  if (docTarget) {
42363
42355
  const seg = docTarget.basePath.split("/").filter(Boolean).join("/");
42364
42356
  const base = `${_chunkFIG2RKZFcjs.getBaseUrl.call(void 0, docTarget.platform)}${seg ? `/${seg}` : ""}/`;
@@ -42573,8 +42565,8 @@ function cardMenuGroups(href, discuss, openDetails) {
42573
42565
  if (href) {
42574
42566
  items.push({
42575
42567
  id: "open-details",
42576
- label: _nullishCoalesce(_optionalChain([openDetails, 'optionalAccess', _859 => _859.label]), () => ( "Open Details")),
42577
- icon: _nullishCoalesce(_optionalChain([openDetails, 'optionalAccess', _860 => _860.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 }))),
42578
42570
  // Main row → open the entity (same tab, soft Link nav).
42579
42571
  href,
42580
42572
  // Trailing 40px ↗ side-button → open in a new tab.
@@ -42604,8 +42596,8 @@ function HubspotTicketChatCard({
42604
42596
  isNewTab,
42605
42597
  discuss
42606
42598
  }) {
42607
- const status = typeof _optionalChain([chatRef, 'access', _861 => _861.metadata, 'optionalAccess', _862 => _862.status]) === "string" ? chatRef.metadata.status : void 0;
42608
- const statusLabel = typeof _optionalChain([chatRef, 'access', _863 => _863.metadata, 'optionalAccess', _864 => _864.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;
42609
42601
  const statusText = _nullishCoalesce(statusLabel, () => ( formatStatusToken(status)));
42610
42602
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
42611
42603
  MingoInfoCard,
@@ -42628,7 +42620,7 @@ function FaqChatCard({
42628
42620
  isNewTab,
42629
42621
  discuss
42630
42622
  }) {
42631
- const section = typeof _optionalChain([chatRef, 'access', _865 => _865.metadata, 'optionalAccess', _866 => _866.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;
42632
42624
  const statusLabel = section && section.length > 0 ? section : "FAQ";
42633
42625
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
42634
42626
  MingoInfoCard,
@@ -42648,7 +42640,7 @@ function SlackChatCard({
42648
42640
  isNewTab,
42649
42641
  discuss
42650
42642
  }) {
42651
- const channelName = typeof _optionalChain([chatRef, 'access', _867 => _867.metadata, 'optionalAccess', _868 => _868.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;
42652
42644
  const channelPretty = channelName ? channelName.startsWith("#") ? channelName : `#${channelName}` : void 0;
42653
42645
  const title = channelPretty ? `${chatRef.title} \xB7 ${channelPretty}` : chatRef.title;
42654
42646
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -42688,7 +42680,7 @@ function GenericFinancialChatCard({
42688
42680
  isNewTab,
42689
42681
  discuss
42690
42682
  }) {
42691
- const subtitle = typeof _optionalChain([chatRef, 'access', _869 => _869.metadata, 'optionalAccess', _870 => _870.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;
42692
42684
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
42693
42685
  MingoInfoCard,
42694
42686
  {
@@ -42757,12 +42749,12 @@ function ProductReleaseChatCard({
42757
42749
  discuss
42758
42750
  }) {
42759
42751
  const releaseProps = buildProps(item);
42760
- const status = _optionalChain([item, 'optionalAccess', _871 => _871.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" };
42761
42753
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
42762
42754
  EntityMingoCard,
42763
42755
  {
42764
- title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _872 => _872.title]), () => ( "")),
42765
- description: _optionalChain([item, 'optionalAccess', _873 => _873.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,
42766
42758
  cover: releaseProps.coverImage || void 0,
42767
42759
  fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.Rocket02Icon, { size: 24 }),
42768
42760
  status,
@@ -42779,17 +42771,17 @@ function CampaignChatCard({
42779
42771
  isNewTab,
42780
42772
  discuss
42781
42773
  }) {
42782
- const goalsCount = Array.isArray(_optionalChain([item, 'optionalAccess', _874 => _874.goals])) ? item.goals.length : 0;
42774
+ const goalsCount = Array.isArray(_optionalChain([item, 'optionalAccess', _872 => _872.goals])) ? item.goals.length : 0;
42783
42775
  const meta = [
42784
- _optionalChain([item, 'optionalAccess', _875 => _875.start_date]) ? formatDateShort(item.start_date) : null,
42776
+ _optionalChain([item, 'optionalAccess', _873 => _873.start_date]) ? formatDateShort(item.start_date) : null,
42785
42777
  goalsCount > 0 ? `${goalsCount} goal${goalsCount !== 1 ? "s" : ""}` : null,
42786
42778
  "Marketing campaign"
42787
42779
  ].filter(Boolean).join(" \xB7 ");
42788
42780
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
42789
42781
  EntityMingoCard,
42790
42782
  {
42791
- title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _876 => _876.name]), () => ( "")),
42792
- description: meta || _optionalChain([item, 'optionalAccess', _877 => _877.description]) || void 0,
42783
+ title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _874 => _874.name]), () => ( "")),
42784
+ description: meta || _optionalChain([item, 'optionalAccess', _875 => _875.description]) || void 0,
42793
42785
  fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.Megaphone01Icon, { size: 24 }),
42794
42786
  chatRef,
42795
42787
  isNewTab,
@@ -42842,14 +42834,14 @@ function BlogChatCard({
42842
42834
  hasEmbeddedVideo,
42843
42835
  discuss
42844
42836
  }) {
42845
- const category = Array.isArray(_optionalChain([item, 'optionalAccess', _878 => _878.categories])) ? _optionalChain([item, 'access', _879 => _879.categories, 'access', _880 => _880.find, 'call', _881 => _881((c) => c && c.name), 'optionalAccess', _882 => _882.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;
42846
42838
  const status = hasEmbeddedVideo ? { label: "Video", variant: "primary" } : category ? { label: category, variant: "grey" } : void 0;
42847
42839
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
42848
42840
  EntityMingoCard,
42849
42841
  {
42850
- title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _883 => _883.title]), () => ( "")),
42851
- description: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _884 => _884.summary]), () => ( void 0)),
42852
- cover: entityCover(_optionalChain([item, 'optionalAccess', _885 => _885.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),
42853
42845
  fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.NewspaperIcon, { size: 24 }),
42854
42846
  status,
42855
42847
  chatRef,
@@ -42866,13 +42858,13 @@ function CaseStudyChatCard({
42866
42858
  ogPlaceholder,
42867
42859
  discuss
42868
42860
  }) {
42869
- const meta = [_optionalChain([item, 'optionalAccess', _886 => _886.msp, 'optionalAccess', _887 => _887.name]), _optionalChain([item, 'optionalAccess', _888 => _888.user, 'optionalAccess', _889 => _889.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 ");
42870
42862
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
42871
42863
  EntityMingoCard,
42872
42864
  {
42873
- title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _890 => _890.title]), () => ( "")),
42874
- description: _optionalChain([item, 'optionalAccess', _891 => _891.summary]) || meta || void 0,
42875
- cover: entityCover(_optionalChain([item, 'optionalAccess', _892 => _892.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),
42876
42868
  fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.TrophyIcon, { size: 24 }),
42877
42869
  status: { label: "Case study", variant: "grey" },
42878
42870
  chatRef,
@@ -42889,13 +42881,13 @@ function CustomerInterviewChatCard({
42889
42881
  ogPlaceholder,
42890
42882
  discuss
42891
42883
  }) {
42892
- const meta = [_optionalChain([item, 'optionalAccess', _893 => _893.user, 'optionalAccess', _894 => _894.full_name]), _optionalChain([item, 'optionalAccess', _895 => _895.msp, 'optionalAccess', _896 => _896.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 ");
42893
42885
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
42894
42886
  EntityMingoCard,
42895
42887
  {
42896
- title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _897 => _897.title]), () => ( "")),
42897
- description: _optionalChain([item, 'optionalAccess', _898 => _898.video_summary]) || meta || void 0,
42898
- cover: entityCover(_optionalChain([item, 'optionalAccess', _899 => _899.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),
42899
42891
  fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.MicrophoneIcon, { size: 24 }),
42900
42892
  status: { label: "Interview", variant: "grey" },
42901
42893
  chatRef,
@@ -42912,13 +42904,13 @@ function InvestorUpdateChatCard({
42912
42904
  ogPlaceholder,
42913
42905
  discuss
42914
42906
  }) {
42915
- const title = _optionalChain([item, 'optionalAccess', _900 => _900.title]) || `Update #${_nullishCoalesce(_optionalChain([item, 'optionalAccess', _901 => _901.update_number]), () => ( "?"))}`;
42907
+ const title = _optionalChain([item, 'optionalAccess', _898 => _898.title]) || `Update #${_nullishCoalesce(_optionalChain([item, 'optionalAccess', _899 => _899.update_number]), () => ( "?"))}`;
42916
42908
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
42917
42909
  EntityMingoCard,
42918
42910
  {
42919
42911
  title,
42920
- description: _optionalChain([item, 'optionalAccess', _902 => _902.strategic_update]) || _optionalChain([item, 'optionalAccess', _903 => _903.content]) || formatInvestorUpdatePeriod(_optionalChain([item, 'optionalAccess', _904 => _904.period_start]), _optionalChain([item, 'optionalAccess', _905 => _905.period_end])) || void 0,
42921
- cover: entityCover(_optionalChain([item, 'optionalAccess', _906 => _906.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),
42922
42914
  fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.PresentationLineIcon, { size: 24 }),
42923
42915
  status: { label: "Investor update", variant: "grey" },
42924
42916
  chatRef,
@@ -42935,12 +42927,12 @@ function OnboardingGuideChatCard({
42935
42927
  ogPlaceholder,
42936
42928
  discuss
42937
42929
  }) {
42938
- const cover = _nullishCoalesce(_nullishCoalesce(entityCover(_optionalChain([item, 'optionalAccess', _907 => _907.featured_image])), () => ( entityCover(_optionalChain([item, 'optionalAccess', _908 => _908.main_video_thumbnail])))), () => ( entityCover(_optionalChain([item, 'optionalAccess', _909 => _909.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)));
42939
42931
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
42940
42932
  EntityMingoCard,
42941
42933
  {
42942
- title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _910 => _910.title]), () => ( "")),
42943
- description: _nullishCoalesce(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _911 => _911.summary]), () => ( _optionalChain([item, 'optionalAccess', _912 => _912.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)),
42944
42936
  cover,
42945
42937
  fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.CompassIcon, { size: 24 }),
42946
42938
  status: { label: "Guide", variant: "grey" },
@@ -42961,25 +42953,25 @@ function ProgramChatCard({
42961
42953
  discuss
42962
42954
  }) {
42963
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 });
42964
- const isScheduled = _optionalChain([item, 'optionalAccess', _913 => _913.status]) === "scheduled";
42956
+ const isScheduled = _optionalChain([item, 'optionalAccess', _911 => _911.status]) === "scheduled";
42965
42957
  let typeMeta;
42966
- if (configKey === "podcast" && typeof _optionalChain([item, 'optionalAccess', _914 => _914.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) {
42967
42959
  typeMeta = formatDurationCompact(item.duration_seconds);
42968
- } else if (configKey === "event" && typeof _optionalChain([item, 'optionalAccess', _915 => _915.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) {
42969
42961
  typeMeta = item.location_name;
42970
- } else if (configKey === "webinar" && _optionalChain([item, 'optionalAccess', _916 => _916.start_at])) {
42962
+ } else if (configKey === "webinar" && _optionalChain([item, 'optionalAccess', _914 => _914.start_at])) {
42971
42963
  const time = formatTimeWithTimezone(item.start_at, _nullishCoalesce(item.timezone, () => ( null)));
42972
42964
  const dur = formatDurationFromRange(item.start_at, item.end_at);
42973
42965
  typeMeta = dur ? `${time} \xB7 ${dur}` : time;
42974
42966
  }
42975
- const itemDate = formatDateUTC(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _917 => _917.date]), () => ( null)), { fallback: "", timezone: "local" });
42967
+ const itemDate = formatDateUTC(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _915 => _915.date]), () => ( null)), { fallback: "", timezone: "local" });
42976
42968
  const meta = [itemDate, typeMeta].filter(Boolean).join(" \xB7 ");
42977
42969
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
42978
42970
  EntityMingoCard,
42979
42971
  {
42980
- title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _918 => _918.title]), () => ( "")),
42981
- description: meta || _optionalChain([item, 'optionalAccess', _919 => _919.description]) || void 0,
42982
- cover: entityCover(_optionalChain([item, 'optionalAccess', _920 => _920.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),
42983
42975
  fallbackIcon: icon,
42984
42976
  status: { label, variant: "grey" },
42985
42977
  chatRef,
@@ -42996,10 +42988,10 @@ function RoadmapChatCard({
42996
42988
  cardType,
42997
42989
  discuss
42998
42990
  }) {
42999
- const logoUrl = typeof _optionalChain([item, 'optionalAccess', _921 => _921.icon]) === "string" && item.icon.startsWith("http") ? item.icon : void 0;
43000
- const useTypeIcon = cardType === "internal_task" || !logoUrl && _optionalChain([item, 'optionalAccess', _922 => _922.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;
43001
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 });
43002
- const icon = useTypeIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TaskTypeIcon, { customItemId: _optionalChain([item, 'optionalAccess', _923 => _923.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 ? (
43003
42995
  // Contained (not full-bleed) so the integration logo keeps its aspect
43004
42996
  // ratio inside the bordered icon box — matches RoadmapCard.
43005
42997
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "img", { src: logoUrl, alt: "", className: "size-6 object-contain" })
@@ -43007,10 +42999,10 @@ function RoadmapChatCard({
43007
42999
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
43008
43000
  EntityMingoCard,
43009
43001
  {
43010
- title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _924 => _924.title]), () => ( "")),
43011
- description: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _925 => _925.description]), () => ( void 0)),
43002
+ title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _922 => _922.title]), () => ( "")),
43003
+ description: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _923 => _923.description]), () => ( void 0)),
43012
43004
  fallbackIcon: icon,
43013
- status: statusPill(_optionalChain([item, 'optionalAccess', _926 => _926.status])),
43005
+ status: statusPill(_optionalChain([item, 'optionalAccess', _924 => _924.status])),
43014
43006
  chatRef,
43015
43007
  isNewTab,
43016
43008
  discuss,
@@ -43096,7 +43088,7 @@ function programRegistryEntries() {
43096
43088
  discuss: opts.discuss,
43097
43089
  configKey: cfg.configKey,
43098
43090
  label: cfg.configKey.charAt(0).toUpperCase() + cfg.configKey.slice(1),
43099
- ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _927 => _927.extras, 'optionalAccess', _928 => _928.buildOgPlaceholderUrl, 'optionalCall', _929 => _929(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _930 => _930.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))
43100
43092
  }
43101
43093
  )
43102
43094
  };
@@ -43248,8 +43240,8 @@ var CHAT_CARD_REGISTRY = {
43248
43240
  chatRef,
43249
43241
  isNewTab: opts.isNewTab,
43250
43242
  discuss: opts.discuss,
43251
- ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _931 => _931.extras, 'optionalAccess', _932 => _932.buildOgPlaceholderUrl, 'optionalCall', _933 => _933(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _934 => _934.title]), () => ( "")))]), () => ( null)),
43252
- hasEmbeddedVideo: _optionalChain([chatRef, 'access', _935 => _935.metadata, 'optionalAccess', _936 => _936.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
43253
43245
  }
43254
43246
  )
43255
43247
  },
@@ -43266,7 +43258,7 @@ var CHAT_CARD_REGISTRY = {
43266
43258
  chatRef,
43267
43259
  isNewTab: opts.isNewTab,
43268
43260
  discuss: opts.discuss,
43269
- ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _937 => _937.extras, 'optionalAccess', _938 => _938.buildOgPlaceholderUrl, 'optionalCall', _939 => _939(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _940 => _940.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))
43270
43262
  }
43271
43263
  )
43272
43264
  },
@@ -43283,7 +43275,7 @@ var CHAT_CARD_REGISTRY = {
43283
43275
  chatRef,
43284
43276
  isNewTab: opts.isNewTab,
43285
43277
  discuss: opts.discuss,
43286
- ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _941 => _941.extras, 'optionalAccess', _942 => _942.buildOgPlaceholderUrl, 'optionalCall', _943 => _943(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _944 => _944.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))
43287
43279
  }
43288
43280
  )
43289
43281
  },
@@ -43294,7 +43286,7 @@ var CHAT_CARD_REGISTRY = {
43294
43286
  bareInline: true,
43295
43287
  skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ProductReleaseCardSkeleton, { size: "sm" }),
43296
43288
  render: (item, chatRef, opts) => {
43297
- const builder = _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _945 => _945.extras, 'optionalAccess', _946 => _946.buildProductReleaseCardProps]), () => ( defaultBuildProductReleaseCardProps));
43289
+ const builder = _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _943 => _943.extras, 'optionalAccess', _944 => _944.buildProductReleaseCardProps]), () => ( defaultBuildProductReleaseCardProps));
43298
43290
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
43299
43291
  ProductReleaseChatCard,
43300
43292
  {
@@ -43321,7 +43313,7 @@ var CHAT_CARD_REGISTRY = {
43321
43313
  chatRef,
43322
43314
  isNewTab: opts.isNewTab,
43323
43315
  discuss: opts.discuss,
43324
- ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _947 => _947.extras, 'optionalAccess', _948 => _948.buildOgPlaceholderUrl, 'optionalCall', _949 => _949(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _950 => _950.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))
43325
43317
  }
43326
43318
  )
43327
43319
  },
@@ -43340,7 +43332,7 @@ var CHAT_CARD_REGISTRY = {
43340
43332
  chatRef,
43341
43333
  isNewTab: opts.isNewTab,
43342
43334
  discuss: opts.discuss,
43343
- ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _951 => _951.extras, 'optionalAccess', _952 => _952.buildOgPlaceholderUrl, 'optionalCall', _953 => _953(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _954 => _954.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))
43344
43336
  }
43345
43337
  )
43346
43338
  },
@@ -43352,7 +43344,7 @@ var CHAT_CARD_REGISTRY = {
43352
43344
  skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CampaignCardAdminSkeleton, {}),
43353
43345
  // No public viewer — synthesize the hub-internal admin URL post-fetch
43354
43346
  // so the wrapper + isNewTab computation see the actual destination.
43355
- fallbackHref: (item) => _optionalChain([item, 'optionalAccess', _955 => _955.id]) ? `/admin/campaigns/${encodeURIComponent(item.id)}` : null,
43347
+ fallbackHref: (item) => _optionalChain([item, 'optionalAccess', _953 => _953.id]) ? `/admin/campaigns/${encodeURIComponent(item.id)}` : null,
43356
43348
  render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
43357
43349
  CampaignChatCard,
43358
43350
  {
@@ -43378,12 +43370,12 @@ function ChatCardNavWrap({
43378
43370
  const onClickCapture = (e) => {
43379
43371
  if (!href) return;
43380
43372
  const targetEl = e.target;
43381
- if (_optionalChain([targetEl, 'optionalAccess', _956 => _956.closest, 'optionalCall', _957 => _957("button")])) return;
43382
- if (!_optionalChain([targetEl, 'optionalAccess', _958 => _958.closest, 'optionalCall', _959 => _959("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;
43383
43375
  const handled = handleChatNavClick(e, runtime, { href, path, targetPlatform }, router.push);
43384
43376
  if (!handled) return;
43385
43377
  e.stopPropagation();
43386
- if (!isNewTab && _optionalChain([panel, 'optionalAccess', _960 => _960.closeChat])) panel.closeChat();
43378
+ if (!isNewTab && _optionalChain([panel, 'optionalAccess', _958 => _958.closeChat])) panel.closeChat();
43387
43379
  };
43388
43380
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "contents", onClickCapture, children });
43389
43381
  }
@@ -43405,7 +43397,7 @@ function ChatCardLoader({
43405
43397
  title: chatRef.title,
43406
43398
  externalUrl: chatRef.url,
43407
43399
  targetPlatform: chatRef.targetPlatform,
43408
- path: typeof _optionalChain([chatRef, 'access', _961 => _961.metadata, 'optionalAccess', _962 => _962.path]) === "string" ? chatRef.metadata.path : null
43400
+ path: typeof _optionalChain([chatRef, 'access', _959 => _959.metadata, 'optionalAccess', _960 => _960.path]) === "string" ? chatRef.metadata.path : null
43409
43401
  },
43410
43402
  sourceRowCtxFromRuntime(runtime, { baseRoute, chipBasePlatform })
43411
43403
  );
@@ -43419,7 +43411,7 @@ function ChatCardLoader({
43419
43411
  const entry = CHAT_CARD_REGISTRY[resolvedChatRef.type];
43420
43412
  const fetchEntry = entry && entry.mode === "fetch" ? entry : null;
43421
43413
  const { item, isLoading } = useChatCardItem(
43422
- _nullishCoalesce(_optionalChain([fetchEntry, 'optionalAccess', _963 => _963.contentRefType]), () => ( "")),
43414
+ _nullishCoalesce(_optionalChain([fetchEntry, 'optionalAccess', _961 => _961.contentRefType]), () => ( "")),
43423
43415
  fetchEntry ? resolvedChatRef.id : ""
43424
43416
  );
43425
43417
  if (!entry) return null;
@@ -43450,7 +43442,7 @@ function ChatCardLoader({
43450
43442
  isNewTab,
43451
43443
  discuss
43452
43444
  };
43453
- const path = typeof _optionalChain([finalChatRef, 'access', _964 => _964.metadata, 'optionalAccess', _965 => _965.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;
43454
43446
  const navWrap = (children) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
43455
43447
  ChatCardNavWrap,
43456
43448
  {
@@ -43836,7 +43828,7 @@ function useJetStreamDialogSubscription({
43836
43828
  const lifecycle = _chunkPXXS27EEcjs.startConnectionLifecycle.call(void 0, {
43837
43829
  conn: sharedConn,
43838
43830
  wsUrl,
43839
- onBeforeReconnect: () => _optionalChain([onBeforeReconnectRef, 'access', _966 => _966.current, 'optionalCall', _967 => _967()]),
43831
+ onBeforeReconnect: () => _optionalChain([onBeforeReconnectRef, 'access', _964 => _964.current, 'optionalCall', _965 => _965()]),
43840
43832
  backoff: reconnectionBackoffRef.current,
43841
43833
  getFreshUrl: () => getNatsWsUrlRef.current(),
43842
43834
  // JetStream emits 'error' for protocol-level failures (e.g. -ERR Permissions
@@ -43851,7 +43843,7 @@ function useJetStreamDialogSubscription({
43851
43843
  setReconnectionCount((c) => c + 1);
43852
43844
  }
43853
43845
  hadConnectionBeforeRef.current = true;
43854
- _optionalChain([onConnectRef, 'access', _968 => _968.current, 'optionalCall', _969 => _969()]);
43846
+ _optionalChain([onConnectRef, 'access', _966 => _966.current, 'optionalCall', _967 => _967()]);
43855
43847
  }
43856
43848
  if (status === "error") {
43857
43849
  console.warn("[JetStream] NATS protocol error:", evt.data);
@@ -43861,7 +43853,7 @@ function useJetStreamDialogSubscription({
43861
43853
  setIsConnected(false);
43862
43854
  setIsSubscribed(false);
43863
43855
  tearDownSubscription();
43864
- _optionalChain([onDisconnectRef, 'access', _970 => _970.current, 'optionalCall', _971 => _971()]);
43856
+ _optionalChain([onDisconnectRef, 'access', _968 => _968.current, 'optionalCall', _969 => _969()]);
43865
43857
  }
43866
43858
  }
43867
43859
  });
@@ -43940,7 +43932,7 @@ function useJetStreamDialogSubscription({
43940
43932
  }
43941
43933
  subscriptionRef.current = handle;
43942
43934
  setIsSubscribed(true);
43943
- _optionalChain([onSubscribedRef, 'access', _972 => _972.current, 'optionalCall', _973 => _973()]);
43935
+ _optionalChain([onSubscribedRef, 'access', _970 => _970.current, 'optionalCall', _971 => _971()]);
43944
43936
  } catch (e44) {
43945
43937
  if (!cancelled) {
43946
43938
  setIsSubscribed(false);
@@ -44053,20 +44045,20 @@ function useNatsDialogSubscription({
44053
44045
  const tearDownSubscriptions = () => {
44054
44046
  subscriptionRefs.current.forEach((sub) => {
44055
44047
  try {
44056
- _optionalChain([sub, 'optionalAccess', _974 => _974.unsubscribe, 'call', _975 => _975()]);
44048
+ _optionalChain([sub, 'optionalAccess', _972 => _972.unsubscribe, 'call', _973 => _973()]);
44057
44049
  } catch (e46) {
44058
44050
  }
44059
44051
  });
44060
44052
  subscriptionRefs.current.clear();
44061
44053
  lastSubscribedDialogIdRef.current = null;
44062
- _optionalChain([abortControllerRef, 'access', _976 => _976.current, 'optionalAccess', _977 => _977.abort, 'call', _978 => _978()]);
44054
+ _optionalChain([abortControllerRef, 'access', _974 => _974.current, 'optionalAccess', _975 => _975.abort, 'call', _976 => _976()]);
44063
44055
  abortControllerRef.current = null;
44064
44056
  };
44065
44057
  const isDisconnectStatus = (status) => status === "closed" || status === "disconnected";
44066
44058
  const lifecycle = _chunkPXXS27EEcjs.startConnectionLifecycle.call(void 0, {
44067
44059
  conn: sharedConn,
44068
44060
  wsUrl,
44069
- onBeforeReconnect: () => _optionalChain([onBeforeReconnectRef, 'access', _979 => _979.current, 'optionalCall', _980 => _980()]),
44061
+ onBeforeReconnect: () => _optionalChain([onBeforeReconnectRef, 'access', _977 => _977.current, 'optionalCall', _978 => _978()]),
44070
44062
  backoff: reconnectionBackoffRef.current,
44071
44063
  getFreshUrl: () => getNatsWsUrlRef.current(),
44072
44064
  shouldRetryOn: isDisconnectStatus,
@@ -44077,7 +44069,7 @@ function useNatsDialogSubscription({
44077
44069
  setReconnectionCount((c) => c + 1);
44078
44070
  }
44079
44071
  hadConnectionBeforeRef.current = true;
44080
- _optionalChain([onConnectRef, 'access', _981 => _981.current, 'optionalCall', _982 => _982()]);
44072
+ _optionalChain([onConnectRef, 'access', _979 => _979.current, 'optionalCall', _980 => _980()]);
44081
44073
  }
44082
44074
  if (status === "error") {
44083
44075
  console.warn("[NATS] protocol error:", evt.data);
@@ -44087,7 +44079,7 @@ function useNatsDialogSubscription({
44087
44079
  setIsConnected(false);
44088
44080
  setIsSubscribed(false);
44089
44081
  tearDownSubscriptions();
44090
- _optionalChain([onDisconnectRef, 'access', _983 => _983.current, 'optionalCall', _984 => _984()]);
44082
+ _optionalChain([onDisconnectRef, 'access', _981 => _981.current, 'optionalCall', _982 => _982()]);
44091
44083
  }
44092
44084
  }
44093
44085
  });
@@ -44118,13 +44110,13 @@ function useNatsDialogSubscription({
44118
44110
  setIsSubscribed(false);
44119
44111
  subscriptionRefs.current.forEach((sub) => {
44120
44112
  try {
44121
- _optionalChain([sub, 'optionalAccess', _985 => _985.unsubscribe, 'call', _986 => _986()]);
44113
+ _optionalChain([sub, 'optionalAccess', _983 => _983.unsubscribe, 'call', _984 => _984()]);
44122
44114
  } catch (e47) {
44123
44115
  }
44124
44116
  });
44125
44117
  subscriptionRefs.current.clear();
44126
44118
  lastSubscribedDialogIdRef.current = null;
44127
- _optionalChain([abortControllerRef, 'access', _987 => _987.current, 'optionalAccess', _988 => _988.abort, 'call', _989 => _989()]);
44119
+ _optionalChain([abortControllerRef, 'access', _985 => _985.current, 'optionalAccess', _986 => _986.abort, 'call', _987 => _987()]);
44128
44120
  abortControllerRef.current = null;
44129
44121
  }
44130
44122
  return;
@@ -44136,12 +44128,12 @@ function useNatsDialogSubscription({
44136
44128
  if (subscriptionRefs.current.size > 0) {
44137
44129
  subscriptionRefs.current.forEach((sub) => {
44138
44130
  try {
44139
- _optionalChain([sub, 'optionalAccess', _990 => _990.unsubscribe, 'call', _991 => _991()]);
44131
+ _optionalChain([sub, 'optionalAccess', _988 => _988.unsubscribe, 'call', _989 => _989()]);
44140
44132
  } catch (e48) {
44141
44133
  }
44142
44134
  });
44143
44135
  subscriptionRefs.current.clear();
44144
- _optionalChain([abortControllerRef, 'access', _992 => _992.current, 'optionalAccess', _993 => _993.abort, 'call', _994 => _994()]);
44136
+ _optionalChain([abortControllerRef, 'access', _990 => _990.current, 'optionalAccess', _991 => _991.abort, 'call', _992 => _992()]);
44145
44137
  }
44146
44138
  abortControllerRef.current = new AbortController();
44147
44139
  const abort = abortControllerRef.current;
@@ -44173,7 +44165,7 @@ function useNatsDialogSubscription({
44173
44165
  });
44174
44166
  lastSubscribedDialogIdRef.current = dialogId;
44175
44167
  setIsSubscribed(true);
44176
- _optionalChain([onSubscribedRef, 'access', _995 => _995.current, 'optionalCall', _996 => _996()]);
44168
+ _optionalChain([onSubscribedRef, 'access', _993 => _993.current, 'optionalCall', _994 => _994()]);
44177
44169
  };
44178
44170
  if (isConnectedRef.current) {
44179
44171
  createSubscriptions();
@@ -44183,7 +44175,7 @@ function useNatsDialogSubscription({
44183
44175
  abort.abort();
44184
44176
  subscriptionRefs.current.forEach((sub) => {
44185
44177
  try {
44186
- _optionalChain([sub, 'optionalAccess', _997 => _997.unsubscribe, 'call', _998 => _998()]);
44178
+ _optionalChain([sub, 'optionalAccess', _995 => _995.unsubscribe, 'call', _996 => _996()]);
44187
44179
  } catch (e50) {
44188
44180
  }
44189
44181
  });
@@ -44224,7 +44216,7 @@ function useNatsDialogSubscription({
44224
44216
  });
44225
44217
  lastSubscribedDialogIdRef.current = dialogId2;
44226
44218
  setIsSubscribed(true);
44227
- _optionalChain([onSubscribedRef, 'access', _999 => _999.current, 'optionalCall', _1000 => _1000()]);
44219
+ _optionalChain([onSubscribedRef, 'access', _997 => _997.current, 'optionalCall', _998 => _998()]);
44228
44220
  } else if (subscriptionRefs.current.size > 0) {
44229
44221
  setIsSubscribed(true);
44230
44222
  }
@@ -44232,10 +44224,10 @@ function useNatsDialogSubscription({
44232
44224
  return { isConnected, isSubscribed, reconnectionCount };
44233
44225
  }
44234
44226
  function buildNatsWsUrl(apiBaseUrl, options) {
44235
- const path = _optionalChain([options, 'optionalAccess', _1001 => _1001.source]) === "dashboard" ? "/ws/nats-api" : "/ws/nats";
44227
+ const path = _optionalChain([options, 'optionalAccess', _999 => _999.source]) === "dashboard" ? "/ws/nats-api" : "/ws/nats";
44236
44228
  const u = new URL(path, apiBaseUrl);
44237
44229
  u.protocol = u.protocol === "https:" ? "wss:" : "ws:";
44238
- if (_optionalChain([options, 'optionalAccess', _1002 => _1002.includeAuthParam]) && _optionalChain([options, 'optionalAccess', _1003 => _1003.token])) {
44230
+ if (_optionalChain([options, 'optionalAccess', _1000 => _1000.includeAuthParam]) && _optionalChain([options, 'optionalAccess', _1001 => _1001.token])) {
44239
44231
  u.searchParams.set("authorization", options.token);
44240
44232
  }
44241
44233
  return u.toString();
@@ -44371,7 +44363,7 @@ function parseChunkToAction(chunk) {
44371
44363
  // is REQUIRED on `ChatContextItem`, so fall back to the id (same as the
44372
44364
  // historical path in `process-historical-messages.ts`) — keeps both
44373
44365
  // message sources producing an identical shape.
44374
- contextItems: Array.isArray(data.contextItems) ? data.contextItems.filter((it) => typeof _optionalChain([it, 'optionalAccess', _1004 => _1004.type]) === "string" && typeof _optionalChain([it, 'optionalAccess', _1005 => _1005.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
44375
44367
  };
44376
44368
  case MESSAGE_TYPE.TOKEN_USAGE:
44377
44369
  return {
@@ -44563,8 +44555,8 @@ var MessageSegmentAccumulator = class {
44563
44555
  type: "tool_execution",
44564
44556
  data: {
44565
44557
  ...toolData,
44566
- toolTitle: _nullishCoalesce(_nullishCoalesce(toolData.toolTitle, () => ( _optionalChain([existingExecuting, 'optionalAccess', _1006 => _1006.data, 'access', _1007 => _1007.toolTitle]))), () => ( _optionalChain([executingTool, 'optionalAccess', _1008 => _1008.toolTitle]))),
44567
- parameters: toolData.parameters || _optionalChain([executingTool, 'optionalAccess', _1009 => _1009.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])
44568
44560
  }
44569
44561
  };
44570
44562
  if (existingIndex !== -1) {
@@ -44588,8 +44580,8 @@ var MessageSegmentAccumulator = class {
44588
44580
  if (seg.type !== "approval_batch") return seg;
44589
44581
  const hasCall = seg.data.toolCalls.some((c) => c.toolExecutionRequestId === execId);
44590
44582
  if (!hasCall) return seg;
44591
- const prev = _optionalChain([seg, 'access', _1010 => _1010.data, 'access', _1011 => _1011.executions, 'optionalAccess', _1012 => _1012[execId]]);
44592
- const next = toolData.type === "EXECUTED_TOOL" ? { status: "done", result: toolData.result, success: toolData.success } : { status: "executing", result: _optionalChain([prev, 'optionalAccess', _1013 => _1013.result]), success: _optionalChain([prev, 'optionalAccess', _1014 => _1014.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]) };
44593
44585
  matched = true;
44594
44586
  return {
44595
44587
  ...seg,
@@ -44711,10 +44703,10 @@ var MessageSegmentAccumulator = class {
44711
44703
  const segment = {
44712
44704
  type: "approval_request",
44713
44705
  data: {
44714
- command: _optionalChain([pendingApproval, 'optionalAccess', _1015 => _1015.command]) || "",
44715
- explanation: _optionalChain([pendingApproval, 'optionalAccess', _1016 => _1016.explanation]),
44706
+ command: _optionalChain([pendingApproval, 'optionalAccess', _1013 => _1013.command]) || "",
44707
+ explanation: _optionalChain([pendingApproval, 'optionalAccess', _1014 => _1014.explanation]),
44716
44708
  requestId,
44717
- approvalType: _optionalChain([pendingApproval, 'optionalAccess', _1017 => _1017.approvalType]) || approvalType
44709
+ approvalType: _optionalChain([pendingApproval, 'optionalAccess', _1015 => _1015.approvalType]) || approvalType
44718
44710
  },
44719
44711
  status,
44720
44712
  onApprove: this.callbacks.onApprove,
@@ -44906,7 +44898,7 @@ function useRealtimeChunkProcessor(options) {
44906
44898
  if (initialState.escalatedApprovals) {
44907
44899
  pendingEscalatedRef.current = new Map(initialState.escalatedApprovals);
44908
44900
  initialState.escalatedApprovals.forEach((data, requestId) => {
44909
- _optionalChain([callbacks, 'access', _1018 => _1018.onEscalatedApproval, 'optionalCall', _1019 => _1019(requestId, data)]);
44901
+ _optionalChain([callbacks, 'access', _1016 => _1016.onEscalatedApproval, 'optionalCall', _1017 => _1017(requestId, data)]);
44910
44902
  });
44911
44903
  }
44912
44904
  hasEverStreamedRef.current = true;
@@ -44927,12 +44919,12 @@ function useRealtimeChunkProcessor(options) {
44927
44919
  if (!action) return;
44928
44920
  const accumulator = accumulatorRef.current;
44929
44921
  const streamSeq = chunk && typeof chunk === "object" && typeof chunk.streamSeq === "number" ? chunk.streamSeq : void 0;
44930
- const emitSegments = (s, meta) => _optionalChain([callbacks, 'access', _1020 => _1020.onSegmentsUpdate, 'optionalCall', _1021 => _1021(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)]);
44931
44923
  if (action.action === "direct_message") sawDirectMessageRef.current = true;
44932
44924
  if ((directModeFlagRef.current || sawDirectMessageRef.current) && !DIRECT_MODE_ALLOWED.has(action.action)) {
44933
44925
  if (isInStreamRef.current) {
44934
44926
  isInStreamRef.current = false;
44935
- _optionalChain([callbacks, 'access', _1022 => _1022.onStreamEnd, 'optionalCall', _1023 => _1023()]);
44927
+ _optionalChain([callbacks, 'access', _1020 => _1020.onStreamEnd, 'optionalCall', _1021 => _1021()]);
44936
44928
  accumulator.resetSegments();
44937
44929
  }
44938
44930
  return;
@@ -44941,16 +44933,16 @@ function useRealtimeChunkProcessor(options) {
44941
44933
  case "message_start":
44942
44934
  isInStreamRef.current = true;
44943
44935
  hasEverStreamedRef.current = true;
44944
- _optionalChain([callbacks, 'access', _1024 => _1024.onStreamStart, 'optionalCall', _1025 => _1025()]);
44936
+ _optionalChain([callbacks, 'access', _1022 => _1022.onStreamStart, 'optionalCall', _1023 => _1023()]);
44945
44937
  accumulator.resetSegments();
44946
44938
  break;
44947
44939
  case "message_end":
44948
44940
  isInStreamRef.current = false;
44949
- _optionalChain([callbacks, 'access', _1026 => _1026.onStreamEnd, 'optionalCall', _1027 => _1027()]);
44941
+ _optionalChain([callbacks, 'access', _1024 => _1024.onStreamEnd, 'optionalCall', _1025 => _1025()]);
44950
44942
  accumulator.resetSegments();
44951
44943
  break;
44952
44944
  case "metadata":
44953
- _optionalChain([callbacks, 'access', _1028 => _1028.onMetadata, 'optionalCall', _1029 => _1029(action)]);
44945
+ _optionalChain([callbacks, 'access', _1026 => _1026.onMetadata, 'optionalCall', _1027 => _1027(action)]);
44954
44946
  break;
44955
44947
  case "text": {
44956
44948
  const segments = accumulator.appendText(action.text);
@@ -44993,7 +44985,7 @@ function useRealtimeChunkProcessor(options) {
44993
44985
  emitSegments(segments);
44994
44986
  } else {
44995
44987
  pendingEscalatedRef.current.set(requestId, { command, explanation, approvalType });
44996
- _optionalChain([callbacks, 'access', _1030 => _1030.onEscalatedApproval, 'optionalCall', _1031 => _1031(requestId, { command, explanation, approvalType })]);
44988
+ _optionalChain([callbacks, 'access', _1028 => _1028.onEscalatedApproval, 'optionalCall', _1029 => _1029(requestId, { command, explanation, approvalType })]);
44997
44989
  }
44998
44990
  break;
44999
44991
  }
@@ -45005,13 +44997,13 @@ function useRealtimeChunkProcessor(options) {
45005
44997
  const summary = required ? getCommandText(required) : `Batch of ${toolCalls.length} tool calls`;
45006
44998
  pendingEscalatedRef.current.set(requestId, {
45007
44999
  command: summary,
45008
- explanation: _optionalChain([required, 'optionalAccess', _1032 => _1032.toolExplanation]),
45000
+ explanation: _optionalChain([required, 'optionalAccess', _1030 => _1030.toolExplanation]),
45009
45001
  approvalType,
45010
45002
  toolCalls
45011
45003
  });
45012
- _optionalChain([callbacks, 'access', _1033 => _1033.onEscalatedApproval, 'optionalCall', _1034 => _1034(requestId, {
45004
+ _optionalChain([callbacks, 'access', _1031 => _1031.onEscalatedApproval, 'optionalCall', _1032 => _1032(requestId, {
45013
45005
  command: summary,
45014
- explanation: _optionalChain([required, 'optionalAccess', _1035 => _1035.toolExplanation]),
45006
+ explanation: _optionalChain([required, 'optionalAccess', _1033 => _1033.toolExplanation]),
45015
45007
  approvalType
45016
45008
  })]);
45017
45009
  break;
@@ -45041,7 +45033,7 @@ function useRealtimeChunkProcessor(options) {
45041
45033
  const status = approved ? "approved" : "rejected";
45042
45034
  if (escalatedData) {
45043
45035
  pendingEscalatedRef.current.delete(requestId);
45044
- _optionalChain([callbacks, 'access', _1036 => _1036.onEscalatedApprovalResult, 'optionalCall', _1037 => _1037(requestId, approved, {
45036
+ _optionalChain([callbacks, 'access', _1034 => _1034.onEscalatedApprovalResult, 'optionalCall', _1035 => _1035(requestId, approved, {
45045
45037
  command: escalatedData.command,
45046
45038
  explanation: escalatedData.explanation,
45047
45039
  approvalType: escalatedData.approvalType
@@ -45087,29 +45079,29 @@ function useRealtimeChunkProcessor(options) {
45087
45079
  emitSegments(accumulator.getSegments());
45088
45080
  }
45089
45081
  }
45090
- _optionalChain([callbacks, 'access', _1038 => _1038.onApprovalResolved, 'optionalCall', _1039 => _1039(requestId, status, approvalType, resolvedByName)]);
45082
+ _optionalChain([callbacks, 'access', _1036 => _1036.onApprovalResolved, 'optionalCall', _1037 => _1037(requestId, status, approvalType, resolvedByName)]);
45091
45083
  break;
45092
45084
  }
45093
45085
  case "error": {
45094
45086
  let message2;
45095
- if ("details" in action && _optionalChain([action, 'optionalAccess', _1040 => _1040.details])) {
45087
+ if ("details" in action && _optionalChain([action, 'optionalAccess', _1038 => _1038.details])) {
45096
45088
  try {
45097
- message2 = _optionalChain([JSON, 'access', _1041 => _1041.parse, 'call', _1042 => _1042(action.details), 'optionalAccess', _1043 => _1043.error, 'optionalAccess', _1044 => _1044.message]);
45089
+ message2 = _optionalChain([JSON, 'access', _1039 => _1039.parse, 'call', _1040 => _1040(action.details), 'optionalAccess', _1041 => _1041.error, 'optionalAccess', _1042 => _1042.message]);
45098
45090
  } catch (e52) {
45099
45091
  message2 = action.details;
45100
45092
  }
45101
45093
  }
45102
45094
  const segments = accumulator.addError(action.error, message2);
45103
45095
  emitSegments(segments);
45104
- _optionalChain([callbacks, 'access', _1045 => _1045.onError, 'optionalCall', _1046 => _1046(action.error, message2)]);
45096
+ _optionalChain([callbacks, 'access', _1043 => _1043.onError, 'optionalCall', _1044 => _1044(action.error, message2)]);
45105
45097
  break;
45106
45098
  }
45107
45099
  case "system": {
45108
- _optionalChain([callbacks, 'access', _1047 => _1047.onSystemMessage, 'optionalCall', _1048 => _1048(action.text, { streamSeq })]);
45100
+ _optionalChain([callbacks, 'access', _1045 => _1045.onSystemMessage, 'optionalCall', _1046 => _1046(action.text, { streamSeq })]);
45109
45101
  break;
45110
45102
  }
45111
45103
  case "direct_message": {
45112
- _optionalChain([callbacks, 'access', _1049 => _1049.onDirectMessage, 'optionalCall', _1050 => _1050(action.text, {
45104
+ _optionalChain([callbacks, 'access', _1047 => _1047.onDirectMessage, 'optionalCall', _1048 => _1048(action.text, {
45113
45105
  ownerType: action.ownerType,
45114
45106
  displayName: action.displayName,
45115
45107
  userId: action.userId,
@@ -45118,7 +45110,7 @@ function useRealtimeChunkProcessor(options) {
45118
45110
  break;
45119
45111
  }
45120
45112
  case "message_request":
45121
- _optionalChain([callbacks, 'access', _1051 => _1051.onUserMessage, 'optionalCall', _1052 => _1052(action.text, {
45113
+ _optionalChain([callbacks, 'access', _1049 => _1049.onUserMessage, 'optionalCall', _1050 => _1050(action.text, {
45122
45114
  ownerType: action.ownerType,
45123
45115
  displayName: action.displayName,
45124
45116
  userId: action.userId,
@@ -45127,7 +45119,7 @@ function useRealtimeChunkProcessor(options) {
45127
45119
  })]);
45128
45120
  break;
45129
45121
  case "token_usage":
45130
- _optionalChain([callbacks, 'access', _1053 => _1053.onTokenUsage, 'optionalCall', _1054 => _1054(action.data)]);
45122
+ _optionalChain([callbacks, 'access', _1051 => _1051.onTokenUsage, 'optionalCall', _1052 => _1052(action.data)]);
45131
45123
  break;
45132
45124
  case "context_compaction_start": {
45133
45125
  const standalone = !isInStreamRef.current;
@@ -45142,7 +45134,7 @@ function useRealtimeChunkProcessor(options) {
45142
45134
  break;
45143
45135
  }
45144
45136
  case "dialog_closed":
45145
- _optionalChain([callbacks, 'access', _1055 => _1055.onDialogClosed, 'optionalCall', _1056 => _1056()]);
45137
+ _optionalChain([callbacks, 'access', _1053 => _1053.onDialogClosed, 'optionalCall', _1054 => _1054()]);
45146
45138
  break;
45147
45139
  default:
45148
45140
  break;
@@ -45189,7 +45181,7 @@ async function fetchSlashCommands(prefix, signal, commandsUrl) {
45189
45181
  const data = await res.json();
45190
45182
  return _nullishCoalesce(data.commands, () => ( []));
45191
45183
  } catch (err) {
45192
- if (_optionalChain([err, 'optionalAccess', _1057 => _1057.name]) === "AbortError") throw err;
45184
+ if (_optionalChain([err, 'optionalAccess', _1055 => _1055.name]) === "AbortError") throw err;
45193
45185
  console.warn("[chat] slash-commands fetch failed, showing none:", err);
45194
45186
  return [];
45195
45187
  }
@@ -45210,7 +45202,7 @@ function useSlashCommands(prefix, commandsUrl) {
45210
45202
  const next = await fetchSlashCommands(prefix, ctrl.signal, commandsUrl);
45211
45203
  if (!cancelled) setCommands(next);
45212
45204
  } catch (err) {
45213
- if (!cancelled && _optionalChain([err, 'optionalAccess', _1058 => _1058.name]) !== "AbortError") {
45205
+ if (!cancelled && _optionalChain([err, 'optionalAccess', _1056 => _1056.name]) !== "AbortError") {
45214
45206
  console.warn("[use-slash-commands] fetch failed:", err);
45215
45207
  }
45216
45208
  } finally {
@@ -45229,7 +45221,7 @@ function useSlashCommandRegistry(commandsUrl, options) {
45229
45221
  const query = _reactquery.useQuery.call(void 0, {
45230
45222
  queryKey: ["chat-slash-commands", commandsUrl],
45231
45223
  queryFn: ({ signal }) => fetchSlashCommands("", signal, commandsUrl),
45232
- enabled: _nullishCoalesce(_optionalChain([options, 'optionalAccess', _1059 => _1059.enabled]), () => ( true)),
45224
+ enabled: _nullishCoalesce(_optionalChain([options, 'optionalAccess', _1057 => _1057.enabled]), () => ( true)),
45233
45225
  staleTime: Infinity,
45234
45226
  gcTime: Infinity,
45235
45227
  // The commands registry is non-critical chrome — a failure degrades to an
@@ -45265,18 +45257,18 @@ async function fetchEmptyStateConfig(signal, emptyStateUrl) {
45265
45257
  }
45266
45258
  const data = await res.json();
45267
45259
  return {
45268
- greeting: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1060 => _1060.greeting]), () => ( null)),
45269
- enabledRagTableIds: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1061 => _1061.enabledRagTableIds]), () => ( [])),
45270
- suggestedQueries: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1062 => _1062.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]), () => ( []))
45271
45263
  };
45272
45264
  } catch (err) {
45273
- if (_optionalChain([err, 'optionalAccess', _1063 => _1063.name]) === "AbortError") throw err;
45265
+ if (_optionalChain([err, 'optionalAccess', _1061 => _1061.name]) === "AbortError") throw err;
45274
45266
  console.warn("[chat] empty-state config fetch failed, using neutral defaults:", err);
45275
45267
  return EMPTY_STATE_FALLBACK;
45276
45268
  }
45277
45269
  }
45278
45270
  function useEmptyStateConfig(emptyStateUrl, options) {
45279
- const enabled = (_nullishCoalesce(_optionalChain([options, 'optionalAccess', _1064 => _1064.enabled]), () => ( true))) && !!emptyStateUrl;
45271
+ const enabled = (_nullishCoalesce(_optionalChain([options, 'optionalAccess', _1062 => _1062.enabled]), () => ( true))) && !!emptyStateUrl;
45280
45272
  const query = _reactquery.useQuery.call(void 0, {
45281
45273
  queryKey: ["chat-empty-state", emptyStateUrl],
45282
45274
  queryFn: ({ signal }) => fetchEmptyStateConfig(signal, emptyStateUrl),
@@ -45305,7 +45297,7 @@ var CHAT_ATTACHMENT_MAX_SIZE_BYTES = 25 * 1024 * 1024;
45305
45297
  var STORAGE_CACHE_CONTROL_IMMUTABLE = "public, max-age=31536000, immutable";
45306
45298
  function uploadWithProgress(url, file, token, onProgress, signal) {
45307
45299
  return new Promise((resolve, reject) => {
45308
- if (_optionalChain([signal, 'optionalAccess', _1065 => _1065.aborted])) {
45300
+ if (_optionalChain([signal, 'optionalAccess', _1063 => _1063.aborted])) {
45309
45301
  reject(new Error("Upload cancelled"));
45310
45302
  return;
45311
45303
  }
@@ -45319,7 +45311,7 @@ function uploadWithProgress(url, file, token, onProgress, signal) {
45319
45311
  xhr.removeEventListener("error", handleError);
45320
45312
  xhr.removeEventListener("abort", handleAbort);
45321
45313
  xhr.removeEventListener("timeout", handleTimeout);
45322
- _optionalChain([signal, 'optionalAccess', _1066 => _1066.removeEventListener, 'call', _1067 => _1067("abort", handleSignalAbort)]);
45314
+ _optionalChain([signal, 'optionalAccess', _1064 => _1064.removeEventListener, 'call', _1065 => _1065("abort", handleSignalAbort)]);
45323
45315
  if (xhr.readyState !== XMLHttpRequest.DONE) xhr.abort();
45324
45316
  };
45325
45317
  const handleProgress = (event) => {
@@ -45355,7 +45347,7 @@ function uploadWithProgress(url, file, token, onProgress, signal) {
45355
45347
  const handleSignalAbort = () => {
45356
45348
  xhr.abort();
45357
45349
  };
45358
- _optionalChain([signal, 'optionalAccess', _1068 => _1068.addEventListener, 'call', _1069 => _1069("abort", handleSignalAbort, { once: true })]);
45350
+ _optionalChain([signal, 'optionalAccess', _1066 => _1066.addEventListener, 'call', _1067 => _1067("abort", handleSignalAbort, { once: true })]);
45359
45351
  xhr.upload.addEventListener("progress", handleProgress);
45360
45352
  xhr.addEventListener("load", handleLoad);
45361
45353
  xhr.addEventListener("error", handleError);
@@ -45399,12 +45391,12 @@ function useChatAttachments() {
45399
45391
  try {
45400
45392
  sniffed = await _filetype.fileTypeFromBlob.call(void 0, att.file);
45401
45393
  } catch (err) {
45402
- if (_optionalChain([ctrl, 'optionalAccess', _1070 => _1070.signal, 'access', _1071 => _1071.aborted])) return;
45394
+ if (_optionalChain([ctrl, 'optionalAccess', _1068 => _1068.signal, 'access', _1069 => _1069.aborted])) return;
45403
45395
  throw new Error(
45404
45396
  `Could not read file content: ${err instanceof Error ? err.message : String(err)}`
45405
45397
  );
45406
45398
  }
45407
- if (_optionalChain([ctrl, 'optionalAccess', _1072 => _1072.signal, 'access', _1073 => _1073.aborted])) return;
45399
+ if (_optionalChain([ctrl, 'optionalAccess', _1070 => _1070.signal, 'access', _1071 => _1071.aborted])) return;
45408
45400
  if (!sniffed) {
45409
45401
  throw new Error("Unrecognized file format");
45410
45402
  }
@@ -45418,7 +45410,7 @@ function useChatAttachments() {
45418
45410
  const urlResp = await _chunkDCIB6AK3cjs.embedAuthedFetch.call(void 0, uploadUrlEndpoint, {
45419
45411
  method: "POST",
45420
45412
  headers: { "Content-Type": "application/json" },
45421
- signal: _optionalChain([ctrl, 'optionalAccess', _1074 => _1074.signal]),
45413
+ signal: _optionalChain([ctrl, 'optionalAccess', _1072 => _1072.signal]),
45422
45414
  body: JSON.stringify({
45423
45415
  fileName: att.file.name,
45424
45416
  // Pass the SNIFFED MIME (not `file.type`, which can be a
@@ -45444,9 +45436,9 @@ function useChatAttachments() {
45444
45436
  (pct) => {
45445
45437
  updateOne(att.id, { progress: pct });
45446
45438
  },
45447
- _optionalChain([ctrl, 'optionalAccess', _1075 => _1075.signal])
45439
+ _optionalChain([ctrl, 'optionalAccess', _1073 => _1073.signal])
45448
45440
  );
45449
- if (_optionalChain([ctrl, 'optionalAccess', _1076 => _1076.signal, 'access', _1077 => _1077.aborted])) return;
45441
+ if (_optionalChain([ctrl, 'optionalAccess', _1074 => _1074.signal, 'access', _1075 => _1075.aborted])) return;
45450
45442
  updateOne(att.id, {
45451
45443
  status: "ready",
45452
45444
  progress: 100,
@@ -45454,7 +45446,7 @@ function useChatAttachments() {
45454
45446
  viewToken: mintData.viewToken
45455
45447
  });
45456
45448
  } catch (err) {
45457
- if (_optionalChain([ctrl, 'optionalAccess', _1078 => _1078.signal, 'access', _1079 => _1079.aborted])) return;
45449
+ if (_optionalChain([ctrl, 'optionalAccess', _1076 => _1076.signal, 'access', _1077 => _1077.aborted])) return;
45458
45450
  const message2 = err instanceof Error ? err.message : String(err);
45459
45451
  updateOne(att.id, { status: "error", progress: 0, errorMessage: message2 });
45460
45452
  } finally {
@@ -45605,7 +45597,7 @@ var ANON_DEFAULTS = {
45605
45597
  function useResolveChatIdentity(enabled) {
45606
45598
  const runtime = _chunkN2DVKXN4cjs.useRequiredChatRuntime.call(void 0, );
45607
45599
  const url = runtime.endpoints.identityUrl;
45608
- const proxyEmail = _nullishCoalesce(_optionalChain([_chunkDCIB6AK3cjs.getEmbedProxyAuth.call(void 0, ), 'optionalAccess', _1080 => _1080.email]), () => ( null));
45600
+ const proxyEmail = _nullishCoalesce(_optionalChain([_chunkDCIB6AK3cjs.getEmbedProxyAuth.call(void 0, ), 'optionalAccess', _1078 => _1078.email]), () => ( null));
45609
45601
  const [data, setData] = _react.useState.call(void 0, ANON_DEFAULTS);
45610
45602
  const [isLoading, setIsLoading] = _react.useState.call(void 0, enabled);
45611
45603
  _react.useEffect.call(void 0, () => {
@@ -45696,7 +45688,7 @@ function useSSE({ useMock = true, debugMode = false, streamFn } = {}) {
45696
45688
  yield chunk;
45697
45689
  }
45698
45690
  } catch (err) {
45699
- if (_optionalChain([err, 'optionalAccess', _1081 => _1081.name]) === "AbortError" || ctrl.signal.aborted) {
45691
+ if (_optionalChain([err, 'optionalAccess', _1079 => _1079.name]) === "AbortError" || ctrl.signal.aborted) {
45700
45692
  return;
45701
45693
  }
45702
45694
  const errorMessage = err instanceof Error ? err.message : "An error occurred";
@@ -45747,7 +45739,7 @@ function useChat({
45747
45739
  const onMessagesChangeRef = _react.useRef.call(void 0, onMessagesChange);
45748
45740
  onMessagesChangeRef.current = onMessagesChange;
45749
45741
  _react.useEffect.call(void 0, () => {
45750
- _optionalChain([onMessagesChangeRef, 'access', _1082 => _1082.current, 'optionalCall', _1083 => _1083(messages)]);
45742
+ _optionalChain([onMessagesChangeRef, 'access', _1080 => _1080.current, 'optionalCall', _1081 => _1081(messages)]);
45751
45743
  }, [messages]);
45752
45744
  const {
45753
45745
  streamMessage,
@@ -45784,7 +45776,7 @@ function useChat({
45784
45776
  name: "You",
45785
45777
  content: text,
45786
45778
  timestamp: /* @__PURE__ */ new Date(),
45787
- ..._optionalChain([options, 'optionalAccess', _1084 => _1084.hidden]) ? { hidden: true } : {}
45779
+ ..._optionalChain([options, 'optionalAccess', _1082 => _1082.hidden]) ? { hidden: true } : {}
45788
45780
  };
45789
45781
  addMessage(userMessage);
45790
45782
  setIsTyping(true);
@@ -45846,7 +45838,7 @@ function useChat({
45846
45838
  currentTextSegment = "";
45847
45839
  }
45848
45840
  const seg = segment;
45849
- const proposalId = _optionalChain([seg, 'access', _1085 => _1085.data, 'optionalAccess', _1086 => _1086.requestId]);
45841
+ const proposalId = _optionalChain([seg, 'access', _1083 => _1083.data, 'optionalAccess', _1084 => _1084.requestId]);
45850
45842
  const updateApprovalMessage = (transform) => {
45851
45843
  setMessages((prev) => {
45852
45844
  for (let i = prev.length - 1; i >= 0; i--) {
@@ -45855,7 +45847,7 @@ function useChat({
45855
45847
  if (!Array.isArray(m.content)) continue;
45856
45848
  const segments = m.content;
45857
45849
  const hasMatch = segments.some(
45858
- (s) => s.type === "approval_request" && _optionalChain([s, 'access', _1087 => _1087.data, 'optionalAccess', _1088 => _1088.requestId]) === proposalId
45850
+ (s) => s.type === "approval_request" && _optionalChain([s, 'access', _1085 => _1085.data, 'optionalAccess', _1086 => _1086.requestId]) === proposalId
45859
45851
  );
45860
45852
  if (!hasMatch) continue;
45861
45853
  const next = [...prev];
@@ -45897,11 +45889,11 @@ function useChat({
45897
45889
  if (!Array.isArray(m.content)) continue;
45898
45890
  const segments = m.content;
45899
45891
  const hasMatch = segments.some(
45900
- (s) => s.type === "approval_request" && _optionalChain([s, 'access', _1089 => _1089.data, 'optionalAccess', _1090 => _1090.requestId]) === decision.proposalId
45892
+ (s) => s.type === "approval_request" && _optionalChain([s, 'access', _1087 => _1087.data, 'optionalAccess', _1088 => _1088.requestId]) === decision.proposalId
45901
45893
  );
45902
45894
  if (!hasMatch) continue;
45903
45895
  const flipped = segments.map(
45904
- (s) => s.type === "approval_request" && _optionalChain([s, 'access', _1091 => _1091.data, 'optionalAccess', _1092 => _1092.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
45905
45897
  );
45906
45898
  const next = [...prev];
45907
45899
  next[i] = { ...m, content: flipped };
@@ -46063,8 +46055,8 @@ function createDocStreamFn(source, endpoints, messagesRef, sourcesMapRef, refsMa
46063
46055
  })),
46064
46056
  { role: "user", content: message2 }
46065
46057
  ];
46066
- const targetPath = _optionalChain([extra, 'optionalAccess', _1093 => _1093.approvalAction]) ? endpoints.approvalToolUrl : endpoints.chatStreamUrl;
46067
- const requestBody = _optionalChain([extra, 'optionalAccess', _1094 => _1094.approvalAction]) ? {
46058
+ const targetPath = _optionalChain([extra, 'optionalAccess', _1091 => _1091.approvalAction]) ? endpoints.approvalToolUrl : endpoints.chatStreamUrl;
46059
+ const requestBody = _optionalChain([extra, 'optionalAccess', _1092 => _1092.approvalAction]) ? {
46068
46060
  proposal_id: extra.approvalAction.proposalId,
46069
46061
  action: extra.approvalAction.action,
46070
46062
  messages: currentMessages.filter((m) => (m.role === "user" || m.role === "assistant") && !m.hidden).map((m) => ({
@@ -46073,8 +46065,8 @@ function createDocStreamFn(source, endpoints, messagesRef, sourcesMapRef, refsMa
46073
46065
  }))
46074
46066
  } : {
46075
46067
  messages: apiMessages,
46076
- ..._optionalChain([extra, 'optionalAccess', _1095 => _1095.commandOverride]) ? { commandOverride: extra.commandOverride } : {},
46077
- ..._optionalChain([extra, 'optionalAccess', _1096 => _1096.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 } : {}
46078
46070
  };
46079
46071
  const response = await _chunkDCIB6AK3cjs.embedAuthedFetch.call(void 0, targetPath, {
46080
46072
  method: "POST",
@@ -46084,7 +46076,7 @@ function createDocStreamFn(source, endpoints, messagesRef, sourcesMapRef, refsMa
46084
46076
  if (!response.ok) {
46085
46077
  throw new Error(`Chat request failed: ${response.status}`);
46086
46078
  }
46087
- const reader = _optionalChain([response, 'access', _1097 => _1097.body, 'optionalAccess', _1098 => _1098.getReader, 'call', _1099 => _1099()]);
46079
+ const reader = _optionalChain([response, 'access', _1095 => _1095.body, 'optionalAccess', _1096 => _1096.getReader, 'call', _1097 => _1097()]);
46088
46080
  if (!reader) throw new Error("No response body");
46089
46081
  const decoder = new TextDecoder();
46090
46082
  let buffer = "";
@@ -46167,7 +46159,7 @@ function createDocStreamFn(source, endpoints, messagesRef, sourcesMapRef, refsMa
46167
46159
  const toolName = typeof meta.tool_name === "string" ? meta.tool_name : void 0;
46168
46160
  const result = _nullishCoalesce(meta.result, () => ( null));
46169
46161
  const card = _nullishCoalesce(meta.card, () => ( null));
46170
- if (_optionalChain([card, 'optionalAccess', _1100 => _1100.ref, 'optionalAccess', _1101 => _1101.id]) && _optionalChain([card, 'optionalAccess', _1102 => _1102.type])) {
46162
+ if (_optionalChain([card, 'optionalAccess', _1098 => _1098.ref, 'optionalAccess', _1099 => _1099.id]) && _optionalChain([card, 'optionalAccess', _1100 => _1100.type])) {
46171
46163
  const existing = _nullishCoalesce(refsMapRef.current.get(sendIdx), () => ( {}));
46172
46164
  const key = buildChatRefKey(card.type, card.ref.id);
46173
46165
  refsMapRef.current.set(sendIdx, { ...existing, [key]: card.ref });
@@ -46180,8 +46172,8 @@ function createDocStreamFn(source, endpoints, messagesRef, sourcesMapRef, refsMa
46180
46172
  willAutoContinue: meta.willAutoContinue === true,
46181
46173
  ...toolName ? { toolName } : {},
46182
46174
  ...result ? { result } : {},
46183
- ..._optionalChain([card, 'optionalAccess', _1103 => _1103.marker]) ? { marker: card.marker } : {},
46184
- ..._optionalChain([card, 'optionalAccess', _1104 => _1104.ref]) ? { cardRef: card.ref } : {},
46175
+ ..._optionalChain([card, 'optionalAccess', _1101 => _1101.marker]) ? { marker: card.marker } : {},
46176
+ ..._optionalChain([card, 'optionalAccess', _1102 => _1102.ref]) ? { cardRef: card.ref } : {},
46185
46177
  ...typeof meta.receiptText === "string" ? { receiptText: meta.receiptText } : {},
46186
46178
  proposalId: typeof meta.proposalId === "string" ? meta.proposalId : void 0
46187
46179
  };
@@ -46300,7 +46292,7 @@ var DEFAULT_CHAT_SOURCE = "embed";
46300
46292
  var chatStorageKey = (source) => {
46301
46293
  const base = `mingo-chat-${source}-v${CHAT_STORAGE_VERSION}`;
46302
46294
  const auth = _chunkDCIB6AK3cjs.getEmbedProxyAuth.call(void 0, );
46303
- if (_optionalChain([auth, 'optionalAccess', _1105 => _1105.email])) {
46295
+ if (_optionalChain([auth, 'optionalAccess', _1103 => _1103.email])) {
46304
46296
  return `${base}-u-${encodeURIComponent(auth.email.toLowerCase())}`;
46305
46297
  }
46306
46298
  return base;
@@ -46355,7 +46347,7 @@ function useSseChatAdapter(options, runtimeOptions = {}) {
46355
46347
  const { active = true } = runtimeOptions;
46356
46348
  const runtime = _chunkN2DVKXN4cjs.useRequiredChatRuntime.call(void 0, );
46357
46349
  const source = runtime.source || DEFAULT_CHAT_SOURCE;
46358
- const tableIdForDocumentType = _nullishCoalesce(_optionalChain([options, 'optionalAccess', _1106 => _1106.tableIdForDocumentType]), () => ( defaultTableIdForDocumentType));
46350
+ const tableIdForDocumentType = _nullishCoalesce(_optionalChain([options, 'optionalAccess', _1104 => _1104.tableIdForDocumentType]), () => ( defaultTableIdForDocumentType));
46359
46351
  const persistedRef = _react.useRef.call(void 0, null);
46360
46352
  if (persistedRef.current === null) {
46361
46353
  pruneStaleChatStorage(source);
@@ -46460,7 +46452,7 @@ function useSseChatAdapter(options, runtimeOptions = {}) {
46460
46452
  const lookupIdx = sendIdx >= 0 ? sendIdx : 0;
46461
46453
  sources = sourcesMapRef.current.get(lookupIdx);
46462
46454
  chatRefs = _nullishCoalesce(m.chatRefs, () => ( refsMapRef.current.get(lookupIdx)));
46463
- scrollAnchor = _nullishCoalesce(_optionalChain([metaMapRef, 'access', _1107 => _1107.current, 'access', _1108 => _1108.get, 'call', _1109 => _1109(lookupIdx), 'optionalAccess', _1110 => _1110.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));
46464
46456
  }
46465
46457
  return {
46466
46458
  id: m.id,
@@ -46508,7 +46500,7 @@ function useSseChatAdapter(options, runtimeOptions = {}) {
46508
46500
  );
46509
46501
  return;
46510
46502
  }
46511
- const refSlug = typeof _optionalChain([reference, 'access', _1111 => _1111.metadata, 'optionalAccess', _1112 => _1112.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 : "";
46512
46504
  const queryValue = refSlug || sanitizeTitleForChat(reference.title) || reference.id;
46513
46505
  const escaped = queryValue.replace(/\\/g, "\\\\").replace(/"/g, '\\"');
46514
46506
  const text = `/${cmdId} display "${escaped}"`;
@@ -46580,18 +46572,18 @@ function useSseChatAdapter(options, runtimeOptions = {}) {
46580
46572
  clearMessages,
46581
46573
  streamingPhase,
46582
46574
  /** Provider key for the lib's `<ModelDisplay>` icon. */
46583
- currentProvider: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1113 => _1113.provider]), () => ( null)),
46584
- currentModelLabel: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1114 => _1114.modelLabel]), () => ( null)),
46585
- currentContextWindowMaxTokens: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1115 => _1115.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)),
46586
46578
  /** Input tokens (known after server's message_start frame; null until). */
46587
- currentInputTokens: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1116 => _1116.inputTokens]), () => ( null)),
46579
+ currentInputTokens: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1114 => _1114.inputTokens]), () => ( null)),
46588
46580
  /** Output tokens (known only after server's trailing usage frame). */
46589
- currentOutputTokens: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1117 => _1117.outputTokens]), () => ( null)),
46581
+ currentOutputTokens: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1115 => _1115.outputTokens]), () => ( null)),
46590
46582
  /** Cache hit % (read / total-input × 100). null during streaming. */
46591
- currentCacheHitRatePct: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1118 => _1118.cacheHitRatePct]), () => ( null)),
46583
+ currentCacheHitRatePct: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1116 => _1116.cacheHitRatePct]), () => ( null)),
46592
46584
  /** Cross-call usage breakdown (Haiku rewriter/classifier/summarizer
46593
46585
  * token counts). null until the trailing usage frame lands. */
46594
- currentUsageBreakdown: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1119 => _1119.breakdown]), () => ( null)),
46586
+ currentUsageBreakdown: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1117 => _1117.breakdown]), () => ( null)),
46595
46587
  // ─── Dialog management — stubs for v1 ────────────────────────────────
46596
46588
  // Guide mode currently keeps its history in `localStorage` opaquely
46597
46589
  // under the hood (`runtime.source` namespaced key). Surfacing that
@@ -46649,15 +46641,15 @@ var noopRejectRequest = async (_id, _reason) => {
46649
46641
 
46650
46642
  // src/components/chat/utils/process-historical-messages.ts
46651
46643
  function getOwnerDisplayName(owner) {
46652
- if (_optionalChain([owner, 'optionalAccess', _1120 => _1120.type]) === OWNER_TYPE.ADMIN && owner.user) {
46644
+ if (_optionalChain([owner, 'optionalAccess', _1118 => _1118.type]) === OWNER_TYPE.ADMIN && owner.user) {
46653
46645
  const { firstName, lastName } = owner.user;
46654
46646
  const name = [firstName, lastName].filter(Boolean).join(" ");
46655
46647
  if (name) return name;
46656
46648
  }
46657
- return _optionalChain([owner, 'optionalAccess', _1121 => _1121.type]) === OWNER_TYPE.ADMIN ? "Admin" : "You";
46649
+ return _optionalChain([owner, 'optionalAccess', _1119 => _1119.type]) === OWNER_TYPE.ADMIN ? "Admin" : "You";
46658
46650
  }
46659
46651
  function getOwnerAvatar(owner) {
46660
- return _nullishCoalesce(_optionalChain([owner, 'optionalAccess', _1122 => _1122.user, 'optionalAccess', _1123 => _1123.image, 'optionalAccess', _1124 => _1124.imageUrl]), () => ( void 0));
46652
+ return _nullishCoalesce(_optionalChain([owner, 'optionalAccess', _1120 => _1120.user, 'optionalAccess', _1121 => _1121.image, 'optionalAccess', _1122 => _1122.imageUrl]), () => ( void 0));
46661
46653
  }
46662
46654
  function pushStandaloneMessages(processedMessages, msg, messageDataArray) {
46663
46655
  messageDataArray.forEach((data) => {
@@ -46720,14 +46712,14 @@ function processHistoricalMessages(messages, options = {}) {
46720
46712
  pushStandaloneMessages(processedMessages, msg, messageDataArray);
46721
46713
  return;
46722
46714
  }
46723
- const isUserMessage = _optionalChain([msg, 'access', _1125 => _1125.owner, 'optionalAccess', _1126 => _1126.type]) === OWNER_TYPE.CLIENT || _optionalChain([msg, 'access', _1127 => _1127.owner, 'optionalAccess', _1128 => _1128.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;
46724
46716
  if (isUserMessage) {
46725
46717
  flushAssistantMessage();
46726
- const userAuthorType = _optionalChain([msg, 'access', _1129 => _1129.owner, 'optionalAccess', _1130 => _1130.type]) === OWNER_TYPE.ADMIN ? "admin" : "user";
46718
+ const userAuthorType = _optionalChain([msg, 'access', _1127 => _1127.owner, 'optionalAccess', _1128 => _1128.type]) === OWNER_TYPE.ADMIN ? "admin" : "user";
46727
46719
  messageDataArray.forEach((data) => {
46728
46720
  if (data.type === MESSAGE_TYPE.TEXT && "text" in data && data.text) {
46729
46721
  const rawContext = data.contextItems;
46730
- const contextItems = Array.isArray(rawContext) ? rawContext.filter((c) => typeof _optionalChain([c, 'optionalAccess', _1131 => _1131.type]) === "string" && typeof _optionalChain([c, 'optionalAccess', _1132 => _1132.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;
46731
46723
  processedMessages.push({
46732
46724
  id: msg.id,
46733
46725
  role: "user",
@@ -46751,7 +46743,7 @@ function processHistoricalMessages(messages, options = {}) {
46751
46743
  });
46752
46744
  const nextMsg = messages[index + 1];
46753
46745
  const isLastMessage = index === messages.length - 1;
46754
- const nextIsFromUser = nextMsg && (_optionalChain([nextMsg, 'access', _1133 => _1133.owner, 'optionalAccess', _1134 => _1134.type]) === OWNER_TYPE.CLIENT || _optionalChain([nextMsg, 'access', _1135 => _1135.owner, 'optionalAccess', _1136 => _1136.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);
46755
46747
  if (isLastMessage || nextIsFromUser) {
46756
46748
  flushAssistantMessage();
46757
46749
  }
@@ -46861,7 +46853,7 @@ function processMessageData(data, accumulator, approvalStatuses, options = {}, e
46861
46853
  }
46862
46854
  }
46863
46855
  } else {
46864
- _optionalChain([escalatedApprovals, 'optionalAccess', _1137 => _1137.set, 'call', _1138 => _1138(data.approvalRequestId, {
46856
+ _optionalChain([escalatedApprovals, 'optionalAccess', _1135 => _1135.set, 'call', _1136 => _1136(data.approvalRequestId, {
46865
46857
  command: data.command || "",
46866
46858
  explanation: data.explanation,
46867
46859
  approvalType,
@@ -46875,8 +46867,8 @@ function processMessageData(data, accumulator, approvalStatuses, options = {}, e
46875
46867
  const existingStatus = approvalStatuses[data.approvalRequestId];
46876
46868
  const status = existingStatus || (data.approved ? "approved" : "rejected");
46877
46869
  const resolvedByName = "resolvedByName" in data ? data.resolvedByName : void 0;
46878
- const escalatedData = _optionalChain([escalatedApprovals, 'optionalAccess', _1139 => _1139.get, 'call', _1140 => _1140(data.approvalRequestId)]);
46879
- if (_optionalChain([escalatedData, 'optionalAccess', _1141 => _1141.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) {
46880
46872
  if (batchApprovalsEnabled) {
46881
46873
  accumulator.addApprovalBatch(
46882
46874
  data.approvalRequestId,
@@ -46898,7 +46890,7 @@ function processMessageData(data, accumulator, approvalStatuses, options = {}, e
46898
46890
  );
46899
46891
  }
46900
46892
  }
46901
- _optionalChain([escalatedApprovals, 'optionalAccess', _1142 => _1142.delete, 'call', _1143 => _1143(data.approvalRequestId)]);
46893
+ _optionalChain([escalatedApprovals, 'optionalAccess', _1140 => _1140.delete, 'call', _1141 => _1141(data.approvalRequestId)]);
46902
46894
  break;
46903
46895
  }
46904
46896
  if (escalatedData) {
@@ -46907,7 +46899,7 @@ function processMessageData(data, accumulator, approvalStatuses, options = {}, e
46907
46899
  explanation: escalatedData.explanation,
46908
46900
  approvalType: escalatedData.approvalType
46909
46901
  });
46910
- _optionalChain([escalatedApprovals, 'optionalAccess', _1144 => _1144.delete, 'call', _1145 => _1145(data.approvalRequestId)]);
46902
+ _optionalChain([escalatedApprovals, 'optionalAccess', _1142 => _1142.delete, 'call', _1143 => _1143(data.approvalRequestId)]);
46911
46903
  }
46912
46904
  const before = accumulator.getSegments();
46913
46905
  const after = accumulator.updateApprovalStatus(data.approvalRequestId, status, resolvedByName);
@@ -46923,9 +46915,9 @@ function processMessageData(data, accumulator, approvalStatuses, options = {}, e
46923
46915
  case MESSAGE_TYPE.ERROR:
46924
46916
  if ("error" in data) {
46925
46917
  let message2;
46926
- if ("details" in data && _optionalChain([data, 'optionalAccess', _1146 => _1146.details])) {
46918
+ if ("details" in data && _optionalChain([data, 'optionalAccess', _1144 => _1144.details])) {
46927
46919
  try {
46928
- message2 = _optionalChain([JSON, 'access', _1147 => _1147.parse, 'call', _1148 => _1148(data.details), 'optionalAccess', _1149 => _1149.error, 'optionalAccess', _1150 => _1150.message]);
46920
+ message2 = _optionalChain([JSON, 'access', _1145 => _1145.parse, 'call', _1146 => _1146(data.details), 'optionalAccess', _1147 => _1147.error, 'optionalAccess', _1148 => _1148.message]);
46929
46921
  } catch (e59) {
46930
46922
  message2 = data.details;
46931
46923
  }
@@ -47008,14 +47000,14 @@ function processHistoricalMessagesWithErrors(messages, options = {}) {
47008
47000
  pushStandaloneMessages(processedMessages, msg, messageDataArray);
47009
47001
  return;
47010
47002
  }
47011
- const isUserMessage = _optionalChain([msg, 'access', _1151 => _1151.owner, 'optionalAccess', _1152 => _1152.type]) === OWNER_TYPE.CLIENT || _optionalChain([msg, 'access', _1153 => _1153.owner, 'optionalAccess', _1154 => _1154.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;
47012
47004
  if (isUserMessage) {
47013
47005
  flushAssistantMessage();
47014
- const userAuthorType = _optionalChain([msg, 'access', _1155 => _1155.owner, 'optionalAccess', _1156 => _1156.type]) === OWNER_TYPE.ADMIN ? "admin" : "user";
47006
+ const userAuthorType = _optionalChain([msg, 'access', _1153 => _1153.owner, 'optionalAccess', _1154 => _1154.type]) === OWNER_TYPE.ADMIN ? "admin" : "user";
47015
47007
  messageDataArray.forEach((data) => {
47016
47008
  if (data.type === MESSAGE_TYPE.TEXT && "text" in data && data.text) {
47017
47009
  const rawContext = data.contextItems;
47018
- const contextItems = Array.isArray(rawContext) ? rawContext.filter((c) => typeof _optionalChain([c, 'optionalAccess', _1157 => _1157.type]) === "string" && typeof _optionalChain([c, 'optionalAccess', _1158 => _1158.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;
47019
47011
  processedMessages.push({
47020
47012
  id: msg.id,
47021
47013
  role: "user",
@@ -47039,7 +47031,7 @@ function processHistoricalMessagesWithErrors(messages, options = {}) {
47039
47031
  });
47040
47032
  const nextMsg = messages[index + 1];
47041
47033
  const isLastMessage = index === messages.length - 1;
47042
- const nextIsFromUser = nextMsg && (_optionalChain([nextMsg, 'access', _1159 => _1159.owner, 'optionalAccess', _1160 => _1160.type]) === OWNER_TYPE.CLIENT || _optionalChain([nextMsg, 'access', _1161 => _1161.owner, 'optionalAccess', _1162 => _1162.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);
47043
47035
  if (isLastMessage || nextIsFromUser) {
47044
47036
  flushAssistantMessage();
47045
47037
  }
@@ -47375,7 +47367,7 @@ function useNatsChatAdapter(config, options = {}) {
47375
47367
  }, [active, fetchDialogs, loadDialogsPage]);
47376
47368
  const sendMessage = _react.useCallback.call(void 0,
47377
47369
  async (text, sendOptions) => {
47378
- const hidden = _nullishCoalesce(_optionalChain([sendOptions, 'optionalAccess', _1163 => _1163.hidden]), () => ( false));
47370
+ const hidden = _nullishCoalesce(_optionalChain([sendOptions, 'optionalAccess', _1161 => _1161.hidden]), () => ( false));
47379
47371
  setMessages((prev) => [
47380
47372
  ...prev,
47381
47373
  {
@@ -47539,11 +47531,11 @@ function useNatsChatAdapter(config, options = {}) {
47539
47531
  // Tokens: live `token_usage` frame / dialog snapshot (`dialogTokenUsage`).
47540
47532
  // contextWindow uses the dialog's `contextSize` (the "X / Y" denominator,
47541
47533
  // matching the /mingo page). cacheHitRate/breakdown are SSE-only → null.
47542
- currentProvider: _nullishCoalesce(_nullishCoalesce(_optionalChain([liveModel, 'optionalAccess', _1164 => _1164.provider]), () => ( modelProvider)), () => ( null)),
47543
- currentModelLabel: _nullishCoalesce(_nullishCoalesce(_optionalChain([liveModel, 'optionalAccess', _1165 => _1165.modelLabel]), () => ( modelLabel)), () => ( null)),
47544
- currentContextWindowMaxTokens: _nullishCoalesce(_nullishCoalesce(_optionalChain([dialogTokenUsage, 'optionalAccess', _1166 => _1166.contextSize]), () => ( _optionalChain([liveModel, 'optionalAccess', _1167 => _1167.contextWindowMaxTokens]))), () => ( null)),
47545
- currentInputTokens: _nullishCoalesce(_optionalChain([dialogTokenUsage, 'optionalAccess', _1168 => _1168.inputTokensSize]), () => ( null)),
47546
- currentOutputTokens: _nullishCoalesce(_optionalChain([dialogTokenUsage, 'optionalAccess', _1169 => _1169.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)),
47547
47539
  currentCacheHitRatePct: null,
47548
47540
  currentUsageBreakdown: null,
47549
47541
  // Dialog management
@@ -47791,7 +47783,7 @@ function extractIncompleteMessageState(lastMessage) {
47791
47783
  break;
47792
47784
  case "approval_batch": {
47793
47785
  const allDone = !!segment.data.executions && segment.data.toolCalls.every(
47794
- (c) => _optionalChain([segment, 'access', _1170 => _1170.data, 'access', _1171 => _1171.executions, 'optionalAccess', _1172 => _1172[c.toolExecutionRequestId], 'optionalAccess', _1173 => _1173.status]) === "done"
47786
+ (c) => _optionalChain([segment, 'access', _1168 => _1168.data, 'access', _1169 => _1169.executions, 'optionalAccess', _1170 => _1170[c.toolExecutionRequestId], 'optionalAccess', _1171 => _1171.status]) === "done"
47795
47787
  );
47796
47788
  if (segment.status !== "rejected" && !allDone) {
47797
47789
  hasIncompleteState = true;
@@ -47859,20 +47851,20 @@ function mergeHistoryWithRealtime(input) {
47859
47851
  const seqCoverageKnown = realtimeSeenStreamSeq > 0 && historyMaxStreamSeq > 0;
47860
47852
  const historyCoversRealtime = seqCoverageKnown ? historyMaxStreamSeq >= realtimeSeenStreamSeq : null;
47861
47853
  const trailing = processedHistory[processedHistory.length - 1];
47862
- const historyTrailingAssistant = _optionalChain([trailing, 'optionalAccess', _1174 => _1174.role]) === "assistant" ? trailing : null;
47863
- const historyBatchId = historyTrailingAssistant && Array.isArray(historyTrailingAssistant.content) ? _nullishCoalesce(_optionalChain([historyTrailingAssistant, 'access', _1175 => _1175.content, 'access', _1176 => _1176.find, 'call', _1177 => _1177((s) => s.type === "approval_batch"), 'optionalAccess', _1178 => _1178.data, 'optionalAccess', _1179 => _1179.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;
47864
47856
  let processedToUse = processedHistory;
47865
47857
  const pinnedSyntheticIds = /* @__PURE__ */ new Set();
47866
47858
  const droppedSyntheticIds = /* @__PURE__ */ new Set();
47867
47859
  if (historyBatchId) {
47868
47860
  const batchTwins = existingMessages.filter(
47869
47861
  (m) => m.role === "assistant" && Array.isArray(m.content) && m.content.some(
47870
- (s) => s.type === "approval_batch" && _optionalChain([s, 'access', _1180 => _1180.data, 'optionalAccess', _1181 => _1181.approvalRequestId]) === historyBatchId
47862
+ (s) => s.type === "approval_batch" && _optionalChain([s, 'access', _1178 => _1178.data, 'optionalAccess', _1179 => _1179.approvalRequestId]) === historyBatchId
47871
47863
  )
47872
47864
  );
47873
47865
  const existingWithSameBatch = _nullishCoalesce(batchTwins.find((m) => m.id === streamingMessageId), () => ( batchTwins[batchTwins.length - 1]));
47874
47866
  if (existingWithSameBatch && Array.isArray(existingWithSameBatch.content)) {
47875
- const histSize = Array.isArray(_optionalChain([historyTrailingAssistant, 'optionalAccess', _1182 => _1182.content])) ? historyTrailingAssistant.content.length : 0;
47867
+ const histSize = Array.isArray(_optionalChain([historyTrailingAssistant, 'optionalAccess', _1180 => _1180.content])) ? historyTrailingAssistant.content.length : 0;
47876
47868
  const realtimeSize = existingWithSameBatch.content.length;
47877
47869
  if (existingWithSameBatch.id === streamingMessageId || realtimeSize > histSize) {
47878
47870
  processedToUse = processedHistory.slice(0, -1);
@@ -47888,16 +47880,16 @@ function mergeHistoryWithRealtime(input) {
47888
47880
  if (pinnedSyntheticIds.has(m.id)) return true;
47889
47881
  if (droppedSyntheticIds.has(m.id)) return false;
47890
47882
  if (processedIds.has(m.id)) return false;
47891
- if (_optionalChain([rawHistoryIds, 'optionalAccess', _1183 => _1183.has, 'call', _1184 => _1184(m.id)])) return false;
47883
+ if (_optionalChain([rawHistoryIds, 'optionalAccess', _1181 => _1181.has, 'call', _1182 => _1182(m.id)])) return false;
47892
47884
  if (m.role === "user" && m.id.startsWith("optimistic-") && typeof m.content === "string") {
47893
- const canBeInSnapshot = (_nullishCoalesce(_optionalChain([m, 'access', _1185 => _1185.timestamp, 'optionalAccess', _1186 => _1186.getTime, 'call', _1187 => _1187()]), () => ( 0))) <= historyFetchedAt;
47885
+ const canBeInSnapshot = (_nullishCoalesce(_optionalChain([m, 'access', _1183 => _1183.timestamp, 'optionalAccess', _1184 => _1184.getTime, 'call', _1185 => _1185()]), () => ( 0))) <= historyFetchedAt;
47894
47886
  return !(canBeInSnapshot && processedToUse.some((pm) => pm.role === "user" && pm.content === m.content));
47895
47887
  }
47896
47888
  if (isSyntheticRealtimeId(m.id) && m.id !== streamingMessageId) {
47897
47889
  if (m.role === "assistant" && trailingAssistantText && assistantAnswerText(m.content) === trailingAssistantText) {
47898
47890
  return false;
47899
47891
  }
47900
- const covered = typeof m.streamSeq === "number" && historyMaxStreamSeq > 0 ? historyMaxStreamSeq >= m.streamSeq : historyCoversRealtime !== null ? historyCoversRealtime : (_nullishCoalesce(_optionalChain([m, 'access', _1188 => _1188.timestamp, 'optionalAccess', _1189 => _1189.getTime, 'call', _1190 => _1190()]), () => ( 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;
47901
47893
  if (covered) return false;
47902
47894
  }
47903
47895
  return true;
@@ -48117,7 +48109,7 @@ function useChatDialogManager({
48117
48109
  const handleConfirmRestore = _react.useCallback.call(void 0, async () => {
48118
48110
  if (restoreTarget) {
48119
48111
  try {
48120
- await _optionalChain([unarchiveDialog, 'optionalCall', _1191 => _1191(restoreTarget.id)]);
48112
+ await _optionalChain([unarchiveDialog, 'optionalCall', _1189 => _1189(restoreTarget.id)]);
48121
48113
  } catch (err) {
48122
48114
  console.error("[useChatDialogManager] unarchive failed:", err);
48123
48115
  return;
@@ -48512,7 +48504,6 @@ function EmbeddableChatInner({
48512
48504
  };
48513
48505
  }, [isOpen, shellLess]);
48514
48506
  const chatInputRef = _react.useRef.call(void 0, null);
48515
- const quickActionDraftRef = _react.useRef.call(void 0, null);
48516
48507
  const slashCommandsProp = _react.useMemo.call(void 0,
48517
48508
  () => ({
48518
48509
  fetchCommands: (prefix, signal) => fetchSlashCommands(prefix, signal, commandsUrl),
@@ -48527,7 +48518,7 @@ function EmbeddableChatInner({
48527
48518
  }),
48528
48519
  [commandsUrl]
48529
48520
  );
48530
- const userName = _optionalChain([identityUser, 'optionalAccess', _1192 => _1192.firstName, 'optionalAccess', _1193 => _1193.trim, 'call', _1194 => _1194()]) || _optionalChain([identityUser, 'optionalAccess', _1195 => _1195.name, 'optionalAccess', _1196 => _1196.split, 'call', _1197 => _1197(" "), 'access', _1198 => _1198[0], 'optionalAccess', _1199 => _1199.trim, 'call', _1200 => _1200()]) || 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;
48531
48522
  const effectiveModes = _react.useMemo.call(void 0, () => {
48532
48523
  if (modes) return modes;
48533
48524
  const guideOptions = tableIdForDocumentType ? { tableIdForDocumentType } : {};
@@ -48536,19 +48527,19 @@ function EmbeddableChatInner({
48536
48527
  const mingoCaps = _react.useMemo.call(void 0, () => {
48537
48528
  if (mingoState) {
48538
48529
  return {
48539
- canRename: _nullishCoalesce(_optionalChain([mingoDialogCapabilities, 'optionalAccess', _1201 => _1201.canRename]), () => ( false)),
48540
- canArchive: _nullishCoalesce(_optionalChain([mingoDialogCapabilities, 'optionalAccess', _1202 => _1202.canArchive]), () => ( false)),
48541
- fetchArchivedDialogs: _optionalChain([mingoDialogCapabilities, 'optionalAccess', _1203 => _1203.fetchArchivedDialogs]),
48542
- unarchiveDialog: _optionalChain([mingoDialogCapabilities, 'optionalAccess', _1204 => _1204.unarchiveDialog]),
48543
- searchQuery: _optionalChain([mingoDialogCapabilities, 'optionalAccess', _1205 => _1205.searchQuery]),
48544
- onSearchChange: _optionalChain([mingoDialogCapabilities, 'optionalAccess', _1206 => _1206.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])
48545
48536
  };
48546
48537
  }
48547
48538
  return {
48548
- canRename: !!_optionalChain([effectiveModes, 'access', _1207 => _1207.mingo, 'optionalAccess', _1208 => _1208.renameDialog]),
48549
- canArchive: !!_optionalChain([effectiveModes, 'access', _1209 => _1209.mingo, 'optionalAccess', _1210 => _1210.archiveDialog]),
48550
- fetchArchivedDialogs: _optionalChain([effectiveModes, 'access', _1211 => _1211.mingo, 'optionalAccess', _1212 => _1212.fetchArchivedDialogs]),
48551
- unarchiveDialog: _optionalChain([effectiveModes, 'access', _1213 => _1213.mingo, 'optionalAccess', _1214 => _1214.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]),
48552
48543
  searchQuery: void 0,
48553
48544
  onSearchChange: void 0
48554
48545
  };
@@ -48562,7 +48553,7 @@ function EmbeddableChatInner({
48562
48553
  if (controlledActiveMode === void 0) {
48563
48554
  setUncontrolledActiveMode(next);
48564
48555
  }
48565
- _optionalChain([onActiveModeChange, 'optionalCall', _1215 => _1215(next)]);
48556
+ _optionalChain([onActiveModeChange, 'optionalCall', _1213 => _1213(next)]);
48566
48557
  },
48567
48558
  [controlledActiveMode, onActiveModeChange]
48568
48559
  );
@@ -48616,7 +48607,7 @@ function EmbeddableChatInner({
48616
48607
  clear: clearAttachments
48617
48608
  } = useChatAttachments();
48618
48609
  const { panelRef: galleryPanelRef, modal: galleryModal } = useChatAttachmentImageGallery();
48619
- const contextMaxItems = _nullishCoalesce(_optionalChain([contextPicker, 'optionalAccess', _1216 => _1216.maxItems]), () => ( 10));
48610
+ const contextMaxItems = _nullishCoalesce(_optionalChain([contextPicker, 'optionalAccess', _1214 => _1214.maxItems]), () => ( 10));
48620
48611
  const contextPickerForMode = activeMode === "mingo" ? contextPicker : void 0;
48621
48612
  const [contextItems, setContextItems] = _react.useState.call(void 0, []);
48622
48613
  const [contextPickerOpen, setContextPickerOpen] = _react.useState.call(void 0, false);
@@ -48633,10 +48624,10 @@ function EmbeddableChatInner({
48633
48624
  }, [activeDialogId, activeMode]);
48634
48625
  const mentionMarkerByType = _react.useMemo.call(void 0, () => {
48635
48626
  const m = /* @__PURE__ */ new Map();
48636
- for (const t of _nullishCoalesce(_optionalChain([contextPicker, 'optionalAccess', _1217 => _1217.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);
48637
48628
  return m;
48638
- }, [_optionalChain([contextPicker, 'optionalAccess', _1218 => _1218.entityTypes])]);
48639
- const contextEntityTypes = _optionalChain([contextPicker, 'optionalAccess', _1219 => _1219.entityTypes]);
48629
+ }, [_optionalChain([contextPicker, 'optionalAccess', _1216 => _1216.entityTypes])]);
48630
+ const contextEntityTypes = _optionalChain([contextPicker, 'optionalAccess', _1217 => _1217.entityTypes]);
48640
48631
  const resolveContextIcon = _react.useMemo.call(void 0, () => {
48641
48632
  const byType = /* @__PURE__ */ new Map();
48642
48633
  for (const t of _nullishCoalesce(contextEntityTypes, () => ( []))) byType.set(t.type, t.icon);
@@ -48648,7 +48639,7 @@ function EmbeddableChatInner({
48648
48639
  if (mentionActiveRef.current) {
48649
48640
  if (contextItems.some((p) => `${p.type}:${p.id}` === key)) return;
48650
48641
  if (contextItems.length >= contextMaxItems) return;
48651
- _optionalChain([chatInputRef, 'access', _1220 => _1220.current, 'optionalAccess', _1221 => _1221.commitMention, 'call', _1222 => _1222(mentionTokenOf(key, mentionMarkerByType), {
48642
+ _optionalChain([chatInputRef, 'access', _1218 => _1218.current, 'optionalAccess', _1219 => _1219.commitMention, 'call', _1220 => _1220(mentionTokenOf(key, mentionMarkerByType), {
48652
48643
  label: item.label,
48653
48644
  icon: resolveContextIcon(item)
48654
48645
  })]);
@@ -48670,9 +48661,9 @@ function EmbeddableChatInner({
48670
48661
  setContextItems((prev) => prev.filter((p) => `${p.type}:${p.id}` !== key));
48671
48662
  if (mentionKeysRef.current.has(key)) {
48672
48663
  mentionKeysRef.current.delete(key);
48673
- const cur = _nullishCoalesce(_optionalChain([chatInputRef, 'access', _1223 => _1223.current, 'optionalAccess', _1224 => _1224.getValue, 'call', _1225 => _1225()]), () => ( ""));
48664
+ const cur = _nullishCoalesce(_optionalChain([chatInputRef, 'access', _1221 => _1221.current, 'optionalAccess', _1222 => _1222.getValue, 'call', _1223 => _1223()]), () => ( ""));
48674
48665
  const next = cur.replace(`@${mentionTokenOf(key, mentionMarkerByType)}`, "").replace(/\s{2,}/g, " ").trimStart();
48675
- _optionalChain([chatInputRef, 'access', _1226 => _1226.current, 'optionalAccess', _1227 => _1227.setValue, 'call', _1228 => _1228(next)]);
48666
+ _optionalChain([chatInputRef, 'access', _1224 => _1224.current, 'optionalAccess', _1225 => _1225.setValue, 'call', _1226 => _1226(next)]);
48676
48667
  }
48677
48668
  }, [mentionMarkerByType]);
48678
48669
  const handleContextValueChange = _react.useCallback.call(void 0, (value) => {
@@ -48689,7 +48680,7 @@ function EmbeddableChatInner({
48689
48680
  }, []);
48690
48681
  const closeContextPicker = _react.useCallback.call(void 0, () => {
48691
48682
  if (mentionActiveRef.current) {
48692
- _optionalChain([chatInputRef, 'access', _1229 => _1229.current, 'optionalAccess', _1230 => _1230.removeMentionTrigger, 'call', _1231 => _1231()]);
48683
+ _optionalChain([chatInputRef, 'access', _1227 => _1227.current, 'optionalAccess', _1228 => _1228.removeMentionTrigger, 'call', _1229 => _1229()]);
48693
48684
  }
48694
48685
  setContextPickerOpen(false);
48695
48686
  setMentionQuery(null);
@@ -48723,8 +48714,8 @@ function EmbeddableChatInner({
48723
48714
  []
48724
48715
  );
48725
48716
  const timestampCacheRef = _react.useRef.call(void 0, /* @__PURE__ */ new Map());
48726
- const guideUserName = activeMode === "guide" ? [_optionalChain([identityUser, 'optionalAccess', _1232 => _1232.firstName]), _optionalChain([identityUser, 'optionalAccess', _1233 => _1233.lastName])].filter(Boolean).join(" ").trim() || _optionalChain([identityUser, 'optionalAccess', _1234 => _1234.name, 'optionalAccess', _1235 => _1235.trim, 'call', _1236 => _1236()]) || void 0 : void 0;
48727
- const guideUserAvatar = activeMode === "guide" ? _optionalChain([identityUser, 'optionalAccess', _1237 => _1237.avatarUrl, 'optionalAccess', _1238 => _1238.trim, 'call', _1239 => _1239()]) || 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;
48728
48719
  const messages = _react.useMemo.call(void 0, () => {
48729
48720
  const cache = timestampCacheRef.current;
48730
48721
  const seenIds = /* @__PURE__ */ new Set();
@@ -48872,9 +48863,9 @@ function EmbeddableChatInner({
48872
48863
  const lastAssistantMsg = [...rawMessages].reverse().find((m) => m.role === "assistant");
48873
48864
  const lastSources = _react.useMemo.call(void 0, () => {
48874
48865
  if (chatLoading) return void 0;
48875
- const sources = _optionalChain([lastAssistantMsg, 'optionalAccess', _1240 => _1240.sources]);
48866
+ const sources = _optionalChain([lastAssistantMsg, 'optionalAccess', _1238 => _1238.sources]);
48876
48867
  if (!sources || sources.length === 0) return void 0;
48877
- const content = _optionalChain([lastAssistantMsg, 'optionalAccess', _1241 => _1241.content]) || "";
48868
+ const content = _optionalChain([lastAssistantMsg, 'optionalAccess', _1239 => _1239.content]) || "";
48878
48869
  const citationOrder = [...content.matchAll(/\[(\d+)\]/g)].map(
48879
48870
  (m) => parseInt(m[1], 10)
48880
48871
  );
@@ -48921,7 +48912,7 @@ function EmbeddableChatInner({
48921
48912
  ChatPanelHeader,
48922
48913
  {
48923
48914
  showBack: hasConversation || guideCanReturnToMingo,
48924
- title: hasConversation ? _optionalChain([activeDialog, 'optionalAccess', _1242 => _1242.title]) || "New Chat" : isGuideEmpty ? "Mingo Guide" : "Current Chats",
48915
+ title: hasConversation ? _optionalChain([activeDialog, 'optionalAccess', _1240 => _1240.title]) || "New Chat" : isGuideEmpty ? "Mingo Guide" : "Current Chats",
48925
48916
  backAriaLabel: hasConversation ? isViewingArchived ? "Back to archive" : "Back" : "Back to Mingo",
48926
48917
  isArchivedView: isViewingArchived,
48927
48918
  onBack: hasConversation ? handleBack : () => handleActiveModeChange("mingo"),
@@ -49039,24 +49030,10 @@ function EmbeddableChatInner({
49039
49030
  subtitle: _nullishCoalesce(effectiveGreeting, () => ( void 0)),
49040
49031
  subtitleLoading: emptyStateLoading,
49041
49032
  ...guideWelcome,
49042
- quickActions: _nullishCoalesce(_optionalChain([guideWelcome, 'optionalAccess', _1243 => _1243.quickActions]), () => ( guideSuggestedActions)),
49033
+ quickActions: _nullishCoalesce(_optionalChain([guideWelcome, 'optionalAccess', _1241 => _1241.quickActions]), () => ( guideSuggestedActions)),
49043
49034
  onQuickAction: (action) => {
49044
- quickActionDraftRef.current = null;
49045
- _optionalChain([chatInputRef, 'access', _1244 => _1244.current, 'optionalAccess', _1245 => _1245.setValue, 'call', _1246 => _1246("")]);
49046
49035
  handleSend(_nullishCoalesce(action.prompt, () => ( action.label)));
49047
49036
  },
49048
- onQuickActionHover: (action) => {
49049
- if (quickActionDraftRef.current === null) {
49050
- quickActionDraftRef.current = _nullishCoalesce(_optionalChain([chatInputRef, 'access', _1247 => _1247.current, 'optionalAccess', _1248 => _1248.getValue, 'call', _1249 => _1249()]), () => ( ""));
49051
- }
49052
- _optionalChain([chatInputRef, 'access', _1250 => _1250.current, 'optionalAccess', _1251 => _1251.setValue, 'call', _1252 => _1252(_nullishCoalesce(action.prompt, () => ( action.label)))]);
49053
- },
49054
- onQuickActionHoverEnd: () => {
49055
- if (quickActionDraftRef.current !== null) {
49056
- _optionalChain([chatInputRef, 'access', _1253 => _1253.current, 'optionalAccess', _1254 => _1254.setValue, 'call', _1255 => _1255(quickActionDraftRef.current)]);
49057
- quickActionDraftRef.current = null;
49058
- }
49059
- },
49060
49037
  children: (chipCommands.length > 0 || !commandsLoaded) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "shrink-0 overflow-hidden rounded-md border border-ods-border", children: [
49061
49038
  !commandsLoaded && chipCommands.length === 0 && SKELETON_ROW_VARIANTS.map((variant, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
49062
49039
  MingoOnboardingCardSkeleton,
@@ -50130,4 +50107,4 @@ function EmbeddableChatInner({
50130
50107
 
50131
50108
 
50132
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;
50133
- //# sourceMappingURL=chunk-ERMMMQET.cjs.map
50110
+ //# sourceMappingURL=chunk-PNWORHOR.cjs.map