@flamingo-stack/openframe-frontend-core 0.0.265 → 0.0.266-snapshot.20260613153054

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 (104) hide show
  1. package/dist/{chunk-J5R3QIOJ.cjs → chunk-5QJQAFTP.cjs} +126 -55
  2. package/dist/chunk-5QJQAFTP.cjs.map +1 -0
  3. package/dist/chunk-722TTRIJ.cjs +29 -0
  4. package/dist/chunk-722TTRIJ.cjs.map +1 -0
  5. package/dist/{chunk-A56L7UQG.cjs → chunk-AA77CC2Y.cjs} +12 -12
  6. package/dist/{chunk-A56L7UQG.cjs.map → chunk-AA77CC2Y.cjs.map} +1 -1
  7. package/dist/{chunk-J5BBBDNA.cjs → chunk-CI5XE4LB.cjs} +37 -37
  8. package/dist/{chunk-J5BBBDNA.cjs.map → chunk-CI5XE4LB.cjs.map} +1 -1
  9. package/dist/{chunk-7MNBE7XA.cjs → chunk-CICK3FUU.cjs} +102 -4
  10. package/dist/chunk-CICK3FUU.cjs.map +1 -0
  11. package/dist/{chunk-GBUGYHDY.js → chunk-CYMMGPPV.js} +125 -54
  12. package/dist/chunk-CYMMGPPV.js.map +1 -0
  13. package/dist/{chunk-Z5YEQWLC.js → chunk-GJVSLS2R.js} +5 -7
  14. package/dist/{chunk-Z5YEQWLC.js.map → chunk-GJVSLS2R.js.map} +1 -1
  15. package/dist/{chunk-URJQGMNH.js → chunk-ICOMPUMX.js} +345 -247
  16. package/dist/chunk-ICOMPUMX.js.map +1 -0
  17. package/dist/{chunk-EXU5N5RM.js → chunk-J6O57C7S.js} +2461 -2546
  18. package/dist/chunk-J6O57C7S.js.map +1 -0
  19. package/dist/{chunk-2P6V2EWZ.cjs → chunk-O6UA475M.cjs} +302 -387
  20. package/dist/chunk-O6UA475M.cjs.map +1 -0
  21. package/dist/chunk-OO4ZGDRO.js +29 -0
  22. package/dist/chunk-OO4ZGDRO.js.map +1 -0
  23. package/dist/{chunk-TZ3PV5NT.js → chunk-P7JHUX4X.js} +2 -2
  24. package/dist/{chunk-NR535XIY.js → chunk-T2URJAX2.js} +66 -1
  25. package/dist/chunk-T2URJAX2.js.map +1 -0
  26. package/dist/{chunk-HMHMK6U6.cjs → chunk-TPZI7NBN.cjs} +16 -18
  27. package/dist/chunk-TPZI7NBN.cjs.map +1 -0
  28. package/dist/{chunk-266DUZ6D.js → chunk-XSK72QRR.js} +6 -3
  29. package/dist/chunk-XSK72QRR.js.map +1 -0
  30. package/dist/{chunk-7VMEOFEA.cjs → chunk-Y2B6WDU6.cjs} +67 -2
  31. package/dist/chunk-Y2B6WDU6.cjs.map +1 -0
  32. package/dist/{chunk-D4TWJNO5.cjs → chunk-YV55JZAD.cjs} +29 -26
  33. package/dist/chunk-YV55JZAD.cjs.map +1 -0
  34. package/dist/{chunk-6A2YQ5CY.js → chunk-Z6MKG53Z.js} +4 -4
  35. package/dist/components/chat/index.cjs +5 -5
  36. package/dist/components/chat/index.js +4 -4
  37. package/dist/components/contact/contact-form.d.ts.map +1 -1
  38. package/dist/components/contact/index.cjs +6 -6
  39. package/dist/components/contact/index.js +5 -5
  40. package/dist/components/faq/faq-section.d.ts +20 -23
  41. package/dist/components/faq/faq-section.d.ts.map +1 -1
  42. package/dist/components/faq/index.cjs +4 -4
  43. package/dist/components/faq/index.js +3 -3
  44. package/dist/components/faq-accordion.d.ts +0 -5
  45. package/dist/components/faq-accordion.d.ts.map +1 -1
  46. package/dist/components/features/entity-video-section.d.ts.map +1 -1
  47. package/dist/components/features/index.cjs +7 -8
  48. package/dist/components/features/index.cjs.map +1 -1
  49. package/dist/components/features/index.js +6 -7
  50. package/dist/components/features/video-bites-display.d.ts.map +1 -1
  51. package/dist/components/index.cjs +85 -83
  52. package/dist/components/index.cjs.map +1 -1
  53. package/dist/components/index.js +16 -14
  54. package/dist/components/index.js.map +1 -1
  55. package/dist/components/layout/page-heading.d.ts +8 -0
  56. package/dist/components/layout/page-heading.d.ts.map +1 -1
  57. package/dist/components/navigation/index.cjs +5 -5
  58. package/dist/components/navigation/index.js +4 -4
  59. package/dist/components/onboarding-guides/index.cjs +24 -25
  60. package/dist/components/onboarding-guides/index.cjs.map +1 -1
  61. package/dist/components/onboarding-guides/index.js +4 -5
  62. package/dist/components/onboarding-guides/index.js.map +1 -1
  63. package/dist/components/open-source-features.d.ts.map +1 -1
  64. package/dist/components/related-content/index.cjs +6 -6
  65. package/dist/components/related-content/index.js +5 -5
  66. package/dist/components/shared/onboarding/onboarding-walkthrough.d.ts.map +1 -1
  67. package/dist/components/tickets/index.cjs +69 -69
  68. package/dist/components/tickets/index.cjs.map +1 -1
  69. package/dist/components/tickets/index.js +10 -10
  70. package/dist/components/ui/index.cjs +9 -7
  71. package/dist/components/ui/index.cjs.map +1 -1
  72. package/dist/components/ui/index.js +10 -8
  73. package/dist/components/why-it-matters.d.ts.map +1 -1
  74. package/dist/hooks/use-toast.d.ts +1 -1
  75. package/dist/index.cjs +11 -9
  76. package/dist/index.cjs.map +1 -1
  77. package/dist/index.js +13 -11
  78. package/package.json +1 -1
  79. package/src/components/contact/contact-form.tsx +2 -1
  80. package/src/components/faq/faq-section.tsx +212 -103
  81. package/src/components/faq-accordion.tsx +1 -15
  82. package/src/components/features/entity-video-section.tsx +2 -1
  83. package/src/components/features/video-bites-display.tsx +2 -1
  84. package/src/components/layout/page-heading.tsx +9 -0
  85. package/src/components/open-source-features.tsx +3 -2
  86. package/src/components/shared/onboarding/onboarding-walkthrough.tsx +2 -1
  87. package/src/components/why-it-matters.tsx +3 -2
  88. package/dist/chunk-266DUZ6D.js.map +0 -1
  89. package/dist/chunk-2P6V2EWZ.cjs.map +0 -1
  90. package/dist/chunk-7MNBE7XA.cjs.map +0 -1
  91. package/dist/chunk-7VMEOFEA.cjs.map +0 -1
  92. package/dist/chunk-D4TWJNO5.cjs.map +0 -1
  93. package/dist/chunk-ERFO4JFK.js +0 -104
  94. package/dist/chunk-ERFO4JFK.js.map +0 -1
  95. package/dist/chunk-EXU5N5RM.js.map +0 -1
  96. package/dist/chunk-GBUGYHDY.js.map +0 -1
  97. package/dist/chunk-HMHMK6U6.cjs.map +0 -1
  98. package/dist/chunk-J5R3QIOJ.cjs.map +0 -1
  99. package/dist/chunk-NR535XIY.js.map +0 -1
  100. package/dist/chunk-TT2VBR7P.cjs +0 -104
  101. package/dist/chunk-TT2VBR7P.cjs.map +0 -1
  102. package/dist/chunk-URJQGMNH.js.map +0 -1
  103. /package/dist/{chunk-TZ3PV5NT.js.map → chunk-P7JHUX4X.js.map} +0 -0
  104. /package/dist/{chunk-6A2YQ5CY.js.map → chunk-Z6MKG53Z.js.map} +0 -0
@@ -11,6 +11,9 @@ import {
11
11
  import {
12
12
  next_image_default
13
13
  } from "./chunk-LXC6P2EO.js";
14
+ import {
15
+ SECTION_HEADING_CLASS
16
+ } from "./chunk-OO4ZGDRO.js";
14
17
  import {
15
18
  Button,
16
19
  DropdownMenu,
@@ -325,6 +328,66 @@ var TabsContent = React2.forwardRef(({ className, ...props }, ref) => /* @__PURE
325
328
  ));
326
329
  TabsContent.displayName = TabsPrimitive.Content.displayName;
327
330
 
331
+ // src/components/ui/status-badge.tsx
332
+ init_cn();
333
+ import { cva as cva2 } from "class-variance-authority";
334
+ import { jsx as jsx5 } from "react/jsx-runtime";
335
+ var statusBadgeVariants = cva2(
336
+ "inline-flex items-center justify-center rounded font-mono font-medium uppercase tracking-wide",
337
+ {
338
+ variants: {
339
+ variant: {
340
+ card: "px-3 py-1.5 text-sm",
341
+ button: "px-2 py-0.5 text-[10px] leading-none"
342
+ },
343
+ colorScheme: {
344
+ cyan: "bg-[var(--ods-flamingo-cyan-base)] text-ods-text-on-accent",
345
+ pink: "bg-[var(--ods-flamingo-pink-base)] text-ods-text-on-accent",
346
+ yellow: "bg-[var(--ods-flamingo-yellow-base)] text-ods-text-on-accent border border-[var(--ods-system-greys-black)]",
347
+ green: "bg-[var(--ods-flamingo-green-base)] text-ods-text-on-accent",
348
+ purple: "bg-[var(--ods-flamingo-purple-base)] text-ods-text-on-accent",
349
+ success: "bg-[var(--ods-attention-green-success-secondary)] text-[var(--ods-attention-green-success)]",
350
+ error: "bg-[var(--ods-attention-red-error-secondary)] text-[var(--ods-attention-red-error)]",
351
+ warning: "bg-[var(--ods-attention-yellow-warning-secondary)] text-[var(--ods-attention-yellow-warning)]",
352
+ default: "bg-ods-bg-secondary text-ods-text-primary",
353
+ // Border-only variants (no background) - for task type badges
354
+ accentBorder: "bg-transparent border-2 text-ods-accent border-ods-accent",
355
+ errorBorder: "bg-transparent border-2 text-[var(--ods-attention-red-error)] border-[var(--ods-attention-red-error)]",
356
+ whiteBorder: "bg-transparent border-2 text-ods-text-primary border-ods-text-primary"
357
+ }
358
+ },
359
+ defaultVariants: {
360
+ variant: "card",
361
+ colorScheme: "default"
362
+ }
363
+ }
364
+ );
365
+ function StatusBadge({
366
+ text,
367
+ variant,
368
+ colorScheme,
369
+ className,
370
+ singleLine,
371
+ ...props
372
+ }) {
373
+ const renderText = () => {
374
+ if (singleLine) return text;
375
+ if (variant === "button" && text.includes(" ")) {
376
+ const words = text.split(" ");
377
+ return /* @__PURE__ */ jsx5("span", { className: "flex flex-col items-center justify-center text-center gap-0", children: words.map((word, index) => /* @__PURE__ */ jsx5("span", { className: "block", children: word }, index)) });
378
+ }
379
+ return text;
380
+ };
381
+ return /* @__PURE__ */ jsx5(
382
+ "span",
383
+ {
384
+ className: cn(statusBadgeVariants({ variant, colorScheme }), className),
385
+ ...props,
386
+ children: renderText()
387
+ }
388
+ );
389
+ }
390
+
328
391
  // src/components/ui/simple-markdown-renderer.tsx
329
392
  import { useEffect, useState, useRef, useMemo, useCallback, memo } from "react";
330
393
  import ReactMarkdown, { defaultUrlTransform } from "react-markdown";
@@ -334,7 +397,7 @@ import rehypeHighlight from "rehype-highlight";
334
397
  import rehypeRaw from "rehype-raw";
335
398
  import { visit } from "unist-util-visit";
336
399
  init_cn();
337
- import { jsx as jsx5, jsxs as jsxs4 } from "react/jsx-runtime";
400
+ import { jsx as jsx6, jsxs as jsxs4 } from "react/jsx-runtime";
338
401
  var EVENT_HANDLER_ATTR_RE = /^on[a-z]+$/i;
339
402
  var JAVASCRIPT_URL_RE = /^[\s\x00-\x1f]*javascript:/i;
340
403
  var DATA_URL_RE = /^[\s\x00-\x1f]*data:/i;
@@ -644,15 +707,15 @@ var MermaidDiagram = ({ chart }) => {
644
707
  }, [chart, mounted]);
645
708
  if (error) {
646
709
  return /* @__PURE__ */ jsxs4("div", { className: "error-state bg-ods-card border border-ods-border rounded-lg p-6 my-6", children: [
647
- /* @__PURE__ */ jsx5("div", { className: "error-icon flex justify-center mb-4", children: /* @__PURE__ */ jsx5(AlertCircleIcon, { className: "w-12 h-12 text-ods-error" }) }),
648
- /* @__PURE__ */ jsx5("div", { className: "error-title text-center font-sans font-semibold text-lg text-ods-error mb-2", children: "Diagram Error" }),
649
- /* @__PURE__ */ jsx5("div", { className: "error-description text-center font-sans text-sm text-ods-text-secondary mb-4 break-words overflow-hidden max-w-full", children: /* @__PURE__ */ jsx5("div", { className: "overflow-x-auto", children: /* @__PURE__ */ jsx5("pre", { className: "whitespace-pre-wrap break-words text-xs", children: error }) }) })
710
+ /* @__PURE__ */ jsx6("div", { className: "error-icon flex justify-center mb-4", children: /* @__PURE__ */ jsx6(AlertCircleIcon, { className: "w-12 h-12 text-ods-error" }) }),
711
+ /* @__PURE__ */ jsx6("div", { className: "error-title text-center font-sans font-semibold text-lg text-ods-error mb-2", children: "Diagram Error" }),
712
+ /* @__PURE__ */ jsx6("div", { className: "error-description text-center font-sans text-sm text-ods-text-secondary mb-4 break-words overflow-hidden max-w-full", children: /* @__PURE__ */ jsx6("div", { className: "overflow-x-auto", children: /* @__PURE__ */ jsx6("pre", { className: "whitespace-pre-wrap break-words text-xs", children: error }) }) })
650
713
  ] });
651
714
  }
652
715
  if (isLoading || !svg) {
653
- return /* @__PURE__ */ jsx5("div", { className: "skeleton-code bg-ods-card border border-ods-border rounded-lg p-6 min-h-[120px] flex items-center justify-center", children: /* @__PURE__ */ jsx5("div", { className: "animate-pulse text-ods-text-tertiary font-sans", children: isLoading ? "Loading diagram renderer..." : "Rendering diagram..." }) });
716
+ return /* @__PURE__ */ jsx6("div", { className: "skeleton-code bg-ods-card border border-ods-border rounded-lg p-6 min-h-[120px] flex items-center justify-center", children: /* @__PURE__ */ jsx6("div", { className: "animate-pulse text-ods-text-tertiary font-sans", children: isLoading ? "Loading diagram renderer..." : "Rendering diagram..." }) });
654
717
  }
655
- return /* @__PURE__ */ jsx5("div", { className: "mermaid-container rounded-lg p-4 md:p-6 lg:p-8 my-6 overflow-x-auto bg-ods-card border border-ods-border", children: /* @__PURE__ */ jsx5("div", { className: "flex justify-center items-center w-full min-h-[200px] md:min-h-[250px] lg:min-h-[300px]", children: /* @__PURE__ */ jsx5(
718
+ return /* @__PURE__ */ jsx6("div", { className: "mermaid-container rounded-lg p-4 md:p-6 lg:p-8 my-6 overflow-x-auto bg-ods-card border border-ods-border", children: /* @__PURE__ */ jsx6("div", { className: "flex justify-center items-center w-full min-h-[200px] md:min-h-[250px] lg:min-h-[300px]", children: /* @__PURE__ */ jsx6(
656
719
  "div",
657
720
  {
658
721
  className: "mermaid-svg-container w-full flex justify-center max-w-full",
@@ -783,7 +846,7 @@ var SimpleMarkdownRendererImpl = ({
783
846
  const effectiveLevel = Tag2 === "h1" && demoteMarkdownH1ToH2 ? 2 : level;
784
847
  const id = generateHeadingId(text, effectiveLevel);
785
848
  const EffectiveTag = Tag2 === "h1" && demoteMarkdownH1ToH2 ? "h2" : Tag2;
786
- return /* @__PURE__ */ jsx5(EffectiveTag, { id, className: headingClassName, children });
849
+ return /* @__PURE__ */ jsx6(EffectiveTag, { id, className: headingClassName, children });
787
850
  },
788
851
  [generateHeadingId, demoteMarkdownH1ToH2]
789
852
  );
@@ -793,12 +856,12 @@ var SimpleMarkdownRendererImpl = ({
793
856
  const match = /language-(\w+)/.exec(codeClassName || "");
794
857
  const language = match ? match[1] : "";
795
858
  if (!inline && language === "mermaid") {
796
- return /* @__PURE__ */ jsx5(MermaidDiagram, { chart: String(children).replace(/\n$/, "") });
859
+ return /* @__PURE__ */ jsx6(MermaidDiagram, { chart: String(children).replace(/\n$/, "") });
797
860
  }
798
861
  if (!inline && match) {
799
862
  return /* @__PURE__ */ jsxs4("div", { className: "code-block-container border rounded-lg my-6 overflow-hidden bg-ods-card border-ods-border", children: [
800
- /* @__PURE__ */ jsx5("div", { className: "code-header border-b px-4 py-2 bg-ods-card border-ods-border", children: /* @__PURE__ */ jsx5("span", { className: "font-sans text-xs uppercase tracking-wide text-ods-text-tertiary", children: language || "code" }) }),
801
- /* @__PURE__ */ jsx5("div", { className: "p-4", children: /* @__PURE__ */ jsx5("pre", { className: "overflow-x-auto", children: /* @__PURE__ */ jsx5(
863
+ /* @__PURE__ */ jsx6("div", { className: "code-header border-b px-4 py-2 bg-ods-card border-ods-border", children: /* @__PURE__ */ jsx6("span", { className: "font-sans text-xs uppercase tracking-wide text-ods-text-tertiary", children: language || "code" }) }),
864
+ /* @__PURE__ */ jsx6("div", { className: "p-4", children: /* @__PURE__ */ jsx6("pre", { className: "overflow-x-auto", children: /* @__PURE__ */ jsx6(
802
865
  "code",
803
866
  {
804
867
  className: cn(`language-${language} hljs`, textSizes.code),
@@ -813,12 +876,12 @@ var SimpleMarkdownRendererImpl = ({
813
876
  ) }) })
814
877
  ] });
815
878
  }
816
- return /* @__PURE__ */ jsx5("code", { className: "font-mono text-[0.9em] px-1.5 py-0.5 rounded border bg-ods-card text-ods-text-primary border-ods-border", ...props, children });
879
+ return /* @__PURE__ */ jsx6("code", { className: "font-mono text-[0.9em] px-1.5 py-0.5 rounded border bg-ods-card text-ods-text-primary border-ods-border", ...props, children });
817
880
  },
818
881
  // --- div (pass-through, overridable for embeds) ---
819
- div: ({ node, className: divClassName, children, ...props }) => /* @__PURE__ */ jsx5("div", { className: divClassName, ...props, children }),
882
+ div: ({ node, className: divClassName, children, ...props }) => /* @__PURE__ */ jsx6("div", { className: divClassName, ...props, children }),
820
883
  // --- blockquote ---
821
- blockquote: ({ children }) => /* @__PURE__ */ jsx5("blockquote", { className: "border-l-4 border-ods-accent ml-0 pl-6 my-8 py-4 rounded-r-lg bg-ods-bg-secondary", children: /* @__PURE__ */ jsx5("div", { className: cn("font-sans leading-relaxed text-ods-text-secondary", textSizes.blockquote), children }) }),
884
+ blockquote: ({ children }) => /* @__PURE__ */ jsx6("blockquote", { className: "border-l-4 border-ods-accent ml-0 pl-6 my-8 py-4 rounded-r-lg bg-ods-bg-secondary", children: /* @__PURE__ */ jsx6("div", { className: cn("font-sans leading-relaxed text-ods-text-secondary", textSizes.blockquote), children }) }),
822
885
  // --- headings ---
823
886
  h1: makeHeading("h1", 1, cn("font-sans font-bold mt-8 mb-4 first:mt-0 text-ods-text-primary", textSizes.h1)),
824
887
  h2: makeHeading("h2", 2, cn("font-sans font-semibold mt-8 mb-4 pb-2 border-b text-ods-text-primary border-ods-border", textSizes.h2)),
@@ -827,7 +890,7 @@ var SimpleMarkdownRendererImpl = ({
827
890
  h5: makeHeading("h5", 5, cn("font-sans font-semibold mt-3 mb-2 text-ods-text-primary", textSizes.h5)),
828
891
  h6: makeHeading("h6", 6, cn("font-sans font-semibold mt-3 mb-1 text-ods-text-primary", textSizes.h6)),
829
892
  // --- paragraph ---
830
- p: ({ children }) => /* @__PURE__ */ jsx5("p", { className: cn("leading-relaxed mb-4 first:mt-0 last:mb-0 text-ods-text-primary", textSizes.p), children }),
893
+ p: ({ children }) => /* @__PURE__ */ jsx6("p", { className: cn("leading-relaxed mb-4 first:mt-0 last:mb-0 text-ods-text-primary", textSizes.p), children }),
831
894
  // --- links ---
832
895
  a: ({ href, children, className: linkClassName }) => {
833
896
  const isBroken = brokenLinks.includes(href);
@@ -835,12 +898,12 @@ var SimpleMarkdownRendererImpl = ({
835
898
  if (isBroken) {
836
899
  return /* @__PURE__ */ jsxs4("span", { className: "text-ods-accent cursor-not-allowed", children: [
837
900
  children,
838
- /* @__PURE__ */ jsx5("sup", { className: "ml-1 text-xs font-bold text-ods-attention-red-error", children: "[BROKEN]" })
901
+ /* @__PURE__ */ jsx6("sup", { className: "ml-1 text-xs font-bold text-ods-attention-red-error", children: "[BROKEN]" })
839
902
  ] });
840
903
  }
841
904
  if (isInternalDocLink && onInternalLinkClick) {
842
905
  const currentPath = propCurrentPath ?? "";
843
- return /* @__PURE__ */ jsx5(
906
+ return /* @__PURE__ */ jsx6(
844
907
  "span",
845
908
  {
846
909
  className: "text-ods-accent no-underline relative transition-colors duration-200 hover:after:w-full after:content-[''] after:absolute after:w-0 after:h-0.5 after:-bottom-0.5 after:left-0 after:bg-ods-accent after:transition-all after:duration-300 cursor-pointer",
@@ -875,7 +938,7 @@ var SimpleMarkdownRendererImpl = ({
875
938
  }
876
939
  );
877
940
  }
878
- return /* @__PURE__ */ jsx5(
941
+ return /* @__PURE__ */ jsx6(
879
942
  "a",
880
943
  {
881
944
  href,
@@ -936,7 +999,7 @@ var SimpleMarkdownRendererImpl = ({
936
999
  // (cached re-renders pop in without a perceptible shift).
937
1000
  img: ({ src, alt }) => {
938
1001
  if (!src || typeof src !== "string" || src.trim() === "") return null;
939
- return /* @__PURE__ */ jsx5(
1002
+ return /* @__PURE__ */ jsx6(
940
1003
  next_image_default,
941
1004
  {
942
1005
  src,
@@ -950,22 +1013,22 @@ var SimpleMarkdownRendererImpl = ({
950
1013
  );
951
1014
  },
952
1015
  // --- lists ---
953
- ul: ({ children }) => /* @__PURE__ */ jsx5("ul", { className: "list-disc list-outside my-4 ml-8 space-y-2 text-ods-text-primary", children }),
954
- ol: ({ children }) => /* @__PURE__ */ jsx5("ol", { className: "list-decimal list-outside my-4 ml-8 space-y-2 text-ods-text-primary", children }),
955
- li: ({ children }) => /* @__PURE__ */ jsx5("li", { className: cn("leading-relaxed pl-2", textSizes.li), children }),
1016
+ ul: ({ children }) => /* @__PURE__ */ jsx6("ul", { className: "list-disc list-outside my-4 ml-8 space-y-2 text-ods-text-primary", children }),
1017
+ ol: ({ children }) => /* @__PURE__ */ jsx6("ol", { className: "list-decimal list-outside my-4 ml-8 space-y-2 text-ods-text-primary", children }),
1018
+ li: ({ children }) => /* @__PURE__ */ jsx6("li", { className: cn("leading-relaxed pl-2", textSizes.li), children }),
956
1019
  // --- tables ---
957
- table: ({ children }) => /* @__PURE__ */ jsx5("div", { className: "table-container my-6 overflow-x-auto", children: /* @__PURE__ */ jsx5("div", { className: "min-w-full border rounded-lg border-ods-border bg-ods-card", children: /* @__PURE__ */ jsx5("table", { className: "w-full table-fixed md:table-auto", children }) }) }),
958
- thead: ({ children }) => /* @__PURE__ */ jsx5("thead", { className: "bg-ods-bg-secondary", children }),
959
- th: ({ children }) => /* @__PURE__ */ jsx5("th", { className: cn("px-2 md:px-4 py-3 text-left font-semibold text-ods-accent border-r last:border-r-0 break-words border-ods-border", textSizes.th), children }),
960
- td: ({ children }) => /* @__PURE__ */ jsx5("td", { className: cn("px-2 md:px-4 py-3 border-r last:border-r-0 border-b break-words whitespace-normal text-ods-text-primary border-ods-border", textSizes.td), children }),
1020
+ table: ({ children }) => /* @__PURE__ */ jsx6("div", { className: "table-container my-6 overflow-x-auto", children: /* @__PURE__ */ jsx6("div", { className: "min-w-full border rounded-lg border-ods-border bg-ods-card", children: /* @__PURE__ */ jsx6("table", { className: "w-full table-fixed md:table-auto", children }) }) }),
1021
+ thead: ({ children }) => /* @__PURE__ */ jsx6("thead", { className: "bg-ods-bg-secondary", children }),
1022
+ th: ({ children }) => /* @__PURE__ */ jsx6("th", { className: cn("px-2 md:px-4 py-3 text-left font-semibold text-ods-accent border-r last:border-r-0 break-words border-ods-border", textSizes.th), children }),
1023
+ td: ({ children }) => /* @__PURE__ */ jsx6("td", { className: cn("px-2 md:px-4 py-3 border-r last:border-r-0 border-b break-words whitespace-normal text-ods-text-primary border-ods-border", textSizes.td), children }),
961
1024
  // --- horizontal rule ---
962
- hr: () => /* @__PURE__ */ jsx5("hr", { className: "border-0 border-t my-8 border-ods-border" }),
1025
+ hr: () => /* @__PURE__ */ jsx6("hr", { className: "border-0 border-t my-8 border-ods-border" }),
963
1026
  // --- merge overrides ---
964
1027
  ...componentOverrides
965
1028
  }), [makeHeading, brokenLinks, propCurrentPath, onInternalLinkClick, onResolveLink, componentOverrides, textSizes]);
966
1029
  return /* @__PURE__ */ jsxs4("div", { className: `simple-markdown-renderer ${className}`, children: [
967
- /* @__PURE__ */ jsx5("style", { dangerouslySetInnerHTML: { __html: mermaidStyles } }),
968
- /* @__PURE__ */ jsx5("div", { className: "content-wrapper max-w-none break-words", children: /* @__PURE__ */ jsx5("article", { className: "prose prose-lg max-w-none", children: /* @__PURE__ */ jsx5(
1030
+ /* @__PURE__ */ jsx6("style", { dangerouslySetInnerHTML: { __html: mermaidStyles } }),
1031
+ /* @__PURE__ */ jsx6("div", { className: "content-wrapper max-w-none break-words", children: /* @__PURE__ */ jsx6("article", { className: "prose prose-lg max-w-none", children: /* @__PURE__ */ jsx6(
969
1032
  ReactMarkdown,
970
1033
  {
971
1034
  remarkPlugins: [remarkGfm, remarkBreaks, ...additionalRemarkPlugins ?? []],
@@ -1290,7 +1353,7 @@ function formatBioText(aboutHtml, fallback = "") {
1290
1353
  // src/components/ui/square-avatar.tsx
1291
1354
  import * as React4 from "react";
1292
1355
  init_cn();
1293
- import { jsx as jsx6, jsxs as jsxs5 } from "react/jsx-runtime";
1356
+ import { jsx as jsx7, jsxs as jsxs5 } from "react/jsx-runtime";
1294
1357
  var SquareAvatar = React4.memo(React4.forwardRef(
1295
1358
  ({ className, src, alt, size = "md", fallback, variant = "square", initialsClassName, ...props }, ref) => {
1296
1359
  const sizeClasses = {
@@ -1321,7 +1384,7 @@ var SquareAvatar = React4.memo(React4.forwardRef(
1321
1384
  ref,
1322
1385
  ...props,
1323
1386
  children: [
1324
- /* @__PURE__ */ jsx6("div", { className: cn(
1387
+ /* @__PURE__ */ jsx7("div", { className: cn(
1325
1388
  // Initials use `text-ods-text-primary` so they stay readable
1326
1389
  // both on the default `bg-ods-bg` AND on accent-fill backgrounds
1327
1390
  // (`bg-ods-flamingo-pink` for the current user, `bg-ods-flamingo-cyan`
@@ -1334,7 +1397,7 @@ var SquareAvatar = React4.memo(React4.forwardRef(
1334
1397
  initialsClassName,
1335
1398
  src && "hidden"
1336
1399
  ), children: getFirstLastInitials(fallback || alt) || "?" }),
1337
- src && /* @__PURE__ */ jsx6(
1400
+ src && /* @__PURE__ */ jsx7(
1338
1401
  next_image_default,
1339
1402
  {
1340
1403
  className: "absolute inset-0 h-full w-full object-cover",
@@ -1440,7 +1503,7 @@ import { Check } from "lucide-react";
1440
1503
  import React7, { useCallback as useCallback3 } from "react";
1441
1504
  init_cn();
1442
1505
  init_button();
1443
- import { Fragment, jsx as jsx7, jsxs as jsxs6 } from "react/jsx-runtime";
1506
+ import { Fragment, jsx as jsx8, jsxs as jsxs6 } from "react/jsx-runtime";
1444
1507
  var ROW_CLASSES = "flex flex-1 min-w-0 items-center gap-[var(--spacing-system-xsf)] p-[var(--spacing-system-s)] cursor-pointer transition-colors bg-ods-bg outline-none";
1445
1508
  var WRAPPER_CLASSES = "relative flex items-stretch border-b border-ods-border last:border-b-0";
1446
1509
  var SECONDARY_ACTION_CLASSES = "flex p-[var(--spacing-system-s)] shrink-0 items-center justify-center self-stretch border-l border-ods-border transition-colors hover:bg-ods-bg-hover focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ods-focus [&_svg]:w-4 [&_svg]:h-4 md:[&_svg]:w-6 md:[&_svg]:h-6";
@@ -1461,7 +1524,7 @@ var SecondaryAction = ({ action }) => {
1461
1524
  action.disabled && "cursor-not-allowed opacity-60 pointer-events-none"
1462
1525
  );
1463
1526
  if (action.href) {
1464
- return /* @__PURE__ */ jsx7(
1527
+ return /* @__PURE__ */ jsx8(
1465
1528
  next_link_default,
1466
1529
  {
1467
1530
  href: action.href,
@@ -1477,7 +1540,7 @@ var SecondaryAction = ({ action }) => {
1477
1540
  }
1478
1541
  );
1479
1542
  }
1480
- return /* @__PURE__ */ jsx7(
1543
+ return /* @__PURE__ */ jsx8(
1481
1544
  "button",
1482
1545
  {
1483
1546
  type: "button",
@@ -1531,7 +1594,7 @@ var MenuItem = ({ item, onItemClick }) => {
1531
1594
  [item, onItemClick]
1532
1595
  );
1533
1596
  if (item.type === "separator") {
1534
- return /* @__PURE__ */ jsx7("div", { className: "bg-ods-system-greys-soft-grey h-1 w-full" });
1597
+ return /* @__PURE__ */ jsx8("div", { className: "bg-ods-system-greys-soft-grey h-1 w-full" });
1535
1598
  }
1536
1599
  const itemClasses = cn(
1537
1600
  ROW_CLASSES,
@@ -1543,7 +1606,7 @@ var MenuItem = ({ item, onItemClick }) => {
1543
1606
  );
1544
1607
  const renderAsLink = !!item.href && item.type !== "submenu" && item.type !== "checkbox";
1545
1608
  const rowContent = /* @__PURE__ */ jsxs6(Fragment, { children: [
1546
- item.icon && /* @__PURE__ */ jsx7(
1609
+ item.icon && /* @__PURE__ */ jsx8(
1547
1610
  "div",
1548
1611
  {
1549
1612
  className: cn(
@@ -1554,7 +1617,7 @@ var MenuItem = ({ item, onItemClick }) => {
1554
1617
  children: item.icon
1555
1618
  }
1556
1619
  ),
1557
- /* @__PURE__ */ jsx7(
1620
+ /* @__PURE__ */ jsx8(
1558
1621
  "span",
1559
1622
  {
1560
1623
  className: cn(
@@ -1564,21 +1627,21 @@ var MenuItem = ({ item, onItemClick }) => {
1564
1627
  children: item.label
1565
1628
  }
1566
1629
  ),
1567
- item.type === "checkbox" && /* @__PURE__ */ jsx7(
1630
+ item.type === "checkbox" && /* @__PURE__ */ jsx8(
1568
1631
  "div",
1569
1632
  {
1570
1633
  className: cn(
1571
1634
  "w-4 h-4 md:w-6 md:h-6 flex items-center justify-center rounded-md transition-colors",
1572
1635
  item.checked ? "bg-ods-accent" : "border-2 border-ods-border bg-transparent"
1573
1636
  ),
1574
- children: item.checked && /* @__PURE__ */ jsx7(Check, { className: "w-3 h-3 md:w-4 md:h-4 text-ods-text-on-accent", strokeWidth: 3 })
1637
+ children: item.checked && /* @__PURE__ */ jsx8(Check, { className: "w-3 h-3 md:w-4 md:h-4 text-ods-text-on-accent", strokeWidth: 3 })
1575
1638
  }
1576
1639
  ),
1577
- item.type === "submenu" && /* @__PURE__ */ jsx7(Chevron02RightIcon, { className: "w-4 h-4 md:w-6 md:h-6 text-ods-text-secondary" })
1640
+ item.type === "submenu" && /* @__PURE__ */ jsx8(Chevron02RightIcon, { className: "w-4 h-4 md:w-6 md:h-6 text-ods-text-secondary" })
1578
1641
  ] });
1579
1642
  if (renderAsLink && item.href) {
1580
1643
  return /* @__PURE__ */ jsxs6("div", { className: WRAPPER_CLASSES, children: [
1581
- /* @__PURE__ */ jsx7(
1644
+ /* @__PURE__ */ jsx8(
1582
1645
  next_link_default,
1583
1646
  {
1584
1647
  href: item.href,
@@ -1590,13 +1653,13 @@ var MenuItem = ({ item, onItemClick }) => {
1590
1653
  children: rowContent
1591
1654
  }
1592
1655
  ),
1593
- item.iconAction && /* @__PURE__ */ jsx7(SecondaryAction, { action: item.iconAction })
1656
+ item.iconAction && /* @__PURE__ */ jsx8(SecondaryAction, { action: item.iconAction })
1594
1657
  ] });
1595
1658
  }
1596
1659
  if (item.type === "submenu" && item.submenu) {
1597
1660
  return /* @__PURE__ */ jsxs6("div", { className: WRAPPER_CLASSES, children: [
1598
1661
  /* @__PURE__ */ jsxs6(DropdownMenuPrimitive.Sub, { children: [
1599
- /* @__PURE__ */ jsx7(
1662
+ /* @__PURE__ */ jsx8(
1600
1663
  DropdownMenuPrimitive.SubTrigger,
1601
1664
  {
1602
1665
  disabled: item.disabled,
@@ -1604,12 +1667,12 @@ var MenuItem = ({ item, onItemClick }) => {
1604
1667
  children: rowContent
1605
1668
  }
1606
1669
  ),
1607
- /* @__PURE__ */ jsx7(DropdownMenuPrimitive.Portal, { children: /* @__PURE__ */ jsx7(
1670
+ /* @__PURE__ */ jsx8(DropdownMenuPrimitive.Portal, { children: /* @__PURE__ */ jsx8(
1608
1671
  DropdownMenuPrimitive.SubContent,
1609
1672
  {
1610
1673
  sideOffset: 4,
1611
1674
  className: "z-[1500] min-w-[256px] max-h-[var(--radix-popper-available-height)] bg-ods-bg border border-ods-border rounded-md shadow-xl overflow-y-auto p-0",
1612
- children: item.submenu.map((subItem, index) => /* @__PURE__ */ jsx7(
1675
+ children: item.submenu.map((subItem, index) => /* @__PURE__ */ jsx8(
1613
1676
  MenuItem,
1614
1677
  {
1615
1678
  item: subItem,
@@ -1620,11 +1683,11 @@ var MenuItem = ({ item, onItemClick }) => {
1620
1683
  }
1621
1684
  ) })
1622
1685
  ] }),
1623
- item.iconAction && /* @__PURE__ */ jsx7(SecondaryAction, { action: item.iconAction })
1686
+ item.iconAction && /* @__PURE__ */ jsx8(SecondaryAction, { action: item.iconAction })
1624
1687
  ] });
1625
1688
  }
1626
1689
  return /* @__PURE__ */ jsxs6("div", { className: WRAPPER_CLASSES, children: [
1627
- /* @__PURE__ */ jsx7(
1690
+ /* @__PURE__ */ jsx8(
1628
1691
  "div",
1629
1692
  {
1630
1693
  role: "menuitem",
@@ -1636,23 +1699,23 @@ var MenuItem = ({ item, onItemClick }) => {
1636
1699
  children: rowContent
1637
1700
  }
1638
1701
  ),
1639
- item.iconAction && /* @__PURE__ */ jsx7(SecondaryAction, { action: item.iconAction })
1702
+ item.iconAction && /* @__PURE__ */ jsx8(SecondaryAction, { action: item.iconAction })
1640
1703
  ] });
1641
1704
  };
1642
- var GroupSeparator = () => /* @__PURE__ */ jsx7("div", { className: "bg-ods-bg-surface h-[3px] w-full" });
1705
+ var GroupSeparator = () => /* @__PURE__ */ jsx8("div", { className: "bg-ods-bg-surface h-[3px] w-full" });
1643
1706
  var ActionsMenu = ({
1644
1707
  groups,
1645
1708
  className = "",
1646
1709
  onItemClick
1647
1710
  }) => {
1648
- return /* @__PURE__ */ jsx7(
1711
+ return /* @__PURE__ */ jsx8(
1649
1712
  "div",
1650
1713
  {
1651
1714
  className: `relative min-w-[256px] max-h-[var(--radix-popper-available-height)] bg-ods-bg border border-ods-border rounded-md shadow-lg overflow-y-auto ${className}`,
1652
1715
  children: groups.map((group, groupIndex) => {
1653
1716
  const groupKey = group.id || group.items.map((i) => i.id).join("|");
1654
1717
  return /* @__PURE__ */ jsxs6(React7.Fragment, { children: [
1655
- group.items.map((item, itemIndex) => /* @__PURE__ */ jsx7(
1718
+ group.items.map((item, itemIndex) => /* @__PURE__ */ jsx8(
1656
1719
  MenuItem,
1657
1720
  {
1658
1721
  item,
@@ -1660,7 +1723,7 @@ var ActionsMenu = ({
1660
1723
  },
1661
1724
  item.id || `${groupKey}-${itemIndex}`
1662
1725
  )),
1663
- group.separator && groupIndex < groups.length - 1 && /* @__PURE__ */ jsx7(GroupSeparator, {})
1726
+ group.separator && groupIndex < groups.length - 1 && /* @__PURE__ */ jsx8(GroupSeparator, {})
1664
1727
  ] }, groupKey);
1665
1728
  })
1666
1729
  }
@@ -1697,17 +1760,17 @@ var ActionsMenuDropdown = ({
1697
1760
  [onItemClick, setOpen]
1698
1761
  );
1699
1762
  return /* @__PURE__ */ jsxs6(DropdownMenu, { open, onOpenChange: setOpen, modal: false, children: [
1700
- /* @__PURE__ */ jsx7(DropdownMenuTrigger, { asChild: true, children: customTrigger ?? /* @__PURE__ */ jsx7(
1763
+ /* @__PURE__ */ jsx8(DropdownMenuTrigger, { asChild: true, children: customTrigger ?? /* @__PURE__ */ jsx8(
1701
1764
  Button,
1702
1765
  {
1703
1766
  variant: "outline",
1704
1767
  size: "icon",
1705
1768
  "aria-label": triggerAriaLabel,
1706
1769
  className: triggerClassName || "bg-ods-card border-ods-border hover:bg-ods-bg-hover flex items-center justify-center focus-visible:ring-0",
1707
- leftIcon: trigger ?? /* @__PURE__ */ jsx7(Ellipsis01Icon, { size: 24, className: "text-ods-text-primary" })
1770
+ leftIcon: trigger ?? /* @__PURE__ */ jsx8(Ellipsis01Icon, { size: 24, className: "text-ods-text-primary" })
1708
1771
  }
1709
1772
  ) }),
1710
- /* @__PURE__ */ jsx7(
1773
+ /* @__PURE__ */ jsx8(
1711
1774
  DropdownMenuContent,
1712
1775
  {
1713
1776
  align,
@@ -1718,7 +1781,7 @@ var ActionsMenuDropdown = ({
1718
1781
  "p-0 border-0 bg-transparent shadow-none overflow-visible",
1719
1782
  contentClassName
1720
1783
  ),
1721
- children: /* @__PURE__ */ jsx7(
1784
+ children: /* @__PURE__ */ jsx8(
1722
1785
  ActionsMenu,
1723
1786
  {
1724
1787
  groups,
@@ -1860,7 +1923,7 @@ function resolveExternalNavigation(args) {
1860
1923
 
1861
1924
  // src/components/chat/entity-cards/entity-author-card.tsx
1862
1925
  init_next_link();
1863
- import { jsx as jsx8, jsxs as jsxs7 } from "react/jsx-runtime";
1926
+ import { jsx as jsx9, jsxs as jsxs7 } from "react/jsx-runtime";
1864
1927
  var EMPTY_AUTHOR_PLACEHOLDER = {
1865
1928
  full_name: "\u2014",
1866
1929
  avatar_url: null,
@@ -1872,9 +1935,9 @@ function EntityMetadataValueCell({
1872
1935
  className,
1873
1936
  uppercase = true
1874
1937
  }) {
1875
- return /* @__PURE__ */ jsx8("div", { className: `bg-ods-card p-4 flex flex-col gap-3 ${className ?? ""}`, children: /* @__PURE__ */ jsxs7("div", { className: "flex flex-col gap-0", children: [
1876
- /* @__PURE__ */ jsx8("p", { className: "text-h4 text-ods-text-primary", children: uppercase ? value.toLocaleUpperCase() : value }),
1877
- /* @__PURE__ */ jsx8("p", { className: "font-['DM_Sans'] font-medium text-[14px] leading-[20px] text-ods-text-secondary", children: label })
1938
+ return /* @__PURE__ */ jsx9("div", { className: `bg-ods-card p-4 flex flex-col gap-3 ${className ?? ""}`, children: /* @__PURE__ */ jsxs7("div", { className: "flex flex-col gap-0", children: [
1939
+ /* @__PURE__ */ jsx9("p", { className: "text-h4 text-ods-text-primary", children: uppercase ? value.toLocaleUpperCase() : value }),
1940
+ /* @__PURE__ */ jsx9("p", { className: "font-['DM_Sans'] font-medium text-[14px] leading-[20px] text-ods-text-secondary", children: label })
1878
1941
  ] }) });
1879
1942
  }
1880
1943
  function EntityMetadataAuthorCell({
@@ -1886,7 +1949,7 @@ function EntityMetadataAuthorCell({
1886
1949
  const trimmedName = typeof author.full_name === "string" ? author.full_name.trim() : "";
1887
1950
  const fullName = trimmedName || "Unknown Author";
1888
1951
  return /* @__PURE__ */ jsxs7("div", { className: `bg-ods-card p-4 flex items-center gap-3 ${className ?? ""}`, children: [
1889
- /* @__PURE__ */ jsx8(
1952
+ /* @__PURE__ */ jsx9(
1890
1953
  SquareAvatar,
1891
1954
  {
1892
1955
  src: author.avatar_url || "",
@@ -1897,8 +1960,8 @@ function EntityMetadataAuthorCell({
1897
1960
  }
1898
1961
  ),
1899
1962
  /* @__PURE__ */ jsxs7("div", { className: "flex flex-col gap-0 flex-1 min-w-0", children: [
1900
- /* @__PURE__ */ jsx8("p", { className: "text-h3 tracking-[-0.36px] text-ods-text-primary truncate", title: fullName, children: authorHref && trimmedName ? /* @__PURE__ */ jsx8(next_link_default, { href: authorHref, className: "hover:text-ods-accent transition-colors", children: fullName }) : fullName }),
1901
- /* @__PURE__ */ jsx8("p", { className: "font-['DM_Sans'] font-medium text-[14px] leading-[20px] text-ods-text-secondary", children: author.job_title || roleLabel })
1963
+ /* @__PURE__ */ jsx9("p", { className: "text-h3 tracking-[-0.36px] text-ods-text-primary truncate", title: fullName, children: authorHref && trimmedName ? /* @__PURE__ */ jsx9(next_link_default, { href: authorHref, className: "hover:text-ods-accent transition-colors", children: fullName }) : fullName }),
1964
+ /* @__PURE__ */ jsx9("p", { className: "font-['DM_Sans'] font-medium text-[14px] leading-[20px] text-ods-text-secondary", children: author.job_title || roleLabel })
1902
1965
  ] })
1903
1966
  ] });
1904
1967
  }
@@ -1927,7 +1990,7 @@ function EntityAuthorCard({
1927
1990
  {
1928
1991
  className: `grid grid-cols-1 ${gridColsClass} border border-ods-border rounded-md overflow-hidden w-full ${className ?? ""}`,
1929
1992
  children: [
1930
- extras.map((cell, i) => /* @__PURE__ */ jsx8(
1993
+ extras.map((cell, i) => /* @__PURE__ */ jsx9(
1931
1994
  EntityMetadataValueCell,
1932
1995
  {
1933
1996
  value: cell.value,
@@ -1937,7 +2000,7 @@ function EntityAuthorCard({
1937
2000
  },
1938
2001
  `${cell.label}-${i}`
1939
2002
  )),
1940
- showDateCell && /* @__PURE__ */ jsx8(
2003
+ showDateCell && /* @__PURE__ */ jsx9(
1941
2004
  EntityMetadataValueCell,
1942
2005
  {
1943
2006
  value: dateLabel,
@@ -1946,21 +2009,21 @@ function EntityAuthorCard({
1946
2009
  className: dividerClass
1947
2010
  }
1948
2011
  ),
1949
- /* @__PURE__ */ jsx8(EntityMetadataAuthorCell, { author: effectiveAuthor, roleLabel, authorHref })
2012
+ /* @__PURE__ */ jsx9(EntityMetadataAuthorCell, { author: effectiveAuthor, roleLabel, authorHref })
1950
2013
  ]
1951
2014
  }
1952
2015
  );
1953
2016
  }
1954
2017
 
1955
2018
  // src/components/chat/entity-cards/blog-image-placeholder.tsx
1956
- import { jsx as jsx9 } from "react/jsx-runtime";
2019
+ import { jsx as jsx10 } from "react/jsx-runtime";
1957
2020
  function BlogImagePlaceholder({
1958
2021
  imageUrl,
1959
2022
  title,
1960
2023
  className = ""
1961
2024
  }) {
1962
2025
  if (!imageUrl) return null;
1963
- return /* @__PURE__ */ jsx9("span", { className: `relative block w-full h-full overflow-hidden bg-ods-bg ${className}`, children: /* @__PURE__ */ jsx9(
2026
+ return /* @__PURE__ */ jsx10("span", { className: `relative block w-full h-full overflow-hidden bg-ods-bg ${className}`, children: /* @__PURE__ */ jsx10(
1964
2027
  "img",
1965
2028
  {
1966
2029
  src: imageUrl,
@@ -1986,7 +2049,7 @@ function fetchPriorityProp(priority) {
1986
2049
  // src/components/features/video.tsx
1987
2050
  import { useEffect as useEffect4, useMemo as useMemo3, useRef as useRef4, useState as useState3 } from "react";
1988
2051
  import MuxPlayer from "@mux/mux-player-react";
1989
- import { jsx as jsx10, jsxs as jsxs8 } from "react/jsx-runtime";
2052
+ import { jsx as jsx11, jsxs as jsxs8 } from "react/jsx-runtime";
1990
2053
  if (typeof window !== "undefined") {
1991
2054
  const w = window;
1992
2055
  if (!w.chrome?.cast) {
@@ -2047,7 +2110,7 @@ function Video(props) {
2047
2110
  if (!url) return null;
2048
2111
  const effectiveKind = resolveKind(props, url);
2049
2112
  const layout = props.layout ?? "native";
2050
- const inner = effectiveKind === "youtube" ? /* @__PURE__ */ jsx10(
2113
+ const inner = effectiveKind === "youtube" ? /* @__PURE__ */ jsx11(
2051
2114
  YouTubeFacade,
2052
2115
  {
2053
2116
  url,
@@ -2056,7 +2119,7 @@ function Video(props) {
2056
2119
  className: props.className,
2057
2120
  minimalControls: props.minimalControls
2058
2121
  }
2059
- ) : /* @__PURE__ */ jsx10(
2122
+ ) : /* @__PURE__ */ jsx11(
2060
2123
  FilePlayer,
2061
2124
  {
2062
2125
  url,
@@ -2080,9 +2143,9 @@ function resolveKind(props, url) {
2080
2143
  function wrapWithLayout(inner, layout) {
2081
2144
  switch (layout) {
2082
2145
  case "centered":
2083
- return /* @__PURE__ */ jsx10("div", { className: "flex justify-center w-full", children: /* @__PURE__ */ jsx10("div", { className: "w-full max-w-3xl aspect-video rounded-lg overflow-hidden border border-ods-border", children: inner }) });
2146
+ return /* @__PURE__ */ jsx11("div", { className: "flex justify-center w-full", children: /* @__PURE__ */ jsx11("div", { className: "w-full max-w-3xl aspect-video rounded-lg overflow-hidden border border-ods-border", children: inner }) });
2084
2147
  case "fill":
2085
- return /* @__PURE__ */ jsx10("div", { className: "absolute inset-0 w-full h-full", children: inner });
2148
+ return /* @__PURE__ */ jsx11("div", { className: "absolute inset-0 w-full h-full", children: inner });
2086
2149
  case "native":
2087
2150
  default:
2088
2151
  return inner;
@@ -2101,7 +2164,7 @@ function FilePlayer({
2101
2164
  "[Video] srtContent supplied without captionsUrl \u2014 captions will not render. Pass captionsUrl (the VTT URL) instead; raw SRT text overlays are no longer supported."
2102
2165
  );
2103
2166
  }
2104
- return /* @__PURE__ */ jsx10(
2167
+ return /* @__PURE__ */ jsx11(
2105
2168
  MuxPlayer,
2106
2169
  {
2107
2170
  src: url,
@@ -2113,7 +2176,7 @@ function FilePlayer({
2113
2176
  accentColor: "var(--ods-accent, var(--color-accent-primary))",
2114
2177
  className,
2115
2178
  style: { width: "100%", height: "100%" },
2116
- children: captionsUrl ? /* @__PURE__ */ jsx10(
2179
+ children: captionsUrl ? /* @__PURE__ */ jsx11(
2117
2180
  "track",
2118
2181
  {
2119
2182
  kind: "captions",
@@ -2135,7 +2198,7 @@ function YouTubeFacade({
2135
2198
  }) {
2136
2199
  const videoId = extractYouTubeId(url);
2137
2200
  if (!videoId) return null;
2138
- return /* @__PURE__ */ jsx10(YouTubeFacadeInner, { videoId, title, priority, className, minimalControls });
2201
+ return /* @__PURE__ */ jsx11(YouTubeFacadeInner, { videoId, title, priority, className, minimalControls });
2139
2202
  }
2140
2203
  var YT_NOCOOKIE_ORIGIN = "https://www.youtube-nocookie.com";
2141
2204
  var YT_STATE_ENDED = 0;
@@ -2221,7 +2284,7 @@ function YouTubeFacadeInner({
2221
2284
  const wrapperClass = `relative w-full ${className ?? ""}`;
2222
2285
  const wrapperStyle = { paddingBottom: "56.25%" };
2223
2286
  if (activated) {
2224
- return /* @__PURE__ */ jsx10("div", { className: wrapperClass, style: wrapperStyle, children: /* @__PURE__ */ jsx10(
2287
+ return /* @__PURE__ */ jsx11("div", { className: wrapperClass, style: wrapperStyle, children: /* @__PURE__ */ jsx11(
2225
2288
  "iframe",
2226
2289
  {
2227
2290
  ref: iframeRef,
@@ -2233,7 +2296,7 @@ function YouTubeFacadeInner({
2233
2296
  }
2234
2297
  ) });
2235
2298
  }
2236
- return /* @__PURE__ */ jsx10("div", { className: wrapperClass, style: wrapperStyle, children: /* @__PURE__ */ jsxs8(
2299
+ return /* @__PURE__ */ jsx11("div", { className: wrapperClass, style: wrapperStyle, children: /* @__PURE__ */ jsxs8(
2237
2300
  "button",
2238
2301
  {
2239
2302
  type: "button",
@@ -2242,8 +2305,8 @@ function YouTubeFacadeInner({
2242
2305
  className: "group absolute inset-0 p-0 m-0 border border-ods-border rounded-lg overflow-hidden bg-ods-card cursor-pointer",
2243
2306
  children: [
2244
2307
  /* @__PURE__ */ jsxs8("picture", { children: [
2245
- /* @__PURE__ */ jsx10("source", { type: "image/webp", srcSet: posterWebp }),
2246
- /* @__PURE__ */ jsx10(
2308
+ /* @__PURE__ */ jsx11("source", { type: "image/webp", srcSet: posterWebp }),
2309
+ /* @__PURE__ */ jsx11(
2247
2310
  "img",
2248
2311
  {
2249
2312
  src: posterJpg,
@@ -2255,14 +2318,14 @@ function YouTubeFacadeInner({
2255
2318
  }
2256
2319
  )
2257
2320
  ] }),
2258
- /* @__PURE__ */ jsx10("div", { className: "absolute inset-0 flex items-center justify-center bg-ods-bg-inverse bg-opacity-20 transition-opacity duration-200 group-hover:bg-opacity-30", children: /* @__PURE__ */ jsx10("span", { className: "flex items-center justify-center w-16 h-16 rounded-full bg-ods-accent text-ods-text-on-accent shadow-lg transition-transform duration-200 group-hover:scale-110", children: /* @__PURE__ */ jsx10(PlayIcon, { size: 24, color: "currentColor", className: "ml-1" }) }) })
2321
+ /* @__PURE__ */ jsx11("div", { className: "absolute inset-0 flex items-center justify-center bg-ods-bg-inverse bg-opacity-20 transition-opacity duration-200 group-hover:bg-opacity-30", children: /* @__PURE__ */ jsx11("span", { className: "flex items-center justify-center w-16 h-16 rounded-full bg-ods-accent text-ods-text-on-accent shadow-lg transition-transform duration-200 group-hover:scale-110", children: /* @__PURE__ */ jsx11(PlayIcon, { size: 24, color: "currentColor", className: "ml-1" }) }) })
2259
2322
  ]
2260
2323
  }
2261
2324
  ) });
2262
2325
  }
2263
2326
 
2264
2327
  // src/components/features/video-ratio-tabs.tsx
2265
- import { Fragment as Fragment2, jsx as jsx11, jsxs as jsxs9 } from "react/jsx-runtime";
2328
+ import { Fragment as Fragment2, jsx as jsx12, jsxs as jsxs9 } from "react/jsx-runtime";
2266
2329
  var TAB_TRIGGER_CLASS = "rounded-none border-b-2 border-transparent data-[state=active]:border-ods-accent data-[state=active]:bg-transparent data-[state=active]:shadow-none px-4 py-2 text-sm text-ods-text-secondary data-[state=active]:text-ods-text-primary";
2267
2330
  var RATIO_GRID_CLASS = {
2268
2331
  portrait: "grid grid-cols-2 md:grid-cols-3 gap-4",
@@ -2287,17 +2350,17 @@ function RatioTabs({
2287
2350
  const activeTabs = RATIO_TAB_CONFIG.filter((t) => groups[t.key].count > 0);
2288
2351
  if (activeTabs.length <= 1) {
2289
2352
  const active = activeTabs[0];
2290
- return active ? /* @__PURE__ */ jsx11(Fragment2, { children: groups[active.key].render() }) : null;
2353
+ return active ? /* @__PURE__ */ jsx12(Fragment2, { children: groups[active.key].render() }) : null;
2291
2354
  }
2292
2355
  const firstTab = defaultTab && groups[defaultTab].count > 0 ? defaultTab : activeTabs[0].key;
2293
2356
  return /* @__PURE__ */ jsxs9(Tabs, { defaultValue: firstTab, className: `w-full ${className}`, children: [
2294
- /* @__PURE__ */ jsx11(TabsList, { className: "inline-flex justify-start rounded-none bg-transparent h-auto p-0 gap-0 mb-2", children: activeTabs.map((t) => /* @__PURE__ */ jsxs9(TabsTrigger, { value: t.key, className: TAB_TRIGGER_CLASS, children: [
2357
+ /* @__PURE__ */ jsx12(TabsList, { className: "inline-flex justify-start rounded-none bg-transparent h-auto p-0 gap-0 mb-2", children: activeTabs.map((t) => /* @__PURE__ */ jsxs9(TabsTrigger, { value: t.key, className: TAB_TRIGGER_CLASS, children: [
2295
2358
  t.label,
2296
2359
  " (",
2297
2360
  groups[t.key].count,
2298
2361
  ")"
2299
2362
  ] }, t.key)) }),
2300
- activeTabs.map((t) => /* @__PURE__ */ jsx11(
2363
+ activeTabs.map((t) => /* @__PURE__ */ jsx12(
2301
2364
  TabsContent,
2302
2365
  {
2303
2366
  value: t.key,
@@ -2340,7 +2403,7 @@ function groupByAspectRatio(items, getAspectRatio) {
2340
2403
 
2341
2404
  // src/components/features/video-bites-display.tsx
2342
2405
  import { useMemo as useMemo4 } from "react";
2343
- import { jsx as jsx12, jsxs as jsxs10 } from "react/jsx-runtime";
2406
+ import { jsx as jsx13, jsxs as jsxs10 } from "react/jsx-runtime";
2344
2407
  var RATIO_TO_CSS_ASPECT = {
2345
2408
  portrait: "9 / 16",
2346
2409
  square: "1 / 1",
@@ -2348,7 +2411,7 @@ var RATIO_TO_CSS_ASPECT = {
2348
2411
  };
2349
2412
  function LazyBite({ ratio, children }) {
2350
2413
  const { ref, isNear } = useNearViewport("500px");
2351
- return /* @__PURE__ */ jsx12("div", { ref, style: { aspectRatio: RATIO_TO_CSS_ASPECT[ratio] }, children: isNear ? children : /* @__PURE__ */ jsx12("div", { className: "w-full h-full bg-ods-card rounded-md" }) });
2414
+ return /* @__PURE__ */ jsx13("div", { ref, style: { aspectRatio: RATIO_TO_CSS_ASPECT[ratio] }, children: isNear ? children : /* @__PURE__ */ jsx13("div", { className: "w-full h-full bg-ods-card rounded-md" }) });
2352
2415
  }
2353
2416
  function VideoBitesDisplay({
2354
2417
  bites,
@@ -2372,26 +2435,26 @@ function VideoBitesDisplay({
2372
2435
  const totalCount = grouped.portrait.length + grouped.square.length + grouped.landscape.length;
2373
2436
  if (totalCount === 0) return null;
2374
2437
  return /* @__PURE__ */ jsxs10("div", { className: "flex flex-col gap-6 w-full min-w-0", children: [
2375
- showTitle && /* @__PURE__ */ jsx12("h2", { className: "text-h1 tracking-[-1.12px] text-ods-text-primary break-words", children: title }),
2376
- grouped.hasMultiple ? /* @__PURE__ */ jsx12(
2438
+ showTitle && /* @__PURE__ */ jsx13("h2", { className: `${SECTION_HEADING_CLASS} break-words`, children: title }),
2439
+ grouped.hasMultiple ? /* @__PURE__ */ jsx13(
2377
2440
  RatioTabs,
2378
2441
  {
2379
2442
  groups: {
2380
2443
  portrait: {
2381
2444
  count: grouped.portrait.length,
2382
- render: () => /* @__PURE__ */ jsx12(BiteGrid, { bites: grouped.portrait, ratio: "portrait" })
2445
+ render: () => /* @__PURE__ */ jsx13(BiteGrid, { bites: grouped.portrait, ratio: "portrait" })
2383
2446
  },
2384
2447
  square: {
2385
2448
  count: grouped.square.length,
2386
- render: () => /* @__PURE__ */ jsx12(BiteGrid, { bites: grouped.square, ratio: "square" })
2449
+ render: () => /* @__PURE__ */ jsx13(BiteGrid, { bites: grouped.square, ratio: "square" })
2387
2450
  },
2388
2451
  landscape: {
2389
2452
  count: grouped.landscape.length,
2390
- render: () => /* @__PURE__ */ jsx12(BiteGrid, { bites: grouped.landscape, ratio: "landscape" })
2453
+ render: () => /* @__PURE__ */ jsx13(BiteGrid, { bites: grouped.landscape, ratio: "landscape" })
2391
2454
  }
2392
2455
  }
2393
2456
  }
2394
- ) : /* @__PURE__ */ jsx12(
2457
+ ) : /* @__PURE__ */ jsx13(
2395
2458
  BiteGrid,
2396
2459
  {
2397
2460
  bites: grouped.portrait.length > 0 ? grouped.portrait : grouped.square.length > 0 ? grouped.square : grouped.landscape,
@@ -2401,17 +2464,17 @@ function VideoBitesDisplay({
2401
2464
  ] });
2402
2465
  }
2403
2466
  function BiteGrid({ bites, ratio }) {
2404
- return /* @__PURE__ */ jsx12("div", { className: RATIO_DISPLAY_GRID_CLASS[ratio], children: bites.map((bite, index) => /* @__PURE__ */ jsx12(LazyBite, { ratio, children: /* @__PURE__ */ jsx12(VideoBiteCard, { url: bite.url, title: bite.title, thumbnailUrl: bite.thumbnail_url }) }, bite.url || index)) });
2467
+ return /* @__PURE__ */ jsx13("div", { className: RATIO_DISPLAY_GRID_CLASS[ratio], children: bites.map((bite, index) => /* @__PURE__ */ jsx13(LazyBite, { ratio, children: /* @__PURE__ */ jsx13(VideoBiteCard, { url: bite.url, title: bite.title, thumbnailUrl: bite.thumbnail_url }) }, bite.url || index)) });
2405
2468
  }
2406
2469
  function VideoBiteCard({ url, title, thumbnailUrl }) {
2407
2470
  return /* @__PURE__ */ jsxs10(Card, { className: "overflow-hidden border border-ods-border bg-ods-card hover:border-ods-accent transition-colors flex flex-col h-full", children: [
2408
- /* @__PURE__ */ jsx12("div", { className: "relative flex-1 min-h-0", children: /* @__PURE__ */ jsx12(Video, { url, poster: thumbnailUrl || void 0, layout: "fill" }) }),
2409
- title && /* @__PURE__ */ jsx12("div", { className: "p-4", children: /* @__PURE__ */ jsx12("p", { className: "text-h4 text-ods-text-primary line-clamp-2", title, children: title }) })
2471
+ /* @__PURE__ */ jsx13("div", { className: "relative flex-1 min-h-0", children: /* @__PURE__ */ jsx13(Video, { url, poster: thumbnailUrl || void 0, layout: "fill" }) }),
2472
+ title && /* @__PURE__ */ jsx13("div", { className: "p-4", children: /* @__PURE__ */ jsx13("p", { className: "text-h4 text-ods-text-primary line-clamp-2", title, children: title }) })
2410
2473
  ] });
2411
2474
  }
2412
2475
 
2413
2476
  // src/components/features/entity-video-section.tsx
2414
- import { Fragment as Fragment3, jsx as jsx13, jsxs as jsxs11 } from "react/jsx-runtime";
2477
+ import { Fragment as Fragment3, jsx as jsx14, jsxs as jsxs11 } from "react/jsx-runtime";
2415
2478
  function EntityVideoSection({
2416
2479
  mainVideoUrl,
2417
2480
  youtubeUrl,
@@ -2439,7 +2502,7 @@ function EntityVideoSection({
2439
2502
  return /* @__PURE__ */ jsxs11(Fragment3, { children: [
2440
2503
  hasVideo && (hasFullVideo && hasHighlight ? /* @__PURE__ */ jsxs11(Tabs, { defaultValue: "full-video", className: "w-full", children: [
2441
2504
  /* @__PURE__ */ jsxs11(TabsList, { className: "inline-flex justify-start rounded-none bg-transparent h-auto p-0 gap-0", children: [
2442
- /* @__PURE__ */ jsx13(
2505
+ /* @__PURE__ */ jsx14(
2443
2506
  TabsTrigger,
2444
2507
  {
2445
2508
  value: "full-video",
@@ -2447,7 +2510,7 @@ function EntityVideoSection({
2447
2510
  children: "Full Video"
2448
2511
  }
2449
2512
  ),
2450
- /* @__PURE__ */ jsx13(
2513
+ /* @__PURE__ */ jsx14(
2451
2514
  TabsTrigger,
2452
2515
  {
2453
2516
  value: "highlights",
@@ -2456,7 +2519,7 @@ function EntityVideoSection({
2456
2519
  }
2457
2520
  )
2458
2521
  ] }),
2459
- /* @__PURE__ */ jsx13(TabsContent, { value: "full-video", className: "mt-4", children: /* @__PURE__ */ jsx13(
2522
+ /* @__PURE__ */ jsx14(TabsContent, { value: "full-video", className: "mt-4", children: /* @__PURE__ */ jsx14(
2460
2523
  Video,
2461
2524
  {
2462
2525
  kind: fullVideoKind,
@@ -2469,7 +2532,7 @@ function EntityVideoSection({
2469
2532
  priority
2470
2533
  }
2471
2534
  ) }),
2472
- /* @__PURE__ */ jsx13(TabsContent, { value: "highlights", className: "mt-4", children: /* @__PURE__ */ jsx13(
2535
+ /* @__PURE__ */ jsx14(TabsContent, { value: "highlights", className: "mt-4", children: /* @__PURE__ */ jsx14(
2473
2536
  Video,
2474
2537
  {
2475
2538
  url: highlightVideoUrl,
@@ -2477,7 +2540,7 @@ function EntityVideoSection({
2477
2540
  layout: "centered"
2478
2541
  }
2479
2542
  ) })
2480
- ] }) : hasFullVideo ? /* @__PURE__ */ jsx13(
2543
+ ] }) : hasFullVideo ? /* @__PURE__ */ jsx14(
2481
2544
  Video,
2482
2545
  {
2483
2546
  kind: fullVideoKind,
@@ -2489,7 +2552,7 @@ function EntityVideoSection({
2489
2552
  layout: "centered",
2490
2553
  priority
2491
2554
  }
2492
- ) : /* @__PURE__ */ jsx13(
2555
+ ) : /* @__PURE__ */ jsx14(
2493
2556
  Video,
2494
2557
  {
2495
2558
  url: highlightVideoUrl,
@@ -2499,10 +2562,10 @@ function EntityVideoSection({
2499
2562
  }
2500
2563
  )),
2501
2564
  videoSummary && MarkdownRenderer && /* @__PURE__ */ jsxs11("div", { className: "flex flex-col gap-6 w-full min-w-0", children: [
2502
- /* @__PURE__ */ jsx13("h2", { className: "text-h1 tracking-[-1.12px] text-ods-text-primary break-words", children: "Summary" }),
2503
- /* @__PURE__ */ jsx13("div", { className: "text-h4 text-ods-text-primary break-words overflow-hidden", children: /* @__PURE__ */ jsx13(MarkdownRenderer, { content: videoSummary }) })
2565
+ /* @__PURE__ */ jsx14("h2", { className: `${SECTION_HEADING_CLASS} break-words`, children: "Summary" }),
2566
+ /* @__PURE__ */ jsx14("div", { className: "text-h4 text-ods-text-primary break-words overflow-hidden", children: /* @__PURE__ */ jsx14(MarkdownRenderer, { content: videoSummary }) })
2504
2567
  ] }),
2505
- videoBites && videoBites.length > 0 && /* @__PURE__ */ jsx13(
2568
+ videoBites && videoBites.length > 0 && /* @__PURE__ */ jsx14(
2506
2569
  VideoBitesDisplay,
2507
2570
  {
2508
2571
  bites: videoBites,
@@ -2587,7 +2650,7 @@ function useEntityCardPlaceholder({
2587
2650
  }
2588
2651
 
2589
2652
  // src/components/chat/entity-cards/onboarding-guide-card.tsx
2590
- import { jsx as jsx14, jsxs as jsxs12 } from "react/jsx-runtime";
2653
+ import { jsx as jsx15, jsxs as jsxs12 } from "react/jsx-runtime";
2591
2654
  function stripMarkdownPreview(text) {
2592
2655
  return text.replace(/```[\s\S]*?```/g, " ").replace(/^#{1,6}\s+/gm, "").replace(/!?\[([^\]]*)\]\([^)]*\)/g, "$1").replace(/[*_~`>]/g, "").replace(/^\s*[-+]\s+/gm, "").replace(/-{3,}/g, " ").replace(/\s+/g, " ").trim().replace(/^([\s\S]{240})[\s\S]+$/, "$1\u2026");
2593
2656
  }
@@ -2603,35 +2666,35 @@ function OnboardingGuideCardSkeleton({ size = "default" }) {
2603
2666
  if (size === "catalog") {
2604
2667
  return /* @__PURE__ */ jsxs12("div", { className: "bg-ods-system-greys-black border border-ods-border rounded-lg overflow-hidden flex flex-col p-6 gap-4 animate-pulse", children: [
2605
2668
  /* @__PURE__ */ jsxs12("div", { className: "flex flex-col md:flex-row gap-4 md:gap-6", children: [
2606
- /* @__PURE__ */ jsx14("div", { className: "w-full md:w-[256px] aspect-[1200/630] bg-ods-border rounded-lg flex-shrink-0" }),
2669
+ /* @__PURE__ */ jsx15("div", { className: "w-full md:w-[256px] aspect-[1200/630] bg-ods-border rounded-lg flex-shrink-0" }),
2607
2670
  /* @__PURE__ */ jsxs12("div", { className: "flex-1 min-w-0 flex flex-col", children: [
2608
2671
  /* @__PURE__ */ jsxs12("div", { className: "min-h-[60px] md:min-h-[72px] flex flex-col gap-1.5 justify-start mb-3", children: [
2609
- /* @__PURE__ */ jsx14("div", { className: "h-[25px] md:h-[30px] w-3/4 bg-ods-border rounded" }),
2610
- /* @__PURE__ */ jsx14("div", { className: "h-[25px] md:h-[30px] w-1/2 bg-ods-border rounded" })
2672
+ /* @__PURE__ */ jsx15("div", { className: "h-[25px] md:h-[30px] w-3/4 bg-ods-border rounded" }),
2673
+ /* @__PURE__ */ jsx15("div", { className: "h-[25px] md:h-[30px] w-1/2 bg-ods-border rounded" })
2611
2674
  ] }),
2612
2675
  /* @__PURE__ */ jsxs12("div", { className: "min-h-[46px] md:min-h-[52px] flex flex-col gap-2 justify-start", children: [
2613
- /* @__PURE__ */ jsx14("div", { className: "h-3 w-full bg-ods-border/70 rounded" }),
2614
- /* @__PURE__ */ jsx14("div", { className: "h-3 w-5/6 bg-ods-border/70 rounded" })
2676
+ /* @__PURE__ */ jsx15("div", { className: "h-3 w-full bg-ods-border/70 rounded" }),
2677
+ /* @__PURE__ */ jsx15("div", { className: "h-3 w-5/6 bg-ods-border/70 rounded" })
2615
2678
  ] })
2616
2679
  ] })
2617
2680
  ] }),
2618
2681
  /* @__PURE__ */ jsxs12("div", { className: "grid grid-cols-1 md:grid-cols-3 border border-ods-border rounded-md overflow-hidden w-full", children: [
2619
- [0, 1].map((i) => /* @__PURE__ */ jsx14(
2682
+ [0, 1].map((i) => /* @__PURE__ */ jsx15(
2620
2683
  "div",
2621
2684
  {
2622
2685
  className: "bg-ods-card p-4 flex flex-col gap-3 border-b md:border-b-0 md:border-r border-ods-border",
2623
2686
  children: /* @__PURE__ */ jsxs12("div", { className: "flex flex-col gap-2", children: [
2624
- /* @__PURE__ */ jsx14("div", { className: "h-6 w-32 bg-ods-bg rounded" }),
2625
- /* @__PURE__ */ jsx14("div", { className: "h-3 w-20 bg-ods-bg/60 rounded" })
2687
+ /* @__PURE__ */ jsx15("div", { className: "h-6 w-32 bg-ods-bg rounded" }),
2688
+ /* @__PURE__ */ jsx15("div", { className: "h-3 w-20 bg-ods-bg/60 rounded" })
2626
2689
  ] })
2627
2690
  },
2628
2691
  `cell-${i}`
2629
2692
  )),
2630
2693
  /* @__PURE__ */ jsxs12("div", { className: "bg-ods-card p-4 flex items-center gap-3", children: [
2631
- /* @__PURE__ */ jsx14("div", { className: "h-10 w-10 rounded-full bg-ods-bg shrink-0" }),
2694
+ /* @__PURE__ */ jsx15("div", { className: "h-10 w-10 rounded-full bg-ods-bg shrink-0" }),
2632
2695
  /* @__PURE__ */ jsxs12("div", { className: "flex flex-col gap-2 flex-1 min-w-0", children: [
2633
- /* @__PURE__ */ jsx14("div", { className: "h-4 w-3/4 bg-ods-bg rounded" }),
2634
- /* @__PURE__ */ jsx14("div", { className: "h-3 w-1/2 bg-ods-bg/60 rounded" })
2696
+ /* @__PURE__ */ jsx15("div", { className: "h-4 w-3/4 bg-ods-bg rounded" }),
2697
+ /* @__PURE__ */ jsx15("div", { className: "h-3 w-1/2 bg-ods-bg/60 rounded" })
2635
2698
  ] })
2636
2699
  ] })
2637
2700
  ] })
@@ -2639,13 +2702,13 @@ function OnboardingGuideCardSkeleton({ size = "default" }) {
2639
2702
  }
2640
2703
  if (size === "sm") {
2641
2704
  return /* @__PURE__ */ jsxs12("span", { className: COMPACT_CARD_SKELETON_OUTER, children: [
2642
- /* @__PURE__ */ jsx14("span", { className: COMPACT_CARD_SKELETON_IMAGE_SLOT }),
2705
+ /* @__PURE__ */ jsx15("span", { className: COMPACT_CARD_SKELETON_IMAGE_SLOT }),
2643
2706
  /* @__PURE__ */ jsxs12("span", { className: COMPACT_CARD_TEXT_COL, children: [
2644
- /* @__PURE__ */ jsx14("span", { className: COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ jsx14("span", { className: "h-3.5 w-3/5 rounded bg-ods-bg" }) }),
2645
- /* @__PURE__ */ jsx14("span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ jsx14("span", { className: "h-3 w-2/5 rounded bg-ods-bg/70" }) }),
2646
- /* @__PURE__ */ jsx14("span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ jsx14("span", { className: "h-3 w-11/12 rounded bg-ods-bg/40" }) })
2707
+ /* @__PURE__ */ jsx15("span", { className: COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ jsx15("span", { className: "h-3.5 w-3/5 rounded bg-ods-bg" }) }),
2708
+ /* @__PURE__ */ jsx15("span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ jsx15("span", { className: "h-3 w-2/5 rounded bg-ods-bg/70" }) }),
2709
+ /* @__PURE__ */ jsx15("span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ jsx15("span", { className: "h-3 w-11/12 rounded bg-ods-bg/40" }) })
2647
2710
  ] }),
2648
- /* @__PURE__ */ jsx14("span", { className: "flex shrink-0 items-center self-start h-5", children: /* @__PURE__ */ jsx14("span", { className: "h-3.5 w-3.5 rounded bg-ods-bg" }) })
2711
+ /* @__PURE__ */ jsx15("span", { className: "flex shrink-0 items-center self-start h-5", children: /* @__PURE__ */ jsx15("span", { className: "h-3.5 w-3.5 rounded bg-ods-bg" }) })
2649
2712
  ] });
2650
2713
  }
2651
2714
  const t = HORIZONTAL_SIZE_TOKENS.default;
@@ -2654,11 +2717,11 @@ function OnboardingGuideCardSkeleton({ size = "default" }) {
2654
2717
  {
2655
2718
  className: `flex items-start gap-3 rounded-md border border-ods-border bg-ods-card ${t.padding} animate-pulse`,
2656
2719
  children: [
2657
- /* @__PURE__ */ jsx14("span", { className: `shrink-0 inline-flex items-center justify-center rounded-full bg-ods-bg ${t.step}` }),
2720
+ /* @__PURE__ */ jsx15("span", { className: `shrink-0 inline-flex items-center justify-center rounded-full bg-ods-bg ${t.step}` }),
2658
2721
  /* @__PURE__ */ jsxs12("span", { className: "flex flex-col gap-2 flex-1 min-w-0", children: [
2659
- /* @__PURE__ */ jsx14("span", { className: "block h-4 w-2/3 rounded bg-ods-bg" }),
2660
- /* @__PURE__ */ jsx14("span", { className: "block h-3 w-1/3 rounded bg-ods-bg/70" }),
2661
- /* @__PURE__ */ jsx14("span", { className: "block h-3 w-full rounded bg-ods-bg/40" })
2722
+ /* @__PURE__ */ jsx15("span", { className: "block h-4 w-2/3 rounded bg-ods-bg" }),
2723
+ /* @__PURE__ */ jsx15("span", { className: "block h-3 w-1/3 rounded bg-ods-bg/70" }),
2724
+ /* @__PURE__ */ jsx15("span", { className: "block h-3 w-full rounded bg-ods-bg/40" })
2662
2725
  ] })
2663
2726
  ]
2664
2727
  }
@@ -2690,7 +2753,7 @@ function OnboardingGuideCard({
2690
2753
  const hasVideoCover = !!(guide.main_video_thumbnail || guide.highlight_video_thumbnail);
2691
2754
  const stepLabel = typeof guide.step_order === "number" ? String(guide.step_order).padStart(2, "0") : "\u2014";
2692
2755
  const durationLabel = typeof guide.highlight_video_duration_ms === "number" && guide.highlight_video_duration_ms > 0 ? formatDurationMMSS(Math.floor(guide.highlight_video_duration_ms / 1e3)) : "";
2693
- return /* @__PURE__ */ jsx14(
2756
+ return /* @__PURE__ */ jsx15(
2694
2757
  next_link_default,
2695
2758
  {
2696
2759
  href,
@@ -2708,8 +2771,8 @@ function OnboardingGuideCard({
2708
2771
  "aria-label": `Open ${guide.title}`,
2709
2772
  children: /* @__PURE__ */ jsxs12("div", { className: "flex flex-col p-6 gap-4", children: [
2710
2773
  /* @__PURE__ */ jsxs12("div", { className: "flex flex-col md:flex-row gap-4 md:gap-6", children: [
2711
- /* @__PURE__ */ jsx14("div", { className: "w-full md:w-[256px] flex-shrink-0", children: /* @__PURE__ */ jsxs12("div", { className: "relative rounded-lg overflow-hidden w-full aspect-[1200/630] bg-ods-bg", children: [
2712
- coverImage ? /* @__PURE__ */ jsx14(
2774
+ /* @__PURE__ */ jsx15("div", { className: "w-full md:w-[256px] flex-shrink-0", children: /* @__PURE__ */ jsxs12("div", { className: "relative rounded-lg overflow-hidden w-full aspect-[1200/630] bg-ods-bg", children: [
2775
+ coverImage ? /* @__PURE__ */ jsx15(
2713
2776
  next_image_default,
2714
2777
  {
2715
2778
  src: coverImage,
@@ -2719,7 +2782,7 @@ function OnboardingGuideCard({
2719
2782
  className: "object-cover",
2720
2783
  unoptimized: true
2721
2784
  }
2722
- ) : /* @__PURE__ */ jsx14(
2785
+ ) : /* @__PURE__ */ jsx15(
2723
2786
  BlogImagePlaceholder,
2724
2787
  {
2725
2788
  title: guide.title,
@@ -2727,18 +2790,18 @@ function OnboardingGuideCard({
2727
2790
  className: "absolute inset-0"
2728
2791
  }
2729
2792
  ),
2730
- hasVideoCover && coverImage && /* @__PURE__ */ jsx14("span", { className: "absolute inset-0 flex items-center justify-center bg-black/30", children: /* @__PURE__ */ jsx14(Play, { className: "w-10 h-10 text-white", fill: "white" }) }),
2793
+ hasVideoCover && coverImage && /* @__PURE__ */ jsx15("span", { className: "absolute inset-0 flex items-center justify-center bg-black/30", children: /* @__PURE__ */ jsx15(Play, { className: "w-10 h-10 text-white", fill: "white" }) }),
2731
2794
  durationLabel && /* @__PURE__ */ jsxs12("span", { className: "absolute bottom-2 right-2 inline-flex items-center gap-1 px-2 py-1 rounded bg-black/60 text-white text-xs font-medium font-mono", children: [
2732
- /* @__PURE__ */ jsx14(Clock, { className: "w-3 h-3" }),
2795
+ /* @__PURE__ */ jsx15(Clock, { className: "w-3 h-3" }),
2733
2796
  durationLabel
2734
2797
  ] })
2735
2798
  ] }) }),
2736
2799
  /* @__PURE__ */ jsxs12("div", { className: "flex-1 min-w-0 flex flex-col", children: [
2737
- /* @__PURE__ */ jsx14("div", { className: "min-h-[60px] md:min-h-[72px] flex items-start mb-3", children: /* @__PURE__ */ jsx14("h3", { className: "font-['Azeret_Mono'] font-semibold text-xl md:text-2xl text-ods-text-primary leading-tight line-clamp-2", children: guide.title }) }),
2738
- /* @__PURE__ */ jsx14("div", { className: "min-h-[46px] md:min-h-[52px]", children: /* @__PURE__ */ jsx14("p", { className: "font-['DM_Sans'] text-sm md:text-base text-ods-text-secondary leading-relaxed line-clamp-2", children: stripMarkdownPreview(guide.video_summary || guide.content || "") }) })
2800
+ /* @__PURE__ */ jsx15("div", { className: "min-h-[60px] md:min-h-[72px] flex items-start mb-3", children: /* @__PURE__ */ jsx15("h3", { className: "font-['Azeret_Mono'] font-semibold text-xl md:text-2xl text-ods-text-primary leading-tight line-clamp-2", children: guide.title }) }),
2801
+ /* @__PURE__ */ jsx15("div", { className: "min-h-[46px] md:min-h-[52px]", children: /* @__PURE__ */ jsx15("p", { className: "font-['DM_Sans'] text-sm md:text-base text-ods-text-secondary leading-relaxed line-clamp-2", children: stripMarkdownPreview(guide.video_summary || guide.content || "") }) })
2739
2802
  ] })
2740
2803
  ] }),
2741
- /* @__PURE__ */ jsx14(
2804
+ /* @__PURE__ */ jsx15(
2742
2805
  EntityAuthorCard,
2743
2806
  {
2744
2807
  author: guide.author,
@@ -2770,7 +2833,7 @@ function OnboardingGuideCard({
2770
2833
  ].filter((s) => typeof s === "string" && s.length > 0);
2771
2834
  return /* @__PURE__ */ jsxs12(next_link_default, { href, target, rel, prefetch: false, className: cn(COMPACT_CARD_OUTER, className), children: [
2772
2835
  /* @__PURE__ */ jsxs12("span", { className: COMPACT_CARD_IMAGE_SLOT, children: [
2773
- compactCover ? /* @__PURE__ */ jsx14(
2836
+ compactCover ? /* @__PURE__ */ jsx15(
2774
2837
  next_image_default,
2775
2838
  {
2776
2839
  src: compactCover,
@@ -2780,15 +2843,15 @@ function OnboardingGuideCard({
2780
2843
  className: "object-contain",
2781
2844
  unoptimized: true
2782
2845
  }
2783
- ) : /* @__PURE__ */ jsx14("span", { className: "flex h-full w-full items-center justify-center text-ods-accent", children: /* @__PURE__ */ jsx14(GraduationCap, { className: "w-4 h-4" }) }),
2784
- hasVideoCover && compactCover && /* @__PURE__ */ jsx14("span", { className: "absolute inset-0 flex items-center justify-center bg-black/30", children: /* @__PURE__ */ jsx14(Play, { className: "h-4 w-4 text-white", fill: "white" }) })
2846
+ ) : /* @__PURE__ */ jsx15("span", { className: "flex h-full w-full items-center justify-center text-ods-accent", children: /* @__PURE__ */ jsx15(GraduationCap, { className: "w-4 h-4" }) }),
2847
+ hasVideoCover && compactCover && /* @__PURE__ */ jsx15("span", { className: "absolute inset-0 flex items-center justify-center bg-black/30", children: /* @__PURE__ */ jsx15(Play, { className: "h-4 w-4 text-white", fill: "white" }) })
2785
2848
  ] }),
2786
2849
  /* @__PURE__ */ jsxs12("span", { className: COMPACT_CARD_TEXT_COL, children: [
2787
- /* @__PURE__ */ jsx14("span", { className: COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ jsx14("span", { className: cn(COMPACT_CARD_TITLE, "font-['Azeret_Mono']"), children: guide.title }) }),
2788
- /* @__PURE__ */ jsx14("span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ jsx14("span", { className: "truncate text-[11px] leading-4 text-[var(--color-accent-primary)]", children: subtitleParts.join(" \xB7 ") }) }),
2789
- /* @__PURE__ */ jsx14("span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ jsx14("span", { className: COMPACT_CARD_SUMMARY, children: summary2 || COMPACT_CARD_ROW_FILLER }) })
2850
+ /* @__PURE__ */ jsx15("span", { className: COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ jsx15("span", { className: cn(COMPACT_CARD_TITLE, "font-['Azeret_Mono']"), children: guide.title }) }),
2851
+ /* @__PURE__ */ jsx15("span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ jsx15("span", { className: "truncate text-[11px] leading-4 text-[var(--color-accent-primary)]", children: subtitleParts.join(" \xB7 ") }) }),
2852
+ /* @__PURE__ */ jsx15("span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ jsx15("span", { className: COMPACT_CARD_SUMMARY, children: summary2 || COMPACT_CARD_ROW_FILLER }) })
2790
2853
  ] }),
2791
- /* @__PURE__ */ jsx14("span", { className: "flex shrink-0 items-center self-start h-5 text-ods-text-secondary", children: /* @__PURE__ */ jsx14(ExternalLink, { className: "w-3.5 h-3.5" }) })
2854
+ /* @__PURE__ */ jsx15("span", { className: "flex shrink-0 items-center self-start h-5 text-ods-text-secondary", children: /* @__PURE__ */ jsx15(ExternalLink, { className: "w-3.5 h-3.5" }) })
2792
2855
  ] });
2793
2856
  }
2794
2857
  const t = HORIZONTAL_SIZE_TOKENS.default;
@@ -2805,7 +2868,7 @@ function OnboardingGuideCard({
2805
2868
  className
2806
2869
  ),
2807
2870
  children: [
2808
- /* @__PURE__ */ jsx14(
2871
+ /* @__PURE__ */ jsx15(
2809
2872
  "span",
2810
2873
  {
2811
2874
  className: `shrink-0 inline-flex items-center justify-center rounded-full bg-ods-accent/10 text-ods-accent font-semibold ${t.step}`,
@@ -2814,12 +2877,12 @@ function OnboardingGuideCard({
2814
2877
  }
2815
2878
  ),
2816
2879
  /* @__PURE__ */ jsxs12("span", { className: "flex flex-col gap-0.5 flex-1 min-w-0", children: [
2817
- /* @__PURE__ */ jsx14("span", { className: `block ${t.title} text-ods-text-primary truncate`, children: guide.title }),
2880
+ /* @__PURE__ */ jsx15("span", { className: `block ${t.title} text-ods-text-primary truncate`, children: guide.title }),
2818
2881
  /* @__PURE__ */ jsxs12("span", { className: "inline-flex items-center gap-1 font-['DM_Sans'] text-[12px] leading-[16px] text-ods-text-secondary", children: [
2819
- /* @__PURE__ */ jsx14(GraduationCap, { className: "h-3 w-3 shrink-0" }),
2820
- /* @__PURE__ */ jsx14("span", { className: "truncate", children: guide.section })
2882
+ /* @__PURE__ */ jsx15(GraduationCap, { className: "h-3 w-3 shrink-0" }),
2883
+ /* @__PURE__ */ jsx15("span", { className: "truncate", children: guide.section })
2821
2884
  ] }),
2822
- summary && /* @__PURE__ */ jsx14("span", { className: `font-['DM_Sans'] text-[14px] leading-[20px] text-ods-text-secondary ${t.summaryClamp}`, children: summary })
2885
+ summary && /* @__PURE__ */ jsx15("span", { className: `font-['DM_Sans'] text-[14px] leading-[20px] text-ods-text-secondary ${t.summaryClamp}`, children: summary })
2823
2886
  ] })
2824
2887
  ]
2825
2888
  }
@@ -3238,7 +3301,7 @@ function resolveSourceIcon(input, ctx = {}) {
3238
3301
  init_cn();
3239
3302
  import React11 from "react";
3240
3303
  init_button();
3241
- import { Fragment as Fragment4, jsx as jsx15, jsxs as jsxs13 } from "react/jsx-runtime";
3304
+ import { Fragment as Fragment4, jsx as jsx16, jsxs as jsxs13 } from "react/jsx-runtime";
3242
3305
  function actionKey(action, idx) {
3243
3306
  return `${action.label ?? action.ariaLabel ?? "action"}-${idx}`;
3244
3307
  }
@@ -3270,7 +3333,7 @@ function actionToMenuItems(action, idx) {
3270
3333
  }
3271
3334
  function renderActionButton(action, opts = {}) {
3272
3335
  if (action.iconAction) {
3273
- return /* @__PURE__ */ jsx15(
3336
+ return /* @__PURE__ */ jsx16(
3274
3337
  SplitButton,
3275
3338
  {
3276
3339
  variant: action.variant ?? void 0,
@@ -3288,18 +3351,18 @@ function renderActionButton(action, opts = {}) {
3288
3351
  );
3289
3352
  }
3290
3353
  if (action.submenu && action.submenu.length > 0) {
3291
- return /* @__PURE__ */ jsx15(
3354
+ return /* @__PURE__ */ jsx16(
3292
3355
  ActionsMenuDropdown,
3293
3356
  {
3294
3357
  groups: [{ items: action.submenu }],
3295
- customTrigger: /* @__PURE__ */ jsx15(
3358
+ customTrigger: /* @__PURE__ */ jsx16(
3296
3359
  Button,
3297
3360
  {
3298
3361
  variant: "outline",
3299
3362
  disabled: action.disabled,
3300
3363
  loading: action.loading,
3301
3364
  leftIcon: action.icon,
3302
- splitIcon: /* @__PURE__ */ jsx15(Chevron02DownIcon, { className: "h-4 w-4" }),
3365
+ splitIcon: /* @__PURE__ */ jsx16(Chevron02DownIcon, { className: "h-4 w-4" }),
3303
3366
  className: opts.fullWidth ? "flex-1" : void 0,
3304
3367
  children: action.label
3305
3368
  }
@@ -3309,8 +3372,8 @@ function renderActionButton(action, opts = {}) {
3309
3372
  }
3310
3373
  const isIconOnly = opts.iconOnly || !action.label || action.iconOnlyOnDesktop;
3311
3374
  if (isIconOnly) {
3312
- const iconNode = action.iconOnlyOnDesktop ? /* @__PURE__ */ jsx15("span", { className: "inline-flex [&_svg]:!text-ods-text-primary", children: action.icon }) : action.icon;
3313
- return /* @__PURE__ */ jsx15(
3375
+ const iconNode = action.iconOnlyOnDesktop ? /* @__PURE__ */ jsx16("span", { className: "inline-flex [&_svg]:!text-ods-text-primary", children: action.icon }) : action.icon;
3376
+ return /* @__PURE__ */ jsx16(
3314
3377
  Button,
3315
3378
  {
3316
3379
  variant: action.variant,
@@ -3326,7 +3389,7 @@ function renderActionButton(action, opts = {}) {
3326
3389
  }
3327
3390
  );
3328
3391
  }
3329
- return /* @__PURE__ */ jsx15(
3392
+ return /* @__PURE__ */ jsx16(
3330
3393
  Button,
3331
3394
  {
3332
3395
  variant: action.variant,
@@ -3351,12 +3414,12 @@ function PageActions({
3351
3414
  className
3352
3415
  }) {
3353
3416
  if (variant === "icon-buttons") {
3354
- return /* @__PURE__ */ jsx15(IconButtonsVariant, { actions, menuActions, selector, className });
3417
+ return /* @__PURE__ */ jsx16(IconButtonsVariant, { actions, menuActions, selector, className });
3355
3418
  }
3356
3419
  if (variant === "menu-primary") {
3357
- return /* @__PURE__ */ jsx15(MenuPrimaryVariant, { actions, menuActions: menuActions || [], selector, className });
3420
+ return /* @__PURE__ */ jsx16(MenuPrimaryVariant, { actions, menuActions: menuActions || [], selector, className });
3358
3421
  }
3359
- return /* @__PURE__ */ jsx15(PrimaryButtonsVariant, { actions, className });
3422
+ return /* @__PURE__ */ jsx16(PrimaryButtonsVariant, { actions, className });
3360
3423
  }
3361
3424
  function IconButtonsVariant({
3362
3425
  actions,
@@ -3372,10 +3435,10 @@ function IconButtonsVariant({
3372
3435
  return /* @__PURE__ */ jsxs13(Fragment4, { children: [
3373
3436
  /* @__PURE__ */ jsxs13("div", { className: cn("hidden md:flex items-center", ACTIONS_GAP, className), children: [
3374
3437
  selector,
3375
- desktopActions.map((action, idx) => /* @__PURE__ */ jsx15(React11.Fragment, { children: renderActionButton(action) }, actionKey(action, idx))),
3376
- hasMenuActions && /* @__PURE__ */ jsx15(ActionsMenuDropdown, { groups: menuActions })
3438
+ desktopActions.map((action, idx) => /* @__PURE__ */ jsx16(React11.Fragment, { children: renderActionButton(action) }, actionKey(action, idx))),
3439
+ hasMenuActions && /* @__PURE__ */ jsx16(ActionsMenuDropdown, { groups: menuActions })
3377
3440
  ] }),
3378
- /* @__PURE__ */ jsx15("div", { className: cn("flex md:hidden", className), children: useSingleActionMobile && singleAction ? renderActionButton(singleAction, { iconOnly: true }) : /* @__PURE__ */ jsx15(
3441
+ /* @__PURE__ */ jsx16("div", { className: cn("flex md:hidden", className), children: useSingleActionMobile && singleAction ? renderActionButton(singleAction, { iconOnly: true }) : /* @__PURE__ */ jsx16(
3379
3442
  ActionsMenuDropdown,
3380
3443
  {
3381
3444
  groups: [
@@ -3397,8 +3460,8 @@ function PrimaryButtonsVariant({
3397
3460
  });
3398
3461
  const desktopActions = sortedActions.filter((a) => !a.showOnlyMobile);
3399
3462
  return /* @__PURE__ */ jsxs13(Fragment4, { children: [
3400
- /* @__PURE__ */ jsx15("div", { className: cn("hidden md:flex items-center", ACTIONS_GAP, className), children: desktopActions.map((action, idx) => /* @__PURE__ */ jsx15(React11.Fragment, { children: renderActionButton(action) }, `desktop-${actionKey(action, idx)}`)) }),
3401
- /* @__PURE__ */ jsx15(MobileBottomActions, { actions: sortedActions })
3463
+ /* @__PURE__ */ jsx16("div", { className: cn("hidden md:flex items-center", ACTIONS_GAP, className), children: desktopActions.map((action, idx) => /* @__PURE__ */ jsx16(React11.Fragment, { children: renderActionButton(action) }, `desktop-${actionKey(action, idx)}`)) }),
3464
+ /* @__PURE__ */ jsx16(MobileBottomActions, { actions: sortedActions })
3402
3465
  ] });
3403
3466
  }
3404
3467
  function MenuPrimaryVariant({
@@ -3412,10 +3475,10 @@ function MenuPrimaryVariant({
3412
3475
  return /* @__PURE__ */ jsxs13(Fragment4, { children: [
3413
3476
  /* @__PURE__ */ jsxs13("div", { className: cn("hidden md:flex items-center", ACTIONS_GAP, className), children: [
3414
3477
  selector,
3415
- hasMenuActions && /* @__PURE__ */ jsx15(ActionsMenuDropdown, { groups: menuActions }),
3416
- desktopActions.map((action, idx) => /* @__PURE__ */ jsx15(React11.Fragment, { children: renderActionButton({ ...action, variant: action.variant || "accent" }) }, `desktop-${actionKey(action, idx)}`))
3478
+ hasMenuActions && /* @__PURE__ */ jsx16(ActionsMenuDropdown, { groups: menuActions }),
3479
+ desktopActions.map((action, idx) => /* @__PURE__ */ jsx16(React11.Fragment, { children: renderActionButton({ ...action, variant: action.variant || "accent" }) }, `desktop-${actionKey(action, idx)}`))
3417
3480
  ] }),
3418
- /* @__PURE__ */ jsx15("div", { className: cn("flex md:hidden", className), children: /* @__PURE__ */ jsx15(
3481
+ /* @__PURE__ */ jsx16("div", { className: cn("flex md:hidden", className), children: /* @__PURE__ */ jsx16(
3419
3482
  ActionsMenuDropdown,
3420
3483
  {
3421
3484
  groups: [
@@ -3427,12 +3490,12 @@ function MenuPrimaryVariant({
3427
3490
  ] });
3428
3491
  }
3429
3492
  function MobileBottomActions({ actions }) {
3430
- return /* @__PURE__ */ jsx15("div", { className: cn(
3493
+ return /* @__PURE__ */ jsx16("div", { className: cn(
3431
3494
  "fixed md:hidden bottom-0 left-0 right-0 z-50",
3432
3495
  "bg-ods-card border-t border-ods-border",
3433
3496
  "flex items-start pt-6 pb-6 px-6",
3434
3497
  ACTIONS_GAP
3435
- ), children: actions.map((action, idx) => /* @__PURE__ */ jsx15(React11.Fragment, { children: renderActionButton(action, { fullWidth: !!action.label }) }, `mobile-${actionKey(action, idx)}`)) });
3498
+ ), children: actions.map((action, idx) => /* @__PURE__ */ jsx16(React11.Fragment, { children: renderActionButton(action, { fullWidth: !!action.label }) }, `mobile-${actionKey(action, idx)}`)) });
3436
3499
  }
3437
3500
  function usePageActionsBottomPadding(variant) {
3438
3501
  return variant === "primary-buttons" || variant === "menu-primary" ? "pb-40 md:pb-0" : "";
@@ -3443,7 +3506,7 @@ init_cn();
3443
3506
 
3444
3507
  // src/components/layout/back-button.tsx
3445
3508
  init_cn();
3446
- import { jsx as jsx16, jsxs as jsxs14 } from "react/jsx-runtime";
3509
+ import { jsx as jsx17, jsxs as jsxs14 } from "react/jsx-runtime";
3447
3510
  function BackButton({ label = "Back", className, type = "button", ...props }) {
3448
3511
  return /* @__PURE__ */ jsxs14(
3449
3512
  "button",
@@ -3459,15 +3522,15 @@ function BackButton({ label = "Back", className, type = "button", ...props }) {
3459
3522
  ),
3460
3523
  ...props,
3461
3524
  children: [
3462
- /* @__PURE__ */ jsx16(Chevron02LeftIcon, { className: "size-6 shrink-0" }),
3463
- /* @__PURE__ */ jsx16("span", { className: "text-h4", children: label })
3525
+ /* @__PURE__ */ jsx17(Chevron02LeftIcon, { className: "size-6 shrink-0" }),
3526
+ /* @__PURE__ */ jsx17("span", { className: "text-h4", children: label })
3464
3527
  ]
3465
3528
  }
3466
3529
  );
3467
3530
  }
3468
3531
 
3469
3532
  // src/components/layout/page-container.tsx
3470
- import { jsx as jsx17, jsxs as jsxs15 } from "react/jsx-runtime";
3533
+ import { jsx as jsx18, jsxs as jsxs15 } from "react/jsx-runtime";
3471
3534
  function isAdvancedProps(props) {
3472
3535
  return "variant" in props || "title" in props || "subtitle" in props || "backButton" in props || "headerActions" in props || "headerContent" in props || "showHeader" in props || "contentClassName" in props || "actions" in props || "actionsVariant" in props;
3473
3536
  }
@@ -3489,9 +3552,9 @@ function renderLegacyPageContainer({
3489
3552
  as: Component = "section",
3490
3553
  id
3491
3554
  }) {
3492
- const content = /* @__PURE__ */ jsx17("div", { className: cn(maxWidth, contentPadding, "mx-auto", className), children });
3555
+ const content = /* @__PURE__ */ jsx18("div", { className: cn(maxWidth, contentPadding, "mx-auto", className), children });
3493
3556
  if (fullWidthBackground) {
3494
- return /* @__PURE__ */ jsx17(
3557
+ return /* @__PURE__ */ jsx18(
3495
3558
  Component,
3496
3559
  {
3497
3560
  className: cn("w-full", backgroundClassName),
@@ -3501,7 +3564,7 @@ function renderLegacyPageContainer({
3501
3564
  }
3502
3565
  );
3503
3566
  }
3504
- return /* @__PURE__ */ jsx17(Component, { className: "w-full", id, children: /* @__PURE__ */ jsx17("div", { className: cn(maxWidth, contentPadding, "mx-auto", backgroundClassName, className), style: backgroundStyle, children }) });
3567
+ return /* @__PURE__ */ jsx18(Component, { className: "w-full", id, children: /* @__PURE__ */ jsx18("div", { className: cn(maxWidth, contentPadding, "mx-auto", backgroundClassName, className), style: backgroundStyle, children }) });
3505
3568
  }
3506
3569
  function renderAdvancedPageContainer({
3507
3570
  children,
@@ -3527,7 +3590,7 @@ function renderAdvancedPageContainer({
3527
3590
  };
3528
3591
  const renderActions = () => {
3529
3592
  if (!actions || actions.length === 0) return null;
3530
- return /* @__PURE__ */ jsx17(PageActions, { variant: getActionsVariant(), actions, menuActions });
3593
+ return /* @__PURE__ */ jsx18(PageActions, { variant: getActionsVariant(), actions, menuActions });
3531
3594
  };
3532
3595
  const needsBottomPadding = actions && actions.length > 0 && getActionsVariant() === "primary-buttons";
3533
3596
  const paddingClasses = {
@@ -3544,14 +3607,14 @@ function renderAdvancedPageContainer({
3544
3607
  const renderHeader = () => {
3545
3608
  if (!showHeader) return null;
3546
3609
  if (headerContent) {
3547
- return /* @__PURE__ */ jsx17("div", { className: cn(
3610
+ return /* @__PURE__ */ jsx18("div", { className: cn(
3548
3611
  "flex items-end justify-between gap-4"
3549
3612
  ), children: headerContent });
3550
3613
  }
3551
3614
  if (variant === "detail") {
3552
3615
  return /* @__PURE__ */ jsxs15("div", { className: "flex items-end justify-between md:flex-col md:items-start md:justify-start lg:flex-row lg:items-end lg:justify-between gap-4", children: [
3553
3616
  /* @__PURE__ */ jsxs15("div", { className: "flex flex-col gap-2 flex-1 min-w-0", children: [
3554
- backButton && /* @__PURE__ */ jsx17(
3617
+ backButton && /* @__PURE__ */ jsx18(
3555
3618
  BackButton,
3556
3619
  {
3557
3620
  onClick: backButton.onClick,
@@ -3559,8 +3622,8 @@ function renderAdvancedPageContainer({
3559
3622
  className: "hidden md:inline-flex"
3560
3623
  }
3561
3624
  ),
3562
- title && /* @__PURE__ */ jsx17("h1", { className: "text-h2 tracking-[-0.64px] text-ods-text-primary", children: title }),
3563
- subtitle && /* @__PURE__ */ jsx17("div", { className: "text-ods-text-secondary font-['DM_Sans'] font-medium text-[16px]", children: subtitle })
3625
+ title && /* @__PURE__ */ jsx18("h1", { className: "text-h2 tracking-[-0.64px] text-ods-text-primary", children: title }),
3626
+ subtitle && /* @__PURE__ */ jsx18("div", { className: "text-ods-text-secondary font-['DM_Sans'] font-medium text-[16px]", children: subtitle })
3564
3627
  ] }),
3565
3628
  (headerActions || actions) && /* @__PURE__ */ jsxs15("div", { className: "flex gap-2 items-center shrink-0", children: [
3566
3629
  headerActions,
@@ -3571,7 +3634,7 @@ function renderAdvancedPageContainer({
3571
3634
  if (variant === "list") {
3572
3635
  return /* @__PURE__ */ jsxs15("div", { className: "flex items-center justify-between md:flex-col md:items-start md:justify-start lg:flex-row lg:items-center lg:justify-between gap-4", children: [
3573
3636
  /* @__PURE__ */ jsxs15("div", { className: "flex flex-col gap-1 flex-1 min-w-0", children: [
3574
- backButton && /* @__PURE__ */ jsx17(
3637
+ backButton && /* @__PURE__ */ jsx18(
3575
3638
  BackButton,
3576
3639
  {
3577
3640
  onClick: backButton.onClick,
@@ -3579,8 +3642,8 @@ function renderAdvancedPageContainer({
3579
3642
  className: "hidden md:inline-flex"
3580
3643
  }
3581
3644
  ),
3582
- title && /* @__PURE__ */ jsx17("h1", { className: "text-h2 tracking-[-0.48px] text-ods-text-primary", children: title }),
3583
- subtitle && /* @__PURE__ */ jsx17("div", { className: "text-ods-text-secondary font-['DM_Sans'] font-medium text-[16px]", children: subtitle })
3645
+ title && /* @__PURE__ */ jsx18("h1", { className: "text-h2 tracking-[-0.48px] text-ods-text-primary", children: title }),
3646
+ subtitle && /* @__PURE__ */ jsx18("div", { className: "text-ods-text-secondary font-['DM_Sans'] font-medium text-[16px]", children: subtitle })
3584
3647
  ] }),
3585
3648
  (headerActions || actions) && /* @__PURE__ */ jsxs15("div", { className: "flex gap-3 items-center shrink-0", children: [
3586
3649
  headerActions,
@@ -3591,7 +3654,7 @@ function renderAdvancedPageContainer({
3591
3654
  if (variant === "form") {
3592
3655
  return /* @__PURE__ */ jsxs15("div", { className: "flex items-end justify-between md:flex-col md:items-start md:justify-start lg:flex-row lg:items-end lg:justify-between gap-4", children: [
3593
3656
  /* @__PURE__ */ jsxs15("div", { className: "flex flex-col gap-2 flex-1 min-w-0", children: [
3594
- backButton && /* @__PURE__ */ jsx17(
3657
+ backButton && /* @__PURE__ */ jsx18(
3595
3658
  BackButton,
3596
3659
  {
3597
3660
  onClick: backButton.onClick,
@@ -3599,7 +3662,7 @@ function renderAdvancedPageContainer({
3599
3662
  className: "hidden md:inline-flex"
3600
3663
  }
3601
3664
  ),
3602
- title && /* @__PURE__ */ jsx17("h1", { className: "text-[32px] font-['Azeret_Mono:SemiBold',_sans-serif] font-semibold text-ods-text-primary tracking-[-0.64px]", children: title })
3665
+ title && /* @__PURE__ */ jsx18("h1", { className: "text-[32px] font-['Azeret_Mono:SemiBold',_sans-serif] font-semibold text-ods-text-primary tracking-[-0.64px]", children: title })
3603
3666
  ] }),
3604
3667
  (headerActions || actions) && /* @__PURE__ */ jsxs15("div", { className: "flex gap-4 items-center shrink-0", children: [
3605
3668
  headerActions,
@@ -3609,8 +3672,8 @@ function renderAdvancedPageContainer({
3609
3672
  }
3610
3673
  return /* @__PURE__ */ jsxs15("div", { className: "flex items-center justify-between md:flex-col md:items-start md:justify-start lg:flex-row lg:items-center lg:justify-between gap-4", children: [
3611
3674
  (title || subtitle) && /* @__PURE__ */ jsxs15("div", { className: "flex flex-col gap-1 flex-1 min-w-0", children: [
3612
- title && /* @__PURE__ */ jsx17("h1", { className: "text-h2 text-ods-text-primary", children: title }),
3613
- subtitle && /* @__PURE__ */ jsx17("div", { className: "text-ods-text-secondary font-['DM_Sans'] font-medium text-[16px]", children: subtitle })
3675
+ title && /* @__PURE__ */ jsx18("h1", { className: "text-h2 text-ods-text-primary", children: title }),
3676
+ subtitle && /* @__PURE__ */ jsx18("div", { className: "text-ods-text-secondary font-['DM_Sans'] font-medium text-[16px]", children: subtitle })
3614
3677
  ] }),
3615
3678
  (headerActions || actions) && /* @__PURE__ */ jsxs15("div", { className: "flex gap-3 items-center shrink-0", children: [
3616
3679
  headerActions,
@@ -3652,26 +3715,26 @@ function renderAdvancedPageContainer({
3652
3715
  };
3653
3716
  return /* @__PURE__ */ jsxs15("div", { className: getContainerClasses(), children: [
3654
3717
  renderHeader(),
3655
- /* @__PURE__ */ jsx17("div", { className: getContentClasses(), children })
3718
+ /* @__PURE__ */ jsx18("div", { className: getContentClasses(), children })
3656
3719
  ] });
3657
3720
  }
3658
- var ListPageContainer = (props) => /* @__PURE__ */ jsx17(PageContainer, { ...props, variant: "list" });
3659
- var DetailPageContainer = (props) => /* @__PURE__ */ jsx17(PageContainer, { ...props, variant: "detail" });
3660
- var FormPageContainer = (props) => /* @__PURE__ */ jsx17(PageContainer, { ...props, variant: "form" });
3661
- var ContentPageContainer = (props) => /* @__PURE__ */ jsx17(PageContainer, { ...props, variant: "content" });
3721
+ var ListPageContainer = (props) => /* @__PURE__ */ jsx18(PageContainer, { ...props, variant: "list" });
3722
+ var DetailPageContainer = (props) => /* @__PURE__ */ jsx18(PageContainer, { ...props, variant: "detail" });
3723
+ var FormPageContainer = (props) => /* @__PURE__ */ jsx18(PageContainer, { ...props, variant: "form" });
3724
+ var ContentPageContainer = (props) => /* @__PURE__ */ jsx18(PageContainer, { ...props, variant: "content" });
3662
3725
 
3663
3726
  // src/components/layout/article-detail-layout.tsx
3664
- import { jsx as jsx18, jsxs as jsxs16 } from "react/jsx-runtime";
3727
+ import { jsx as jsx19, jsxs as jsxs16 } from "react/jsx-runtime";
3665
3728
  function PageShell({ children, schemas }) {
3666
3729
  return /* @__PURE__ */ jsxs16("main", { className: "bg-ods-bg min-h-screen", children: [
3667
3730
  schemas,
3668
- /* @__PURE__ */ jsx18("div", { className: "max-w-[1920px] mx-auto px-6 md:px-20 py-6 md:py-10", children })
3731
+ /* @__PURE__ */ jsx19("div", { className: "max-w-[1920px] mx-auto px-6 md:px-20 py-6 md:py-10", children })
3669
3732
  ] });
3670
3733
  }
3671
3734
  function ArticleDetailLayout({ children, schemas }) {
3672
3735
  return /* @__PURE__ */ jsxs16("main", { className: "bg-ods-bg min-h-screen", children: [
3673
3736
  schemas,
3674
- /* @__PURE__ */ jsx18("div", { className: "max-w-[1280px] mx-auto px-6 md:px-20 py-6 md:py-10", children })
3737
+ /* @__PURE__ */ jsx19("div", { className: "max-w-[1280px] mx-auto px-6 md:px-20 py-6 md:py-10", children })
3675
3738
  ] });
3676
3739
  }
3677
3740
 
@@ -3726,7 +3789,7 @@ function resolveContentHref(composeContentUrl, args) {
3726
3789
  init_button();
3727
3790
  init_cn();
3728
3791
  import { AlertTriangle, RefreshCw, Home } from "lucide-react";
3729
- import { jsx as jsx19, jsxs as jsxs17 } from "react/jsx-runtime";
3792
+ import { jsx as jsx20, jsxs as jsxs17 } from "react/jsx-runtime";
3730
3793
  function ErrorState({
3731
3794
  title = "Error",
3732
3795
  message,
@@ -3765,36 +3828,36 @@ function ErrorState({
3765
3828
  }
3766
3829
  };
3767
3830
  const styles = getVariantStyles();
3768
- return /* @__PURE__ */ jsx19("div", { className: cn("p-6", containerClassName), children: /* @__PURE__ */ jsx19("div", { className: cn(
3831
+ return /* @__PURE__ */ jsx20("div", { className: cn("p-6", containerClassName), children: /* @__PURE__ */ jsx20("div", { className: cn(
3769
3832
  "rounded-lg p-4 border",
3770
3833
  styles.bg,
3771
3834
  styles.border,
3772
3835
  className
3773
3836
  ), children: /* @__PURE__ */ jsxs17("div", { className: "flex items-start gap-3", children: [
3774
- showIcon && /* @__PURE__ */ jsx19(AlertTriangle, { className: cn("h-5 w-5 mt-0.5 flex-shrink-0", styles.icon) }),
3837
+ showIcon && /* @__PURE__ */ jsx20(AlertTriangle, { className: cn("h-5 w-5 mt-0.5 flex-shrink-0", styles.icon) }),
3775
3838
  /* @__PURE__ */ jsxs17("div", { className: "flex-1", children: [
3776
- /* @__PURE__ */ jsx19("h3", { className: cn("font-semibold mb-1", styles.text), children: title }),
3777
- /* @__PURE__ */ jsx19("p", { className: cn("text-sm", styles.text), children: message }),
3839
+ /* @__PURE__ */ jsx20("h3", { className: cn("font-semibold mb-1", styles.text), children: title }),
3840
+ /* @__PURE__ */ jsx20("p", { className: cn("text-sm", styles.text), children: message }),
3778
3841
  (showRetry || showHome) && /* @__PURE__ */ jsxs17("div", { className: "flex gap-2 mt-3", children: [
3779
- showRetry && onRetry && /* @__PURE__ */ jsx19(
3842
+ showRetry && onRetry && /* @__PURE__ */ jsx20(
3780
3843
  Button,
3781
3844
  {
3782
3845
  onClick: onRetry,
3783
3846
  variant: "outline",
3784
3847
  size: "small-legacy",
3785
3848
  className: "h-8",
3786
- leftIcon: /* @__PURE__ */ jsx19(RefreshCw, { className: "h-4 w-4" }),
3849
+ leftIcon: /* @__PURE__ */ jsx20(RefreshCw, { className: "h-4 w-4" }),
3787
3850
  children: "Try Again"
3788
3851
  }
3789
3852
  ),
3790
- showHome && onHome && /* @__PURE__ */ jsx19(
3853
+ showHome && onHome && /* @__PURE__ */ jsx20(
3791
3854
  Button,
3792
3855
  {
3793
3856
  onClick: onHome,
3794
3857
  variant: "outline",
3795
3858
  size: "small-legacy",
3796
3859
  className: "h-8",
3797
- leftIcon: /* @__PURE__ */ jsx19(Home, { className: "h-4 w-4" }),
3860
+ leftIcon: /* @__PURE__ */ jsx20(Home, { className: "h-4 w-4" }),
3798
3861
  children: "Go Home"
3799
3862
  }
3800
3863
  )
@@ -3803,7 +3866,7 @@ function ErrorState({
3803
3866
  ] }) }) });
3804
3867
  }
3805
3868
  function PageError({ message, onRetry, onHome }) {
3806
- return /* @__PURE__ */ jsx19(
3869
+ return /* @__PURE__ */ jsx20(
3807
3870
  ErrorState,
3808
3871
  {
3809
3872
  title: "Page Error",
@@ -3817,7 +3880,7 @@ function PageError({ message, onRetry, onHome }) {
3817
3880
  );
3818
3881
  }
3819
3882
  function LoadError({ message, onRetry }) {
3820
- return /* @__PURE__ */ jsx19(
3883
+ return /* @__PURE__ */ jsx20(
3821
3884
  ErrorState,
3822
3885
  {
3823
3886
  title: "Loading Error",
@@ -3829,7 +3892,7 @@ function LoadError({ message, onRetry }) {
3829
3892
  );
3830
3893
  }
3831
3894
  function NotFoundError({ message = "The requested item was not found", onHome }) {
3832
- return /* @__PURE__ */ jsx19(
3895
+ return /* @__PURE__ */ jsx20(
3833
3896
  ErrorState,
3834
3897
  {
3835
3898
  title: "Not Found",
@@ -3841,6 +3904,37 @@ function NotFoundError({ message = "The requested item was not found", onHome })
3841
3904
  );
3842
3905
  }
3843
3906
 
3907
+ // src/components/features/entity-tag-badges.tsx
3908
+ import Link from "next/link";
3909
+ import { jsx as jsx21, jsxs as jsxs18 } from "react/jsx-runtime";
3910
+ var TAG_BADGE_CLASS = "bg-ods-card border border-ods-border";
3911
+ var BADGE_CLASS = TAG_BADGE_CLASS;
3912
+ function EntityTagBadges({ tags, basePath, max, className }) {
3913
+ const items = (tags || []).filter((t) => !!t && !!t.name);
3914
+ if (items.length === 0) return null;
3915
+ const visibleLimit = max == null ? items.length : Math.max(0, max);
3916
+ const shown = items.slice(0, visibleLimit);
3917
+ const overflow = items.length - shown.length;
3918
+ return /* @__PURE__ */ jsxs18("div", { className: `flex flex-wrap items-center gap-2 w-full ${className || ""}`, children: [
3919
+ shown.map((tag) => {
3920
+ const key = tag.tag_id ?? tag.id ?? tag.slug ?? tag.name;
3921
+ const label = (tag.name || "").toUpperCase();
3922
+ if (basePath && tag.slug) {
3923
+ return /* @__PURE__ */ jsx21(Link, { href: `${basePath}?tags=${tag.slug}`, className: "inline-flex", children: /* @__PURE__ */ jsx21(
3924
+ StatusBadge,
3925
+ {
3926
+ text: label,
3927
+ variant: "card",
3928
+ className: `${BADGE_CLASS} cursor-pointer transition-colors hover:border-ods-accent`
3929
+ }
3930
+ ) }, key);
3931
+ }
3932
+ return /* @__PURE__ */ jsx21(StatusBadge, { text: label, variant: "card", className: BADGE_CLASS }, key);
3933
+ }),
3934
+ overflow > 0 && /* @__PURE__ */ jsx21(StatusBadge, { text: `+${overflow}`, variant: "card", className: `${BADGE_CLASS} text-ods-text-secondary` })
3935
+ ] });
3936
+ }
3937
+
3844
3938
  // src/components/features/mux-origins.ts
3845
3939
  var MUX_STREAM_ORIGIN = "https://stream.mux.com";
3846
3940
  var MUX_IMAGE_ORIGIN = "https://image.mux.com";
@@ -3914,7 +4008,7 @@ init_cn();
3914
4008
  import * as PopoverPrimitive from "@radix-ui/react-popover";
3915
4009
  import * as ScrollAreaPrimitive from "@radix-ui/react-scroll-area";
3916
4010
  import * as React12 from "react";
3917
- import { jsx as jsx20, jsxs as jsxs18 } from "react/jsx-runtime";
4011
+ import { jsx as jsx22, jsxs as jsxs19 } from "react/jsx-runtime";
3918
4012
  var containerStyles = cn(
3919
4013
  // Layout & spacing — matches lib Input component
3920
4014
  "flex items-center gap-2 rounded-[6px] border px-3 h-11 md:h-12 cursor-text",
@@ -4098,20 +4192,20 @@ function SearchInput({
4098
4192
  const handleOpenChange = (open) => {
4099
4193
  setIsOpen(open);
4100
4194
  };
4101
- const defaultRenderResult = (result, isHighlighted) => /* @__PURE__ */ jsxs18("div", { className: "flex items-center gap-3 w-full min-w-0", children: [
4102
- result.icon && /* @__PURE__ */ jsx20("span", { className: "flex-shrink-0 text-ods-text-secondary [&_svg]:size-4", children: result.icon }),
4103
- /* @__PURE__ */ jsxs18("div", { className: "min-w-0 flex-1", children: [
4104
- /* @__PURE__ */ jsx20("div", { className: cn(
4195
+ const defaultRenderResult = (result, isHighlighted) => /* @__PURE__ */ jsxs19("div", { className: "flex items-center gap-3 w-full min-w-0", children: [
4196
+ result.icon && /* @__PURE__ */ jsx22("span", { className: "flex-shrink-0 text-ods-text-secondary [&_svg]:size-4", children: result.icon }),
4197
+ /* @__PURE__ */ jsxs19("div", { className: "min-w-0 flex-1", children: [
4198
+ /* @__PURE__ */ jsx22("div", { className: cn(
4105
4199
  "text-sm font-medium leading-5 truncate",
4106
4200
  isHighlighted ? "text-ods-accent" : "text-ods-text-primary"
4107
4201
  ), title: result.title, children: result.title }),
4108
- result.description && /* @__PURE__ */ jsx20("div", { className: "text-xs leading-4 text-ods-text-secondary truncate mt-0.5", title: result.description, children: result.description })
4202
+ result.description && /* @__PURE__ */ jsx22("div", { className: "text-xs leading-4 text-ods-text-secondary truncate mt-0.5", title: result.description, children: result.description })
4109
4203
  ] }),
4110
- result.type && /* @__PURE__ */ jsx20("span", { className: "flex-shrink-0 text-[11px] font-medium text-ods-text-muted uppercase tracking-wider", children: result.type })
4204
+ result.type && /* @__PURE__ */ jsx22("span", { className: "flex-shrink-0 text-[11px] font-medium text-ods-text-muted uppercase tracking-wider", children: result.type })
4111
4205
  ] });
4112
4206
  const renderRow = (result, index) => {
4113
4207
  const isHighlighted = index === highlightedIndex;
4114
- return /* @__PURE__ */ jsx20(
4208
+ return /* @__PURE__ */ jsx22(
4115
4209
  "div",
4116
4210
  {
4117
4211
  role: "option",
@@ -4130,15 +4224,15 @@ function SearchInput({
4130
4224
  };
4131
4225
  const renderDropdownContent = () => {
4132
4226
  if (isLoading) {
4133
- return /* @__PURE__ */ jsx20("div", { className: "px-4 py-3 text-ods-text-secondary text-[14px]", children: "Loading..." });
4227
+ return /* @__PURE__ */ jsx22("div", { className: "px-4 py-3 text-ods-text-secondary text-[14px]", children: "Loading..." });
4134
4228
  }
4135
4229
  if (flatResults.length === 0) {
4136
- return /* @__PURE__ */ jsx20("div", { className: "px-4 py-3 text-ods-text-secondary text-[14px]", children: emptyResultsText });
4230
+ return /* @__PURE__ */ jsx22("div", { className: "px-4 py-3 text-ods-text-secondary text-[14px]", children: emptyResultsText });
4137
4231
  }
4138
4232
  if (groups) {
4139
4233
  let globalIndex = 0;
4140
- return Array.from(groups.entries()).map(([groupLabel, groupResults]) => /* @__PURE__ */ jsxs18("div", { children: [
4141
- /* @__PURE__ */ jsx20("div", { className: "px-4 py-2 text-[12px] font-semibold text-ods-text-secondary uppercase tracking-wide bg-ods-bg", children: groupLabel }),
4234
+ return Array.from(groups.entries()).map(([groupLabel, groupResults]) => /* @__PURE__ */ jsxs19("div", { children: [
4235
+ /* @__PURE__ */ jsx22("div", { className: "px-4 py-2 text-[12px] font-semibold text-ods-text-secondary uppercase tracking-wide bg-ods-bg", children: groupLabel }),
4142
4236
  groupResults.map((result) => {
4143
4237
  const idx = globalIndex++;
4144
4238
  return renderRow(result, idx);
@@ -4148,9 +4242,9 @@ function SearchInput({
4148
4242
  return flatResults.map((result, index) => renderRow(result, index));
4149
4243
  };
4150
4244
  const hasValue = currentValue.length > 0;
4151
- return /* @__PURE__ */ jsxs18("div", { className: cn("relative", className), ref: containerRef, children: [
4152
- /* @__PURE__ */ jsxs18(PopoverPrimitive.Root, { open: dropdownVisible, onOpenChange: handleOpenChange, modal: false, children: [
4153
- /* @__PURE__ */ jsx20(PopoverPrimitive.Anchor, { asChild: true, children: /* @__PURE__ */ jsxs18(
4245
+ return /* @__PURE__ */ jsxs19("div", { className: cn("relative", className), ref: containerRef, children: [
4246
+ /* @__PURE__ */ jsxs19(PopoverPrimitive.Root, { open: dropdownVisible, onOpenChange: handleOpenChange, modal: false, children: [
4247
+ /* @__PURE__ */ jsx22(PopoverPrimitive.Anchor, { asChild: true, children: /* @__PURE__ */ jsxs19(
4154
4248
  "div",
4155
4249
  {
4156
4250
  className: cn(
@@ -4163,9 +4257,9 @@ function SearchInput({
4163
4257
  setIsOpen(true);
4164
4258
  },
4165
4259
  children: [
4166
- /* @__PURE__ */ jsx20("span", { className: "flex-shrink-0 text-ods-text-secondary transition-colors duration-200 group-has-[:focus]:text-ods-accent [&_svg]:size-4 md:[&_svg]:size-6", children: startAdornment !== void 0 ? startAdornment : /* @__PURE__ */ jsx20(SearchIcon, {}) }),
4167
- /* @__PURE__ */ jsxs18("div", { ref: middleRef, className: "flex-1 flex items-center gap-2 min-w-0 overflow-hidden", children: [
4168
- visibleChips.map((chip) => /* @__PURE__ */ jsx20(
4260
+ /* @__PURE__ */ jsx22("span", { className: "flex-shrink-0 text-ods-text-secondary transition-colors duration-200 group-has-[:focus]:text-ods-accent [&_svg]:size-4 md:[&_svg]:size-6", children: startAdornment !== void 0 ? startAdornment : /* @__PURE__ */ jsx22(SearchIcon, {}) }),
4261
+ /* @__PURE__ */ jsxs19("div", { ref: middleRef, className: "flex-1 flex items-center gap-2 min-w-0 overflow-hidden", children: [
4262
+ visibleChips.map((chip) => /* @__PURE__ */ jsx22(
4169
4263
  Tag,
4170
4264
  {
4171
4265
  variant: chipVariantToTagVariant(chip.variant),
@@ -4175,7 +4269,7 @@ function SearchInput({
4175
4269
  },
4176
4270
  chip.id
4177
4271
  )),
4178
- hiddenCount > 0 && /* @__PURE__ */ jsx20("div", { ref: hiddenTagsRef, className: "shrink-0", children: /* @__PURE__ */ jsx20(
4272
+ hiddenCount > 0 && /* @__PURE__ */ jsx22("div", { ref: hiddenTagsRef, className: "shrink-0", children: /* @__PURE__ */ jsx22(
4179
4273
  "button",
4180
4274
  {
4181
4275
  ref: badgeRef,
@@ -4194,7 +4288,7 @@ function SearchInput({
4194
4288
  children: getLimitTagsText(hiddenCount)
4195
4289
  }
4196
4290
  ) }),
4197
- /* @__PURE__ */ jsx20(
4291
+ /* @__PURE__ */ jsx22(
4198
4292
  "input",
4199
4293
  {
4200
4294
  ref: inputRef,
@@ -4211,15 +4305,15 @@ function SearchInput({
4211
4305
  }
4212
4306
  )
4213
4307
  ] }),
4214
- /* @__PURE__ */ jsxs18("div", { className: "flex items-center gap-1 shrink-0 ml-auto", children: [
4215
- hasValue && /* @__PURE__ */ jsx20(
4308
+ /* @__PURE__ */ jsxs19("div", { className: "flex items-center gap-1 shrink-0 ml-auto", children: [
4309
+ hasValue && /* @__PURE__ */ jsx22(
4216
4310
  "button",
4217
4311
  {
4218
4312
  type: "button",
4219
4313
  onClick: handleClear,
4220
4314
  className: "flex items-center justify-center hover:opacity-70 transition-opacity",
4221
4315
  "aria-label": "Clear search",
4222
- children: /* @__PURE__ */ jsx20(XmarkCircleIcon, { className: "text-ods-text-secondary", size: 24 })
4316
+ children: /* @__PURE__ */ jsx22(XmarkCircleIcon, { className: "text-ods-text-secondary", size: 24 })
4223
4317
  }
4224
4318
  ),
4225
4319
  endAdornment
@@ -4227,7 +4321,7 @@ function SearchInput({
4227
4321
  ]
4228
4322
  }
4229
4323
  ) }),
4230
- /* @__PURE__ */ jsx20(
4324
+ /* @__PURE__ */ jsx22(
4231
4325
  PopoverPrimitive.Content,
4232
4326
  {
4233
4327
  className: cn(
@@ -4250,14 +4344,14 @@ function SearchInput({
4250
4344
  e.preventDefault();
4251
4345
  }
4252
4346
  },
4253
- children: /* @__PURE__ */ jsxs18(ScrollAreaPrimitive.Root, { className: "overflow-hidden", children: [
4254
- /* @__PURE__ */ jsx20(ScrollAreaPrimitive.Viewport, { className: "max-h-[320px] w-full", children: /* @__PURE__ */ jsx20("div", { role: "listbox", children: renderDropdownContent() }) }),
4255
- /* @__PURE__ */ jsx20(ScrollAreaPrimitive.Scrollbar, { className: "hidden", orientation: "vertical", children: /* @__PURE__ */ jsx20(ScrollAreaPrimitive.Thumb, {}) })
4347
+ children: /* @__PURE__ */ jsxs19(ScrollAreaPrimitive.Root, { className: "overflow-hidden", children: [
4348
+ /* @__PURE__ */ jsx22(ScrollAreaPrimitive.Viewport, { className: "max-h-[320px] w-full", children: /* @__PURE__ */ jsx22("div", { role: "listbox", children: renderDropdownContent() }) }),
4349
+ /* @__PURE__ */ jsx22(ScrollAreaPrimitive.Scrollbar, { className: "hidden", orientation: "vertical", children: /* @__PURE__ */ jsx22(ScrollAreaPrimitive.Thumb, {}) })
4256
4350
  ] })
4257
4351
  }
4258
4352
  )
4259
4353
  ] }),
4260
- showHiddenTags && hiddenCount > 0 && /* @__PURE__ */ jsx20(
4354
+ showHiddenTags && hiddenCount > 0 && /* @__PURE__ */ jsx22(
4261
4355
  HiddenTagsPopup,
4262
4356
  {
4263
4357
  ref: hiddenTagsPopupRef,
@@ -4271,7 +4365,7 @@ function SearchInput({
4271
4365
  }
4272
4366
  }
4273
4367
  ),
4274
- /* @__PURE__ */ jsx20(
4368
+ /* @__PURE__ */ jsx22(
4275
4369
  "span",
4276
4370
  {
4277
4371
  ref: textMeasureRef,
@@ -4280,13 +4374,13 @@ function SearchInput({
4280
4374
  children: currentPlaceholder
4281
4375
  }
4282
4376
  ),
4283
- /* @__PURE__ */ jsx20(
4377
+ /* @__PURE__ */ jsx22(
4284
4378
  "div",
4285
4379
  {
4286
4380
  ref: measureRef,
4287
4381
  "aria-hidden": "true",
4288
4382
  className: "fixed -left-[9999px] top-0 flex gap-2 pointer-events-none",
4289
- children: filterChips.map((chip) => /* @__PURE__ */ jsx20(
4383
+ children: filterChips.map((chip) => /* @__PURE__ */ jsx22(
4290
4384
  Tag,
4291
4385
  {
4292
4386
  variant: chipVariantToTagVariant(chip.variant),
@@ -4305,7 +4399,7 @@ function SearchInput({
4305
4399
  // src/components/ui/filter-pill-row.tsx
4306
4400
  init_button();
4307
4401
  import { Filter } from "lucide-react";
4308
- import { jsx as jsx21, jsxs as jsxs19 } from "react/jsx-runtime";
4402
+ import { jsx as jsx23, jsxs as jsxs20 } from "react/jsx-runtime";
4309
4403
  function FilterPillRow({
4310
4404
  label,
4311
4405
  selectedValue,
@@ -4314,12 +4408,12 @@ function FilterPillRow({
4314
4408
  countLabel,
4315
4409
  children
4316
4410
  }) {
4317
- return /* @__PURE__ */ jsxs19("div", { className: "flex flex-wrap items-center gap-3 p-4 bg-ods-card border border-ods-border rounded-lg", children: [
4318
- /* @__PURE__ */ jsxs19("div", { className: "flex items-center gap-2", children: [
4319
- /* @__PURE__ */ jsx21(Filter, { className: "h-4 w-4 text-ods-accent" }),
4320
- /* @__PURE__ */ jsx21("span", { className: "text-h5 text-ods-text-secondary", children: label })
4411
+ return /* @__PURE__ */ jsxs20("div", { className: "flex flex-wrap items-center gap-3 p-4 bg-ods-card border border-ods-border rounded-lg", children: [
4412
+ /* @__PURE__ */ jsxs20("div", { className: "flex items-center gap-2", children: [
4413
+ /* @__PURE__ */ jsx23(Filter, { className: "h-4 w-4 text-ods-accent" }),
4414
+ /* @__PURE__ */ jsx23("span", { className: "text-h5 text-ods-text-secondary", children: label })
4321
4415
  ] }),
4322
- children || options.map((opt) => /* @__PURE__ */ jsx21(
4416
+ children || options.map((opt) => /* @__PURE__ */ jsx23(
4323
4417
  Button,
4324
4418
  {
4325
4419
  type: "button",
@@ -4331,7 +4425,7 @@ function FilterPillRow({
4331
4425
  },
4332
4426
  opt.value
4333
4427
  )),
4334
- countLabel && /* @__PURE__ */ jsx21("div", { className: "ml-auto text-[12px] font-['DM_Sans'] text-ods-text-secondary shrink-0", children: countLabel })
4428
+ countLabel && /* @__PURE__ */ jsx23("div", { className: "ml-auto text-[12px] font-['DM_Sans'] text-ods-text-secondary shrink-0", children: countLabel })
4335
4429
  ] });
4336
4430
  }
4337
4431
 
@@ -4350,6 +4444,8 @@ export {
4350
4444
  TabsList,
4351
4445
  TabsTrigger,
4352
4446
  TabsContent,
4447
+ statusBadgeVariants,
4448
+ StatusBadge,
4353
4449
  SimpleMarkdownRenderer,
4354
4450
  formatDate,
4355
4451
  formatNumber,
@@ -4465,6 +4561,8 @@ export {
4465
4561
  PageError,
4466
4562
  LoadError,
4467
4563
  NotFoundError,
4564
+ TAG_BADGE_CLASS,
4565
+ EntityTagBadges,
4468
4566
  MUX_STREAM_ORIGIN,
4469
4567
  MUX_IMAGE_ORIGIN,
4470
4568
  useVideoOriginPreconnect,
@@ -4473,4 +4571,4 @@ export {
4473
4571
  SearchInput,
4474
4572
  FilterPillRow
4475
4573
  };
4476
- //# sourceMappingURL=chunk-URJQGMNH.js.map
4574
+ //# sourceMappingURL=chunk-ICOMPUMX.js.map