@flamingo-stack/openframe-frontend-core 0.0.382 → 0.0.383

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 (83) hide show
  1. package/dist/{chunk-HDWY2SXF.js → chunk-6SR7HXGW.js} +4 -4
  2. package/dist/{chunk-EE26RXMG.cjs → chunk-7TU6MLIQ.cjs} +12 -12
  3. package/dist/{chunk-EE26RXMG.cjs.map → chunk-7TU6MLIQ.cjs.map} +1 -1
  4. package/dist/{chunk-L3DRZ2WE.cjs → chunk-AHCBZ6TC.cjs} +62 -62
  5. package/dist/{chunk-L3DRZ2WE.cjs.map → chunk-AHCBZ6TC.cjs.map} +1 -1
  6. package/dist/{chunk-LIK575RM.js → chunk-AJJF43ZL.js} +2 -2
  7. package/dist/{chunk-K5P6XKIT.js → chunk-B45U4FY5.js} +2 -2
  8. package/dist/{chunk-XHCRZDM6.cjs → chunk-BALSUWWU.cjs} +37 -37
  9. package/dist/{chunk-XHCRZDM6.cjs.map → chunk-BALSUWWU.cjs.map} +1 -1
  10. package/dist/{chunk-GZIHB6TH.js → chunk-CNDLMBFN.js} +20 -14
  11. package/dist/{chunk-GZIHB6TH.js.map → chunk-CNDLMBFN.js.map} +1 -1
  12. package/dist/{chunk-4A4DA7OX.js → chunk-EBOK7SG7.js} +2 -2
  13. package/dist/{chunk-23PZFAET.js → chunk-EGFLSQEJ.js} +4 -4
  14. package/dist/{chunk-QI3PW4F7.cjs → chunk-FL6YJLPC.cjs} +7 -7
  15. package/dist/{chunk-QI3PW4F7.cjs.map → chunk-FL6YJLPC.cjs.map} +1 -1
  16. package/dist/{chunk-MGDDM2UI.js → chunk-KBG3PLKS.js} +2 -2
  17. package/dist/{chunk-IENK6OY5.cjs → chunk-KFTCNBSJ.cjs} +5 -5
  18. package/dist/{chunk-IENK6OY5.cjs.map → chunk-KFTCNBSJ.cjs.map} +1 -1
  19. package/dist/{chunk-7IQK3Y3G.cjs → chunk-KGSOMSHT.cjs} +25 -25
  20. package/dist/{chunk-7IQK3Y3G.cjs.map → chunk-KGSOMSHT.cjs.map} +1 -1
  21. package/dist/{chunk-LRA7FGQC.js → chunk-KQQ6U4UW.js} +4 -4
  22. package/dist/{chunk-GZ5N76H2.js → chunk-LI7OAUSA.js} +4 -4
  23. package/dist/{chunk-DQJCWNRT.js → chunk-MY7TV47R.js} +2 -2
  24. package/dist/{chunk-AS6FET7G.cjs → chunk-S2V4EPKL.cjs} +15 -15
  25. package/dist/{chunk-AS6FET7G.cjs.map → chunk-S2V4EPKL.cjs.map} +1 -1
  26. package/dist/{chunk-PI3XFKEW.js → chunk-SGMZQTP6.js} +2 -2
  27. package/dist/{chunk-SZSBHBXE.cjs → chunk-VQCV3GGI.cjs} +486 -480
  28. package/dist/chunk-VQCV3GGI.cjs.map +1 -0
  29. package/dist/{chunk-JQT7PD6Z.cjs → chunk-W456FUZG.cjs} +57 -57
  30. package/dist/{chunk-JQT7PD6Z.cjs.map → chunk-W456FUZG.cjs.map} +1 -1
  31. package/dist/{chunk-32YONDMH.cjs → chunk-WVJFSCXR.cjs} +26 -26
  32. package/dist/{chunk-32YONDMH.cjs.map → chunk-WVJFSCXR.cjs.map} +1 -1
  33. package/dist/{chunk-QQAHEWSR.cjs → chunk-YW6K7IYF.cjs} +31 -31
  34. package/dist/{chunk-QQAHEWSR.cjs.map → chunk-YW6K7IYF.cjs.map} +1 -1
  35. package/dist/{chunk-3GGIVFSI.js → chunk-ZD6GZX7E.js} +2 -2
  36. package/dist/{chunk-Z56MCQ6X.cjs → chunk-ZFIDR55N.cjs} +9 -9
  37. package/dist/{chunk-Z56MCQ6X.cjs.map → chunk-ZFIDR55N.cjs.map} +1 -1
  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/index.cjs +2 -2
  41. package/dist/components/chat/index.js +1 -1
  42. package/dist/components/contact/index.cjs +3 -3
  43. package/dist/components/contact/index.js +2 -2
  44. package/dist/components/docs/index.cjs +5 -5
  45. package/dist/components/docs/index.js +4 -4
  46. package/dist/components/embeds/index.cjs +3 -3
  47. package/dist/components/embeds/index.js +2 -2
  48. package/dist/components/faq/index.cjs +3 -3
  49. package/dist/components/faq/index.js +2 -2
  50. package/dist/components/features/auth/create-organization-form.d.ts +8 -1
  51. package/dist/components/features/auth/create-organization-form.d.ts.map +1 -1
  52. package/dist/components/features/index.cjs +2 -2
  53. package/dist/components/features/index.js +1 -1
  54. package/dist/components/help-center-pages/index.cjs +20 -20
  55. package/dist/components/help-center-pages/index.js +11 -11
  56. package/dist/components/index.cjs +120 -120
  57. package/dist/components/index.js +9 -9
  58. package/dist/components/navigation/index.cjs +2 -2
  59. package/dist/components/navigation/index.js +1 -1
  60. package/dist/components/onboarding-guides/index.cjs +5 -5
  61. package/dist/components/onboarding-guides/index.js +4 -4
  62. package/dist/components/related-content/index.cjs +3 -3
  63. package/dist/components/related-content/index.js +2 -2
  64. package/dist/components/tickets/index.cjs +5 -5
  65. package/dist/components/tickets/index.js +4 -4
  66. package/dist/components/ui/index.cjs +2 -2
  67. package/dist/components/ui/index.js +1 -1
  68. package/dist/index.cjs +2 -2
  69. package/dist/index.js +1 -1
  70. package/package.json +1 -1
  71. package/src/components/features/auth/create-organization-form.tsx +21 -10
  72. package/dist/chunk-SZSBHBXE.cjs.map +0 -1
  73. /package/dist/{chunk-HDWY2SXF.js.map → chunk-6SR7HXGW.js.map} +0 -0
  74. /package/dist/{chunk-LIK575RM.js.map → chunk-AJJF43ZL.js.map} +0 -0
  75. /package/dist/{chunk-K5P6XKIT.js.map → chunk-B45U4FY5.js.map} +0 -0
  76. /package/dist/{chunk-4A4DA7OX.js.map → chunk-EBOK7SG7.js.map} +0 -0
  77. /package/dist/{chunk-23PZFAET.js.map → chunk-EGFLSQEJ.js.map} +0 -0
  78. /package/dist/{chunk-MGDDM2UI.js.map → chunk-KBG3PLKS.js.map} +0 -0
  79. /package/dist/{chunk-LRA7FGQC.js.map → chunk-KQQ6U4UW.js.map} +0 -0
  80. /package/dist/{chunk-GZ5N76H2.js.map → chunk-LI7OAUSA.js.map} +0 -0
  81. /package/dist/{chunk-DQJCWNRT.js.map → chunk-MY7TV47R.js.map} +0 -0
  82. /package/dist/{chunk-PI3XFKEW.js.map → chunk-SGMZQTP6.js.map} +0 -0
  83. /package/dist/{chunk-3GGIVFSI.js.map → chunk-ZD6GZX7E.js.map} +0 -0
@@ -24617,6 +24617,8 @@ function CreateOrganizationForm({
24617
24617
  disabled = false,
24618
24618
  errors,
24619
24619
  emailStatus,
24620
+ domainStatus,
24621
+ domainSlot,
24620
24622
  ssoProviders,
24621
24623
  onSsoClick,
24622
24624
  ssoActionLabel = "Sign Up with",
@@ -24669,19 +24671,23 @@ function CreateOrganizationForm({
24669
24671
  }
24670
24672
  ) })
24671
24673
  ] }),
24672
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
24673
- _chunkNYIZVI4Icjs.Input,
24674
- {
24675
- label: "Domain",
24676
- placeholder: domainPlaceholder,
24677
- value: domain,
24678
- error: _optionalChain([errors, 'optionalAccess', _435 => _435.domain]),
24679
- disabled: fieldsDisabled,
24680
- endAdornment: domainSuffix ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap", children: domainSuffix }) : void 0,
24681
- onChange: (event) => onDomainChange(event.target.value),
24682
- onKeyDown: handleKeyDown
24683
- }
24684
- ),
24674
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
24675
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
24676
+ _chunkNYIZVI4Icjs.Input,
24677
+ {
24678
+ label: "Domain",
24679
+ placeholder: domainPlaceholder,
24680
+ value: domain,
24681
+ error: _nullishCoalesce(_optionalChain([errors, 'optionalAccess', _435 => _435.domain]), () => ( _optionalChain([domainStatus, 'optionalAccess', _436 => _436.message]))),
24682
+ errorVariant: _optionalChain([errors, 'optionalAccess', _437 => _437.domain]) ? "error" : _optionalChain([domainStatus, 'optionalAccess', _438 => _438.variant]),
24683
+ disabled: fieldsDisabled,
24684
+ endAdornment: domainSuffix ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap", children: domainSuffix }) : void 0,
24685
+ onChange: (event) => onDomainChange(event.target.value),
24686
+ onKeyDown: handleKeyDown
24687
+ }
24688
+ ),
24689
+ domainSlot && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pt-[var(--spacing-system-l)]", children: domainSlot })
24690
+ ] }),
24685
24691
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
24686
24692
  CheckboxBlock,
24687
24693
  {
@@ -24690,7 +24696,7 @@ function CreateOrganizationForm({
24690
24696
  truncateLabel: true,
24691
24697
  checked: agreedToTerms,
24692
24698
  disabled: fieldsDisabled,
24693
- error: _optionalChain([errors, 'optionalAccess', _436 => _436.terms]),
24699
+ error: _optionalChain([errors, 'optionalAccess', _439 => _439.terms]),
24694
24700
  onCheckedChange: onAgreedToTermsChange
24695
24701
  }
24696
24702
  ),
@@ -24793,7 +24799,7 @@ function LoginForm({
24793
24799
  label: "Email",
24794
24800
  placeholder: emailPlaceholder,
24795
24801
  value: email,
24796
- error: _optionalChain([errors, 'optionalAccess', _437 => _437.email]),
24802
+ error: _optionalChain([errors, 'optionalAccess', _440 => _440.email]),
24797
24803
  disabled: fieldDisabled,
24798
24804
  onChange: (event) => onEmailChange(event.target.value),
24799
24805
  onKeyDown: handleKeyDown
@@ -24912,7 +24918,7 @@ function OpenFrameSsoLoginForm({
24912
24918
  label: emailLabel,
24913
24919
  placeholder: emailPlaceholder,
24914
24920
  value: email,
24915
- error: _optionalChain([errors, 'optionalAccess', _438 => _438.email]),
24921
+ error: _optionalChain([errors, 'optionalAccess', _441 => _441.email]),
24916
24922
  disabled: fieldsDisabled,
24917
24923
  onChange: (event) => onEmailChange(event.target.value),
24918
24924
  onKeyDown: handleKeyDown
@@ -24924,7 +24930,7 @@ function OpenFrameSsoLoginForm({
24924
24930
  label: passwordLabel,
24925
24931
  placeholder: passwordPlaceholder,
24926
24932
  value: password,
24927
- error: _optionalChain([errors, 'optionalAccess', _439 => _439.password]),
24933
+ error: _optionalChain([errors, 'optionalAccess', _442 => _442.password]),
24928
24934
  disabled: fieldsDisabled,
24929
24935
  onChange: (event) => onPasswordChange(event.target.value),
24930
24936
  onKeyDown: handleKeyDown
@@ -25016,7 +25022,7 @@ function OpenFrameSsoSignUpForm({
25016
25022
  label: emailLabel,
25017
25023
  placeholder: "username@mail.com",
25018
25024
  value: email,
25019
- error: _optionalChain([errors, 'optionalAccess', _440 => _440.email]),
25025
+ error: _optionalChain([errors, 'optionalAccess', _443 => _443.email]),
25020
25026
  disabled: fieldsDisabled,
25021
25027
  onChange: (event) => onEmailChange(event.target.value),
25022
25028
  onKeyDown: handleKeyDown
@@ -25029,7 +25035,7 @@ function OpenFrameSsoSignUpForm({
25029
25035
  label: "First Name",
25030
25036
  placeholder: "Enter First Name",
25031
25037
  value: firstName,
25032
- error: _optionalChain([errors, 'optionalAccess', _441 => _441.firstName]),
25038
+ error: _optionalChain([errors, 'optionalAccess', _444 => _444.firstName]),
25033
25039
  disabled: fieldsDisabled,
25034
25040
  onChange: (event) => onFirstNameChange(event.target.value),
25035
25041
  onKeyDown: handleKeyDown
@@ -25041,7 +25047,7 @@ function OpenFrameSsoSignUpForm({
25041
25047
  label: "Last Name",
25042
25048
  placeholder: "Enter Last Name",
25043
25049
  value: lastName,
25044
- error: _optionalChain([errors, 'optionalAccess', _442 => _442.lastName]),
25050
+ error: _optionalChain([errors, 'optionalAccess', _445 => _445.lastName]),
25045
25051
  disabled: fieldsDisabled,
25046
25052
  onChange: (event) => onLastNameChange(event.target.value),
25047
25053
  onKeyDown: handleKeyDown
@@ -25055,7 +25061,7 @@ function OpenFrameSsoSignUpForm({
25055
25061
  label: "Password",
25056
25062
  placeholder: "Enter Password",
25057
25063
  value: password,
25058
- error: _optionalChain([errors, 'optionalAccess', _443 => _443.password]),
25064
+ error: _optionalChain([errors, 'optionalAccess', _446 => _446.password]),
25059
25065
  disabled: fieldsDisabled,
25060
25066
  onChange: (event) => onPasswordChange(event.target.value),
25061
25067
  onKeyDown: handleKeyDown
@@ -25067,7 +25073,7 @@ function OpenFrameSsoSignUpForm({
25067
25073
  label: "Confirm Password",
25068
25074
  placeholder: "Confirm Password",
25069
25075
  value: confirmPassword,
25070
- error: _optionalChain([errors, 'optionalAccess', _444 => _444.confirmPassword]),
25076
+ error: _optionalChain([errors, 'optionalAccess', _447 => _447.confirmPassword]),
25071
25077
  disabled: fieldsDisabled,
25072
25078
  onChange: (event) => onConfirmPasswordChange(event.target.value),
25073
25079
  onKeyDown: handleKeyDown
@@ -25082,7 +25088,7 @@ function OpenFrameSsoSignUpForm({
25082
25088
  truncateLabel: true,
25083
25089
  checked: agreedToTerms,
25084
25090
  disabled: fieldsDisabled,
25085
- error: _optionalChain([errors, 'optionalAccess', _445 => _445.terms]),
25091
+ error: _optionalChain([errors, 'optionalAccess', _448 => _448.terms]),
25086
25092
  onCheckedChange: onAgreedToTermsChange
25087
25093
  }
25088
25094
  ),
@@ -25166,7 +25172,7 @@ function PasswordResetForm({
25166
25172
  label: newPasswordLabel,
25167
25173
  placeholder: newPasswordPlaceholder,
25168
25174
  value: password,
25169
- error: _optionalChain([errors, 'optionalAccess', _446 => _446.password]),
25175
+ error: _optionalChain([errors, 'optionalAccess', _449 => _449.password]),
25170
25176
  disabled: fieldsDisabled,
25171
25177
  onChange: (event) => onPasswordChange(event.target.value),
25172
25178
  onKeyDown: handleKeyDown
@@ -25179,7 +25185,7 @@ function PasswordResetForm({
25179
25185
  label: confirmPasswordLabel,
25180
25186
  placeholder: confirmPasswordPlaceholder,
25181
25187
  value: confirmPassword,
25182
- error: _optionalChain([errors, 'optionalAccess', _447 => _447.confirmPassword]),
25188
+ error: _optionalChain([errors, 'optionalAccess', _450 => _450.confirmPassword]),
25183
25189
  disabled: fieldsDisabled,
25184
25190
  onChange: (event) => onConfirmPasswordChange(event.target.value),
25185
25191
  onKeyDown: handleKeyDown
@@ -25842,10 +25848,10 @@ var getContentDimensions = (config) => {
25842
25848
  const envMobileHeight = process.env.NEXT_PUBLIC_FIGMA_MOBILE_HEIGHT ? parseInt(process.env.NEXT_PUBLIC_FIGMA_MOBILE_HEIGHT) : null;
25843
25849
  const envDesktopWidth = process.env.NEXT_PUBLIC_FIGMA_DESKTOP_WIDTH ? parseInt(process.env.NEXT_PUBLIC_FIGMA_DESKTOP_WIDTH) : null;
25844
25850
  const envDesktopHeight = process.env.NEXT_PUBLIC_FIGMA_DESKTOP_HEIGHT ? parseInt(process.env.NEXT_PUBLIC_FIGMA_DESKTOP_HEIGHT) : null;
25845
- const mobileWidth = _nullishCoalesce(_nullishCoalesce(envMobileWidth, () => ( _optionalChain([config, 'optionalAccess', _448 => _448.mobileContentDimensions, 'optionalAccess', _449 => _449.width]))), () => ( defaultMobile.width));
25846
- const mobileHeight = _nullishCoalesce(_nullishCoalesce(envMobileHeight, () => ( _optionalChain([config, 'optionalAccess', _450 => _450.mobileContentDimensions, 'optionalAccess', _451 => _451.height]))), () => ( defaultMobile.height));
25847
- const desktopWidth = _nullishCoalesce(_nullishCoalesce(envDesktopWidth, () => ( _optionalChain([config, 'optionalAccess', _452 => _452.desktopContentDimensions, 'optionalAccess', _453 => _453.width]))), () => ( defaultDesktop.width));
25848
- const desktopHeight = _nullishCoalesce(_nullishCoalesce(envDesktopHeight, () => ( _optionalChain([config, 'optionalAccess', _454 => _454.desktopContentDimensions, 'optionalAccess', _455 => _455.height]))), () => ( defaultDesktop.height));
25851
+ const mobileWidth = _nullishCoalesce(_nullishCoalesce(envMobileWidth, () => ( _optionalChain([config, 'optionalAccess', _451 => _451.mobileContentDimensions, 'optionalAccess', _452 => _452.width]))), () => ( defaultMobile.width));
25852
+ const mobileHeight = _nullishCoalesce(_nullishCoalesce(envMobileHeight, () => ( _optionalChain([config, 'optionalAccess', _453 => _453.mobileContentDimensions, 'optionalAccess', _454 => _454.height]))), () => ( defaultMobile.height));
25853
+ const desktopWidth = _nullishCoalesce(_nullishCoalesce(envDesktopWidth, () => ( _optionalChain([config, 'optionalAccess', _455 => _455.desktopContentDimensions, 'optionalAccess', _456 => _456.width]))), () => ( defaultDesktop.width));
25854
+ const desktopHeight = _nullishCoalesce(_nullishCoalesce(envDesktopHeight, () => ( _optionalChain([config, 'optionalAccess', _457 => _457.desktopContentDimensions, 'optionalAccess', _458 => _458.height]))), () => ( defaultDesktop.height));
25849
25855
  return {
25850
25856
  mobile: { width: mobileWidth, height: mobileHeight },
25851
25857
  desktop: { width: desktopWidth, height: desktopHeight }
@@ -25979,7 +25985,7 @@ function renderUnifiedUI(state, handlers, config, iframeRef) {
25979
25985
  const contentDimensions = getContentDimensions(config);
25980
25986
  const mobileHeight = contentDimensions.mobile.height;
25981
25987
  const calculatedHeight = Math.max(mobileHeight + 100, 400);
25982
- return `${Math.min(calculatedHeight, _optionalChain([window, 'optionalAccess', _456 => _456.innerHeight]) * 0.85 || 650)}px`;
25988
+ return `${Math.min(calculatedHeight, _optionalChain([window, 'optionalAccess', _459 => _459.innerHeight]) * 0.85 || 650)}px`;
25983
25989
  })(),
25984
25990
  minHeight: viewMode === "DESKTOP" ? "auto" : (() => {
25985
25991
  const contentDimensions = getContentDimensions(config);
@@ -26084,7 +26090,7 @@ var FigmaPrototypeViewer = ({
26084
26090
  const [isInitialized, setIsInitialized] = _react.useState.call(void 0, false);
26085
26091
  const [currentNodeId, setCurrentNodeId] = _react.useState.call(void 0, null);
26086
26092
  const [internalActiveSection, setInternalActiveSection] = _react.useState.call(void 0,
26087
- config.defaultSectionId || _optionalChain([config, 'access', _457 => _457.sections, 'access', _458 => _458[0], 'optionalAccess', _459 => _459.id]) || ""
26093
+ config.defaultSectionId || _optionalChain([config, 'access', _460 => _460.sections, 'access', _461 => _461[0], 'optionalAccess', _462 => _462.id]) || ""
26088
26094
  );
26089
26095
  const activeSection = externalActiveSection || internalActiveSection;
26090
26096
  const [isNavigating, setIsNavigating] = _react.useState.call(void 0, false);
@@ -26174,7 +26180,7 @@ var FigmaPrototypeViewer = ({
26174
26180
  const handleMessage = (event) => {
26175
26181
  if (event.origin !== "https://www.figma.com") return;
26176
26182
  const validEvents = ["INITIAL_LOAD", "NEW_STATE", "PRESENTED_NODE_CHANGED"];
26177
- if (_optionalChain([event, 'access', _460 => _460.data, 'optionalAccess', _461 => _461.type]) && validEvents.includes(event.data.type)) {
26183
+ if (_optionalChain([event, 'access', _463 => _463.data, 'optionalAccess', _464 => _464.type]) && validEvents.includes(event.data.type)) {
26178
26184
  const figmaEvent = event.data;
26179
26185
  console.log("[Figma Event]", figmaEvent.type, viewMode);
26180
26186
  switch (figmaEvent.type) {
@@ -26184,19 +26190,19 @@ var FigmaPrototypeViewer = ({
26184
26190
  setIframeState("READY");
26185
26191
  break;
26186
26192
  case "PRESENTED_NODE_CHANGED":
26187
- if (_optionalChain([figmaEvent, 'access', _462 => _462.data, 'optionalAccess', _463 => _463.presentedNodeId])) {
26193
+ if (_optionalChain([figmaEvent, 'access', _465 => _465.data, 'optionalAccess', _466 => _466.presentedNodeId])) {
26188
26194
  setCurrentNodeId(figmaEvent.data.presentedNodeId);
26189
26195
  if (!isNavigating) {
26190
26196
  const matchingSection = config.sections.find((s) => {
26191
- const desktopMatch = s.startingNodeId === _optionalChain([figmaEvent, 'access', _464 => _464.data, 'optionalAccess', _465 => _465.presentedNodeId]) || s.startingNodeId.replace(":", "-") === _optionalChain([figmaEvent, 'access', _466 => _466.data, 'optionalAccess', _467 => _467.presentedNodeId]);
26192
- const mobileMatch = s.mobileStartingNodeId === _optionalChain([figmaEvent, 'access', _468 => _468.data, 'optionalAccess', _469 => _469.presentedNodeId]) || _optionalChain([s, 'access', _470 => _470.mobileStartingNodeId, 'optionalAccess', _471 => _471.replace, 'call', _472 => _472(":", "-")]) === _optionalChain([figmaEvent, 'access', _473 => _473.data, 'optionalAccess', _474 => _474.presentedNodeId]);
26197
+ const desktopMatch = s.startingNodeId === _optionalChain([figmaEvent, 'access', _467 => _467.data, 'optionalAccess', _468 => _468.presentedNodeId]) || s.startingNodeId.replace(":", "-") === _optionalChain([figmaEvent, 'access', _469 => _469.data, 'optionalAccess', _470 => _470.presentedNodeId]);
26198
+ const mobileMatch = s.mobileStartingNodeId === _optionalChain([figmaEvent, 'access', _471 => _471.data, 'optionalAccess', _472 => _472.presentedNodeId]) || _optionalChain([s, 'access', _473 => _473.mobileStartingNodeId, 'optionalAccess', _474 => _474.replace, 'call', _475 => _475(":", "-")]) === _optionalChain([figmaEvent, 'access', _476 => _476.data, 'optionalAccess', _477 => _477.presentedNodeId]);
26193
26199
  return desktopMatch || mobileMatch;
26194
26200
  });
26195
26201
  if (matchingSection && matchingSection.id !== activeSection) {
26196
26202
  if (!externalActiveSection) {
26197
26203
  setInternalActiveSection(matchingSection.id);
26198
26204
  }
26199
- _optionalChain([config, 'access', _475 => _475.onSectionChange, 'optionalCall', _476 => _476(matchingSection.id)]);
26205
+ _optionalChain([config, 'access', _478 => _478.onSectionChange, 'optionalCall', _479 => _479(matchingSection.id)]);
26200
26206
  }
26201
26207
  }
26202
26208
  }
@@ -26209,7 +26215,7 @@ var FigmaPrototypeViewer = ({
26209
26215
  }, [config.sections, activeSection, isNavigating, externalActiveSection, config.onSectionChange, viewMode]);
26210
26216
  const navigateToSection = _react.useCallback.call(void 0, (sectionId) => {
26211
26217
  const section = config.sections.find((s) => s.id === sectionId);
26212
- if (!section || !_optionalChain([iframeRef, 'access', _477 => _477.current, 'optionalAccess', _478 => _478.contentWindow]) || !isInitialized) {
26218
+ if (!section || !_optionalChain([iframeRef, 'access', _480 => _480.current, 'optionalAccess', _481 => _481.contentWindow]) || !isInitialized) {
26213
26219
  return;
26214
26220
  }
26215
26221
  setIsNavigating(true);
@@ -26217,7 +26223,7 @@ var FigmaPrototypeViewer = ({
26217
26223
  if (!externalActiveSection) {
26218
26224
  setInternalActiveSection(sectionId);
26219
26225
  }
26220
- _optionalChain([config, 'access', _479 => _479.onSectionChange, 'optionalCall', _480 => _480(sectionId)]);
26226
+ _optionalChain([config, 'access', _482 => _482.onSectionChange, 'optionalCall', _483 => _483(sectionId)]);
26221
26227
  const command = {
26222
26228
  type: "NAVIGATE_TO_FRAME_AND_CLOSE_OVERLAYS",
26223
26229
  data: { nodeId }
@@ -26537,7 +26543,7 @@ var FiltersDropdown = ({
26537
26543
  defaults[section.id] = section.defaultSelected || [];
26538
26544
  });
26539
26545
  setSelectedFilters(defaults);
26540
- _optionalChain([onReset, 'optionalCall', _481 => _481()]);
26546
+ _optionalChain([onReset, 'optionalCall', _484 => _484()]);
26541
26547
  setIsOpen(false);
26542
26548
  };
26543
26549
  const handleApply = () => {
@@ -26830,7 +26836,7 @@ function MediaGalleryManager({
26830
26836
  const [deletingIndex, setDeletingIndex] = _react.useState.call(void 0, null);
26831
26837
  const [draggedIndex, setDraggedIndex] = _react.useState.call(void 0, null);
26832
26838
  const handleFileSelect = _react.useCallback.call(void 0, async (event) => {
26833
- const file = _optionalChain([event, 'access', _482 => _482.target, 'access', _483 => _483.files, 'optionalAccess', _484 => _484[0]]);
26839
+ const file = _optionalChain([event, 'access', _485 => _485.target, 'access', _486 => _486.files, 'optionalAccess', _487 => _487[0]]);
26834
26840
  if (!file) return;
26835
26841
  let mediaType;
26836
26842
  if (file.type.startsWith("image/")) {
@@ -26945,7 +26951,7 @@ function MediaGalleryManager({
26945
26951
  {
26946
26952
  type: "button",
26947
26953
  variant: "outline",
26948
- onClick: () => _optionalChain([fileInputRef, 'access', _485 => _485.current, 'optionalAccess', _486 => _486.click, 'call', _487 => _487()]),
26954
+ onClick: () => _optionalChain([fileInputRef, 'access', _488 => _488.current, 'optionalAccess', _489 => _489.click, 'call', _490 => _490()]),
26949
26955
  disabled: isUploading,
26950
26956
  leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Plus, { className: "h-4 w-4" }),
26951
26957
  className: "font-['DM_Sans'] text-[16px] font-bold",
@@ -27609,7 +27615,7 @@ function ReleaseMediaManager({
27609
27615
  const fileInputRef = _react.useRef.call(void 0, null);
27610
27616
  const [uploadingIndex, setUploadingIndex] = _react.useState.call(void 0, null);
27611
27617
  const handleFileSelect = async (event) => {
27612
- const file = _optionalChain([event, 'access', _488 => _488.target, 'access', _489 => _489.files, 'optionalAccess', _490 => _490[0]]);
27618
+ const file = _optionalChain([event, 'access', _491 => _491.target, 'access', _492 => _492.files, 'optionalAccess', _493 => _493[0]]);
27613
27619
  if (!file) return;
27614
27620
  let mediaType;
27615
27621
  if (file.type.startsWith("image/")) {
@@ -27689,7 +27695,7 @@ function ReleaseMediaManager({
27689
27695
  {
27690
27696
  type: "button",
27691
27697
  variant: "outline",
27692
- onClick: () => _optionalChain([fileInputRef, 'access', _491 => _491.current, 'optionalAccess', _492 => _492.click, 'call', _493 => _493()]),
27698
+ onClick: () => _optionalChain([fileInputRef, 'access', _494 => _494.current, 'optionalAccess', _495 => _495.click, 'call', _496 => _496()]),
27693
27699
  disabled: uploadingIndex !== null,
27694
27700
  leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Plus, { className: "h-4 w-4" }),
27695
27701
  className: "font-['DM_Sans'] text-[16px] font-bold",
@@ -27904,7 +27910,7 @@ function SEOEditorPreview({
27904
27910
  const displayImage = hasOgImage || hasFeaturedImage;
27905
27911
  const handleImageUpload = async (event) => {
27906
27912
  if (!onOgImageUpload) return;
27907
- const file = _optionalChain([event, 'access', _494 => _494.target, 'access', _495 => _495.files, 'optionalAccess', _496 => _496[0]]);
27913
+ const file = _optionalChain([event, 'access', _497 => _497.target, 'access', _498 => _498.files, 'optionalAccess', _499 => _499[0]]);
27908
27914
  if (!file) return;
27909
27915
  setIsUploading(true);
27910
27916
  try {
@@ -28045,7 +28051,7 @@ function SEOEditorPreview({
28045
28051
  type: "button",
28046
28052
  variant: "outline",
28047
28053
  size: "icon",
28048
- onClick: () => _optionalChain([fileInputRef, 'optionalAccess', _497 => _497.click, 'call', _498 => _498()]),
28054
+ onClick: () => _optionalChain([fileInputRef, 'optionalAccess', _500 => _500.click, 'call', _501 => _501()]),
28049
28055
  disabled: disabled || isUploading,
28050
28056
  className: "bg-white text-black hover:bg-gray-100 rounded-full opacity-0 group-hover:opacity-100",
28051
28057
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Upload, { className: "h-4 w-4" })
@@ -28068,7 +28074,7 @@ function SEOEditorPreview({
28068
28074
  "div",
28069
28075
  {
28070
28076
  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",
28071
- onClick: () => onOgImageUpload && _optionalChain([fileInputRef, 'optionalAccess', _499 => _499.click, 'call', _500 => _500()]),
28077
+ onClick: () => onOgImageUpload && _optionalChain([fileInputRef, 'optionalAccess', _502 => _502.click, 'call', _503 => _503()]),
28072
28078
  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: [
28073
28079
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Upload, { className: "h-8 w-8 text-ods-text-secondary mb-2" }),
28074
28080
  /* @__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" })
@@ -28155,7 +28161,7 @@ function SocialLinksManager({
28155
28161
  className = ""
28156
28162
  }) {
28157
28163
  const addLink = () => {
28158
- const firstPlatform = _optionalChain([platforms, 'access', _501 => _501[0], 'optionalAccess', _502 => _502.name]) || "website";
28164
+ const firstPlatform = _optionalChain([platforms, 'access', _504 => _504[0], 'optionalAccess', _505 => _505.name]) || "website";
28159
28165
  onChange([...links, { platform: firstPlatform, url: "" }]);
28160
28166
  };
28161
28167
  const removeLink = (index) => {
@@ -28167,7 +28173,7 @@ function SocialLinksManager({
28167
28173
  onChange(updated);
28168
28174
  };
28169
28175
  const getIcon = (link, platform) => {
28170
- const iconKey = _optionalChain([platform, 'optionalAccess', _503 => _503.icon_name]) || link.platform;
28176
+ const iconKey = _optionalChain([platform, 'optionalAccess', _506 => _506.icon_name]) || link.platform;
28171
28177
  const IconComponent = iconMap[iconKey];
28172
28178
  return IconComponent ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, IconComponent, { className: "w-5 h-5 text-ods-text-secondary" }) : null;
28173
28179
  };
@@ -28192,7 +28198,7 @@ function SocialLinksManager({
28192
28198
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
28193
28199
  _chunkNYIZVI4Icjs.Input,
28194
28200
  {
28195
- placeholder: _optionalChain([platform, 'optionalAccess', _504 => _504.placeholder]) || "Profile URL",
28201
+ placeholder: _optionalChain([platform, 'optionalAccess', _507 => _507.placeholder]) || "Profile URL",
28196
28202
  value: link.url,
28197
28203
  onChange: (e) => updateLink(index, "url", e.target.value),
28198
28204
  onKeyDown: (e) => {
@@ -28585,7 +28591,7 @@ function useVideoOriginPreconnect({
28585
28591
  supabaseStorageOrigin
28586
28592
  } = {}) {
28587
28593
  const runtime = _chunk3KEBI6TPcjs.useChatRuntime.call(void 0, );
28588
- const resolvedOrigin = _nullishCoalesce(supabaseStorageOrigin, () => ( _optionalChain([runtime, 'optionalAccess', _505 => _505.endpoints, 'access', _506 => _506.supabaseStorageOrigin])));
28594
+ const resolvedOrigin = _nullishCoalesce(supabaseStorageOrigin, () => ( _optionalChain([runtime, 'optionalAccess', _508 => _508.endpoints, 'access', _509 => _509.supabaseStorageOrigin])));
28589
28595
  try {
28590
28596
  ReactDOM2.default.preconnect(MUX_STREAM_ORIGIN, { crossOrigin: "anonymous" });
28591
28597
  ReactDOM2.default.preconnect(MUX_IMAGE_ORIGIN, { crossOrigin: "anonymous" });
@@ -28604,13 +28610,13 @@ function useVideoWarmup({
28604
28610
  nearMargin = "1000px"
28605
28611
  } = {}) {
28606
28612
  const runtime = _chunk3KEBI6TPcjs.useChatRuntime.call(void 0, );
28607
- const resolvedOrigin = _nullishCoalesce(supabaseStorageOrigin, () => ( _optionalChain([runtime, 'optionalAccess', _507 => _507.endpoints, 'access', _508 => _508.supabaseStorageOrigin])));
28613
+ const resolvedOrigin = _nullishCoalesce(supabaseStorageOrigin, () => ( _optionalChain([runtime, 'optionalAccess', _510 => _510.endpoints, 'access', _511 => _511.supabaseStorageOrigin])));
28608
28614
  useVideoOriginPreconnect({ supabaseStorageOrigin: resolvedOrigin });
28609
28615
  const { ref, isNear } = _chunk743FCO64cjs.useNearViewport.call(void 0, nearMargin);
28610
28616
  _react.useEffect.call(void 0, () => {
28611
28617
  if (!isNear || !videoUrl || !resolvedOrigin) return;
28612
28618
  const conn = navigator.connection;
28613
- if (_optionalChain([conn, 'optionalAccess', _509 => _509.saveData]) === true) return;
28619
+ if (_optionalChain([conn, 'optionalAccess', _512 => _512.saveData]) === true) return;
28614
28620
  let videoOrigin;
28615
28621
  try {
28616
28622
  videoOrigin = new URL(videoUrl, "http://placeholder.local").origin;
@@ -28680,7 +28686,7 @@ function VideoSourceSelector({
28680
28686
  input.accept = "video/*";
28681
28687
  input.onchange = async (e) => {
28682
28688
  const target = e.target;
28683
- const file = _optionalChain([target, 'access', _510 => _510.files, 'optionalAccess', _511 => _511[0]]);
28689
+ const file = _optionalChain([target, 'access', _513 => _513.files, 'optionalAccess', _514 => _514[0]]);
28684
28690
  if (!file) return;
28685
28691
  setIsUploading(true);
28686
28692
  setUploadProgress(0);
@@ -29029,7 +29035,7 @@ function TranscriptSummaryEditor({
29029
29035
  {
29030
29036
  id: "subtitles",
29031
29037
  value: subtitles || "",
29032
- onChange: (e) => _optionalChain([onSubtitlesChange, 'optionalCall', _512 => _512(e.target.value)]),
29038
+ onChange: (e) => _optionalChain([onSubtitlesChange, 'optionalCall', _515 => _515(e.target.value)]),
29033
29039
  placeholder: subtitlesPlaceholder,
29034
29040
  disabled: disabled || !onSubtitlesChange,
29035
29041
  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",
@@ -29182,7 +29188,7 @@ var AIEnrichSection = ({
29182
29188
  }) => {
29183
29189
  const hasResults = status === "success" || status === "error";
29184
29190
  const shouldDisable = disabled || !canEnrich;
29185
- const unfilledFields = _optionalChain([requiredFields, 'optionalAccess', _513 => _513.filter, 'call', _514 => _514((f) => !f.isFilled)]) || [];
29191
+ const unfilledFields = _optionalChain([requiredFields, 'optionalAccess', _516 => _516.filter, 'call', _517 => _517((f) => !f.isFilled)]) || [];
29186
29192
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
29187
29193
  "div",
29188
29194
  {
@@ -29220,7 +29226,7 @@ var AIEnrichSection = ({
29220
29226
  {
29221
29227
  id: "ai-enrich-custom-instructions",
29222
29228
  value: _nullishCoalesce(customInstructions, () => ( "")),
29223
- onChange: (e) => _optionalChain([onCustomInstructionsChange, 'optionalCall', _515 => _515(e.target.value)]),
29229
+ onChange: (e) => _optionalChain([onCustomInstructionsChange, 'optionalCall', _518 => _518(e.target.value)]),
29224
29230
  placeholder: customInstructionsPlaceholder,
29225
29231
  disabled: loading,
29226
29232
  maxLength: customInstructionsMaxLength,
@@ -29349,7 +29355,7 @@ function HighlightVideoSection({
29349
29355
  input.accept = "video/*";
29350
29356
  input.onchange = async (e) => {
29351
29357
  const target = e.target;
29352
- const file = _optionalChain([target, 'access', _516 => _516.files, 'optionalAccess', _517 => _517[0]]);
29358
+ const file = _optionalChain([target, 'access', _519 => _519.files, 'optionalAccess', _520 => _520[0]]);
29353
29359
  if (!file) return;
29354
29360
  setUploadError(null);
29355
29361
  try {
@@ -29844,7 +29850,7 @@ function HighlightVideoPreview({
29844
29850
  input.accept = "video/*";
29845
29851
  input.onchange = async (e) => {
29846
29852
  const target = e.target;
29847
- const file = _optionalChain([target, 'access', _518 => _518.files, 'optionalAccess', _519 => _519[0]]);
29853
+ const file = _optionalChain([target, 'access', _521 => _521.files, 'optionalAccess', _522 => _522[0]]);
29848
29854
  if (!file) return;
29849
29855
  await onUpload(file);
29850
29856
  };
@@ -30028,7 +30034,7 @@ function HighlightVideoCombinedSection({
30028
30034
  input.accept = "video/*";
30029
30035
  input.onchange = async (e) => {
30030
30036
  const target = e.target;
30031
- const file = _optionalChain([target, 'access', _520 => _520.files, 'optionalAccess', _521 => _521[0]]);
30037
+ const file = _optionalChain([target, 'access', _523 => _523.files, 'optionalAccess', _524 => _524[0]]);
30032
30038
  if (!file) return;
30033
30039
  await onUpload(file);
30034
30040
  };
@@ -30322,7 +30328,7 @@ var getApprovalLevelLabel = (level, editMode = false) => {
30322
30328
  return editMode ? "Set Global Permission" : "";
30323
30329
  }
30324
30330
  const option = approvalLevelOptions.find((opt) => opt.value === level);
30325
- return _optionalChain([option, 'optionalAccess', _522 => _522.label]) || level;
30331
+ return _optionalChain([option, 'optionalAccess', _525 => _525.label]) || level;
30326
30332
  };
30327
30333
  var PolicyRow = ({ policy, categoryId, editMode, onPermissionChange }) => {
30328
30334
  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: [
@@ -30536,12 +30542,12 @@ function PhoneInput({
30536
30542
  const runValidation = _react.useCallback.call(void 0, (phone) => {
30537
30543
  if (!phone || digitCount(phone) === 0) {
30538
30544
  setIsInvalid(false);
30539
- _optionalChain([onValidationChange, 'optionalCall', _523 => _523(false)]);
30545
+ _optionalChain([onValidationChange, 'optionalCall', _526 => _526(false)]);
30540
30546
  return;
30541
30547
  }
30542
30548
  const invalid = !validatePhoneNumber(phone, countryCode);
30543
30549
  setIsInvalid(invalid);
30544
- _optionalChain([onValidationChange, 'optionalCall', _524 => _524(invalid)]);
30550
+ _optionalChain([onValidationChange, 'optionalCall', _527 => _527(invalid)]);
30545
30551
  }, [countryCode, digitCount, onValidationChange]);
30546
30552
  const debouncedValidation = _react.useCallback.call(void 0, (phone) => {
30547
30553
  if (debounceRef.current) clearTimeout(debounceRef.current);
@@ -30590,7 +30596,7 @@ function PhoneInput({
30590
30596
  debouncedValidation(val);
30591
30597
  } else if (digitCount(val) === 0) {
30592
30598
  setIsInvalid(false);
30593
- _optionalChain([onValidationChange, 'optionalCall', _525 => _525(false)]);
30599
+ _optionalChain([onValidationChange, 'optionalCall', _528 => _528(false)]);
30594
30600
  }
30595
30601
  }
30596
30602
  },
@@ -30931,19 +30937,19 @@ function NotificationsProvider({
30931
30937
  }, []);
30932
30938
  const markRead = React96.useCallback((id) => {
30933
30939
  dispatch({ type: "markRead", id });
30934
- void _optionalChain([actionsRef, 'access', _526 => _526.current, 'optionalAccess', _527 => _527.onMarkRead, 'optionalCall', _528 => _528(id)]);
30940
+ void _optionalChain([actionsRef, 'access', _529 => _529.current, 'optionalAccess', _530 => _530.onMarkRead, 'optionalCall', _531 => _531(id)]);
30935
30941
  }, []);
30936
30942
  const markAllRead = React96.useCallback(() => {
30937
30943
  dispatch({ type: "markAllRead" });
30938
- void _optionalChain([actionsRef, 'access', _529 => _529.current, 'optionalAccess', _530 => _530.onMarkAllRead, 'optionalCall', _531 => _531()]);
30944
+ void _optionalChain([actionsRef, 'access', _532 => _532.current, 'optionalAccess', _533 => _533.onMarkAllRead, 'optionalCall', _534 => _534()]);
30939
30945
  }, []);
30940
30946
  const markSettled = React96.useCallback((id) => {
30941
30947
  dispatch({ type: "markSettled", id });
30942
- void _optionalChain([actionsRef, 'access', _532 => _532.current, 'optionalAccess', _533 => _533.onMarkSettled, 'optionalCall', _534 => _534(id)]);
30948
+ void _optionalChain([actionsRef, 'access', _535 => _535.current, 'optionalAccess', _536 => _536.onMarkSettled, 'optionalCall', _537 => _537(id)]);
30943
30949
  }, []);
30944
30950
  const remove = React96.useCallback((id) => {
30945
30951
  dispatch({ type: "remove", id });
30946
- void _optionalChain([actionsRef, 'access', _535 => _535.current, 'optionalAccess', _536 => _536.onRemove, 'optionalCall', _537 => _537(id)]);
30952
+ void _optionalChain([actionsRef, 'access', _538 => _538.current, 'optionalAccess', _539 => _539.onRemove, 'optionalCall', _540 => _540(id)]);
30947
30953
  }, []);
30948
30954
  const clear = React96.useCallback(() => dispatch({ type: "clear" }), []);
30949
30955
  const open = React96.useCallback(() => setIsOpen(true), []);
@@ -30952,14 +30958,14 @@ function NotificationsProvider({
30952
30958
  const setShowPopups = React96.useCallback(
30953
30959
  (value2) => {
30954
30960
  setShowPopupsState(value2);
30955
- _optionalChain([onShowPopupsChange, 'optionalCall', _538 => _538(value2)]);
30961
+ _optionalChain([onShowPopupsChange, 'optionalCall', _541 => _541(value2)]);
30956
30962
  },
30957
30963
  [onShowPopupsChange]
30958
30964
  );
30959
30965
  const setShowDesktopPopups = React96.useCallback(
30960
30966
  (value2) => {
30961
30967
  setShowDesktopPopupsState(value2);
30962
- _optionalChain([onShowDesktopPopupsChange, 'optionalCall', _539 => _539(value2)]);
30968
+ _optionalChain([onShowDesktopPopupsChange, 'optionalCall', _542 => _542(value2)]);
30963
30969
  },
30964
30970
  [onShowDesktopPopupsChange]
30965
30971
  );
@@ -31063,7 +31069,7 @@ function NotificationTile({
31063
31069
  if (!counting) return;
31064
31070
  const remaining = Math.max(0, liveDurationMs - initialElapsed);
31065
31071
  const timer = window.setTimeout(() => {
31066
- _optionalChain([onSettle, 'optionalCall', _540 => _540(id)]);
31072
+ _optionalChain([onSettle, 'optionalCall', _543 => _543(id)]);
31067
31073
  }, remaining);
31068
31074
  return () => window.clearTimeout(timer);
31069
31075
  }, [id, counting, initialElapsed, liveDurationMs, onSettle]);
@@ -31125,7 +31131,7 @@ function NotificationTile({
31125
31131
  "button",
31126
31132
  {
31127
31133
  type: "button",
31128
- onClick: () => _optionalChain([onSettle, 'optionalCall', _541 => _541(id)]),
31134
+ onClick: () => _optionalChain([onSettle, 'optionalCall', _544 => _544(id)]),
31129
31135
  "aria-label": "Dismiss notification",
31130
31136
  tabIndex: isLive ? 0 : -1,
31131
31137
  className: _chunkFIG2RKZFcjs.cn.call(void 0,
@@ -31258,7 +31264,7 @@ function DrawerScrollList({
31258
31264
  if (!sentinel || !root) return;
31259
31265
  const observer = new IntersectionObserver(
31260
31266
  (entries) => {
31261
- if (_optionalChain([entries, 'access', _542 => _542[0], 'optionalAccess', _543 => _543.isIntersecting])) _optionalChain([loadMoreRef, 'access', _544 => _544.current, 'optionalCall', _545 => _545()]);
31267
+ if (_optionalChain([entries, 'access', _545 => _545[0], 'optionalAccess', _546 => _546.isIntersecting])) _optionalChain([loadMoreRef, 'access', _547 => _547.current, 'optionalCall', _548 => _548()]);
31262
31268
  },
31263
31269
  { root, rootMargin: loadMoreRootMargin }
31264
31270
  );
@@ -31273,7 +31279,7 @@ function DrawerScrollList({
31273
31279
  className: "flex flex-1 flex-col gap-[var(--spacing-system-xs)] overflow-y-auto px-[var(--spacing-system-m)]",
31274
31280
  children: isEmpty && !isLoadingMore ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, EmptyState, {}) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
31275
31281
  unreadNotifications.map((n) => {
31276
- const custom = _optionalChain([renderTile, 'optionalCall', _546 => _546(n, { onComplete, onSettle, liveDurationMs })]);
31282
+ const custom = _optionalChain([renderTile, 'optionalCall', _549 => _549(n, { onComplete, onSettle, liveDurationMs })]);
31277
31283
  if (custom) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { children: custom }, n.id);
31278
31284
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
31279
31285
  NotificationTile,
@@ -31437,7 +31443,7 @@ function NotificationPopups({
31437
31443
  className
31438
31444
  ),
31439
31445
  children: live.map((n) => {
31440
- const custom = _optionalChain([renderTile, 'optionalCall', _547 => _547(n, { onComplete: markRead, onSettle: markSettled, liveDurationMs })]);
31446
+ const custom = _optionalChain([renderTile, 'optionalCall', _550 => _550(n, { onComplete: markRead, onSettle: markSettled, liveDurationMs })]);
31441
31447
  if (custom) {
31442
31448
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pointer-events-auto", children: custom }, n.id);
31443
31449
  }
@@ -31617,21 +31623,21 @@ function transformWebinarToProgram(webinar) {
31617
31623
  // src/components/features/notifications/types.ts
31618
31624
  var ADMIN_APPROVAL_REQUEST_CONTEXT_TYPE = "ADMIN_APPROVAL_REQUEST";
31619
31625
  function isApprovalNotification(notification) {
31620
- return _optionalChain([notification, 'access', _548 => _548.meta, 'optionalAccess', _549 => _549.contextType]) === ADMIN_APPROVAL_REQUEST_CONTEXT_TYPE;
31626
+ return _optionalChain([notification, 'access', _551 => _551.meta, 'optionalAccess', _552 => _552.contextType]) === ADMIN_APPROVAL_REQUEST_CONTEXT_TYPE;
31621
31627
  }
31622
31628
  function getApprovalMeta(notification) {
31623
31629
  if (!isApprovalNotification(notification)) return null;
31624
31630
  const meta = notification.meta;
31625
- const approvalRequestId = _optionalChain([meta, 'optionalAccess', _550 => _550.approvalRequestId]);
31626
- const toolCalls = _optionalChain([meta, 'optionalAccess', _551 => _551.toolCalls]);
31631
+ const approvalRequestId = _optionalChain([meta, 'optionalAccess', _553 => _553.approvalRequestId]);
31632
+ const toolCalls = _optionalChain([meta, 'optionalAccess', _554 => _554.toolCalls]);
31627
31633
  if (typeof approvalRequestId !== "string" || !Array.isArray(toolCalls)) return null;
31628
31634
  return {
31629
31635
  approvalRequestId,
31630
- dialogId: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _552 => _552.dialogId]), () => ( null)),
31631
- ticketId: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _553 => _553.ticketId]), () => ( null)),
31632
- approvalType: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _554 => _554.approvalType]), () => ( null)),
31633
- resolution: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _555 => _555.resolution]), () => ( null)),
31634
- resolvedByName: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _556 => _556.resolvedByName]), () => ( null)),
31636
+ dialogId: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _555 => _555.dialogId]), () => ( null)),
31637
+ ticketId: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _556 => _556.ticketId]), () => ( null)),
31638
+ approvalType: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _557 => _557.approvalType]), () => ( null)),
31639
+ resolution: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _558 => _558.resolution]), () => ( null)),
31640
+ resolvedByName: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _559 => _559.resolvedByName]), () => ( null)),
31635
31641
  toolCalls
31636
31642
  };
31637
31643
  }
@@ -31680,7 +31686,7 @@ function ApprovalRequestNotificationTile({
31680
31686
  const [pinned, setPinned] = _react.useState.call(void 0, defaultExpanded);
31681
31687
  const [localStatus, setLocalStatus] = _react.useState.call(void 0, null);
31682
31688
  const approval = getApprovalMeta(notification);
31683
- const resolvedStatus = resolutionToStatus(_optionalChain([approval, 'optionalAccess', _557 => _557.resolution]));
31689
+ const resolvedStatus = resolutionToStatus(_optionalChain([approval, 'optionalAccess', _560 => _560.resolution]));
31684
31690
  const status = resolvedStatus !== "pending" ? resolvedStatus : _nullishCoalesce(localStatus, () => ( "pending"));
31685
31691
  const batchData = _react.useMemo.call(void 0, () => approval ? approvalMetaToBatchData(approval) : null, [approval]);
31686
31692
  const { innerRef, containerStyle } = useCollapsible({ expanded });
@@ -31982,7 +31988,7 @@ function TimeTrackerPanel({
31982
31988
  error: showFieldError ? "Required if no notes added" : void 0,
31983
31989
  disableClientFilter: !!onTicketSearch,
31984
31990
  onInputChange: (value, reason) => {
31985
- if (reason === "input") _optionalChain([onTicketSearch, 'optionalCall', _558 => _558(value)]);
31991
+ if (reason === "input") _optionalChain([onTicketSearch, 'optionalCall', _561 => _561(value)]);
31986
31992
  }
31987
31993
  }
31988
31994
  ),
@@ -31997,7 +32003,7 @@ function TimeTrackerPanel({
31997
32003
  disabled: customerLocked,
31998
32004
  disableClientFilter: !!onCustomerSearch,
31999
32005
  onInputChange: (value, reason) => {
32000
- if (reason === "input") _optionalChain([onCustomerSearch, 'optionalCall', _559 => _559(value)]);
32006
+ if (reason === "input") _optionalChain([onCustomerSearch, 'optionalCall', _562 => _562(value)]);
32001
32007
  },
32002
32008
  startAdornment: customerStartAdornment,
32003
32009
  renderOption: renderCustomerOption
@@ -32090,7 +32096,7 @@ function LastEntryRow({ entry, onClick }) {
32090
32096
  {
32091
32097
  variant: "outline",
32092
32098
  size: "icon",
32093
- onClick: () => _optionalChain([onClick, 'optionalCall', _560 => _560(entry)]),
32099
+ onClick: () => _optionalChain([onClick, 'optionalCall', _563 => _563(entry)]),
32094
32100
  disabled: !onClick,
32095
32101
  "aria-label": `Open entry: ${entry.title}`,
32096
32102
  className: "h-12 w-12 shrink-0 [&_svg]:!size-6",
@@ -32134,9 +32140,9 @@ function HeaderButton({
32134
32140
  function TimeTrackerHeaderButton({ className, disabled }) {
32135
32141
  const ctx = useOptionalTimeTracker();
32136
32142
  const elapsedLabel = useTrackerClock({
32137
- status: _nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _561 => _561.status]), () => ( "ready")),
32138
- runningSince: _optionalChain([ctx, 'optionalAccess', _562 => _562.runningSince]),
32139
- accumulatedMs: _optionalChain([ctx, 'optionalAccess', _563 => _563.accumulatedMs])
32143
+ status: _nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _564 => _564.status]), () => ( "ready")),
32144
+ runningSince: _optionalChain([ctx, 'optionalAccess', _565 => _565.runningSince]),
32145
+ accumulatedMs: _optionalChain([ctx, 'optionalAccess', _566 => _566.accumulatedMs])
32140
32146
  });
32141
32147
  if (!ctx) return null;
32142
32148
  const { isOpen, open, close, status } = ctx;
@@ -32432,15 +32438,15 @@ function TicketCard({
32432
32438
  transition: sortable.transition
32433
32439
  };
32434
32440
  if (showNewMessage) style.borderColor = columnColor;
32435
- const showDeviceRow = !!(_optionalChain([ticket, 'access', _564 => _564.deviceHostnames, 'optionalAccess', _565 => _565.length]) || ticket.organizationName);
32441
+ const showDeviceRow = !!(_optionalChain([ticket, 'access', _567 => _567.deviceHostnames, 'optionalAccess', _568 => _568.length]) || ticket.organizationName);
32436
32442
  const deviceText = [
32437
- _optionalChain([ticket, 'access', _566 => _566.deviceHostnames, 'optionalAccess', _567 => _567.join, 'call', _568 => _568(", ")]),
32443
+ _optionalChain([ticket, 'access', _569 => _569.deviceHostnames, 'optionalAccess', _570 => _570.join, 'call', _571 => _571(", ")]),
32438
32444
  ticket.organizationName
32439
32445
  ].filter(Boolean).join(", ");
32440
32446
  const handleClick = (e) => {
32441
32447
  if (sortable.isDragging) e.preventDefault();
32442
32448
  };
32443
- const hasRightSection = !!(ticket.priority || _optionalChain([ticket, 'access', _569 => _569.assignees, 'optionalAccess', _570 => _570.length]) || renderAssignSlot);
32449
+ const hasRightSection = !!(ticket.priority || _optionalChain([ticket, 'access', _572 => _572.assignees, 'optionalAccess', _573 => _573.length]) || renderAssignSlot);
32444
32450
  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: [
32445
32451
  ticket.priority && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
32446
32452
  _chunkBGD345ZVcjs.Flag02Icon,
@@ -32449,7 +32455,7 @@ function TicketCard({
32449
32455
  "aria-label": `Priority: ${ticket.priority}`
32450
32456
  }
32451
32457
  ),
32452
- renderAssignSlot ? renderAssignSlot(ticket) : _optionalChain([ticket, 'access', _571 => _571.assignees, 'optionalAccess', _572 => _572.length]) ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex -space-x-2", children: [
32458
+ renderAssignSlot ? renderAssignSlot(ticket) : _optionalChain([ticket, 'access', _574 => _574.assignees, 'optionalAccess', _575 => _575.length]) ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex -space-x-2", children: [
32453
32459
  ticket.assignees.slice(0, MAX_VISIBLE_ASSIGNEES).map((a) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
32454
32460
  SquareAvatar,
32455
32461
  {
@@ -32480,7 +32486,7 @@ function TicketCard({
32480
32486
  ] }),
32481
32487
  rightSection
32482
32488
  ] }),
32483
- _optionalChain([ticket, 'access', _573 => _573.tags, 'optionalAccess', _574 => _574.length]) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketTagRow, { tags: ticket.tags }) : null,
32489
+ _optionalChain([ticket, 'access', _576 => _576.tags, 'optionalAccess', _577 => _577.length]) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketTagRow, { tags: ticket.tags }) : null,
32484
32490
  timestampLabel && tooltipLabel && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TooltipProvider, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Tooltip, { children: [
32485
32491
  /* @__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 }) }),
32486
32492
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TooltipContent, { children: tooltipLabel })
@@ -32680,7 +32686,7 @@ function ColumnBody({ column, getTicketHref, renderAssignSlot, onApprove, onReje
32680
32686
  const observer = new IntersectionObserver(
32681
32687
  (entries) => {
32682
32688
  if (entries.some((e) => e.isIntersecting)) {
32683
- _optionalChain([loadMoreRef, 'access', _575 => _575.current, 'optionalCall', _576 => _576(columnIdRef.current)]);
32689
+ _optionalChain([loadMoreRef, 'access', _578 => _578.current, 'optionalCall', _579 => _579(columnIdRef.current)]);
32684
32690
  }
32685
32691
  },
32686
32692
  { root, rootMargin: loadMoreRootMargin }
@@ -32710,7 +32716,7 @@ function ColumnBody({ column, getTicketHref, renderAssignSlot, onApprove, onReje
32710
32716
  ticket: t,
32711
32717
  columnId: column.id,
32712
32718
  columnColor: column.color,
32713
- href: _optionalChain([getTicketHref, 'optionalCall', _577 => _577(t.id)]),
32719
+ href: _optionalChain([getTicketHref, 'optionalCall', _580 => _580(t.id)]),
32714
32720
  renderAssignSlot,
32715
32721
  onApprove,
32716
32722
  onReject,
@@ -32810,17 +32816,17 @@ function Board({
32810
32816
  const pointer = _core.pointerWithin.call(void 0, args);
32811
32817
  const intersections = pointer.length > 0 ? pointer : _core.rectIntersection.call(void 0, args);
32812
32818
  const ticketHit = intersections.find(
32813
- (c) => _optionalChain([c, 'access', _578 => _578.data, 'optionalAccess', _579 => _579.droppableContainer, 'optionalAccess', _580 => _580.data, 'optionalAccess', _581 => _581.current, 'optionalAccess', _582 => _582.type]) === "ticket"
32819
+ (c) => _optionalChain([c, 'access', _581 => _581.data, 'optionalAccess', _582 => _582.droppableContainer, 'optionalAccess', _583 => _583.data, 'optionalAccess', _584 => _584.current, 'optionalAccess', _585 => _585.type]) === "ticket"
32814
32820
  );
32815
32821
  if (ticketHit) return [ticketHit];
32816
32822
  const columnHit = intersections.find(
32817
- (c) => _optionalChain([c, 'access', _583 => _583.data, 'optionalAccess', _584 => _584.droppableContainer, 'optionalAccess', _585 => _585.data, 'optionalAccess', _586 => _586.current, 'optionalAccess', _587 => _587.type]) === "column"
32823
+ (c) => _optionalChain([c, 'access', _586 => _586.data, 'optionalAccess', _587 => _587.droppableContainer, 'optionalAccess', _588 => _588.data, 'optionalAccess', _589 => _589.current, 'optionalAccess', _590 => _590.type]) === "column"
32818
32824
  );
32819
32825
  if (columnHit) {
32820
- const columnId = _optionalChain([columnHit, 'access', _588 => _588.data, 'optionalAccess', _589 => _589.droppableContainer, 'optionalAccess', _590 => _590.data, 'optionalAccess', _591 => _591.current, 'optionalAccess', _592 => _592.columnId]);
32826
+ const columnId = _optionalChain([columnHit, 'access', _591 => _591.data, 'optionalAccess', _592 => _592.droppableContainer, 'optionalAccess', _593 => _593.data, 'optionalAccess', _594 => _594.current, 'optionalAccess', _595 => _595.columnId]);
32821
32827
  const ticketsInColumn = args.droppableContainers.filter((c) => {
32822
32828
  const d = c.data.current;
32823
- return _optionalChain([d, 'optionalAccess', _593 => _593.type]) === "ticket" && d.columnId === columnId;
32829
+ return _optionalChain([d, 'optionalAccess', _596 => _596.type]) === "ticket" && d.columnId === columnId;
32824
32830
  });
32825
32831
  if (ticketsInColumn.length > 0) {
32826
32832
  const closest = _core.closestCorners.call(void 0, { ...args, droppableContainers: ticketsInColumn });
@@ -32845,20 +32851,20 @@ function Board({
32845
32851
  const overId = String(over.id);
32846
32852
  if (activeId === overId) return;
32847
32853
  const overData = over.data.current;
32848
- const fromColumnId = _optionalChain([locate, 'call', _594 => _594(items, activeId), 'optionalAccess', _595 => _595.columnId]);
32849
- const toColumnId = _optionalChain([overData, 'optionalAccess', _596 => _596.columnId]);
32854
+ const fromColumnId = _optionalChain([locate, 'call', _597 => _597(items, activeId), 'optionalAccess', _598 => _598.columnId]);
32855
+ const toColumnId = _optionalChain([overData, 'optionalAccess', _599 => _599.columnId]);
32850
32856
  if (!fromColumnId || !toColumnId || fromColumnId === toColumnId) return;
32851
32857
  const origin = dragOriginRef.current;
32852
- const isReturnToOrigin = _optionalChain([origin, 'optionalAccess', _597 => _597.fromColumnId]) === toColumnId;
32858
+ const isReturnToOrigin = _optionalChain([origin, 'optionalAccess', _600 => _600.fromColumnId]) === toColumnId;
32853
32859
  const targetCol = items.find((c) => c.id === toColumnId);
32854
- const blockedBySource = !isReturnToOrigin && !!_optionalChain([targetCol, 'optionalAccess', _598 => _598.allowedFromColumns]) && !!origin && !targetCol.allowedFromColumns.includes(origin.fromColumnId);
32855
- if (_optionalChain([targetCol, 'optionalAccess', _599 => _599.dropDisabled]) && !isReturnToOrigin || blockedBySource) return;
32860
+ const blockedBySource = !isReturnToOrigin && !!_optionalChain([targetCol, 'optionalAccess', _601 => _601.allowedFromColumns]) && !!origin && !targetCol.allowedFromColumns.includes(origin.fromColumnId);
32861
+ if (_optionalChain([targetCol, 'optionalAccess', _602 => _602.dropDisabled]) && !isReturnToOrigin || blockedBySource) return;
32856
32862
  setItems((prev) => {
32857
32863
  const fromIndex = findIndexInColumn(prev, fromColumnId, activeId);
32858
32864
  const toCol = prev.find((c) => c.id === toColumnId);
32859
32865
  if (fromIndex < 0 || !toCol) return prev;
32860
32866
  let toIndex;
32861
- if (_optionalChain([overData, 'optionalAccess', _600 => _600.type]) === "column") {
32867
+ if (_optionalChain([overData, 'optionalAccess', _603 => _603.type]) === "column") {
32862
32868
  toIndex = toCol.tickets.length;
32863
32869
  } else {
32864
32870
  const overIndex = toCol.tickets.findIndex((t) => t.id === overId);
@@ -32900,14 +32906,14 @@ function Board({
32900
32906
  const toColumnId = located.columnId;
32901
32907
  const isCrossColumn = origin.fromColumnId !== toColumnId;
32902
32908
  const targetCol = items.find((c) => c.id === toColumnId);
32903
- if (isCrossColumn && (_optionalChain([targetCol, 'optionalAccess', _601 => _601.dropDisabled]) || _optionalChain([targetCol, 'optionalAccess', _602 => _602.allowedFromColumns]) && !targetCol.allowedFromColumns.includes(origin.fromColumnId))) {
32909
+ if (isCrossColumn && (_optionalChain([targetCol, 'optionalAccess', _604 => _604.dropDisabled]) || _optionalChain([targetCol, 'optionalAccess', _605 => _605.allowedFromColumns]) && !targetCol.allowedFromColumns.includes(origin.fromColumnId))) {
32904
32910
  setItems(columns);
32905
32911
  return;
32906
32912
  }
32907
32913
  let finalIndex = located.index;
32908
- let finalColumnTickets = _nullishCoalesce(_optionalChain([items, 'access', _603 => _603.find, 'call', _604 => _604((c) => c.id === toColumnId), 'optionalAccess', _605 => _605.tickets]), () => ( []));
32914
+ let finalColumnTickets = _nullishCoalesce(_optionalChain([items, 'access', _606 => _606.find, 'call', _607 => _607((c) => c.id === toColumnId), 'optionalAccess', _608 => _608.tickets]), () => ( []));
32909
32915
  const overData = over.data.current;
32910
- if (_optionalChain([overData, 'optionalAccess', _606 => _606.type]) === "ticket") {
32916
+ if (_optionalChain([overData, 'optionalAccess', _609 => _609.type]) === "ticket") {
32911
32917
  const overIndex = findIndexInColumn(items, toColumnId, String(over.id));
32912
32918
  if (overIndex >= 0 && overIndex !== located.index) {
32913
32919
  finalColumnTickets = _sortable.arrayMove.call(void 0, finalColumnTickets, located.index, overIndex);
@@ -32927,8 +32933,8 @@ function Board({
32927
32933
  ticketId: origin.ticketId,
32928
32934
  fromColumnId: origin.fromColumnId,
32929
32935
  toColumnId,
32930
- afterTicketId: _nullishCoalesce(_optionalChain([finalColumnTickets, 'access', _607 => _607[finalIndex - 1], 'optionalAccess', _608 => _608.id]), () => ( null)),
32931
- beforeTicketId: _nullishCoalesce(_optionalChain([finalColumnTickets, 'access', _609 => _609[finalIndex + 1], 'optionalAccess', _610 => _610.id]), () => ( null))
32936
+ afterTicketId: _nullishCoalesce(_optionalChain([finalColumnTickets, 'access', _610 => _610[finalIndex - 1], 'optionalAccess', _611 => _611.id]), () => ( null)),
32937
+ beforeTicketId: _nullishCoalesce(_optionalChain([finalColumnTickets, 'access', _612 => _612[finalIndex + 1], 'optionalAccess', _613 => _613.id]), () => ( null))
32932
32938
  });
32933
32939
  };
32934
32940
  const handleDragCancel = () => {
@@ -32957,8 +32963,8 @@ function Board({
32957
32963
  children: items.map((column, i) => {
32958
32964
  const prev = items[i - 1];
32959
32965
  const next = items[i + 1];
32960
- const joinLeft = !!(column.system && _optionalChain([prev, 'optionalAccess', _611 => _611.system]));
32961
- const joinRight = !!(column.system && _optionalChain([next, 'optionalAccess', _612 => _612.system]));
32966
+ const joinLeft = !!(column.system && _optionalChain([prev, 'optionalAccess', _614 => _614.system]));
32967
+ const joinRight = !!(column.system && _optionalChain([next, 'optionalAccess', _615 => _615.system]));
32962
32968
  const showGap = i > 0 && !joinLeft;
32963
32969
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, React102.Fragment, { children: [
32964
32970
  showGap && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "aria-hidden": true, className: "w-[var(--spacing-system-mf)] shrink-0" }),
@@ -33011,7 +33017,7 @@ function Board({
33011
33017
  {
33012
33018
  ticket: activeTicket.ticket,
33013
33019
  columnId: activeTicket.columnId,
33014
- columnColor: _optionalChain([items, 'access', _613 => _613.find, 'call', _614 => _614((c) => c.id === activeTicket.columnId), 'optionalAccess', _615 => _615.color]),
33020
+ columnColor: _optionalChain([items, 'access', _616 => _616.find, 'call', _617 => _617((c) => c.id === activeTicket.columnId), 'optionalAccess', _618 => _618.color]),
33015
33021
  isOverlay: true
33016
33022
  }
33017
33023
  ) : null })
@@ -33027,7 +33033,7 @@ function locate(cols, ticketId) {
33027
33033
  return null;
33028
33034
  }
33029
33035
  function findIndexInColumn(cols, columnId, ticketId) {
33030
- return _nullishCoalesce(_optionalChain([cols, 'access', _616 => _616.find, 'call', _617 => _617((c) => c.id === columnId), 'optionalAccess', _618 => _618.tickets, 'access', _619 => _619.findIndex, 'call', _620 => _620((t) => t.id === ticketId)]), () => ( -1));
33036
+ return _nullishCoalesce(_optionalChain([cols, 'access', _619 => _619.find, 'call', _620 => _620((c) => c.id === columnId), 'optionalAccess', _621 => _621.tickets, 'access', _622 => _622.findIndex, 'call', _623 => _623((t) => t.id === ticketId)]), () => ( -1));
33031
33037
  }
33032
33038
 
33033
33039
  // src/components/features/board/types.ts
@@ -33275,7 +33281,7 @@ function Header2({ config, platform }) {
33275
33281
  className: _chunkFIG2RKZFcjs.cn.call(void 0,
33276
33282
  "flex justify-start w-full",
33277
33283
  "font-bold text-[16px] leading-none tracking-[-0.32px]",
33278
- index < (_nullishCoalesce(_optionalChain([item, 'access', _621 => _621.children, 'optionalAccess', _622 => _622.length]), () => ( 0))) - 1 && "mb-1",
33284
+ index < (_nullishCoalesce(_optionalChain([item, 'access', _624 => _624.children, 'optionalAccess', _625 => _625.length]), () => ( 0))) - 1 && "mb-1",
33279
33285
  "text-ods-text-primary",
33280
33286
  // All dropdown items use primary text color
33281
33287
  child.isActive && "bg-ods-bg-hover"
@@ -33367,7 +33373,7 @@ function Header2({ config, platform }) {
33367
33373
  style: config.style,
33368
33374
  children: [
33369
33375
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-start flex-shrink-0", children: [
33370
- _optionalChain([config, 'access', _623 => _623.actions, 'optionalAccess', _624 => _624.left]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center", children: config.actions.left }),
33376
+ _optionalChain([config, 'access', _626 => _626.actions, 'optionalAccess', _627 => _627.left]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center", children: config.actions.left }),
33371
33377
  /* @__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 })
33372
33378
  ] }),
33373
33379
  config.navigation && config.navigation.items.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -33384,7 +33390,7 @@ function Header2({ config, platform }) {
33384
33390
  }
33385
33391
  ),
33386
33392
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-end gap-4 flex-shrink-0", children: [
33387
- _optionalChain([config, 'access', _625 => _625.actions, 'optionalAccess', _626 => _626.right]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden md:flex items-center gap-4", children: config.actions.right }),
33393
+ _optionalChain([config, 'access', _628 => _628.actions, 'optionalAccess', _629 => _629.right]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden md:flex items-center gap-4", children: config.actions.right }),
33388
33394
  config.mobile && config.mobile.enabled && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
33389
33395
  _chunkNYIZVI4Icjs.Button,
33390
33396
  {
@@ -33392,10 +33398,10 @@ function Header2({ config, platform }) {
33392
33398
  size: "icon",
33393
33399
  className: "flex md:hidden",
33394
33400
  onClick: () => {
33395
- _optionalChain([config, 'access', _627 => _627.mobile, 'optionalAccess', _628 => _628.onToggle, 'optionalCall', _629 => _629()]);
33401
+ _optionalChain([config, 'access', _630 => _630.mobile, 'optionalAccess', _631 => _631.onToggle, 'optionalCall', _632 => _632()]);
33396
33402
  },
33397
- "aria-label": _optionalChain([config, 'access', _630 => _630.mobile, 'optionalAccess', _631 => _631.isOpen]) ? "Close menu" : "Open menu",
33398
- leftIcon: _optionalChain([config, 'access', _632 => _632.mobile, 'optionalAccess', _633 => _633.menuIcon]) || /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGD345ZVcjs.Menu01Icon, {})
33403
+ "aria-label": _optionalChain([config, 'access', _633 => _633.mobile, 'optionalAccess', _634 => _634.isOpen]) ? "Close menu" : "Open menu",
33404
+ leftIcon: _optionalChain([config, 'access', _635 => _635.mobile, 'optionalAccess', _636 => _636.menuIcon]) || /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGD345ZVcjs.Menu01Icon, {})
33399
33405
  }
33400
33406
  )
33401
33407
  ] })
@@ -33412,10 +33418,10 @@ function Header2({ config, platform }) {
33412
33418
  // src/components/navigation/header-skeleton.tsx
33413
33419
 
33414
33420
  function HeaderSkeleton({ config }) {
33415
- const showNavigation = _optionalChain([config, 'optionalAccess', _634 => _634.navigation]) && config.navigation.items.length > 0;
33416
- const showActions = _optionalChain([config, 'optionalAccess', _635 => _635.actions, 'optionalAccess', _636 => _636.right]) && config.actions.right.length > 0;
33417
- const showMobileMenu = _optionalChain([config, 'optionalAccess', _637 => _637.mobile, 'optionalAccess', _638 => _638.enabled]);
33418
- const isAdminHeader = _optionalChain([config, 'optionalAccess', _639 => _639.className, 'optionalAccess', _640 => _640.includes, 'call', _641 => _641("admin")]);
33421
+ const showNavigation = _optionalChain([config, 'optionalAccess', _637 => _637.navigation]) && config.navigation.items.length > 0;
33422
+ const showActions = _optionalChain([config, 'optionalAccess', _638 => _638.actions, 'optionalAccess', _639 => _639.right]) && config.actions.right.length > 0;
33423
+ const showMobileMenu = _optionalChain([config, 'optionalAccess', _640 => _640.mobile, 'optionalAccess', _641 => _641.enabled]);
33424
+ const isAdminHeader = _optionalChain([config, 'optionalAccess', _642 => _642.className, 'optionalAccess', _643 => _643.includes, 'call', _644 => _644("admin")]);
33419
33425
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "sticky top-0 z-40 w-full", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
33420
33426
  "header",
33421
33427
  {
@@ -33424,11 +33430,11 @@ function HeaderSkeleton({ config }) {
33424
33430
  "bg-ods-card border-b border-ods-border backdrop-blur-sm",
33425
33431
  "px-6 py-3",
33426
33432
  "transition-opacity duration-300 ease-in-out",
33427
- _optionalChain([config, 'optionalAccess', _642 => _642.className])
33433
+ _optionalChain([config, 'optionalAccess', _645 => _645.className])
33428
33434
  ),
33429
33435
  children: [
33430
33436
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-start flex-shrink-0", children: [
33431
- isAdminHeader && _optionalChain([config, 'optionalAccess', _643 => _643.actions, 'optionalAccess', _644 => _644.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" }) }),
33437
+ isAdminHeader && _optionalChain([config, 'optionalAccess', _646 => _646.actions, 'optionalAccess', _647 => _647.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" }) }),
33432
33438
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
33433
33439
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-8 w-8 bg-ods-border rounded animate-pulse" }),
33434
33440
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-6 w-24 bg-ods-border rounded animate-pulse" })
@@ -33436,8 +33442,8 @@ function HeaderSkeleton({ config }) {
33436
33442
  ] }),
33437
33443
  showNavigation && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "nav", { className: _chunkFIG2RKZFcjs.cn.call(void 0,
33438
33444
  "hidden md:flex items-center gap-2",
33439
- _optionalChain([config, 'optionalAccess', _645 => _645.navigation, 'optionalAccess', _646 => _646.position]) === "center" && "absolute left-1/2 transform -translate-x-1/2",
33440
- _optionalChain([config, 'optionalAccess', _647 => _647.navigation, 'optionalAccess', _648 => _648.position]) === "right" && "ml-auto mr-4"
33445
+ _optionalChain([config, 'optionalAccess', _648 => _648.navigation, 'optionalAccess', _649 => _649.position]) === "center" && "absolute left-1/2 transform -translate-x-1/2",
33446
+ _optionalChain([config, 'optionalAccess', _650 => _650.navigation, 'optionalAccess', _651 => _651.position]) === "right" && "ml-auto mr-4"
33441
33447
  ), children: [
33442
33448
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-10 w-20 bg-ods-border rounded animate-pulse" }),
33443
33449
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-10 w-28 bg-ods-border rounded animate-pulse" }),
@@ -33485,7 +33491,7 @@ function MobileNavPanel({ isOpen, config }) {
33485
33491
  _react.useEffect.call(void 0, () => {
33486
33492
  const handleKeyDown = (e) => {
33487
33493
  if (e.key === "Escape" && isOpen) {
33488
- _optionalChain([config, 'access', _649 => _649.onClose, 'optionalCall', _650 => _650()]);
33494
+ _optionalChain([config, 'access', _652 => _652.onClose, 'optionalCall', _653 => _653()]);
33489
33495
  }
33490
33496
  };
33491
33497
  if (isOpen) {
@@ -33502,7 +33508,7 @@ function MobileNavPanel({ isOpen, config }) {
33502
33508
  if (item.onClick) {
33503
33509
  item.onClick();
33504
33510
  }
33505
- _optionalChain([config, 'access', _651 => _651.onClose, 'optionalCall', _652 => _652()]);
33511
+ _optionalChain([config, 'access', _654 => _654.onClose, 'optionalCall', _655 => _655()]);
33506
33512
  };
33507
33513
  if (item.href) {
33508
33514
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -33672,7 +33678,7 @@ function SlidingSidebar({ config }) {
33672
33678
  variant: "transparent",
33673
33679
  size: "default",
33674
33680
  onClick: () => {
33675
- _optionalChain([item, 'access', _653 => _653.onClick, 'optionalCall', _654 => _654()]);
33681
+ _optionalChain([item, 'access', _656 => _656.onClick, 'optionalCall', _657 => _657()]);
33676
33682
  config.onClose();
33677
33683
  },
33678
33684
  leftIcon: item.icon,
@@ -33695,7 +33701,7 @@ function SlidingSidebar({ config }) {
33695
33701
  variant: "transparent",
33696
33702
  size: "default",
33697
33703
  onClick: () => {
33698
- _optionalChain([item, 'access', _655 => _655.onClick, 'optionalCall', _656 => _656()]);
33704
+ _optionalChain([item, 'access', _658 => _658.onClick, 'optionalCall', _659 => _659()]);
33699
33705
  config.onClose();
33700
33706
  },
33701
33707
  leftIcon: item.icon,
@@ -33822,7 +33828,7 @@ function StickySectionNav({
33822
33828
  ] });
33823
33829
  }
33824
33830
  function useSectionNavigation(sections, options) {
33825
- const [activeSection, setActiveSection] = _react.useState.call(void 0, _optionalChain([sections, 'access', _657 => _657[0], 'optionalAccess', _658 => _658.id]) || "");
33831
+ const [activeSection, setActiveSection] = _react.useState.call(void 0, _optionalChain([sections, 'access', _660 => _660[0], 'optionalAccess', _661 => _661.id]) || "");
33826
33832
  const isScrollingFromClick = _react.useRef.call(void 0, false);
33827
33833
  const { offset: offset2 = 100 } = options || {};
33828
33834
  const handleSectionClick = _react.useCallback.call(void 0, (sectionId) => {
@@ -33846,7 +33852,7 @@ function useSectionNavigation(sections, options) {
33846
33852
  const handleScroll = () => {
33847
33853
  if (isScrollingFromClick.current) return;
33848
33854
  const scrollPosition = window.scrollY + offset2 + 50;
33849
- let currentSection = _optionalChain([sections, 'access', _659 => _659[0], 'optionalAccess', _660 => _660.id]) || "";
33855
+ let currentSection = _optionalChain([sections, 'access', _662 => _662[0], 'optionalAccess', _663 => _663.id]) || "";
33850
33856
  for (let i = sections.length - 1; i >= 0; i--) {
33851
33857
  const element = document.getElementById(sections[i].id);
33852
33858
  if (element && scrollPosition >= element.offsetTop) {
@@ -34047,7 +34053,7 @@ function NavigationSidebar({ config, disabled = false }) {
34047
34053
  } else {
34048
34054
  setDesktopMinimized((prev) => !prev);
34049
34055
  }
34050
- _optionalChain([config, 'access', _661 => _661.onToggleMinimized, 'optionalCall', _662 => _662()]);
34056
+ _optionalChain([config, 'access', _664 => _664.onToggleMinimized, 'optionalCall', _665 => _665()]);
34051
34057
  }, [isTablet, setDesktopMinimized, config]);
34052
34058
  const closeOverlay = _react.useCallback.call(void 0, () => {
34053
34059
  setTabletMinimized(true);
@@ -34061,11 +34067,11 @@ function NavigationSidebar({ config, disabled = false }) {
34061
34067
  return () => document.removeEventListener("keydown", handleKeyDown);
34062
34068
  }, [isOverlayOpen, closeOverlay]);
34063
34069
  const handleItemClick = _react.useCallback.call(void 0, (item, event) => {
34064
- _optionalChain([event, 'optionalAccess', _663 => _663.stopPropagation, 'call', _664 => _664()]);
34070
+ _optionalChain([event, 'optionalAccess', _666 => _666.stopPropagation, 'call', _667 => _667()]);
34065
34071
  if (item.onClick) {
34066
34072
  item.onClick();
34067
34073
  } else if (item.path) {
34068
- _optionalChain([config, 'access', _665 => _665.onNavigate, 'optionalCall', _666 => _666(item.path)]);
34074
+ _optionalChain([config, 'access', _668 => _668.onNavigate, 'optionalCall', _669 => _669(item.path)]);
34069
34075
  }
34070
34076
  if (isTablet) setTabletMinimized(true);
34071
34077
  }, [config, isTablet]);
@@ -34185,11 +34191,11 @@ function HeaderGlobalSearch({
34185
34191
  };
34186
34192
  const handleSubmit = (e) => {
34187
34193
  e.preventDefault();
34188
- _optionalChain([onSubmit, 'optionalCall', _667 => _667(currentValue)]);
34194
+ _optionalChain([onSubmit, 'optionalCall', _670 => _670(currentValue)]);
34189
34195
  };
34190
34196
  const handleKeyDown = (e) => {
34191
34197
  if (e.key === "Enter") {
34192
- _optionalChain([onSubmit, 'optionalCall', _668 => _668(currentValue)]);
34198
+ _optionalChain([onSubmit, 'optionalCall', _671 => _671(currentValue)]);
34193
34199
  }
34194
34200
  };
34195
34201
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
@@ -34283,8 +34289,8 @@ function HeaderOrganizationFilter({
34283
34289
  className
34284
34290
  }) {
34285
34291
  const selectedOrg = organizations.find((o) => o.id === selectedOrgId);
34286
- const displayName = _optionalChain([selectedOrg, 'optionalAccess', _669 => _669.name]) || "All Organizations";
34287
- const deviceCount = _nullishCoalesce(_optionalChain([selectedOrg, 'optionalAccess', _670 => _670.deviceCount]), () => ( totalDeviceCount));
34292
+ const displayName = _optionalChain([selectedOrg, 'optionalAccess', _672 => _672.name]) || "All Organizations";
34293
+ const deviceCount = _nullishCoalesce(_optionalChain([selectedOrg, 'optionalAccess', _673 => _673.deviceCount]), () => ( totalDeviceCount));
34288
34294
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkNYIZVI4Icjs.DropdownMenu, { children: [
34289
34295
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNYIZVI4Icjs.DropdownMenuTrigger, { asChild: true, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
34290
34296
  "button",
@@ -34309,11 +34315,11 @@ function HeaderOrganizationFilter({
34309
34315
  }
34310
34316
  ) }),
34311
34317
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkNYIZVI4Icjs.DropdownMenuContent, { align: "end", className: "min-w-[240px]", children: [
34312
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNYIZVI4Icjs.DropdownMenuItem, { onClick: () => _optionalChain([onOrgChange, 'optionalCall', _671 => _671("")]), children: "All Organizations" }),
34318
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNYIZVI4Icjs.DropdownMenuItem, { onClick: () => _optionalChain([onOrgChange, 'optionalCall', _674 => _674("")]), children: "All Organizations" }),
34313
34319
  organizations.map((org) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
34314
34320
  _chunkNYIZVI4Icjs.DropdownMenuItem,
34315
34321
  {
34316
- onClick: () => _optionalChain([onOrgChange, 'optionalCall', _672 => _672(org.id)]),
34322
+ onClick: () => _optionalChain([onOrgChange, 'optionalCall', _675 => _675(org.id)]),
34317
34323
  children: org.name
34318
34324
  },
34319
34325
  org.id
@@ -34503,9 +34509,9 @@ function NotificationsHeaderButton({
34503
34509
  dimmedClass
34504
34510
  }) {
34505
34511
  const ctx = useOptionalNotifications();
34506
- const hasUnread = (_nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _673 => _673.unreadCount]), () => ( fallbackUnreadCount))) > 0;
34507
- const isActive = _nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _674 => _674.isOpen]), () => ( false));
34508
- const onClick = _optionalChain([ctx, 'optionalAccess', _675 => _675.toggle]);
34512
+ const hasUnread = (_nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _676 => _676.unreadCount]), () => ( fallbackUnreadCount))) > 0;
34513
+ const isActive = _nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _677 => _677.isOpen]), () => ( false));
34514
+ const onClick = _optionalChain([ctx, 'optionalAccess', _678 => _678.toggle]);
34509
34515
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
34510
34516
  HeaderButton,
34511
34517
  {
@@ -34569,7 +34575,7 @@ var MobileBurgerMenu = React118.default.memo(function MobileBurgerMenu2({
34569
34575
  if (item.onClick) {
34570
34576
  item.onClick();
34571
34577
  } else if (item.path) {
34572
- _optionalChain([config, 'access', _676 => _676.onNavigate, 'optionalCall', _677 => _677(item.path)]);
34578
+ _optionalChain([config, 'access', _679 => _679.onNavigate, 'optionalCall', _680 => _680(item.path)]);
34573
34579
  }
34574
34580
  onClose();
34575
34581
  }, [config, onClose]);
@@ -34830,7 +34836,7 @@ var AppLayoutDrawerRoot = ({
34830
34836
  const handleOpenChange = React111.useCallback(
34831
34837
  (next) => {
34832
34838
  if (!isControlled) setInternalOpen(next);
34833
- _optionalChain([onOpenChange, 'optionalCall', _678 => _678(next)]);
34839
+ _optionalChain([onOpenChange, 'optionalCall', _681 => _681(next)]);
34834
34840
  },
34835
34841
  [isControlled, onOpenChange]
34836
34842
  );
@@ -34840,10 +34846,10 @@ var AppLayoutDrawerRoot = ({
34840
34846
  const handleOpenChangeRef = React111.useRef(handleOpenChange);
34841
34847
  handleOpenChangeRef.current = handleOpenChange;
34842
34848
  React111.useEffect(() => {
34843
- if (open) _optionalChain([coordination, 'optionalAccess', _679 => _679.notifyDrawerDidOpen, 'call', _680 => _680()]);
34849
+ if (open) _optionalChain([coordination, 'optionalAccess', _682 => _682.notifyDrawerDidOpen, 'call', _683 => _683()]);
34844
34850
  }, [open, coordination]);
34845
34851
  React111.useEffect(() => {
34846
- return _optionalChain([coordination, 'optionalAccess', _681 => _681.registerDrawer, 'call', _682 => _682({
34852
+ return _optionalChain([coordination, 'optionalAccess', _684 => _684.registerDrawer, 'call', _685 => _685({
34847
34853
  close: () => {
34848
34854
  if (openRef.current) handleOpenChangeRef.current(false);
34849
34855
  }
@@ -35227,10 +35233,10 @@ var AppLayoutDrawerContent = React111.forwardRef(
35227
35233
  ),
35228
35234
  style,
35229
35235
  onInteractOutside: (event) => {
35230
- _optionalChain([onInteractOutside, 'optionalCall', _683 => _683(event)]);
35236
+ _optionalChain([onInteractOutside, 'optionalCall', _686 => _686(event)]);
35231
35237
  if (event.defaultPrevented) return;
35232
35238
  const target = event.target;
35233
- const isInsideContainer = !!target && !!_optionalChain([portalContainer, 'optionalAccess', _684 => _684.contains, 'call', _685 => _685(target)]);
35239
+ const isInsideContainer = !!target && !!_optionalChain([portalContainer, 'optionalAccess', _687 => _687.contains, 'call', _688 => _688(target)]);
35234
35240
  if (!isInsideContainer) {
35235
35241
  event.preventDefault();
35236
35242
  return;
@@ -35643,7 +35649,7 @@ var ShellTypeBadge = ({
35643
35649
  className,
35644
35650
  iconClassName
35645
35651
  }) => {
35646
- const normalizedType = _optionalChain([shellType, 'optionalAccess', _686 => _686.toUpperCase, 'call', _687 => _687()]);
35652
+ const normalizedType = _optionalChain([shellType, 'optionalAccess', _689 => _689.toUpperCase, 'call', _690 => _690()]);
35647
35653
  const label = getShellLabel(normalizedType);
35648
35654
  const { icon: IconComponent, props: iconProps } = _nullishCoalesce(shellIconMap[normalizedType], () => ( defaultIconConfig));
35649
35655
  const defaultIconClassName = "className" in iconProps ? iconProps.className : void 0;
@@ -36030,12 +36036,12 @@ function OnboardingWalkthrough({
36030
36036
  }
36031
36037
  }, [state.completedSteps, markComplete]);
36032
36038
  const handleStepSkip = (step) => {
36033
- _optionalChain([step, 'access', _688 => _688.onSkip, 'optionalCall', _689 => _689()]);
36039
+ _optionalChain([step, 'access', _691 => _691.onSkip, 'optionalCall', _692 => _692()]);
36034
36040
  markSkipped(step.id);
36035
36041
  };
36036
36042
  const handleDismiss = () => {
36037
36043
  dismissOnboarding();
36038
- _optionalChain([onDismiss, 'optionalCall', _690 => _690()]);
36044
+ _optionalChain([onDismiss, 'optionalCall', _693 => _693()]);
36039
36045
  };
36040
36046
  if (state.dismissed) {
36041
36047
  return null;
@@ -36165,7 +36171,7 @@ var LogCard = ({ log, isLast, showConnector, onClick }) => {
36165
36171
  onKeyDown: (e) => {
36166
36172
  if (e.key === "Enter" || e.key === " ") {
36167
36173
  e.preventDefault();
36168
- _optionalChain([onClick, 'optionalCall', _691 => _691()]);
36174
+ _optionalChain([onClick, 'optionalCall', _694 => _694()]);
36169
36175
  }
36170
36176
  },
36171
36177
  children: [
@@ -36266,7 +36272,7 @@ var LogsList = React115.forwardRef(({
36266
36272
  log,
36267
36273
  isLast: index === logs.length - 1,
36268
36274
  showConnector,
36269
- onClick: () => _optionalChain([onLogClick, 'optionalCall', _692 => _692(log)])
36275
+ onClick: () => _optionalChain([onLogClick, 'optionalCall', _695 => _695(log)])
36270
36276
  },
36271
36277
  log.id
36272
36278
  ))
@@ -36367,7 +36373,7 @@ var Slider = React117.forwardRef(
36367
36373
  ({ className, value = [0], onValueChange, min = 0, max = 100, step = 1, ...props }, ref) => {
36368
36374
  const handleChange = (e) => {
36369
36375
  const newValue = [Number(e.target.value)];
36370
- _optionalChain([onValueChange, 'optionalCall', _693 => _693(newValue)]);
36376
+ _optionalChain([onValueChange, 'optionalCall', _696 => _696(newValue)]);
36371
36377
  };
36372
36378
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
36373
36379
  "input",
@@ -36801,7 +36807,7 @@ function CursorPaginationSimple({
36801
36807
  {
36802
36808
  variant: "transparent",
36803
36809
  size: "icon",
36804
- onClick: () => _optionalChain([onPrevious, 'optionalCall', _694 => _694("")]),
36810
+ onClick: () => _optionalChain([onPrevious, 'optionalCall', _697 => _697("")]),
36805
36811
  disabled: !hasPreviousPage || loading,
36806
36812
  className: "h-8 w-8",
36807
36813
  leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronLeft, { className: "h-4 w-4" }),
@@ -36813,7 +36819,7 @@ function CursorPaginationSimple({
36813
36819
  {
36814
36820
  variant: "transparent",
36815
36821
  size: "icon",
36816
- onClick: () => _optionalChain([onNext, 'optionalCall', _695 => _695("")]),
36822
+ onClick: () => _optionalChain([onNext, 'optionalCall', _698 => _698("")]),
36817
36823
  disabled: !hasNextPage || loading,
36818
36824
  className: "h-8 w-8",
36819
36825
  rightIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronRight, { className: "h-4 w-4" }),
@@ -36833,8 +36839,8 @@ function TableEmptyState({ message: message2, icon, action, className }) {
36833
36839
  icon: _nullishCoalesce(icon, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWZW7C7TFcjs.SearchIcon, {}))),
36834
36840
  title: _nullishCoalesce(message2, () => ( "No results found")),
36835
36841
  description: message2 == null ? "Try adjusting your search or filters" : void 0,
36836
- buttonLabel: _optionalChain([action, 'optionalAccess', _696 => _696.label]),
36837
- onButtonClick: _optionalChain([action, 'optionalAccess', _697 => _697.onClick]),
36842
+ buttonLabel: _optionalChain([action, 'optionalAccess', _699 => _699.label]),
36843
+ onButtonClick: _optionalChain([action, 'optionalAccess', _700 => _700.onClick]),
36838
36844
  className: _chunkFIG2RKZFcjs.cn.call(void 0, "py-[var(--spacing-system-xxl)]", className)
36839
36845
  }
36840
36846
  );
@@ -36855,7 +36861,7 @@ function TableColumnFilterDropdown({
36855
36861
  placement = "bottom-start",
36856
36862
  dropdownClassName = "min-w-[240px]"
36857
36863
  }) {
36858
- const activeCount = _optionalChain([filters, 'optionalAccess', _698 => _698[columnKey], 'optionalAccess', _699 => _699.length]) || 0;
36864
+ const activeCount = _optionalChain([filters, 'optionalAccess', _701 => _701[columnKey], 'optionalAccess', _702 => _702.length]) || 0;
36859
36865
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
36860
36866
  FiltersDropdown,
36861
36867
  {
@@ -36898,7 +36904,7 @@ function TableColumnFilterDropdown({
36898
36904
  delete newFilters[columnKey];
36899
36905
  onFilterChange(newFilters);
36900
36906
  },
36901
- currentFilters: { [columnKey]: _optionalChain([filters, 'optionalAccess', _700 => _700[columnKey]]) || [] },
36907
+ currentFilters: { [columnKey]: _optionalChain([filters, 'optionalAccess', _703 => _703[columnKey]]) || [] },
36902
36908
  placement,
36903
36909
  dropdownClassName
36904
36910
  }
@@ -37108,7 +37114,7 @@ function TableCardSkeleton({
37108
37114
  className,
37109
37115
  rowClassName
37110
37116
  }) {
37111
- const primaryKey = _optionalChain([(_nullishCoalesce(columns.find((c) => /flex-(1|\[)/.test(c.width || "")), () => ( columns[0]))), 'optionalAccess', _701 => _701.key]);
37117
+ const primaryKey = _optionalChain([(_nullishCoalesce(columns.find((c) => /flex-(1|\[)/.test(c.width || "")), () => ( columns[0]))), 'optionalAccess', _704 => _704.key]);
37112
37118
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: Array.from({ length: rows }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
37113
37119
  "div",
37114
37120
  {
@@ -37201,7 +37207,7 @@ function TableRow({
37201
37207
  const keys = column.key.split(".");
37202
37208
  let value = item;
37203
37209
  for (const key of keys) {
37204
- value = _optionalChain([value, 'optionalAccess', _702 => _702[key]]);
37210
+ value = _optionalChain([value, 'optionalAccess', _705 => _705[key]]);
37205
37211
  }
37206
37212
  if (value === null || value === void 0) {
37207
37213
  return "-";
@@ -37290,7 +37296,7 @@ function useTableMotion(enabled) {
37290
37296
  // src/components/ui/table/table.tsx
37291
37297
 
37292
37298
  function injectSyntheticColumns(columns, rowActions, renderRowActions, rowHref) {
37293
- const hasActions = Boolean(_optionalChain([rowActions, 'optionalAccess', _703 => _703.length])) || Boolean(renderRowActions);
37299
+ const hasActions = Boolean(_optionalChain([rowActions, 'optionalAccess', _706 => _706.length])) || Boolean(renderRowActions);
37294
37300
  const result = [...columns];
37295
37301
  if (hasActions) {
37296
37302
  const actionsColumn = {
@@ -37386,7 +37392,7 @@ function Table({
37386
37392
  return rowKey(item);
37387
37393
  }
37388
37394
  const key = item[rowKey];
37389
- return _optionalChain([key, 'optionalAccess', _704 => _704.toString, 'call', _705 => _705()]) || index.toString();
37395
+ return _optionalChain([key, 'optionalAccess', _707 => _707.toString, 'call', _708 => _708()]) || index.toString();
37390
37396
  };
37391
37397
  const getRowClassName = (item, index) => {
37392
37398
  if (typeof rowClassName === "function") {
@@ -37420,23 +37426,23 @@ function Table({
37420
37426
  const allSelected = selectedRows.length > 0 && selectedRows.length === data.length;
37421
37427
  const someSelected = selectedRows.length > 0 && selectedRows.length < data.length;
37422
37428
  const sentinelRef = _react.useRef.call(void 0, null);
37423
- const onLoadMoreRef = _react.useRef.call(void 0, _optionalChain([infiniteScroll, 'optionalAccess', _706 => _706.onLoadMore]));
37424
- onLoadMoreRef.current = _optionalChain([infiniteScroll, 'optionalAccess', _707 => _707.onLoadMore]);
37429
+ const onLoadMoreRef = _react.useRef.call(void 0, _optionalChain([infiniteScroll, 'optionalAccess', _709 => _709.onLoadMore]));
37430
+ onLoadMoreRef.current = _optionalChain([infiniteScroll, 'optionalAccess', _710 => _710.onLoadMore]);
37425
37431
  _react.useEffect.call(void 0, () => {
37426
- if (!_optionalChain([infiniteScroll, 'optionalAccess', _708 => _708.hasNextPage]) || infiniteScroll.isFetchingNextPage) return;
37432
+ if (!_optionalChain([infiniteScroll, 'optionalAccess', _711 => _711.hasNextPage]) || infiniteScroll.isFetchingNextPage) return;
37427
37433
  const sentinel = sentinelRef.current;
37428
37434
  if (!sentinel) return;
37429
37435
  const observer = new IntersectionObserver(
37430
37436
  (entries) => {
37431
- if (_optionalChain([entries, 'access', _709 => _709[0], 'optionalAccess', _710 => _710.isIntersecting])) {
37432
- _optionalChain([onLoadMoreRef, 'access', _711 => _711.current, 'optionalCall', _712 => _712()]);
37437
+ if (_optionalChain([entries, 'access', _712 => _712[0], 'optionalAccess', _713 => _713.isIntersecting])) {
37438
+ _optionalChain([onLoadMoreRef, 'access', _714 => _714.current, 'optionalCall', _715 => _715()]);
37433
37439
  }
37434
37440
  },
37435
37441
  { rootMargin: "200px" }
37436
37442
  );
37437
37443
  observer.observe(sentinel);
37438
37444
  return () => observer.disconnect();
37439
- }, [_optionalChain([infiniteScroll, 'optionalAccess', _713 => _713.hasNextPage]), _optionalChain([infiniteScroll, 'optionalAccess', _714 => _714.isFetchingNextPage])]);
37445
+ }, [_optionalChain([infiniteScroll, 'optionalAccess', _716 => _716.hasNextPage]), _optionalChain([infiniteScroll, 'optionalAccess', _717 => _717.isFetchingNextPage])]);
37440
37446
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkFIG2RKZFcjs.cn.call(void 0, "flex flex-col gap-1 w-full", containerClassName), children: [
37441
37447
  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: [
37442
37448
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "text-ods-text-secondary text-sm", children: [
@@ -37506,14 +37512,14 @@ function Table({
37506
37512
  selected: isRowSelected(item),
37507
37513
  onSelect: handleSelectRow,
37508
37514
  animateRowReorder,
37509
- motionDiv: _optionalChain([tableMotion, 'optionalAccess', _715 => _715.motionDiv])
37515
+ motionDiv: _optionalChain([tableMotion, 'optionalAccess', _718 => _718.motionDiv])
37510
37516
  },
37511
37517
  getRowKey(item, index)
37512
37518
  ));
37513
- const LayoutGroup = _optionalChain([tableMotion, 'optionalAccess', _716 => _716.LayoutGroup]);
37519
+ const LayoutGroup = _optionalChain([tableMotion, 'optionalAccess', _719 => _719.LayoutGroup]);
37514
37520
  return animateRowReorder && LayoutGroup ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, LayoutGroup, { children: rows }) : rows;
37515
37521
  })(),
37516
- _optionalChain([infiniteScroll, 'optionalAccess', _717 => _717.isFetchingNextPage]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
37522
+ _optionalChain([infiniteScroll, 'optionalAccess', _720 => _720.isFetchingNextPage]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
37517
37523
  TableCardSkeleton,
37518
37524
  {
37519
37525
  columns,
@@ -37522,7 +37528,7 @@ function Table({
37522
37528
  hasChevron: Boolean(rowHref)
37523
37529
  }
37524
37530
  ),
37525
- _optionalChain([infiniteScroll, 'optionalAccess', _718 => _718.hasNextPage]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: sentinelRef, className: "h-1", "aria-hidden": "true" }),
37531
+ _optionalChain([infiniteScroll, 'optionalAccess', _721 => _721.hasNextPage]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: sentinelRef, className: "h-1", "aria-hidden": "true" }),
37526
37532
  !infiniteScroll && Array.from({ length: Math.max(0, skeletonRows - data.length) }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
37527
37533
  "div",
37528
37534
  {
@@ -37880,7 +37886,7 @@ function QueryReportTable({
37880
37886
  );
37881
37887
  const handleExport = () => {
37882
37888
  exportToCSV(data, columns, exportFilename);
37883
- _optionalChain([onExport, 'optionalCall', _719 => _719()]);
37889
+ _optionalChain([onExport, 'optionalCall', _722 => _722()]);
37884
37890
  };
37885
37891
  const tableMinWidth = columns.length * (columnWidth + 16);
37886
37892
  const {
@@ -38053,7 +38059,7 @@ function DataTableColumnFilter({
38053
38059
  align = "left"
38054
38060
  }) {
38055
38061
  const currentValue = column.getFilterValue();
38056
- const activeCount = _nullishCoalesce(_optionalChain([currentValue, 'optionalAccess', _720 => _720.length]), () => ( 0));
38062
+ const activeCount = _nullishCoalesce(_optionalChain([currentValue, 'optionalAccess', _723 => _723.length]), () => ( 0));
38057
38063
  const sections = _react.useMemo.call(void 0,
38058
38064
  () => [
38059
38065
  {
@@ -38133,7 +38139,7 @@ function DataTableHeader({
38133
38139
  const hasVisibleHeaderCell = headerGroup.headers.some((header) => {
38134
38140
  if (header.isPlaceholder) return false;
38135
38141
  if (isLgUp) return true;
38136
- return Boolean(_optionalChain([header, 'access', _721 => _721.column, 'access', _722 => _722.columnDef, 'access', _723 => _723.meta, 'optionalAccess', _724 => _724.filter]));
38142
+ return Boolean(_optionalChain([header, 'access', _724 => _724.column, 'access', _725 => _725.columnDef, 'access', _726 => _726.meta, 'optionalAccess', _727 => _727.filter]));
38137
38143
  });
38138
38144
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
38139
38145
  "div",
@@ -38163,20 +38169,20 @@ function HeaderCell({ header, isLgUp, sort, onSortChange }) {
38163
38169
  if (header.isPlaceholder) return null;
38164
38170
  const column = header.column;
38165
38171
  const meta = column.columnDef.meta;
38166
- const hasFilter = Boolean(_optionalChain([meta, 'optionalAccess', _725 => _725.filter]));
38167
- const align = _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _726 => _726.align]), () => ( "left"));
38168
- const canSort = _optionalChain([meta, 'optionalAccess', _727 => _727.sortable]) === true;
38169
- const sortDir = _optionalChain([sort, 'optionalAccess', _728 => _728.id]) === column.id ? sort.desc ? "desc" : "asc" : false;
38172
+ const hasFilter = Boolean(_optionalChain([meta, 'optionalAccess', _728 => _728.filter]));
38173
+ const align = _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _729 => _729.align]), () => ( "left"));
38174
+ const canSort = _optionalChain([meta, 'optionalAccess', _730 => _730.sortable]) === true;
38175
+ const sortDir = _optionalChain([sort, 'optionalAccess', _731 => _731.id]) === column.id ? sort.desc ? "desc" : "asc" : false;
38170
38176
  if (!isLgUp && !hasFilter) return null;
38171
38177
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
38172
38178
  "div",
38173
38179
  {
38174
38180
  className: _chunkFIG2RKZFcjs.cn.call(void 0,
38175
38181
  "flex items-stretch",
38176
- isLgUp && (_optionalChain([meta, 'optionalAccess', _729 => _729.width]) || "flex-1 min-w-0"),
38177
- _optionalChain([meta, 'optionalAccess', _730 => _730.headerClassName]),
38182
+ isLgUp && (_optionalChain([meta, 'optionalAccess', _732 => _732.width]) || "flex-1 min-w-0"),
38183
+ _optionalChain([meta, 'optionalAccess', _733 => _733.headerClassName]),
38178
38184
  // Don't apply hide classes if column is filterable on tablet (keep filter accessible)
38179
- !(hasFilter && !isLgUp) && getHideClasses2(_optionalChain([meta, 'optionalAccess', _731 => _731.hideAt]))
38185
+ !(hasFilter && !isLgUp) && getHideClasses2(_optionalChain([meta, 'optionalAccess', _734 => _734.hideAt]))
38180
38186
  ),
38181
38187
  children: hasFilter ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
38182
38188
  DataTableColumnFilter,
@@ -38195,7 +38201,7 @@ function HeaderCell({ header, isLgUp, sort, onSortChange }) {
38195
38201
  isLgUp && alignJustify(align),
38196
38202
  canSort && "group cursor-pointer"
38197
38203
  ),
38198
- onClick: canSort ? () => _optionalChain([onSortChange, 'optionalCall', _732 => _732(column.id)]) : void 0,
38204
+ onClick: canSort ? () => _optionalChain([onSortChange, 'optionalCall', _735 => _735(column.id)]) : void 0,
38199
38205
  children: [
38200
38206
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderLabel, { header }),
38201
38207
  canSort && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SortIcon, { sorted: sortDir })
@@ -38260,7 +38266,7 @@ function DataTableSkeleton({
38260
38266
  }) {
38261
38267
  const table = useDataTableContext();
38262
38268
  const columns = table.getVisibleFlatColumns();
38263
- const firstColumnId = _optionalChain([columns, 'access', _733 => _733[0], 'optionalAccess', _734 => _734.id]);
38269
+ const firstColumnId = _optionalChain([columns, 'access', _736 => _736[0], 'optionalAccess', _737 => _737.id]);
38264
38270
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: Array.from({ length: rows }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
38265
38271
  "div",
38266
38272
  {
@@ -38284,7 +38290,7 @@ function DataTableSkeleton({
38284
38290
  {
38285
38291
  className: _chunkFIG2RKZFcjs.cn.call(void 0,
38286
38292
  "flex flex-col justify-center shrink-0",
38287
- _optionalChain([meta, 'optionalAccess', _735 => _735.width]) || "flex-1"
38293
+ _optionalChain([meta, 'optionalAccess', _738 => _738.width]) || "flex-1"
38288
38294
  ),
38289
38295
  children: [
38290
38296
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-5 bg-ods-bg-surface rounded-sm w-3/4 mb-[var(--spacing-system-xxs)]" }),
@@ -38333,7 +38339,7 @@ function DataTableRowImpl({
38333
38339
  const handleClick = _react.useCallback.call(void 0,
38334
38340
  (e) => {
38335
38341
  const target = e.target;
38336
- if (!_optionalChain([containerRef, 'access', _736 => _736.current, 'optionalAccess', _737 => _737.contains, 'call', _738 => _738(target)])) {
38342
+ if (!_optionalChain([containerRef, 'access', _739 => _739.current, 'optionalAccess', _740 => _740.contains, 'call', _741 => _741(target)])) {
38337
38343
  if (isLinkMode) e.preventDefault();
38338
38344
  return;
38339
38345
  }
@@ -38341,7 +38347,7 @@ function DataTableRowImpl({
38341
38347
  if (isLinkMode) e.preventDefault();
38342
38348
  return;
38343
38349
  }
38344
- _optionalChain([onClick, 'optionalCall', _739 => _739(row.original)]);
38350
+ _optionalChain([onClick, 'optionalCall', _742 => _742(row.original)]);
38345
38351
  },
38346
38352
  [onClick, row.original, isLinkMode]
38347
38353
  );
@@ -38366,10 +38372,10 @@ function DataTableRowImpl({
38366
38372
  {
38367
38373
  className: _chunkFIG2RKZFcjs.cn.call(void 0,
38368
38374
  "flex flex-col overflow-hidden",
38369
- alignJustify(_optionalChain([meta, 'optionalAccess', _740 => _740.align])),
38370
- _optionalChain([meta, 'optionalAccess', _741 => _741.width]) || "flex-1 min-w-0",
38371
- _optionalChain([meta, 'optionalAccess', _742 => _742.cellClassName]),
38372
- getHideClasses2(_optionalChain([meta, 'optionalAccess', _743 => _743.hideAt]))
38375
+ alignJustify(_optionalChain([meta, 'optionalAccess', _743 => _743.align])),
38376
+ _optionalChain([meta, 'optionalAccess', _744 => _744.width]) || "flex-1 min-w-0",
38377
+ _optionalChain([meta, 'optionalAccess', _745 => _745.cellClassName]),
38378
+ getHideClasses2(_optionalChain([meta, 'optionalAccess', _746 => _746.hideAt]))
38373
38379
  ),
38374
38380
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CellContent, { children: _reacttable.flexRender.call(void 0, cell.column.columnDef.cell, cell.getContext()) })
38375
38381
  },
@@ -38448,7 +38454,7 @@ function DataTableBody({
38448
38454
  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: [
38449
38455
  rows.map((row, index) => {
38450
38456
  const item = row.original;
38451
- const href = _nullishCoalesce(_optionalChain([rowHref, 'optionalCall', _744 => _744(item)]), () => ( void 0));
38457
+ const href = _nullishCoalesce(_optionalChain([rowHref, 'optionalCall', _747 => _747(item)]), () => ( void 0));
38452
38458
  const cls = typeof rowClassName === "function" ? rowClassName(item, index) : rowClassName;
38453
38459
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
38454
38460
  DataTableRow,
@@ -38458,7 +38464,7 @@ function DataTableBody({
38458
38464
  href,
38459
38465
  compact,
38460
38466
  className: cls,
38461
- subRow: _optionalChain([renderSubRow, 'optionalCall', _745 => _745(item)])
38467
+ subRow: _optionalChain([renderSubRow, 'optionalCall', _748 => _748(item)])
38462
38468
  },
38463
38469
  row.id
38464
38470
  );
@@ -38513,7 +38519,7 @@ function DataTableInfiniteFooter({
38513
38519
  if (!sentinel) return;
38514
38520
  const observer = new IntersectionObserver(
38515
38521
  (entries) => {
38516
- if (_optionalChain([entries, 'access', _746 => _746[0], 'optionalAccess', _747 => _747.isIntersecting])) onLoadMoreRef.current();
38522
+ if (_optionalChain([entries, 'access', _749 => _749[0], 'optionalAccess', _750 => _750.isIntersecting])) onLoadMoreRef.current();
38517
38523
  },
38518
38524
  { rootMargin }
38519
38525
  );
@@ -38561,7 +38567,7 @@ function DataTableRowCount({
38561
38567
  const table = useDataTableContext();
38562
38568
  const count = _nullishCoalesce(totalCount, () => ( table.getRowModel().rows.length));
38563
38569
  if (hideWhenEmpty && count === 0) return null;
38564
- const label = _nullishCoalesce(_optionalChain([pluralize, 'optionalCall', _748 => _748(count, itemName)]), () => ( (count === 1 ? itemName : `${itemName}s`)));
38570
+ const label = _nullishCoalesce(_optionalChain([pluralize, 'optionalCall', _751 => _751(count, itemName)]), () => ( (count === 1 ? itemName : `${itemName}s`)));
38565
38571
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
38566
38572
  "span",
38567
38573
  {
@@ -38720,7 +38726,7 @@ function SearchInput({
38720
38726
  if (!showHiddenTags) return;
38721
38727
  const handleClick = (e) => {
38722
38728
  const target = e.target;
38723
- if (!_optionalChain([hiddenTagsRef, 'access', _749 => _749.current, 'optionalAccess', _750 => _750.contains, 'call', _751 => _751(target)]) && !_optionalChain([hiddenTagsPopupRef, 'access', _752 => _752.current, 'optionalAccess', _753 => _753.contains, 'call', _754 => _754(target)])) {
38729
+ if (!_optionalChain([hiddenTagsRef, 'access', _752 => _752.current, 'optionalAccess', _753 => _753.contains, 'call', _754 => _754(target)]) && !_optionalChain([hiddenTagsPopupRef, 'access', _755 => _755.current, 'optionalAccess', _756 => _756.contains, 'call', _757 => _757(target)])) {
38724
38730
  setShowHiddenTags(false);
38725
38731
  }
38726
38732
  };
@@ -38768,10 +38774,10 @@ function SearchInput({
38768
38774
  } else {
38769
38775
  setInternalValue("");
38770
38776
  }
38771
- _optionalChain([inputRef, 'access', _755 => _755.current, 'optionalAccess', _756 => _756.focus, 'call', _757 => _757()]);
38777
+ _optionalChain([inputRef, 'access', _758 => _758.current, 'optionalAccess', _759 => _759.focus, 'call', _760 => _760()]);
38772
38778
  };
38773
38779
  const handleResultClick = (result, e) => {
38774
- _optionalChain([onResultSelect, 'optionalCall', _758 => _758(
38780
+ _optionalChain([onResultSelect, 'optionalCall', _761 => _761(
38775
38781
  result,
38776
38782
  e ? {
38777
38783
  metaKey: e.metaKey,
@@ -38803,7 +38809,7 @@ function SearchInput({
38803
38809
  if (highlightedIndex >= 0 && flatResults[highlightedIndex]) {
38804
38810
  handleResultClick(flatResults[highlightedIndex]);
38805
38811
  } else {
38806
- _optionalChain([onSubmit, 'optionalCall', _759 => _759(currentValue)]);
38812
+ _optionalChain([onSubmit, 'optionalCall', _762 => _762(currentValue)]);
38807
38813
  }
38808
38814
  break;
38809
38815
  case "Escape":
@@ -38881,7 +38887,7 @@ function SearchInput({
38881
38887
  dropdownVisible && "!border-ods-accent"
38882
38888
  ),
38883
38889
  onClick: () => {
38884
- _optionalChain([inputRef, 'access', _760 => _760.current, 'optionalAccess', _761 => _761.focus, 'call', _762 => _762()]);
38890
+ _optionalChain([inputRef, 'access', _763 => _763.current, 'optionalAccess', _764 => _764.focus, 'call', _765 => _765()]);
38885
38891
  setIsOpen(true);
38886
38892
  },
38887
38893
  children: [
@@ -38965,10 +38971,10 @@ function SearchInput({
38965
38971
  align: "start",
38966
38972
  onOpenAutoFocus: (e) => {
38967
38973
  e.preventDefault();
38968
- _optionalChain([inputRef, 'access', _763 => _763.current, 'optionalAccess', _764 => _764.focus, 'call', _765 => _765()]);
38974
+ _optionalChain([inputRef, 'access', _766 => _766.current, 'optionalAccess', _767 => _767.focus, 'call', _768 => _768()]);
38969
38975
  },
38970
38976
  onInteractOutside: (e) => {
38971
- if (_optionalChain([containerRef, 'access', _766 => _766.current, 'optionalAccess', _767 => _767.contains, 'call', _768 => _768(e.target)])) {
38977
+ if (_optionalChain([containerRef, 'access', _769 => _769.current, 'optionalAccess', _770 => _770.contains, 'call', _771 => _771(e.target)])) {
38972
38978
  e.preventDefault();
38973
38979
  }
38974
38980
  },
@@ -38985,10 +38991,10 @@ function SearchInput({
38985
38991
  ref: hiddenTagsPopupRef,
38986
38992
  items: hiddenChips.map((chip) => ({ label: chip.label, value: chip.id })),
38987
38993
  style: {
38988
- left: badgeRef.current ? badgeRef.current.getBoundingClientRect().left - (_nullishCoalesce(_optionalChain([containerRef, 'access', _769 => _769.current, 'optionalAccess', _770 => _770.getBoundingClientRect, 'call', _771 => _771(), 'access', _772 => _772.left]), () => ( 0))) : 0
38994
+ left: badgeRef.current ? badgeRef.current.getBoundingClientRect().left - (_nullishCoalesce(_optionalChain([containerRef, 'access', _772 => _772.current, 'optionalAccess', _773 => _773.getBoundingClientRect, 'call', _774 => _774(), 'access', _775 => _775.left]), () => ( 0))) : 0
38989
38995
  },
38990
38996
  onRemove: (value2) => {
38991
- _optionalChain([onFilterRemove, 'optionalCall', _773 => _773(value2)]);
38997
+ _optionalChain([onFilterRemove, 'optionalCall', _776 => _776(value2)]);
38992
38998
  if (hiddenCount <= 1) setShowHiddenTags(false);
38993
38999
  }
38994
39000
  }
@@ -39039,7 +39045,7 @@ function FilterListItem({
39039
39045
  }) {
39040
39046
  const handleToggle = () => {
39041
39047
  if (disabled) return;
39042
- _optionalChain([onToggle, 'optionalCall', _774 => _774(!selected)]);
39048
+ _optionalChain([onToggle, 'optionalCall', _777 => _777(!selected)]);
39043
39049
  };
39044
39050
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
39045
39051
  "div",
@@ -39086,7 +39092,7 @@ function FilterListItem({
39086
39092
  CheckboxPrimitive4.Root,
39087
39093
  {
39088
39094
  checked: selected,
39089
- onCheckedChange: (c) => _optionalChain([onToggle, 'optionalCall', _775 => _775(c === true)]),
39095
+ onCheckedChange: (c) => _optionalChain([onToggle, 'optionalCall', _778 => _778(c === true)]),
39090
39096
  onClick: (e) => e.stopPropagation(),
39091
39097
  disabled,
39092
39098
  "aria-label": title,
@@ -39185,7 +39191,7 @@ function TagSearchInput({
39185
39191
  if (!showHiddenTags) return;
39186
39192
  const handleClick = (e) => {
39187
39193
  const target = e.target;
39188
- if (!_optionalChain([hiddenTagsRef, 'access', _776 => _776.current, 'optionalAccess', _777 => _777.contains, 'call', _778 => _778(target)]) && !_optionalChain([hiddenTagsPopupRef, 'access', _779 => _779.current, 'optionalAccess', _780 => _780.contains, 'call', _781 => _781(target)])) {
39194
+ if (!_optionalChain([hiddenTagsRef, 'access', _779 => _779.current, 'optionalAccess', _780 => _780.contains, 'call', _781 => _781(target)]) && !_optionalChain([hiddenTagsPopupRef, 'access', _782 => _782.current, 'optionalAccess', _783 => _783.contains, 'call', _784 => _784(target)])) {
39189
39195
  setShowHiddenTags(false);
39190
39196
  }
39191
39197
  };
@@ -39201,13 +39207,13 @@ function TagSearchInput({
39201
39207
  e.preventDefault();
39202
39208
  onSubmit(searchValue);
39203
39209
  }
39204
- _optionalChain([onKeyDown, 'optionalCall', _782 => _782(e)]);
39210
+ _optionalChain([onKeyDown, 'optionalCall', _785 => _785(e)]);
39205
39211
  };
39206
39212
  const handleClearAll = (e) => {
39207
39213
  e.stopPropagation();
39208
39214
  e.preventDefault();
39209
- _optionalChain([onClearAll, 'optionalCall', _783 => _783()]);
39210
- _optionalChain([inputRef, 'access', _784 => _784.current, 'optionalAccess', _785 => _785.focus, 'call', _786 => _786()]);
39215
+ _optionalChain([onClearAll, 'optionalCall', _786 => _786()]);
39216
+ _optionalChain([inputRef, 'access', _787 => _787.current, 'optionalAccess', _788 => _788.focus, 'call', _789 => _789()]);
39211
39217
  };
39212
39218
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { ref: wrapperRef, className: "relative", children: [
39213
39219
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
@@ -39224,7 +39230,7 @@ function TagSearchInput({
39224
39230
  className
39225
39231
  ),
39226
39232
  onClick: () => {
39227
- if (!disabled) _optionalChain([inputRef, 'access', _787 => _787.current, 'optionalAccess', _788 => _788.focus, 'call', _789 => _789()]);
39233
+ if (!disabled) _optionalChain([inputRef, 'access', _790 => _790.current, 'optionalAccess', _791 => _791.focus, 'call', _792 => _792()]);
39228
39234
  },
39229
39235
  children: [
39230
39236
  /* @__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" }) }),
@@ -39296,7 +39302,7 @@ function TagSearchInput({
39296
39302
  items: hiddenTags,
39297
39303
  disabled,
39298
39304
  style: {
39299
- left: badgeRef.current ? badgeRef.current.getBoundingClientRect().left - (_nullishCoalesce(_optionalChain([wrapperRef, 'access', _790 => _790.current, 'optionalAccess', _791 => _791.getBoundingClientRect, 'call', _792 => _792(), 'access', _793 => _793.left]), () => ( 0))) : 0
39305
+ left: badgeRef.current ? badgeRef.current.getBoundingClientRect().left - (_nullishCoalesce(_optionalChain([wrapperRef, 'access', _793 => _793.current, 'optionalAccess', _794 => _794.getBoundingClientRect, 'call', _795 => _795(), 'access', _796 => _796.left]), () => ( 0))) : 0
39300
39306
  },
39301
39307
  onRemove: (value) => {
39302
39308
  onTagRemove(value);
@@ -39397,7 +39403,7 @@ function MarkdownEditor({
39397
39403
  const [defaultExtraCommands, setDefaultExtraCommands] = _react.useState.call(void 0, []);
39398
39404
  _react.useEffect.call(void 0, () => {
39399
39405
  Promise.resolve().then(() => _interopRequireWildcard(require("@uiw/react-md-editor"))).then((mod) => {
39400
- if (_optionalChain([mod, 'access', _794 => _794.commands, 'optionalAccess', _795 => _795.getExtraCommands])) {
39406
+ if (_optionalChain([mod, 'access', _797 => _797.commands, 'optionalAccess', _798 => _798.getExtraCommands])) {
39401
39407
  setDefaultExtraCommands(mod.commands.getExtraCommands());
39402
39408
  }
39403
39409
  });
@@ -39431,7 +39437,7 @@ function MarkdownEditor({
39431
39437
  const isImage = file.type.startsWith("image/");
39432
39438
  const markdown = isImage ? `![${file.name}](${url})` : `[${file.name}](${url})`;
39433
39439
  insertTextAtCursor(markdown);
39434
- _optionalChain([onFileUploaded, 'optionalCall', _796 => _796(url, file.name)]);
39440
+ _optionalChain([onFileUploaded, 'optionalCall', _799 => _799(url, file.name)]);
39435
39441
  } catch (error) {
39436
39442
  console.error("File upload failed:", error);
39437
39443
  setUploadProgress("Upload failed. Please try again.");
@@ -39444,7 +39450,7 @@ function MarkdownEditor({
39444
39450
  );
39445
39451
  const handleFileInputChange = _react.useCallback.call(void 0,
39446
39452
  (e) => {
39447
- const file = _optionalChain([e, 'access', _797 => _797.target, 'access', _798 => _798.files, 'optionalAccess', _799 => _799[0]]);
39453
+ const file = _optionalChain([e, 'access', _800 => _800.target, 'access', _801 => _801.files, 'optionalAccess', _802 => _802[0]]);
39448
39454
  if (file) {
39449
39455
  handleFileUpload(file);
39450
39456
  e.target.value = "";
@@ -39455,7 +39461,7 @@ function MarkdownEditor({
39455
39461
  const handlePaste = _react.useCallback.call(void 0,
39456
39462
  (e) => {
39457
39463
  if (!onUploadFile) return;
39458
- const items = _optionalChain([e, 'access', _800 => _800.clipboardData, 'optionalAccess', _801 => _801.items]);
39464
+ const items = _optionalChain([e, 'access', _803 => _803.clipboardData, 'optionalAccess', _804 => _804.items]);
39459
39465
  if (!items) return;
39460
39466
  for (const item of items) {
39461
39467
  if (item.type.startsWith("image/")) {
@@ -39480,7 +39486,7 @@ function MarkdownEditor({
39480
39486
  buttonProps: { "aria-label": "Upload file", title: "Upload file" },
39481
39487
  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" }),
39482
39488
  execute: () => {
39483
- _optionalChain([fileInputRef, 'access', _802 => _802.current, 'optionalAccess', _803 => _803.click, 'call', _804 => _804()]);
39489
+ _optionalChain([fileInputRef, 'access', _805 => _805.current, 'optionalAccess', _806 => _806.click, 'call', _807 => _807()]);
39484
39490
  }
39485
39491
  } : null;
39486
39492
  const extraCommands = uploadCommand ? [...defaultExtraCommands, uploadCommand] : defaultExtraCommands;
@@ -39492,7 +39498,7 @@ function MarkdownEditor({
39492
39498
  const EDGE_ZONE = 60;
39493
39499
  const MAX_SCROLL_SPEED = 15;
39494
39500
  const findScrollParent = _react.useCallback.call(void 0, (el) => {
39495
- let node = _optionalChain([el, 'optionalAccess', _805 => _805.parentElement]);
39501
+ let node = _optionalChain([el, 'optionalAccess', _808 => _808.parentElement]);
39496
39502
  while (node && node !== document.documentElement) {
39497
39503
  const { overflowY } = window.getComputedStyle(node);
39498
39504
  if ((overflowY === "auto" || overflowY === "scroll") && node.scrollHeight > node.clientHeight) {
@@ -39635,7 +39641,7 @@ function matchesAccept(file, accept) {
39635
39641
  });
39636
39642
  }
39637
39643
  function dragHasFiles(e) {
39638
- const types = _optionalChain([e, 'access', _806 => _806.dataTransfer, 'optionalAccess', _807 => _807.types]);
39644
+ const types = _optionalChain([e, 'access', _809 => _809.dataTransfer, 'optionalAccess', _810 => _810.types]);
39639
39645
  if (!types) return false;
39640
39646
  for (let i = 0; i < types.length; i++) {
39641
39647
  if (types[i] === "Files") return true;
@@ -39731,7 +39737,7 @@ function FileUpload({
39731
39737
  e.stopPropagation();
39732
39738
  setDragActive(false);
39733
39739
  if (disabled) return;
39734
- if (_optionalChain([e, 'access', _808 => _808.dataTransfer, 'access', _809 => _809.files, 'optionalAccess', _810 => _810.length])) {
39740
+ if (_optionalChain([e, 'access', _811 => _811.dataTransfer, 'access', _812 => _812.files, 'optionalAccess', _813 => _813.length])) {
39735
39741
  handleFiles(e.dataTransfer.files);
39736
39742
  }
39737
39743
  };
@@ -39759,7 +39765,7 @@ function FileUpload({
39759
39765
  e.preventDefault();
39760
39766
  dragCounter = 0;
39761
39767
  setDragActive(false);
39762
- if (_optionalChain([e, 'access', _811 => _811.dataTransfer, 'optionalAccess', _812 => _812.files, 'optionalAccess', _813 => _813.length])) {
39768
+ if (_optionalChain([e, 'access', _814 => _814.dataTransfer, 'optionalAccess', _815 => _815.files, 'optionalAccess', _816 => _816.length])) {
39763
39769
  handleFilesRef.current(e.dataTransfer.files);
39764
39770
  }
39765
39771
  };
@@ -39781,7 +39787,7 @@ function FileUpload({
39781
39787
  };
39782
39788
  }, [acceptWindowDrops, disabled]);
39783
39789
  const handleFileSelect = (e) => {
39784
- if (_optionalChain([e, 'access', _814 => _814.target, 'access', _815 => _815.files, 'optionalAccess', _816 => _816.length])) {
39790
+ if (_optionalChain([e, 'access', _817 => _817.target, 'access', _818 => _818.files, 'optionalAccess', _819 => _819.length])) {
39785
39791
  handleFiles(e.target.files);
39786
39792
  }
39787
39793
  };
@@ -39798,7 +39804,7 @@ function FileUpload({
39798
39804
  };
39799
39805
  const openDialog = async () => {
39800
39806
  if (disabled) return;
39801
- _optionalChain([fileInputRef, 'access', _817 => _817.current, 'optionalAccess', _818 => _818.click, 'call', _819 => _819()]);
39807
+ _optionalChain([fileInputRef, 'access', _820 => _820.current, 'optionalAccess', _821 => _821.click, 'call', _822 => _822()]);
39802
39808
  };
39803
39809
  const displayError = error || validationError || void 0;
39804
39810
  const hasFiles = isManaged ? managedFiles.length > 0 : files.length > 0;
@@ -39860,7 +39866,7 @@ function FileUpload({
39860
39866
  "button",
39861
39867
  {
39862
39868
  type: "button",
39863
- onClick: () => _optionalChain([onRemoveManagedFile, 'optionalCall', _820 => _820(entry.id)]),
39869
+ onClick: () => _optionalChain([onRemoveManagedFile, 'optionalCall', _823 => _823(entry.id)]),
39864
39870
  className: "shrink-0 text-ods-error hover:opacity-80 transition-opacity",
39865
39871
  "aria-label": `Remove ${entry.fileName}`,
39866
39872
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGD345ZVcjs.TrashIcon, { className: "size-6" })
@@ -39991,7 +39997,7 @@ function ImageUploader({
39991
39997
  onChange(file);
39992
39998
  };
39993
39999
  const handleFileSelect = (e) => {
39994
- validateAndEmit(_optionalChain([e, 'access', _821 => _821.target, 'access', _822 => _822.files, 'optionalAccess', _823 => _823[0]]));
40000
+ validateAndEmit(_optionalChain([e, 'access', _824 => _824.target, 'access', _825 => _825.files, 'optionalAccess', _826 => _826[0]]));
39995
40001
  if (inputRef.current) inputRef.current.value = "";
39996
40002
  };
39997
40003
  const handleDrag = (e) => {
@@ -40006,11 +40012,11 @@ function ImageUploader({
40006
40012
  e.stopPropagation();
40007
40013
  setDragActive(false);
40008
40014
  if (!interactive) return;
40009
- validateAndEmit(_optionalChain([e, 'access', _824 => _824.dataTransfer, 'access', _825 => _825.files, 'optionalAccess', _826 => _826[0]]));
40015
+ validateAndEmit(_optionalChain([e, 'access', _827 => _827.dataTransfer, 'access', _828 => _828.files, 'optionalAccess', _829 => _829[0]]));
40010
40016
  };
40011
40017
  const openDialog = () => {
40012
40018
  if (!interactive) return;
40013
- _optionalChain([inputRef, 'access', _827 => _827.current, 'optionalAccess', _828 => _828.click, 'call', _829 => _829()]);
40019
+ _optionalChain([inputRef, 'access', _830 => _830.current, 'optionalAccess', _831 => _831.click, 'call', _832 => _832()]);
40014
40020
  };
40015
40021
  const handleRootKeyDown = (e) => {
40016
40022
  if (hasImage || !interactive) return;
@@ -40201,8 +40207,8 @@ function ColorPresetSelect({
40201
40207
  }) {
40202
40208
  const selectedPreset = presets.find((p) => p.key === presetKey);
40203
40209
  const isCustom = !selectedPreset;
40204
- const displayLabel = _nullishCoalesce(_optionalChain([selectedPreset, 'optionalAccess', _830 => _830.label]), () => ( "Custom"));
40205
- const displayColor = _nullishCoalesce(_optionalChain([selectedPreset, 'optionalAccess', _831 => _831.color]), () => ( value));
40210
+ const displayLabel = _nullishCoalesce(_optionalChain([selectedPreset, 'optionalAccess', _833 => _833.label]), () => ( "Custom"));
40211
+ const displayColor = _nullishCoalesce(_optionalChain([selectedPreset, 'optionalAccess', _834 => _834.color]), () => ( value));
40206
40212
  const groups = [
40207
40213
  {
40208
40214
  items: [
@@ -40492,7 +40498,7 @@ function TicketStatusConfigRow({
40492
40498
  _chunkNYIZVI4Icjs.Input,
40493
40499
  {
40494
40500
  value: name,
40495
- onChange: (e) => _optionalChain([onNameChange, 'optionalCall', _832 => _832(e.target.value)]),
40501
+ onChange: (e) => _optionalChain([onNameChange, 'optionalCall', _835 => _835(e.target.value)]),
40496
40502
  disabled: isSystem,
40497
40503
  readOnly: isSystem,
40498
40504
  "aria-label": "Status name",
@@ -40865,14 +40871,14 @@ function TicketInfoSection({
40865
40871
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
40866
40872
  SquareAvatar,
40867
40873
  {
40868
- src: _optionalChain([organization, 'optionalAccess', _833 => _833.imageSrc]),
40869
- alt: _optionalChain([organization, 'optionalAccess', _834 => _834.name]),
40870
- fallback: _optionalChain([organization, 'optionalAccess', _835 => _835.name]) || "Org",
40874
+ src: _optionalChain([organization, 'optionalAccess', _836 => _836.imageSrc]),
40875
+ alt: _optionalChain([organization, 'optionalAccess', _837 => _837.name]),
40876
+ fallback: _optionalChain([organization, 'optionalAccess', _838 => _838.name]) || "Org",
40871
40877
  size: "md",
40872
40878
  className: "shrink-0"
40873
40879
  }
40874
40880
  ),
40875
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, InfoCell2, { value: _optionalChain([organization, 'optionalAccess', _836 => _836.name]) || "Unassigned", label: "Organization" })
40881
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, InfoCell2, { value: _optionalChain([organization, 'optionalAccess', _839 => _839.name]) || "Unassigned", label: "Organization" })
40876
40882
  ] }),
40877
40883
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: assigned ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
40878
40884
  AssigneeDropdown,
@@ -40893,10 +40899,10 @@ function TicketInfoSection({
40893
40899
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
40894
40900
  InfoCell2,
40895
40901
  {
40896
- value: _optionalChain([device, 'optionalAccess', _837 => _837.name]) || "Unassigned",
40902
+ value: _optionalChain([device, 'optionalAccess', _840 => _840.name]) || "Unassigned",
40897
40903
  label: "Device",
40898
- icon: _optionalChain([device, 'optionalAccess', _838 => _838.icon]),
40899
- onClick: _optionalChain([device, 'optionalAccess', _839 => _839.onClick])
40904
+ icon: _optionalChain([device, 'optionalAccess', _841 => _841.icon]),
40905
+ onClick: _optionalChain([device, 'optionalAccess', _842 => _842.onClick])
40900
40906
  }
40901
40907
  ),
40902
40908
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-4 min-w-0", children: [
@@ -41226,7 +41232,7 @@ function RoadmapCard({
41226
41232
  const compactHref = safeHref(_nullishCoalesce(href, () => ( null)));
41227
41233
  const hasVotes = (_nullishCoalesce(item.upvotes, () => ( 0))) > 0 || (_nullishCoalesce(item.downvotes, () => ( 0))) > 0;
41228
41234
  const hasFigma = !!item.figmaUrl;
41229
- const hasScreenshots = (_nullishCoalesce(_optionalChain([item, 'access', _840 => _840.screenshots, 'optionalAccess', _841 => _841.length]), () => ( 0))) > 0;
41235
+ const hasScreenshots = (_nullishCoalesce(_optionalChain([item, 'access', _843 => _843.screenshots, 'optionalAccess', _844 => _844.length]), () => ( 0))) > 0;
41230
41236
  const typeLabel = getTaskTypeLabel(item.customItemId);
41231
41237
  const useTypeIcon = cardType === "internal_task" || !iconSrc && item.customItemId != null;
41232
41238
  const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
@@ -41245,7 +41251,7 @@ function RoadmapCard({
41245
41251
  unoptimized: true,
41246
41252
  className: "h-8 w-8 object-contain"
41247
41253
  }
41248
- ) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-[10px] font-medium uppercase text-ods-text-secondary", children: _optionalChain([item, 'access', _842 => _842.title, 'optionalAccess', _843 => _843.substring, 'call', _844 => _844(0, 2)]) || "??" })
41254
+ ) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-[10px] font-medium uppercase text-ods-text-secondary", children: _optionalChain([item, 'access', _845 => _845.title, 'optionalAccess', _846 => _846.substring, 'call', _847 => _847(0, 2)]) || "??" })
41249
41255
  }
41250
41256
  ),
41251
41257
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: COMPACT_CARD_TEXT_COL, children: [
@@ -41320,7 +41326,7 @@ function RoadmapCard({
41320
41326
  unoptimized: true,
41321
41327
  className: "object-contain p-1"
41322
41328
  }
41323
- ) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-xs font-medium uppercase text-ods-text-secondary", children: _optionalChain([item, 'access', _845 => _845.title, 'optionalAccess', _846 => _846.substring, 'call', _847 => _847(0, 2)]) || "??" }) }),
41329
+ ) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-xs font-medium uppercase text-ods-text-secondary", children: _optionalChain([item, 'access', _848 => _848.title, 'optionalAccess', _849 => _849.substring, 'call', _850 => _850(0, 2)]) || "??" }) }),
41324
41330
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-1 min-w-0 flex flex-col", children: [
41325
41331
  /* @__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 }) }),
41326
41332
  /* @__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: [
@@ -41830,7 +41836,7 @@ function DataRoomDocCard({ item, className, badgeText, anchorProps }) {
41830
41836
  ] }) : null,
41831
41837
  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
41832
41838
  ] }),
41833
- _optionalChain([anchorProps, 'optionalAccess', _848 => _848.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
41839
+ _optionalChain([anchorProps, 'optionalAccess', _851 => _851.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
41834
41840
  ] });
41835
41841
  if (!anchorProps) {
41836
41842
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
@@ -41900,7 +41906,7 @@ function getDefaultOptions() {
41900
41906
  // node_modules/date-fns/startOfWeek.mjs
41901
41907
  function startOfWeek(date, options) {
41902
41908
  const defaultOptions2 = getDefaultOptions();
41903
- const weekStartsOn = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _849 => _849.weekStartsOn]), () => ( _optionalChain([options, 'optionalAccess', _850 => _850.locale, 'optionalAccess', _851 => _851.options, 'optionalAccess', _852 => _852.weekStartsOn]))), () => ( defaultOptions2.weekStartsOn)), () => ( _optionalChain([defaultOptions2, 'access', _853 => _853.locale, 'optionalAccess', _854 => _854.options, 'optionalAccess', _855 => _855.weekStartsOn]))), () => ( 0));
41909
+ const weekStartsOn = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _852 => _852.weekStartsOn]), () => ( _optionalChain([options, 'optionalAccess', _853 => _853.locale, 'optionalAccess', _854 => _854.options, 'optionalAccess', _855 => _855.weekStartsOn]))), () => ( defaultOptions2.weekStartsOn)), () => ( _optionalChain([defaultOptions2, 'access', _856 => _856.locale, 'optionalAccess', _857 => _857.options, 'optionalAccess', _858 => _858.weekStartsOn]))), () => ( 0));
41904
41910
  const _date = toDate(date);
41905
41911
  const day = _date.getDay();
41906
41912
  const diff = (day < weekStartsOn ? 7 : 0) + day - weekStartsOn;
@@ -42075,7 +42081,7 @@ var formatDistance = (token, count, options) => {
42075
42081
  } else {
42076
42082
  result = tokenValue.other.replace("{{count}}", count.toString());
42077
42083
  }
42078
- if (_optionalChain([options, 'optionalAccess', _856 => _856.addSuffix])) {
42084
+ if (_optionalChain([options, 'optionalAccess', _859 => _859.addSuffix])) {
42079
42085
  if (options.comparison && options.comparison > 0) {
42080
42086
  return "in " + result;
42081
42087
  } else {
@@ -42142,15 +42148,15 @@ var formatRelative = (token, _date, _baseDate, _options) => formatRelativeLocale
42142
42148
  // node_modules/date-fns/locale/_lib/buildLocalizeFn.mjs
42143
42149
  function buildLocalizeFn(args) {
42144
42150
  return (value, options) => {
42145
- const context = _optionalChain([options, 'optionalAccess', _857 => _857.context]) ? String(options.context) : "standalone";
42151
+ const context = _optionalChain([options, 'optionalAccess', _860 => _860.context]) ? String(options.context) : "standalone";
42146
42152
  let valuesArray;
42147
42153
  if (context === "formatting" && args.formattingValues) {
42148
42154
  const defaultWidth = args.defaultFormattingWidth || args.defaultWidth;
42149
- const width = _optionalChain([options, 'optionalAccess', _858 => _858.width]) ? String(options.width) : defaultWidth;
42155
+ const width = _optionalChain([options, 'optionalAccess', _861 => _861.width]) ? String(options.width) : defaultWidth;
42150
42156
  valuesArray = args.formattingValues[width] || args.formattingValues[defaultWidth];
42151
42157
  } else {
42152
42158
  const defaultWidth = args.defaultWidth;
42153
- const width = _optionalChain([options, 'optionalAccess', _859 => _859.width]) ? String(options.width) : args.defaultWidth;
42159
+ const width = _optionalChain([options, 'optionalAccess', _862 => _862.width]) ? String(options.width) : args.defaultWidth;
42154
42160
  valuesArray = args.values[width] || args.values[defaultWidth];
42155
42161
  }
42156
42162
  const index = args.argumentCallback ? args.argumentCallback(value) : value;
@@ -42530,7 +42536,7 @@ function getWeekYear(date, options) {
42530
42536
  const _date = toDate(date);
42531
42537
  const year = _date.getFullYear();
42532
42538
  const defaultOptions2 = getDefaultOptions();
42533
- const firstWeekContainsDate = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _860 => _860.firstWeekContainsDate]), () => ( _optionalChain([options, 'optionalAccess', _861 => _861.locale, 'optionalAccess', _862 => _862.options, 'optionalAccess', _863 => _863.firstWeekContainsDate]))), () => ( defaultOptions2.firstWeekContainsDate)), () => ( _optionalChain([defaultOptions2, 'access', _864 => _864.locale, 'optionalAccess', _865 => _865.options, 'optionalAccess', _866 => _866.firstWeekContainsDate]))), () => ( 1));
42539
+ const firstWeekContainsDate = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _863 => _863.firstWeekContainsDate]), () => ( _optionalChain([options, 'optionalAccess', _864 => _864.locale, 'optionalAccess', _865 => _865.options, 'optionalAccess', _866 => _866.firstWeekContainsDate]))), () => ( defaultOptions2.firstWeekContainsDate)), () => ( _optionalChain([defaultOptions2, 'access', _867 => _867.locale, 'optionalAccess', _868 => _868.options, 'optionalAccess', _869 => _869.firstWeekContainsDate]))), () => ( 1));
42534
42540
  const firstWeekOfNextYear = constructFrom(date, 0);
42535
42541
  firstWeekOfNextYear.setFullYear(year + 1, 0, firstWeekContainsDate);
42536
42542
  firstWeekOfNextYear.setHours(0, 0, 0, 0);
@@ -42551,7 +42557,7 @@ function getWeekYear(date, options) {
42551
42557
  // node_modules/date-fns/startOfWeekYear.mjs
42552
42558
  function startOfWeekYear(date, options) {
42553
42559
  const defaultOptions2 = getDefaultOptions();
42554
- const firstWeekContainsDate = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _867 => _867.firstWeekContainsDate]), () => ( _optionalChain([options, 'optionalAccess', _868 => _868.locale, 'optionalAccess', _869 => _869.options, 'optionalAccess', _870 => _870.firstWeekContainsDate]))), () => ( defaultOptions2.firstWeekContainsDate)), () => ( _optionalChain([defaultOptions2, 'access', _871 => _871.locale, 'optionalAccess', _872 => _872.options, 'optionalAccess', _873 => _873.firstWeekContainsDate]))), () => ( 1));
42560
+ const firstWeekContainsDate = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _870 => _870.firstWeekContainsDate]), () => ( _optionalChain([options, 'optionalAccess', _871 => _871.locale, 'optionalAccess', _872 => _872.options, 'optionalAccess', _873 => _873.firstWeekContainsDate]))), () => ( defaultOptions2.firstWeekContainsDate)), () => ( _optionalChain([defaultOptions2, 'access', _874 => _874.locale, 'optionalAccess', _875 => _875.options, 'optionalAccess', _876 => _876.firstWeekContainsDate]))), () => ( 1));
42555
42561
  const year = getWeekYear(date, options);
42556
42562
  const firstWeek = constructFrom(date, 0);
42557
42563
  firstWeek.setFullYear(year, 0, firstWeekContainsDate);
@@ -43366,9 +43372,9 @@ var doubleQuoteRegExp = /''/g;
43366
43372
  var unescapedLatinCharacterRegExp = /[a-zA-Z]/;
43367
43373
  function format(date, formatStr, options) {
43368
43374
  const defaultOptions2 = getDefaultOptions();
43369
- const locale = _nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _874 => _874.locale]), () => ( defaultOptions2.locale)), () => ( enUS));
43370
- const firstWeekContainsDate = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _875 => _875.firstWeekContainsDate]), () => ( _optionalChain([options, 'optionalAccess', _876 => _876.locale, 'optionalAccess', _877 => _877.options, 'optionalAccess', _878 => _878.firstWeekContainsDate]))), () => ( defaultOptions2.firstWeekContainsDate)), () => ( _optionalChain([defaultOptions2, 'access', _879 => _879.locale, 'optionalAccess', _880 => _880.options, 'optionalAccess', _881 => _881.firstWeekContainsDate]))), () => ( 1));
43371
- const weekStartsOn = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _882 => _882.weekStartsOn]), () => ( _optionalChain([options, 'optionalAccess', _883 => _883.locale, 'optionalAccess', _884 => _884.options, 'optionalAccess', _885 => _885.weekStartsOn]))), () => ( defaultOptions2.weekStartsOn)), () => ( _optionalChain([defaultOptions2, 'access', _886 => _886.locale, 'optionalAccess', _887 => _887.options, 'optionalAccess', _888 => _888.weekStartsOn]))), () => ( 0));
43375
+ const locale = _nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _877 => _877.locale]), () => ( defaultOptions2.locale)), () => ( enUS));
43376
+ const firstWeekContainsDate = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _878 => _878.firstWeekContainsDate]), () => ( _optionalChain([options, 'optionalAccess', _879 => _879.locale, 'optionalAccess', _880 => _880.options, 'optionalAccess', _881 => _881.firstWeekContainsDate]))), () => ( defaultOptions2.firstWeekContainsDate)), () => ( _optionalChain([defaultOptions2, 'access', _882 => _882.locale, 'optionalAccess', _883 => _883.options, 'optionalAccess', _884 => _884.firstWeekContainsDate]))), () => ( 1));
43377
+ const weekStartsOn = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _885 => _885.weekStartsOn]), () => ( _optionalChain([options, 'optionalAccess', _886 => _886.locale, 'optionalAccess', _887 => _887.options, 'optionalAccess', _888 => _888.weekStartsOn]))), () => ( defaultOptions2.weekStartsOn)), () => ( _optionalChain([defaultOptions2, 'access', _889 => _889.locale, 'optionalAccess', _890 => _890.options, 'optionalAccess', _891 => _891.weekStartsOn]))), () => ( 0));
43372
43378
  const originalDate = toDate(date);
43373
43379
  if (!isValid(originalDate)) {
43374
43380
  throw new RangeError("Invalid time value");
@@ -43409,7 +43415,7 @@ function format(date, formatStr, options) {
43409
43415
  return parts.map((part) => {
43410
43416
  if (!part.isToken) return part.value;
43411
43417
  const token = part.value;
43412
- if (!_optionalChain([options, 'optionalAccess', _889 => _889.useAdditionalWeekYearTokens]) && isProtectedWeekYearToken(token) || !_optionalChain([options, 'optionalAccess', _890 => _890.useAdditionalDayOfYearTokens]) && isProtectedDayOfYearToken(token)) {
43418
+ if (!_optionalChain([options, 'optionalAccess', _892 => _892.useAdditionalWeekYearTokens]) && isProtectedWeekYearToken(token) || !_optionalChain([options, 'optionalAccess', _893 => _893.useAdditionalDayOfYearTokens]) && isProtectedDayOfYearToken(token)) {
43413
43419
  warnOrThrowProtectedError(token, formatStr, String(date));
43414
43420
  }
43415
43421
  const formatter = formatters[token[0]];
@@ -43590,7 +43596,7 @@ function ProgramCard({
43590
43596
  const dur = formatDurationFromRange(w.start_at, w.end_at);
43591
43597
  typeMeta = dur ? `${time} \xB7 ${dur}` : time;
43592
43598
  }
43593
- const subtitleParts = [itemDate2, typeMeta, _optionalChain([config, 'access', _891 => _891.labels, 'optionalAccess', _892 => _892.singular])].filter(
43599
+ const subtitleParts = [itemDate2, typeMeta, _optionalChain([config, 'access', _894 => _894.labels, 'optionalAccess', _895 => _895.singular])].filter(
43594
43600
  (s) => typeof s === "string" && s.length > 0
43595
43601
  );
43596
43602
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "a", { href, target, rel, className: _chunkFIG2RKZFcjs.cn.call(void 0, COMPACT_CARD_OUTER, className), children: [
@@ -43747,7 +43753,7 @@ function ProgramCard({
43747
43753
 
43748
43754
 
43749
43755
  function CampaignCardAdmin({ campaign, className, anchorProps }) {
43750
- const goalsCount = _optionalChain([campaign, 'access', _893 => _893.goals, 'optionalAccess', _894 => _894.length]) || 0;
43756
+ const goalsCount = _optionalChain([campaign, 'access', _896 => _896.goals, 'optionalAccess', _897 => _897.length]) || 0;
43751
43757
  const innerChildren = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
43752
43758
  /* @__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" }) }),
43753
43759
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: COMPACT_CARD_TEXT_COL, children: [
@@ -43909,7 +43915,7 @@ function resolveSourceRowCTA(row, ctx = {}) {
43909
43915
  if (row.path && shouldFallbackToPathNav(row) && !row.externalUrl) {
43910
43916
  const safePath = sanitizePath(row.path);
43911
43917
  if (safePath) {
43912
- const docTarget = row.documentType ? _optionalChain([ctx, 'access', _895 => _895.docPlatformTargets, 'optionalAccess', _896 => _896[row.documentType]]) : void 0;
43918
+ const docTarget = row.documentType ? _optionalChain([ctx, 'access', _898 => _898.docPlatformTargets, 'optionalAccess', _899 => _899[row.documentType]]) : void 0;
43913
43919
  if (docTarget) {
43914
43920
  const seg = docTarget.basePath.split("/").filter(Boolean).join("/");
43915
43921
  const base = `${_chunkFIG2RKZFcjs.getBaseUrl.call(void 0, docTarget.platform)}${seg ? `/${seg}` : ""}/`;
@@ -44124,8 +44130,8 @@ function cardMenuGroups(href, discuss, openDetails) {
44124
44130
  if (href) {
44125
44131
  items.push({
44126
44132
  id: "open-details",
44127
- label: _nullishCoalesce(_optionalChain([openDetails, 'optionalAccess', _897 => _897.label]), () => ( "Open Details")),
44128
- icon: _nullishCoalesce(_optionalChain([openDetails, 'optionalAccess', _898 => _898.icon]), () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGD345ZVcjs.EyeIcon, { size: 20 }))),
44133
+ label: _nullishCoalesce(_optionalChain([openDetails, 'optionalAccess', _900 => _900.label]), () => ( "Open Details")),
44134
+ icon: _nullishCoalesce(_optionalChain([openDetails, 'optionalAccess', _901 => _901.icon]), () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGD345ZVcjs.EyeIcon, { size: 20 }))),
44129
44135
  // Main row → open the entity (same tab, soft Link nav).
44130
44136
  href,
44131
44137
  // Trailing 40px ↗ side-button → open in a new tab.
@@ -44155,8 +44161,8 @@ function HubspotTicketChatCard({
44155
44161
  isNewTab,
44156
44162
  discuss
44157
44163
  }) {
44158
- const status = typeof _optionalChain([chatRef, 'access', _899 => _899.metadata, 'optionalAccess', _900 => _900.status]) === "string" ? chatRef.metadata.status : void 0;
44159
- const statusLabel = typeof _optionalChain([chatRef, 'access', _901 => _901.metadata, 'optionalAccess', _902 => _902.statusLabel]) === "string" ? chatRef.metadata.statusLabel : void 0;
44164
+ const status = typeof _optionalChain([chatRef, 'access', _902 => _902.metadata, 'optionalAccess', _903 => _903.status]) === "string" ? chatRef.metadata.status : void 0;
44165
+ const statusLabel = typeof _optionalChain([chatRef, 'access', _904 => _904.metadata, 'optionalAccess', _905 => _905.statusLabel]) === "string" ? chatRef.metadata.statusLabel : void 0;
44160
44166
  const statusText = _nullishCoalesce(statusLabel, () => ( formatStatusToken(status)));
44161
44167
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
44162
44168
  MingoInfoCard,
@@ -44179,7 +44185,7 @@ function FaqChatCard({
44179
44185
  isNewTab,
44180
44186
  discuss
44181
44187
  }) {
44182
- const section = typeof _optionalChain([chatRef, 'access', _903 => _903.metadata, 'optionalAccess', _904 => _904.section]) === "string" ? chatRef.metadata.section.trim() : void 0;
44188
+ const section = typeof _optionalChain([chatRef, 'access', _906 => _906.metadata, 'optionalAccess', _907 => _907.section]) === "string" ? chatRef.metadata.section.trim() : void 0;
44183
44189
  const statusLabel = section && section.length > 0 ? section : "FAQ";
44184
44190
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
44185
44191
  MingoInfoCard,
@@ -44199,7 +44205,7 @@ function SlackChatCard({
44199
44205
  isNewTab,
44200
44206
  discuss
44201
44207
  }) {
44202
- const channelName = typeof _optionalChain([chatRef, 'access', _905 => _905.metadata, 'optionalAccess', _906 => _906.channelName]) === "string" ? chatRef.metadata.channelName.trim() : void 0;
44208
+ const channelName = typeof _optionalChain([chatRef, 'access', _908 => _908.metadata, 'optionalAccess', _909 => _909.channelName]) === "string" ? chatRef.metadata.channelName.trim() : void 0;
44203
44209
  const channelPretty = channelName ? channelName.startsWith("#") ? channelName : `#${channelName}` : void 0;
44204
44210
  const title = channelPretty ? `${chatRef.title} \xB7 ${channelPretty}` : chatRef.title;
44205
44211
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -44239,7 +44245,7 @@ function GenericFinancialChatCard({
44239
44245
  isNewTab,
44240
44246
  discuss
44241
44247
  }) {
44242
- const subtitle = typeof _optionalChain([chatRef, 'access', _907 => _907.metadata, 'optionalAccess', _908 => _908.subtitle]) === "string" ? chatRef.metadata.subtitle : void 0;
44248
+ const subtitle = typeof _optionalChain([chatRef, 'access', _910 => _910.metadata, 'optionalAccess', _911 => _911.subtitle]) === "string" ? chatRef.metadata.subtitle : void 0;
44243
44249
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
44244
44250
  MingoInfoCard,
44245
44251
  {
@@ -44308,12 +44314,12 @@ function ProductReleaseChatCard({
44308
44314
  discuss
44309
44315
  }) {
44310
44316
  const releaseProps = buildProps(item);
44311
- const status = _optionalChain([item, 'optionalAccess', _909 => _909.version]) ? { label: String(item.version), variant: "grey" } : { label: "Release", variant: "grey" };
44317
+ const status = _optionalChain([item, 'optionalAccess', _912 => _912.version]) ? { label: String(item.version), variant: "grey" } : { label: "Release", variant: "grey" };
44312
44318
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
44313
44319
  EntityMingoCard,
44314
44320
  {
44315
- title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _910 => _910.title]), () => ( "")),
44316
- description: _optionalChain([item, 'optionalAccess', _911 => _911.summary]) || releaseProps.formattedDate || void 0,
44321
+ title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _913 => _913.title]), () => ( "")),
44322
+ description: _optionalChain([item, 'optionalAccess', _914 => _914.summary]) || releaseProps.formattedDate || void 0,
44317
44323
  cover: releaseProps.coverImage || void 0,
44318
44324
  fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGD345ZVcjs.Rocket02Icon, { size: 24 }),
44319
44325
  status,
@@ -44330,17 +44336,17 @@ function CampaignChatCard({
44330
44336
  isNewTab,
44331
44337
  discuss
44332
44338
  }) {
44333
- const goalsCount = Array.isArray(_optionalChain([item, 'optionalAccess', _912 => _912.goals])) ? item.goals.length : 0;
44339
+ const goalsCount = Array.isArray(_optionalChain([item, 'optionalAccess', _915 => _915.goals])) ? item.goals.length : 0;
44334
44340
  const meta = [
44335
- _optionalChain([item, 'optionalAccess', _913 => _913.start_date]) ? formatDateShort(item.start_date) : null,
44341
+ _optionalChain([item, 'optionalAccess', _916 => _916.start_date]) ? formatDateShort(item.start_date) : null,
44336
44342
  goalsCount > 0 ? `${goalsCount} goal${goalsCount !== 1 ? "s" : ""}` : null,
44337
44343
  "Marketing campaign"
44338
44344
  ].filter(Boolean).join(" \xB7 ");
44339
44345
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
44340
44346
  EntityMingoCard,
44341
44347
  {
44342
- title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _914 => _914.name]), () => ( "")),
44343
- description: meta || _optionalChain([item, 'optionalAccess', _915 => _915.description]) || void 0,
44348
+ title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _917 => _917.name]), () => ( "")),
44349
+ description: meta || _optionalChain([item, 'optionalAccess', _918 => _918.description]) || void 0,
44344
44350
  fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGD345ZVcjs.Megaphone01Icon, { size: 24 }),
44345
44351
  chatRef,
44346
44352
  isNewTab,
@@ -44393,14 +44399,14 @@ function BlogChatCard({
44393
44399
  hasEmbeddedVideo,
44394
44400
  discuss
44395
44401
  }) {
44396
- const category = Array.isArray(_optionalChain([item, 'optionalAccess', _916 => _916.categories])) ? _optionalChain([item, 'access', _917 => _917.categories, 'access', _918 => _918.find, 'call', _919 => _919((c) => c && c.name), 'optionalAccess', _920 => _920.name]) : void 0;
44402
+ const category = Array.isArray(_optionalChain([item, 'optionalAccess', _919 => _919.categories])) ? _optionalChain([item, 'access', _920 => _920.categories, 'access', _921 => _921.find, 'call', _922 => _922((c) => c && c.name), 'optionalAccess', _923 => _923.name]) : void 0;
44397
44403
  const status = hasEmbeddedVideo ? { label: "Video", variant: "primary" } : category ? { label: category, variant: "grey" } : void 0;
44398
44404
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
44399
44405
  EntityMingoCard,
44400
44406
  {
44401
- title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _921 => _921.title]), () => ( "")),
44402
- description: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _922 => _922.summary]), () => ( void 0)),
44403
- cover: entityCover(_optionalChain([item, 'optionalAccess', _923 => _923.featured_image]), ogPlaceholder),
44407
+ title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _924 => _924.title]), () => ( "")),
44408
+ description: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _925 => _925.summary]), () => ( void 0)),
44409
+ cover: entityCover(_optionalChain([item, 'optionalAccess', _926 => _926.featured_image]), ogPlaceholder),
44404
44410
  fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGD345ZVcjs.NewspaperIcon, { size: 24 }),
44405
44411
  status,
44406
44412
  chatRef,
@@ -44417,13 +44423,13 @@ function CaseStudyChatCard({
44417
44423
  ogPlaceholder,
44418
44424
  discuss
44419
44425
  }) {
44420
- const meta = [_optionalChain([item, 'optionalAccess', _924 => _924.msp, 'optionalAccess', _925 => _925.name]), _optionalChain([item, 'optionalAccess', _926 => _926.user, 'optionalAccess', _927 => _927.full_name])].filter(Boolean).join(" \xB7 ");
44426
+ const meta = [_optionalChain([item, 'optionalAccess', _927 => _927.msp, 'optionalAccess', _928 => _928.name]), _optionalChain([item, 'optionalAccess', _929 => _929.user, 'optionalAccess', _930 => _930.full_name])].filter(Boolean).join(" \xB7 ");
44421
44427
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
44422
44428
  EntityMingoCard,
44423
44429
  {
44424
- title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _928 => _928.title]), () => ( "")),
44425
- description: _optionalChain([item, 'optionalAccess', _929 => _929.summary]) || meta || void 0,
44426
- cover: entityCover(_optionalChain([item, 'optionalAccess', _930 => _930.featured_image]), ogPlaceholder),
44430
+ title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _931 => _931.title]), () => ( "")),
44431
+ description: _optionalChain([item, 'optionalAccess', _932 => _932.summary]) || meta || void 0,
44432
+ cover: entityCover(_optionalChain([item, 'optionalAccess', _933 => _933.featured_image]), ogPlaceholder),
44427
44433
  fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGD345ZVcjs.TrophyIcon, { size: 24 }),
44428
44434
  status: { label: "Case study", variant: "grey" },
44429
44435
  chatRef,
@@ -44440,13 +44446,13 @@ function CustomerInterviewChatCard({
44440
44446
  ogPlaceholder,
44441
44447
  discuss
44442
44448
  }) {
44443
- const meta = [_optionalChain([item, 'optionalAccess', _931 => _931.user, 'optionalAccess', _932 => _932.full_name]), _optionalChain([item, 'optionalAccess', _933 => _933.msp, 'optionalAccess', _934 => _934.name])].filter(Boolean).join(" \xB7 ");
44449
+ const meta = [_optionalChain([item, 'optionalAccess', _934 => _934.user, 'optionalAccess', _935 => _935.full_name]), _optionalChain([item, 'optionalAccess', _936 => _936.msp, 'optionalAccess', _937 => _937.name])].filter(Boolean).join(" \xB7 ");
44444
44450
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
44445
44451
  EntityMingoCard,
44446
44452
  {
44447
- title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _935 => _935.title]), () => ( "")),
44448
- description: _optionalChain([item, 'optionalAccess', _936 => _936.video_summary]) || meta || void 0,
44449
- cover: entityCover(_optionalChain([item, 'optionalAccess', _937 => _937.featured_image]), ogPlaceholder),
44453
+ title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _938 => _938.title]), () => ( "")),
44454
+ description: _optionalChain([item, 'optionalAccess', _939 => _939.video_summary]) || meta || void 0,
44455
+ cover: entityCover(_optionalChain([item, 'optionalAccess', _940 => _940.featured_image]), ogPlaceholder),
44450
44456
  fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGD345ZVcjs.MicrophoneIcon, { size: 24 }),
44451
44457
  status: { label: "Interview", variant: "grey" },
44452
44458
  chatRef,
@@ -44463,13 +44469,13 @@ function InvestorUpdateChatCard({
44463
44469
  ogPlaceholder,
44464
44470
  discuss
44465
44471
  }) {
44466
- const title = _optionalChain([item, 'optionalAccess', _938 => _938.title]) || `Update #${_nullishCoalesce(_optionalChain([item, 'optionalAccess', _939 => _939.update_number]), () => ( "?"))}`;
44472
+ const title = _optionalChain([item, 'optionalAccess', _941 => _941.title]) || `Update #${_nullishCoalesce(_optionalChain([item, 'optionalAccess', _942 => _942.update_number]), () => ( "?"))}`;
44467
44473
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
44468
44474
  EntityMingoCard,
44469
44475
  {
44470
44476
  title,
44471
- description: _optionalChain([item, 'optionalAccess', _940 => _940.strategic_update]) || _optionalChain([item, 'optionalAccess', _941 => _941.content]) || formatInvestorUpdatePeriod(_optionalChain([item, 'optionalAccess', _942 => _942.period_start]), _optionalChain([item, 'optionalAccess', _943 => _943.period_end])) || void 0,
44472
- cover: entityCover(_optionalChain([item, 'optionalAccess', _944 => _944.featured_image]), ogPlaceholder),
44477
+ description: _optionalChain([item, 'optionalAccess', _943 => _943.strategic_update]) || _optionalChain([item, 'optionalAccess', _944 => _944.content]) || formatInvestorUpdatePeriod(_optionalChain([item, 'optionalAccess', _945 => _945.period_start]), _optionalChain([item, 'optionalAccess', _946 => _946.period_end])) || void 0,
44478
+ cover: entityCover(_optionalChain([item, 'optionalAccess', _947 => _947.featured_image]), ogPlaceholder),
44473
44479
  fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGD345ZVcjs.PresentationLineIcon, { size: 24 }),
44474
44480
  status: { label: "Investor update", variant: "grey" },
44475
44481
  chatRef,
@@ -44486,12 +44492,12 @@ function OnboardingGuideChatCard({
44486
44492
  ogPlaceholder,
44487
44493
  discuss
44488
44494
  }) {
44489
- const cover = _nullishCoalesce(_nullishCoalesce(entityCover(_optionalChain([item, 'optionalAccess', _945 => _945.featured_image])), () => ( entityCover(_optionalChain([item, 'optionalAccess', _946 => _946.main_video_thumbnail])))), () => ( entityCover(_optionalChain([item, 'optionalAccess', _947 => _947.og_image_url]), ogPlaceholder)));
44495
+ const cover = _nullishCoalesce(_nullishCoalesce(entityCover(_optionalChain([item, 'optionalAccess', _948 => _948.featured_image])), () => ( entityCover(_optionalChain([item, 'optionalAccess', _949 => _949.main_video_thumbnail])))), () => ( entityCover(_optionalChain([item, 'optionalAccess', _950 => _950.og_image_url]), ogPlaceholder)));
44490
44496
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
44491
44497
  EntityMingoCard,
44492
44498
  {
44493
- title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _948 => _948.title]), () => ( "")),
44494
- description: _nullishCoalesce(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _949 => _949.summary]), () => ( _optionalChain([item, 'optionalAccess', _950 => _950.description]))), () => ( void 0)),
44499
+ title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _951 => _951.title]), () => ( "")),
44500
+ description: _nullishCoalesce(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _952 => _952.summary]), () => ( _optionalChain([item, 'optionalAccess', _953 => _953.description]))), () => ( void 0)),
44495
44501
  cover,
44496
44502
  fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGD345ZVcjs.CompassIcon, { size: 24 }),
44497
44503
  status: { label: "Guide", variant: "grey" },
@@ -44512,25 +44518,25 @@ function ProgramChatCard({
44512
44518
  discuss
44513
44519
  }) {
44514
44520
  const icon = configKey === "webinar" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGD345ZVcjs.PresentationBarIcon, { size: 24 }) : configKey === "event" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGD345ZVcjs.CalendarIcon, { size: 24 }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGD345ZVcjs.MicrophoneIcon, { size: 24 });
44515
- const isScheduled = _optionalChain([item, 'optionalAccess', _951 => _951.status]) === "scheduled";
44521
+ const isScheduled = _optionalChain([item, 'optionalAccess', _954 => _954.status]) === "scheduled";
44516
44522
  let typeMeta;
44517
- if (configKey === "podcast" && typeof _optionalChain([item, 'optionalAccess', _952 => _952.duration_seconds]) === "number" && item.duration_seconds > 0 && !isScheduled) {
44523
+ if (configKey === "podcast" && typeof _optionalChain([item, 'optionalAccess', _955 => _955.duration_seconds]) === "number" && item.duration_seconds > 0 && !isScheduled) {
44518
44524
  typeMeta = formatDurationCompact(item.duration_seconds);
44519
- } else if (configKey === "event" && typeof _optionalChain([item, 'optionalAccess', _953 => _953.location_name]) === "string" && item.location_name.trim().length > 0) {
44525
+ } else if (configKey === "event" && typeof _optionalChain([item, 'optionalAccess', _956 => _956.location_name]) === "string" && item.location_name.trim().length > 0) {
44520
44526
  typeMeta = item.location_name;
44521
- } else if (configKey === "webinar" && _optionalChain([item, 'optionalAccess', _954 => _954.start_at])) {
44527
+ } else if (configKey === "webinar" && _optionalChain([item, 'optionalAccess', _957 => _957.start_at])) {
44522
44528
  const time = formatTimeWithTimezone(item.start_at, _nullishCoalesce(item.timezone, () => ( null)));
44523
44529
  const dur = formatDurationFromRange(item.start_at, item.end_at);
44524
44530
  typeMeta = dur ? `${time} \xB7 ${dur}` : time;
44525
44531
  }
44526
- const itemDate = formatDateUTC(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _955 => _955.date]), () => ( null)), { fallback: "", timezone: "local" });
44532
+ const itemDate = formatDateUTC(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _958 => _958.date]), () => ( null)), { fallback: "", timezone: "local" });
44527
44533
  const meta = [itemDate, typeMeta].filter(Boolean).join(" \xB7 ");
44528
44534
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
44529
44535
  EntityMingoCard,
44530
44536
  {
44531
- title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _956 => _956.title]), () => ( "")),
44532
- description: meta || _optionalChain([item, 'optionalAccess', _957 => _957.description]) || void 0,
44533
- cover: entityCover(_optionalChain([item, 'optionalAccess', _958 => _958.cover_url]), ogPlaceholder),
44537
+ title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _959 => _959.title]), () => ( "")),
44538
+ description: meta || _optionalChain([item, 'optionalAccess', _960 => _960.description]) || void 0,
44539
+ cover: entityCover(_optionalChain([item, 'optionalAccess', _961 => _961.cover_url]), ogPlaceholder),
44534
44540
  fallbackIcon: icon,
44535
44541
  status: { label, variant: "grey" },
44536
44542
  chatRef,
@@ -44547,10 +44553,10 @@ function RoadmapChatCard({
44547
44553
  cardType,
44548
44554
  discuss
44549
44555
  }) {
44550
- const logoUrl = typeof _optionalChain([item, 'optionalAccess', _959 => _959.icon]) === "string" && item.icon.startsWith("http") ? item.icon : void 0;
44551
- const useTypeIcon = cardType === "internal_task" || !logoUrl && _optionalChain([item, 'optionalAccess', _960 => _960.customItemId]) != null;
44556
+ const logoUrl = typeof _optionalChain([item, 'optionalAccess', _962 => _962.icon]) === "string" && item.icon.startsWith("http") ? item.icon : void 0;
44557
+ const useTypeIcon = cardType === "internal_task" || !logoUrl && _optionalChain([item, 'optionalAccess', _963 => _963.customItemId]) != null;
44552
44558
  const defaultIcon = cardType === "delivery_item" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGD345ZVcjs.TruckFastIcon, { size: 24 }) : cardType === "internal_task" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGD345ZVcjs.CheckSquareIcon, { size: 24 }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGD345ZVcjs.MapIcon, { size: 24 });
44553
- const icon = useTypeIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TaskTypeIcon, { customItemId: _optionalChain([item, 'optionalAccess', _961 => _961.customItemId]), className: "size-6" }) : logoUrl ? (
44559
+ const icon = useTypeIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TaskTypeIcon, { customItemId: _optionalChain([item, 'optionalAccess', _964 => _964.customItemId]), className: "size-6" }) : logoUrl ? (
44554
44560
  // Contained (not full-bleed) so the integration logo keeps its aspect
44555
44561
  // ratio inside the bordered icon box — matches RoadmapCard.
44556
44562
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "img", { src: logoUrl, alt: "", className: "size-6 object-contain" })
@@ -44558,10 +44564,10 @@ function RoadmapChatCard({
44558
44564
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
44559
44565
  EntityMingoCard,
44560
44566
  {
44561
- title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _962 => _962.title]), () => ( "")),
44562
- description: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _963 => _963.description]), () => ( void 0)),
44567
+ title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _965 => _965.title]), () => ( "")),
44568
+ description: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _966 => _966.description]), () => ( void 0)),
44563
44569
  fallbackIcon: icon,
44564
- status: statusPill(_optionalChain([item, 'optionalAccess', _964 => _964.status])),
44570
+ status: statusPill(_optionalChain([item, 'optionalAccess', _967 => _967.status])),
44565
44571
  chatRef,
44566
44572
  isNewTab,
44567
44573
  discuss,
@@ -44647,7 +44653,7 @@ function programRegistryEntries() {
44647
44653
  discuss: opts.discuss,
44648
44654
  configKey: cfg.configKey,
44649
44655
  label: cfg.configKey.charAt(0).toUpperCase() + cfg.configKey.slice(1),
44650
- ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _965 => _965.extras, 'optionalAccess', _966 => _966.buildOgPlaceholderUrl, 'optionalCall', _967 => _967(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _968 => _968.title]), () => ( "")))]), () => ( null))
44656
+ ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _968 => _968.extras, 'optionalAccess', _969 => _969.buildOgPlaceholderUrl, 'optionalCall', _970 => _970(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _971 => _971.title]), () => ( "")))]), () => ( null))
44651
44657
  }
44652
44658
  )
44653
44659
  };
@@ -44799,8 +44805,8 @@ var CHAT_CARD_REGISTRY = {
44799
44805
  chatRef,
44800
44806
  isNewTab: opts.isNewTab,
44801
44807
  discuss: opts.discuss,
44802
- ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _969 => _969.extras, 'optionalAccess', _970 => _970.buildOgPlaceholderUrl, 'optionalCall', _971 => _971(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _972 => _972.title]), () => ( "")))]), () => ( null)),
44803
- hasEmbeddedVideo: _optionalChain([chatRef, 'access', _973 => _973.metadata, 'optionalAccess', _974 => _974.hasEmbeddedVideo]) === true
44808
+ ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _972 => _972.extras, 'optionalAccess', _973 => _973.buildOgPlaceholderUrl, 'optionalCall', _974 => _974(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _975 => _975.title]), () => ( "")))]), () => ( null)),
44809
+ hasEmbeddedVideo: _optionalChain([chatRef, 'access', _976 => _976.metadata, 'optionalAccess', _977 => _977.hasEmbeddedVideo]) === true
44804
44810
  }
44805
44811
  )
44806
44812
  },
@@ -44817,7 +44823,7 @@ var CHAT_CARD_REGISTRY = {
44817
44823
  chatRef,
44818
44824
  isNewTab: opts.isNewTab,
44819
44825
  discuss: opts.discuss,
44820
- ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _975 => _975.extras, 'optionalAccess', _976 => _976.buildOgPlaceholderUrl, 'optionalCall', _977 => _977(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _978 => _978.title]), () => ( "")))]), () => ( null))
44826
+ ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _978 => _978.extras, 'optionalAccess', _979 => _979.buildOgPlaceholderUrl, 'optionalCall', _980 => _980(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _981 => _981.title]), () => ( "")))]), () => ( null))
44821
44827
  }
44822
44828
  )
44823
44829
  },
@@ -44834,7 +44840,7 @@ var CHAT_CARD_REGISTRY = {
44834
44840
  chatRef,
44835
44841
  isNewTab: opts.isNewTab,
44836
44842
  discuss: opts.discuss,
44837
- ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _979 => _979.extras, 'optionalAccess', _980 => _980.buildOgPlaceholderUrl, 'optionalCall', _981 => _981(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _982 => _982.title]), () => ( "")))]), () => ( null))
44843
+ ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _982 => _982.extras, 'optionalAccess', _983 => _983.buildOgPlaceholderUrl, 'optionalCall', _984 => _984(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _985 => _985.title]), () => ( "")))]), () => ( null))
44838
44844
  }
44839
44845
  )
44840
44846
  },
@@ -44845,7 +44851,7 @@ var CHAT_CARD_REGISTRY = {
44845
44851
  bareInline: true,
44846
44852
  skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ProductReleaseCardSkeleton, { size: "sm" }),
44847
44853
  render: (item, chatRef, opts) => {
44848
- const builder = _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _983 => _983.extras, 'optionalAccess', _984 => _984.buildProductReleaseCardProps]), () => ( defaultBuildProductReleaseCardProps));
44854
+ const builder = _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _986 => _986.extras, 'optionalAccess', _987 => _987.buildProductReleaseCardProps]), () => ( defaultBuildProductReleaseCardProps));
44849
44855
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
44850
44856
  ProductReleaseChatCard,
44851
44857
  {
@@ -44872,7 +44878,7 @@ var CHAT_CARD_REGISTRY = {
44872
44878
  chatRef,
44873
44879
  isNewTab: opts.isNewTab,
44874
44880
  discuss: opts.discuss,
44875
- ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _985 => _985.extras, 'optionalAccess', _986 => _986.buildOgPlaceholderUrl, 'optionalCall', _987 => _987(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _988 => _988.title]), () => ( "")))]), () => ( null))
44881
+ ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _988 => _988.extras, 'optionalAccess', _989 => _989.buildOgPlaceholderUrl, 'optionalCall', _990 => _990(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _991 => _991.title]), () => ( "")))]), () => ( null))
44876
44882
  }
44877
44883
  )
44878
44884
  },
@@ -44891,7 +44897,7 @@ var CHAT_CARD_REGISTRY = {
44891
44897
  chatRef,
44892
44898
  isNewTab: opts.isNewTab,
44893
44899
  discuss: opts.discuss,
44894
- ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _989 => _989.extras, 'optionalAccess', _990 => _990.buildOgPlaceholderUrl, 'optionalCall', _991 => _991(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _992 => _992.title]), () => ( "")))]), () => ( null))
44900
+ ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _992 => _992.extras, 'optionalAccess', _993 => _993.buildOgPlaceholderUrl, 'optionalCall', _994 => _994(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _995 => _995.title]), () => ( "")))]), () => ( null))
44895
44901
  }
44896
44902
  )
44897
44903
  },
@@ -44903,7 +44909,7 @@ var CHAT_CARD_REGISTRY = {
44903
44909
  skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CampaignCardAdminSkeleton, {}),
44904
44910
  // No public viewer — synthesize the hub-internal admin URL post-fetch
44905
44911
  // so the wrapper + isNewTab computation see the actual destination.
44906
- fallbackHref: (item) => _optionalChain([item, 'optionalAccess', _993 => _993.id]) ? `/admin/campaigns/${encodeURIComponent(item.id)}` : null,
44912
+ fallbackHref: (item) => _optionalChain([item, 'optionalAccess', _996 => _996.id]) ? `/admin/campaigns/${encodeURIComponent(item.id)}` : null,
44907
44913
  render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
44908
44914
  CampaignChatCard,
44909
44915
  {
@@ -44929,12 +44935,12 @@ function ChatCardNavWrap({
44929
44935
  const onClickCapture = (e) => {
44930
44936
  if (!href) return;
44931
44937
  const targetEl = e.target;
44932
- if (_optionalChain([targetEl, 'optionalAccess', _994 => _994.closest, 'optionalCall', _995 => _995("button")])) return;
44933
- if (!_optionalChain([targetEl, 'optionalAccess', _996 => _996.closest, 'optionalCall', _997 => _997("a")])) return;
44938
+ if (_optionalChain([targetEl, 'optionalAccess', _997 => _997.closest, 'optionalCall', _998 => _998("button")])) return;
44939
+ if (!_optionalChain([targetEl, 'optionalAccess', _999 => _999.closest, 'optionalCall', _1000 => _1000("a")])) return;
44934
44940
  const handled = handleChatNavClick(e, runtime, { href, path, targetPlatform }, router.push);
44935
44941
  if (!handled) return;
44936
44942
  e.stopPropagation();
44937
- if (!isNewTab && _optionalChain([panel, 'optionalAccess', _998 => _998.closeChat])) panel.closeChat();
44943
+ if (!isNewTab && _optionalChain([panel, 'optionalAccess', _1001 => _1001.closeChat])) panel.closeChat();
44938
44944
  };
44939
44945
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "contents", onClickCapture, children });
44940
44946
  }
@@ -44956,7 +44962,7 @@ function ChatCardLoader({
44956
44962
  title: chatRef.title,
44957
44963
  externalUrl: chatRef.url,
44958
44964
  targetPlatform: chatRef.targetPlatform,
44959
- path: typeof _optionalChain([chatRef, 'access', _999 => _999.metadata, 'optionalAccess', _1000 => _1000.path]) === "string" ? chatRef.metadata.path : null
44965
+ path: typeof _optionalChain([chatRef, 'access', _1002 => _1002.metadata, 'optionalAccess', _1003 => _1003.path]) === "string" ? chatRef.metadata.path : null
44960
44966
  },
44961
44967
  sourceRowCtxFromRuntime(runtime, { baseRoute, chipBasePlatform })
44962
44968
  );
@@ -44970,7 +44976,7 @@ function ChatCardLoader({
44970
44976
  const entry = CHAT_CARD_REGISTRY[resolvedChatRef.type];
44971
44977
  const fetchEntry = entry && entry.mode === "fetch" ? entry : null;
44972
44978
  const { item, isLoading } = useChatCardItem(
44973
- _nullishCoalesce(_optionalChain([fetchEntry, 'optionalAccess', _1001 => _1001.contentRefType]), () => ( "")),
44979
+ _nullishCoalesce(_optionalChain([fetchEntry, 'optionalAccess', _1004 => _1004.contentRefType]), () => ( "")),
44974
44980
  fetchEntry ? resolvedChatRef.id : ""
44975
44981
  );
44976
44982
  if (!entry) return null;
@@ -45001,7 +45007,7 @@ function ChatCardLoader({
45001
45007
  isNewTab,
45002
45008
  discuss
45003
45009
  };
45004
- const path = typeof _optionalChain([finalChatRef, 'access', _1002 => _1002.metadata, 'optionalAccess', _1003 => _1003.path]) === "string" ? finalChatRef.metadata.path : null;
45010
+ const path = typeof _optionalChain([finalChatRef, 'access', _1005 => _1005.metadata, 'optionalAccess', _1006 => _1006.path]) === "string" ? finalChatRef.metadata.path : null;
45005
45011
  const navWrap = (children) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
45006
45012
  ChatCardNavWrap,
45007
45013
  {
@@ -45387,7 +45393,7 @@ function useJetStreamDialogSubscription({
45387
45393
  const lifecycle = _chunkPXXS27EEcjs.startConnectionLifecycle.call(void 0, {
45388
45394
  conn: sharedConn,
45389
45395
  wsUrl,
45390
- onBeforeReconnect: () => _optionalChain([onBeforeReconnectRef, 'access', _1004 => _1004.current, 'optionalCall', _1005 => _1005()]),
45396
+ onBeforeReconnect: () => _optionalChain([onBeforeReconnectRef, 'access', _1007 => _1007.current, 'optionalCall', _1008 => _1008()]),
45391
45397
  backoff: reconnectionBackoffRef.current,
45392
45398
  getFreshUrl: () => getNatsWsUrlRef.current(),
45393
45399
  // JetStream emits 'error' for protocol-level failures (e.g. -ERR Permissions
@@ -45402,7 +45408,7 @@ function useJetStreamDialogSubscription({
45402
45408
  setReconnectionCount((c) => c + 1);
45403
45409
  }
45404
45410
  hadConnectionBeforeRef.current = true;
45405
- _optionalChain([onConnectRef, 'access', _1006 => _1006.current, 'optionalCall', _1007 => _1007()]);
45411
+ _optionalChain([onConnectRef, 'access', _1009 => _1009.current, 'optionalCall', _1010 => _1010()]);
45406
45412
  }
45407
45413
  if (status === "error") {
45408
45414
  console.warn("[JetStream] NATS protocol error:", evt.data);
@@ -45412,7 +45418,7 @@ function useJetStreamDialogSubscription({
45412
45418
  setIsConnected(false);
45413
45419
  setIsSubscribed(false);
45414
45420
  tearDownSubscription();
45415
- _optionalChain([onDisconnectRef, 'access', _1008 => _1008.current, 'optionalCall', _1009 => _1009()]);
45421
+ _optionalChain([onDisconnectRef, 'access', _1011 => _1011.current, 'optionalCall', _1012 => _1012()]);
45416
45422
  }
45417
45423
  }
45418
45424
  });
@@ -45491,7 +45497,7 @@ function useJetStreamDialogSubscription({
45491
45497
  }
45492
45498
  subscriptionRef.current = handle;
45493
45499
  setIsSubscribed(true);
45494
- _optionalChain([onSubscribedRef, 'access', _1010 => _1010.current, 'optionalCall', _1011 => _1011()]);
45500
+ _optionalChain([onSubscribedRef, 'access', _1013 => _1013.current, 'optionalCall', _1014 => _1014()]);
45495
45501
  } catch (e44) {
45496
45502
  if (!cancelled) {
45497
45503
  setIsSubscribed(false);
@@ -45604,20 +45610,20 @@ function useNatsDialogSubscription({
45604
45610
  const tearDownSubscriptions = () => {
45605
45611
  subscriptionRefs.current.forEach((sub) => {
45606
45612
  try {
45607
- _optionalChain([sub, 'optionalAccess', _1012 => _1012.unsubscribe, 'call', _1013 => _1013()]);
45613
+ _optionalChain([sub, 'optionalAccess', _1015 => _1015.unsubscribe, 'call', _1016 => _1016()]);
45608
45614
  } catch (e46) {
45609
45615
  }
45610
45616
  });
45611
45617
  subscriptionRefs.current.clear();
45612
45618
  lastSubscribedDialogIdRef.current = null;
45613
- _optionalChain([abortControllerRef, 'access', _1014 => _1014.current, 'optionalAccess', _1015 => _1015.abort, 'call', _1016 => _1016()]);
45619
+ _optionalChain([abortControllerRef, 'access', _1017 => _1017.current, 'optionalAccess', _1018 => _1018.abort, 'call', _1019 => _1019()]);
45614
45620
  abortControllerRef.current = null;
45615
45621
  };
45616
45622
  const isDisconnectStatus = (status) => status === "closed" || status === "disconnected";
45617
45623
  const lifecycle = _chunkPXXS27EEcjs.startConnectionLifecycle.call(void 0, {
45618
45624
  conn: sharedConn,
45619
45625
  wsUrl,
45620
- onBeforeReconnect: () => _optionalChain([onBeforeReconnectRef, 'access', _1017 => _1017.current, 'optionalCall', _1018 => _1018()]),
45626
+ onBeforeReconnect: () => _optionalChain([onBeforeReconnectRef, 'access', _1020 => _1020.current, 'optionalCall', _1021 => _1021()]),
45621
45627
  backoff: reconnectionBackoffRef.current,
45622
45628
  getFreshUrl: () => getNatsWsUrlRef.current(),
45623
45629
  shouldRetryOn: isDisconnectStatus,
@@ -45628,7 +45634,7 @@ function useNatsDialogSubscription({
45628
45634
  setReconnectionCount((c) => c + 1);
45629
45635
  }
45630
45636
  hadConnectionBeforeRef.current = true;
45631
- _optionalChain([onConnectRef, 'access', _1019 => _1019.current, 'optionalCall', _1020 => _1020()]);
45637
+ _optionalChain([onConnectRef, 'access', _1022 => _1022.current, 'optionalCall', _1023 => _1023()]);
45632
45638
  }
45633
45639
  if (status === "error") {
45634
45640
  console.warn("[NATS] protocol error:", evt.data);
@@ -45638,7 +45644,7 @@ function useNatsDialogSubscription({
45638
45644
  setIsConnected(false);
45639
45645
  setIsSubscribed(false);
45640
45646
  tearDownSubscriptions();
45641
- _optionalChain([onDisconnectRef, 'access', _1021 => _1021.current, 'optionalCall', _1022 => _1022()]);
45647
+ _optionalChain([onDisconnectRef, 'access', _1024 => _1024.current, 'optionalCall', _1025 => _1025()]);
45642
45648
  }
45643
45649
  }
45644
45650
  });
@@ -45669,13 +45675,13 @@ function useNatsDialogSubscription({
45669
45675
  setIsSubscribed(false);
45670
45676
  subscriptionRefs.current.forEach((sub) => {
45671
45677
  try {
45672
- _optionalChain([sub, 'optionalAccess', _1023 => _1023.unsubscribe, 'call', _1024 => _1024()]);
45678
+ _optionalChain([sub, 'optionalAccess', _1026 => _1026.unsubscribe, 'call', _1027 => _1027()]);
45673
45679
  } catch (e47) {
45674
45680
  }
45675
45681
  });
45676
45682
  subscriptionRefs.current.clear();
45677
45683
  lastSubscribedDialogIdRef.current = null;
45678
- _optionalChain([abortControllerRef, 'access', _1025 => _1025.current, 'optionalAccess', _1026 => _1026.abort, 'call', _1027 => _1027()]);
45684
+ _optionalChain([abortControllerRef, 'access', _1028 => _1028.current, 'optionalAccess', _1029 => _1029.abort, 'call', _1030 => _1030()]);
45679
45685
  abortControllerRef.current = null;
45680
45686
  }
45681
45687
  return;
@@ -45687,12 +45693,12 @@ function useNatsDialogSubscription({
45687
45693
  if (subscriptionRefs.current.size > 0) {
45688
45694
  subscriptionRefs.current.forEach((sub) => {
45689
45695
  try {
45690
- _optionalChain([sub, 'optionalAccess', _1028 => _1028.unsubscribe, 'call', _1029 => _1029()]);
45696
+ _optionalChain([sub, 'optionalAccess', _1031 => _1031.unsubscribe, 'call', _1032 => _1032()]);
45691
45697
  } catch (e48) {
45692
45698
  }
45693
45699
  });
45694
45700
  subscriptionRefs.current.clear();
45695
- _optionalChain([abortControllerRef, 'access', _1030 => _1030.current, 'optionalAccess', _1031 => _1031.abort, 'call', _1032 => _1032()]);
45701
+ _optionalChain([abortControllerRef, 'access', _1033 => _1033.current, 'optionalAccess', _1034 => _1034.abort, 'call', _1035 => _1035()]);
45696
45702
  }
45697
45703
  abortControllerRef.current = new AbortController();
45698
45704
  const abort = abortControllerRef.current;
@@ -45724,7 +45730,7 @@ function useNatsDialogSubscription({
45724
45730
  });
45725
45731
  lastSubscribedDialogIdRef.current = dialogId;
45726
45732
  setIsSubscribed(true);
45727
- _optionalChain([onSubscribedRef, 'access', _1033 => _1033.current, 'optionalCall', _1034 => _1034()]);
45733
+ _optionalChain([onSubscribedRef, 'access', _1036 => _1036.current, 'optionalCall', _1037 => _1037()]);
45728
45734
  };
45729
45735
  if (isConnectedRef.current) {
45730
45736
  createSubscriptions();
@@ -45734,7 +45740,7 @@ function useNatsDialogSubscription({
45734
45740
  abort.abort();
45735
45741
  subscriptionRefs.current.forEach((sub) => {
45736
45742
  try {
45737
- _optionalChain([sub, 'optionalAccess', _1035 => _1035.unsubscribe, 'call', _1036 => _1036()]);
45743
+ _optionalChain([sub, 'optionalAccess', _1038 => _1038.unsubscribe, 'call', _1039 => _1039()]);
45738
45744
  } catch (e50) {
45739
45745
  }
45740
45746
  });
@@ -45775,7 +45781,7 @@ function useNatsDialogSubscription({
45775
45781
  });
45776
45782
  lastSubscribedDialogIdRef.current = dialogId2;
45777
45783
  setIsSubscribed(true);
45778
- _optionalChain([onSubscribedRef, 'access', _1037 => _1037.current, 'optionalCall', _1038 => _1038()]);
45784
+ _optionalChain([onSubscribedRef, 'access', _1040 => _1040.current, 'optionalCall', _1041 => _1041()]);
45779
45785
  } else if (subscriptionRefs.current.size > 0) {
45780
45786
  setIsSubscribed(true);
45781
45787
  }
@@ -45783,10 +45789,10 @@ function useNatsDialogSubscription({
45783
45789
  return { isConnected, isSubscribed, reconnectionCount };
45784
45790
  }
45785
45791
  function buildNatsWsUrl(apiBaseUrl, options) {
45786
- const path = _optionalChain([options, 'optionalAccess', _1039 => _1039.source]) === "dashboard" ? "/ws/nats-api" : "/ws/nats";
45792
+ const path = _optionalChain([options, 'optionalAccess', _1042 => _1042.source]) === "dashboard" ? "/ws/nats-api" : "/ws/nats";
45787
45793
  const u = new URL(path, apiBaseUrl);
45788
45794
  u.protocol = u.protocol === "https:" ? "wss:" : "ws:";
45789
- if (_optionalChain([options, 'optionalAccess', _1040 => _1040.includeAuthParam]) && _optionalChain([options, 'optionalAccess', _1041 => _1041.token])) {
45795
+ if (_optionalChain([options, 'optionalAccess', _1043 => _1043.includeAuthParam]) && _optionalChain([options, 'optionalAccess', _1044 => _1044.token])) {
45790
45796
  u.searchParams.set("authorization", options.token);
45791
45797
  }
45792
45798
  return u.toString();
@@ -45922,7 +45928,7 @@ function parseChunkToAction(chunk) {
45922
45928
  // is REQUIRED on `ChatContextItem`, so fall back to the id (same as the
45923
45929
  // historical path in `process-historical-messages.ts`) — keeps both
45924
45930
  // message sources producing an identical shape.
45925
- contextItems: Array.isArray(data.contextItems) ? data.contextItems.filter((it) => typeof _optionalChain([it, 'optionalAccess', _1042 => _1042.type]) === "string" && typeof _optionalChain([it, 'optionalAccess', _1043 => _1043.id]) === "string").map((it) => ({ type: it.type, id: it.id, label: it.id })) : void 0
45931
+ contextItems: Array.isArray(data.contextItems) ? data.contextItems.filter((it) => typeof _optionalChain([it, 'optionalAccess', _1045 => _1045.type]) === "string" && typeof _optionalChain([it, 'optionalAccess', _1046 => _1046.id]) === "string").map((it) => ({ type: it.type, id: it.id, label: it.id })) : void 0
45926
45932
  };
45927
45933
  case MESSAGE_TYPE.TOKEN_USAGE:
45928
45934
  return {
@@ -46114,8 +46120,8 @@ var MessageSegmentAccumulator = class {
46114
46120
  type: "tool_execution",
46115
46121
  data: {
46116
46122
  ...toolData,
46117
- toolTitle: _nullishCoalesce(_nullishCoalesce(toolData.toolTitle, () => ( _optionalChain([existingExecuting, 'optionalAccess', _1044 => _1044.data, 'access', _1045 => _1045.toolTitle]))), () => ( _optionalChain([executingTool, 'optionalAccess', _1046 => _1046.toolTitle]))),
46118
- parameters: toolData.parameters || _optionalChain([executingTool, 'optionalAccess', _1047 => _1047.parameters])
46123
+ toolTitle: _nullishCoalesce(_nullishCoalesce(toolData.toolTitle, () => ( _optionalChain([existingExecuting, 'optionalAccess', _1047 => _1047.data, 'access', _1048 => _1048.toolTitle]))), () => ( _optionalChain([executingTool, 'optionalAccess', _1049 => _1049.toolTitle]))),
46124
+ parameters: toolData.parameters || _optionalChain([executingTool, 'optionalAccess', _1050 => _1050.parameters])
46119
46125
  }
46120
46126
  };
46121
46127
  if (existingIndex !== -1) {
@@ -46139,8 +46145,8 @@ var MessageSegmentAccumulator = class {
46139
46145
  if (seg.type !== "approval_batch") return seg;
46140
46146
  const hasCall = seg.data.toolCalls.some((c) => c.toolExecutionRequestId === execId);
46141
46147
  if (!hasCall) return seg;
46142
- const prev = _optionalChain([seg, 'access', _1048 => _1048.data, 'access', _1049 => _1049.executions, 'optionalAccess', _1050 => _1050[execId]]);
46143
- const next = toolData.type === "EXECUTED_TOOL" ? { status: "done", result: toolData.result, success: toolData.success } : { status: "executing", result: _optionalChain([prev, 'optionalAccess', _1051 => _1051.result]), success: _optionalChain([prev, 'optionalAccess', _1052 => _1052.success]) };
46148
+ const prev = _optionalChain([seg, 'access', _1051 => _1051.data, 'access', _1052 => _1052.executions, 'optionalAccess', _1053 => _1053[execId]]);
46149
+ const next = toolData.type === "EXECUTED_TOOL" ? { status: "done", result: toolData.result, success: toolData.success } : { status: "executing", result: _optionalChain([prev, 'optionalAccess', _1054 => _1054.result]), success: _optionalChain([prev, 'optionalAccess', _1055 => _1055.success]) };
46144
46150
  matched = true;
46145
46151
  return {
46146
46152
  ...seg,
@@ -46262,10 +46268,10 @@ var MessageSegmentAccumulator = class {
46262
46268
  const segment = {
46263
46269
  type: "approval_request",
46264
46270
  data: {
46265
- command: _optionalChain([pendingApproval, 'optionalAccess', _1053 => _1053.command]) || "",
46266
- explanation: _optionalChain([pendingApproval, 'optionalAccess', _1054 => _1054.explanation]),
46271
+ command: _optionalChain([pendingApproval, 'optionalAccess', _1056 => _1056.command]) || "",
46272
+ explanation: _optionalChain([pendingApproval, 'optionalAccess', _1057 => _1057.explanation]),
46267
46273
  requestId,
46268
- approvalType: _optionalChain([pendingApproval, 'optionalAccess', _1055 => _1055.approvalType]) || approvalType
46274
+ approvalType: _optionalChain([pendingApproval, 'optionalAccess', _1058 => _1058.approvalType]) || approvalType
46269
46275
  },
46270
46276
  status,
46271
46277
  onApprove: this.callbacks.onApprove,
@@ -46457,7 +46463,7 @@ function useRealtimeChunkProcessor(options) {
46457
46463
  if (initialState.escalatedApprovals) {
46458
46464
  pendingEscalatedRef.current = new Map(initialState.escalatedApprovals);
46459
46465
  initialState.escalatedApprovals.forEach((data, requestId) => {
46460
- _optionalChain([callbacks, 'access', _1056 => _1056.onEscalatedApproval, 'optionalCall', _1057 => _1057(requestId, data)]);
46466
+ _optionalChain([callbacks, 'access', _1059 => _1059.onEscalatedApproval, 'optionalCall', _1060 => _1060(requestId, data)]);
46461
46467
  });
46462
46468
  }
46463
46469
  hasEverStreamedRef.current = true;
@@ -46478,12 +46484,12 @@ function useRealtimeChunkProcessor(options) {
46478
46484
  if (!action) return;
46479
46485
  const accumulator = accumulatorRef.current;
46480
46486
  const streamSeq = chunk && typeof chunk === "object" && typeof chunk.streamSeq === "number" ? chunk.streamSeq : void 0;
46481
- const emitSegments = (s, meta) => _optionalChain([callbacks, 'access', _1058 => _1058.onSegmentsUpdate, 'optionalCall', _1059 => _1059(s, streamSeq != null ? { ...meta, streamSeq } : meta)]);
46487
+ const emitSegments = (s, meta) => _optionalChain([callbacks, 'access', _1061 => _1061.onSegmentsUpdate, 'optionalCall', _1062 => _1062(s, streamSeq != null ? { ...meta, streamSeq } : meta)]);
46482
46488
  if (action.action === "direct_message") sawDirectMessageRef.current = true;
46483
46489
  if ((directModeFlagRef.current || sawDirectMessageRef.current) && !DIRECT_MODE_ALLOWED.has(action.action)) {
46484
46490
  if (isInStreamRef.current) {
46485
46491
  isInStreamRef.current = false;
46486
- _optionalChain([callbacks, 'access', _1060 => _1060.onStreamEnd, 'optionalCall', _1061 => _1061()]);
46492
+ _optionalChain([callbacks, 'access', _1063 => _1063.onStreamEnd, 'optionalCall', _1064 => _1064()]);
46487
46493
  accumulator.resetSegments();
46488
46494
  }
46489
46495
  return;
@@ -46492,16 +46498,16 @@ function useRealtimeChunkProcessor(options) {
46492
46498
  case "message_start":
46493
46499
  isInStreamRef.current = true;
46494
46500
  hasEverStreamedRef.current = true;
46495
- _optionalChain([callbacks, 'access', _1062 => _1062.onStreamStart, 'optionalCall', _1063 => _1063()]);
46501
+ _optionalChain([callbacks, 'access', _1065 => _1065.onStreamStart, 'optionalCall', _1066 => _1066()]);
46496
46502
  accumulator.resetSegments();
46497
46503
  break;
46498
46504
  case "message_end":
46499
46505
  isInStreamRef.current = false;
46500
- _optionalChain([callbacks, 'access', _1064 => _1064.onStreamEnd, 'optionalCall', _1065 => _1065()]);
46506
+ _optionalChain([callbacks, 'access', _1067 => _1067.onStreamEnd, 'optionalCall', _1068 => _1068()]);
46501
46507
  accumulator.resetSegments();
46502
46508
  break;
46503
46509
  case "metadata":
46504
- _optionalChain([callbacks, 'access', _1066 => _1066.onMetadata, 'optionalCall', _1067 => _1067(action)]);
46510
+ _optionalChain([callbacks, 'access', _1069 => _1069.onMetadata, 'optionalCall', _1070 => _1070(action)]);
46505
46511
  break;
46506
46512
  case "text": {
46507
46513
  const segments = accumulator.appendText(action.text);
@@ -46544,7 +46550,7 @@ function useRealtimeChunkProcessor(options) {
46544
46550
  emitSegments(segments);
46545
46551
  } else {
46546
46552
  pendingEscalatedRef.current.set(requestId, { command, explanation, approvalType });
46547
- _optionalChain([callbacks, 'access', _1068 => _1068.onEscalatedApproval, 'optionalCall', _1069 => _1069(requestId, { command, explanation, approvalType })]);
46553
+ _optionalChain([callbacks, 'access', _1071 => _1071.onEscalatedApproval, 'optionalCall', _1072 => _1072(requestId, { command, explanation, approvalType })]);
46548
46554
  }
46549
46555
  break;
46550
46556
  }
@@ -46556,13 +46562,13 @@ function useRealtimeChunkProcessor(options) {
46556
46562
  const summary = required ? getCommandText(required) : `Batch of ${toolCalls.length} tool calls`;
46557
46563
  pendingEscalatedRef.current.set(requestId, {
46558
46564
  command: summary,
46559
- explanation: _optionalChain([required, 'optionalAccess', _1070 => _1070.toolExplanation]),
46565
+ explanation: _optionalChain([required, 'optionalAccess', _1073 => _1073.toolExplanation]),
46560
46566
  approvalType,
46561
46567
  toolCalls
46562
46568
  });
46563
- _optionalChain([callbacks, 'access', _1071 => _1071.onEscalatedApproval, 'optionalCall', _1072 => _1072(requestId, {
46569
+ _optionalChain([callbacks, 'access', _1074 => _1074.onEscalatedApproval, 'optionalCall', _1075 => _1075(requestId, {
46564
46570
  command: summary,
46565
- explanation: _optionalChain([required, 'optionalAccess', _1073 => _1073.toolExplanation]),
46571
+ explanation: _optionalChain([required, 'optionalAccess', _1076 => _1076.toolExplanation]),
46566
46572
  approvalType
46567
46573
  })]);
46568
46574
  break;
@@ -46592,7 +46598,7 @@ function useRealtimeChunkProcessor(options) {
46592
46598
  const status = approved ? "approved" : "rejected";
46593
46599
  if (escalatedData) {
46594
46600
  pendingEscalatedRef.current.delete(requestId);
46595
- _optionalChain([callbacks, 'access', _1074 => _1074.onEscalatedApprovalResult, 'optionalCall', _1075 => _1075(requestId, approved, {
46601
+ _optionalChain([callbacks, 'access', _1077 => _1077.onEscalatedApprovalResult, 'optionalCall', _1078 => _1078(requestId, approved, {
46596
46602
  command: escalatedData.command,
46597
46603
  explanation: escalatedData.explanation,
46598
46604
  approvalType: escalatedData.approvalType
@@ -46638,29 +46644,29 @@ function useRealtimeChunkProcessor(options) {
46638
46644
  emitSegments(accumulator.getSegments());
46639
46645
  }
46640
46646
  }
46641
- _optionalChain([callbacks, 'access', _1076 => _1076.onApprovalResolved, 'optionalCall', _1077 => _1077(requestId, status, approvalType, resolvedByName)]);
46647
+ _optionalChain([callbacks, 'access', _1079 => _1079.onApprovalResolved, 'optionalCall', _1080 => _1080(requestId, status, approvalType, resolvedByName)]);
46642
46648
  break;
46643
46649
  }
46644
46650
  case "error": {
46645
46651
  let message2;
46646
- if ("details" in action && _optionalChain([action, 'optionalAccess', _1078 => _1078.details])) {
46652
+ if ("details" in action && _optionalChain([action, 'optionalAccess', _1081 => _1081.details])) {
46647
46653
  try {
46648
- message2 = _optionalChain([JSON, 'access', _1079 => _1079.parse, 'call', _1080 => _1080(action.details), 'optionalAccess', _1081 => _1081.error, 'optionalAccess', _1082 => _1082.message]);
46654
+ message2 = _optionalChain([JSON, 'access', _1082 => _1082.parse, 'call', _1083 => _1083(action.details), 'optionalAccess', _1084 => _1084.error, 'optionalAccess', _1085 => _1085.message]);
46649
46655
  } catch (e52) {
46650
46656
  message2 = action.details;
46651
46657
  }
46652
46658
  }
46653
46659
  const segments = accumulator.addError(action.error, message2);
46654
46660
  emitSegments(segments);
46655
- _optionalChain([callbacks, 'access', _1083 => _1083.onError, 'optionalCall', _1084 => _1084(action.error, message2)]);
46661
+ _optionalChain([callbacks, 'access', _1086 => _1086.onError, 'optionalCall', _1087 => _1087(action.error, message2)]);
46656
46662
  break;
46657
46663
  }
46658
46664
  case "system": {
46659
- _optionalChain([callbacks, 'access', _1085 => _1085.onSystemMessage, 'optionalCall', _1086 => _1086(action.text, { streamSeq })]);
46665
+ _optionalChain([callbacks, 'access', _1088 => _1088.onSystemMessage, 'optionalCall', _1089 => _1089(action.text, { streamSeq })]);
46660
46666
  break;
46661
46667
  }
46662
46668
  case "direct_message": {
46663
- _optionalChain([callbacks, 'access', _1087 => _1087.onDirectMessage, 'optionalCall', _1088 => _1088(action.text, {
46669
+ _optionalChain([callbacks, 'access', _1090 => _1090.onDirectMessage, 'optionalCall', _1091 => _1091(action.text, {
46664
46670
  ownerType: action.ownerType,
46665
46671
  displayName: action.displayName,
46666
46672
  userId: action.userId,
@@ -46669,7 +46675,7 @@ function useRealtimeChunkProcessor(options) {
46669
46675
  break;
46670
46676
  }
46671
46677
  case "message_request":
46672
- _optionalChain([callbacks, 'access', _1089 => _1089.onUserMessage, 'optionalCall', _1090 => _1090(action.text, {
46678
+ _optionalChain([callbacks, 'access', _1092 => _1092.onUserMessage, 'optionalCall', _1093 => _1093(action.text, {
46673
46679
  ownerType: action.ownerType,
46674
46680
  displayName: action.displayName,
46675
46681
  userId: action.userId,
@@ -46678,7 +46684,7 @@ function useRealtimeChunkProcessor(options) {
46678
46684
  })]);
46679
46685
  break;
46680
46686
  case "token_usage":
46681
- _optionalChain([callbacks, 'access', _1091 => _1091.onTokenUsage, 'optionalCall', _1092 => _1092(action.data)]);
46687
+ _optionalChain([callbacks, 'access', _1094 => _1094.onTokenUsage, 'optionalCall', _1095 => _1095(action.data)]);
46682
46688
  break;
46683
46689
  case "context_compaction_start": {
46684
46690
  const standalone = !isInStreamRef.current;
@@ -46693,7 +46699,7 @@ function useRealtimeChunkProcessor(options) {
46693
46699
  break;
46694
46700
  }
46695
46701
  case "dialog_closed":
46696
- _optionalChain([callbacks, 'access', _1093 => _1093.onDialogClosed, 'optionalCall', _1094 => _1094()]);
46702
+ _optionalChain([callbacks, 'access', _1096 => _1096.onDialogClosed, 'optionalCall', _1097 => _1097()]);
46697
46703
  break;
46698
46704
  default:
46699
46705
  break;
@@ -46740,7 +46746,7 @@ async function fetchSlashCommands(prefix, signal, commandsUrl) {
46740
46746
  const data = await res.json();
46741
46747
  return _nullishCoalesce(data.commands, () => ( []));
46742
46748
  } catch (err) {
46743
- if (_optionalChain([err, 'optionalAccess', _1095 => _1095.name]) === "AbortError") throw err;
46749
+ if (_optionalChain([err, 'optionalAccess', _1098 => _1098.name]) === "AbortError") throw err;
46744
46750
  console.warn("[chat] slash-commands fetch failed, showing none:", err);
46745
46751
  return [];
46746
46752
  }
@@ -46761,7 +46767,7 @@ function useSlashCommands(prefix, commandsUrl) {
46761
46767
  const next = await fetchSlashCommands(prefix, ctrl.signal, commandsUrl);
46762
46768
  if (!cancelled) setCommands(next);
46763
46769
  } catch (err) {
46764
- if (!cancelled && _optionalChain([err, 'optionalAccess', _1096 => _1096.name]) !== "AbortError") {
46770
+ if (!cancelled && _optionalChain([err, 'optionalAccess', _1099 => _1099.name]) !== "AbortError") {
46765
46771
  console.warn("[use-slash-commands] fetch failed:", err);
46766
46772
  }
46767
46773
  } finally {
@@ -46780,7 +46786,7 @@ function useSlashCommandRegistry(commandsUrl, options) {
46780
46786
  const query = _reactquery.useQuery.call(void 0, {
46781
46787
  queryKey: ["chat-slash-commands", commandsUrl],
46782
46788
  queryFn: ({ signal }) => fetchSlashCommands("", signal, commandsUrl),
46783
- enabled: _nullishCoalesce(_optionalChain([options, 'optionalAccess', _1097 => _1097.enabled]), () => ( true)),
46789
+ enabled: _nullishCoalesce(_optionalChain([options, 'optionalAccess', _1100 => _1100.enabled]), () => ( true)),
46784
46790
  staleTime: Infinity,
46785
46791
  gcTime: Infinity,
46786
46792
  // The commands registry is non-critical chrome — a failure degrades to an
@@ -46819,21 +46825,21 @@ async function fetchEmptyStateConfig(signal, emptyStateUrl) {
46819
46825
  }
46820
46826
  const data = await res.json();
46821
46827
  return {
46822
- name: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1098 => _1098.name]), () => ( null)),
46823
- icon: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1099 => _1099.icon]), () => ( null)),
46824
- greeting: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1100 => _1100.greeting]), () => ( null)),
46825
- enabledRagTableIds: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1101 => _1101.enabledRagTableIds]), () => ( [])),
46826
- quickActions: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1102 => _1102.quickActions]), () => ( [])),
46827
- suggestedQueries: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1103 => _1103.suggestedQueries]), () => ( []))
46828
+ name: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1101 => _1101.name]), () => ( null)),
46829
+ icon: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1102 => _1102.icon]), () => ( null)),
46830
+ greeting: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1103 => _1103.greeting]), () => ( null)),
46831
+ enabledRagTableIds: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1104 => _1104.enabledRagTableIds]), () => ( [])),
46832
+ quickActions: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1105 => _1105.quickActions]), () => ( [])),
46833
+ suggestedQueries: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1106 => _1106.suggestedQueries]), () => ( []))
46828
46834
  };
46829
46835
  } catch (err) {
46830
- if (_optionalChain([err, 'optionalAccess', _1104 => _1104.name]) === "AbortError") throw err;
46836
+ if (_optionalChain([err, 'optionalAccess', _1107 => _1107.name]) === "AbortError") throw err;
46831
46837
  console.warn("[chat] empty-state config fetch failed, using neutral defaults:", err);
46832
46838
  return EMPTY_STATE_FALLBACK;
46833
46839
  }
46834
46840
  }
46835
46841
  function useEmptyStateConfig(emptyStateUrl, options) {
46836
- const enabled = (_nullishCoalesce(_optionalChain([options, 'optionalAccess', _1105 => _1105.enabled]), () => ( true))) && !!emptyStateUrl;
46842
+ const enabled = (_nullishCoalesce(_optionalChain([options, 'optionalAccess', _1108 => _1108.enabled]), () => ( true))) && !!emptyStateUrl;
46837
46843
  const query = _reactquery.useQuery.call(void 0, {
46838
46844
  queryKey: ["chat-empty-state", emptyStateUrl],
46839
46845
  queryFn: ({ signal }) => fetchEmptyStateConfig(signal, emptyStateUrl),
@@ -46862,7 +46868,7 @@ var CHAT_ATTACHMENT_MAX_SIZE_BYTES = 25 * 1024 * 1024;
46862
46868
  var STORAGE_CACHE_CONTROL_IMMUTABLE = "public, max-age=31536000, immutable";
46863
46869
  function uploadWithProgress(url, file, token, onProgress, signal) {
46864
46870
  return new Promise((resolve, reject) => {
46865
- if (_optionalChain([signal, 'optionalAccess', _1106 => _1106.aborted])) {
46871
+ if (_optionalChain([signal, 'optionalAccess', _1109 => _1109.aborted])) {
46866
46872
  reject(new Error("Upload cancelled"));
46867
46873
  return;
46868
46874
  }
@@ -46876,7 +46882,7 @@ function uploadWithProgress(url, file, token, onProgress, signal) {
46876
46882
  xhr.removeEventListener("error", handleError);
46877
46883
  xhr.removeEventListener("abort", handleAbort);
46878
46884
  xhr.removeEventListener("timeout", handleTimeout);
46879
- _optionalChain([signal, 'optionalAccess', _1107 => _1107.removeEventListener, 'call', _1108 => _1108("abort", handleSignalAbort)]);
46885
+ _optionalChain([signal, 'optionalAccess', _1110 => _1110.removeEventListener, 'call', _1111 => _1111("abort", handleSignalAbort)]);
46880
46886
  if (xhr.readyState !== XMLHttpRequest.DONE) xhr.abort();
46881
46887
  };
46882
46888
  const handleProgress = (event) => {
@@ -46912,7 +46918,7 @@ function uploadWithProgress(url, file, token, onProgress, signal) {
46912
46918
  const handleSignalAbort = () => {
46913
46919
  xhr.abort();
46914
46920
  };
46915
- _optionalChain([signal, 'optionalAccess', _1109 => _1109.addEventListener, 'call', _1110 => _1110("abort", handleSignalAbort, { once: true })]);
46921
+ _optionalChain([signal, 'optionalAccess', _1112 => _1112.addEventListener, 'call', _1113 => _1113("abort", handleSignalAbort, { once: true })]);
46916
46922
  xhr.upload.addEventListener("progress", handleProgress);
46917
46923
  xhr.addEventListener("load", handleLoad);
46918
46924
  xhr.addEventListener("error", handleError);
@@ -46956,12 +46962,12 @@ function useChatAttachments() {
46956
46962
  try {
46957
46963
  sniffed = await _filetype.fileTypeFromBlob.call(void 0, att.file);
46958
46964
  } catch (err) {
46959
- if (_optionalChain([ctrl, 'optionalAccess', _1111 => _1111.signal, 'access', _1112 => _1112.aborted])) return;
46965
+ if (_optionalChain([ctrl, 'optionalAccess', _1114 => _1114.signal, 'access', _1115 => _1115.aborted])) return;
46960
46966
  throw new Error(
46961
46967
  `Could not read file content: ${err instanceof Error ? err.message : String(err)}`
46962
46968
  );
46963
46969
  }
46964
- if (_optionalChain([ctrl, 'optionalAccess', _1113 => _1113.signal, 'access', _1114 => _1114.aborted])) return;
46970
+ if (_optionalChain([ctrl, 'optionalAccess', _1116 => _1116.signal, 'access', _1117 => _1117.aborted])) return;
46965
46971
  if (!sniffed) {
46966
46972
  throw new Error("Unrecognized file format");
46967
46973
  }
@@ -46975,7 +46981,7 @@ function useChatAttachments() {
46975
46981
  const urlResp = await _chunk743FCO64cjs.embedAuthedFetch.call(void 0, uploadUrlEndpoint, {
46976
46982
  method: "POST",
46977
46983
  headers: { "Content-Type": "application/json" },
46978
- signal: _optionalChain([ctrl, 'optionalAccess', _1115 => _1115.signal]),
46984
+ signal: _optionalChain([ctrl, 'optionalAccess', _1118 => _1118.signal]),
46979
46985
  body: JSON.stringify({
46980
46986
  fileName: att.file.name,
46981
46987
  // Pass the SNIFFED MIME (not `file.type`, which can be a
@@ -47001,9 +47007,9 @@ function useChatAttachments() {
47001
47007
  (pct) => {
47002
47008
  updateOne(att.id, { progress: pct });
47003
47009
  },
47004
- _optionalChain([ctrl, 'optionalAccess', _1116 => _1116.signal])
47010
+ _optionalChain([ctrl, 'optionalAccess', _1119 => _1119.signal])
47005
47011
  );
47006
- if (_optionalChain([ctrl, 'optionalAccess', _1117 => _1117.signal, 'access', _1118 => _1118.aborted])) return;
47012
+ if (_optionalChain([ctrl, 'optionalAccess', _1120 => _1120.signal, 'access', _1121 => _1121.aborted])) return;
47007
47013
  updateOne(att.id, {
47008
47014
  status: "ready",
47009
47015
  progress: 100,
@@ -47011,7 +47017,7 @@ function useChatAttachments() {
47011
47017
  viewToken: mintData.viewToken
47012
47018
  });
47013
47019
  } catch (err) {
47014
- if (_optionalChain([ctrl, 'optionalAccess', _1119 => _1119.signal, 'access', _1120 => _1120.aborted])) return;
47020
+ if (_optionalChain([ctrl, 'optionalAccess', _1122 => _1122.signal, 'access', _1123 => _1123.aborted])) return;
47015
47021
  const message2 = err instanceof Error ? err.message : String(err);
47016
47022
  updateOne(att.id, { status: "error", progress: 0, errorMessage: message2 });
47017
47023
  } finally {
@@ -47162,7 +47168,7 @@ var ANON_DEFAULTS = {
47162
47168
  function useResolveChatIdentity(enabled) {
47163
47169
  const runtime = _chunk3KEBI6TPcjs.useRequiredChatRuntime.call(void 0, );
47164
47170
  const url = runtime.endpoints.identityUrl;
47165
- const proxyEmail = _nullishCoalesce(_optionalChain([_chunk743FCO64cjs.getEmbedProxyAuth.call(void 0, ), 'optionalAccess', _1121 => _1121.email]), () => ( null));
47171
+ const proxyEmail = _nullishCoalesce(_optionalChain([_chunk743FCO64cjs.getEmbedProxyAuth.call(void 0, ), 'optionalAccess', _1124 => _1124.email]), () => ( null));
47166
47172
  const [data, setData] = _react.useState.call(void 0, ANON_DEFAULTS);
47167
47173
  const [isLoading, setIsLoading] = _react.useState.call(void 0, enabled);
47168
47174
  _react.useEffect.call(void 0, () => {
@@ -47253,7 +47259,7 @@ function useSSE({ useMock = true, debugMode = false, streamFn } = {}) {
47253
47259
  yield chunk;
47254
47260
  }
47255
47261
  } catch (err) {
47256
- if (_optionalChain([err, 'optionalAccess', _1122 => _1122.name]) === "AbortError" || ctrl.signal.aborted) {
47262
+ if (_optionalChain([err, 'optionalAccess', _1125 => _1125.name]) === "AbortError" || ctrl.signal.aborted) {
47257
47263
  return;
47258
47264
  }
47259
47265
  const errorMessage = err instanceof Error ? err.message : "An error occurred";
@@ -47304,7 +47310,7 @@ function useChat({
47304
47310
  const onMessagesChangeRef = _react.useRef.call(void 0, onMessagesChange);
47305
47311
  onMessagesChangeRef.current = onMessagesChange;
47306
47312
  _react.useEffect.call(void 0, () => {
47307
- _optionalChain([onMessagesChangeRef, 'access', _1123 => _1123.current, 'optionalCall', _1124 => _1124(messages)]);
47313
+ _optionalChain([onMessagesChangeRef, 'access', _1126 => _1126.current, 'optionalCall', _1127 => _1127(messages)]);
47308
47314
  }, [messages]);
47309
47315
  const {
47310
47316
  streamMessage,
@@ -47341,7 +47347,7 @@ function useChat({
47341
47347
  name: "You",
47342
47348
  content: text,
47343
47349
  timestamp: /* @__PURE__ */ new Date(),
47344
- ..._optionalChain([options, 'optionalAccess', _1125 => _1125.hidden]) ? { hidden: true } : {}
47350
+ ..._optionalChain([options, 'optionalAccess', _1128 => _1128.hidden]) ? { hidden: true } : {}
47345
47351
  };
47346
47352
  addMessage(userMessage);
47347
47353
  setIsTyping(true);
@@ -47403,7 +47409,7 @@ function useChat({
47403
47409
  currentTextSegment = "";
47404
47410
  }
47405
47411
  const seg = segment;
47406
- const proposalId = _optionalChain([seg, 'access', _1126 => _1126.data, 'optionalAccess', _1127 => _1127.requestId]);
47412
+ const proposalId = _optionalChain([seg, 'access', _1129 => _1129.data, 'optionalAccess', _1130 => _1130.requestId]);
47407
47413
  const updateApprovalMessage = (transform) => {
47408
47414
  setMessages((prev) => {
47409
47415
  for (let i = prev.length - 1; i >= 0; i--) {
@@ -47412,7 +47418,7 @@ function useChat({
47412
47418
  if (!Array.isArray(m.content)) continue;
47413
47419
  const segments = m.content;
47414
47420
  const hasMatch = segments.some(
47415
- (s) => s.type === "approval_request" && _optionalChain([s, 'access', _1128 => _1128.data, 'optionalAccess', _1129 => _1129.requestId]) === proposalId
47421
+ (s) => s.type === "approval_request" && _optionalChain([s, 'access', _1131 => _1131.data, 'optionalAccess', _1132 => _1132.requestId]) === proposalId
47416
47422
  );
47417
47423
  if (!hasMatch) continue;
47418
47424
  const next = [...prev];
@@ -47454,11 +47460,11 @@ function useChat({
47454
47460
  if (!Array.isArray(m.content)) continue;
47455
47461
  const segments = m.content;
47456
47462
  const hasMatch = segments.some(
47457
- (s) => s.type === "approval_request" && _optionalChain([s, 'access', _1130 => _1130.data, 'optionalAccess', _1131 => _1131.requestId]) === decision.proposalId
47463
+ (s) => s.type === "approval_request" && _optionalChain([s, 'access', _1133 => _1133.data, 'optionalAccess', _1134 => _1134.requestId]) === decision.proposalId
47458
47464
  );
47459
47465
  if (!hasMatch) continue;
47460
47466
  const flipped = segments.map(
47461
- (s) => s.type === "approval_request" && _optionalChain([s, 'access', _1132 => _1132.data, 'optionalAccess', _1133 => _1133.requestId]) === decision.proposalId ? { ...s, status: decision.action } : s
47467
+ (s) => s.type === "approval_request" && _optionalChain([s, 'access', _1135 => _1135.data, 'optionalAccess', _1136 => _1136.requestId]) === decision.proposalId ? { ...s, status: decision.action } : s
47462
47468
  );
47463
47469
  const next = [...prev];
47464
47470
  next[i] = { ...m, content: flipped };
@@ -47620,8 +47626,8 @@ function createDocStreamFn(source, endpoints, messagesRef, sourcesMapRef, refsMa
47620
47626
  })),
47621
47627
  { role: "user", content: message2 }
47622
47628
  ];
47623
- const targetPath = _optionalChain([extra, 'optionalAccess', _1134 => _1134.approvalAction]) ? endpoints.approvalToolUrl : endpoints.chatStreamUrl;
47624
- const requestBody = _optionalChain([extra, 'optionalAccess', _1135 => _1135.approvalAction]) ? {
47629
+ const targetPath = _optionalChain([extra, 'optionalAccess', _1137 => _1137.approvalAction]) ? endpoints.approvalToolUrl : endpoints.chatStreamUrl;
47630
+ const requestBody = _optionalChain([extra, 'optionalAccess', _1138 => _1138.approvalAction]) ? {
47625
47631
  proposal_id: extra.approvalAction.proposalId,
47626
47632
  action: extra.approvalAction.action,
47627
47633
  messages: currentMessages.filter((m) => (m.role === "user" || m.role === "assistant") && !m.hidden).map((m) => ({
@@ -47630,8 +47636,8 @@ function createDocStreamFn(source, endpoints, messagesRef, sourcesMapRef, refsMa
47630
47636
  }))
47631
47637
  } : {
47632
47638
  messages: apiMessages,
47633
- ..._optionalChain([extra, 'optionalAccess', _1136 => _1136.commandOverride]) ? { commandOverride: extra.commandOverride } : {},
47634
- ..._optionalChain([extra, 'optionalAccess', _1137 => _1137.pendingAttachments]) && extra.pendingAttachments.length > 0 ? { pendingAttachments: extra.pendingAttachments } : {}
47639
+ ..._optionalChain([extra, 'optionalAccess', _1139 => _1139.commandOverride]) ? { commandOverride: extra.commandOverride } : {},
47640
+ ..._optionalChain([extra, 'optionalAccess', _1140 => _1140.pendingAttachments]) && extra.pendingAttachments.length > 0 ? { pendingAttachments: extra.pendingAttachments } : {}
47635
47641
  };
47636
47642
  const response = await _chunk743FCO64cjs.embedAuthedFetch.call(void 0, targetPath, {
47637
47643
  method: "POST",
@@ -47641,7 +47647,7 @@ function createDocStreamFn(source, endpoints, messagesRef, sourcesMapRef, refsMa
47641
47647
  if (!response.ok) {
47642
47648
  throw new Error(`Chat request failed: ${response.status}`);
47643
47649
  }
47644
- const reader = _optionalChain([response, 'access', _1138 => _1138.body, 'optionalAccess', _1139 => _1139.getReader, 'call', _1140 => _1140()]);
47650
+ const reader = _optionalChain([response, 'access', _1141 => _1141.body, 'optionalAccess', _1142 => _1142.getReader, 'call', _1143 => _1143()]);
47645
47651
  if (!reader) throw new Error("No response body");
47646
47652
  const decoder = new TextDecoder();
47647
47653
  let buffer = "";
@@ -47724,7 +47730,7 @@ function createDocStreamFn(source, endpoints, messagesRef, sourcesMapRef, refsMa
47724
47730
  const toolName = typeof meta.tool_name === "string" ? meta.tool_name : void 0;
47725
47731
  const result = _nullishCoalesce(meta.result, () => ( null));
47726
47732
  const card = _nullishCoalesce(meta.card, () => ( null));
47727
- if (_optionalChain([card, 'optionalAccess', _1141 => _1141.ref, 'optionalAccess', _1142 => _1142.id]) && _optionalChain([card, 'optionalAccess', _1143 => _1143.type])) {
47733
+ if (_optionalChain([card, 'optionalAccess', _1144 => _1144.ref, 'optionalAccess', _1145 => _1145.id]) && _optionalChain([card, 'optionalAccess', _1146 => _1146.type])) {
47728
47734
  const existing = _nullishCoalesce(refsMapRef.current.get(sendIdx), () => ( {}));
47729
47735
  const key = buildChatRefKey(card.type, card.ref.id);
47730
47736
  refsMapRef.current.set(sendIdx, { ...existing, [key]: card.ref });
@@ -47737,8 +47743,8 @@ function createDocStreamFn(source, endpoints, messagesRef, sourcesMapRef, refsMa
47737
47743
  willAutoContinue: meta.willAutoContinue === true,
47738
47744
  ...toolName ? { toolName } : {},
47739
47745
  ...result ? { result } : {},
47740
- ..._optionalChain([card, 'optionalAccess', _1144 => _1144.marker]) ? { marker: card.marker } : {},
47741
- ..._optionalChain([card, 'optionalAccess', _1145 => _1145.ref]) ? { cardRef: card.ref } : {},
47746
+ ..._optionalChain([card, 'optionalAccess', _1147 => _1147.marker]) ? { marker: card.marker } : {},
47747
+ ..._optionalChain([card, 'optionalAccess', _1148 => _1148.ref]) ? { cardRef: card.ref } : {},
47742
47748
  ...typeof meta.receiptText === "string" ? { receiptText: meta.receiptText } : {},
47743
47749
  proposalId: typeof meta.proposalId === "string" ? meta.proposalId : void 0
47744
47750
  };
@@ -47857,7 +47863,7 @@ var DEFAULT_CHAT_SOURCE = "embed";
47857
47863
  var chatStorageKey = (source) => {
47858
47864
  const base = `mingo-chat-${source}-v${CHAT_STORAGE_VERSION}`;
47859
47865
  const auth = _chunk743FCO64cjs.getEmbedProxyAuth.call(void 0, );
47860
- if (_optionalChain([auth, 'optionalAccess', _1146 => _1146.email])) {
47866
+ if (_optionalChain([auth, 'optionalAccess', _1149 => _1149.email])) {
47861
47867
  return `${base}-u-${encodeURIComponent(auth.email.toLowerCase())}`;
47862
47868
  }
47863
47869
  return base;
@@ -47912,7 +47918,7 @@ function useSseChatAdapter(options, runtimeOptions = {}) {
47912
47918
  const { active = true } = runtimeOptions;
47913
47919
  const runtime = _chunk3KEBI6TPcjs.useRequiredChatRuntime.call(void 0, );
47914
47920
  const source = runtime.source || DEFAULT_CHAT_SOURCE;
47915
- const tableIdForDocumentType = _nullishCoalesce(_optionalChain([options, 'optionalAccess', _1147 => _1147.tableIdForDocumentType]), () => ( defaultTableIdForDocumentType));
47921
+ const tableIdForDocumentType = _nullishCoalesce(_optionalChain([options, 'optionalAccess', _1150 => _1150.tableIdForDocumentType]), () => ( defaultTableIdForDocumentType));
47916
47922
  const persistedRef = _react.useRef.call(void 0, null);
47917
47923
  if (persistedRef.current === null) {
47918
47924
  pruneStaleChatStorage(source);
@@ -48017,7 +48023,7 @@ function useSseChatAdapter(options, runtimeOptions = {}) {
48017
48023
  const lookupIdx = sendIdx >= 0 ? sendIdx : 0;
48018
48024
  sources = sourcesMapRef.current.get(lookupIdx);
48019
48025
  chatRefs = _nullishCoalesce(m.chatRefs, () => ( refsMapRef.current.get(lookupIdx)));
48020
- scrollAnchor = _nullishCoalesce(_optionalChain([metaMapRef, 'access', _1148 => _1148.current, 'access', _1149 => _1149.get, 'call', _1150 => _1150(lookupIdx), 'optionalAccess', _1151 => _1151.scrollAnchor]), () => ( void 0));
48026
+ scrollAnchor = _nullishCoalesce(_optionalChain([metaMapRef, 'access', _1151 => _1151.current, 'access', _1152 => _1152.get, 'call', _1153 => _1153(lookupIdx), 'optionalAccess', _1154 => _1154.scrollAnchor]), () => ( void 0));
48021
48027
  }
48022
48028
  return {
48023
48029
  id: m.id,
@@ -48065,7 +48071,7 @@ function useSseChatAdapter(options, runtimeOptions = {}) {
48065
48071
  );
48066
48072
  return;
48067
48073
  }
48068
- const refSlug = typeof _optionalChain([reference, 'access', _1152 => _1152.metadata, 'optionalAccess', _1153 => _1153.slug]) === "string" && reference.metadata.slug.length > 0 ? reference.metadata.slug : "";
48074
+ const refSlug = typeof _optionalChain([reference, 'access', _1155 => _1155.metadata, 'optionalAccess', _1156 => _1156.slug]) === "string" && reference.metadata.slug.length > 0 ? reference.metadata.slug : "";
48069
48075
  const queryValue = refSlug || sanitizeTitleForChat(reference.title) || reference.id;
48070
48076
  const escaped = queryValue.replace(/\\/g, "\\\\").replace(/"/g, '\\"');
48071
48077
  const text = `/${cmdId} display "${escaped}"`;
@@ -48137,18 +48143,18 @@ function useSseChatAdapter(options, runtimeOptions = {}) {
48137
48143
  clearMessages,
48138
48144
  streamingPhase,
48139
48145
  /** Provider key for the lib's `<ModelDisplay>` icon. */
48140
- currentProvider: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1154 => _1154.provider]), () => ( null)),
48141
- currentModelLabel: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1155 => _1155.modelLabel]), () => ( null)),
48142
- currentContextWindowMaxTokens: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1156 => _1156.contextWindowMaxTokens]), () => ( null)),
48146
+ currentProvider: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1157 => _1157.provider]), () => ( null)),
48147
+ currentModelLabel: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1158 => _1158.modelLabel]), () => ( null)),
48148
+ currentContextWindowMaxTokens: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1159 => _1159.contextWindowMaxTokens]), () => ( null)),
48143
48149
  /** Input tokens (known after server's message_start frame; null until). */
48144
- currentInputTokens: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1157 => _1157.inputTokens]), () => ( null)),
48150
+ currentInputTokens: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1160 => _1160.inputTokens]), () => ( null)),
48145
48151
  /** Output tokens (known only after server's trailing usage frame). */
48146
- currentOutputTokens: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1158 => _1158.outputTokens]), () => ( null)),
48152
+ currentOutputTokens: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1161 => _1161.outputTokens]), () => ( null)),
48147
48153
  /** Cache hit % (read / total-input × 100). null during streaming. */
48148
- currentCacheHitRatePct: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1159 => _1159.cacheHitRatePct]), () => ( null)),
48154
+ currentCacheHitRatePct: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1162 => _1162.cacheHitRatePct]), () => ( null)),
48149
48155
  /** Cross-call usage breakdown (Haiku rewriter/classifier/summarizer
48150
48156
  * token counts). null until the trailing usage frame lands. */
48151
- currentUsageBreakdown: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1160 => _1160.breakdown]), () => ( null)),
48157
+ currentUsageBreakdown: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1163 => _1163.breakdown]), () => ( null)),
48152
48158
  // ─── Dialog management — stubs for v1 ────────────────────────────────
48153
48159
  // Guide mode currently keeps its history in `localStorage` opaquely
48154
48160
  // under the hood (`runtime.source` namespaced key). Surfacing that
@@ -48206,15 +48212,15 @@ var noopRejectRequest = async (_id, _reason) => {
48206
48212
 
48207
48213
  // src/components/chat/utils/process-historical-messages.ts
48208
48214
  function getOwnerDisplayName(owner) {
48209
- if (_optionalChain([owner, 'optionalAccess', _1161 => _1161.type]) === OWNER_TYPE.ADMIN && owner.user) {
48215
+ if (_optionalChain([owner, 'optionalAccess', _1164 => _1164.type]) === OWNER_TYPE.ADMIN && owner.user) {
48210
48216
  const { firstName, lastName } = owner.user;
48211
48217
  const name = [firstName, lastName].filter(Boolean).join(" ");
48212
48218
  if (name) return name;
48213
48219
  }
48214
- return _optionalChain([owner, 'optionalAccess', _1162 => _1162.type]) === OWNER_TYPE.ADMIN ? "Admin" : "You";
48220
+ return _optionalChain([owner, 'optionalAccess', _1165 => _1165.type]) === OWNER_TYPE.ADMIN ? "Admin" : "You";
48215
48221
  }
48216
48222
  function getOwnerAvatar(owner) {
48217
- return _nullishCoalesce(_optionalChain([owner, 'optionalAccess', _1163 => _1163.user, 'optionalAccess', _1164 => _1164.image, 'optionalAccess', _1165 => _1165.imageUrl]), () => ( void 0));
48223
+ return _nullishCoalesce(_optionalChain([owner, 'optionalAccess', _1166 => _1166.user, 'optionalAccess', _1167 => _1167.image, 'optionalAccess', _1168 => _1168.imageUrl]), () => ( void 0));
48218
48224
  }
48219
48225
  function pushStandaloneMessages(processedMessages, msg, messageDataArray) {
48220
48226
  messageDataArray.forEach((data) => {
@@ -48277,14 +48283,14 @@ function processHistoricalMessages(messages, options = {}) {
48277
48283
  pushStandaloneMessages(processedMessages, msg, messageDataArray);
48278
48284
  return;
48279
48285
  }
48280
- const isUserMessage = _optionalChain([msg, 'access', _1166 => _1166.owner, 'optionalAccess', _1167 => _1167.type]) === OWNER_TYPE.CLIENT || _optionalChain([msg, 'access', _1168 => _1168.owner, 'optionalAccess', _1169 => _1169.type]) === OWNER_TYPE.ADMIN;
48286
+ const isUserMessage = _optionalChain([msg, 'access', _1169 => _1169.owner, 'optionalAccess', _1170 => _1170.type]) === OWNER_TYPE.CLIENT || _optionalChain([msg, 'access', _1171 => _1171.owner, 'optionalAccess', _1172 => _1172.type]) === OWNER_TYPE.ADMIN;
48281
48287
  if (isUserMessage) {
48282
48288
  flushAssistantMessage();
48283
- const userAuthorType = _optionalChain([msg, 'access', _1170 => _1170.owner, 'optionalAccess', _1171 => _1171.type]) === OWNER_TYPE.ADMIN ? "admin" : "user";
48289
+ const userAuthorType = _optionalChain([msg, 'access', _1173 => _1173.owner, 'optionalAccess', _1174 => _1174.type]) === OWNER_TYPE.ADMIN ? "admin" : "user";
48284
48290
  messageDataArray.forEach((data) => {
48285
48291
  if (data.type === MESSAGE_TYPE.TEXT && "text" in data && data.text) {
48286
48292
  const rawContext = data.contextItems;
48287
- const contextItems = Array.isArray(rawContext) ? rawContext.filter((c) => typeof _optionalChain([c, 'optionalAccess', _1172 => _1172.type]) === "string" && typeof _optionalChain([c, 'optionalAccess', _1173 => _1173.id]) === "string").map((c) => ({ type: c.type, id: c.id, label: c.id })) : void 0;
48293
+ const contextItems = Array.isArray(rawContext) ? rawContext.filter((c) => typeof _optionalChain([c, 'optionalAccess', _1175 => _1175.type]) === "string" && typeof _optionalChain([c, 'optionalAccess', _1176 => _1176.id]) === "string").map((c) => ({ type: c.type, id: c.id, label: c.id })) : void 0;
48288
48294
  processedMessages.push({
48289
48295
  id: msg.id,
48290
48296
  role: "user",
@@ -48308,7 +48314,7 @@ function processHistoricalMessages(messages, options = {}) {
48308
48314
  });
48309
48315
  const nextMsg = messages[index + 1];
48310
48316
  const isLastMessage = index === messages.length - 1;
48311
- const nextIsFromUser = nextMsg && (_optionalChain([nextMsg, 'access', _1174 => _1174.owner, 'optionalAccess', _1175 => _1175.type]) === OWNER_TYPE.CLIENT || _optionalChain([nextMsg, 'access', _1176 => _1176.owner, 'optionalAccess', _1177 => _1177.type]) === OWNER_TYPE.ADMIN);
48317
+ const nextIsFromUser = nextMsg && (_optionalChain([nextMsg, 'access', _1177 => _1177.owner, 'optionalAccess', _1178 => _1178.type]) === OWNER_TYPE.CLIENT || _optionalChain([nextMsg, 'access', _1179 => _1179.owner, 'optionalAccess', _1180 => _1180.type]) === OWNER_TYPE.ADMIN);
48312
48318
  if (isLastMessage || nextIsFromUser) {
48313
48319
  flushAssistantMessage();
48314
48320
  }
@@ -48418,7 +48424,7 @@ function processMessageData(data, accumulator, approvalStatuses, options = {}, e
48418
48424
  }
48419
48425
  }
48420
48426
  } else {
48421
- _optionalChain([escalatedApprovals, 'optionalAccess', _1178 => _1178.set, 'call', _1179 => _1179(data.approvalRequestId, {
48427
+ _optionalChain([escalatedApprovals, 'optionalAccess', _1181 => _1181.set, 'call', _1182 => _1182(data.approvalRequestId, {
48422
48428
  command: data.command || "",
48423
48429
  explanation: data.explanation,
48424
48430
  approvalType,
@@ -48432,8 +48438,8 @@ function processMessageData(data, accumulator, approvalStatuses, options = {}, e
48432
48438
  const existingStatus = approvalStatuses[data.approvalRequestId];
48433
48439
  const status = existingStatus || (data.approved ? "approved" : "rejected");
48434
48440
  const resolvedByName = "resolvedByName" in data ? data.resolvedByName : void 0;
48435
- const escalatedData = _optionalChain([escalatedApprovals, 'optionalAccess', _1180 => _1180.get, 'call', _1181 => _1181(data.approvalRequestId)]);
48436
- if (_optionalChain([escalatedData, 'optionalAccess', _1182 => _1182.toolCalls]) && escalatedData.toolCalls.length > 0) {
48441
+ const escalatedData = _optionalChain([escalatedApprovals, 'optionalAccess', _1183 => _1183.get, 'call', _1184 => _1184(data.approvalRequestId)]);
48442
+ if (_optionalChain([escalatedData, 'optionalAccess', _1185 => _1185.toolCalls]) && escalatedData.toolCalls.length > 0) {
48437
48443
  if (batchApprovalsEnabled) {
48438
48444
  accumulator.addApprovalBatch(
48439
48445
  data.approvalRequestId,
@@ -48455,7 +48461,7 @@ function processMessageData(data, accumulator, approvalStatuses, options = {}, e
48455
48461
  );
48456
48462
  }
48457
48463
  }
48458
- _optionalChain([escalatedApprovals, 'optionalAccess', _1183 => _1183.delete, 'call', _1184 => _1184(data.approvalRequestId)]);
48464
+ _optionalChain([escalatedApprovals, 'optionalAccess', _1186 => _1186.delete, 'call', _1187 => _1187(data.approvalRequestId)]);
48459
48465
  break;
48460
48466
  }
48461
48467
  if (escalatedData) {
@@ -48464,7 +48470,7 @@ function processMessageData(data, accumulator, approvalStatuses, options = {}, e
48464
48470
  explanation: escalatedData.explanation,
48465
48471
  approvalType: escalatedData.approvalType
48466
48472
  });
48467
- _optionalChain([escalatedApprovals, 'optionalAccess', _1185 => _1185.delete, 'call', _1186 => _1186(data.approvalRequestId)]);
48473
+ _optionalChain([escalatedApprovals, 'optionalAccess', _1188 => _1188.delete, 'call', _1189 => _1189(data.approvalRequestId)]);
48468
48474
  }
48469
48475
  const before = accumulator.getSegments();
48470
48476
  const after = accumulator.updateApprovalStatus(data.approvalRequestId, status, resolvedByName);
@@ -48480,9 +48486,9 @@ function processMessageData(data, accumulator, approvalStatuses, options = {}, e
48480
48486
  case MESSAGE_TYPE.ERROR:
48481
48487
  if ("error" in data) {
48482
48488
  let message2;
48483
- if ("details" in data && _optionalChain([data, 'optionalAccess', _1187 => _1187.details])) {
48489
+ if ("details" in data && _optionalChain([data, 'optionalAccess', _1190 => _1190.details])) {
48484
48490
  try {
48485
- message2 = _optionalChain([JSON, 'access', _1188 => _1188.parse, 'call', _1189 => _1189(data.details), 'optionalAccess', _1190 => _1190.error, 'optionalAccess', _1191 => _1191.message]);
48491
+ message2 = _optionalChain([JSON, 'access', _1191 => _1191.parse, 'call', _1192 => _1192(data.details), 'optionalAccess', _1193 => _1193.error, 'optionalAccess', _1194 => _1194.message]);
48486
48492
  } catch (e59) {
48487
48493
  message2 = data.details;
48488
48494
  }
@@ -48565,14 +48571,14 @@ function processHistoricalMessagesWithErrors(messages, options = {}) {
48565
48571
  pushStandaloneMessages(processedMessages, msg, messageDataArray);
48566
48572
  return;
48567
48573
  }
48568
- const isUserMessage = _optionalChain([msg, 'access', _1192 => _1192.owner, 'optionalAccess', _1193 => _1193.type]) === OWNER_TYPE.CLIENT || _optionalChain([msg, 'access', _1194 => _1194.owner, 'optionalAccess', _1195 => _1195.type]) === OWNER_TYPE.ADMIN;
48574
+ const isUserMessage = _optionalChain([msg, 'access', _1195 => _1195.owner, 'optionalAccess', _1196 => _1196.type]) === OWNER_TYPE.CLIENT || _optionalChain([msg, 'access', _1197 => _1197.owner, 'optionalAccess', _1198 => _1198.type]) === OWNER_TYPE.ADMIN;
48569
48575
  if (isUserMessage) {
48570
48576
  flushAssistantMessage();
48571
- const userAuthorType = _optionalChain([msg, 'access', _1196 => _1196.owner, 'optionalAccess', _1197 => _1197.type]) === OWNER_TYPE.ADMIN ? "admin" : "user";
48577
+ const userAuthorType = _optionalChain([msg, 'access', _1199 => _1199.owner, 'optionalAccess', _1200 => _1200.type]) === OWNER_TYPE.ADMIN ? "admin" : "user";
48572
48578
  messageDataArray.forEach((data) => {
48573
48579
  if (data.type === MESSAGE_TYPE.TEXT && "text" in data && data.text) {
48574
48580
  const rawContext = data.contextItems;
48575
- const contextItems = Array.isArray(rawContext) ? rawContext.filter((c) => typeof _optionalChain([c, 'optionalAccess', _1198 => _1198.type]) === "string" && typeof _optionalChain([c, 'optionalAccess', _1199 => _1199.id]) === "string").map((c) => ({ type: c.type, id: c.id, label: c.id })) : void 0;
48581
+ const contextItems = Array.isArray(rawContext) ? rawContext.filter((c) => typeof _optionalChain([c, 'optionalAccess', _1201 => _1201.type]) === "string" && typeof _optionalChain([c, 'optionalAccess', _1202 => _1202.id]) === "string").map((c) => ({ type: c.type, id: c.id, label: c.id })) : void 0;
48576
48582
  processedMessages.push({
48577
48583
  id: msg.id,
48578
48584
  role: "user",
@@ -48596,7 +48602,7 @@ function processHistoricalMessagesWithErrors(messages, options = {}) {
48596
48602
  });
48597
48603
  const nextMsg = messages[index + 1];
48598
48604
  const isLastMessage = index === messages.length - 1;
48599
- const nextIsFromUser = nextMsg && (_optionalChain([nextMsg, 'access', _1200 => _1200.owner, 'optionalAccess', _1201 => _1201.type]) === OWNER_TYPE.CLIENT || _optionalChain([nextMsg, 'access', _1202 => _1202.owner, 'optionalAccess', _1203 => _1203.type]) === OWNER_TYPE.ADMIN);
48605
+ const nextIsFromUser = nextMsg && (_optionalChain([nextMsg, 'access', _1203 => _1203.owner, 'optionalAccess', _1204 => _1204.type]) === OWNER_TYPE.CLIENT || _optionalChain([nextMsg, 'access', _1205 => _1205.owner, 'optionalAccess', _1206 => _1206.type]) === OWNER_TYPE.ADMIN);
48600
48606
  if (isLastMessage || nextIsFromUser) {
48601
48607
  flushAssistantMessage();
48602
48608
  }
@@ -48932,7 +48938,7 @@ function useNatsChatAdapter(config, options = {}) {
48932
48938
  }, [active, fetchDialogs, loadDialogsPage]);
48933
48939
  const sendMessage = _react.useCallback.call(void 0,
48934
48940
  async (text, sendOptions) => {
48935
- const hidden = _nullishCoalesce(_optionalChain([sendOptions, 'optionalAccess', _1204 => _1204.hidden]), () => ( false));
48941
+ const hidden = _nullishCoalesce(_optionalChain([sendOptions, 'optionalAccess', _1207 => _1207.hidden]), () => ( false));
48936
48942
  setMessages((prev) => [
48937
48943
  ...prev,
48938
48944
  {
@@ -49096,11 +49102,11 @@ function useNatsChatAdapter(config, options = {}) {
49096
49102
  // Tokens: live `token_usage` frame / dialog snapshot (`dialogTokenUsage`).
49097
49103
  // contextWindow uses the dialog's `contextSize` (the "X / Y" denominator,
49098
49104
  // matching the /mingo page). cacheHitRate/breakdown are SSE-only → null.
49099
- currentProvider: _nullishCoalesce(_nullishCoalesce(_optionalChain([liveModel, 'optionalAccess', _1205 => _1205.provider]), () => ( modelProvider)), () => ( null)),
49100
- currentModelLabel: _nullishCoalesce(_nullishCoalesce(_optionalChain([liveModel, 'optionalAccess', _1206 => _1206.modelLabel]), () => ( modelLabel)), () => ( null)),
49101
- currentContextWindowMaxTokens: _nullishCoalesce(_nullishCoalesce(_optionalChain([dialogTokenUsage, 'optionalAccess', _1207 => _1207.contextSize]), () => ( _optionalChain([liveModel, 'optionalAccess', _1208 => _1208.contextWindowMaxTokens]))), () => ( null)),
49102
- currentInputTokens: _nullishCoalesce(_optionalChain([dialogTokenUsage, 'optionalAccess', _1209 => _1209.inputTokensSize]), () => ( null)),
49103
- currentOutputTokens: _nullishCoalesce(_optionalChain([dialogTokenUsage, 'optionalAccess', _1210 => _1210.outputTokensSize]), () => ( null)),
49105
+ currentProvider: _nullishCoalesce(_nullishCoalesce(_optionalChain([liveModel, 'optionalAccess', _1208 => _1208.provider]), () => ( modelProvider)), () => ( null)),
49106
+ currentModelLabel: _nullishCoalesce(_nullishCoalesce(_optionalChain([liveModel, 'optionalAccess', _1209 => _1209.modelLabel]), () => ( modelLabel)), () => ( null)),
49107
+ currentContextWindowMaxTokens: _nullishCoalesce(_nullishCoalesce(_optionalChain([dialogTokenUsage, 'optionalAccess', _1210 => _1210.contextSize]), () => ( _optionalChain([liveModel, 'optionalAccess', _1211 => _1211.contextWindowMaxTokens]))), () => ( null)),
49108
+ currentInputTokens: _nullishCoalesce(_optionalChain([dialogTokenUsage, 'optionalAccess', _1212 => _1212.inputTokensSize]), () => ( null)),
49109
+ currentOutputTokens: _nullishCoalesce(_optionalChain([dialogTokenUsage, 'optionalAccess', _1213 => _1213.outputTokensSize]), () => ( null)),
49104
49110
  currentCacheHitRatePct: null,
49105
49111
  currentUsageBreakdown: null,
49106
49112
  // Dialog management
@@ -49348,7 +49354,7 @@ function extractIncompleteMessageState(lastMessage) {
49348
49354
  break;
49349
49355
  case "approval_batch": {
49350
49356
  const allDone = !!segment.data.executions && segment.data.toolCalls.every(
49351
- (c) => _optionalChain([segment, 'access', _1211 => _1211.data, 'access', _1212 => _1212.executions, 'optionalAccess', _1213 => _1213[c.toolExecutionRequestId], 'optionalAccess', _1214 => _1214.status]) === "done"
49357
+ (c) => _optionalChain([segment, 'access', _1214 => _1214.data, 'access', _1215 => _1215.executions, 'optionalAccess', _1216 => _1216[c.toolExecutionRequestId], 'optionalAccess', _1217 => _1217.status]) === "done"
49352
49358
  );
49353
49359
  if (segment.status !== "rejected" && !allDone) {
49354
49360
  hasIncompleteState = true;
@@ -49416,20 +49422,20 @@ function mergeHistoryWithRealtime(input) {
49416
49422
  const seqCoverageKnown = realtimeSeenStreamSeq > 0 && historyMaxStreamSeq > 0;
49417
49423
  const historyCoversRealtime = seqCoverageKnown ? historyMaxStreamSeq >= realtimeSeenStreamSeq : null;
49418
49424
  const trailing = processedHistory[processedHistory.length - 1];
49419
- const historyTrailingAssistant = _optionalChain([trailing, 'optionalAccess', _1215 => _1215.role]) === "assistant" ? trailing : null;
49420
- const historyBatchId = historyTrailingAssistant && Array.isArray(historyTrailingAssistant.content) ? _nullishCoalesce(_optionalChain([historyTrailingAssistant, 'access', _1216 => _1216.content, 'access', _1217 => _1217.find, 'call', _1218 => _1218((s) => s.type === "approval_batch"), 'optionalAccess', _1219 => _1219.data, 'optionalAccess', _1220 => _1220.approvalRequestId]), () => ( null)) : null;
49425
+ const historyTrailingAssistant = _optionalChain([trailing, 'optionalAccess', _1218 => _1218.role]) === "assistant" ? trailing : null;
49426
+ const historyBatchId = historyTrailingAssistant && Array.isArray(historyTrailingAssistant.content) ? _nullishCoalesce(_optionalChain([historyTrailingAssistant, 'access', _1219 => _1219.content, 'access', _1220 => _1220.find, 'call', _1221 => _1221((s) => s.type === "approval_batch"), 'optionalAccess', _1222 => _1222.data, 'optionalAccess', _1223 => _1223.approvalRequestId]), () => ( null)) : null;
49421
49427
  let processedToUse = processedHistory;
49422
49428
  const pinnedSyntheticIds = /* @__PURE__ */ new Set();
49423
49429
  const droppedSyntheticIds = /* @__PURE__ */ new Set();
49424
49430
  if (historyBatchId) {
49425
49431
  const batchTwins = existingMessages.filter(
49426
49432
  (m) => m.role === "assistant" && Array.isArray(m.content) && m.content.some(
49427
- (s) => s.type === "approval_batch" && _optionalChain([s, 'access', _1221 => _1221.data, 'optionalAccess', _1222 => _1222.approvalRequestId]) === historyBatchId
49433
+ (s) => s.type === "approval_batch" && _optionalChain([s, 'access', _1224 => _1224.data, 'optionalAccess', _1225 => _1225.approvalRequestId]) === historyBatchId
49428
49434
  )
49429
49435
  );
49430
49436
  const existingWithSameBatch = _nullishCoalesce(batchTwins.find((m) => m.id === streamingMessageId), () => ( batchTwins[batchTwins.length - 1]));
49431
49437
  if (existingWithSameBatch && Array.isArray(existingWithSameBatch.content)) {
49432
- const histSize = Array.isArray(_optionalChain([historyTrailingAssistant, 'optionalAccess', _1223 => _1223.content])) ? historyTrailingAssistant.content.length : 0;
49438
+ const histSize = Array.isArray(_optionalChain([historyTrailingAssistant, 'optionalAccess', _1226 => _1226.content])) ? historyTrailingAssistant.content.length : 0;
49433
49439
  const realtimeSize = existingWithSameBatch.content.length;
49434
49440
  if (existingWithSameBatch.id === streamingMessageId || realtimeSize > histSize) {
49435
49441
  processedToUse = processedHistory.slice(0, -1);
@@ -49445,16 +49451,16 @@ function mergeHistoryWithRealtime(input) {
49445
49451
  if (pinnedSyntheticIds.has(m.id)) return true;
49446
49452
  if (droppedSyntheticIds.has(m.id)) return false;
49447
49453
  if (processedIds.has(m.id)) return false;
49448
- if (_optionalChain([rawHistoryIds, 'optionalAccess', _1224 => _1224.has, 'call', _1225 => _1225(m.id)])) return false;
49454
+ if (_optionalChain([rawHistoryIds, 'optionalAccess', _1227 => _1227.has, 'call', _1228 => _1228(m.id)])) return false;
49449
49455
  if (m.role === "user" && m.id.startsWith("optimistic-") && typeof m.content === "string") {
49450
- const canBeInSnapshot = (_nullishCoalesce(_optionalChain([m, 'access', _1226 => _1226.timestamp, 'optionalAccess', _1227 => _1227.getTime, 'call', _1228 => _1228()]), () => ( 0))) <= historyFetchedAt;
49456
+ const canBeInSnapshot = (_nullishCoalesce(_optionalChain([m, 'access', _1229 => _1229.timestamp, 'optionalAccess', _1230 => _1230.getTime, 'call', _1231 => _1231()]), () => ( 0))) <= historyFetchedAt;
49451
49457
  return !(canBeInSnapshot && processedToUse.some((pm) => pm.role === "user" && pm.content === m.content));
49452
49458
  }
49453
49459
  if (isSyntheticRealtimeId(m.id) && m.id !== streamingMessageId) {
49454
49460
  if (m.role === "assistant" && trailingAssistantText && assistantAnswerText(m.content) === trailingAssistantText) {
49455
49461
  return false;
49456
49462
  }
49457
- const covered = typeof m.streamSeq === "number" && historyMaxStreamSeq > 0 ? historyMaxStreamSeq >= m.streamSeq : historyCoversRealtime !== null ? historyCoversRealtime : (_nullishCoalesce(_optionalChain([m, 'access', _1229 => _1229.timestamp, 'optionalAccess', _1230 => _1230.getTime, 'call', _1231 => _1231()]), () => ( 0))) <= historyFetchedAt;
49463
+ const covered = typeof m.streamSeq === "number" && historyMaxStreamSeq > 0 ? historyMaxStreamSeq >= m.streamSeq : historyCoversRealtime !== null ? historyCoversRealtime : (_nullishCoalesce(_optionalChain([m, 'access', _1232 => _1232.timestamp, 'optionalAccess', _1233 => _1233.getTime, 'call', _1234 => _1234()]), () => ( 0))) <= historyFetchedAt;
49458
49464
  if (covered) return false;
49459
49465
  }
49460
49466
  return true;
@@ -49674,7 +49680,7 @@ function useChatDialogManager({
49674
49680
  const handleConfirmRestore = _react.useCallback.call(void 0, async () => {
49675
49681
  if (restoreTarget) {
49676
49682
  try {
49677
- await _optionalChain([unarchiveDialog, 'optionalCall', _1232 => _1232(restoreTarget.id)]);
49683
+ await _optionalChain([unarchiveDialog, 'optionalCall', _1235 => _1235(restoreTarget.id)]);
49678
49684
  } catch (err) {
49679
49685
  console.error("[useChatDialogManager] unarchive failed:", err);
49680
49686
  return;
@@ -50091,7 +50097,7 @@ function EmbeddableChatInner({
50091
50097
  }),
50092
50098
  [commandsUrl]
50093
50099
  );
50094
- const userName = _optionalChain([identityUser, 'optionalAccess', _1233 => _1233.firstName, 'optionalAccess', _1234 => _1234.trim, 'call', _1235 => _1235()]) || _optionalChain([identityUser, 'optionalAccess', _1236 => _1236.name, 'optionalAccess', _1237 => _1237.split, 'call', _1238 => _1238(" "), 'access', _1239 => _1239[0], 'optionalAccess', _1240 => _1240.trim, 'call', _1241 => _1241()]) || void 0;
50100
+ const userName = _optionalChain([identityUser, 'optionalAccess', _1236 => _1236.firstName, 'optionalAccess', _1237 => _1237.trim, 'call', _1238 => _1238()]) || _optionalChain([identityUser, 'optionalAccess', _1239 => _1239.name, 'optionalAccess', _1240 => _1240.split, 'call', _1241 => _1241(" "), 'access', _1242 => _1242[0], 'optionalAccess', _1243 => _1243.trim, 'call', _1244 => _1244()]) || void 0;
50095
50101
  const effectiveModes = _react.useMemo.call(void 0, () => {
50096
50102
  if (modes) return modes;
50097
50103
  const guideOptions = tableIdForDocumentType ? { tableIdForDocumentType } : {};
@@ -50100,19 +50106,19 @@ function EmbeddableChatInner({
50100
50106
  const mingoCaps = _react.useMemo.call(void 0, () => {
50101
50107
  if (mingoState) {
50102
50108
  return {
50103
- canRename: _nullishCoalesce(_optionalChain([mingoDialogCapabilities, 'optionalAccess', _1242 => _1242.canRename]), () => ( false)),
50104
- canArchive: _nullishCoalesce(_optionalChain([mingoDialogCapabilities, 'optionalAccess', _1243 => _1243.canArchive]), () => ( false)),
50105
- fetchArchivedDialogs: _optionalChain([mingoDialogCapabilities, 'optionalAccess', _1244 => _1244.fetchArchivedDialogs]),
50106
- unarchiveDialog: _optionalChain([mingoDialogCapabilities, 'optionalAccess', _1245 => _1245.unarchiveDialog]),
50107
- searchQuery: _optionalChain([mingoDialogCapabilities, 'optionalAccess', _1246 => _1246.searchQuery]),
50108
- onSearchChange: _optionalChain([mingoDialogCapabilities, 'optionalAccess', _1247 => _1247.onSearchChange])
50109
+ canRename: _nullishCoalesce(_optionalChain([mingoDialogCapabilities, 'optionalAccess', _1245 => _1245.canRename]), () => ( false)),
50110
+ canArchive: _nullishCoalesce(_optionalChain([mingoDialogCapabilities, 'optionalAccess', _1246 => _1246.canArchive]), () => ( false)),
50111
+ fetchArchivedDialogs: _optionalChain([mingoDialogCapabilities, 'optionalAccess', _1247 => _1247.fetchArchivedDialogs]),
50112
+ unarchiveDialog: _optionalChain([mingoDialogCapabilities, 'optionalAccess', _1248 => _1248.unarchiveDialog]),
50113
+ searchQuery: _optionalChain([mingoDialogCapabilities, 'optionalAccess', _1249 => _1249.searchQuery]),
50114
+ onSearchChange: _optionalChain([mingoDialogCapabilities, 'optionalAccess', _1250 => _1250.onSearchChange])
50109
50115
  };
50110
50116
  }
50111
50117
  return {
50112
- canRename: !!_optionalChain([effectiveModes, 'access', _1248 => _1248.mingo, 'optionalAccess', _1249 => _1249.renameDialog]),
50113
- canArchive: !!_optionalChain([effectiveModes, 'access', _1250 => _1250.mingo, 'optionalAccess', _1251 => _1251.archiveDialog]),
50114
- fetchArchivedDialogs: _optionalChain([effectiveModes, 'access', _1252 => _1252.mingo, 'optionalAccess', _1253 => _1253.fetchArchivedDialogs]),
50115
- unarchiveDialog: _optionalChain([effectiveModes, 'access', _1254 => _1254.mingo, 'optionalAccess', _1255 => _1255.unarchiveDialog]),
50118
+ canRename: !!_optionalChain([effectiveModes, 'access', _1251 => _1251.mingo, 'optionalAccess', _1252 => _1252.renameDialog]),
50119
+ canArchive: !!_optionalChain([effectiveModes, 'access', _1253 => _1253.mingo, 'optionalAccess', _1254 => _1254.archiveDialog]),
50120
+ fetchArchivedDialogs: _optionalChain([effectiveModes, 'access', _1255 => _1255.mingo, 'optionalAccess', _1256 => _1256.fetchArchivedDialogs]),
50121
+ unarchiveDialog: _optionalChain([effectiveModes, 'access', _1257 => _1257.mingo, 'optionalAccess', _1258 => _1258.unarchiveDialog]),
50116
50122
  searchQuery: void 0,
50117
50123
  onSearchChange: void 0
50118
50124
  };
@@ -50126,7 +50132,7 @@ function EmbeddableChatInner({
50126
50132
  if (controlledActiveMode === void 0) {
50127
50133
  setUncontrolledActiveMode(next);
50128
50134
  }
50129
- _optionalChain([onActiveModeChange, 'optionalCall', _1256 => _1256(next)]);
50135
+ _optionalChain([onActiveModeChange, 'optionalCall', _1259 => _1259(next)]);
50130
50136
  },
50131
50137
  [controlledActiveMode, onActiveModeChange]
50132
50138
  );
@@ -50148,7 +50154,7 @@ function EmbeddableChatInner({
50148
50154
  const effectiveQuickActions = emptyStateUrl ? emptyStateConfig.quickActions : [];
50149
50155
  const effectiveAssistantName = emptyStateConfig.name;
50150
50156
  const effectiveAssistantIcon = emptyStateConfig.icon;
50151
- const headerAssistantName = _nullishCoalesce(effectiveAssistantName, () => ( (typeof _optionalChain([guideWelcome, 'optionalAccess', _1257 => _1257.title]) === "string" ? guideWelcome.title : null)));
50157
+ const headerAssistantName = _nullishCoalesce(effectiveAssistantName, () => ( (typeof _optionalChain([guideWelcome, 'optionalAccess', _1260 => _1260.title]) === "string" ? guideWelcome.title : null)));
50152
50158
  const {
50153
50159
  messages: rawMessages,
50154
50160
  isLoading: chatLoading,
@@ -50188,7 +50194,7 @@ function EmbeddableChatInner({
50188
50194
  if (activeMode !== "guide" || guidePromptSentRef.current) return;
50189
50195
  guidePromptSentRef.current = true;
50190
50196
  void sendMessage(guidePendingPrompt);
50191
- _optionalChain([onGuidePromptConsumed, 'optionalCall', _1258 => _1258()]);
50197
+ _optionalChain([onGuidePromptConsumed, 'optionalCall', _1261 => _1261()]);
50192
50198
  }, [guidePendingPrompt, activeMode, sendMessage, onGuidePromptConsumed]);
50193
50199
  const {
50194
50200
  attachments: stagedAttachments,
@@ -50199,7 +50205,7 @@ function EmbeddableChatInner({
50199
50205
  clear: clearAttachments
50200
50206
  } = useChatAttachments();
50201
50207
  const { panelRef: galleryPanelRef, modal: galleryModal } = useChatAttachmentImageGallery();
50202
- const contextMaxItems = _nullishCoalesce(_optionalChain([contextPicker, 'optionalAccess', _1259 => _1259.maxItems]), () => ( 10));
50208
+ const contextMaxItems = _nullishCoalesce(_optionalChain([contextPicker, 'optionalAccess', _1262 => _1262.maxItems]), () => ( 10));
50203
50209
  const contextPickerForMode = activeMode === "mingo" ? contextPicker : void 0;
50204
50210
  const [contextItems, setContextItems] = _react.useState.call(void 0, []);
50205
50211
  const [contextPickerOpen, setContextPickerOpen] = _react.useState.call(void 0, false);
@@ -50216,10 +50222,10 @@ function EmbeddableChatInner({
50216
50222
  }, [activeDialogId, activeMode]);
50217
50223
  const mentionMarkerByType = _react.useMemo.call(void 0, () => {
50218
50224
  const m = /* @__PURE__ */ new Map();
50219
- for (const t of _nullishCoalesce(_optionalChain([contextPicker, 'optionalAccess', _1260 => _1260.entityTypes]), () => ( []))) if (t.marker) m.set(t.type, t.marker);
50225
+ for (const t of _nullishCoalesce(_optionalChain([contextPicker, 'optionalAccess', _1263 => _1263.entityTypes]), () => ( []))) if (t.marker) m.set(t.type, t.marker);
50220
50226
  return m;
50221
- }, [_optionalChain([contextPicker, 'optionalAccess', _1261 => _1261.entityTypes])]);
50222
- const contextEntityTypes = _optionalChain([contextPicker, 'optionalAccess', _1262 => _1262.entityTypes]);
50227
+ }, [_optionalChain([contextPicker, 'optionalAccess', _1264 => _1264.entityTypes])]);
50228
+ const contextEntityTypes = _optionalChain([contextPicker, 'optionalAccess', _1265 => _1265.entityTypes]);
50223
50229
  const resolveContextIcon = _react.useMemo.call(void 0, () => {
50224
50230
  const byType = /* @__PURE__ */ new Map();
50225
50231
  for (const t of _nullishCoalesce(contextEntityTypes, () => ( []))) byType.set(t.type, t.icon);
@@ -50231,7 +50237,7 @@ function EmbeddableChatInner({
50231
50237
  if (mentionActiveRef.current) {
50232
50238
  if (contextItems.some((p) => `${p.type}:${p.id}` === key)) return;
50233
50239
  if (contextItems.length >= contextMaxItems) return;
50234
- _optionalChain([chatInputRef, 'access', _1263 => _1263.current, 'optionalAccess', _1264 => _1264.commitMention, 'call', _1265 => _1265(mentionTokenOf(key, mentionMarkerByType), {
50240
+ _optionalChain([chatInputRef, 'access', _1266 => _1266.current, 'optionalAccess', _1267 => _1267.commitMention, 'call', _1268 => _1268(mentionTokenOf(key, mentionMarkerByType), {
50235
50241
  label: item.label,
50236
50242
  icon: resolveContextIcon(item)
50237
50243
  })]);
@@ -50253,9 +50259,9 @@ function EmbeddableChatInner({
50253
50259
  setContextItems((prev) => prev.filter((p) => `${p.type}:${p.id}` !== key));
50254
50260
  if (mentionKeysRef.current.has(key)) {
50255
50261
  mentionKeysRef.current.delete(key);
50256
- const cur = _nullishCoalesce(_optionalChain([chatInputRef, 'access', _1266 => _1266.current, 'optionalAccess', _1267 => _1267.getValue, 'call', _1268 => _1268()]), () => ( ""));
50262
+ const cur = _nullishCoalesce(_optionalChain([chatInputRef, 'access', _1269 => _1269.current, 'optionalAccess', _1270 => _1270.getValue, 'call', _1271 => _1271()]), () => ( ""));
50257
50263
  const next = cur.replace(`@${mentionTokenOf(key, mentionMarkerByType)}`, "").replace(/\s{2,}/g, " ").trimStart();
50258
- _optionalChain([chatInputRef, 'access', _1269 => _1269.current, 'optionalAccess', _1270 => _1270.setValue, 'call', _1271 => _1271(next)]);
50264
+ _optionalChain([chatInputRef, 'access', _1272 => _1272.current, 'optionalAccess', _1273 => _1273.setValue, 'call', _1274 => _1274(next)]);
50259
50265
  }
50260
50266
  }, [mentionMarkerByType]);
50261
50267
  const handleContextValueChange = _react.useCallback.call(void 0, (value) => {
@@ -50272,7 +50278,7 @@ function EmbeddableChatInner({
50272
50278
  }, []);
50273
50279
  const closeContextPicker = _react.useCallback.call(void 0, () => {
50274
50280
  if (mentionActiveRef.current) {
50275
- _optionalChain([chatInputRef, 'access', _1272 => _1272.current, 'optionalAccess', _1273 => _1273.removeMentionTrigger, 'call', _1274 => _1274()]);
50281
+ _optionalChain([chatInputRef, 'access', _1275 => _1275.current, 'optionalAccess', _1276 => _1276.removeMentionTrigger, 'call', _1277 => _1277()]);
50276
50282
  }
50277
50283
  setContextPickerOpen(false);
50278
50284
  setMentionQuery(null);
@@ -50306,8 +50312,8 @@ function EmbeddableChatInner({
50306
50312
  []
50307
50313
  );
50308
50314
  const timestampCacheRef = _react.useRef.call(void 0, /* @__PURE__ */ new Map());
50309
- const guideUserName = activeMode === "guide" ? [_optionalChain([identityUser, 'optionalAccess', _1275 => _1275.firstName]), _optionalChain([identityUser, 'optionalAccess', _1276 => _1276.lastName])].filter(Boolean).join(" ").trim() || _optionalChain([identityUser, 'optionalAccess', _1277 => _1277.name, 'optionalAccess', _1278 => _1278.trim, 'call', _1279 => _1279()]) || void 0 : void 0;
50310
- const guideUserAvatar = activeMode === "guide" ? _optionalChain([identityUser, 'optionalAccess', _1280 => _1280.avatarUrl, 'optionalAccess', _1281 => _1281.trim, 'call', _1282 => _1282()]) || void 0 : void 0;
50315
+ const guideUserName = activeMode === "guide" ? [_optionalChain([identityUser, 'optionalAccess', _1278 => _1278.firstName]), _optionalChain([identityUser, 'optionalAccess', _1279 => _1279.lastName])].filter(Boolean).join(" ").trim() || _optionalChain([identityUser, 'optionalAccess', _1280 => _1280.name, 'optionalAccess', _1281 => _1281.trim, 'call', _1282 => _1282()]) || void 0 : void 0;
50316
+ const guideUserAvatar = activeMode === "guide" ? _optionalChain([identityUser, 'optionalAccess', _1283 => _1283.avatarUrl, 'optionalAccess', _1284 => _1284.trim, 'call', _1285 => _1285()]) || void 0 : void 0;
50311
50317
  const messages = _react.useMemo.call(void 0, () => {
50312
50318
  const cache = timestampCacheRef.current;
50313
50319
  const seenIds = /* @__PURE__ */ new Set();
@@ -50476,9 +50482,9 @@ function EmbeddableChatInner({
50476
50482
  const lastAssistantMsg = [...rawMessages].reverse().find((m) => m.role === "assistant");
50477
50483
  const lastSources = _react.useMemo.call(void 0, () => {
50478
50484
  if (chatLoading) return void 0;
50479
- const sources = _optionalChain([lastAssistantMsg, 'optionalAccess', _1283 => _1283.sources]);
50485
+ const sources = _optionalChain([lastAssistantMsg, 'optionalAccess', _1286 => _1286.sources]);
50480
50486
  if (!sources || sources.length === 0) return void 0;
50481
- const content = _optionalChain([lastAssistantMsg, 'optionalAccess', _1284 => _1284.content]) || "";
50487
+ const content = _optionalChain([lastAssistantMsg, 'optionalAccess', _1287 => _1287.content]) || "";
50482
50488
  const citationOrder = [...content.matchAll(/\[(\d+)\]/g)].map(
50483
50489
  (m) => parseInt(m[1], 10)
50484
50490
  );
@@ -50525,7 +50531,7 @@ function EmbeddableChatInner({
50525
50531
  ChatPanelHeader,
50526
50532
  {
50527
50533
  showBack: hasConversation || guideCanReturnToMingo,
50528
- title: hasConversation ? _optionalChain([activeDialog, 'optionalAccess', _1285 => _1285.title]) || "New Chat" : isGuideEmpty ? _nullishCoalesce(headerAssistantName, () => ( "Mingo Guide")) : "Current Chats",
50534
+ title: hasConversation ? _optionalChain([activeDialog, 'optionalAccess', _1288 => _1288.title]) || "New Chat" : isGuideEmpty ? _nullishCoalesce(headerAssistantName, () => ( "Mingo Guide")) : "Current Chats",
50529
50535
  backAriaLabel: hasConversation ? isViewingArchived ? "Back to archive" : "Back" : "Back to Mingo",
50530
50536
  isArchivedView: isViewingArchived,
50531
50537
  onBack: hasConversation ? handleBack : () => handleActiveModeChange("mingo"),
@@ -50646,9 +50652,9 @@ function EmbeddableChatInner({
50646
50652
  subtitle: _nullishCoalesce(effectiveGreeting, () => ( void 0)),
50647
50653
  subtitleLoading: emptyStateLoading,
50648
50654
  ...guideWelcome,
50649
- title: _nullishCoalesce(effectiveAssistantName, () => ( _optionalChain([guideWelcome, 'optionalAccess', _1286 => _1286.title]))),
50650
- icon: _nullishCoalesce(effectiveAssistantIcon, () => ( _optionalChain([guideWelcome, 'optionalAccess', _1287 => _1287.icon]))),
50651
- quickActions: agentConfigUrl && guideSuggestedActions.length > 0 ? guideSuggestedActions : _nullishCoalesce(_optionalChain([guideWelcome, 'optionalAccess', _1288 => _1288.quickActions]), () => ( guideSuggestedActions)),
50655
+ title: _nullishCoalesce(effectiveAssistantName, () => ( _optionalChain([guideWelcome, 'optionalAccess', _1289 => _1289.title]))),
50656
+ icon: _nullishCoalesce(effectiveAssistantIcon, () => ( _optionalChain([guideWelcome, 'optionalAccess', _1290 => _1290.icon]))),
50657
+ quickActions: agentConfigUrl && guideSuggestedActions.length > 0 ? guideSuggestedActions : _nullishCoalesce(_optionalChain([guideWelcome, 'optionalAccess', _1291 => _1291.quickActions]), () => ( guideSuggestedActions)),
50652
50658
  onQuickAction: (action) => {
50653
50659
  setQuickActionPreview(null);
50654
50660
  handleSend(_nullishCoalesce(action.prompt, () => ( action.label)));
@@ -51758,4 +51764,4 @@ function EmbeddableChatInner({
51758
51764
 
51759
51765
 
51760
51766
  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.OVERLAY_BACKDROP_CLASS = OVERLAY_BACKDROP_CLASS; exports.Drawer = Drawer; exports.DrawerTrigger = DrawerTrigger; exports.DrawerClose = DrawerClose; exports.DrawerPortal = DrawerPortal; exports.DrawerOverlay = DrawerOverlay; exports.DrawerContent = DrawerContent; exports.DrawerHeader = DrawerHeader; exports.DrawerTitle = DrawerTitle; exports.DrawerDescription = DrawerDescription; exports.DrawerBody = DrawerBody; exports.DrawerFooter = DrawerFooter; exports.Tabs = Tabs; exports.TabsList = TabsList; exports.TabsTrigger = TabsTrigger; exports.TabsContent = TabsContent; exports.Accordion = Accordion; exports.AccordionItem = AccordionItem; exports.AccordionTrigger = AccordionTrigger; exports.AccordionContent = AccordionContent; exports.Breadcrumb = Breadcrumb; exports.BreadcrumbList = BreadcrumbList; exports.BreadcrumbItem = BreadcrumbItem; exports.BreadcrumbLink = BreadcrumbLink; exports.BreadcrumbPage = BreadcrumbPage; exports.BreadcrumbSeparator = BreadcrumbSeparator; exports.BreadcrumbEllipsis = BreadcrumbEllipsis; exports.MenubarMenu = MenubarMenu; exports.MenubarGroup = MenubarGroup; exports.MenubarPortal = MenubarPortal; exports.MenubarSub = MenubarSub; exports.MenubarRadioGroup = MenubarRadioGroup; exports.Menubar = Menubar; exports.MenubarTrigger = MenubarTrigger; exports.MenubarSubTrigger = MenubarSubTrigger; exports.MenubarSubContent = MenubarSubContent; exports.MenubarContent = MenubarContent; exports.MenubarItem = MenubarItem; exports.MenubarCheckboxItem = MenubarCheckboxItem; exports.MenubarRadioItem = MenubarRadioItem; exports.MenubarLabel = MenubarLabel; exports.MenubarSeparator = MenubarSeparator; exports.MenubarShortcut = MenubarShortcut; exports.NavigationMenu = NavigationMenu; exports.NavigationMenuList = NavigationMenuList; exports.NavigationMenuItem = NavigationMenuItem; exports.navigationMenuTriggerStyle = navigationMenuTriggerStyle; exports.NavigationMenuTrigger = NavigationMenuTrigger; exports.NavigationMenuContent = NavigationMenuContent; exports.NavigationMenuLink = NavigationMenuLink; exports.NavigationMenuViewport = NavigationMenuViewport; exports.NavigationMenuIndicator = NavigationMenuIndicator; exports.TabContent = TabContent; exports.TabNavigation = TabNavigation; exports.getTabById = getTabById; exports.getTabComponent = getTabComponent; exports.Alert = Alert; exports.AlertTitle = AlertTitle; exports.AlertDescription = AlertDescription; exports.AIGeneratedBadge = AIGeneratedBadge; exports.FadePreview = FadePreview; exports.Progress = Progress; exports.fetchPriorityProp = fetchPriorityProp; exports.extractYouTubeId = extractYouTubeId; exports.Video = Video2; exports.MediaCarousel = MediaCarousel; exports.EMBED_SIZES = EMBED_SIZES; exports.EmbedContainer = EmbedContainer; exports.YouTubeContainer = YouTubeContainer; exports.TwitterContainer = TwitterContainer; exports.RedditContainer = RedditContainer; exports.LinkPreviewContainer = LinkPreviewContainer; exports.LinkedInContainer = LinkedInContainer; exports.RichMarkdownRuntimeProvider = RichMarkdownRuntimeProvider; exports.useRichMarkdownRuntime = useRichMarkdownRuntime; exports.RedditEmbedClient = RedditEmbedClient; exports.TwitterEmbedClient = TwitterEmbedClient; exports.LinkedInEmbedClient = LinkedInEmbedClient; exports.OGLinkErrorBoundary = OGLinkErrorBoundary; exports.OGLinkPreview = OGLinkPreview; exports.toGoogleSheetsEmbedUrl = toGoogleSheetsEmbedUrl; exports.toGoogleSheetsOriginalUrl = toGoogleSheetsOriginalUrl; exports.toFigmaEmbedUrl = toFigmaEmbedUrl; exports.isFigmaSlidesUrl = isFigmaSlidesUrl; exports.toFigmaOriginalUrl = toFigmaOriginalUrl; exports.EmbedIframe = EmbedIframe; exports.FigmaEmbed = FigmaEmbed; exports.MarkdownImage = MarkdownImage; exports.RichMarkdownRenderer = RichMarkdownRenderer; exports.ReleaseChangelogSection = ReleaseChangelogSection; exports.StackedRowsPanel = StackedRowsPanel; exports.SlackChannelChip = SlackChannelChip; exports.statusBadgeVariants = statusBadgeVariants; exports.StatusBadge = StatusBadge; exports.StatusIndicator = StatusIndicator; exports.HoverDropdown = HoverDropdown; exports.ApprovalRequestMessage = ApprovalRequestMessage; exports.ExpandChevron = ExpandChevron; exports.useCollapsible = useCollapsible; exports.getCommandText = getCommandText; exports.ArgRow = ArgRow; exports.ResultBlock = ResultBlock; exports.CommandBlock = CommandBlock; exports.ApprovalBatchMessage = ApprovalBatchMessage; exports.ContextCompactionDisplay = ContextCompactionDisplay; exports.SimpleMarkdownRenderer = SimpleMarkdownRenderer; exports.ThinkingDisplay = ThinkingDisplay; exports.ErrorMessageDisplay = ErrorMessageDisplay; exports.MspOrganizationCard = MspOrganizationCard; exports.MspOrganizationCardSkeleton = MspOrganizationCardSkeleton; exports.ChatContainer = ChatContainer; exports.ChatHeader = ChatHeader; exports.ChatContent = ChatContent; exports.ChatFooter = ChatFooter; exports.ChatTypingIndicator = ChatTypingIndicator; exports.MingoOnboardingCard = MingoOnboardingCard; exports.ICON_REGISTRY = ICON_REGISTRY; exports.normalizeIconKey = normalizeIconKey; exports.getIconComponent = getIconComponent; exports.getDynamicIcon = getDynamicIcon; exports.ICON_ALIASES = ICON_ALIASES; exports.resolveIcon = resolveIcon; exports.ICON_OPTIONS = ICON_OPTIONS; exports.SlashCommandSuggestions = SlashCommandSuggestions; exports.ChatInput = ChatInput; exports.ToolExecutionDisplay = ToolExecutionDisplay; exports.remarkCardLinks = remarkCardLinks; exports.remarkMentionChips = remarkMentionChips; exports.BlockCard = BlockCard; exports.CONTEXT_ROW_CLASS = CONTEXT_ROW_CLASS; exports.CONTEXT_ICON_CLASS = CONTEXT_ICON_CLASS; exports.CONTEXT_LABEL_CLASS = CONTEXT_LABEL_CLASS; exports.CONTEXT_BACK_CLASS = CONTEXT_BACK_CLASS; exports.CONTEXT_STATE_CLASS = CONTEXT_STATE_CLASS; exports.ContextMenuRow = ContextMenuRow; exports.ContextItemsSkeleton = ContextItemsSkeleton; exports.ContextItemsList = ContextItemsList; exports.ContextErrorBoundary = ContextErrorBoundary; exports.CHAT_CONTEXT_ITEMS_DEFAULT_MAX = CHAT_CONTEXT_ITEMS_DEFAULT_MAX; exports.ChatComposerPlusMenu = ChatComposerPlusMenu; exports.ChatContextPicker = ChatContextPicker; exports.ChatContextChipStrip = ChatContextChipStrip; exports.MemoizedChatMessageEnhanced = MemoizedChatMessageEnhanced; exports.ChatMessageSkeleton = ChatMessageSkeleton; exports.ChatMessageListSkeleton = ChatMessageListSkeleton; exports.MESSAGE_TYPE = MESSAGE_TYPE; exports.SCROLL_ANCHOR = SCROLL_ANCHOR; exports.ChatMessageList = ChatMessageList; exports.getProxiedImageUrl = getProxiedImageUrl; exports.urlPathLooksLikeSvg = urlPathLooksLikeSvg; exports.shouldProxyImage = shouldProxyImage; exports.generateImageSizes = generateImageSizes; exports.useProxiedImageUrl = useProxiedImageUrl; exports.ChatMessageRow = ChatMessageRow; exports.ChatMessageRowSkeleton = ChatMessageRowSkeleton; exports.ChatQuickAction = ChatQuickAction; exports.FAE_AVATAR_DATA_URI = FAE_AVATAR_DATA_URI; exports.AgentMark = AgentMark; exports.EntityIcon = EntityIcon; exports.getAgentAccent = getAgentAccent; exports.accentFromIdentityIcon = accentFromIdentityIcon; exports.renderQuickActionIcon = renderQuickActionIcon; exports.QuickActionChipSkeleton = QuickActionChipSkeleton; exports.QuickActionChipButton = QuickActionChipButton; exports.ChatQuickActionRow = ChatQuickActionRow; exports.ChatQuickActionRowSkeleton = ChatQuickActionRowSkeleton; exports.QuickActionMarquee = QuickActionMarquee; exports.ChatTicketItem = ChatTicketItem; exports.ChatTicketList = ChatTicketList; exports.MingoOnboardingCardSkeleton = MingoOnboardingCardSkeleton; exports.MingoOnboardingListSkeleton = MingoOnboardingListSkeleton; exports.MingoChatHistorySkeleton = MingoChatHistorySkeleton; exports.MingoChatHistory = MingoChatHistory; exports.MingoWelcome = MingoWelcome; exports.GuideWelcome = GuideWelcome; exports.TooltipProvider = TooltipProvider; exports.Tooltip = Tooltip; exports.TooltipTrigger = TooltipTrigger; exports.TooltipContent = TooltipContent; exports.GuideModeBanner = GuideModeBanner; exports.RenameChatModal = RenameChatModal; exports.ArchiveChatModal = ArchiveChatModal; exports.UnarchiveChatModal = UnarchiveChatModal; exports.ChatDialogModals = ChatDialogModals; exports.ChatHeaderIconButton = ChatHeaderIconButton; exports.COMPACT_HEADER_BUTTON = COMPACT_HEADER_BUTTON; exports.ChatPanelHeader = ChatPanelHeader; exports.CHAT_ATTACHMENT_VIEW_URL_PREFIX = CHAT_ATTACHMENT_VIEW_URL_PREFIX; exports.CHAT_ATTACHMENT_VIEW_TOKEN_QUERY_PARAM = CHAT_ATTACHMENT_VIEW_TOKEN_QUERY_PARAM; exports.ANTHROPIC_SUPPORTED_IMAGE_MIME = ANTHROPIC_SUPPORTED_IMAGE_MIME; exports.buildChatAttachmentViewUrl = buildChatAttachmentViewUrl; exports.escapeMarkdownInline = escapeMarkdownInline; exports.formatChatAttachmentMarkdownForBubble = formatChatAttachmentMarkdownForBubble; exports.CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED = CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED; exports.CHAT_ATTACHMENT_MARKDOWN_PATTERN = CHAT_ATTACHMENT_MARKDOWN_PATTERN; exports.stripChatAttachmentMarkdown = stripChatAttachmentMarkdown; exports.CHAT_ATTACHMENT_MIME_TYPES = CHAT_ATTACHMENT_MIME_TYPES; exports.CHAT_ATTACHMENT_CONCURRENT_UPLOADS_PER_USER = CHAT_ATTACHMENT_CONCURRENT_UPLOADS_PER_USER; exports.ChatAttachmentAddButton = ChatAttachmentAddButton; exports.ChatAttachmentChipStrip = ChatAttachmentChipStrip; exports.HoverCard = HoverCard; exports.HoverCardTrigger = HoverCardTrigger; exports.HoverCardContent = HoverCardContent; exports.ModelDisplay = ModelDisplay; exports.ModelDisplaySkeleton = ModelDisplaySkeleton; exports.ChatComposer = ChatComposer; exports.ChatArchivePage = ChatArchivePage; exports.DialogListItem = DialogListItem; exports.ChatSidebar = ChatSidebar; exports.isCrossOriginUrl = isCrossOriginUrl; exports.decideNewTab = decideNewTab; exports.computeIsNewTab = computeIsNewTab; exports.newTabAnchorAttrs = newTabAnchorAttrs; exports.buildAnchorProps = buildAnchorProps; exports.NEW_TAB_FEATURES = NEW_TAB_FEATURES; exports.isModifierClick = isModifierClick; exports.stripSameOriginToPath = stripSameOriginToPath; exports.resolveExternalNavigation = resolveExternalNavigation; exports.executeNavigation = executeNavigation; exports.executeNavigationImperative = executeNavigationImperative; exports.handleChatNavClick = handleChatNavClick; exports.NavLinkAnchorViaRuntime = NavLinkAnchorViaRuntime; exports.SourceActionButton = SourceActionButton; exports.EMPTY_AUTHOR_PLACEHOLDER = EMPTY_AUTHOR_PLACEHOLDER; exports.EntityMetadataValueCell = EntityMetadataValueCell; exports.EntityMetadataAuthorCell = EntityMetadataAuthorCell; exports.EntityAuthorCard = EntityAuthorCard; exports.BlogImagePlaceholder = BlogImagePlaceholder; exports.FlamingoLogo = FlamingoLogo2; 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.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.BackToLoginLink = BackToLoginLink; exports.PROVIDER_META = PROVIDER_META; exports.SsoProviderButtons = SsoProviderButtons; exports.AcceptInvitationForm = AcceptInvitationForm; exports.AuthBenefitsPanel = AuthBenefitsPanel; exports.OpenFrameWordmark = OpenFrameWordmark; exports.PoweredByFlamingo = PoweredByFlamingo; exports.AuthShell = AuthShell; exports.TermsAgreementLabel = TermsAgreementLabel; exports.CreateOrganizationForm = CreateOrganizationForm; exports.InviteLinkInvalidModal = InviteLinkInvalidModal; exports.LoginForm = LoginForm; exports.PasswordInput = PasswordInput; exports.OpenFrameSsoLoginForm = OpenFrameSsoLoginForm; exports.OpenFrameSsoSignUpForm = OpenFrameSsoSignUpForm; exports.PasswordResetForm = PasswordResetForm; exports.SsoAuthShell = SsoAuthShell; exports.ProviderButton = ProviderButton; exports.AuthProvidersList = AuthProvidersList; exports.ChangelogManager = ChangelogManager; exports.ChangelogSectionsManager = ChangelogSectionsManager; exports.ClickUpTasksManager = ClickUpTasksManager; exports.CommandBox = CommandBox; exports.TAG_BADGE_CLASS = TAG_BADGE_CLASS; exports.EntityTagBadges = EntityTagBadges; exports.ErrorBoundary = ErrorBoundary; exports.SectionSelector = SectionSelector; exports.FigmaPrototypeViewer = FigmaPrototypeViewer; exports.FiltersDropdown = FiltersDropdown; exports.useFiltersDropdown = useFiltersDropdown; exports.GitHubReleasesManager = GitHubReleasesManager; exports.KnowledgeBaseLinksManager = KnowledgeBaseLinksManager; exports.LoadingProvider = LoadingProvider; exports.useLoading = useLoading; exports.MediaGalleryManager = MediaGalleryManager; exports.MoreAboutButton = MoreAboutButton; exports.OSTypeBadgeGroup = OSTypeBadgeGroup; exports.ParallaxImageShowcase = ParallaxImageShowcase; exports.PathsDisplay = PathsDisplay; exports.OPENFRAME_PATHS = OPENFRAME_PATHS; exports.getOpenFramePaths = getOpenFramePaths; exports.OPENFRAME_DOCTOR_COMMANDS = OPENFRAME_DOCTOR_COMMANDS; exports.getOpenFrameDoctorCommand = getOpenFrameDoctorCommand; exports.PlatformFilterComponent = PlatformFilterComponent; exports.PushButtonSelector = PushButtonSelector; exports.ReleaseMediaManager = ReleaseMediaManager; exports.SelectButton = SelectButton; exports.SEOEditorPreview = SEOEditorPreview; exports.SocialLinksManager = SocialLinksManager; exports.StartWithOpenFrameButton = StartWithOpenFrameButton; exports.StatusFilterComponent = StatusFilterComponent; exports.TagsSelector = TagsSelector; exports.WarningBlock = WarningBlock; exports.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.assets = assets;
51761
- //# sourceMappingURL=chunk-SZSBHBXE.cjs.map
51767
+ //# sourceMappingURL=chunk-VQCV3GGI.cjs.map