@flamingo-stack/openframe-frontend-core 0.0.611-2120.5952.1 → 0.0.611

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 (93) hide show
  1. package/dist/{chunk-ZRSLHLFX.cjs → chunk-24KS3ZL3.cjs} +17 -17
  2. package/dist/{chunk-ZRSLHLFX.cjs.map → chunk-24KS3ZL3.cjs.map} +1 -1
  3. package/dist/{chunk-H5FXLY43.js → chunk-2R36JUKN.js} +2 -2
  4. package/dist/{chunk-JSLX5JK4.cjs → chunk-4MOB63HI.cjs} +313 -307
  5. package/dist/chunk-4MOB63HI.cjs.map +1 -0
  6. package/dist/{chunk-N7BYNRRS.js → chunk-55M4LRMY.js} +2 -2
  7. package/dist/{chunk-W7UVNHMW.js → chunk-5EEUZULX.js} +3 -3
  8. package/dist/{chunk-H24AFI2O.js → chunk-AQABZFS2.js} +11 -5
  9. package/dist/chunk-AQABZFS2.js.map +1 -0
  10. package/dist/{chunk-ORUIGEL2.js → chunk-CEW2A4PV.js} +2 -2
  11. package/dist/{chunk-QLU7CZF7.cjs → chunk-CFJFWJG7.cjs} +17 -17
  12. package/dist/{chunk-QLU7CZF7.cjs.map → chunk-CFJFWJG7.cjs.map} +1 -1
  13. package/dist/{chunk-G3OS73M2.js → chunk-D4R3QSNG.js} +4 -4
  14. package/dist/{chunk-6PFROFHH.js → chunk-DOIBUVVN.js} +5 -5
  15. package/dist/{chunk-B6DO3OYQ.cjs → chunk-DQHAT6VG.cjs} +34 -34
  16. package/dist/{chunk-B6DO3OYQ.cjs.map → chunk-DQHAT6VG.cjs.map} +1 -1
  17. package/dist/{chunk-KFDJ5VBT.cjs → chunk-DV4UKIPN.cjs} +13 -13
  18. package/dist/{chunk-KFDJ5VBT.cjs.map → chunk-DV4UKIPN.cjs.map} +1 -1
  19. package/dist/{chunk-IXEOIONK.cjs → chunk-GEKWQVSG.cjs} +18 -18
  20. package/dist/{chunk-IXEOIONK.cjs.map → chunk-GEKWQVSG.cjs.map} +1 -1
  21. package/dist/{chunk-ICCYNKFX.js → chunk-HS4YYQA6.js} +2 -2
  22. package/dist/{chunk-H2FKE4RY.cjs → chunk-IIE5NCTX.cjs} +50 -50
  23. package/dist/{chunk-H2FKE4RY.cjs.map → chunk-IIE5NCTX.cjs.map} +1 -1
  24. package/dist/{chunk-HTM52SRL.cjs → chunk-IRUSFKE4.cjs} +3 -3
  25. package/dist/{chunk-HTM52SRL.cjs.map → chunk-IRUSFKE4.cjs.map} +1 -1
  26. package/dist/{chunk-2ROH2LSC.js → chunk-JOMGPWBN.js} +2 -2
  27. package/dist/{chunk-4MI7WP66.js → chunk-LLYGTLJ4.js} +2 -2
  28. package/dist/{chunk-CBTSYA74.cjs → chunk-NWET25AT.cjs} +4 -4
  29. package/dist/{chunk-CBTSYA74.cjs.map → chunk-NWET25AT.cjs.map} +1 -1
  30. package/dist/{chunk-Y2Z6DNYQ.cjs → chunk-O5FEBR3Q.cjs} +3 -3
  31. package/dist/{chunk-Y2Z6DNYQ.cjs.map → chunk-O5FEBR3Q.cjs.map} +1 -1
  32. package/dist/{chunk-7PCITYKW.cjs → chunk-PI7AV4GT.cjs} +3 -3
  33. package/dist/{chunk-7PCITYKW.cjs.map → chunk-PI7AV4GT.cjs.map} +1 -1
  34. package/dist/{chunk-AVGVA3AG.js → chunk-QI2CAZES.js} +2 -2
  35. package/dist/{chunk-I6VSWXK2.cjs → chunk-QQ5G6PM4.cjs} +3 -3
  36. package/dist/{chunk-I6VSWXK2.cjs.map → chunk-QQ5G6PM4.cjs.map} +1 -1
  37. package/dist/{chunk-AJTCZKWE.js → chunk-QQYV4CMH.js} +5 -5
  38. package/dist/{chunk-6HP4DUA5.cjs → chunk-ROBMD5C5.cjs} +10 -10
  39. package/dist/{chunk-6HP4DUA5.cjs.map → chunk-ROBMD5C5.cjs.map} +1 -1
  40. package/dist/{chunk-SQFXTZT4.js → chunk-SPUW2YXQ.js} +2 -2
  41. package/dist/{chunk-7EG2EGXB.js → chunk-THAE6Y2T.js} +4 -4
  42. package/dist/{chunk-IMP6D6SM.cjs → chunk-UZQ25ZD6.cjs} +4 -4
  43. package/dist/{chunk-IMP6D6SM.cjs.map → chunk-UZQ25ZD6.cjs.map} +1 -1
  44. package/dist/{chunk-4M2YNCME.js → chunk-VFYAJDFR.js} +2 -2
  45. package/dist/{chunk-3IJQA3M7.cjs → chunk-WMFG2QJ2.cjs} +33 -33
  46. package/dist/{chunk-3IJQA3M7.cjs.map → chunk-WMFG2QJ2.cjs.map} +1 -1
  47. package/dist/components/case-studies/index.cjs +8 -8
  48. package/dist/components/case-studies/index.js +2 -2
  49. package/dist/components/contact/index.cjs +3 -3
  50. package/dist/components/contact/index.js +2 -2
  51. package/dist/components/docs/index.cjs +6 -6
  52. package/dist/components/docs/index.js +5 -5
  53. package/dist/components/embeds/index.cjs +3 -3
  54. package/dist/components/embeds/index.js +2 -2
  55. package/dist/components/embeds/og-link-preview.d.ts.map +1 -1
  56. package/dist/components/faq/index.cjs +3 -3
  57. package/dist/components/faq/index.js +2 -2
  58. package/dist/components/features/index.cjs +2 -2
  59. package/dist/components/features/index.js +1 -1
  60. package/dist/components/help-center-pages/index.cjs +22 -22
  61. package/dist/components/help-center-pages/index.js +13 -13
  62. package/dist/components/index.cjs +31 -31
  63. package/dist/components/index.js +12 -12
  64. package/dist/components/meeting-scheduler/index.cjs +21 -21
  65. package/dist/components/meeting-scheduler/index.js +1 -1
  66. package/dist/components/navigation/index.cjs +5 -5
  67. package/dist/components/navigation/index.js +4 -4
  68. package/dist/components/onboarding-guides/index.cjs +5 -5
  69. package/dist/components/onboarding-guides/index.js +4 -4
  70. package/dist/components/tickets/index.cjs +6 -6
  71. package/dist/components/tickets/index.js +5 -5
  72. package/dist/components/ui/index.cjs +2 -2
  73. package/dist/components/ui/index.js +1 -1
  74. package/dist/index.cjs +6 -6
  75. package/dist/index.js +5 -5
  76. package/package.json +1 -1
  77. package/src/components/embeds/og-link-preview.tsx +16 -5
  78. package/dist/chunk-H24AFI2O.js.map +0 -1
  79. package/dist/chunk-JSLX5JK4.cjs.map +0 -1
  80. /package/dist/{chunk-H5FXLY43.js.map → chunk-2R36JUKN.js.map} +0 -0
  81. /package/dist/{chunk-N7BYNRRS.js.map → chunk-55M4LRMY.js.map} +0 -0
  82. /package/dist/{chunk-W7UVNHMW.js.map → chunk-5EEUZULX.js.map} +0 -0
  83. /package/dist/{chunk-ORUIGEL2.js.map → chunk-CEW2A4PV.js.map} +0 -0
  84. /package/dist/{chunk-G3OS73M2.js.map → chunk-D4R3QSNG.js.map} +0 -0
  85. /package/dist/{chunk-6PFROFHH.js.map → chunk-DOIBUVVN.js.map} +0 -0
  86. /package/dist/{chunk-ICCYNKFX.js.map → chunk-HS4YYQA6.js.map} +0 -0
  87. /package/dist/{chunk-2ROH2LSC.js.map → chunk-JOMGPWBN.js.map} +0 -0
  88. /package/dist/{chunk-4MI7WP66.js.map → chunk-LLYGTLJ4.js.map} +0 -0
  89. /package/dist/{chunk-AVGVA3AG.js.map → chunk-QI2CAZES.js.map} +0 -0
  90. /package/dist/{chunk-AJTCZKWE.js.map → chunk-QQYV4CMH.js.map} +0 -0
  91. /package/dist/{chunk-SQFXTZT4.js.map → chunk-SPUW2YXQ.js.map} +0 -0
  92. /package/dist/{chunk-7EG2EGXB.js.map → chunk-THAE6Y2T.js.map} +0 -0
  93. /package/dist/{chunk-4M2YNCME.js.map → chunk-VFYAJDFR.js.map} +0 -0
@@ -6536,11 +6536,17 @@ var OGLinkPreview = ({
6536
6536
  favicon: `https://www.google.com/s2/favicons?domain=${domain}&sz=32`
6537
6537
  } : null)));
6538
6538
  const placeholderImageUrl = enablePlaceholder && buildPlaceholderUrl && _optionalChain([effectiveData, 'optionalAccess', _126 => _126.title]) ? buildPlaceholderUrl(effectiveData.title, effectiveData.siteName || domain) : null;
6539
- const imageCandidates = [curatedImage, _optionalChain([effectiveData, 'optionalAccess', _127 => _127.image]), _optionalChain([effectiveData, 'optionalAccess', _128 => _128.originalImage]), placeholderImageUrl];
6540
- const resolvedImageUrl = _nullishCoalesce(imageCandidates.find((u) => !!u && !failedImages.has(u)), () => ( null));
6539
+ const imageCandidates = [
6540
+ { source: "curated", url: curatedImage },
6541
+ { source: "og", url: _optionalChain([effectiveData, 'optionalAccess', _127 => _127.image]) },
6542
+ { source: "og-original", url: _optionalChain([effectiveData, 'optionalAccess', _128 => _128.originalImage]) },
6543
+ { source: "placeholder", url: placeholderImageUrl }
6544
+ ];
6545
+ const resolvedImage = _nullishCoalesce(imageCandidates.find((c) => !!c.url && !failedImages.has(c.url)), () => ( null));
6546
+ const resolvedImageUrl = _nullishCoalesce(_optionalChain([resolvedImage, 'optionalAccess', _129 => _129.url]), () => ( null));
6541
6547
  const hasImage = !!resolvedImageUrl;
6542
- const isCuratedImage = !!resolvedImageUrl && resolvedImageUrl === curatedImage;
6543
- const isPlaceholder = !!resolvedImageUrl && resolvedImageUrl === placeholderImageUrl && !isCuratedImage;
6548
+ const isCuratedImage = _optionalChain([resolvedImage, 'optionalAccess', _130 => _130.source]) === "curated";
6549
+ const isPlaceholder = _optionalChain([resolvedImage, 'optionalAccess', _131 => _131.source]) === "placeholder";
6544
6550
  const bgColor = _chunkEHAYNUOLcjs.useImageEdgeColor.call(void 0, _nullishCoalesce(resolvedImageUrl, () => ( null)), "var(--color-bg-surface)");
6545
6551
  const renderSkeleton = () => isCompact ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "my-4", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-[120px] flex-row overflow-hidden rounded-lg border border-ods-border bg-ods-card", children: [
6546
6552
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-full w-[200px] flex-shrink-0 animate-pulse bg-ods-border" }),
@@ -7149,7 +7155,7 @@ function RedditEmbedClient({ url, maxWidth = 700 }) {
7149
7155
  apiEndpoint: redditProxyUrl,
7150
7156
  dataValidator: validateRedditData,
7151
7157
  onDataUpdate: (data) => {
7152
- if (isCurrent() && _optionalChain([data, 'access', _129 => _129[0], 'optionalAccess', _130 => _130.data, 'optionalAccess', _131 => _131.children, 'optionalAccess', _132 => _132[0], 'optionalAccess', _133 => _133.data])) {
7158
+ if (isCurrent() && _optionalChain([data, 'access', _132 => _132[0], 'optionalAccess', _133 => _133.data, 'optionalAccess', _134 => _134.children, 'optionalAccess', _135 => _135[0], 'optionalAccess', _136 => _136.data])) {
7153
7159
  setRedditData(data[0].data.children[0].data);
7154
7160
  }
7155
7161
  },
@@ -7224,11 +7230,11 @@ function RedditEmbedClient({ url, maxWidth = 700 }) {
7224
7230
  gallery_data: redditData.gallery_data,
7225
7231
  media_metadata: redditData.media_metadata
7226
7232
  });
7227
- const video = _optionalChain([redditData, 'access', _134 => _134.media, 'optionalAccess', _135 => _135.reddit_video]) || _optionalChain([redditData, 'access', _136 => _136.secure_media, 'optionalAccess', _137 => _137.reddit_video]);
7233
+ const video = _optionalChain([redditData, 'access', _137 => _137.media, 'optionalAccess', _138 => _138.reddit_video]) || _optionalChain([redditData, 'access', _139 => _139.secure_media, 'optionalAccess', _140 => _140.reddit_video]);
7228
7234
  if (video && video.fallback_url) {
7229
7235
  console.log("\u{1F4F9} Found Reddit video:", video);
7230
7236
  let posterUrl = "";
7231
- if (_optionalChain([redditData, 'access', _138 => _138.preview, 'optionalAccess', _139 => _139.images, 'optionalAccess', _140 => _140[0], 'optionalAccess', _141 => _141.source, 'optionalAccess', _142 => _142.url])) {
7237
+ if (_optionalChain([redditData, 'access', _141 => _141.preview, 'optionalAccess', _142 => _142.images, 'optionalAccess', _143 => _143[0], 'optionalAccess', _144 => _144.source, 'optionalAccess', _145 => _145.url])) {
7232
7238
  posterUrl = redditData.preview.images[0].source.url.replace(/&/g, "&");
7233
7239
  console.log("\u2705 Using preview image as video poster:", posterUrl);
7234
7240
  } else {
@@ -7280,7 +7286,7 @@ function RedditEmbedClient({ url, maxWidth = 700 }) {
7280
7286
  return media;
7281
7287
  }
7282
7288
  }
7283
- if (_optionalChain([redditData, 'access', _143 => _143.preview, 'optionalAccess', _144 => _144.images, 'optionalAccess', _145 => _145[0]]) && !redditData.is_video) {
7289
+ if (_optionalChain([redditData, 'access', _146 => _146.preview, 'optionalAccess', _147 => _147.images, 'optionalAccess', _148 => _148[0]]) && !redditData.is_video) {
7284
7290
  const imageData = redditData.preview.images[0];
7285
7291
  console.log("\u{1F5BC}\uFE0F Found preview image data:", imageData);
7286
7292
  let source = imageData.source;
@@ -7315,7 +7321,7 @@ function RedditEmbedClient({ url, maxWidth = 700 }) {
7315
7321
  } else if (directUrl.match(/\.(mp4|webm|mov|avi)(\?.*)?$/i)) {
7316
7322
  console.log("\u{1F3AC} Found direct video URL");
7317
7323
  let posterUrl = "";
7318
- if (_optionalChain([redditData, 'access', _146 => _146.preview, 'optionalAccess', _147 => _147.images, 'optionalAccess', _148 => _148[0], 'optionalAccess', _149 => _149.source, 'optionalAccess', _150 => _150.url])) {
7324
+ if (_optionalChain([redditData, 'access', _149 => _149.preview, 'optionalAccess', _150 => _150.images, 'optionalAccess', _151 => _151[0], 'optionalAccess', _152 => _152.source, 'optionalAccess', _153 => _153.url])) {
7319
7325
  posterUrl = redditData.preview.images[0].source.url.replace(/&/g, "&");
7320
7326
  }
7321
7327
  media.push({
@@ -7328,7 +7334,7 @@ function RedditEmbedClient({ url, maxWidth = 700 }) {
7328
7334
  });
7329
7335
  } else if (directUrl.includes("imgur.com") && !directUrl.includes(".gifv")) {
7330
7336
  console.log("\u{1F310} Found Imgur link");
7331
- const imgurId = _optionalChain([directUrl, 'access', _151 => _151.match, 'call', _152 => _152(/imgur\.com\/([a-zA-Z0-9]+)/), 'optionalAccess', _153 => _153[1]]);
7337
+ const imgurId = _optionalChain([directUrl, 'access', _154 => _154.match, 'call', _155 => _155(/imgur\.com\/([a-zA-Z0-9]+)/), 'optionalAccess', _156 => _156[1]]);
7332
7338
  if (imgurId && !directUrl.includes("/a/") && !directUrl.includes("/gallery/")) {
7333
7339
  media.push({
7334
7340
  type: "image",
@@ -7461,7 +7467,7 @@ function TwitterEmbedClient({ url, tweetId, maxWidth = 700 }) {
7461
7467
  const [fetchLoading, setLoading] = _react.useState.call(void 0, true);
7462
7468
  const [fetchError, setError] = _react.useState.call(void 0, null);
7463
7469
  const fetchedForRef = _react.useRef.call(void 0, null);
7464
- const extractedTweetId = tweetId || _optionalChain([url, 'access', _154 => _154.match, 'call', _155 => _155(/status\/(\d+)/), 'optionalAccess', _156 => _156[1]]);
7470
+ const extractedTweetId = tweetId || _optionalChain([url, 'access', _157 => _157.match, 'call', _158 => _158(/status\/(\d+)/), 'optionalAccess', _159 => _159[1]]);
7465
7471
  const error = extractedTweetId ? fetchError : "Invalid tweet URL or ID";
7466
7472
  const loading = extractedTweetId ? fetchLoading : false;
7467
7473
  const tweetUrl = url.includes("twitter.com") || url.includes("x.com") ? url : `https://twitter.com/twitter/status/${extractedTweetId}`;
@@ -7533,10 +7539,10 @@ function TwitterEmbedClient({ url, tweetId, maxWidth = 700 }) {
7533
7539
  const parser = new DOMParser();
7534
7540
  const doc = parser.parseFromString(tweetData.html, "text/html");
7535
7541
  const blockquote = doc.querySelector("blockquote");
7536
- const fullText = _optionalChain([blockquote, 'optionalAccess', _157 => _157.textContent]) || "";
7542
+ const fullText = _optionalChain([blockquote, 'optionalAccess', _160 => _160.textContent]) || "";
7537
7543
  const tweetText = fullText.replace(/- .* \(@.*\).*$/, "").trim();
7538
7544
  const username = tweetData.author_url ? tweetData.author_url.split("/").pop() : "";
7539
- const links = Array.from(_optionalChain([blockquote, 'optionalAccess', _158 => _158.querySelectorAll, 'call', _159 => _159("a")]) || []).map((link) => ({
7545
+ const links = Array.from(_optionalChain([blockquote, 'optionalAccess', _161 => _161.querySelectorAll, 'call', _162 => _162("a")]) || []).map((link) => ({
7540
7546
  url: link.href,
7541
7547
  text: link.textContent || link.href
7542
7548
  })).filter((link) => !link.url.includes("twitter.com") && !link.url.includes("x.com"));
@@ -7903,7 +7909,7 @@ var processShortcodes = (content) => {
7903
7909
  }).replace(
7904
7910
  /\{\{claude-(artifact|design):([^|}]+)(?:\|([^}]*))?\}\}/g,
7905
7911
  (match, kind, url, title) => {
7906
- const name = _optionalChain([title, 'optionalAccess', _160 => _160.trim, 'call', _161 => _161()]);
7912
+ const name = _optionalChain([title, 'optionalAccess', _163 => _163.trim, 'call', _164 => _164()]);
7907
7913
  const titleAttr = name ? ` data-title="${escapeAttr(name)}"` : "";
7908
7914
  return `
7909
7915
 
@@ -8636,9 +8642,9 @@ function FilterModal({
8636
8642
  return { ...currentFilters };
8637
8643
  });
8638
8644
  const [pendingTags, setPendingTags] = _react.useState.call(void 0, _nullishCoalesce(selectedTags, () => ( [])));
8639
- const dateDefaultSort = _nullishCoalesce(_optionalChain([dateFilter, 'optionalAccess', _162 => _162.defaultSort]), () => ( "desc"));
8640
- const [draftDateSort, setDraftDateSort] = _react.useState.call(void 0, _nullishCoalesce(_optionalChain([dateFilter, 'optionalAccess', _163 => _163.sort]), () => ( dateDefaultSort)));
8641
- const [draftDateRange, setDraftDateRange] = _react.useState.call(void 0, _optionalChain([dateFilter, 'optionalAccess', _164 => _164.range]));
8645
+ const dateDefaultSort = _nullishCoalesce(_optionalChain([dateFilter, 'optionalAccess', _165 => _165.defaultSort]), () => ( "desc"));
8646
+ const [draftDateSort, setDraftDateSort] = _react.useState.call(void 0, _nullishCoalesce(_optionalChain([dateFilter, 'optionalAccess', _166 => _166.sort]), () => ( dateDefaultSort)));
8647
+ const [draftDateRange, setDraftDateRange] = _react.useState.call(void 0, _optionalChain([dateFilter, 'optionalAccess', _167 => _167.range]));
8642
8648
  const { scrollRef, fadeTop, fadeBottom, update: updateFade } = _chunkYXTAV2E3cjs.useScrollFade.call(void 0, );
8643
8649
  const seedKey = `${JSON.stringify(currentFilters)}|${JSON.stringify(_nullishCoalesce(selectedTags, () => ( [])))}`;
8644
8650
  const seedSourceRef = _react.useRef.call(void 0, { currentFilters, selectedTags, dateFilter, dateDefaultSort });
@@ -8650,8 +8656,8 @@ function FilterModal({
8650
8656
  const seed = seedSourceRef.current;
8651
8657
  setSelectedFilters({ ...seed.currentFilters });
8652
8658
  setPendingTags(_nullishCoalesce(seed.selectedTags, () => ( [])));
8653
- setDraftDateSort(_nullishCoalesce(_optionalChain([seed, 'access', _165 => _165.dateFilter, 'optionalAccess', _166 => _166.sort]), () => ( seed.dateDefaultSort)));
8654
- setDraftDateRange(_optionalChain([seed, 'access', _167 => _167.dateFilter, 'optionalAccess', _168 => _168.range]));
8659
+ setDraftDateSort(_nullishCoalesce(_optionalChain([seed, 'access', _168 => _168.dateFilter, 'optionalAccess', _169 => _169.sort]), () => ( seed.dateDefaultSort)));
8660
+ setDraftDateRange(_optionalChain([seed, 'access', _170 => _170.dateFilter, 'optionalAccess', _171 => _171.range]));
8655
8661
  }, [isOpen, seedKey]);
8656
8662
  const handleFilterToggle = (groupId, optionId, checked) => {
8657
8663
  setSelectedFilters((prev) => {
@@ -8667,18 +8673,18 @@ function FilterModal({
8667
8673
  };
8668
8674
  const handleReset = () => {
8669
8675
  onFilterChange({});
8670
- _optionalChain([onTagsChange, 'optionalCall', _169 => _169([])]);
8671
- _optionalChain([dateFilter, 'optionalAccess', _170 => _170.onChange, 'call', _171 => _171({ sort: dateDefaultSort, range: void 0 })]);
8676
+ _optionalChain([onTagsChange, 'optionalCall', _172 => _172([])]);
8677
+ _optionalChain([dateFilter, 'optionalAccess', _173 => _173.onChange, 'call', _174 => _174({ sort: dateDefaultSort, range: void 0 })]);
8672
8678
  onClose();
8673
8679
  };
8674
8680
  const handleApply = () => {
8675
8681
  onFilterChange(selectedFilters);
8676
- _optionalChain([onTagsChange, 'optionalCall', _172 => _172(pendingTags)]);
8677
- _optionalChain([dateFilter, 'optionalAccess', _173 => _173.onChange, 'call', _174 => _174({ sort: draftDateSort, range: draftDateRange })]);
8682
+ _optionalChain([onTagsChange, 'optionalCall', _175 => _175(pendingTags)]);
8683
+ _optionalChain([dateFilter, 'optionalAccess', _176 => _176.onChange, 'call', _177 => _177({ sort: draftDateSort, range: draftDateRange })]);
8678
8684
  onClose();
8679
8685
  };
8680
8686
  const getColumnDirection = (columnKey) => {
8681
- return _optionalChain([sortConfig, 'optionalAccess', _175 => _175.sortBy]) === columnKey ? sortConfig.sortDirection : void 0;
8687
+ return _optionalChain([sortConfig, 'optionalAccess', _178 => _178.sortBy]) === columnKey ? sortConfig.sortDirection : void 0;
8682
8688
  };
8683
8689
  const hasSort = !!sortConfig && sortConfig.columns.length > 0;
8684
8690
  const hasFilterGroups = filterGroups.length > 0;
@@ -8728,7 +8734,7 @@ function FilterModal({
8728
8734
  {
8729
8735
  column,
8730
8736
  currentDirection: getColumnDirection(column.key),
8731
- onSort: (direction) => _optionalChain([onSort, 'optionalCall', _176 => _176(column.key, direction)]),
8737
+ onSort: (direction) => _optionalChain([onSort, 'optionalCall', _179 => _179(column.key, direction)]),
8732
8738
  onClear: onSortClear ? () => onSortClear(column.key) : void 0
8733
8739
  },
8734
8740
  column.key
@@ -8979,7 +8985,7 @@ function IconButtonsVariant({
8979
8985
  }) {
8980
8986
  const desktopActions = actions.filter((a) => !a.showOnlyMobile);
8981
8987
  const hasMenuActions = !!menuActions && menuActions.some((g) => g.items.length > 0);
8982
- const isSingleAction = actions.length === 1 && !_optionalChain([actions, 'access', _177 => _177[0], 'access', _178 => _178.submenu, 'optionalAccess', _179 => _179.length]);
8988
+ const isSingleAction = actions.length === 1 && !_optionalChain([actions, 'access', _180 => _180[0], 'access', _181 => _181.submenu, 'optionalAccess', _182 => _182.length]);
8983
8989
  const singleAction = isSingleAction ? actions[0] : null;
8984
8990
  const useSingleActionMobile = isSingleAction && !hasMenuActions;
8985
8991
  const mobileMenuGroups = [{ items: actions.flatMap(actionToMenuItems) }, ..._nullishCoalesce(menuActions, () => ( []))];
@@ -9974,7 +9980,7 @@ function getShellIcon(shellType) {
9974
9980
  if (!shellType) return void 0;
9975
9981
  const normalized = shellType.toUpperCase();
9976
9982
  const shellDef = SHELL_TYPES.find((s) => s.id === normalized);
9977
- return _optionalChain([shellDef, 'optionalAccess', _180 => _180.icon]);
9983
+ return _optionalChain([shellDef, 'optionalAccess', _183 => _183.icon]);
9978
9984
  }
9979
9985
 
9980
9986
  // src/utils/video-bite-id.ts
@@ -10076,7 +10082,7 @@ function getOSIcon(osType) {
10076
10082
  const normalized = normalizeOSType(osType);
10077
10083
  if (!normalized) return void 0;
10078
10084
  const osTypeDef = OS_TYPES.find((t) => t.id === normalized);
10079
- return _optionalChain([osTypeDef, 'optionalAccess', _181 => _181.icon]);
10085
+ return _optionalChain([osTypeDef, 'optionalAccess', _184 => _184.icon]);
10080
10086
  }
10081
10087
  function getOSTypeDefinition(osType) {
10082
10088
  if (!osType) return void 0;
@@ -10086,7 +10092,7 @@ function getOSTypeDefinition(osType) {
10086
10092
  }
10087
10093
  function getOSPlatformId(osType) {
10088
10094
  const osTypeDef = getOSTypeDefinition(osType);
10089
- return _optionalChain([osTypeDef, 'optionalAccess', _182 => _182.platformId]);
10095
+ return _optionalChain([osTypeDef, 'optionalAccess', _185 => _185.platformId]);
10090
10096
  }
10091
10097
  function isOSPlatform(deviceOS, targetPlatform) {
10092
10098
  if (!deviceOS || !targetPlatform) return false;
@@ -10179,10 +10185,10 @@ var GENERIC_EMAIL_DOMAINS = [
10179
10185
  ];
10180
10186
  function extractDomainFromEmail(email) {
10181
10187
  if (!email || !email.includes("@")) return null;
10182
- return _optionalChain([email, 'access', _183 => _183.split, 'call', _184 => _184("@"), 'access', _185 => _185[1], 'optionalAccess', _186 => _186.toLowerCase, 'call', _187 => _187()]) || null;
10188
+ return _optionalChain([email, 'access', _186 => _186.split, 'call', _187 => _187("@"), 'access', _188 => _188[1], 'optionalAccess', _189 => _189.toLowerCase, 'call', _190 => _190()]) || null;
10183
10189
  }
10184
10190
  function normalizeDomain(domain) {
10185
- return _optionalChain([domain, 'optionalAccess', _188 => _188.toLowerCase, 'call', _189 => _189(), 'access', _190 => _190.replace, 'call', _191 => _191(/^https?:\/\//, ""), 'access', _192 => _192.replace, 'call', _193 => _193(/^www\./, ""), 'access', _194 => _194.split, 'call', _195 => _195("/"), 'access', _196 => _196[0], 'access', _197 => _197.trim, 'call', _198 => _198()]) || "";
10191
+ return _optionalChain([domain, 'optionalAccess', _191 => _191.toLowerCase, 'call', _192 => _192(), 'access', _193 => _193.replace, 'call', _194 => _194(/^https?:\/\//, ""), 'access', _195 => _195.replace, 'call', _196 => _196(/^www\./, ""), 'access', _197 => _197.split, 'call', _198 => _198("/"), 'access', _199 => _199[0], 'access', _200 => _200.trim, 'call', _201 => _201()]) || "";
10186
10192
  }
10187
10193
  function isGenericDomain(domain) {
10188
10194
  const normalized = normalizeDomain(domain);
@@ -10334,7 +10340,7 @@ function createSseSubscription(options) {
10334
10340
  if (connected === next) return;
10335
10341
  connected = next;
10336
10342
  try {
10337
- _optionalChain([onConnectedChange, 'optionalCall', _199 => _199(next)]);
10343
+ _optionalChain([onConnectedChange, 'optionalCall', _202 => _202(next)]);
10338
10344
  } catch (err) {
10339
10345
  console.error("[sse-subscription] onConnectedChange threw:", err);
10340
10346
  }
@@ -10350,7 +10356,7 @@ function createSseSubscription(options) {
10350
10356
  if (status !== "open") {
10351
10357
  confirmTimerId = clearLifecycleTimer(confirmTimerId);
10352
10358
  }
10353
- _optionalChain([onStatusChange, 'optionalCall', _200 => _200(status)]);
10359
+ _optionalChain([onStatusChange, 'optionalCall', _203 => _203(status)]);
10354
10360
  };
10355
10361
  const internalReconnect = (delayMs) => {
10356
10362
  failedDelayTimerId = clearLifecycleTimer(failedDelayTimerId);
@@ -10364,7 +10370,7 @@ function createSseSubscription(options) {
10364
10370
  }, delayMs);
10365
10371
  };
10366
10372
  const handleServerStatus = (data) => {
10367
- const status = _optionalChain([data, 'optionalAccess', _201 => _201.status]);
10373
+ const status = _optionalChain([data, 'optionalAccess', _204 => _204.status]);
10368
10374
  if (status === "subscribed") {
10369
10375
  confirmTimerId = clearLifecycleTimer(confirmTimerId);
10370
10376
  serverGraceTimerId = clearLifecycleTimer(serverGraceTimerId);
@@ -10406,7 +10412,7 @@ function createSseSubscription(options) {
10406
10412
  const armSilenceTimer = () => {
10407
10413
  if (silenceTimerId) clearTimeout(silenceTimerId);
10408
10414
  silenceTimerId = setTimeout(() => {
10409
- _optionalChain([abortController, 'optionalAccess', _202 => _202.abort, 'call', _203 => _203()]);
10415
+ _optionalChain([abortController, 'optionalAccess', _205 => _205.abort, 'call', _206 => _206()]);
10410
10416
  }, silenceTimeoutMs);
10411
10417
  };
10412
10418
  const scheduleReconnect = () => {
@@ -10538,7 +10544,7 @@ function createSseSubscription(options) {
10538
10544
  generation += 1;
10539
10545
  clearTimers();
10540
10546
  attempt = 0;
10541
- _optionalChain([abortController, 'optionalAccess', _204 => _204.abort, 'call', _205 => _205()]);
10547
+ _optionalChain([abortController, 'optionalAccess', _207 => _207.abort, 'call', _208 => _208()]);
10542
10548
  void connect();
10543
10549
  }
10544
10550
  const suspend = () => {
@@ -10546,7 +10552,7 @@ function createSseSubscription(options) {
10546
10552
  suspended = true;
10547
10553
  generation += 1;
10548
10554
  clearTimers();
10549
- _optionalChain([abortController, 'optionalAccess', _206 => _206.abort, 'call', _207 => _207()]);
10555
+ _optionalChain([abortController, 'optionalAccess', _209 => _209.abort, 'call', _210 => _210()]);
10550
10556
  setStatus("suspended");
10551
10557
  };
10552
10558
  const onVisibilityChange = () => {
@@ -10580,13 +10586,13 @@ function createSseSubscription(options) {
10580
10586
  closed = true;
10581
10587
  generation += 1;
10582
10588
  clearTimers();
10583
- _optionalChain([abortController, 'optionalAccess', _208 => _208.abort, 'call', _209 => _209()]);
10589
+ _optionalChain([abortController, 'optionalAccess', _211 => _211.abort, 'call', _212 => _212()]);
10584
10590
  if (listenersActive) {
10585
10591
  document.removeEventListener("visibilitychange", onVisibilityChange);
10586
10592
  window.removeEventListener("online", onOnline);
10587
10593
  }
10588
10594
  setConnected(false);
10589
- _optionalChain([onStatusChange, 'optionalCall', _210 => _210("closed")]);
10595
+ _optionalChain([onStatusChange, 'optionalCall', _213 => _213("closed")]);
10590
10596
  },
10591
10597
  reconnectNow: () => {
10592
10598
  if (closed) return;
@@ -10598,7 +10604,7 @@ function createSseSubscription(options) {
10598
10604
 
10599
10605
  // src/utils/sse-decision-frame.ts
10600
10606
  async function readLeadingDecisionFrame(response) {
10601
- const reader = _optionalChain([response, 'access', _211 => _211.body, 'optionalAccess', _212 => _212.getReader, 'call', _213 => _213()]);
10607
+ const reader = _optionalChain([response, 'access', _214 => _214.body, 'optionalAccess', _215 => _215.getReader, 'call', _216 => _216()]);
10602
10608
  if (!reader) throw new Error("readLeadingDecisionFrame: response has no body");
10603
10609
  const decoder = new TextDecoder();
10604
10610
  let buffer = "";
@@ -10623,8 +10629,8 @@ async function readLeadingDecisionFrame(response) {
10623
10629
  throw new Error(`readLeadingDecisionFrame: leading JSON parse failed: ${err.message}`);
10624
10630
  }
10625
10631
  const obj = parsed;
10626
- if (_optionalChain([obj, 'optionalAccess', _214 => _214.kind]) !== "decision_resolved") {
10627
- throw new Error(`readLeadingDecisionFrame: expected decision_resolved, got kind=${String(_optionalChain([obj, 'optionalAccess', _215 => _215.kind]))}`);
10632
+ if (_optionalChain([obj, 'optionalAccess', _217 => _217.kind]) !== "decision_resolved") {
10633
+ throw new Error(`readLeadingDecisionFrame: expected decision_resolved, got kind=${String(_optionalChain([obj, 'optionalAccess', _218 => _218.kind]))}`);
10628
10634
  }
10629
10635
  frame = normalizeDecisionFrame(obj);
10630
10636
  buffer = buffer.slice(nullIdx + 1);
@@ -10875,7 +10881,7 @@ function primaryPlatformOf(platforms) {
10875
10881
  if (!Array.isArray(platforms)) return null;
10876
10882
  for (const entry of platforms) {
10877
10883
  const row = entry;
10878
- const name = _nullishCoalesce(_nullishCoalesce(_optionalChain([row, 'optionalAccess', _216 => _216.platforms, 'optionalAccess', _217 => _217.name]), () => ( _optionalChain([row, 'optionalAccess', _218 => _218.platform_name]))), () => ( _optionalChain([row, 'optionalAccess', _219 => _219.name])));
10884
+ const name = _nullishCoalesce(_nullishCoalesce(_optionalChain([row, 'optionalAccess', _219 => _219.platforms, 'optionalAccess', _220 => _220.name]), () => ( _optionalChain([row, 'optionalAccess', _221 => _221.platform_name]))), () => ( _optionalChain([row, 'optionalAccess', _222 => _222.name])));
10879
10885
  if (typeof name === "string" && name.trim()) return name.trim();
10880
10886
  }
10881
10887
  return null;
@@ -10898,7 +10904,7 @@ function makeComposeContentUrl(opts) {
10898
10904
  const seg = _nullishCoalesce((Object.prototype.hasOwnProperty.call(suffixes, type) ? suffixes[type] : void 0), () => ( type));
10899
10905
  if (opts.hostedTypes.has(type)) {
10900
10906
  const recovered = externalUrl ? lastPathSegment(externalUrl) : null;
10901
- const slug = recovered && recovered !== seg ? recovered : _optionalChain([slugHint, 'optionalAccess', _220 => _220.trim, 'call', _221 => _221()]) || identifier;
10907
+ const slug = recovered && recovered !== seg ? recovered : _optionalChain([slugHint, 'optionalAccess', _223 => _223.trim, 'call', _224 => _224()]) || identifier;
10902
10908
  return { href: `/${seg}/${slug}`, targetPlatform: null };
10903
10909
  }
10904
10910
  if (externalUrl) return { href: externalUrl, targetPlatform: _nullishCoalesce(targetPlatform, () => ( null)) };
@@ -10906,7 +10912,7 @@ function makeComposeContentUrl(opts) {
10906
10912
  const owner = claimedOwner && _chunk23V5BSHDcjs.byKey.call(void 0, claimedOwner) ? claimedOwner : null;
10907
10913
  const origin = owner ? _chunk23V5BSHDcjs.getPlatformProductionUrl.call(void 0, owner) : opts.contentOrigin;
10908
10914
  return {
10909
- href: `${origin.replace(/\/+$/, "")}/${seg}/${_optionalChain([slugHint, 'optionalAccess', _222 => _222.trim, 'call', _223 => _223()]) || identifier}`,
10915
+ href: `${origin.replace(/\/+$/, "")}/${seg}/${_optionalChain([slugHint, 'optionalAccess', _225 => _225.trim, 'call', _226 => _226()]) || identifier}`,
10910
10916
  // Report the owner so `decideNewTab` can compare it against the current
10911
10917
  // app instead of falling back to an origin guess (which is unreliable in
10912
10918
  // dev, where every platform shares localhost). `null` whenever the href
@@ -10976,7 +10982,7 @@ function getDocSourceDefaultPath(structure, folderIndexFile = DEFAULT_FOLDER_IND
10976
10982
  const hasRootIndex = structure.some((node) => node.type === "file" && node.path === folderIndexFile);
10977
10983
  if (hasRootIndex) return null;
10978
10984
  const firstFolderWithReadme = structure.find((node) => node.type === "folder" && node.hasReadme && !!node.path);
10979
- return _nullishCoalesce(_optionalChain([firstFolderWithReadme, 'optionalAccess', _224 => _224.path]), () => ( null));
10985
+ return _nullishCoalesce(_optionalChain([firstFolderWithReadme, 'optionalAccess', _227 => _227.path]), () => ( null));
10980
10986
  }
10981
10987
 
10982
10988
  // src/utils/doc-path-utils.ts
@@ -10987,7 +10993,7 @@ function pathToNodeId(path) {
10987
10993
  return path.replace(/[/\s]/g, "-").toLowerCase();
10988
10994
  }
10989
10995
  function normalizeDocPath(segments, folderIndexFile = DEFAULT_FOLDER_INDEX_FILE) {
10990
- const lowerPath = (_optionalChain([segments, 'optionalAccess', _225 => _225.join, 'call', _226 => _226("/")]) || "").toLowerCase();
10996
+ const lowerPath = (_optionalChain([segments, 'optionalAccess', _228 => _228.join, 'call', _229 => _229("/")]) || "").toLowerCase();
10991
10997
  const lowerIndex = folderIndexFile.toLowerCase();
10992
10998
  const suffix = `/${lowerIndex}`;
10993
10999
  if (lowerPath.endsWith(suffix)) return lowerPath.slice(0, -suffix.length);
@@ -11860,26 +11866,26 @@ function DeviceCard({
11860
11866
  ] }),
11861
11867
  device.organization && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-secondary text-h6", title: device.organization, children: device.organization })
11862
11868
  ] }),
11863
- _optionalChain([actions, 'access', _227 => _227.moreButton, 'optionalAccess', _228 => _228.visible]) !== false && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
11869
+ _optionalChain([actions, 'access', _230 => _230.moreButton, 'optionalAccess', _231 => _231.visible]) !== false && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
11864
11870
  "div",
11865
11871
  {
11866
11872
  className: "flex shrink-0 cursor-pointer items-center justify-center rounded-[6px] border border-ods-border p-3 transition-colors hover:bg-ods-bg-hover",
11867
11873
  onClick: (e) => {
11868
11874
  e.stopPropagation();
11869
- _optionalChain([actions, 'access', _229 => _229.moreButton, 'optionalAccess', _230 => _230.onClick, 'optionalCall', _231 => _231()]);
11875
+ _optionalChain([actions, 'access', _232 => _232.moreButton, 'optionalAccess', _233 => _233.onClick, 'optionalCall', _234 => _234()]);
11870
11876
  },
11871
11877
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGSQM4PDRcjs.Ellipsis01Icon, { className: "text-ods-text-primary" })
11872
11878
  }
11873
11879
  ),
11874
- _optionalChain([actions, 'access', _232 => _232.detailsButton, 'optionalAccess', _233 => _233.visible]) !== false && _optionalChain([actions, 'access', _234 => _234.detailsButton, 'optionalAccess', _235 => _235.component]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "shrink-0", onClick: (e) => e.stopPropagation(), children: actions.detailsButton.component }),
11875
- _optionalChain([actions, 'access', _236 => _236.customActions, 'optionalAccess', _237 => _237.map, 'call', _238 => _238(
11880
+ _optionalChain([actions, 'access', _235 => _235.detailsButton, 'optionalAccess', _236 => _236.visible]) !== false && _optionalChain([actions, 'access', _237 => _237.detailsButton, 'optionalAccess', _238 => _238.component]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "shrink-0", onClick: (e) => e.stopPropagation(), children: actions.detailsButton.component }),
11881
+ _optionalChain([actions, 'access', _239 => _239.customActions, 'optionalAccess', _240 => _240.map, 'call', _241 => _241(
11876
11882
  (action, index) => action.visible !== false && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
11877
11883
  "div",
11878
11884
  {
11879
11885
  className: "flex shrink-0 cursor-pointer items-center justify-center rounded-[6px] border border-ods-border px-4 py-3 transition-colors hover:bg-ods-bg-hover",
11880
11886
  onClick: (e) => {
11881
11887
  e.stopPropagation();
11882
- _optionalChain([action, 'access', _239 => _239.onClick, 'optionalCall', _240 => _240()]);
11888
+ _optionalChain([action, 'access', _242 => _242.onClick, 'optionalCall', _243 => _243()]);
11883
11889
  },
11884
11890
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-nowrap text-ods-text-primary text-h3", children: action.label })
11885
11891
  },
@@ -12300,7 +12306,7 @@ function MoreActionsMenu({
12300
12306
  ] });
12301
12307
  const handleActivate = (e) => {
12302
12308
  e.stopPropagation();
12303
- if (!item.disabled) _optionalChain([item, 'access', _241 => _241.onClick, 'optionalCall', _242 => _242()]);
12309
+ if (!item.disabled) _optionalChain([item, 'access', _244 => _244.onClick, 'optionalCall', _245 => _245()]);
12304
12310
  };
12305
12311
  if (item.href) {
12306
12312
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCHIHYC7Qcjs.DropdownMenuItem, { asChild: true, disabled: item.disabled, className: itemClassName, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -12356,7 +12362,7 @@ function OrganizationCard({
12356
12362
  const handleActionClick = (e) => {
12357
12363
  e.preventDefault();
12358
12364
  e.stopPropagation();
12359
- _optionalChain([actionButton, 'optionalAccess', _243 => _243.onClick, 'call', _244 => _244(organization, e)]);
12365
+ _optionalChain([actionButton, 'optionalAccess', _246 => _246.onClick, 'call', _247 => _247(organization, e)]);
12360
12366
  };
12361
12367
  const card = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
12362
12368
  "div",
@@ -12528,7 +12534,7 @@ var Slider = _react.forwardRef.call(void 0,
12528
12534
  ({ className, value = [0], onValueChange, min = 0, max = 100, step = 1, ...props }, ref) => {
12529
12535
  const handleChange = (e) => {
12530
12536
  const newValue = [Number(e.target.value)];
12531
- _optionalChain([onValueChange, 'optionalCall', _245 => _245(newValue)]);
12537
+ _optionalChain([onValueChange, 'optionalCall', _248 => _248(newValue)]);
12532
12538
  };
12533
12539
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
12534
12540
  "input",
@@ -12816,7 +12822,7 @@ function CursorPaginationSimple({
12816
12822
  {
12817
12823
  variant: "transparent",
12818
12824
  size: "icon",
12819
- onClick: () => _optionalChain([onPrevious, 'optionalCall', _246 => _246("")]),
12825
+ onClick: () => _optionalChain([onPrevious, 'optionalCall', _249 => _249("")]),
12820
12826
  disabled: !hasPreviousPage || loading,
12821
12827
  className: "h-8 w-8",
12822
12828
  leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronLeft, { className: "h-4 w-4" }),
@@ -12828,7 +12834,7 @@ function CursorPaginationSimple({
12828
12834
  {
12829
12835
  variant: "transparent",
12830
12836
  size: "icon",
12831
- onClick: () => _optionalChain([onNext, 'optionalCall', _247 => _247("")]),
12837
+ onClick: () => _optionalChain([onNext, 'optionalCall', _250 => _250("")]),
12832
12838
  disabled: !hasNextPage || loading,
12833
12839
  className: "h-8 w-8",
12834
12840
  rightIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronRight, { className: "h-4 w-4" }),
@@ -12910,7 +12916,7 @@ var ROW_SHELL_CLASSES = "items-center gap-[var(--spacing-system-mf)] px-[var(--s
12910
12916
  function DataTableSkeleton({ rows = 10, className, rowClassName, rowHeightClassName }) {
12911
12917
  const table = useDataTableContext();
12912
12918
  const columns = table.getVisibleFlatColumns();
12913
- const firstColumnId = _optionalChain([columns, 'access', _248 => _248[0], 'optionalAccess', _249 => _249.id]);
12919
+ const firstColumnId = _optionalChain([columns, 'access', _251 => _251[0], 'optionalAccess', _252 => _252.id]);
12914
12920
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: Array.from({ length: rows }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
12915
12921
  "div",
12916
12922
  {
@@ -12937,13 +12943,13 @@ function DataTableSkeleton({ rows = 10, className, rowClassName, rowHeightClassN
12937
12943
  {
12938
12944
  className: _chunk23V5BSHDcjs.cn.call(void 0,
12939
12945
  "flex shrink-0 flex-col justify-center",
12940
- _optionalChain([meta, 'optionalAccess', _250 => _250.width]) || "flex-1",
12946
+ _optionalChain([meta, 'optionalAccess', _253 => _253.width]) || "flex-1",
12941
12947
  // Same responsive hiding the real header and row apply.
12942
12948
  // Without it a `hideAt` column was drawn in the skeleton and
12943
12949
  // absent from the loaded table, so below that breakpoint the
12944
12950
  // remaining columns were sized against a different total and
12945
12951
  // the whole row re-laid-out the moment data arrived.
12946
- getHideClasses(_optionalChain([meta, 'optionalAccess', _251 => _251.hideAt]))
12952
+ getHideClasses(_optionalChain([meta, 'optionalAccess', _254 => _254.hideAt]))
12947
12953
  ),
12948
12954
  children: [
12949
12955
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mb-[var(--spacing-system-xxs)] h-5 w-3/4 rounded-sm bg-ods-bg-surface" }),
@@ -13047,8 +13053,8 @@ function TableEmptyState({ message, description, emptyState, icon, action, class
13047
13053
  icon: _nullishCoalesce(icon, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWZW7C7TFcjs.SearchIcon, {}))),
13048
13054
  title: _nullishCoalesce(message, () => ( "No results found")),
13049
13055
  description: _nullishCoalesce(description, () => ( (message == null ? "Try adjusting your search or filters" : void 0))),
13050
- buttonLabel: _optionalChain([action, 'optionalAccess', _252 => _252.label]),
13051
- onButtonClick: _optionalChain([action, 'optionalAccess', _253 => _253.onClick]),
13056
+ buttonLabel: _optionalChain([action, 'optionalAccess', _255 => _255.label]),
13057
+ onButtonClick: _optionalChain([action, 'optionalAccess', _256 => _256.onClick]),
13052
13058
  className: _chunk23V5BSHDcjs.cn.call(void 0, "py-[var(--spacing-system-xxl)]", className),
13053
13059
  ...emptyState
13054
13060
  }
@@ -13066,7 +13072,7 @@ function TableColumnFilterDropdown({
13066
13072
  placement = "bottom-start",
13067
13073
  dropdownClassName = "min-w-[240px]"
13068
13074
  }) {
13069
- const activeCount = _optionalChain([filters, 'optionalAccess', _254 => _254[columnKey], 'optionalAccess', _255 => _255.length]) || 0;
13075
+ const activeCount = _optionalChain([filters, 'optionalAccess', _257 => _257[columnKey], 'optionalAccess', _258 => _258.length]) || 0;
13070
13076
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
13071
13077
  FiltersDropdown,
13072
13078
  {
@@ -13106,7 +13112,7 @@ function TableColumnFilterDropdown({
13106
13112
  delete newFilters[columnKey];
13107
13113
  onFilterChange(newFilters);
13108
13114
  },
13109
- currentFilters: { [columnKey]: _optionalChain([filters, 'optionalAccess', _256 => _256[columnKey]]) || [] },
13115
+ currentFilters: { [columnKey]: _optionalChain([filters, 'optionalAccess', _259 => _259[columnKey]]) || [] },
13110
13116
  placement,
13111
13117
  dropdownClassName
13112
13118
  }
@@ -13294,7 +13300,7 @@ function TableCardSkeleton({
13294
13300
  className,
13295
13301
  rowClassName
13296
13302
  }) {
13297
- const primaryKey = _optionalChain([(_nullishCoalesce(columns.find((c) => /flex-(1|\[)/.test(c.width || "")), () => ( columns[0]))), 'optionalAccess', _257 => _257.key]);
13303
+ const primaryKey = _optionalChain([(_nullishCoalesce(columns.find((c) => /flex-(1|\[)/.test(c.width || "")), () => ( columns[0]))), 'optionalAccess', _260 => _260.key]);
13298
13304
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: Array.from({ length: rows }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
13299
13305
  "div",
13300
13306
  {
@@ -13479,7 +13485,7 @@ function useTableMotion(enabled) {
13479
13485
  // src/components/ui/table/table.tsx
13480
13486
 
13481
13487
  function injectSyntheticColumns(columns, rowActions, renderRowActions, rowHref, actionsColumnWidth) {
13482
- const hasActions = Boolean(_optionalChain([rowActions, 'optionalAccess', _258 => _258.length])) || Boolean(renderRowActions);
13488
+ const hasActions = Boolean(_optionalChain([rowActions, 'optionalAccess', _261 => _261.length])) || Boolean(renderRowActions);
13483
13489
  const result = [...columns];
13484
13490
  const actions = _nullishCoalesce(rowActions, () => ( []));
13485
13491
  if (hasActions) {
@@ -13586,7 +13592,7 @@ function Table({
13586
13592
  return rowKey(item);
13587
13593
  }
13588
13594
  const key = item[rowKey];
13589
- return _optionalChain([key, 'optionalAccess', _259 => _259.toString, 'call', _260 => _260()]) || index.toString();
13595
+ return _optionalChain([key, 'optionalAccess', _262 => _262.toString, 'call', _263 => _263()]) || index.toString();
13590
13596
  };
13591
13597
  const getRowClassName = (item, index) => {
13592
13598
  if (typeof rowClassName === "function") {
@@ -13620,25 +13626,25 @@ function Table({
13620
13626
  const allSelected = selectedRows.length > 0 && selectedRows.length === data.length;
13621
13627
  const someSelected = selectedRows.length > 0 && selectedRows.length < data.length;
13622
13628
  const sentinelRef = _react.useRef.call(void 0, null);
13623
- const onLoadMoreRef = _react.useRef.call(void 0, _optionalChain([infiniteScroll, 'optionalAccess', _261 => _261.onLoadMore]));
13629
+ const onLoadMoreRef = _react.useRef.call(void 0, _optionalChain([infiniteScroll, 'optionalAccess', _264 => _264.onLoadMore]));
13624
13630
  _react.useEffect.call(void 0, () => {
13625
- onLoadMoreRef.current = _optionalChain([infiniteScroll, 'optionalAccess', _262 => _262.onLoadMore]);
13631
+ onLoadMoreRef.current = _optionalChain([infiniteScroll, 'optionalAccess', _265 => _265.onLoadMore]);
13626
13632
  });
13627
13633
  _react.useEffect.call(void 0, () => {
13628
- if (!_optionalChain([infiniteScroll, 'optionalAccess', _263 => _263.hasNextPage]) || infiniteScroll.isFetchingNextPage) return void 0;
13634
+ if (!_optionalChain([infiniteScroll, 'optionalAccess', _266 => _266.hasNextPage]) || infiniteScroll.isFetchingNextPage) return void 0;
13629
13635
  const sentinel = sentinelRef.current;
13630
13636
  if (!sentinel) return void 0;
13631
13637
  const observer = new IntersectionObserver(
13632
13638
  (entries) => {
13633
- if (_optionalChain([entries, 'access', _264 => _264[0], 'optionalAccess', _265 => _265.isIntersecting])) {
13634
- _optionalChain([onLoadMoreRef, 'access', _266 => _266.current, 'optionalCall', _267 => _267()]);
13639
+ if (_optionalChain([entries, 'access', _267 => _267[0], 'optionalAccess', _268 => _268.isIntersecting])) {
13640
+ _optionalChain([onLoadMoreRef, 'access', _269 => _269.current, 'optionalCall', _270 => _270()]);
13635
13641
  }
13636
13642
  },
13637
13643
  { rootMargin: "200px" }
13638
13644
  );
13639
13645
  observer.observe(sentinel);
13640
13646
  return () => observer.disconnect();
13641
- }, [_optionalChain([infiniteScroll, 'optionalAccess', _268 => _268.hasNextPage]), _optionalChain([infiniteScroll, 'optionalAccess', _269 => _269.isFetchingNextPage])]);
13647
+ }, [_optionalChain([infiniteScroll, 'optionalAccess', _271 => _271.hasNextPage]), _optionalChain([infiniteScroll, 'optionalAccess', _272 => _272.isFetchingNextPage])]);
13642
13648
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk23V5BSHDcjs.cn.call(void 0, "flex w-full flex-col gap-1", containerClassName), children: [
13643
13649
  showToolbar && bulkActions && selectedRows.length > 0 && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mb-2 flex items-center justify-between rounded-[6px] border border-ods-border bg-ods-card p-3", children: [
13644
13650
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "text-ods-text-secondary text-h6", children: [
@@ -13690,7 +13696,7 @@ function Table({
13690
13696
  columns,
13691
13697
  rows: skeletonRows,
13692
13698
  compact,
13693
- hasActions: (_nullishCoalesce(_optionalChain([rowActions, 'optionalAccess', _270 => _270.length]), () => ( 0))) > 0,
13699
+ hasActions: (_nullishCoalesce(_optionalChain([rowActions, 'optionalAccess', _273 => _273.length]), () => ( 0))) > 0,
13694
13700
  hasChevron: Boolean(rowHref)
13695
13701
  }
13696
13702
  ) : data.length === 0 ? (
@@ -13724,23 +13730,23 @@ function Table({
13724
13730
  selected: isRowSelected(item),
13725
13731
  onSelect: handleSelectRow,
13726
13732
  animateRowReorder,
13727
- motionDiv: _optionalChain([tableMotion, 'optionalAccess', _271 => _271.motionDiv])
13733
+ motionDiv: _optionalChain([tableMotion, 'optionalAccess', _274 => _274.motionDiv])
13728
13734
  },
13729
13735
  getRowKey(item, index)
13730
13736
  ));
13731
- const LayoutGroup = _optionalChain([tableMotion, 'optionalAccess', _272 => _272.LayoutGroup]);
13737
+ const LayoutGroup = _optionalChain([tableMotion, 'optionalAccess', _275 => _275.LayoutGroup]);
13732
13738
  return animateRowReorder && LayoutGroup ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, LayoutGroup, { children: rows }) : rows;
13733
13739
  })(),
13734
- _optionalChain([infiniteScroll, 'optionalAccess', _273 => _273.isFetchingNextPage]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
13740
+ _optionalChain([infiniteScroll, 'optionalAccess', _276 => _276.isFetchingNextPage]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
13735
13741
  TableCardSkeleton,
13736
13742
  {
13737
13743
  columns,
13738
13744
  rows: _nullishCoalesce(infiniteScroll.skeletonRows, () => ( 3)),
13739
- hasActions: (_nullishCoalesce(_optionalChain([rowActions, 'optionalAccess', _274 => _274.length]), () => ( 0))) > 0,
13745
+ hasActions: (_nullishCoalesce(_optionalChain([rowActions, 'optionalAccess', _277 => _277.length]), () => ( 0))) > 0,
13740
13746
  hasChevron: Boolean(rowHref)
13741
13747
  }
13742
13748
  ),
13743
- _optionalChain([infiniteScroll, 'optionalAccess', _275 => _275.hasNextPage]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: sentinelRef, className: "h-1", "aria-hidden": "true" }),
13749
+ _optionalChain([infiniteScroll, 'optionalAccess', _278 => _278.hasNextPage]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: sentinelRef, className: "h-1", "aria-hidden": "true" }),
13744
13750
  !infiniteScroll && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
13745
13751
  PlaceholderRows,
13746
13752
  {
@@ -14014,7 +14020,7 @@ function QueryReportTable({
14014
14020
  const columns = _react.useMemo.call(void 0, () => deriveColumns(data, columnOrder), [data, columnOrder]);
14015
14021
  const handleExport = () => {
14016
14022
  exportToCSV(data, columns, exportFilename);
14017
- _optionalChain([onExport, 'optionalCall', _276 => _276()]);
14023
+ _optionalChain([onExport, 'optionalCall', _279 => _279()]);
14018
14024
  };
14019
14025
  const tableMinWidth = columns.length * (columnWidth + 16);
14020
14026
  const {
@@ -14140,7 +14146,7 @@ function DataTableRowImpl({
14140
14146
  const handleClick = _react.useCallback.call(void 0,
14141
14147
  (e) => {
14142
14148
  const target = e.target;
14143
- if (!_optionalChain([containerRef, 'access', _277 => _277.current, 'optionalAccess', _278 => _278.contains, 'call', _279 => _279(target)])) {
14149
+ if (!_optionalChain([containerRef, 'access', _280 => _280.current, 'optionalAccess', _281 => _281.contains, 'call', _282 => _282(target)])) {
14144
14150
  if (isLinkMode) e.preventDefault();
14145
14151
  return;
14146
14152
  }
@@ -14148,7 +14154,7 @@ function DataTableRowImpl({
14148
14154
  if (isLinkMode) e.preventDefault();
14149
14155
  return;
14150
14156
  }
14151
- _optionalChain([onClick, 'optionalCall', _280 => _280(row.original)]);
14157
+ _optionalChain([onClick, 'optionalCall', _283 => _283(row.original)]);
14152
14158
  },
14153
14159
  [onClick, row.original, isLinkMode]
14154
14160
  );
@@ -14178,10 +14184,10 @@ function DataTableRowImpl({
14178
14184
  {
14179
14185
  className: _chunk23V5BSHDcjs.cn.call(void 0,
14180
14186
  "flex flex-col overflow-hidden",
14181
- alignJustify(_optionalChain([meta, 'optionalAccess', _281 => _281.align])),
14182
- _optionalChain([meta, 'optionalAccess', _282 => _282.width]) || "min-w-0 flex-1",
14183
- _optionalChain([meta, 'optionalAccess', _283 => _283.cellClassName]),
14184
- getHideClasses(_optionalChain([meta, 'optionalAccess', _284 => _284.hideAt]))
14187
+ alignJustify(_optionalChain([meta, 'optionalAccess', _284 => _284.align])),
14188
+ _optionalChain([meta, 'optionalAccess', _285 => _285.width]) || "min-w-0 flex-1",
14189
+ _optionalChain([meta, 'optionalAccess', _286 => _286.cellClassName]),
14190
+ getHideClasses(_optionalChain([meta, 'optionalAccess', _287 => _287.hideAt]))
14185
14191
  ),
14186
14192
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CellContent, { children: _reacttable.flexRender.call(void 0, cell.column.columnDef.cell, cell.getContext()) })
14187
14193
  },
@@ -14277,7 +14283,7 @@ function DataTableBody({
14277
14283
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk23V5BSHDcjs.cn.call(void 0, "flex w-full flex-col gap-[var(--spacing-system-xsf)]", className), children: [
14278
14284
  rows.map((row, index) => {
14279
14285
  const item = row.original;
14280
- const href = _nullishCoalesce(_optionalChain([rowHref, 'optionalCall', _285 => _285(item)]), () => ( void 0));
14286
+ const href = _nullishCoalesce(_optionalChain([rowHref, 'optionalCall', _288 => _288(item)]), () => ( void 0));
14281
14287
  const cls = typeof rowClassName === "function" ? rowClassName(item, index) : rowClassName;
14282
14288
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
14283
14289
  DataTableRow,
@@ -14289,7 +14295,7 @@ function DataTableBody({
14289
14295
  autoHeight,
14290
14296
  rowHeightClassName,
14291
14297
  className: cls,
14292
- subRow: _optionalChain([renderSubRow, 'optionalCall', _286 => _286(item)])
14298
+ subRow: _optionalChain([renderSubRow, 'optionalCall', _289 => _289(item)])
14293
14299
  },
14294
14300
  row.id
14295
14301
  );
@@ -14333,7 +14339,7 @@ function DataTableColumnFilter({
14333
14339
  pending = false
14334
14340
  }) {
14335
14341
  const currentValue = column.getFilterValue();
14336
- const activeCount = _nullishCoalesce(_optionalChain([currentValue, 'optionalAccess', _287 => _287.length]), () => ( 0));
14342
+ const activeCount = _nullishCoalesce(_optionalChain([currentValue, 'optionalAccess', _290 => _290.length]), () => ( 0));
14337
14343
  const sections = _react.useMemo.call(void 0,
14338
14344
  () => [
14339
14345
  {
@@ -14465,7 +14471,7 @@ function DataTableHeader({
14465
14471
  );
14466
14472
  }
14467
14473
  function keepsCellOnTablet(meta) {
14468
- return Boolean(_optionalChain([meta, 'optionalAccess', _288 => _288.filter])) || _optionalChain([meta, 'optionalAccess', _289 => _289.sortable]) === true || _optionalChain([meta, 'optionalAccess', _290 => _290.alwaysShowHeader]) === true;
14474
+ return Boolean(_optionalChain([meta, 'optionalAccess', _291 => _291.filter])) || _optionalChain([meta, 'optionalAccess', _292 => _292.sortable]) === true || _optionalChain([meta, 'optionalAccess', _293 => _293.alwaysShowHeader]) === true;
14469
14475
  }
14470
14476
  var SHOW_FROM = {
14471
14477
  md: "md:flex",
@@ -14503,11 +14509,11 @@ function HeaderCell({ header, sort, onSortChange }) {
14503
14509
  if (header.isPlaceholder) return null;
14504
14510
  const column = header.column;
14505
14511
  const meta = column.columnDef.meta;
14506
- const filter = _optionalChain([meta, 'optionalAccess', _291 => _291.filter]);
14512
+ const filter = _optionalChain([meta, 'optionalAccess', _294 => _294.filter]);
14507
14513
  const keepOnTablet = keepsCellOnTablet(meta);
14508
- const align = _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _292 => _292.align]), () => ( "left"));
14509
- const canSort = _optionalChain([meta, 'optionalAccess', _293 => _293.sortable]) === true;
14510
- const sortDir = _optionalChain([sort, 'optionalAccess', _294 => _294.id]) === column.id ? sort.desc ? "desc" : "asc" : false;
14514
+ const align = _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _295 => _295.align]), () => ( "left"));
14515
+ const canSort = _optionalChain([meta, 'optionalAccess', _296 => _296.sortable]) === true;
14516
+ const sortDir = _optionalChain([sort, 'optionalAccess', _297 => _297.id]) === column.id ? sort.desc ? "desc" : "asc" : false;
14511
14517
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
14512
14518
  "div",
14513
14519
  {
@@ -14515,7 +14521,7 @@ function HeaderCell({ header, sort, onSortChange }) {
14515
14521
  "items-stretch",
14516
14522
  // Cells are hidden rather than dropped from the tree, so which columns
14517
14523
  // exist never depends on when an effect ran.
14518
- getCellVisibilityClasses(keepOnTablet, _optionalChain([meta, 'optionalAccess', _295 => _295.hideAt])),
14524
+ getCellVisibilityClasses(keepOnTablet, _optionalChain([meta, 'optionalAccess', _298 => _298.hideAt])),
14519
14525
  // Width applies from lg only. Stated as "always, neutralized below lg"
14520
14526
  // because `meta.width` is an opaque consumer string that cannot be
14521
14527
  // prefixed. Only `keepOnTablet` cells need the override — the rest are
@@ -14533,9 +14539,9 @@ function HeaderCell({ header, sort, onSortChange }) {
14533
14539
  // Specificity rather than `!important`: it stays a normal declaration, so a
14534
14540
  // consumer that genuinely needs a tablet width can still take it back with a
14535
14541
  // more specific rule — `!important` could only be answered with another one.
14536
- _optionalChain([meta, 'optionalAccess', _296 => _296.width]) || "min-w-0 flex-1",
14542
+ _optionalChain([meta, 'optionalAccess', _299 => _299.width]) || "min-w-0 flex-1",
14537
14543
  keepOnTablet && "max-lg:[&&]:w-auto max-lg:[&&]:flex-none max-lg:[&&]:basis-auto",
14538
- _optionalChain([meta, 'optionalAccess', _297 => _297.headerClassName])
14544
+ _optionalChain([meta, 'optionalAccess', _300 => _300.headerClassName])
14539
14545
  ),
14540
14546
  children: filter ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
14541
14547
  DataTableColumnFilter,
@@ -14559,7 +14565,7 @@ function HeaderCell({ header, sort, onSortChange }) {
14559
14565
  keepOnTablet && "max-lg:justify-start",
14560
14566
  canSort && "group cursor-pointer"
14561
14567
  ),
14562
- onClick: canSort ? () => _optionalChain([onSortChange, 'optionalCall', _298 => _298(column.id)]) : void 0,
14568
+ onClick: canSort ? () => _optionalChain([onSortChange, 'optionalCall', _301 => _301(column.id)]) : void 0,
14563
14569
  children: [
14564
14570
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderLabel, { header }),
14565
14571
  canSort && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SortIcon, { sorted: sortDir })
@@ -14609,7 +14615,7 @@ function DataTableInfiniteFooter({
14609
14615
  if (!sentinel) return void 0;
14610
14616
  const observer = new IntersectionObserver(
14611
14617
  (entries) => {
14612
- if (_optionalChain([entries, 'access', _299 => _299[0], 'optionalAccess', _300 => _300.isIntersecting])) onLoadMoreRef.current();
14618
+ if (_optionalChain([entries, 'access', _302 => _302[0], 'optionalAccess', _303 => _303.isIntersecting])) onLoadMoreRef.current();
14613
14619
  },
14614
14620
  { rootMargin }
14615
14621
  );
@@ -14634,7 +14640,7 @@ function DataTableRowCount({
14634
14640
  const table = useDataTableContext();
14635
14641
  const count = _nullishCoalesce(totalCount, () => ( table.getRowModel().rows.length));
14636
14642
  if (hideWhenEmpty && count === 0) return null;
14637
- const label = _nullishCoalesce(_optionalChain([pluralize, 'optionalCall', _301 => _301(count, itemName)]), () => ( (count === 1 ? itemName : `${itemName}s`)));
14643
+ const label = _nullishCoalesce(_optionalChain([pluralize, 'optionalCall', _304 => _304(count, itemName)]), () => ( (count === 1 ? itemName : `${itemName}s`)));
14638
14644
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk23V5BSHDcjs.cn.call(void 0, "whitespace-nowrap text-ods-text-secondary text-h6", className), children: [
14639
14645
  count,
14640
14646
  " ",
@@ -14753,12 +14759,12 @@ function PhoneInput({
14753
14759
  (phone) => {
14754
14760
  if (!phone || digitCount(phone) === 0) {
14755
14761
  setIsInvalid(false);
14756
- _optionalChain([onValidationChange, 'optionalCall', _302 => _302(false)]);
14762
+ _optionalChain([onValidationChange, 'optionalCall', _305 => _305(false)]);
14757
14763
  return;
14758
14764
  }
14759
14765
  const invalid = !validatePhoneNumber(phone, countryCode);
14760
14766
  setIsInvalid(invalid);
14761
- _optionalChain([onValidationChange, 'optionalCall', _303 => _303(invalid)]);
14767
+ _optionalChain([onValidationChange, 'optionalCall', _306 => _306(invalid)]);
14762
14768
  },
14763
14769
  [countryCode, digitCount, onValidationChange]
14764
14770
  );
@@ -14812,7 +14818,7 @@ function PhoneInput({
14812
14818
  debouncedValidation(val);
14813
14819
  } else if (digitCount(val) === 0) {
14814
14820
  setIsInvalid(false);
14815
- _optionalChain([onValidationChange, 'optionalCall', _304 => _304(false)]);
14821
+ _optionalChain([onValidationChange, 'optionalCall', _307 => _307(false)]);
14816
14822
  }
14817
14823
  }
14818
14824
  },
@@ -14928,7 +14934,7 @@ function SearchInput({
14928
14934
  if (!showHiddenTags) return void 0;
14929
14935
  const handleClick = (e) => {
14930
14936
  const target = e.target;
14931
- if (!_optionalChain([hiddenTagsRef, 'access', _305 => _305.current, 'optionalAccess', _306 => _306.contains, 'call', _307 => _307(target)]) && !_optionalChain([hiddenTagsPopupRef, 'access', _308 => _308.current, 'optionalAccess', _309 => _309.contains, 'call', _310 => _310(target)])) {
14937
+ if (!_optionalChain([hiddenTagsRef, 'access', _308 => _308.current, 'optionalAccess', _309 => _309.contains, 'call', _310 => _310(target)]) && !_optionalChain([hiddenTagsPopupRef, 'access', _311 => _311.current, 'optionalAccess', _312 => _312.contains, 'call', _313 => _313(target)])) {
14932
14938
  setShowHiddenTags(false);
14933
14939
  }
14934
14940
  };
@@ -14939,7 +14945,7 @@ function SearchInput({
14939
14945
  const popup = hiddenTagsPopupRef.current;
14940
14946
  const badge = badgeRef.current;
14941
14947
  if (!popup || !badge) return;
14942
- const originLeft = _nullishCoalesce(_optionalChain([containerRef, 'access', _311 => _311.current, 'optionalAccess', _312 => _312.getBoundingClientRect, 'call', _313 => _313(), 'access', _314 => _314.left]), () => ( 0));
14948
+ const originLeft = _nullishCoalesce(_optionalChain([containerRef, 'access', _314 => _314.current, 'optionalAccess', _315 => _315.getBoundingClientRect, 'call', _316 => _316(), 'access', _317 => _317.left]), () => ( 0));
14943
14949
  popup.style.left = `${badge.getBoundingClientRect().left - originLeft}px`;
14944
14950
  });
14945
14951
  const hiddenCount = filterChips.length - visibleCount;
@@ -14985,10 +14991,10 @@ function SearchInput({
14985
14991
  } else {
14986
14992
  setInternalValue("");
14987
14993
  }
14988
- _optionalChain([inputRef, 'access', _315 => _315.current, 'optionalAccess', _316 => _316.focus, 'call', _317 => _317()]);
14994
+ _optionalChain([inputRef, 'access', _318 => _318.current, 'optionalAccess', _319 => _319.focus, 'call', _320 => _320()]);
14989
14995
  };
14990
14996
  const handleResultClick = (result, e) => {
14991
- _optionalChain([onResultSelect, 'optionalCall', _318 => _318(
14997
+ _optionalChain([onResultSelect, 'optionalCall', _321 => _321(
14992
14998
  result,
14993
14999
  e ? {
14994
15000
  metaKey: e.metaKey,
@@ -15016,7 +15022,7 @@ function SearchInput({
15016
15022
  if (highlightedIndex >= 0 && flatResults[highlightedIndex]) {
15017
15023
  handleResultClick(flatResults[highlightedIndex]);
15018
15024
  } else {
15019
- _optionalChain([onSubmit, 'optionalCall', _319 => _319(currentValue)]);
15025
+ _optionalChain([onSubmit, 'optionalCall', _322 => _322(currentValue)]);
15020
15026
  }
15021
15027
  break;
15022
15028
  case "Escape":
@@ -15098,7 +15104,7 @@ function SearchInput({
15098
15104
  dropdownVisible && "!border-ods-accent"
15099
15105
  ),
15100
15106
  onClick: () => {
15101
- _optionalChain([inputRef, 'access', _320 => _320.current, 'optionalAccess', _321 => _321.focus, 'call', _322 => _322()]);
15107
+ _optionalChain([inputRef, 'access', _323 => _323.current, 'optionalAccess', _324 => _324.focus, 'call', _325 => _325()]);
15102
15108
  setIsOpen(true);
15103
15109
  },
15104
15110
  children: [
@@ -15184,10 +15190,10 @@ function SearchInput({
15184
15190
  collisionPadding: { bottom: keyboardPadding },
15185
15191
  onOpenAutoFocus: (e) => {
15186
15192
  e.preventDefault();
15187
- _optionalChain([inputRef, 'access', _323 => _323.current, 'optionalAccess', _324 => _324.focus, 'call', _325 => _325()]);
15193
+ _optionalChain([inputRef, 'access', _326 => _326.current, 'optionalAccess', _327 => _327.focus, 'call', _328 => _328()]);
15188
15194
  },
15189
15195
  onInteractOutside: (e) => {
15190
- if (_optionalChain([containerRef, 'access', _326 => _326.current, 'optionalAccess', _327 => _327.contains, 'call', _328 => _328(e.target)])) {
15196
+ if (_optionalChain([containerRef, 'access', _329 => _329.current, 'optionalAccess', _330 => _330.contains, 'call', _331 => _331(e.target)])) {
15191
15197
  e.preventDefault();
15192
15198
  }
15193
15199
  },
@@ -15204,7 +15210,7 @@ function SearchInput({
15204
15210
  ref: hiddenTagsPopupRef,
15205
15211
  items: hiddenChips.map((chip) => ({ label: chip.label, value: chip.id })),
15206
15212
  onRemove: (removedTag) => {
15207
- _optionalChain([onFilterRemove, 'optionalCall', _329 => _329(removedTag)]);
15213
+ _optionalChain([onFilterRemove, 'optionalCall', _332 => _332(removedTag)]);
15208
15214
  if (hiddenCount <= 1) setShowHiddenTags(false);
15209
15215
  }
15210
15216
  }
@@ -15246,7 +15252,7 @@ function FilterListItem({
15246
15252
  }) {
15247
15253
  const handleToggle = () => {
15248
15254
  if (disabled) return;
15249
- _optionalChain([onToggle, 'optionalCall', _330 => _330(!selected)]);
15255
+ _optionalChain([onToggle, 'optionalCall', _333 => _333(!selected)]);
15250
15256
  };
15251
15257
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
15252
15258
  "div",
@@ -15293,7 +15299,7 @@ function FilterListItem({
15293
15299
  CheckboxPrimitive4.Root,
15294
15300
  {
15295
15301
  checked: selected,
15296
- onCheckedChange: (c) => _optionalChain([onToggle, 'optionalCall', _331 => _331(c === true)]),
15302
+ onCheckedChange: (c) => _optionalChain([onToggle, 'optionalCall', _334 => _334(c === true)]),
15297
15303
  onClick: (e) => e.stopPropagation(),
15298
15304
  disabled,
15299
15305
  "aria-label": title,
@@ -15374,7 +15380,7 @@ function TagSearchInput({
15374
15380
  if (!showHiddenTags) return void 0;
15375
15381
  const handleClick = (e) => {
15376
15382
  const target = e.target;
15377
- if (!_optionalChain([hiddenTagsRef, 'access', _332 => _332.current, 'optionalAccess', _333 => _333.contains, 'call', _334 => _334(target)]) && !_optionalChain([hiddenTagsPopupRef, 'access', _335 => _335.current, 'optionalAccess', _336 => _336.contains, 'call', _337 => _337(target)])) {
15383
+ if (!_optionalChain([hiddenTagsRef, 'access', _335 => _335.current, 'optionalAccess', _336 => _336.contains, 'call', _337 => _337(target)]) && !_optionalChain([hiddenTagsPopupRef, 'access', _338 => _338.current, 'optionalAccess', _339 => _339.contains, 'call', _340 => _340(target)])) {
15378
15384
  setShowHiddenTags(false);
15379
15385
  }
15380
15386
  };
@@ -15385,7 +15391,7 @@ function TagSearchInput({
15385
15391
  const popup = hiddenTagsPopupRef.current;
15386
15392
  const badge = badgeRef.current;
15387
15393
  if (!popup || !badge) return;
15388
- const originLeft = _nullishCoalesce(_optionalChain([wrapperRef, 'access', _338 => _338.current, 'optionalAccess', _339 => _339.getBoundingClientRect, 'call', _340 => _340(), 'access', _341 => _341.left]), () => ( 0));
15394
+ const originLeft = _nullishCoalesce(_optionalChain([wrapperRef, 'access', _341 => _341.current, 'optionalAccess', _342 => _342.getBoundingClientRect, 'call', _343 => _343(), 'access', _344 => _344.left]), () => ( 0));
15389
15395
  popup.style.left = `${badge.getBoundingClientRect().left - originLeft}px`;
15390
15396
  });
15391
15397
  const hiddenCount = tags.length - visibleCount;
@@ -15397,13 +15403,13 @@ function TagSearchInput({
15397
15403
  e.preventDefault();
15398
15404
  onSubmit(searchValue);
15399
15405
  }
15400
- _optionalChain([onKeyDown, 'optionalCall', _342 => _342(e)]);
15406
+ _optionalChain([onKeyDown, 'optionalCall', _345 => _345(e)]);
15401
15407
  };
15402
15408
  const handleClearAll = (e) => {
15403
15409
  e.stopPropagation();
15404
15410
  e.preventDefault();
15405
- _optionalChain([onClearAll, 'optionalCall', _343 => _343()]);
15406
- _optionalChain([inputRef, 'access', _344 => _344.current, 'optionalAccess', _345 => _345.focus, 'call', _346 => _346()]);
15411
+ _optionalChain([onClearAll, 'optionalCall', _346 => _346()]);
15412
+ _optionalChain([inputRef, 'access', _347 => _347.current, 'optionalAccess', _348 => _348.focus, 'call', _349 => _349()]);
15407
15413
  };
15408
15414
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { ref: wrapperRef, className: "relative", children: [
15409
15415
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
@@ -15426,7 +15432,7 @@ function TagSearchInput({
15426
15432
  className
15427
15433
  ),
15428
15434
  onClick: () => {
15429
- if (!disabled) _optionalChain([inputRef, 'access', _347 => _347.current, 'optionalAccess', _348 => _348.focus, 'call', _349 => _349()]);
15435
+ if (!disabled) _optionalChain([inputRef, 'access', _350 => _350.current, 'optionalAccess', _351 => _351.focus, 'call', _352 => _352()]);
15430
15436
  },
15431
15437
  children: [
15432
15438
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex shrink-0 items-center pl-3", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWZW7C7TFcjs.SearchIcon, { className: "size-4 text-ods-text-secondary md:size-6" }) }),
@@ -15600,7 +15606,7 @@ function MarkdownEditor({
15600
15606
  try {
15601
15607
  const mod = await Promise.resolve().then(() => _interopRequireWildcard(require("@uiw/react-md-editor")));
15602
15608
  if (cancelled) return;
15603
- if (_optionalChain([mod, 'access', _350 => _350.commands, 'optionalAccess', _351 => _351.getExtraCommands])) {
15609
+ if (_optionalChain([mod, 'access', _353 => _353.commands, 'optionalAccess', _354 => _354.getExtraCommands])) {
15604
15610
  setDefaultExtraCommands(mod.commands.getExtraCommands());
15605
15611
  }
15606
15612
  } catch (error) {
@@ -15638,7 +15644,7 @@ function MarkdownEditor({
15638
15644
  const isImage = file.type.startsWith("image/");
15639
15645
  const markdown = isImage ? `![${file.name}](${url})` : `[${file.name}](${url})`;
15640
15646
  insertTextAtCursor(markdown);
15641
- _optionalChain([onFileUploaded, 'optionalCall', _352 => _352(url, file.name)]);
15647
+ _optionalChain([onFileUploaded, 'optionalCall', _355 => _355(url, file.name)]);
15642
15648
  } catch (error) {
15643
15649
  console.error("File upload failed:", error);
15644
15650
  setUploadProgress("Upload failed. Please try again.");
@@ -15652,7 +15658,7 @@ function MarkdownEditor({
15652
15658
  const handleFileInputChange = _react.useCallback.call(void 0,
15653
15659
  (e) => {
15654
15660
  const input = e.target;
15655
- const file = _optionalChain([input, 'access', _353 => _353.files, 'optionalAccess', _354 => _354[0]]);
15661
+ const file = _optionalChain([input, 'access', _356 => _356.files, 'optionalAccess', _357 => _357[0]]);
15656
15662
  if (file) {
15657
15663
  void handleFileUpload(file);
15658
15664
  input.value = "";
@@ -15663,7 +15669,7 @@ function MarkdownEditor({
15663
15669
  const handlePaste = _react.useCallback.call(void 0,
15664
15670
  (e) => {
15665
15671
  if (!onUploadFile) return;
15666
- const items = _optionalChain([e, 'access', _355 => _355.clipboardData, 'optionalAccess', _356 => _356.items]);
15672
+ const items = _optionalChain([e, 'access', _358 => _358.clipboardData, 'optionalAccess', _359 => _359.items]);
15667
15673
  if (!items) return;
15668
15674
  for (const item of items) {
15669
15675
  if (item.type.startsWith("image/")) {
@@ -15688,7 +15694,7 @@ function MarkdownEditor({
15688
15694
  buttonProps: { "aria-label": "Upload file", title: "Upload file" },
15689
15695
  icon: isUploading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Loader2, { className: "h-3 w-3 animate-spin" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Upload, { className: "h-3 w-3" }),
15690
15696
  execute: () => {
15691
- _optionalChain([fileInputRef, 'access', _357 => _357.current, 'optionalAccess', _358 => _358.click, 'call', _359 => _359()]);
15697
+ _optionalChain([fileInputRef, 'access', _360 => _360.current, 'optionalAccess', _361 => _361.click, 'call', _362 => _362()]);
15692
15698
  }
15693
15699
  } : null;
15694
15700
  const extraCommands = uploadCommand ? [...defaultExtraCommands, uploadCommand] : defaultExtraCommands;
@@ -15700,7 +15706,7 @@ function MarkdownEditor({
15700
15706
  const EDGE_ZONE = 60;
15701
15707
  const MAX_SCROLL_SPEED = 15;
15702
15708
  const findScrollParent = _react.useCallback.call(void 0, (el) => {
15703
- let node = _optionalChain([el, 'optionalAccess', _360 => _360.parentElement]);
15709
+ let node = _optionalChain([el, 'optionalAccess', _363 => _363.parentElement]);
15704
15710
  while (node && node !== document.documentElement) {
15705
15711
  const { overflowY } = window.getComputedStyle(node);
15706
15712
  if ((overflowY === "auto" || overflowY === "scroll") && node.scrollHeight > node.clientHeight) {
@@ -15839,7 +15845,7 @@ function matchesAccept(file, accept) {
15839
15845
  });
15840
15846
  }
15841
15847
  function dragHasFiles(e) {
15842
- const types = _optionalChain([e, 'access', _361 => _361.dataTransfer, 'optionalAccess', _362 => _362.types]);
15848
+ const types = _optionalChain([e, 'access', _364 => _364.dataTransfer, 'optionalAccess', _365 => _365.types]);
15843
15849
  if (!types) return false;
15844
15850
  for (let i = 0; i < types.length; i++) {
15845
15851
  if (types[i] === "Files") return true;
@@ -15938,7 +15944,7 @@ function FileUpload({
15938
15944
  e.stopPropagation();
15939
15945
  setDragActive(false);
15940
15946
  if (disabled) return;
15941
- if (_optionalChain([e, 'access', _363 => _363.dataTransfer, 'access', _364 => _364.files, 'optionalAccess', _365 => _365.length])) {
15947
+ if (_optionalChain([e, 'access', _366 => _366.dataTransfer, 'access', _367 => _367.files, 'optionalAccess', _368 => _368.length])) {
15942
15948
  handleFiles(e.dataTransfer.files);
15943
15949
  }
15944
15950
  };
@@ -15966,7 +15972,7 @@ function FileUpload({
15966
15972
  e.preventDefault();
15967
15973
  dragCounter = 0;
15968
15974
  setDragActive(false);
15969
- if (_optionalChain([e, 'access', _366 => _366.dataTransfer, 'optionalAccess', _367 => _367.files, 'optionalAccess', _368 => _368.length])) {
15975
+ if (_optionalChain([e, 'access', _369 => _369.dataTransfer, 'optionalAccess', _370 => _370.files, 'optionalAccess', _371 => _371.length])) {
15970
15976
  handleFilesRef.current(e.dataTransfer.files);
15971
15977
  }
15972
15978
  };
@@ -15988,7 +15994,7 @@ function FileUpload({
15988
15994
  };
15989
15995
  }, [acceptWindowDrops, disabled]);
15990
15996
  const handleFileSelect = (e) => {
15991
- if (_optionalChain([e, 'access', _369 => _369.target, 'access', _370 => _370.files, 'optionalAccess', _371 => _371.length])) {
15997
+ if (_optionalChain([e, 'access', _372 => _372.target, 'access', _373 => _373.files, 'optionalAccess', _374 => _374.length])) {
15992
15998
  handleFiles(e.target.files);
15993
15999
  }
15994
16000
  };
@@ -16006,7 +16012,7 @@ function FileUpload({
16006
16012
  const openDialog = async () => {
16007
16013
  if (disabled) return;
16008
16014
  if (!pickFiles) {
16009
- _optionalChain([fileInputRef, 'access', _372 => _372.current, 'optionalAccess', _373 => _373.click, 'call', _374 => _374()]);
16015
+ _optionalChain([fileInputRef, 'access', _375 => _375.current, 'optionalAccess', _376 => _376.click, 'call', _377 => _377()]);
16010
16016
  return;
16011
16017
  }
16012
16018
  try {
@@ -16079,7 +16085,7 @@ function FileUpload({
16079
16085
  "button",
16080
16086
  {
16081
16087
  type: "button",
16082
- onClick: () => _optionalChain([onRemoveManagedFile, 'optionalCall', _375 => _375(entry.id)]),
16088
+ onClick: () => _optionalChain([onRemoveManagedFile, 'optionalCall', _378 => _378(entry.id)]),
16083
16089
  className: "shrink-0 text-ods-error transition-opacity hover:opacity-80",
16084
16090
  "aria-label": `Remove ${entry.fileName}`,
16085
16091
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGSQM4PDRcjs.TrashIcon, { className: "size-6" })
@@ -16210,7 +16216,7 @@ function ImageUploader({
16210
16216
  onChange(file);
16211
16217
  };
16212
16218
  const handleFileSelect = (e) => {
16213
- validateAndEmit(_optionalChain([e, 'access', _376 => _376.target, 'access', _377 => _377.files, 'optionalAccess', _378 => _378[0]]));
16219
+ validateAndEmit(_optionalChain([e, 'access', _379 => _379.target, 'access', _380 => _380.files, 'optionalAccess', _381 => _381[0]]));
16214
16220
  if (inputRef.current) inputRef.current.value = "";
16215
16221
  };
16216
16222
  const handleDrag = (e) => {
@@ -16225,11 +16231,11 @@ function ImageUploader({
16225
16231
  e.stopPropagation();
16226
16232
  setDragActive(false);
16227
16233
  if (!interactive) return;
16228
- validateAndEmit(_optionalChain([e, 'access', _379 => _379.dataTransfer, 'access', _380 => _380.files, 'optionalAccess', _381 => _381[0]]));
16234
+ validateAndEmit(_optionalChain([e, 'access', _382 => _382.dataTransfer, 'access', _383 => _383.files, 'optionalAccess', _384 => _384[0]]));
16229
16235
  };
16230
16236
  const openDialog = () => {
16231
16237
  if (!interactive) return;
16232
- _optionalChain([inputRef, 'access', _382 => _382.current, 'optionalAccess', _383 => _383.click, 'call', _384 => _384()]);
16238
+ _optionalChain([inputRef, 'access', _385 => _385.current, 'optionalAccess', _386 => _386.click, 'call', _387 => _387()]);
16233
16239
  };
16234
16240
  const handleRootKeyDown = (e) => {
16235
16241
  if (hasImage || !interactive) return;
@@ -16401,8 +16407,8 @@ function ColorPresetSelect({
16401
16407
  }) {
16402
16408
  const selectedPreset = presets.find((p) => p.key === presetKey);
16403
16409
  const isCustom = !selectedPreset;
16404
- const displayLabel = _nullishCoalesce(_optionalChain([selectedPreset, 'optionalAccess', _385 => _385.label]), () => ( "Custom"));
16405
- const displayColor = _nullishCoalesce(_optionalChain([selectedPreset, 'optionalAccess', _386 => _386.color]), () => ( value));
16410
+ const displayLabel = _nullishCoalesce(_optionalChain([selectedPreset, 'optionalAccess', _388 => _388.label]), () => ( "Custom"));
16411
+ const displayColor = _nullishCoalesce(_optionalChain([selectedPreset, 'optionalAccess', _389 => _389.color]), () => ( value));
16406
16412
  const groups = [
16407
16413
  {
16408
16414
  items: [
@@ -16698,7 +16704,7 @@ function TicketStatusConfigRow({
16698
16704
  {
16699
16705
  id: nameInputId,
16700
16706
  value: name,
16701
- onChange: (e) => _optionalChain([onNameChange, 'optionalCall', _387 => _387(e.target.value)]),
16707
+ onChange: (e) => _optionalChain([onNameChange, 'optionalCall', _390 => _390(e.target.value)]),
16702
16708
  disabled: isSystem,
16703
16709
  readOnly: isSystem,
16704
16710
  maxLength: 50
@@ -17237,14 +17243,14 @@ function TicketInfoSection({
17237
17243
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
17238
17244
  _chunkUQEOAPAIcjs.SquareAvatar,
17239
17245
  {
17240
- src: _optionalChain([organization, 'optionalAccess', _388 => _388.imageSrc]),
17241
- alt: _optionalChain([organization, 'optionalAccess', _389 => _389.name]),
17242
- fallback: _optionalChain([organization, 'optionalAccess', _390 => _390.name]) || "Org",
17246
+ src: _optionalChain([organization, 'optionalAccess', _391 => _391.imageSrc]),
17247
+ alt: _optionalChain([organization, 'optionalAccess', _392 => _392.name]),
17248
+ fallback: _optionalChain([organization, 'optionalAccess', _393 => _393.name]) || "Org",
17243
17249
  size: "md",
17244
17250
  className: "shrink-0"
17245
17251
  }
17246
17252
  ),
17247
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, InfoCell, { value: _optionalChain([organization, 'optionalAccess', _391 => _391.name]) || "Unassigned", label: "Organization" })
17253
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, InfoCell, { value: _optionalChain([organization, 'optionalAccess', _394 => _394.name]) || "Unassigned", label: "Organization" })
17248
17254
  ] }),
17249
17255
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: assigned ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
17250
17256
  AssigneeDropdown,
@@ -17262,7 +17268,7 @@ function TicketInfoSection({
17262
17268
  ] }),
17263
17269
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "block truncate text-ods-text-secondary text-h6", children: "Assigned" })
17264
17270
  ] }) }),
17265
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, InfoCell, { value: _optionalChain([device, 'optionalAccess', _392 => _392.name]) || "Unassigned", label: "Device", icon: _optionalChain([device, 'optionalAccess', _393 => _393.icon]), onClick: _optionalChain([device, 'optionalAccess', _394 => _394.onClick]) }),
17271
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, InfoCell, { value: _optionalChain([device, 'optionalAccess', _395 => _395.name]) || "Unassigned", label: "Device", icon: _optionalChain([device, 'optionalAccess', _396 => _396.icon]), onClick: _optionalChain([device, 'optionalAccess', _397 => _397.onClick]) }),
17266
17272
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 items-center gap-4", children: [
17267
17273
  (status || statusLabel) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
17268
17274
  _chunkYXTAV2E3cjs.TicketStatusTag,
@@ -17367,7 +17373,7 @@ function TakeOverTicketModal({
17367
17373
  setAssigneeId(_nullishCoalesce(initialAssigneeId, () => ( null)));
17368
17374
  }
17369
17375
  }
17370
- const selectedStatusId = _nullishCoalesce(_nullishCoalesce(statusId, () => ( _optionalChain([statusOptions, 'access', _395 => _395[0], 'optionalAccess', _396 => _396.value]))), () => ( null));
17376
+ const selectedStatusId = _nullishCoalesce(_nullishCoalesce(statusId, () => ( _optionalChain([statusOptions, 'access', _398 => _398[0], 'optionalAccess', _399 => _399.value]))), () => ( null));
17371
17377
  const selectedStatus = statusOptions.find((o) => o.value === selectedStatusId);
17372
17378
  const selectedAssignee = assigneeOptions.find((o) => o.value === assigneeId);
17373
17379
  const handleConfirm = () => {
@@ -17465,7 +17471,7 @@ function ReopenTicketModal({
17465
17471
  setReason("");
17466
17472
  }
17467
17473
  }
17468
- const selectedStatusId = _nullishCoalesce(_nullishCoalesce(statusId, () => ( _optionalChain([statusOptions, 'access', _397 => _397[0], 'optionalAccess', _398 => _398.value]))), () => ( null));
17474
+ const selectedStatusId = _nullishCoalesce(_nullishCoalesce(statusId, () => ( _optionalChain([statusOptions, 'access', _400 => _400[0], 'optionalAccess', _401 => _401.value]))), () => ( null));
17469
17475
  const selectedStatus = statusOptions.find((o) => o.value === selectedStatusId);
17470
17476
  const selectedAssignee = assigneeOptions.find((o) => o.value === assigneeId);
17471
17477
  const handleConfirm = () => {
@@ -17867,10 +17873,10 @@ function AccountDetailsFields({
17867
17873
  onKeyDown,
17868
17874
  layout = "stacked"
17869
17875
  }) {
17870
- const firstNameErr = _chunkJJUV7Z4Lcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _399 => _399.firstName]), firstName);
17871
- const lastNameErr = _chunkJJUV7Z4Lcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _400 => _400.lastName]), lastName);
17872
- const passwordErr = _chunkJJUV7Z4Lcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _401 => _401.password]), password);
17873
- const confirmErr = _chunkJJUV7Z4Lcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _402 => _402.confirmPassword]), confirmPassword);
17876
+ const firstNameErr = _chunkJJUV7Z4Lcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _402 => _402.firstName]), firstName);
17877
+ const lastNameErr = _chunkJJUV7Z4Lcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _403 => _403.lastName]), lastName);
17878
+ const passwordErr = _chunkJJUV7Z4Lcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _404 => _404.password]), password);
17879
+ const confirmErr = _chunkJJUV7Z4Lcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _405 => _405.confirmPassword]), confirmPassword);
17874
17880
  const names = [
17875
17881
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
17876
17882
  _chunkN6HNK25Acjs.Input,
@@ -18110,7 +18116,7 @@ function SsoProviderButtons({
18110
18116
  disabled: disabled || (enabledProviders ? !enabledProviders.includes(provider) : false),
18111
18117
  className: "disabled:bg-ods-bg",
18112
18118
  leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Icon2, { className: "h-5 w-5" }),
18113
- onClick: () => _optionalChain([onSsoClick, 'optionalCall', _403 => _403(provider)]),
18119
+ onClick: () => _optionalChain([onSsoClick, 'optionalCall', _406 => _406(provider)]),
18114
18120
  children: `${actionLabel} ${meta.name}`
18115
18121
  },
18116
18122
  provider
@@ -18288,9 +18294,9 @@ function CreateOrganizationForm({
18288
18294
  }) {
18289
18295
  const hasSso = !!ssoProviders && ssoProviders.length > 0;
18290
18296
  const fieldsDisabled = disabled || loading;
18291
- const emailErr = _chunkJJUV7Z4Lcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _404 => _404.email]), _nullishCoalesce(email, () => ( "")));
18292
- const orgNameErr = _chunkJJUV7Z4Lcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _405 => _405.organizationName]), organizationName);
18293
- const domainErr = _chunkJJUV7Z4Lcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _406 => _406.domain]), domain);
18297
+ const emailErr = _chunkJJUV7Z4Lcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _407 => _407.email]), _nullishCoalesce(email, () => ( "")));
18298
+ const orgNameErr = _chunkJJUV7Z4Lcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _408 => _408.organizationName]), organizationName);
18299
+ const domainErr = _chunkJJUV7Z4Lcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _409 => _409.domain]), domain);
18294
18300
  const handleKeyDown = (event) => {
18295
18301
  if (event.key === "Enter" && !fieldsDisabled && !submitDisabled) {
18296
18302
  onSubmit();
@@ -18315,11 +18321,11 @@ function CreateOrganizationForm({
18315
18321
  label: "Email",
18316
18322
  placeholder: "username@mail.com",
18317
18323
  value: email,
18318
- error: _nullishCoalesce(emailErr.error, () => ( _optionalChain([emailStatus, 'optionalAccess', _407 => _407.message]))),
18319
- errorVariant: emailErr.error ? "error" : _optionalChain([emailStatus, 'optionalAccess', _408 => _408.variant]),
18324
+ error: _nullishCoalesce(emailErr.error, () => ( _optionalChain([emailStatus, 'optionalAccess', _410 => _410.message]))),
18325
+ errorVariant: emailErr.error ? "error" : _optionalChain([emailStatus, 'optionalAccess', _411 => _411.variant]),
18320
18326
  disabled: fieldsDisabled,
18321
18327
  onBlur: emailErr.onBlur,
18322
- onChange: (event) => _optionalChain([onEmailChange, 'optionalCall', _409 => _409(event.target.value)]),
18328
+ onChange: (event) => _optionalChain([onEmailChange, 'optionalCall', _412 => _412(event.target.value)]),
18323
18329
  onKeyDown: handleKeyDown
18324
18330
  }
18325
18331
  ),
@@ -18343,8 +18349,8 @@ function CreateOrganizationForm({
18343
18349
  label: "Domain",
18344
18350
  placeholder: domainPlaceholder,
18345
18351
  value: domain,
18346
- error: _nullishCoalesce(domainErr.error, () => ( _optionalChain([domainStatus, 'optionalAccess', _410 => _410.message]))),
18347
- errorVariant: domainErr.error ? "error" : _optionalChain([domainStatus, 'optionalAccess', _411 => _411.variant]),
18352
+ error: _nullishCoalesce(domainErr.error, () => ( _optionalChain([domainStatus, 'optionalAccess', _413 => _413.message]))),
18353
+ errorVariant: domainErr.error ? "error" : _optionalChain([domainStatus, 'optionalAccess', _414 => _414.variant]),
18348
18354
  disabled: fieldsDisabled,
18349
18355
  onBlur: domainErr.onBlur,
18350
18356
  endAdornment: domainSuffix ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap", children: domainSuffix }) : void 0,
@@ -18379,7 +18385,7 @@ function CreateOrganizationForm({
18379
18385
  label: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TermsAgreementLabel, { termsUrl, privacyPolicyUrl }),
18380
18386
  checked: agreedToTerms,
18381
18387
  disabled: fieldsDisabled,
18382
- error: _optionalChain([errors, 'optionalAccess', _412 => _412.terms]),
18388
+ error: _optionalChain([errors, 'optionalAccess', _415 => _415.terms]),
18383
18389
  onCheckedChange: onAgreedToTermsChange
18384
18390
  }
18385
18391
  ),
@@ -18506,10 +18512,10 @@ function LoginForm({
18506
18512
  className
18507
18513
  }) {
18508
18514
  const fieldDisabled = disabled || loading;
18509
- const emailErr = _chunkJJUV7Z4Lcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _413 => _413.email]), email);
18515
+ const emailErr = _chunkJJUV7Z4Lcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _416 => _416.email]), email);
18510
18516
  const handleKeyDown = (event) => {
18511
18517
  if (event.key !== "Enter" || fieldDisabled || submitDisabled) return;
18512
- _optionalChain([onSubmitClick, 'optionalCall', _414 => _414()]);
18518
+ _optionalChain([onSubmitClick, 'optionalCall', _417 => _417()]);
18513
18519
  };
18514
18520
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
18515
18521
  "div",
@@ -18541,8 +18547,8 @@ function LoginForm({
18541
18547
  label: "Email",
18542
18548
  placeholder: emailPlaceholder,
18543
18549
  value: email,
18544
- error: _nullishCoalesce(emailErr.error, () => ( _optionalChain([emailStatus, 'optionalAccess', _415 => _415.message]))),
18545
- errorVariant: emailErr.error ? "error" : _optionalChain([emailStatus, 'optionalAccess', _416 => _416.variant]),
18550
+ error: _nullishCoalesce(emailErr.error, () => ( _optionalChain([emailStatus, 'optionalAccess', _418 => _418.message]))),
18551
+ errorVariant: emailErr.error ? "error" : _optionalChain([emailStatus, 'optionalAccess', _419 => _419.variant]),
18546
18552
  disabled: fieldDisabled,
18547
18553
  onBlur: emailErr.onBlur,
18548
18554
  onChange: (event) => onEmailChange(event.target.value),
@@ -18621,8 +18627,8 @@ function OpenFrameSsoLoginForm({
18621
18627
  className
18622
18628
  }) {
18623
18629
  const fieldsDisabled = disabled || loading;
18624
- const emailErr = _chunkJJUV7Z4Lcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _417 => _417.email]), email);
18625
- const passwordErr = _chunkJJUV7Z4Lcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _418 => _418.password]), password);
18630
+ const emailErr = _chunkJJUV7Z4Lcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _420 => _420.email]), email);
18631
+ const passwordErr = _chunkJJUV7Z4Lcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _421 => _421.password]), password);
18626
18632
  const handleKeyDown = (event) => {
18627
18633
  if (event.key === "Enter" && !fieldsDisabled && !submitDisabled) {
18628
18634
  onSubmit();
@@ -18727,7 +18733,7 @@ function OpenFrameSsoSignUpForm({
18727
18733
  className
18728
18734
  }) {
18729
18735
  const fieldsDisabled = disabled || loading;
18730
- const emailErr = _chunkJJUV7Z4Lcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _419 => _419.email]), email);
18736
+ const emailErr = _chunkJJUV7Z4Lcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _422 => _422.email]), email);
18731
18737
  const handleKeyDown = (event) => {
18732
18738
  if (event.key === "Enter" && !fieldsDisabled && !submitDisabled) {
18733
18739
  onSubmit();
@@ -18832,8 +18838,8 @@ function PasswordResetForm({
18832
18838
  className
18833
18839
  }) {
18834
18840
  const fieldsDisabled = disabled || loading;
18835
- const passwordErr = _chunkJJUV7Z4Lcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _420 => _420.password]), password);
18836
- const confirmErr = _chunkJJUV7Z4Lcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _421 => _421.confirmPassword]), confirmPassword);
18841
+ const passwordErr = _chunkJJUV7Z4Lcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _423 => _423.password]), password);
18842
+ const confirmErr = _chunkJJUV7Z4Lcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _424 => _424.confirmPassword]), confirmPassword);
18837
18843
  const handleKeyDown = (event) => {
18838
18844
  if (event.key === "Enter" && !fieldsDisabled && !submitDisabled) {
18839
18845
  onSubmit();
@@ -19544,10 +19550,10 @@ var getContentDimensions = (config) => {
19544
19550
  const envMobileHeight = process.env.NEXT_PUBLIC_FIGMA_MOBILE_HEIGHT ? parseInt(process.env.NEXT_PUBLIC_FIGMA_MOBILE_HEIGHT) : null;
19545
19551
  const envDesktopWidth = process.env.NEXT_PUBLIC_FIGMA_DESKTOP_WIDTH ? parseInt(process.env.NEXT_PUBLIC_FIGMA_DESKTOP_WIDTH) : null;
19546
19552
  const envDesktopHeight = process.env.NEXT_PUBLIC_FIGMA_DESKTOP_HEIGHT ? parseInt(process.env.NEXT_PUBLIC_FIGMA_DESKTOP_HEIGHT) : null;
19547
- const mobileWidth = _nullishCoalesce(_nullishCoalesce(envMobileWidth, () => ( _optionalChain([config, 'optionalAccess', _422 => _422.mobileContentDimensions, 'optionalAccess', _423 => _423.width]))), () => ( defaultMobile.width));
19548
- const mobileHeight = _nullishCoalesce(_nullishCoalesce(envMobileHeight, () => ( _optionalChain([config, 'optionalAccess', _424 => _424.mobileContentDimensions, 'optionalAccess', _425 => _425.height]))), () => ( defaultMobile.height));
19549
- const desktopWidth = _nullishCoalesce(_nullishCoalesce(envDesktopWidth, () => ( _optionalChain([config, 'optionalAccess', _426 => _426.desktopContentDimensions, 'optionalAccess', _427 => _427.width]))), () => ( defaultDesktop.width));
19550
- const desktopHeight = _nullishCoalesce(_nullishCoalesce(envDesktopHeight, () => ( _optionalChain([config, 'optionalAccess', _428 => _428.desktopContentDimensions, 'optionalAccess', _429 => _429.height]))), () => ( defaultDesktop.height));
19553
+ const mobileWidth = _nullishCoalesce(_nullishCoalesce(envMobileWidth, () => ( _optionalChain([config, 'optionalAccess', _425 => _425.mobileContentDimensions, 'optionalAccess', _426 => _426.width]))), () => ( defaultMobile.width));
19554
+ const mobileHeight = _nullishCoalesce(_nullishCoalesce(envMobileHeight, () => ( _optionalChain([config, 'optionalAccess', _427 => _427.mobileContentDimensions, 'optionalAccess', _428 => _428.height]))), () => ( defaultMobile.height));
19555
+ const desktopWidth = _nullishCoalesce(_nullishCoalesce(envDesktopWidth, () => ( _optionalChain([config, 'optionalAccess', _429 => _429.desktopContentDimensions, 'optionalAccess', _430 => _430.width]))), () => ( defaultDesktop.width));
19556
+ const desktopHeight = _nullishCoalesce(_nullishCoalesce(envDesktopHeight, () => ( _optionalChain([config, 'optionalAccess', _431 => _431.desktopContentDimensions, 'optionalAccess', _432 => _432.height]))), () => ( defaultDesktop.height));
19551
19557
  return {
19552
19558
  mobile: { width: mobileWidth, height: mobileHeight },
19553
19559
  desktop: { width: desktopWidth, height: desktopHeight }
@@ -19703,7 +19709,7 @@ function UnifiedUI({ state, handlers, config, iframeRef }) {
19703
19709
  const contentDimensions = getContentDimensions(config);
19704
19710
  const mobileHeight = contentDimensions.mobile.height;
19705
19711
  const calculatedHeight = Math.max(mobileHeight + 100, 400);
19706
- return `${Math.min(calculatedHeight, _optionalChain([window, 'optionalAccess', _430 => _430.innerHeight]) * 0.85 || 650)}px`;
19712
+ return `${Math.min(calculatedHeight, _optionalChain([window, 'optionalAccess', _433 => _433.innerHeight]) * 0.85 || 650)}px`;
19707
19713
  })(),
19708
19714
  minHeight: viewMode === "DESKTOP" ? "auto" : (() => {
19709
19715
  const contentDimensions = getContentDimensions(config);
@@ -19806,7 +19812,7 @@ var FigmaPrototypeViewer = ({
19806
19812
  const [isInitialized, setIsInitialized] = _react.useState.call(void 0, false);
19807
19813
  const [currentNodeId, setCurrentNodeId] = _react.useState.call(void 0, null);
19808
19814
  const [internalActiveSection, setInternalActiveSection] = _react.useState.call(void 0,
19809
- config.defaultSectionId || _optionalChain([config, 'access', _431 => _431.sections, 'access', _432 => _432[0], 'optionalAccess', _433 => _433.id]) || ""
19815
+ config.defaultSectionId || _optionalChain([config, 'access', _434 => _434.sections, 'access', _435 => _435[0], 'optionalAccess', _436 => _436.id]) || ""
19810
19816
  );
19811
19817
  const activeSection = externalActiveSection || internalActiveSection;
19812
19818
  const [isNavigating, setIsNavigating] = _react.useState.call(void 0, false);
@@ -19904,19 +19910,19 @@ var FigmaPrototypeViewer = ({
19904
19910
  setIframeState("READY");
19905
19911
  break;
19906
19912
  case "PRESENTED_NODE_CHANGED":
19907
- if (_optionalChain([figmaEvent, 'access', _434 => _434.data, 'optionalAccess', _435 => _435.presentedNodeId])) {
19913
+ if (_optionalChain([figmaEvent, 'access', _437 => _437.data, 'optionalAccess', _438 => _438.presentedNodeId])) {
19908
19914
  setCurrentNodeId(figmaEvent.data.presentedNodeId);
19909
19915
  if (!isNavigating) {
19910
19916
  const matchingSection = configSections.find((s) => {
19911
- const desktopMatch = s.startingNodeId === _optionalChain([figmaEvent, 'access', _436 => _436.data, 'optionalAccess', _437 => _437.presentedNodeId]) || s.startingNodeId.replace(":", "-") === _optionalChain([figmaEvent, 'access', _438 => _438.data, 'optionalAccess', _439 => _439.presentedNodeId]);
19912
- const mobileMatch = s.mobileStartingNodeId === _optionalChain([figmaEvent, 'access', _440 => _440.data, 'optionalAccess', _441 => _441.presentedNodeId]) || _optionalChain([s, 'access', _442 => _442.mobileStartingNodeId, 'optionalAccess', _443 => _443.replace, 'call', _444 => _444(":", "-")]) === _optionalChain([figmaEvent, 'access', _445 => _445.data, 'optionalAccess', _446 => _446.presentedNodeId]);
19917
+ const desktopMatch = s.startingNodeId === _optionalChain([figmaEvent, 'access', _439 => _439.data, 'optionalAccess', _440 => _440.presentedNodeId]) || s.startingNodeId.replace(":", "-") === _optionalChain([figmaEvent, 'access', _441 => _441.data, 'optionalAccess', _442 => _442.presentedNodeId]);
19918
+ const mobileMatch = s.mobileStartingNodeId === _optionalChain([figmaEvent, 'access', _443 => _443.data, 'optionalAccess', _444 => _444.presentedNodeId]) || _optionalChain([s, 'access', _445 => _445.mobileStartingNodeId, 'optionalAccess', _446 => _446.replace, 'call', _447 => _447(":", "-")]) === _optionalChain([figmaEvent, 'access', _448 => _448.data, 'optionalAccess', _449 => _449.presentedNodeId]);
19913
19919
  return desktopMatch || mobileMatch;
19914
19920
  });
19915
19921
  if (matchingSection && matchingSection.id !== activeSection) {
19916
19922
  if (!externalActiveSection) {
19917
19923
  setInternalActiveSection(matchingSection.id);
19918
19924
  }
19919
- _optionalChain([onSectionChange, 'optionalCall', _447 => _447(matchingSection.id)]);
19925
+ _optionalChain([onSectionChange, 'optionalCall', _450 => _450(matchingSection.id)]);
19920
19926
  }
19921
19927
  }
19922
19928
  }
@@ -19930,7 +19936,7 @@ var FigmaPrototypeViewer = ({
19930
19936
  const navigateToSection = _react.useCallback.call(void 0,
19931
19937
  (sectionId) => {
19932
19938
  const section = config.sections.find((s) => s.id === sectionId);
19933
- if (!section || !_optionalChain([iframeRef, 'access', _448 => _448.current, 'optionalAccess', _449 => _449.contentWindow]) || !isInitialized) {
19939
+ if (!section || !_optionalChain([iframeRef, 'access', _451 => _451.current, 'optionalAccess', _452 => _452.contentWindow]) || !isInitialized) {
19934
19940
  return;
19935
19941
  }
19936
19942
  setIsNavigating(true);
@@ -19938,7 +19944,7 @@ var FigmaPrototypeViewer = ({
19938
19944
  if (!externalActiveSection) {
19939
19945
  setInternalActiveSection(sectionId);
19940
19946
  }
19941
- _optionalChain([config, 'access', _450 => _450.onSectionChange, 'optionalCall', _451 => _451(sectionId)]);
19947
+ _optionalChain([config, 'access', _453 => _453.onSectionChange, 'optionalCall', _454 => _454(sectionId)]);
19942
19948
  const command = {
19943
19949
  type: "NAVIGATE_TO_FRAME_AND_CLOSE_OVERLAYS",
19944
19950
  data: { nodeId }
@@ -20275,7 +20281,7 @@ var FiltersDropdown = ({
20275
20281
  defaults[section.id] = section.defaultSelected || [];
20276
20282
  });
20277
20283
  setSelectedFilters(defaults);
20278
- _optionalChain([onReset, 'optionalCall', _452 => _452()]);
20284
+ _optionalChain([onReset, 'optionalCall', _455 => _455()]);
20279
20285
  setIsOpen(false);
20280
20286
  };
20281
20287
  const handleApply = () => {
@@ -20524,7 +20530,7 @@ function MediaGalleryManager({
20524
20530
  const [draggedIndex, setDraggedIndex] = _react.useState.call(void 0, null);
20525
20531
  const handleFileSelect = _react.useCallback.call(void 0,
20526
20532
  async (event) => {
20527
- const file = _optionalChain([event, 'access', _453 => _453.target, 'access', _454 => _454.files, 'optionalAccess', _455 => _455[0]]);
20533
+ const file = _optionalChain([event, 'access', _456 => _456.target, 'access', _457 => _457.files, 'optionalAccess', _458 => _458[0]]);
20528
20534
  if (!file) return;
20529
20535
  let mediaType;
20530
20536
  if (file.type.startsWith("image/")) {
@@ -20649,7 +20655,7 @@ function MediaGalleryManager({
20649
20655
  {
20650
20656
  type: "button",
20651
20657
  variant: "outline",
20652
- onClick: () => _optionalChain([fileInputRef, 'access', _456 => _456.current, 'optionalAccess', _457 => _457.click, 'call', _458 => _458()]),
20658
+ onClick: () => _optionalChain([fileInputRef, 'access', _459 => _459.current, 'optionalAccess', _460 => _460.click, 'call', _461 => _461()]),
20653
20659
  disabled: isUploading,
20654
20660
  leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Plus, { className: "h-4 w-4" }),
20655
20661
  className: "font-bold text-h6",
@@ -22774,9 +22780,9 @@ function PushButtonSelector({
22774
22780
  }) {
22775
22781
  const scrollRef = _react.useRef.call(void 0, null);
22776
22782
  const sentinelRef = _react.useRef.call(void 0, null);
22777
- const lazyHasMore = _nullishCoalesce(_optionalChain([lazyLoad, 'optionalAccess', _459 => _459.hasMore]), () => ( false));
22778
- const lazyFetching = _nullishCoalesce(_optionalChain([lazyLoad, 'optionalAccess', _460 => _460.isFetchingMore]), () => ( false));
22779
- const onLoadMore = _optionalChain([lazyLoad, 'optionalAccess', _461 => _461.onLoadMore]);
22783
+ const lazyHasMore = _nullishCoalesce(_optionalChain([lazyLoad, 'optionalAccess', _462 => _462.hasMore]), () => ( false));
22784
+ const lazyFetching = _nullishCoalesce(_optionalChain([lazyLoad, 'optionalAccess', _463 => _463.isFetchingMore]), () => ( false));
22785
+ const onLoadMore = _optionalChain([lazyLoad, 'optionalAccess', _464 => _464.onLoadMore]);
22780
22786
  const optionCount = options.length;
22781
22787
  _react.useEffect.call(void 0, () => {
22782
22788
  const sentinel = sentinelRef.current;
@@ -22947,7 +22953,7 @@ function ReleaseMediaManager({ media, onChange, onUpload, className = "" }) {
22947
22953
  const fileInputRef = _react.useRef.call(void 0, null);
22948
22954
  const [uploadingIndex, setUploadingIndex] = _react.useState.call(void 0, null);
22949
22955
  const handleFileSelect = async (event) => {
22950
- const file = _optionalChain([event, 'access', _462 => _462.target, 'access', _463 => _463.files, 'optionalAccess', _464 => _464[0]]);
22956
+ const file = _optionalChain([event, 'access', _465 => _465.target, 'access', _466 => _466.files, 'optionalAccess', _467 => _467[0]]);
22951
22957
  if (!file) return;
22952
22958
  let mediaType;
22953
22959
  if (file.type.startsWith("image/")) {
@@ -23029,7 +23035,7 @@ function ReleaseMediaManager({ media, onChange, onUpload, className = "" }) {
23029
23035
  {
23030
23036
  type: "button",
23031
23037
  variant: "outline",
23032
- onClick: () => _optionalChain([fileInputRef, 'access', _465 => _465.current, 'optionalAccess', _466 => _466.click, 'call', _467 => _467()]),
23038
+ onClick: () => _optionalChain([fileInputRef, 'access', _468 => _468.current, 'optionalAccess', _469 => _469.click, 'call', _470 => _470()]),
23033
23039
  disabled: uploadingIndex !== null,
23034
23040
  leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Plus, { className: "h-4 w-4" }),
23035
23041
  className: "font-bold text-h6",
@@ -23310,7 +23316,7 @@ function SEOEditorPreview({
23310
23316
  const displayImage = hasOgImage || hasFeaturedImage;
23311
23317
  const handleImageUpload = async (event) => {
23312
23318
  if (!onOgImageUpload) return;
23313
- const file = _optionalChain([event, 'access', _468 => _468.target, 'access', _469 => _469.files, 'optionalAccess', _470 => _470[0]]);
23319
+ const file = _optionalChain([event, 'access', _471 => _471.target, 'access', _472 => _472.files, 'optionalAccess', _473 => _473[0]]);
23314
23320
  if (!file) return;
23315
23321
  setIsUploading(true);
23316
23322
  try {
@@ -23467,7 +23473,7 @@ function SEOEditorPreview({
23467
23473
  type: "button",
23468
23474
  variant: "outline",
23469
23475
  size: "icon",
23470
- onClick: () => _optionalChain([fileInputRef, 'optionalAccess', _471 => _471.click, 'call', _472 => _472()]),
23476
+ onClick: () => _optionalChain([fileInputRef, 'optionalAccess', _474 => _474.click, 'call', _475 => _475()]),
23471
23477
  disabled: disabled || isUploading,
23472
23478
  className: "rounded-full bg-white text-black opacity-0 hover:bg-gray-100 group-hover:opacity-100",
23473
23479
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Upload, { className: "h-4 w-4" })
@@ -23493,7 +23499,7 @@ function SEOEditorPreview({
23493
23499
  SEO_MEDIA_BOX_HEIGHT,
23494
23500
  "flex cursor-pointer flex-col items-center justify-center rounded-lg border-2 border-dashed border-ods-border bg-ods-bg-hover transition-colors hover:border-ods-accent"
23495
23501
  ),
23496
- onClick: () => onOgImageUpload && _optionalChain([fileInputRef, 'optionalAccess', _473 => _473.click, 'call', _474 => _474()]),
23502
+ onClick: () => onOgImageUpload && _optionalChain([fileInputRef, 'optionalAccess', _476 => _476.click, 'call', _477 => _477()]),
23497
23503
  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: [
23498
23504
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Upload, { className: "mb-2 h-8 w-8 text-ods-text-secondary" }),
23499
23505
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-secondary text-h6", children: onOgImageUpload ? "Click to upload OG image" : "No image" })
@@ -23654,7 +23660,7 @@ function SocialLinksManager({
23654
23660
  className = ""
23655
23661
  }) {
23656
23662
  const addLink = () => {
23657
- const firstPlatform = _optionalChain([platforms, 'access', _475 => _475[0], 'optionalAccess', _476 => _476.name]) || "website";
23663
+ const firstPlatform = _optionalChain([platforms, 'access', _478 => _478[0], 'optionalAccess', _479 => _479.name]) || "website";
23658
23664
  onChange([...links, { platform: firstPlatform, url: "" }]);
23659
23665
  };
23660
23666
  const removeLink = (index) => {
@@ -23666,7 +23672,7 @@ function SocialLinksManager({
23666
23672
  onChange(updated);
23667
23673
  };
23668
23674
  const getIcon = (link, platform) => {
23669
- const iconKey = _optionalChain([platform, 'optionalAccess', _477 => _477.icon_name]) || link.platform;
23675
+ const iconKey = _optionalChain([platform, 'optionalAccess', _480 => _480.icon_name]) || link.platform;
23670
23676
  const key = normalizeSocialPlatform(iconKey);
23671
23677
  if (!key) return null;
23672
23678
  const IconComponent = SOCIAL_ICON_COMPONENTS[key];
@@ -23690,7 +23696,7 @@ function SocialLinksManager({
23690
23696
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
23691
23697
  _chunkN6HNK25Acjs.Input,
23692
23698
  {
23693
- placeholder: _optionalChain([platform, 'optionalAccess', _478 => _478.placeholder]) || "Profile URL",
23699
+ placeholder: _optionalChain([platform, 'optionalAccess', _481 => _481.placeholder]) || "Profile URL",
23694
23700
  value: link.url,
23695
23701
  onChange: (e) => updateLink(index, "url", e.target.value),
23696
23702
  onKeyDown: (e) => {
@@ -24086,8 +24092,8 @@ function VideoBitesDisplay({
24086
24092
 
24087
24093
  var isAtEnd = (duration, time) => duration > 0 && duration - time < 1;
24088
24094
  function theaterSeedFromLive(live, fallbackTime, fallbackMuted) {
24089
- const time = _nullishCoalesce(_optionalChain([live, 'optionalAccess', _479 => _479.getCurrentTime, 'call', _480 => _480()]), () => ( 0));
24090
- const atEnd = isAtEnd(_nullishCoalesce(_optionalChain([live, 'optionalAccess', _481 => _481.getDuration, 'call', _482 => _482()]), () => ( 0)), time);
24095
+ const time = _nullishCoalesce(_optionalChain([live, 'optionalAccess', _482 => _482.getCurrentTime, 'call', _483 => _483()]), () => ( 0));
24096
+ const atEnd = isAtEnd(_nullishCoalesce(_optionalChain([live, 'optionalAccess', _484 => _484.getDuration, 'call', _485 => _485()]), () => ( 0)), time);
24091
24097
  return {
24092
24098
  // At end -> start over, never rewind to an unrelated older anchor.
24093
24099
  time: atEnd ? 0 : time > 0.5 ? time : fallbackTime,
@@ -24119,11 +24125,11 @@ function WalkthroughVideo({
24119
24125
  const inline = placement === "inline";
24120
24126
  const dismissEnabled = dismissal !== false;
24121
24127
  const storageKey = dismissEnabled && dismissal.storageKey || WALKTHROUGH_VIDEO_DISMISS_KEY;
24122
- const dismissalId = _optionalChain([video, 'optionalAccess', _483 => _483.id]) != null ? String(video.id) : "dismissed";
24128
+ const dismissalId = _optionalChain([video, 'optionalAccess', _486 => _486.id]) != null ? String(video.id) : "dismissed";
24123
24129
  const [mounted, setMounted] = _react.useState.call(void 0, false);
24124
24130
  const [dismissed, setDismissed] = _react.useState.call(void 0, false);
24125
24131
  const hasVideo = video != null;
24126
- const videoId = _optionalChain([video, 'optionalAccess', _484 => _484.id]);
24132
+ const videoId = _optionalChain([video, 'optionalAccess', _487 => _487.id]);
24127
24133
  _react.useEffect.call(void 0, () => {
24128
24134
  let idleHandle = null;
24129
24135
  if (!hasVideo) return void 0;
@@ -24150,9 +24156,9 @@ function WalkthroughVideo({
24150
24156
  const previewSuppressed = _react.useMemo.call(void 0, () => {
24151
24157
  if (!hydrated) return false;
24152
24158
  try {
24153
- const reducedMotion = _nullishCoalesce(_optionalChain([window, 'access', _485 => _485.matchMedia, 'optionalCall', _486 => _486("(prefers-reduced-motion: reduce)"), 'access', _487 => _487.matches]), () => ( false));
24159
+ const reducedMotion = _nullishCoalesce(_optionalChain([window, 'access', _488 => _488.matchMedia, 'optionalCall', _489 => _489("(prefers-reduced-motion: reduce)"), 'access', _490 => _490.matches]), () => ( false));
24154
24160
  const conn = navigator.connection;
24155
- const saveData = _optionalChain([conn, 'optionalAccess', _488 => _488.saveData]) === true || _optionalChain([conn, 'optionalAccess', _489 => _489.effectiveType]) === "2g" || _optionalChain([conn, 'optionalAccess', _490 => _490.effectiveType]) === "slow-2g";
24161
+ const saveData = _optionalChain([conn, 'optionalAccess', _491 => _491.saveData]) === true || _optionalChain([conn, 'optionalAccess', _492 => _492.effectiveType]) === "2g" || _optionalChain([conn, 'optionalAccess', _493 => _493.effectiveType]) === "slow-2g";
24156
24162
  return Boolean(reducedMotion || saveData);
24157
24163
  } catch (e28) {
24158
24164
  return false;
@@ -24185,18 +24191,18 @@ function WalkthroughVideo({
24185
24191
  const [cardMuted, setCardMuted] = _react.useState.call(void 0, false);
24186
24192
  const [cardPaused, setCardPaused] = _react.useState.call(void 0, false);
24187
24193
  const [userMuted, setUserMuted] = _react.useState.call(void 0, false);
24188
- const isYouTube = Boolean(_optionalChain([video, 'optionalAccess', _491 => _491.youtubeUrl]));
24194
+ const isYouTube = Boolean(_optionalChain([video, 'optionalAccess', _494 => _494.youtubeUrl]));
24189
24195
  const resumeMode = !open && handoff !== null && !isYouTube;
24190
24196
  const previewAllowed = !previewSuppressed && !isYouTube;
24191
24197
  const footerFadeKey = `${mounted ? 1 : 0}|${inline ? 1 : 0}|${hideNearSelector}|${pathname}`;
24192
- const footerHidden = _optionalChain([footerObservation, 'optionalAccess', _492 => _492.key]) === footerFadeKey && footerObservation.hidden;
24198
+ const footerHidden = _optionalChain([footerObservation, 'optionalAccess', _495 => _495.key]) === footerFadeKey && footerObservation.hidden;
24193
24199
  _react.useEffect.call(void 0, () => {
24194
24200
  if (!mounted) return void 0;
24195
24201
  if (inline) return void 0;
24196
24202
  const el = typeof document !== "undefined" ? document.querySelector(hideNearSelector) : null;
24197
24203
  if (!el || typeof IntersectionObserver === "undefined") return void 0;
24198
24204
  const io = new IntersectionObserver(
24199
- (entries) => setFooterObservation({ key: footerFadeKey, hidden: _nullishCoalesce(_optionalChain([entries, 'access', _493 => _493[0], 'optionalAccess', _494 => _494.isIntersecting]), () => ( false)) }),
24205
+ (entries) => setFooterObservation({ key: footerFadeKey, hidden: _nullishCoalesce(_optionalChain([entries, 'access', _496 => _496[0], 'optionalAccess', _497 => _497.isIntersecting]), () => ( false)) }),
24200
24206
  { rootMargin: "0px 0px -40px 0px" }
24201
24207
  );
24202
24208
  io.observe(el);
@@ -24222,7 +24228,7 @@ function WalkthroughVideo({
24222
24228
  if (!footerHidden) return;
24223
24229
  const h = _nullishCoalesce(resumeHandleRef.current, () => ( previewHandleRef.current));
24224
24230
  try {
24225
- _optionalChain([h, 'optionalAccess', _495 => _495.pause, 'call', _496 => _496()]);
24231
+ _optionalChain([h, 'optionalAccess', _498 => _498.pause, 'call', _499 => _499()]);
24226
24232
  } catch (e30) {
24227
24233
  }
24228
24234
  }, [footerHidden, resumeMode, hovered]);
@@ -24241,30 +24247,30 @@ function WalkthroughVideo({
24241
24247
  }, 400);
24242
24248
  }
24243
24249
  if (openProp === void 0) setOpenState(next);
24244
- _optionalChain([onOpenChange, 'optionalCall', _497 => _497(next)]);
24250
+ _optionalChain([onOpenChange, 'optionalCall', _500 => _500(next)]);
24245
24251
  },
24246
24252
  [openProp, onOpenChange]
24247
24253
  );
24248
24254
  const pausePreviewNow = _react.useCallback.call(void 0, () => {
24249
24255
  const h = _nullishCoalesce(resumeHandleRef.current, () => ( previewHandleRef.current));
24250
24256
  try {
24251
- _optionalChain([h, 'optionalAccess', _498 => _498.pause, 'call', _499 => _499()]);
24257
+ _optionalChain([h, 'optionalAccess', _501 => _501.pause, 'call', _502 => _502()]);
24252
24258
  } catch (e31) {
24253
24259
  }
24254
24260
  setCardPaused(true);
24255
24261
  }, [setCardPaused]);
24256
24262
  const openTheater = _react.useCallback.call(void 0, () => {
24257
24263
  const handleBeforePause = _nullishCoalesce(resumeHandleRef.current, () => ( previewHandleRef.current));
24258
- const liveWasPlaying = _optionalChain([handleBeforePause, 'optionalAccess', _500 => _500.getPaused, 'call', _501 => _501()]) === false;
24264
+ const liveWasPlaying = _optionalChain([handleBeforePause, 'optionalAccess', _503 => _503.getPaused, 'call', _504 => _504()]) === false;
24259
24265
  pausePreviewNow();
24260
24266
  const liveHandle = _nullishCoalesce(resumeHandleRef.current, () => ( (cardModeRef.current === "preview" ? previewHandleRef.current : null)));
24261
- const liveTime = _nullishCoalesce(_optionalChain([liveHandle, 'optionalAccess', _502 => _502.getCurrentTime, 'call', _503 => _503()]), () => ( 0));
24262
- const liveDuration = _nullishCoalesce(_optionalChain([liveHandle, 'optionalAccess', _504 => _504.getDuration, 'call', _505 => _505()]), () => ( 0));
24267
+ const liveTime = _nullishCoalesce(_optionalChain([liveHandle, 'optionalAccess', _505 => _505.getCurrentTime, 'call', _506 => _506()]), () => ( 0));
24268
+ const liveDuration = _nullishCoalesce(_optionalChain([liveHandle, 'optionalAccess', _507 => _507.getDuration, 'call', _508 => _508()]), () => ( 0));
24263
24269
  const liveAtEnd = isAtEnd(liveDuration, liveTime);
24264
24270
  const start = {
24265
24271
  // At end -> start over. Falling back to `handoff.time` here would rewind
24266
24272
  // to an unrelated older anchor (e.g. 3:20) instead of restarting.
24267
- time: liveAtEnd ? 0 : liveTime > 0.5 ? liveTime : _nullishCoalesce(_optionalChain([handoff, 'optionalAccess', _506 => _506.time]), () => ( 0)),
24273
+ time: liveAtEnd ? 0 : liveTime > 0.5 ? liveTime : _nullishCoalesce(_optionalChain([handoff, 'optionalAccess', _509 => _509.time]), () => ( 0)),
24268
24274
  // Live element wins over remembered intent (the theater's own chrome may
24269
24275
  // have changed it) — EXCEPT when the element is muted only because
24270
24276
  // autoplay policy forced it, which is not intent.
@@ -24292,7 +24298,7 @@ function WalkthroughVideo({
24292
24298
  const selfDriven = selfDrivenFor === open;
24293
24299
  if (openProp !== void 0 && !selfDriven) {
24294
24300
  if (open) {
24295
- setTheaterStart(theaterSeedFromLive(resumeHandleRef.current, _nullishCoalesce(_optionalChain([handoff, 'optionalAccess', _507 => _507.time]), () => ( 0)), userMuted));
24301
+ setTheaterStart(theaterSeedFromLive(resumeHandleRef.current, _nullishCoalesce(_optionalChain([handoff, 'optionalAccess', _510 => _510.time]), () => ( 0)), userMuted));
24296
24302
  setHovered(false);
24297
24303
  setSuspended(false);
24298
24304
  setHandoff(null);
@@ -24378,8 +24384,8 @@ function WalkthroughVideo({
24378
24384
  });
24379
24385
  _react.useEffect.call(void 0, () => {
24380
24386
  if (resumeMode) {
24381
- setCardMuted(_nullishCoalesce(_optionalChain([handoffRef, 'access', _508 => _508.current, 'optionalAccess', _509 => _509.muted]), () => ( false)));
24382
- setCardPaused(_optionalChain([handoffRef, 'access', _510 => _510.current, 'optionalAccess', _511 => _511.playing]) === false);
24387
+ setCardMuted(_nullishCoalesce(_optionalChain([handoffRef, 'access', _511 => _511.current, 'optionalAccess', _512 => _512.muted]), () => ( false)));
24388
+ setCardPaused(_optionalChain([handoffRef, 'access', _513 => _513.current, 'optionalAccess', _514 => _514.playing]) === false);
24383
24389
  }
24384
24390
  }, [resumeMode]);
24385
24391
  const [hoverSeeded, setHoverSeeded] = _react.useState.call(void 0, hovered);
@@ -24461,11 +24467,11 @@ function WalkthroughVideo({
24461
24467
  },
24462
24468
  [cardFallback.blocked, cardPaused, activeHandle, setCardPaused]
24463
24469
  );
24464
- const summaryTitle = _optionalChain([video, 'optionalAccess', _512 => _512.title]) || void 0;
24465
- const presenterAvatarSrc = _nullishCoalesce(_optionalChain([video, 'optionalAccess', _513 => _513.presenterAvatarUrl]), () => ( null));
24470
+ const summaryTitle = _optionalChain([video, 'optionalAccess', _515 => _515.title]) || void 0;
24471
+ const presenterAvatarSrc = _nullishCoalesce(_optionalChain([video, 'optionalAccess', _516 => _516.presenterAvatarUrl]), () => ( null));
24466
24472
  const embedUrlKey = _react.useMemo.call(void 0,
24467
- () => `${_nullishCoalesce(_optionalChain([video, 'optionalAccess', _514 => _514.mainVideoUrl]), () => ( ""))}|${_nullishCoalesce(_optionalChain([video, 'optionalAccess', _515 => _515.youtubeUrl]), () => ( ""))}`,
24468
- [_optionalChain([video, 'optionalAccess', _516 => _516.mainVideoUrl]), _optionalChain([video, 'optionalAccess', _517 => _517.youtubeUrl])]
24473
+ () => `${_nullishCoalesce(_optionalChain([video, 'optionalAccess', _517 => _517.mainVideoUrl]), () => ( ""))}|${_nullishCoalesce(_optionalChain([video, 'optionalAccess', _518 => _518.youtubeUrl]), () => ( ""))}`,
24474
+ [_optionalChain([video, 'optionalAccess', _519 => _519.mainVideoUrl]), _optionalChain([video, 'optionalAccess', _520 => _520.youtubeUrl])]
24469
24475
  );
24470
24476
  const cardActive = !open && previewAllowed && hovered && !resumeMode;
24471
24477
  const cardMode = resumeMode ? "resume" : cardActive ? "preview" : "poster";
@@ -24524,7 +24530,7 @@ function WalkthroughVideo({
24524
24530
  const el = e.target;
24525
24531
  let keyboard = false;
24526
24532
  try {
24527
- keyboard = _nullishCoalesce(_optionalChain([el, 'access', _518 => _518.matches, 'optionalCall', _519 => _519(":focus-visible")]), () => ( false));
24533
+ keyboard = _nullishCoalesce(_optionalChain([el, 'access', _521 => _521.matches, 'optionalCall', _522 => _522(":focus-visible")]), () => ( false));
24528
24534
  } catch (e36) {
24529
24535
  keyboard = false;
24530
24536
  }
@@ -24558,9 +24564,9 @@ function WalkthroughVideo({
24558
24564
  previewHandleRef: cardMode === "resume" ? resumeHandleRef : previewHandleRef,
24559
24565
  mutedIntent: userMuted,
24560
24566
  continuation: cardMode === "resume",
24561
- autoPlay: cardMode === "resume" && _optionalChain([handoff, 'optionalAccess', _520 => _520.playing]) !== false && !footerHidden,
24562
- startTime: _optionalChain([resumeHandoff, 'optionalAccess', _521 => _521.time]),
24563
- startMuted: _nullishCoalesce(_optionalChain([resumeHandoff, 'optionalAccess', _522 => _522.muted]), () => ( false)),
24567
+ autoPlay: cardMode === "resume" && _optionalChain([handoff, 'optionalAccess', _523 => _523.playing]) !== false && !footerHidden,
24568
+ startTime: _optionalChain([resumeHandoff, 'optionalAccess', _524 => _524.time]),
24569
+ startMuted: _nullishCoalesce(_optionalChain([resumeHandoff, 'optionalAccess', _525 => _525.muted]), () => ( false)),
24564
24570
  onEnded: cardMode === "resume" ? () => setHandoff(null) : () => setCardPaused(true)
24565
24571
  },
24566
24572
  `card-${embedUrlKey}`
@@ -24657,7 +24663,7 @@ function WalkthroughVideo({
24657
24663
  {
24658
24664
  onOpenAutoFocus: (e) => {
24659
24665
  e.preventDefault();
24660
- _optionalChain([closeButtonRef, 'access', _523 => _523.current, 'optionalAccess', _524 => _524.focus, 'call', _525 => _525()]);
24666
+ _optionalChain([closeButtonRef, 'access', _526 => _526.current, 'optionalAccess', _527 => _527.focus, 'call', _528 => _528()]);
24661
24667
  },
24662
24668
  className: _chunk23V5BSHDcjs.cn.call(void 0,
24663
24669
  // PURE theater: just the video, centered on a dimmed backdrop.
@@ -24751,14 +24757,14 @@ function useWalkthroughVideo(opts) {
24751
24757
  if (res.status === 404) return null;
24752
24758
  if (!res.ok) throw new Error(`Walkthrough video request failed (${res.status})`);
24753
24759
  const body = await res.json();
24754
- return _nullishCoalesce(_optionalChain([body, 'optionalAccess', _526 => _526.walkthroughVideo]), () => ( null));
24760
+ return _nullishCoalesce(_optionalChain([body, 'optionalAccess', _529 => _529.walkthroughVideo]), () => ( null));
24755
24761
  },
24756
24762
  // Per-observer transform — NEVER mutate the cached data. `select` also runs
24757
24763
  // over `initialData`, so the SSR seed is rewritten too. Keeping the proxy
24758
24764
  // rewrite here (not in queryFn) means a second consumer of the same
24759
24765
  // endpoint can't inherit this observer's proxied captionsUrl from the cache.
24760
24766
  select: (video) => {
24761
- if (!_optionalChain([video, 'optionalAccess', _527 => _527.captionsUrl])) return video;
24767
+ if (!_optionalChain([video, 'optionalAccess', _530 => _530.captionsUrl])) return video;
24762
24768
  if (transformCaptionsUrl && video.captionsUrl.startsWith("/")) {
24763
24769
  return { ...video, captionsUrl: transformCaptionsUrl(video.captionsUrl) };
24764
24770
  }
@@ -24805,7 +24811,7 @@ function VideoSourceSelector({
24805
24811
  input.accept = "video/*";
24806
24812
  input.onchange = async (e) => {
24807
24813
  const target = e.target;
24808
- const file = _optionalChain([target, 'access', _528 => _528.files, 'optionalAccess', _529 => _529[0]]);
24814
+ const file = _optionalChain([target, 'access', _531 => _531.files, 'optionalAccess', _532 => _532[0]]);
24809
24815
  if (!file) return;
24810
24816
  setIsUploading(true);
24811
24817
  setUploadProgress(0);
@@ -24981,7 +24987,7 @@ function SubtitlesEditor({
24981
24987
  {
24982
24988
  id,
24983
24989
  value: subtitles || "",
24984
- onChange: (e) => _optionalChain([onSubtitlesChange, 'optionalCall', _530 => _530(e.target.value)]),
24990
+ onChange: (e) => _optionalChain([onSubtitlesChange, 'optionalCall', _533 => _533(e.target.value)]),
24985
24991
  placeholder,
24986
24992
  disabled: disabled || !onSubtitlesChange,
24987
24993
  className: "h-full w-full resize-none border-0 bg-transparent p-4 text-ods-text-primary text-code placeholder:text-ods-text-secondary/50 focus:outline-none focus:ring-0",
@@ -25210,7 +25216,7 @@ var AIEnrichSection = ({
25210
25216
  }) => {
25211
25217
  const hasResults = status === "success" || status === "error";
25212
25218
  const shouldDisable = disabled || !canEnrich;
25213
- const unfilledFields = _optionalChain([requiredFields, 'optionalAccess', _531 => _531.filter, 'call', _532 => _532((f) => !f.isFilled)]) || [];
25219
+ const unfilledFields = _optionalChain([requiredFields, 'optionalAccess', _534 => _534.filter, 'call', _535 => _535((f) => !f.isFilled)]) || [];
25214
25220
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
25215
25221
  "div",
25216
25222
  {
@@ -25242,7 +25248,7 @@ var AIEnrichSection = ({
25242
25248
  {
25243
25249
  id: "ai-enrich-custom-instructions",
25244
25250
  value: _nullishCoalesce(customInstructions, () => ( "")),
25245
- onChange: (e) => _optionalChain([onCustomInstructionsChange, 'optionalCall', _533 => _533(e.target.value)]),
25251
+ onChange: (e) => _optionalChain([onCustomInstructionsChange, 'optionalCall', _536 => _536(e.target.value)]),
25246
25252
  placeholder: customInstructionsPlaceholder,
25247
25253
  disabled: loading,
25248
25254
  maxLength: customInstructionsMaxLength,
@@ -25364,7 +25370,7 @@ function HighlightVideoSection({
25364
25370
  input.accept = "video/*";
25365
25371
  input.onchange = async (e) => {
25366
25372
  const target = e.target;
25367
- const file = _optionalChain([target, 'access', _534 => _534.files, 'optionalAccess', _535 => _535[0]]);
25373
+ const file = _optionalChain([target, 'access', _537 => _537.files, 'optionalAccess', _538 => _538[0]]);
25368
25374
  if (!file) return;
25369
25375
  setUploadError(null);
25370
25376
  try {
@@ -25791,7 +25797,7 @@ function HighlightVideoPreview({
25791
25797
  input.accept = "video/*";
25792
25798
  input.onchange = async (e) => {
25793
25799
  const target = e.target;
25794
- const file = _optionalChain([target, 'access', _536 => _536.files, 'optionalAccess', _537 => _537[0]]);
25800
+ const file = _optionalChain([target, 'access', _539 => _539.files, 'optionalAccess', _540 => _540[0]]);
25795
25801
  if (!file) return;
25796
25802
  await onUpload(file);
25797
25803
  };
@@ -25975,7 +25981,7 @@ function HighlightVideoCombinedSection({
25975
25981
  input.accept = "video/*";
25976
25982
  input.onchange = async (e) => {
25977
25983
  const target = e.target;
25978
- const file = _optionalChain([target, 'access', _538 => _538.files, 'optionalAccess', _539 => _539[0]]);
25984
+ const file = _optionalChain([target, 'access', _541 => _541.files, 'optionalAccess', _542 => _542[0]]);
25979
25985
  if (!file) return;
25980
25986
  await onUpload(file);
25981
25987
  };
@@ -26654,19 +26660,19 @@ function NotificationsProvider({
26654
26660
  }, []);
26655
26661
  const markRead = _react.useCallback.call(void 0, (id) => {
26656
26662
  dispatch({ type: "markRead", id });
26657
- void _optionalChain([actionsRef, 'access', _540 => _540.current, 'optionalAccess', _541 => _541.onMarkRead, 'optionalCall', _542 => _542(id)]);
26663
+ void _optionalChain([actionsRef, 'access', _543 => _543.current, 'optionalAccess', _544 => _544.onMarkRead, 'optionalCall', _545 => _545(id)]);
26658
26664
  }, []);
26659
26665
  const markAllRead = _react.useCallback.call(void 0, () => {
26660
26666
  dispatch({ type: "markAllRead" });
26661
- void _optionalChain([actionsRef, 'access', _543 => _543.current, 'optionalAccess', _544 => _544.onMarkAllRead, 'optionalCall', _545 => _545()]);
26667
+ void _optionalChain([actionsRef, 'access', _546 => _546.current, 'optionalAccess', _547 => _547.onMarkAllRead, 'optionalCall', _548 => _548()]);
26662
26668
  }, []);
26663
26669
  const markSettled = _react.useCallback.call(void 0, (id) => {
26664
26670
  dispatch({ type: "markSettled", id });
26665
- void _optionalChain([actionsRef, 'access', _546 => _546.current, 'optionalAccess', _547 => _547.onMarkSettled, 'optionalCall', _548 => _548(id)]);
26671
+ void _optionalChain([actionsRef, 'access', _549 => _549.current, 'optionalAccess', _550 => _550.onMarkSettled, 'optionalCall', _551 => _551(id)]);
26666
26672
  }, []);
26667
26673
  const remove = _react.useCallback.call(void 0, (id) => {
26668
26674
  dispatch({ type: "remove", id });
26669
- void _optionalChain([actionsRef, 'access', _549 => _549.current, 'optionalAccess', _550 => _550.onRemove, 'optionalCall', _551 => _551(id)]);
26675
+ void _optionalChain([actionsRef, 'access', _552 => _552.current, 'optionalAccess', _553 => _553.onRemove, 'optionalCall', _554 => _554(id)]);
26670
26676
  }, []);
26671
26677
  const clear = _react.useCallback.call(void 0, () => dispatch({ type: "clear" }), []);
26672
26678
  const open = _react.useCallback.call(void 0, () => setIsOpen(true), []);
@@ -26675,14 +26681,14 @@ function NotificationsProvider({
26675
26681
  const setShowPopups = _react.useCallback.call(void 0,
26676
26682
  (value2) => {
26677
26683
  setShowPopupsState(value2);
26678
- _optionalChain([onShowPopupsChange, 'optionalCall', _552 => _552(value2)]);
26684
+ _optionalChain([onShowPopupsChange, 'optionalCall', _555 => _555(value2)]);
26679
26685
  },
26680
26686
  [onShowPopupsChange]
26681
26687
  );
26682
26688
  const setShowDesktopPopups = _react.useCallback.call(void 0,
26683
26689
  (value2) => {
26684
26690
  setShowDesktopPopupsState(value2);
26685
- _optionalChain([onShowDesktopPopupsChange, 'optionalCall', _553 => _553(value2)]);
26691
+ _optionalChain([onShowDesktopPopupsChange, 'optionalCall', _556 => _556(value2)]);
26686
26692
  },
26687
26693
  [onShowDesktopPopupsChange]
26688
26694
  );
@@ -26798,7 +26804,7 @@ var AppLayoutDrawerRoot = ({
26798
26804
  const handleOpenChange = _react.useCallback.call(void 0,
26799
26805
  (next) => {
26800
26806
  if (!isControlled) setInternalOpen(next);
26801
- _optionalChain([onOpenChange, 'optionalCall', _554 => _554(next)]);
26807
+ _optionalChain([onOpenChange, 'optionalCall', _557 => _557(next)]);
26802
26808
  },
26803
26809
  [isControlled, onOpenChange]
26804
26810
  );
@@ -26815,9 +26821,9 @@ var AppLayoutDrawerRoot = ({
26815
26821
  }
26816
26822
  }));
26817
26823
  _react.useEffect.call(void 0, () => {
26818
- if (open) _optionalChain([coordination, 'optionalAccess', _555 => _555.notifyDrawerDidOpen, 'call', _556 => _556(selfHandle)]);
26824
+ if (open) _optionalChain([coordination, 'optionalAccess', _558 => _558.notifyDrawerDidOpen, 'call', _559 => _559(selfHandle)]);
26819
26825
  }, [open, coordination, selfHandle]);
26820
- _react.useEffect.call(void 0, () => _optionalChain([coordination, 'optionalAccess', _557 => _557.registerDrawer, 'call', _558 => _558(selfHandle)]), [coordination, selfHandle]);
26826
+ _react.useEffect.call(void 0, () => _optionalChain([coordination, 'optionalAccess', _560 => _560.registerDrawer, 'call', _561 => _561(selfHandle)]), [coordination, selfHandle]);
26821
26827
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DrawerOpenContext.Provider, { value: open, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DialogPrimitive3.Root, { ...rest, open, onOpenChange: handleOpenChange, modal, children }) });
26822
26828
  };
26823
26829
  AppLayoutDrawerRoot.displayName = "AppLayoutDrawer";
@@ -27166,10 +27172,10 @@ var AppLayoutDrawerContent = _react.forwardRef.call(void 0,
27166
27172
  ),
27167
27173
  style,
27168
27174
  onInteractOutside: (event) => {
27169
- _optionalChain([onInteractOutside, 'optionalCall', _559 => _559(event)]);
27175
+ _optionalChain([onInteractOutside, 'optionalCall', _562 => _562(event)]);
27170
27176
  if (event.defaultPrevented) return;
27171
27177
  const target = event.target;
27172
- const isInsideContainer = !!target && !!_optionalChain([portalContainer, 'optionalAccess', _560 => _560.contains, 'call', _561 => _561(target)]);
27178
+ const isInsideContainer = !!target && !!_optionalChain([portalContainer, 'optionalAccess', _563 => _563.contains, 'call', _564 => _564(target)]);
27173
27179
  if (!isInsideContainer) {
27174
27180
  event.preventDefault();
27175
27181
  return;
@@ -27272,7 +27278,7 @@ function NotificationTile({
27272
27278
  if (!counting) return void 0;
27273
27279
  const remaining = Math.max(0, liveDurationMs - initialElapsed);
27274
27280
  const timer = window.setTimeout(() => {
27275
- _optionalChain([onSettle, 'optionalCall', _562 => _562(id)]);
27281
+ _optionalChain([onSettle, 'optionalCall', _565 => _565(id)]);
27276
27282
  }, remaining);
27277
27283
  return () => window.clearTimeout(timer);
27278
27284
  }, [id, counting, initialElapsed, liveDurationMs, onSettle]);
@@ -27312,7 +27318,7 @@ function NotificationTile({
27312
27318
  active: isLive,
27313
27319
  label: "Dismiss notification",
27314
27320
  icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGSQM4PDRcjs.XmarkIcon, { size: 16 }),
27315
- onClick: () => _optionalChain([onSettle, 'optionalCall', _563 => _563(id)])
27321
+ onClick: () => _optionalChain([onSettle, 'optionalCall', _566 => _566(id)])
27316
27322
  },
27317
27323
  {
27318
27324
  active: !isLive,
@@ -27500,7 +27506,7 @@ function DrawerScrollList({
27500
27506
  if (!sentinel || !root) return void 0;
27501
27507
  const observer = new IntersectionObserver(
27502
27508
  (entries) => {
27503
- if (_optionalChain([entries, 'access', _564 => _564[0], 'optionalAccess', _565 => _565.isIntersecting])) _optionalChain([loadMoreRef, 'access', _566 => _566.current, 'optionalCall', _567 => _567()]);
27509
+ if (_optionalChain([entries, 'access', _567 => _567[0], 'optionalAccess', _568 => _568.isIntersecting])) _optionalChain([loadMoreRef, 'access', _569 => _569.current, 'optionalCall', _570 => _570()]);
27504
27510
  },
27505
27511
  { root, rootMargin: loadMoreRootMargin }
27506
27512
  );
@@ -27515,7 +27521,7 @@ function DrawerScrollList({
27515
27521
  className: "flex flex-1 flex-col gap-[var(--spacing-system-xs)] overflow-y-auto px-[var(--spacing-system-m)]",
27516
27522
  children: isEmpty && !isLoadingMore ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, EmptyState, {}) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
27517
27523
  unreadNotifications.map((n) => {
27518
- const custom = _optionalChain([renderTile, 'optionalCall', _568 => _568(n, { onComplete, onSettle, liveDurationMs })]);
27524
+ const custom = _optionalChain([renderTile, 'optionalCall', _571 => _571(n, { onComplete, onSettle, liveDurationMs })]);
27519
27525
  if (custom) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { children: custom }, n.id);
27520
27526
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
27521
27527
  NotificationTile,
@@ -27635,7 +27641,7 @@ function NotificationPopups({
27635
27641
  }) {
27636
27642
  const ctx = useOptionalNotifications();
27637
27643
  const [now, setNow] = _react.useState.call(void 0, () => Date.now());
27638
- const hasAgeingNotifications = Boolean(_optionalChain([ctx, 'optionalAccess', _569 => _569.notifications, 'access', _570 => _570.some, 'call', _571 => _571((n) => !n.read && !n.settled)]));
27644
+ const hasAgeingNotifications = Boolean(_optionalChain([ctx, 'optionalAccess', _572 => _572.notifications, 'access', _573 => _573.some, 'call', _574 => _574((n) => !n.read && !n.settled)]));
27639
27645
  _react.useEffect.call(void 0, () => {
27640
27646
  if (!hasAgeingNotifications) return void 0;
27641
27647
  const id = setInterval(() => setNow(Date.now()), 500);
@@ -27678,7 +27684,7 @@ function NotificationPopups({
27678
27684
  className
27679
27685
  ),
27680
27686
  children: live.map((n) => {
27681
- const custom = _optionalChain([renderTile, 'optionalCall', _572 => _572(n, { onComplete: markRead, onSettle: markSettled, liveDurationMs })]);
27687
+ const custom = _optionalChain([renderTile, 'optionalCall', _575 => _575(n, { onComplete: markRead, onSettle: markSettled, liveDurationMs })]);
27682
27688
  if (custom) {
27683
27689
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pointer-events-auto", children: custom }, n.id);
27684
27690
  }
@@ -27717,21 +27723,21 @@ function NotificationPopups({
27717
27723
  // src/components/features/notifications/types.ts
27718
27724
  var ADMIN_APPROVAL_REQUEST_CONTEXT_TYPE = "ADMIN_APPROVAL_REQUEST";
27719
27725
  function isApprovalNotification(notification) {
27720
- return _optionalChain([notification, 'access', _573 => _573.meta, 'optionalAccess', _574 => _574.contextType]) === ADMIN_APPROVAL_REQUEST_CONTEXT_TYPE;
27726
+ return _optionalChain([notification, 'access', _576 => _576.meta, 'optionalAccess', _577 => _577.contextType]) === ADMIN_APPROVAL_REQUEST_CONTEXT_TYPE;
27721
27727
  }
27722
27728
  function getApprovalMeta(notification) {
27723
27729
  if (!isApprovalNotification(notification)) return null;
27724
27730
  const meta = notification.meta;
27725
- const approvalRequestId = _optionalChain([meta, 'optionalAccess', _575 => _575.approvalRequestId]);
27726
- const toolCalls = _optionalChain([meta, 'optionalAccess', _576 => _576.toolCalls]);
27731
+ const approvalRequestId = _optionalChain([meta, 'optionalAccess', _578 => _578.approvalRequestId]);
27732
+ const toolCalls = _optionalChain([meta, 'optionalAccess', _579 => _579.toolCalls]);
27727
27733
  if (typeof approvalRequestId !== "string" || !Array.isArray(toolCalls)) return null;
27728
27734
  return {
27729
27735
  approvalRequestId,
27730
- dialogId: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _577 => _577.dialogId]), () => ( null)),
27731
- ticketId: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _578 => _578.ticketId]), () => ( null)),
27732
- approvalType: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _579 => _579.approvalType]), () => ( null)),
27733
- resolution: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _580 => _580.resolution]), () => ( null)),
27734
- resolvedByName: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _581 => _581.resolvedByName]), () => ( null)),
27736
+ dialogId: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _580 => _580.dialogId]), () => ( null)),
27737
+ ticketId: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _581 => _581.ticketId]), () => ( null)),
27738
+ approvalType: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _582 => _582.approvalType]), () => ( null)),
27739
+ resolution: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _583 => _583.resolution]), () => ( null)),
27740
+ resolvedByName: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _584 => _584.resolvedByName]), () => ( null)),
27735
27741
  toolCalls
27736
27742
  };
27737
27743
  }
@@ -27781,7 +27787,7 @@ function ApprovalRequestNotificationTile({
27781
27787
  const [processing, setProcessing] = _react.useState.call(void 0, false);
27782
27788
  const [localStatus, setLocalStatus] = _react.useState.call(void 0, null);
27783
27789
  const approval = getApprovalMeta(notification);
27784
- const resolvedStatus = resolutionToStatus(_optionalChain([approval, 'optionalAccess', _582 => _582.resolution]));
27790
+ const resolvedStatus = resolutionToStatus(_optionalChain([approval, 'optionalAccess', _585 => _585.resolution]));
27785
27791
  const status = resolvedStatus !== "pending" ? resolvedStatus : _nullishCoalesce(localStatus, () => ( "pending"));
27786
27792
  const batchData = _react.useMemo.call(void 0, () => approval ? approvalMetaToBatchData(approval) : null, [approval]);
27787
27793
  const { innerRef, containerStyle } = _chunkYXTAV2E3cjs.useCollapsible.call(void 0, { expanded });
@@ -28108,7 +28114,7 @@ function TimeTrackerPanel({
28108
28114
  error: showFieldError ? "Required if no notes added" : void 0,
28109
28115
  disableClientFilter: !!onTicketSearch,
28110
28116
  onInputChange: (value, reason) => {
28111
- if (reason === "input") _optionalChain([onTicketSearch, 'optionalCall', _583 => _583(value)]);
28117
+ if (reason === "input") _optionalChain([onTicketSearch, 'optionalCall', _586 => _586(value)]);
28112
28118
  }
28113
28119
  }
28114
28120
  ),
@@ -28123,7 +28129,7 @@ function TimeTrackerPanel({
28123
28129
  disabled: customerLocked,
28124
28130
  disableClientFilter: !!onCustomerSearch,
28125
28131
  onInputChange: (value, reason) => {
28126
- if (reason === "input") _optionalChain([onCustomerSearch, 'optionalCall', _584 => _584(value)]);
28132
+ if (reason === "input") _optionalChain([onCustomerSearch, 'optionalCall', _587 => _587(value)]);
28127
28133
  },
28128
28134
  startAdornment: customerStartAdornment,
28129
28135
  renderOption: renderCustomerOption
@@ -28225,7 +28231,7 @@ function LastEntryRow({ entry, onClick }) {
28225
28231
  {
28226
28232
  variant: "outline",
28227
28233
  size: "icon",
28228
- onClick: () => _optionalChain([onClick, 'optionalCall', _585 => _585(entry)]),
28234
+ onClick: () => _optionalChain([onClick, 'optionalCall', _588 => _588(entry)]),
28229
28235
  disabled: !onClick,
28230
28236
  "aria-label": `Open entry: ${entry.title}`,
28231
28237
  className: "h-12 w-12 shrink-0 [&_svg]:!size-6",
@@ -28309,28 +28315,28 @@ function HeaderButton({
28309
28315
  function TimeTrackerHeaderButton({ className, disabled }) {
28310
28316
  const ctx = useOptionalTimeTracker();
28311
28317
  const elapsedLabel = useTrackerClock({
28312
- status: _nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _586 => _586.status]), () => ( "ready")),
28313
- runningSince: _optionalChain([ctx, 'optionalAccess', _587 => _587.runningSince]),
28314
- accumulatedMs: _optionalChain([ctx, 'optionalAccess', _588 => _588.accumulatedMs])
28318
+ status: _nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _589 => _589.status]), () => ( "ready")),
28319
+ runningSince: _optionalChain([ctx, 'optionalAccess', _590 => _590.runningSince]),
28320
+ accumulatedMs: _optionalChain([ctx, 'optionalAccess', _591 => _591.accumulatedMs])
28315
28321
  });
28316
28322
  const layoutContainer = useAppLayoutDrawerContainer();
28317
28323
  const coordination = useAppLayoutDrawerCoordination();
28318
- const isOpen = _nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _589 => _589.isOpen]), () => ( false));
28324
+ const isOpen = _nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _592 => _592.isOpen]), () => ( false));
28319
28325
  const isOpenRef = _react.useRef.call(void 0, isOpen);
28320
- const closeRef = _react.useRef.call(void 0, _optionalChain([ctx, 'optionalAccess', _590 => _590.close]));
28326
+ const closeRef = _react.useRef.call(void 0, _optionalChain([ctx, 'optionalAccess', _593 => _593.close]));
28321
28327
  _react.useEffect.call(void 0, () => {
28322
28328
  isOpenRef.current = isOpen;
28323
- closeRef.current = _optionalChain([ctx, 'optionalAccess', _591 => _591.close]);
28329
+ closeRef.current = _optionalChain([ctx, 'optionalAccess', _594 => _594.close]);
28324
28330
  });
28325
28331
  const [selfHandle] = _react.useState.call(void 0, () => ({
28326
28332
  close: () => {
28327
- if (isOpenRef.current) _optionalChain([closeRef, 'access', _592 => _592.current, 'optionalCall', _593 => _593()]);
28333
+ if (isOpenRef.current) _optionalChain([closeRef, 'access', _595 => _595.current, 'optionalCall', _596 => _596()]);
28328
28334
  }
28329
28335
  }));
28330
28336
  _react.useEffect.call(void 0, () => {
28331
- if (isOpen) _optionalChain([coordination, 'optionalAccess', _594 => _594.notifyDrawerDidOpen, 'call', _595 => _595(selfHandle)]);
28337
+ if (isOpen) _optionalChain([coordination, 'optionalAccess', _597 => _597.notifyDrawerDidOpen, 'call', _598 => _598(selfHandle)]);
28332
28338
  }, [isOpen, coordination, selfHandle]);
28333
- _react.useEffect.call(void 0, () => _optionalChain([coordination, 'optionalAccess', _596 => _596.registerDrawer, 'call', _597 => _597(selfHandle)]), [coordination, selfHandle]);
28339
+ _react.useEffect.call(void 0, () => _optionalChain([coordination, 'optionalAccess', _599 => _599.registerDrawer, 'call', _600 => _600(selfHandle)]), [coordination, selfHandle]);
28334
28340
  if (!ctx) return null;
28335
28341
  const { open, close, status } = ctx;
28336
28342
  const isPaused = status === "paused";
@@ -28462,7 +28468,7 @@ function autoScrollAncestors(element) {
28462
28468
 
28463
28469
  // src/components/features/board/aim.ts
28464
28470
  var _closestedge = require('@atlaskit/pragmatic-drag-and-drop-hitbox/closest-edge');
28465
- var othersIn = (columns, columnId, ticketId) => (_nullishCoalesce(_optionalChain([columns, 'access', _598 => _598.find, 'call', _599 => _599((c) => c.id === columnId), 'optionalAccess', _600 => _600.tickets]), () => ( []))).filter((t) => t.id !== ticketId);
28471
+ var othersIn = (columns, columnId, ticketId) => (_nullishCoalesce(_optionalChain([columns, 'access', _601 => _601.find, 'call', _602 => _602((c) => c.id === columnId), 'optionalAccess', _603 => _603.tickets]), () => ( []))).filter((t) => t.id !== ticketId);
28466
28472
  function laneOf(columns, ticketId) {
28467
28473
  return _nullishCoalesce(columns.find((c) => c.tickets.some((t) => t.id === ticketId)), () => ( null));
28468
28474
  }
@@ -28506,11 +28512,11 @@ function aimToChange(columns, ticketId, aim) {
28506
28512
  const lane = laneOf(columns, ticketId);
28507
28513
  if (!lane) return null;
28508
28514
  const others = othersIn(columns, aim.columnId, ticketId);
28509
- const afterTicketId = _nullishCoalesce(_optionalChain([others, 'access', _601 => _601[aim.index - 1], 'optionalAccess', _602 => _602.id]), () => ( null));
28510
- const beforeTicketId = _nullishCoalesce(_optionalChain([others, 'access', _603 => _603[aim.index], 'optionalAccess', _604 => _604.id]), () => ( null));
28515
+ const afterTicketId = _nullishCoalesce(_optionalChain([others, 'access', _604 => _604[aim.index - 1], 'optionalAccess', _605 => _605.id]), () => ( null));
28516
+ const beforeTicketId = _nullishCoalesce(_optionalChain([others, 'access', _606 => _606[aim.index], 'optionalAccess', _607 => _607.id]), () => ( null));
28511
28517
  if (lane.id === aim.columnId) {
28512
28518
  const currentIndex = lane.tickets.findIndex((t) => t.id === ticketId);
28513
- if ((_nullishCoalesce(_optionalChain([lane, 'access', _605 => _605.tickets, 'access', _606 => _606[currentIndex - 1], 'optionalAccess', _607 => _607.id]), () => ( null))) === afterTicketId) return null;
28519
+ if ((_nullishCoalesce(_optionalChain([lane, 'access', _608 => _608.tickets, 'access', _609 => _609[currentIndex - 1], 'optionalAccess', _610 => _610.id]), () => ( null))) === afterTicketId) return null;
28514
28520
  }
28515
28521
  return { ticketId, fromColumnId: lane.id, toColumnId: aim.columnId, afterTicketId, beforeTicketId };
28516
28522
  }
@@ -28781,14 +28787,14 @@ function useIsLanding(ticketId) {
28781
28787
  return _react.useContext.call(void 0, LandingCardContext) === ticketId;
28782
28788
  }
28783
28789
  function hasMoveSettled(columns, move) {
28784
- const tickets = _optionalChain([columns, 'access', _608 => _608.find, 'call', _609 => _609((c) => c.id === move.toColumnId), 'optionalAccess', _610 => _610.tickets]);
28790
+ const tickets = _optionalChain([columns, 'access', _611 => _611.find, 'call', _612 => _612((c) => c.id === move.toColumnId), 'optionalAccess', _613 => _613.tickets]);
28785
28791
  if (!tickets) return false;
28786
28792
  const index = tickets.findIndex((t) => t.id === move.ticketId);
28787
28793
  if (index < 0) return false;
28788
28794
  if (move.fromColumnId === move.toColumnId) {
28789
- return (_nullishCoalesce(_optionalChain([tickets, 'access', _611 => _611[index - 1], 'optionalAccess', _612 => _612.id]), () => ( null))) === move.afterTicketId;
28795
+ return (_nullishCoalesce(_optionalChain([tickets, 'access', _614 => _614[index - 1], 'optionalAccess', _615 => _615.id]), () => ( null))) === move.afterTicketId;
28790
28796
  }
28791
- return !_optionalChain([columns, 'access', _613 => _613.find, 'call', _614 => _614((c) => c.id === move.fromColumnId), 'optionalAccess', _615 => _615.tickets, 'access', _616 => _616.some, 'call', _617 => _617((t) => t.id === move.ticketId)]);
28797
+ return !_optionalChain([columns, 'access', _616 => _616.find, 'call', _617 => _617((c) => c.id === move.fromColumnId), 'optionalAccess', _618 => _618.tickets, 'access', _619 => _619.some, 'call', _620 => _620((t) => t.id === move.ticketId)]);
28792
28798
  }
28793
28799
 
28794
28800
  // src/components/features/board/ticket-card.tsx
@@ -28813,9 +28819,9 @@ var TICKET_CARD_SHELL = "relative flex flex-col gap-[var(--spacing-system-sf)] r
28813
28819
  function TicketCardBody({ ticket, columnColor, renderAssignSlot, onApprove, onReject }) {
28814
28820
  const showNewMessage = !!ticket.hasNewMessage && !!columnColor;
28815
28821
  const newMessageTextColor = columnColor ? _chunkYXTAV2E3cjs.getReadableTextColor.call(void 0, columnColor) : void 0;
28816
- const showDeviceRow = !!(_optionalChain([ticket, 'access', _618 => _618.deviceHostnames, 'optionalAccess', _619 => _619.length]) || ticket.organizationName);
28817
- const deviceText = [_optionalChain([ticket, 'access', _620 => _620.deviceHostnames, 'optionalAccess', _621 => _621.join, 'call', _622 => _622(", ")]), ticket.organizationName].filter(Boolean).join(", ");
28818
- const hasRightSection = !!(ticket.priority || _optionalChain([ticket, 'access', _623 => _623.assignees, 'optionalAccess', _624 => _624.length]) || renderAssignSlot);
28822
+ const showDeviceRow = !!(_optionalChain([ticket, 'access', _621 => _621.deviceHostnames, 'optionalAccess', _622 => _622.length]) || ticket.organizationName);
28823
+ const deviceText = [_optionalChain([ticket, 'access', _623 => _623.deviceHostnames, 'optionalAccess', _624 => _624.join, 'call', _625 => _625(", ")]), ticket.organizationName].filter(Boolean).join(", ");
28824
+ const hasRightSection = !!(ticket.priority || _optionalChain([ticket, 'access', _626 => _626.assignees, 'optionalAccess', _627 => _627.length]) || renderAssignSlot);
28819
28825
  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: [
28820
28826
  ticket.priority && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
28821
28827
  _chunkGSQM4PDRcjs.Flag02Icon,
@@ -28824,7 +28830,7 @@ function TicketCardBody({ ticket, columnColor, renderAssignSlot, onApprove, onRe
28824
28830
  "aria-label": `Priority: ${ticket.priority}`
28825
28831
  }
28826
28832
  ),
28827
- renderAssignSlot ? renderAssignSlot(ticket) : _optionalChain([ticket, 'access', _625 => _625.assignees, 'optionalAccess', _626 => _626.length]) ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex -space-x-2", children: [
28833
+ renderAssignSlot ? renderAssignSlot(ticket) : _optionalChain([ticket, 'access', _628 => _628.assignees, 'optionalAccess', _629 => _629.length]) ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex -space-x-2", children: [
28828
28834
  ticket.assignees.slice(0, MAX_VISIBLE_ASSIGNEES).map(
28829
28835
  (a) => a.deleted ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
28830
28836
  DeletedUserAvatar,
@@ -28864,7 +28870,7 @@ function TicketCardBody({ ticket, columnColor, renderAssignSlot, onApprove, onRe
28864
28870
  ] }),
28865
28871
  rightSection
28866
28872
  ] }),
28867
- _optionalChain([ticket, 'access', _627 => _627.tags, 'optionalAccess', _628 => _628.length]) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketTagRow, { tags: ticket.tags }) : null,
28873
+ _optionalChain([ticket, 'access', _630 => _630.tags, 'optionalAccess', _631 => _631.length]) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketTagRow, { tags: ticket.tags }) : null,
28868
28874
  timestampLabel && tooltipLabel && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYXTAV2E3cjs.TooltipProvider, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkYXTAV2E3cjs.Tooltip, { children: [
28869
28875
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYXTAV2E3cjs.TooltipTrigger, { asChild: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "pointer-events-auto truncate text-ods-text-secondary text-h6", children: timestampLabel }) }),
28870
28876
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYXTAV2E3cjs.TooltipContent, { children: tooltipLabel })
@@ -28931,7 +28937,7 @@ var TicketCard = _react.memo.call(void 0, function TicketCardImpl({
28931
28937
  const isLanding = useIsLanding(ticket.id);
28932
28938
  const aim = useDropAim();
28933
28939
  const closestEdge = aim && aim.columnId === columnId && aim.ticketId === ticket.id ? aim.edge : null;
28934
- const isSource = isDragging || _optionalChain([aim, 'optionalAccess', _629 => _629.ticket, 'access', _630 => _630.id]) === ticket.id;
28940
+ const isSource = isDragging || _optionalChain([aim, 'optionalAccess', _632 => _632.ticket, 'access', _633 => _633.id]) === ticket.id;
28935
28941
  const lift = useBoardLift();
28936
28942
  const handleKeyDown = (e) => {
28937
28943
  if (e.key !== " " || dragDisabled || !lift) return;
@@ -29184,7 +29190,7 @@ var BoardColumn = _react.memo.call(void 0, function BoardColumnImpl({
29184
29190
  // large ones like the only thing that did.
29185
29191
  getData: ({ input, element: lane, source }) => {
29186
29192
  const nearest = nearestCardIn(lane, input.clientY, String(source.data.ticketId));
29187
- const ticketId = _optionalChain([nearest, 'optionalAccess', _631 => _631.dataset, 'access', _632 => _632.ticketId]);
29193
+ const ticketId = _optionalChain([nearest, 'optionalAccess', _634 => _634.dataset, 'access', _635 => _635.ticketId]);
29188
29194
  if (!nearest || !ticketId) return { type: "column", columnId: column.id };
29189
29195
  return _closestedge.attachClosestEdge.call(void 0,
29190
29196
  { type: "ticket", ticketId, columnId: column.id },
@@ -29196,7 +29202,7 @@ var BoardColumn = _react.memo.call(void 0, function BoardColumnImpl({
29196
29202
  onDrop: () => setIsOver(false)
29197
29203
  });
29198
29204
  }, [column.id, column.dropDisabled, column.allowedFromColumns, collapsed, touchMode]);
29199
- const handleToggleCollapse = _react.useCallback.call(void 0, () => _optionalChain([onToggleCollapse, 'optionalCall', _633 => _633(column.id)]), [onToggleCollapse, column.id]);
29205
+ const handleToggleCollapse = _react.useCallback.call(void 0, () => _optionalChain([onToggleCollapse, 'optionalCall', _636 => _636(column.id)]), [onToggleCollapse, column.id]);
29200
29206
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
29201
29207
  "div",
29202
29208
  {
@@ -29275,7 +29281,7 @@ function ColumnBody({
29275
29281
  const observer = new IntersectionObserver(
29276
29282
  (entries) => {
29277
29283
  if (entries.some((e) => e.isIntersecting)) {
29278
- _optionalChain([loadMoreRef, 'access', _634 => _634.current, 'optionalCall', _635 => _635(columnIdRef.current)]);
29284
+ _optionalChain([loadMoreRef, 'access', _637 => _637.current, 'optionalCall', _638 => _638(columnIdRef.current)]);
29279
29285
  }
29280
29286
  },
29281
29287
  { root, rootMargin: loadMoreRootMargin }
@@ -29300,7 +29306,7 @@ function ColumnBody({
29300
29306
  ticket: t,
29301
29307
  columnId: column.id,
29302
29308
  columnColor: column.color,
29303
- href: _optionalChain([getTicketHref, 'optionalCall', _636 => _636(t.id)]),
29309
+ href: _optionalChain([getTicketHref, 'optionalCall', _639 => _639(t.id)]),
29304
29310
  renderAssignSlot,
29305
29311
  onApprove,
29306
29312
  onReject,
@@ -29476,7 +29482,7 @@ function DragBoard({
29476
29482
  const [landing, setLanding] = _react.useState.call(void 0, null);
29477
29483
  const landingTimer = _react.useRef.call(void 0, null);
29478
29484
  const pointRef = _react.useRef.call(void 0, { x: 0, y: 0 });
29479
- const laneLabel = _react.useCallback.call(void 0, (columnId) => _nullishCoalesce(_optionalChain([view, 'access', _637 => _637.find, 'call', _638 => _638((c) => c.id === columnId), 'optionalAccess', _639 => _639.label]), () => ( columnId)), [view]);
29485
+ const laneLabel = _react.useCallback.call(void 0, (columnId) => _nullishCoalesce(_optionalChain([view, 'access', _640 => _640.find, 'call', _641 => _641((c) => c.id === columnId), 'optionalAccess', _642 => _642.label]), () => ( columnId)), [view]);
29480
29486
  const acceptsLifted = _react.useCallback.call(void 0,
29481
29487
  (fromColumnId) => (column) => {
29482
29488
  if (column.dropDisabled || collapsed[column.id]) return false;
@@ -29490,7 +29496,7 @@ function DragBoard({
29490
29496
  const start = initialAim(view, ticketId);
29491
29497
  if (!start) return;
29492
29498
  setLifted({ ticketId, aim: start });
29493
- const title = _nullishCoalesce(_optionalChain([laneOf, 'call', _640 => _640(view, ticketId), 'optionalAccess', _641 => _641.tickets, 'access', _642 => _642.find, 'call', _643 => _643((t) => t.id === ticketId), 'optionalAccess', _644 => _644.title]), () => ( "Ticket"));
29499
+ const title = _nullishCoalesce(_optionalChain([laneOf, 'call', _643 => _643(view, ticketId), 'optionalAccess', _644 => _644.tickets, 'access', _645 => _645.find, 'call', _646 => _646((t) => t.id === ticketId), 'optionalAccess', _647 => _647.title]), () => ( "Ticket"));
29494
29500
  setAnnouncement(`${title} lifted. Use the arrow keys to move it, space to drop it, escape to put it back.`);
29495
29501
  },
29496
29502
  [view]
@@ -29515,11 +29521,11 @@ function DragBoard({
29515
29521
  const walk = _react.useCallback.call(void 0,
29516
29522
  (key) => {
29517
29523
  if (!lifted) return;
29518
- const from = _nullishCoalesce(_optionalChain([laneOf, 'call', _645 => _645(view, lifted.ticketId), 'optionalAccess', _646 => _646.id]), () => ( lifted.aim.columnId));
29524
+ const from = _nullishCoalesce(_optionalChain([laneOf, 'call', _648 => _648(view, lifted.ticketId), 'optionalAccess', _649 => _649.id]), () => ( lifted.aim.columnId));
29519
29525
  const next = moveAim(view, lifted.ticketId, lifted.aim, key, acceptsLifted(from));
29520
29526
  if (next === lifted.aim) return;
29521
29527
  setLifted({ ...lifted, aim: next });
29522
- const total = (_nullishCoalesce(_optionalChain([view, 'access', _647 => _647.find, 'call', _648 => _648((c) => c.id === next.columnId), 'optionalAccess', _649 => _649.tickets]), () => ( []))).filter(
29528
+ const total = (_nullishCoalesce(_optionalChain([view, 'access', _650 => _650.find, 'call', _651 => _651((c) => c.id === next.columnId), 'optionalAccess', _652 => _652.tickets]), () => ( []))).filter(
29523
29529
  (t) => t.id !== lifted.ticketId
29524
29530
  ).length;
29525
29531
  setAnnouncement(`${laneLabel(next.columnId)}, position ${next.index + 1} of ${total + 1}.`);
@@ -29546,11 +29552,11 @@ function DragBoard({
29546
29552
  }, [lifted, drop, walk]);
29547
29553
  _react.useEffect.call(void 0, () => {
29548
29554
  if (!lifted) return;
29549
- _optionalChain([boardRef, 'access', _650 => _650.current, 'optionalAccess', _651 => _651.querySelector, 'call', _652 => _652(`[${DROP_LINE_ATTRIBUTE}]`), 'optionalAccess', _653 => _653.scrollIntoView, 'call', _654 => _654({ block: "nearest", inline: "nearest" })]);
29555
+ _optionalChain([boardRef, 'access', _653 => _653.current, 'optionalAccess', _654 => _654.querySelector, 'call', _655 => _655(`[${DROP_LINE_ATTRIBUTE}]`), 'optionalAccess', _656 => _656.scrollIntoView, 'call', _657 => _657({ block: "nearest", inline: "nearest" })]);
29550
29556
  }, [lifted]);
29551
29557
  const keyboardAim = _react.useMemo.call(void 0, () => {
29552
29558
  if (!lifted) return null;
29553
- const ticket = _optionalChain([laneOf, 'call', _655 => _655(view, lifted.ticketId), 'optionalAccess', _656 => _656.tickets, 'access', _657 => _657.find, 'call', _658 => _658((t) => t.id === lifted.ticketId)]);
29559
+ const ticket = _optionalChain([laneOf, 'call', _658 => _658(view, lifted.ticketId), 'optionalAccess', _659 => _659.tickets, 'access', _660 => _660.find, 'call', _661 => _661((t) => t.id === lifted.ticketId)]);
29554
29560
  if (!ticket) return null;
29555
29561
  const anchor = aimToChange(view, lifted.ticketId, lifted.aim) ? aimAnchor(view, lifted.ticketId, lifted.aim) : { ticketId: null, edge: null };
29556
29562
  return { columnId: lifted.aim.columnId, ...anchor, ticket };
@@ -29572,7 +29578,7 @@ function DragBoard({
29572
29578
  return { columnId: slot.columnId, ...anchor, ticket };
29573
29579
  };
29574
29580
  const aimAt = (source, targets) => {
29575
- const next = readAim(source, _optionalChain([targets, 'access', _659 => _659[0], 'optionalAccess', _660 => _660.data]));
29581
+ const next = readAim(source, _optionalChain([targets, 'access', _662 => _662[0], 'optionalAccess', _663 => _663.data]));
29576
29582
  setAim((prev) => isSameAim(prev, next) ? prev : next);
29577
29583
  };
29578
29584
  return _combine.combine.call(void 0,
@@ -29601,7 +29607,7 @@ function DragBoard({
29601
29607
  setLanding(null);
29602
29608
  dragGeometry.current = {
29603
29609
  ticket,
29604
- columnColor: _optionalChain([columnsRef, 'access', _661 => _661.current, 'access', _662 => _662.find, 'call', _663 => _663((c) => c.id === source.data.columnId), 'optionalAccess', _664 => _664.color]),
29610
+ columnColor: _optionalChain([columnsRef, 'access', _664 => _664.current, 'access', _665 => _665.find, 'call', _666 => _666((c) => c.id === source.data.columnId), 'optionalAccess', _667 => _667.color]),
29605
29611
  width: rect.width,
29606
29612
  grabX: clientX - rect.left,
29607
29613
  grabY: clientY - rect.top
@@ -29618,7 +29624,7 @@ function DragBoard({
29618
29624
  setAim(null);
29619
29625
  const change = resolveBoardDrop(columnsRef.current, {
29620
29626
  source: source.data,
29621
- target: _optionalChain([location, 'access', _665 => _665.current, 'access', _666 => _666.dropTargets, 'access', _667 => _667[0], 'optionalAccess', _668 => _668.data])
29627
+ target: _optionalChain([location, 'access', _668 => _668.current, 'access', _669 => _669.dropTargets, 'access', _670 => _670[0], 'optionalAccess', _671 => _671.data])
29622
29628
  });
29623
29629
  if (!change) return;
29624
29630
  setPendingMove({
@@ -29651,7 +29657,7 @@ function DragBoard({
29651
29657
  return void 0;
29652
29658
  }
29653
29659
  const to = card.getBoundingClientRect();
29654
- const lane = _optionalChain([nearestScrollableAncestor, 'call', _669 => _669(card), 'optionalAccess', _670 => _670.getBoundingClientRect, 'call', _671 => _671()]);
29660
+ const lane = _optionalChain([nearestScrollableAncestor, 'call', _672 => _672(card), 'optionalAccess', _673 => _673.getBoundingClientRect, 'call', _674 => _674()]);
29655
29661
  if (lane && (to.top < lane.top || to.bottom > lane.bottom)) {
29656
29662
  finish();
29657
29663
  return void 0;
@@ -29710,8 +29716,8 @@ function DragBoard({
29710
29716
  children: view.map((column, i) => {
29711
29717
  const prev = view[i - 1];
29712
29718
  const next = view[i + 1];
29713
- const joinLeft = !!(column.system && _optionalChain([prev, 'optionalAccess', _672 => _672.system]));
29714
- const joinRight = !!(column.system && _optionalChain([next, 'optionalAccess', _673 => _673.system]));
29719
+ const joinLeft = !!(column.system && _optionalChain([prev, 'optionalAccess', _675 => _675.system]));
29720
+ const joinRight = !!(column.system && _optionalChain([next, 'optionalAccess', _676 => _676.system]));
29715
29721
  const showGap = i > 0 && !joinLeft;
29716
29722
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react.Fragment, { children: [
29717
29723
  showGap && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "aria-hidden": true, className: "w-[var(--spacing-system-mf)] shrink-0" }),
@@ -29891,13 +29897,13 @@ function SortableList({ onReorder, getItemLabel, disabled = false, className, ch
29891
29897
  const [flipTick, setFlipTick] = _react.useState.call(void 0, 0);
29892
29898
  const flipTimer = _react.useRef.call(void 0, null);
29893
29899
  const readItems = _react.useCallback.call(void 0,
29894
- () => [..._nullishCoalesce(_optionalChain([listRef, 'access', _674 => _674.current, 'optionalAccess', _675 => _675.querySelectorAll, 'call', _676 => _676(`[${SORTABLE_ITEM_ATTRIBUTE}]`)]), () => ( []))],
29900
+ () => [..._nullishCoalesce(_optionalChain([listRef, 'access', _677 => _677.current, 'optionalAccess', _678 => _678.querySelectorAll, 'call', _679 => _679(`[${SORTABLE_ITEM_ATTRIBUTE}]`)]), () => ( []))],
29895
29901
  []
29896
29902
  );
29897
29903
  const reorder = _react.useCallback.call(void 0,
29898
29904
  (from, to) => {
29899
29905
  if (from === to) return;
29900
- const label = _nullishCoalesce(_optionalChain([getItemLabelRef, 'access', _677 => _677.current, 'optionalCall', _678 => _678(from)]), () => ( "Item"));
29906
+ const label = _nullishCoalesce(_optionalChain([getItemLabelRef, 'access', _680 => _680.current, 'optionalCall', _681 => _681(from)]), () => ( "Item"));
29901
29907
  setAnnouncement(`${label} moved to position ${to + 1} of ${readItems().length}.`);
29902
29908
  onReorderRef.current(from, to);
29903
29909
  },
@@ -29985,7 +29991,7 @@ function SortableList({ onReorder, getItemLabel, disabled = false, className, ch
29985
29991
  moving.push(item);
29986
29992
  }
29987
29993
  if (moving.length === 0) return;
29988
- void _optionalChain([listRef, 'access', _679 => _679.current, 'optionalAccess', _680 => _680.offsetHeight]);
29994
+ void _optionalChain([listRef, 'access', _682 => _682.current, 'optionalAccess', _683 => _683.offsetHeight]);
29989
29995
  for (const item of moving) {
29990
29996
  item.style.transition = `transform ${DROP_MS2}ms ${EASING}`;
29991
29997
  item.style.transform = "";
@@ -30022,8 +30028,8 @@ function SortableMoveButtons({ index, count, label, className }) {
30022
30028
  if (to < 0 || to >= count) return;
30023
30029
  reorder(index, to);
30024
30030
  requestAnimationFrame(() => {
30025
- if (step === -1 && to === 0) _optionalChain([downRef, 'access', _681 => _681.current, 'optionalAccess', _682 => _682.focus, 'call', _683 => _683()]);
30026
- if (step === 1 && to === count - 1) _optionalChain([upRef, 'access', _684 => _684.current, 'optionalAccess', _685 => _685.focus, 'call', _686 => _686()]);
30031
+ if (step === -1 && to === 0) _optionalChain([downRef, 'access', _684 => _684.current, 'optionalAccess', _685 => _685.focus, 'call', _686 => _686()]);
30032
+ if (step === 1 && to === count - 1) _optionalChain([upRef, 'access', _687 => _687.current, 'optionalAccess', _688 => _688.focus, 'call', _689 => _689()]);
30027
30033
  });
30028
30034
  };
30029
30035
  const subject = _nullishCoalesce(label, () => ( "item"));
@@ -30071,7 +30077,7 @@ function useSortableItem() {
30071
30077
  const [handle, setHandle] = _react.useState.call(void 0, null);
30072
30078
  const [isDragging, setIsDragging] = _react.useState.call(void 0, false);
30073
30079
  const itemRef = _react.useCallback.call(void 0, (node) => {
30074
- _optionalChain([node, 'optionalAccess', _687 => _687.setAttribute, 'call', _688 => _688(SORTABLE_ITEM_ATTRIBUTE, "")]);
30080
+ _optionalChain([node, 'optionalAccess', _690 => _690.setAttribute, 'call', _691 => _691(SORTABLE_ITEM_ATTRIBUTE, "")]);
30075
30081
  setItem(node);
30076
30082
  }, []);
30077
30083
  _react.useEffect.call(void 0, () => {
@@ -30101,7 +30107,7 @@ function useSortableItem() {
30101
30107
  if (from < 0 || to < 0 || to >= items.length) return;
30102
30108
  event.preventDefault();
30103
30109
  reorder(from, to);
30104
- requestAnimationFrame(() => _optionalChain([handle, 'optionalAccess', _689 => _689.focus, 'call', _690 => _690()]));
30110
+ requestAnimationFrame(() => _optionalChain([handle, 'optionalAccess', _692 => _692.focus, 'call', _693 => _693()]));
30105
30111
  },
30106
30112
  [inert, readItems, reorder, handle]
30107
30113
  );
@@ -30123,7 +30129,7 @@ function TicketStatusConfigList({
30123
30129
  onReorder,
30124
30130
  getItemLabel,
30125
30131
  className: _chunk23V5BSHDcjs.cn.call(void 0, "flex w-full flex-col gap-[var(--spacing-system-xs)]", className),
30126
- children: items.map((item, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SortableRow, { index, count: items.length, label: _optionalChain([getItemLabel, 'optionalCall', _691 => _691(index)]), children: (args) => renderRow(item, args) }, item.id))
30132
+ children: items.map((item, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SortableRow, { index, count: items.length, label: _optionalChain([getItemLabel, 'optionalCall', _694 => _694(index)]), children: (args) => renderRow(item, args) }, item.id))
30127
30133
  }
30128
30134
  );
30129
30135
  }
@@ -30784,4 +30790,4 @@ function SortableRow({
30784
30790
 
30785
30791
 
30786
30792
  exports.AllowedDomainsInput = AllowedDomainsInput; exports.AnnouncementBarView = AnnouncementBarView; exports.HiddenTagsPopup = HiddenTagsPopup; exports.TruncateText = TruncateText; exports.Autocomplete = Autocomplete; 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.DatePickerCalendar = DatePickerCalendar; exports.DatePicker = DatePicker; exports.DatePickerInput = DatePickerInput; exports.DatePickerInputSimple = DatePickerInputSimple; exports.DateFilterPanel = DateFilterPanel; exports.DateFilterMenu = DateFilterMenu; exports.DurationInput = DurationInput; exports.InfoHint = InfoHint; exports.Field = Field; exports.HoneypotField = HoneypotField; exports.JsonDetailList = JsonDetailList; exports.ProgressBar = ProgressBar; exports.InfoCard = InfoCard; exports.InfoRow = InfoRow; exports.DeletedUserAvatar = DeletedUserAvatar; exports.SearchableSelect = SearchableSelect; exports.AssigneeDropdown = AssigneeDropdown; exports.InfoSection = InfoSection; exports.InputTrigger = InputTrigger; exports.MediaTypeSelector = MediaTypeSelector; exports.noDataIconClasses = noDataIconClasses; exports.noDataActionsVariants = noDataActionsVariants; exports.NoDataAction = NoDataAction; exports.NoDataActions = NoDataActions; exports.NoDataMessage = NoDataMessage; 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.useConfirm = useConfirm; exports.useGuardedClose = useGuardedClose; exports.UnsavedChangesChip = UnsavedChangesChip; exports.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS = HUBSPOT_DO_NOT_COLLECT_FORM_PROPS; exports.AdminFormModal = AdminFormModal; 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.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.NavigationMenuViewport = NavigationMenuViewport; exports.NavigationMenu = NavigationMenu; exports.NavigationMenuList = NavigationMenuList; exports.NavigationMenuItem = NavigationMenuItem; exports.navigationMenuTriggerStyle = navigationMenuTriggerStyle; exports.NavigationMenuTrigger = NavigationMenuTrigger; exports.NavigationMenuContent = NavigationMenuContent; exports.NavigationMenuLink = NavigationMenuLink; exports.NavigationMenuIndicator = NavigationMenuIndicator; exports.CrossfadePanels = CrossfadePanels; exports.TabContent = TabContent; exports.TabNavigation = TabNavigation; exports.getTabById = getTabById; exports.getTabComponent = getTabComponent; exports.Alert = Alert; exports.AlertTitle = AlertTitle; exports.AlertDescription = AlertDescription; exports.AIGeneratedBadge = AIGeneratedBadge; exports.FadePreview = FadePreview; exports.Progress = Progress; exports.RichMarkdownRuntimeProvider = RichMarkdownRuntimeProvider; exports.useRichMarkdownRuntime = useRichMarkdownRuntime; exports.FullscreenSwitchController = FullscreenSwitchController; exports.EmbedIframe = EmbedIframe; exports.EmbedViewerFrame = EmbedViewerFrame; exports.ClaudeEmbed = ClaudeEmbed; exports.FigmaEmbed = FigmaEmbed; exports.EMBED_SIZES = EMBED_SIZES; exports.EmbedContainer = EmbedContainer; exports.YouTubeContainer = YouTubeContainer; exports.TwitterContainer = TwitterContainer; exports.RedditContainer = RedditContainer; exports.LinkPreviewContainer = LinkPreviewContainer; exports.LinkedInContainer = LinkedInContainer; exports.LinkedInEmbedClient = LinkedInEmbedClient; exports.MarkdownImage = MarkdownImage; exports.OGLinkErrorBoundary = OGLinkErrorBoundary; exports.OGLinkPreview = OGLinkPreview; exports.MediaCarousel = MediaCarousel; exports.RedditEmbedClient = RedditEmbedClient; exports.TwitterEmbedClient = TwitterEmbedClient; exports.SOCIAL_PLATFORM_ALIASES = SOCIAL_PLATFORM_ALIASES; exports.normalizeSocialPlatform = normalizeSocialPlatform; exports.hostMatches = hostMatches; exports.SOCIAL_PLATFORM_ALT_HOSTS = SOCIAL_PLATFORM_ALT_HOSTS; exports.socialPlatformHosts = socialPlatformHosts; exports.classifySocialHost = classifySocialHost; exports.pickSocialLink = pickSocialLink; exports.processShortcodes = processShortcodes; exports.RichMarkdownRenderer = RichMarkdownRenderer; exports.ReleaseChangelogSection = ReleaseChangelogSection; exports.StackedRowsPanel = StackedRowsPanel; exports.SlackChannelChip = SlackChannelChip; exports.StatusIndicator = StatusIndicator; exports.BackButton = BackButton; exports.ErrorState = ErrorState; exports.PageError = PageError; exports.LoadError = LoadError; exports.NotFoundError = NotFoundError; 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.SEO_TITLE_MAX_LENGTH = SEO_TITLE_MAX_LENGTH; exports.SEO_DESCRIPTION_MAX_LENGTH = SEO_DESCRIPTION_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.TICKET_OPEN_PARAM = TICKET_OPEN_PARAM; exports.buildTicketOpenHref = buildTicketOpenHref; 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.BITE_ID_RE = BITE_ID_RE; exports.generateBiteId = generateBiteId; exports.ensureBiteIds = ensureBiteIds; exports.matchBiteElement = matchBiteElement; 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.isDismissedCookieValue = isDismissedCookieValue; exports.readDismissCookie = readDismissCookie; exports.writeDismissCookie = writeDismissCookie; exports.clearDismissCookie = clearDismissCookie; exports.announcementDismissCookieName = announcementDismissCookieName; exports.dismissAnnouncement = dismissAnnouncement; exports.isAnnouncementDismissed = isAnnouncementDismissed; exports.clearAnnouncementDismissals = clearAnnouncementDismissals; exports.clearLegacyAnnouncementCache = clearLegacyAnnouncementCache; exports.WALKTHROUGH_VIDEO_DISMISS_KEY = WALKTHROUGH_VIDEO_DISMISS_KEY; exports.walkthroughDismissCookieName = walkthroughDismissCookieName; exports.isWalkthroughDismissed = isWalkthroughDismissed; exports.dismissWalkthrough = dismissWalkthrough; exports.clearWalkthroughDismissal = clearWalkthroughDismissal; exports.WALKTHROUGH_OPEN_QUERY_PARAM = WALKTHROUGH_OPEN_QUERY_PARAM; exports.withWalkthroughOpenParam = withWalkthroughOpenParam; exports.createSseSubscription = createSseSubscription; exports.readLeadingDecisionFrame = readLeadingDecisionFrame; exports.ANNOUNCEMENT_CTA_DEFAULTS = ANNOUNCEMENT_CTA_DEFAULTS; exports.AVAILABLE_SVG_ICONS = AVAILABLE_SVG_ICONS; exports.releaseTypeOptions = releaseTypeOptions; exports.releaseStatusOptions = releaseStatusOptions; exports.changelogLabels = changelogLabels; exports.SEMVER_REGEX = SEMVER_REGEX; exports.TASK_TYPE_LABELS = TASK_TYPE_LABELS; exports.TASK_TYPE_TEXT_COLORS = TASK_TYPE_TEXT_COLORS; exports.TMCG_ROLES = TMCG_ROLES; exports.TMCG_ROLE_DISPLAY_NAMES = TMCG_ROLE_DISPLAY_NAMES; exports.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.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.extractSections = extractSections; exports.SCHEDULING_SLUG_SHAPE = SCHEDULING_SLUG_SHAPE; exports.MAX_MONTH_OFFSET = MAX_MONTH_OFFSET; exports.normalizeSchedulingSlug = normalizeSchedulingSlug; exports.isValidSchedulingSlug = isValidSchedulingSlug; exports.parseSchedulingLinkName = parseSchedulingLinkName; exports.isListedSchedulingName = isListedSchedulingName; exports.schedulingAudienceKey = schedulingAudienceKey; exports.SECTION_HERO_ICON_CLASS = SECTION_HERO_ICON_CLASS; exports.FIRST_TOUCH_ATTRIBUTION_KEY = FIRST_TOUCH_ATTRIBUTION_KEY; exports.sanitizeLandingUrl = sanitizeLandingUrl; exports.parseAttributionFromUrl = parseAttributionFromUrl; exports.captureFirstTouchAttribution = captureFirstTouchAttribution; exports.getFirstTouchAttribution = getFirstTouchAttribution; exports.withFirstTouchAttribution = withFirstTouchAttribution; exports.clearFirstTouchAttribution = clearFirstTouchAttribution; exports.ODS_SPACING_TOKENS = ODS_SPACING_TOKENS; exports.ODS_SPACING_TOKEN_PATTERN = ODS_SPACING_TOKEN_PATTERN; exports.ODS_SPACING_PROPS = ODS_SPACING_PROPS; exports.TAILWIND_STEP_TO_ODS_TOKEN = TAILWIND_STEP_TO_ODS_TOKEN; exports.CSV_CONTENT_TYPE = CSV_CONTENT_TYPE; exports.csvEscape = csvEscape; exports.toCsv = toCsv; exports.BenefitCard = BenefitCard; exports.benefitCardBorderClass = benefitCardBorderClass; 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.DashboardInfoCard = DashboardInfoCard; exports.InfoCardRow = InfoCardRow; exports.OSTypeBadge = OSTypeBadge; exports.OSTypeIcon = OSTypeIcon; exports.OSTypeLabel = OSTypeLabel; exports.DeviceCard = DeviceCard; exports.DeviceCardCompact = DeviceCardCompact; exports.FeatureCardGrid = FeatureCardGrid; exports.FeatureList = FeatureList; exports.SourceTooltip = SourceTooltip; 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.TitleContentBlock = TitleContentBlock; exports.TouchFriendlyTooltip = TouchFriendlyTooltip; exports.ContentLoader = ContentLoader; exports.CardLoader = CardLoader; exports.FormLoader = FormLoader; exports.DetailLoader = DetailLoader; exports.ListLoader = ListLoader; exports.CursorPagination = CursorPagination; exports.CursorPaginationSimple = CursorPaginationSimple; exports.useDataTableContext = useDataTableContext; exports.DataTableRoot = DataTableRoot; exports.getHideClasses = getHideClasses; exports.alignJustify = alignJustify; exports.multiSelectFilterFn = multiSelectFilterFn; exports.ROW_HEIGHT_DESKTOP = ROW_HEIGHT_DESKTOP; exports.ROW_HEIGHT_MOBILE = ROW_HEIGHT_MOBILE; exports.ROW_SHELL_CLASSES = ROW_SHELL_CLASSES; exports.DataTableSkeleton = DataTableSkeleton; 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.PasswordInput = PasswordInput; exports.AccountDetailsFields = AccountDetailsFields; exports.AuthBenefitsPanel = AuthBenefitsPanel; exports.OpenFrameWordmark = OpenFrameWordmark; exports.PoweredByFlamingo = PoweredByFlamingo; exports.AuthShell = AuthShell; exports.BackToLoginLink = BackToLoginLink; exports.LabeledDivider = LabeledDivider; exports.PROVIDER_META = PROVIDER_META; exports.SsoProviderButtons = SsoProviderButtons; exports.CompleteAccountForm = CompleteAccountForm; exports.PolicyLink = PolicyLink; exports.TermsAgreementLabel = TermsAgreementLabel; exports.CreateOrganizationForm = CreateOrganizationForm; exports.InviteLinkInvalidModal = InviteLinkInvalidModal; exports.LegalLinks = LegalLinks; exports.LoginForm = LoginForm; exports.OpenFrameSsoLoginForm = OpenFrameSsoLoginForm; exports.OpenFrameSsoSignUpForm = OpenFrameSsoSignUpForm; exports.PasswordResetForm = PasswordResetForm; exports.SsoAuthShell = SsoAuthShell; exports.ProviderButton = ProviderButton; exports.AuthProvidersList = AuthProvidersList; exports.ChangelogManager = ChangelogManager; exports.ChangelogSectionsManager = ChangelogSectionsManager; exports.ClickUpTasksManager = ClickUpTasksManager; exports.CommandBox = CommandBox; exports.TAG_BADGE_CLASS = TAG_BADGE_CLASS; exports.EntityTagBadges = EntityTagBadges; exports.ErrorBoundary = ErrorBoundary; exports.SectionSelector = SectionSelector; exports.FigmaPrototypeViewer = FigmaPrototypeViewer; exports.FiltersDropdown = FiltersDropdown; exports.useFiltersDropdown = useFiltersDropdown; exports.GitHubReleasesManager = GitHubReleasesManager; exports.KnowledgeBaseLinksManager = KnowledgeBaseLinksManager; exports.LoadingProvider = LoadingProvider; exports.useLoading = useLoading; exports.MediaGalleryManager = MediaGalleryManager; exports.MoreAboutButton = MoreAboutButton; exports.OSTypeBadgeGroup = OSTypeBadgeGroup; exports.ParallaxImageShowcase = ParallaxImageShowcase; exports.PathsDisplay = PathsDisplay; exports.OPENFRAME_PATHS = OPENFRAME_PATHS; exports.getOpenFramePaths = getOpenFramePaths; exports.OPENFRAME_DOCTOR_COMMANDS = OPENFRAME_DOCTOR_COMMANDS; exports.getOpenFrameDoctorCommand = getOpenFrameDoctorCommand; exports.PlatformFilterComponent = PlatformFilterComponent; exports.UnifiedSkeleton = UnifiedSkeleton; exports.TextSkeleton = TextSkeleton; exports.InteractiveSkeleton = InteractiveSkeleton; exports.MediaSkeleton = MediaSkeleton; exports.CardSkeleton = CardSkeleton; exports.CardSkeletonGrid = CardSkeletonGrid; exports.AnnouncementBarSkeleton = AnnouncementBarSkeleton; exports.HeroSkeleton = HeroSkeleton; exports.SearchContainerSkeleton = SearchContainerSkeleton; exports.CategorySidebarSkeleton = CategorySidebarSkeleton; exports.BreadcrumbSkeleton = BreadcrumbSkeleton; exports.ResultsHeaderSkeleton = ResultsHeaderSkeleton; exports.TwoColumnLayoutSkeleton = TwoColumnLayoutSkeleton; exports.ArticleLayoutSkeleton = ArticleLayoutSkeleton; exports.VendorDetailLayoutSkeleton = VendorDetailLayoutSkeleton; exports.StatsSectionSkeleton = StatsSectionSkeleton; exports.BlogCardGridSkeleton = BlogCardGridSkeleton; exports.VendorGridSkeleton = VendorGridSkeleton; exports.SlackCommunitySkeleton = SlackCommunitySkeleton; exports.ContentLoadingContainer = ContentLoadingContainer; exports.useContentLoading = useContentLoading; exports.ParagraphSkeleton = ParagraphSkeleton; exports.ListSkeleton = ListSkeleton; exports.TableSkeleton = TableSkeleton; exports.FormSkeleton = FormSkeleton; exports.NavigationSkeleton = NavigationSkeleton; exports.ProfileSkeleton = ProfileSkeleton; exports.CommentSkeleton = CommentSkeleton; exports.FeatureListSkeleton = FeatureListSkeleton; exports.TimelineSkeleton = TimelineSkeleton; exports.PricingSkeleton = PricingSkeleton; exports.ProfileLoadingSkeleton = ProfileLoadingSkeleton; exports.MspProfileFormSkeleton = MspProfileFormSkeleton; exports.CategoryCardSkeleton = CategoryCardSkeleton; exports.CategoryVendorSelectorSkeleton = CategoryVendorSelectorSkeleton; exports.WizardLayoutSkeleton = WizardLayoutSkeleton; exports.MarginReportSkeleton = MarginReportSkeleton; exports.UsersGridSkeleton = UsersGridSkeleton; exports.DynamicSkeleton = DynamicSkeleton; exports.SkeletonPresets = SkeletonPresets; exports.PlatformSkeletonContainer = PlatformSkeletonContainer; exports.ProgressiveSkeleton = ProgressiveSkeleton; exports.OrganizationIconSkeleton = OrganizationIconSkeleton; exports.OrganizationCardSkeleton = OrganizationCardSkeleton; exports.OrganizationCardSkeletonGrid = OrganizationCardSkeletonGrid; exports.DeviceCardSkeleton = DeviceCardSkeleton; exports.DeviceCardSkeletonGrid = DeviceCardSkeletonGrid; exports.PushButtonSelector = PushButtonSelector; exports.ReleaseMediaManager = ReleaseMediaManager; exports.SelectButton = SelectButton; exports.ConfidenceBadge = ConfidenceBadge; exports.SEOEditorPreview = SEOEditorPreview; exports.SOCIAL_ICON_COMPONENTS = SOCIAL_ICON_COMPONENTS; exports.SocialIconRow = SocialIconRow; exports.SocialLinksManager = SocialLinksManager; exports.StartWithOpenFrameButton = StartWithOpenFrameButton; exports.StatusFilterComponent = StatusFilterComponent; exports.TagsSelector = TagsSelector; exports.WarningBlock = WarningBlock; exports.VideoBitesDisplay = VideoBitesDisplay; exports.FloatingWalkthroughVideo = FloatingWalkthroughVideo; exports.InlineWalkthroughVideo = InlineWalkthroughVideo; exports.useWalkthroughVideo = useWalkthroughVideo; exports.VideoSourceSelector = VideoSourceSelector; exports.SubtitlesEditor = SubtitlesEditor; 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.AppLayoutDrawerContainerContext = AppLayoutDrawerContainerContext; exports.useAppLayoutDrawerContainer = useAppLayoutDrawerContainer; exports.AppLayoutDrawerCoordinationContext = AppLayoutDrawerCoordinationContext; exports.AppLayoutDrawerRoot = AppLayoutDrawerRoot; exports.AppLayoutDrawerTrigger = AppLayoutDrawerTrigger; exports.AppLayoutDrawerClose = AppLayoutDrawerClose; exports.AppLayoutDrawerContent = AppLayoutDrawerContent; exports.AppLayoutDrawerHeader = AppLayoutDrawerHeader; exports.AppLayoutDrawerTitle = AppLayoutDrawerTitle; exports.AppLayoutDrawerDescription = AppLayoutDrawerDescription; exports.AppLayoutDrawerBody = AppLayoutDrawerBody; exports.AppLayoutDrawerFooter = AppLayoutDrawerFooter; exports.NotificationTile = NotificationTile; exports.NotificationDrawer = NotificationDrawer; exports.NotificationPopups = NotificationPopups; exports.ADMIN_APPROVAL_REQUEST_CONTEXT_TYPE = ADMIN_APPROVAL_REQUEST_CONTEXT_TYPE; exports.isApprovalNotification = isApprovalNotification; exports.getApprovalMeta = getApprovalMeta; exports.resolutionToStatus = resolutionToStatus; exports.approvalMetaToBatchData = approvalMetaToBatchData; exports.ApprovalRequestNotificationTile = ApprovalRequestNotificationTile; exports.TimeTrackerProvider = TimeTrackerProvider; exports.useTimeTracker = useTimeTracker; exports.useOptionalTimeTracker = useOptionalTimeTracker; exports.useTrackerClock = useTrackerClock; exports.TimeTrackerPanel = TimeTrackerPanel; exports.UnreadDot = UnreadDot; exports.UnreadCountBadge = UnreadCountBadge; exports.HeaderButton = HeaderButton; exports.TimeTrackerHeaderButton = TimeTrackerHeaderButton; exports.BoardColumnHeader = BoardColumnHeader; exports.tintOnDark = tintOnDark; exports.BoardTicketApproval = BoardTicketApproval; exports.TicketCardBody = TicketCardBody; exports.TicketCardView = TicketCardView; exports.TicketCard = TicketCard; exports.TicketCardSkeleton = TicketCardSkeleton; exports.BoardColumn = BoardColumn; exports.useBoardCollapse = useBoardCollapse; exports.Board = Board; exports.columnFromTicketStatus = columnFromTicketStatus; exports.groupTicketsByStatus = groupTicketsByStatus; exports.SLOT_STICKINESS = SLOT_STICKINESS; exports.SortableList = SortableList; exports.SortableMoveButtons = SortableMoveButtons; exports.useSortableItem = useSortableItem; 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.DataTableEmpty = DataTableEmpty; exports.DataTableRow = DataTableRow; exports.DataTableBody = DataTableBody; exports.DataTableCursorFooter = DataTableCursorFooter; exports.DataTableHeader = DataTableHeader; exports.DATA_TABLE_HEADER_LABEL_CLASS = DATA_TABLE_HEADER_LABEL_CLASS; exports.DataTableInfiniteFooter = DataTableInfiniteFooter; 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.formatTestRunDuration = formatTestRunDuration; exports.TestResultsSkeleton = TestResultsSkeleton; exports.TestResultsTable = TestResultsTable; exports.TestRunErrorBanner = TestRunErrorBanner; exports.TestRunResults = TestRunResults; exports.TimingStat = TimingStat; exports.TestRunStatusStat = TestRunStatusStat; exports.useTestRunState = useTestRunState; exports.TicketAttachmentsList = TicketAttachmentsList; exports.TicketDetailSection = TicketDetailSection; exports.TicketNoteCard = TicketNoteCard; exports.TicketNotesSection = TicketNotesSection; exports.TicketInfoSection = TicketInfoSection; exports.renderTicketStatusOption = renderTicketStatusOption; exports.renderTicketAssigneeOption = renderTicketAssigneeOption; exports.TakeOverTicketModal = TakeOverTicketModal; exports.ReopenTicketModal = ReopenTicketModal; exports.ReopenTicketRequestModal = ReopenTicketRequestModal; exports.FilterPillRow = FilterPillRow; exports.LazyMount = LazyMount; exports.IconTile = IconTile;
30787
- //# sourceMappingURL=chunk-JSLX5JK4.cjs.map
30793
+ //# sourceMappingURL=chunk-4MOB63HI.cjs.map