@heroui/agent 0.2.0-beta.3 → 0.2.0-beta.5

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.
@@ -4,11 +4,12 @@ import {
4
4
  TrendChange,
5
5
  chartToDataTable,
6
6
  componentActionFromSpec,
7
+ copyComponent,
7
8
  createComponentSelection,
8
9
  formatCell,
9
10
  formatNumber,
10
11
  resolveGaugeBounds
11
- } from "./chunk-AEUPMIPT.js";
12
+ } from "./chunk-FNGGMHVR.js";
12
13
  import {
13
14
  createMapLayout,
14
15
  getInitialMapLocationId
@@ -16,10 +17,9 @@ import {
16
17
  import {
17
18
  ActionButton,
18
19
  CodeBlock,
19
- ComponentSkeleton,
20
20
  ScrollShadow,
21
21
  renderInlineMarkdown
22
- } from "./chunk-CU6MPKAJ.js";
22
+ } from "./chunk-6O3SFXJK.js";
23
23
  import {
24
24
  Card,
25
25
  CardVariantProvider,
@@ -1728,16 +1728,49 @@ function FollowupView({ className, component, onAction, onSelect }) {
1728
1728
  // ../agent-ui/src/components/data-visualization/charts/chart-views.tsx
1729
1729
  import { Suspense, lazy, useState as useState2 } from "react";
1730
1730
 
1731
+ // ../agent-ui/src/components/component-renderer/component-skeleton.tsx
1732
+ import { jsx as jsx2, jsxs as jsxs2 } from "react/jsx-runtime";
1733
+ function skeletonCategory(kind) {
1734
+ if (kind === "dashboard" || kind === "product-signals" || kind === "card" || kind === "col" || kind === "grid" || kind === "item-card" || kind === "item-card-group" || kind === "row")
1735
+ return "dashboard";
1736
+ if (kind === "metric-grid" || kind === "kpi-grid") return "metrics";
1737
+ if (kind === "map") return "map";
1738
+ if (kind === "data-table") return "table";
1739
+ if (kind === "record-card" || kind === "channel-message" || kind === "create-event" || kind === "enable-notification" || kind === "event-session" || kind === "flight-tracker" || kind === "player-card" || kind === "playlist" || kind === "purchase-complete" || kind === "purchase-items" || kind === "ride-status" || kind === "view-event" || kind === "weather-current" || kind === "weather-forecast")
1740
+ return "record";
1741
+ return "chart";
1742
+ }
1743
+ function ComponentSkeleton({ className, kind, title: title2 }) {
1744
+ const category = skeletonCategory(kind);
1745
+ return /* @__PURE__ */ jsxs2(
1746
+ "section",
1747
+ {
1748
+ "aria-busy": "true",
1749
+ "aria-label": title2 ? `Loading ${title2}` : "Loading data view",
1750
+ className: mergeClassNames("aui-skeleton", className),
1751
+ "data-component-kind": kind,
1752
+ "data-skeleton-category": category,
1753
+ "data-slot": "agent-ui-skeleton",
1754
+ role: "status",
1755
+ children: [
1756
+ /* @__PURE__ */ jsx2("div", { className: "aui-skeleton__header", "data-slot": "agent-ui-skeleton-header" }),
1757
+ /* @__PURE__ */ jsx2("div", { className: "aui-skeleton__content", "data-slot": "agent-ui-skeleton-content", children: category === "metrics" || category === "dashboard" ? Array.from({ length: category === "dashboard" ? 2 : 4 }, (_, index) => /* @__PURE__ */ jsx2("span", { className: "aui-skeleton__panel" }, index)) : category === "table" || category === "record" ? Array.from({ length: category === "table" ? 5 : 4 }, (_, index) => /* @__PURE__ */ jsx2("span", { className: "aui-skeleton__row" }, index)) : /* @__PURE__ */ jsx2("span", { className: "aui-skeleton__chart" }) }),
1758
+ /* @__PURE__ */ jsx2("span", { className: "aui-sr-only", "data-slot": "agent-ui-skeleton-label", children: "Loading data view\u2026" })
1759
+ ]
1760
+ }
1761
+ );
1762
+ }
1763
+
1731
1764
  // ../agent-ui/src/components/data-visualization/data-table/data-table.tsx
1732
1765
  import { ChevronUp } from "@gravity-ui/icons";
1733
1766
  import { SearchField } from "@heroui/react";
1734
1767
  import { useMemo, useState } from "react";
1735
- import { jsx as jsx2, jsxs as jsxs2 } from "react/jsx-runtime";
1768
+ import { jsx as jsx3, jsxs as jsxs3 } from "react/jsx-runtime";
1736
1769
  function DataTableCardVariantProvider({
1737
1770
  children,
1738
1771
  inherit
1739
1772
  }) {
1740
- return inherit ? children : /* @__PURE__ */ jsx2(CardVariantProvider, { variant: "plain", children });
1773
+ return inherit ? children : /* @__PURE__ */ jsx3(CardVariantProvider, { variant: "plain", children });
1741
1774
  }
1742
1775
  function DataTableView({
1743
1776
  className,
@@ -1783,23 +1816,28 @@ function DataTableView({
1783
1816
  }, [activeSort, component.filterable, filter, keyedRows]);
1784
1817
  const select = (row) => onSelect?.(createComponentSelection(component, row));
1785
1818
  const tableExportFormats = exportFormats?.filter((format) => format === "csv") ?? [];
1786
- return /* @__PURE__ */ jsx2(DataTableCardVariantProvider, { inherit: inheritCardVariant, children: /* @__PURE__ */ jsxs2(
1819
+ return /* @__PURE__ */ jsx3(DataTableCardVariantProvider, { inherit: inheritCardVariant, children: /* @__PURE__ */ jsxs3(
1787
1820
  Card,
1788
1821
  {
1789
1822
  className,
1790
1823
  description: component.description,
1791
1824
  title: component.title,
1792
- actions: tableExportFormats.length > 0 || viewAction ? /* @__PURE__ */ jsx2(
1825
+ actions: /* @__PURE__ */ jsx3(
1793
1826
  ComponentExportActions,
1794
1827
  {
1795
1828
  component,
1796
1829
  formats: tableExportFormats,
1797
1830
  viewAction,
1831
+ copyAction: () => {
1832
+ void copyComponent({ ...component, rows: rows.map(({ row }) => row) }, "text").catch(
1833
+ () => void 0
1834
+ );
1835
+ },
1798
1836
  onAction
1799
1837
  }
1800
- ) : null,
1838
+ ),
1801
1839
  children: [
1802
- component.filterable ? /* @__PURE__ */ jsx2("div", { className: "aui-table__tools", "data-slot": "agent-ui-table-tools", children: /* @__PURE__ */ jsx2(
1840
+ component.filterable ? /* @__PURE__ */ jsx3("div", { className: "aui-table__tools", "data-slot": "agent-ui-table-tools", children: /* @__PURE__ */ jsx3(
1803
1841
  SearchField,
1804
1842
  {
1805
1843
  fullWidth: true,
@@ -1808,26 +1846,26 @@ function DataTableView({
1808
1846
  value: filter,
1809
1847
  variant: "secondary",
1810
1848
  onChange: setFilter,
1811
- children: /* @__PURE__ */ jsxs2(SearchField.Group, { children: [
1812
- /* @__PURE__ */ jsx2(SearchField.SearchIcon, {}),
1813
- /* @__PURE__ */ jsx2(SearchField.Input, { "data-slot": "agent-ui-table-filter", placeholder: "Filter rows\u2026" }),
1814
- /* @__PURE__ */ jsx2(SearchField.ClearButton, {})
1849
+ children: /* @__PURE__ */ jsxs3(SearchField.Group, { children: [
1850
+ /* @__PURE__ */ jsx3(SearchField.SearchIcon, {}),
1851
+ /* @__PURE__ */ jsx3(SearchField.Input, { "data-slot": "agent-ui-table-filter", placeholder: "Filter rows\u2026" }),
1852
+ /* @__PURE__ */ jsx3(SearchField.ClearButton, {})
1815
1853
  ] })
1816
1854
  }
1817
1855
  ) }) : null,
1818
- /* @__PURE__ */ jsx2(
1856
+ /* @__PURE__ */ jsx3(
1819
1857
  "div",
1820
1858
  {
1821
1859
  className: "aui-table__scroll",
1822
1860
  "data-slot": "agent-ui-table-scroll",
1823
1861
  "data-variant": component.variant ?? "primary",
1824
- children: /* @__PURE__ */ jsxs2("table", { className: "aui-table", "data-slot": "agent-ui-data-table", children: [
1825
- /* @__PURE__ */ jsx2("thead", { "data-slot": "agent-ui-table-head", children: /* @__PURE__ */ jsx2("tr", { children: component.columns.map((column) => /* @__PURE__ */ jsx2(
1862
+ children: /* @__PURE__ */ jsxs3("table", { className: "aui-table", "data-slot": "agent-ui-data-table", children: [
1863
+ /* @__PURE__ */ jsx3("thead", { "data-slot": "agent-ui-table-head", children: /* @__PURE__ */ jsx3("tr", { children: component.columns.map((column) => /* @__PURE__ */ jsx3(
1826
1864
  "th",
1827
1865
  {
1828
1866
  scope: "col",
1829
1867
  "aria-sort": activeSort?.key === column.key ? activeSort.direction === "asc" ? "ascending" : "descending" : "none",
1830
- children: /* @__PURE__ */ jsxs2(
1868
+ children: /* @__PURE__ */ jsxs3(
1831
1869
  "button",
1832
1870
  {
1833
1871
  className: "aui-table__sort",
@@ -1839,7 +1877,7 @@ function DataTableView({
1839
1877
  })),
1840
1878
  children: [
1841
1879
  column.label,
1842
- activeSort?.key === column.key ? /* @__PURE__ */ jsx2(
1880
+ activeSort?.key === column.key ? /* @__PURE__ */ jsx3(
1843
1881
  ChevronUp,
1844
1882
  {
1845
1883
  "aria-hidden": "true",
@@ -1854,7 +1892,7 @@ function DataTableView({
1854
1892
  },
1855
1893
  column.key
1856
1894
  )) }) }),
1857
- /* @__PURE__ */ jsx2("tbody", { "data-slot": "agent-ui-table-body", children: rows.length > 0 ? rows.map(({ key: key2, row }) => /* @__PURE__ */ jsx2(
1895
+ /* @__PURE__ */ jsx3("tbody", { "data-slot": "agent-ui-table-body", children: rows.length > 0 ? rows.map(({ key: key2, row }) => /* @__PURE__ */ jsx3(
1858
1896
  "tr",
1859
1897
  {
1860
1898
  className: "aui-table__row",
@@ -1869,10 +1907,10 @@ function DataTableView({
1869
1907
  select(row);
1870
1908
  }
1871
1909
  },
1872
- children: component.columns.map((column) => /* @__PURE__ */ jsx2("td", { "data-slot": "agent-ui-table-cell", children: formatCell(row[column.key], column.format) }, column.key))
1910
+ children: component.columns.map((column) => /* @__PURE__ */ jsx3("td", { "data-slot": "agent-ui-table-cell", children: formatCell(row[column.key], column.format) }, column.key))
1873
1911
  },
1874
1912
  key2
1875
- )) : /* @__PURE__ */ jsx2("tr", { children: /* @__PURE__ */ jsx2(
1913
+ )) : /* @__PURE__ */ jsx3("tr", { children: /* @__PURE__ */ jsx3(
1876
1914
  "td",
1877
1915
  {
1878
1916
  className: "aui-table__empty",
@@ -1890,186 +1928,186 @@ function DataTableView({
1890
1928
  }
1891
1929
 
1892
1930
  // ../agent-ui/src/components/data-visualization/charts/chart-views.tsx
1893
- import { Fragment, jsx as jsx3, jsxs as jsxs3 } from "react/jsx-runtime";
1931
+ import { Fragment, jsx as jsx4, jsxs as jsxs4 } from "react/jsx-runtime";
1894
1932
  var LazyLineChart = lazy(
1895
- () => import("./chart-content-USUK4ZM5.js").then((module) => ({ default: module.LineChartComponentContent }))
1933
+ () => import("./chart-content-7PZT4YWI.js").then((module) => ({ default: module.LineChartComponentContent }))
1896
1934
  );
1897
1935
  var LazyBarChart = lazy(
1898
- () => import("./chart-content-USUK4ZM5.js").then((module) => ({ default: module.BarChartComponentContent }))
1936
+ () => import("./chart-content-7PZT4YWI.js").then((module) => ({ default: module.BarChartComponentContent }))
1899
1937
  );
1900
1938
  var LazyAreaChart = lazy(
1901
- () => import("./chart-content-USUK4ZM5.js").then((module) => ({ default: module.AreaChartComponentContent }))
1939
+ () => import("./chart-content-7PZT4YWI.js").then((module) => ({ default: module.AreaChartComponentContent }))
1902
1940
  );
1903
1941
  var LazyComposedChart = lazy(
1904
- () => import("./chart-content-USUK4ZM5.js").then((module) => ({ default: module.ComposedChartComponentContent }))
1942
+ () => import("./chart-content-7PZT4YWI.js").then((module) => ({ default: module.ComposedChartComponentContent }))
1905
1943
  );
1906
1944
  var LazyPieChart = lazy(
1907
- () => import("./chart-content-USUK4ZM5.js").then((module) => ({ default: module.PieChartComponentContent }))
1945
+ () => import("./chart-content-7PZT4YWI.js").then((module) => ({ default: module.PieChartComponentContent }))
1908
1946
  );
1909
1947
  var LazyDonutChart = lazy(
1910
- () => import("./chart-content-USUK4ZM5.js").then((module) => ({ default: module.DonutChartComponentContent }))
1948
+ () => import("./chart-content-7PZT4YWI.js").then((module) => ({ default: module.DonutChartComponentContent }))
1911
1949
  );
1912
1950
  var LazyRadarChart = lazy(
1913
- () => import("./chart-content-USUK4ZM5.js").then((module) => ({ default: module.RadarChartComponentContent }))
1951
+ () => import("./chart-content-7PZT4YWI.js").then((module) => ({ default: module.RadarChartComponentContent }))
1914
1952
  );
1915
1953
  var LazyRadialChart = lazy(
1916
- () => import("./chart-content-USUK4ZM5.js").then((module) => ({ default: module.RadialChartComponentContent }))
1954
+ () => import("./chart-content-7PZT4YWI.js").then((module) => ({ default: module.RadialChartComponentContent }))
1917
1955
  );
1918
1956
  var LazySankeyChart = lazy(
1919
- () => import("./chart-content-USUK4ZM5.js").then((module) => ({ default: module.SankeyChartComponentContent }))
1957
+ () => import("./chart-content-7PZT4YWI.js").then((module) => ({ default: module.SankeyChartComponentContent }))
1920
1958
  );
1921
1959
  var LazyScatterChart = lazy(
1922
- () => import("./chart-content-USUK4ZM5.js").then((module) => ({ default: module.ScatterChartComponentContent }))
1960
+ () => import("./chart-content-7PZT4YWI.js").then((module) => ({ default: module.ScatterChartComponentContent }))
1923
1961
  );
1924
1962
  var LazyHeatmap = lazy(
1925
- () => import("./chart-content-USUK4ZM5.js").then((module) => ({ default: module.HeatmapComponentContent }))
1963
+ () => import("./chart-content-7PZT4YWI.js").then((module) => ({ default: module.HeatmapComponentContent }))
1926
1964
  );
1927
1965
  var LazyCandlestickChart = lazy(
1928
- () => import("./chart-content-USUK4ZM5.js").then((module) => ({
1966
+ () => import("./chart-content-7PZT4YWI.js").then((module) => ({
1929
1967
  default: module.CandlestickChartComponentContent
1930
1968
  }))
1931
1969
  );
1932
1970
  var LazyFunnelChart = lazy(
1933
- () => import("./chart-content-USUK4ZM5.js").then((module) => ({ default: module.FunnelChartComponentContent }))
1971
+ () => import("./chart-content-7PZT4YWI.js").then((module) => ({ default: module.FunnelChartComponentContent }))
1934
1972
  );
1935
1973
  var LazyGaugeChart = lazy(
1936
- () => import("./chart-content-USUK4ZM5.js").then((module) => ({ default: module.GaugeChartComponentContent }))
1974
+ () => import("./chart-content-7PZT4YWI.js").then((module) => ({ default: module.GaugeChartComponentContent }))
1937
1975
  );
1938
1976
  var LazySunburstChart = lazy(
1939
- () => import("./chart-content-USUK4ZM5.js").then((module) => ({ default: module.SunburstChartComponentContent }))
1977
+ () => import("./chart-content-7PZT4YWI.js").then((module) => ({ default: module.SunburstChartComponentContent }))
1940
1978
  );
1941
1979
  function LineChartView(props) {
1942
- return /* @__PURE__ */ jsx3(
1980
+ return /* @__PURE__ */ jsx4(
1943
1981
  ConvertibleChartView,
1944
1982
  {
1945
1983
  props,
1946
- renderChart: (viewProps) => /* @__PURE__ */ jsx3(LazyLineChart, { ...viewProps })
1984
+ renderChart: (viewProps) => /* @__PURE__ */ jsx4(LazyLineChart, { ...viewProps })
1947
1985
  }
1948
1986
  );
1949
1987
  }
1950
1988
  function BarChartView(props) {
1951
- return /* @__PURE__ */ jsx3(
1989
+ return /* @__PURE__ */ jsx4(
1952
1990
  ConvertibleChartView,
1953
1991
  {
1954
1992
  props,
1955
- renderChart: (viewProps) => /* @__PURE__ */ jsx3(LazyBarChart, { ...viewProps })
1993
+ renderChart: (viewProps) => /* @__PURE__ */ jsx4(LazyBarChart, { ...viewProps })
1956
1994
  }
1957
1995
  );
1958
1996
  }
1959
1997
  function AreaChartView(props) {
1960
- return /* @__PURE__ */ jsx3(
1998
+ return /* @__PURE__ */ jsx4(
1961
1999
  ConvertibleChartView,
1962
2000
  {
1963
2001
  props,
1964
- renderChart: (viewProps) => /* @__PURE__ */ jsx3(LazyAreaChart, { ...viewProps })
2002
+ renderChart: (viewProps) => /* @__PURE__ */ jsx4(LazyAreaChart, { ...viewProps })
1965
2003
  }
1966
2004
  );
1967
2005
  }
1968
2006
  function ComposedChartView(props) {
1969
- return /* @__PURE__ */ jsx3(
2007
+ return /* @__PURE__ */ jsx4(
1970
2008
  ConvertibleChartView,
1971
2009
  {
1972
2010
  props,
1973
- renderChart: (viewProps) => /* @__PURE__ */ jsx3(LazyComposedChart, { ...viewProps })
2011
+ renderChart: (viewProps) => /* @__PURE__ */ jsx4(LazyComposedChart, { ...viewProps })
1974
2012
  }
1975
2013
  );
1976
2014
  }
1977
2015
  function PieChartView(props) {
1978
- return /* @__PURE__ */ jsx3(
2016
+ return /* @__PURE__ */ jsx4(
1979
2017
  ConvertibleChartView,
1980
2018
  {
1981
2019
  props,
1982
- renderChart: (viewProps) => /* @__PURE__ */ jsx3(LazyPieChart, { ...viewProps })
2020
+ renderChart: (viewProps) => /* @__PURE__ */ jsx4(LazyPieChart, { ...viewProps })
1983
2021
  }
1984
2022
  );
1985
2023
  }
1986
2024
  function DonutChartView(props) {
1987
- return /* @__PURE__ */ jsx3(
2025
+ return /* @__PURE__ */ jsx4(
1988
2026
  ConvertibleChartView,
1989
2027
  {
1990
2028
  props,
1991
- renderChart: (viewProps) => /* @__PURE__ */ jsx3(LazyDonutChart, { ...viewProps })
2029
+ renderChart: (viewProps) => /* @__PURE__ */ jsx4(LazyDonutChart, { ...viewProps })
1992
2030
  }
1993
2031
  );
1994
2032
  }
1995
2033
  function RadarChartView(props) {
1996
- return /* @__PURE__ */ jsx3(
2034
+ return /* @__PURE__ */ jsx4(
1997
2035
  ConvertibleChartView,
1998
2036
  {
1999
2037
  props,
2000
- renderChart: (viewProps) => /* @__PURE__ */ jsx3(LazyRadarChart, { ...viewProps })
2038
+ renderChart: (viewProps) => /* @__PURE__ */ jsx4(LazyRadarChart, { ...viewProps })
2001
2039
  }
2002
2040
  );
2003
2041
  }
2004
2042
  function RadialChartView(props) {
2005
- return /* @__PURE__ */ jsx3(
2043
+ return /* @__PURE__ */ jsx4(
2006
2044
  ConvertibleChartView,
2007
2045
  {
2008
2046
  props,
2009
- renderChart: (viewProps) => /* @__PURE__ */ jsx3(LazyRadialChart, { ...viewProps })
2047
+ renderChart: (viewProps) => /* @__PURE__ */ jsx4(LazyRadialChart, { ...viewProps })
2010
2048
  }
2011
2049
  );
2012
2050
  }
2013
2051
  function SankeyChartView(props) {
2014
- return /* @__PURE__ */ jsx3(
2052
+ return /* @__PURE__ */ jsx4(
2015
2053
  ConvertibleChartView,
2016
2054
  {
2017
2055
  props,
2018
- renderChart: (viewProps) => /* @__PURE__ */ jsx3(LazySankeyChart, { ...viewProps })
2056
+ renderChart: (viewProps) => /* @__PURE__ */ jsx4(LazySankeyChart, { ...viewProps })
2019
2057
  }
2020
2058
  );
2021
2059
  }
2022
2060
  function ScatterChartView(props) {
2023
- return /* @__PURE__ */ jsx3(
2061
+ return /* @__PURE__ */ jsx4(
2024
2062
  ConvertibleChartView,
2025
2063
  {
2026
2064
  props,
2027
- renderChart: (viewProps) => /* @__PURE__ */ jsx3(LazyScatterChart, { ...viewProps })
2065
+ renderChart: (viewProps) => /* @__PURE__ */ jsx4(LazyScatterChart, { ...viewProps })
2028
2066
  }
2029
2067
  );
2030
2068
  }
2031
2069
  function HeatmapView(props) {
2032
- return /* @__PURE__ */ jsx3(
2070
+ return /* @__PURE__ */ jsx4(
2033
2071
  ConvertibleChartView,
2034
2072
  {
2035
2073
  props,
2036
- renderChart: (viewProps) => /* @__PURE__ */ jsx3(LazyHeatmap, { ...viewProps })
2074
+ renderChart: (viewProps) => /* @__PURE__ */ jsx4(LazyHeatmap, { ...viewProps })
2037
2075
  }
2038
2076
  );
2039
2077
  }
2040
2078
  function CandlestickChartView(props) {
2041
- return /* @__PURE__ */ jsx3(
2079
+ return /* @__PURE__ */ jsx4(
2042
2080
  ConvertibleChartView,
2043
2081
  {
2044
2082
  props,
2045
- renderChart: (viewProps) => /* @__PURE__ */ jsx3(LazyCandlestickChart, { ...viewProps })
2083
+ renderChart: (viewProps) => /* @__PURE__ */ jsx4(LazyCandlestickChart, { ...viewProps })
2046
2084
  }
2047
2085
  );
2048
2086
  }
2049
2087
  function FunnelChartView(props) {
2050
- return /* @__PURE__ */ jsx3(
2088
+ return /* @__PURE__ */ jsx4(
2051
2089
  ConvertibleChartView,
2052
2090
  {
2053
2091
  props,
2054
- renderChart: (viewProps) => /* @__PURE__ */ jsx3(LazyFunnelChart, { ...viewProps })
2092
+ renderChart: (viewProps) => /* @__PURE__ */ jsx4(LazyFunnelChart, { ...viewProps })
2055
2093
  }
2056
2094
  );
2057
2095
  }
2058
2096
  function GaugeChartView(props) {
2059
- return /* @__PURE__ */ jsx3(
2097
+ return /* @__PURE__ */ jsx4(
2060
2098
  ConvertibleChartView,
2061
2099
  {
2062
2100
  props,
2063
- renderChart: (viewProps) => /* @__PURE__ */ jsx3(LazyGaugeChart, { ...viewProps })
2101
+ renderChart: (viewProps) => /* @__PURE__ */ jsx4(LazyGaugeChart, { ...viewProps })
2064
2102
  }
2065
2103
  );
2066
2104
  }
2067
2105
  function SunburstChartView(props) {
2068
- return /* @__PURE__ */ jsx3(
2106
+ return /* @__PURE__ */ jsx4(
2069
2107
  ConvertibleChartView,
2070
2108
  {
2071
2109
  props,
2072
- renderChart: (viewProps) => /* @__PURE__ */ jsx3(LazySunburstChart, { ...viewProps })
2110
+ renderChart: (viewProps) => /* @__PURE__ */ jsx4(LazySunburstChart, { ...viewProps })
2073
2111
  }
2074
2112
  );
2075
2113
  }
@@ -2083,7 +2121,7 @@ function ConvertibleChartView({
2083
2121
  onAction: () => setView((current) => current === "chart" ? "table" : "chart"),
2084
2122
  target: view === "chart" ? "table" : "chart"
2085
2123
  };
2086
- const content2 = view === "table" ? /* @__PURE__ */ jsx3(
2124
+ const content2 = view === "table" ? /* @__PURE__ */ jsx4(
2087
2125
  DataTableView,
2088
2126
  {
2089
2127
  ...props,
@@ -2092,10 +2130,10 @@ function ConvertibleChartView({
2092
2130
  exportFormats: props.exportFormats?.filter((format) => format === "csv"),
2093
2131
  viewAction
2094
2132
  }
2095
- ) : /* @__PURE__ */ jsx3(
2133
+ ) : /* @__PURE__ */ jsx4(
2096
2134
  Suspense,
2097
2135
  {
2098
- fallback: /* @__PURE__ */ jsx3(
2136
+ fallback: /* @__PURE__ */ jsx4(
2099
2137
  ComponentSkeleton,
2100
2138
  {
2101
2139
  className: props.className,
@@ -2106,9 +2144,9 @@ function ConvertibleChartView({
2106
2144
  children: renderChart({ ...props, viewAction })
2107
2145
  }
2108
2146
  );
2109
- return /* @__PURE__ */ jsxs3(Fragment, { children: [
2147
+ return /* @__PURE__ */ jsxs4(Fragment, { children: [
2110
2148
  content2,
2111
- /* @__PURE__ */ jsxs3("span", { "aria-live": "polite", className: "aui-sr-only", children: [
2149
+ /* @__PURE__ */ jsxs4("span", { "aria-live": "polite", className: "aui-sr-only", children: [
2112
2150
  "Showing ",
2113
2151
  props.component.title,
2114
2152
  " as ",
@@ -2118,9 +2156,9 @@ function ConvertibleChartView({
2118
2156
  }
2119
2157
 
2120
2158
  // ../agent-ui/src/components/data-visualization/comparison-list/comparison-list.tsx
2121
- import { jsx as jsx4, jsxs as jsxs4 } from "react/jsx-runtime";
2159
+ import { jsx as jsx5, jsxs as jsxs5 } from "react/jsx-runtime";
2122
2160
  function ComparisonListView({ className, component, onSelect }) {
2123
- return /* @__PURE__ */ jsx4(CardVariantProvider, { variant: "plain", children: /* @__PURE__ */ jsx4(Card, { className, description: component.description, title: component.title, children: /* @__PURE__ */ jsx4("div", { className: "aui-comparison", "data-slot": "agent-ui-comparison-list", children: component.items.map((item) => /* @__PURE__ */ jsxs4(
2161
+ return /* @__PURE__ */ jsx5(CardVariantProvider, { variant: "plain", children: /* @__PURE__ */ jsx5(Card, { className, description: component.description, title: component.title, children: /* @__PURE__ */ jsx5("div", { className: "aui-comparison", "data-slot": "agent-ui-comparison-list", children: component.items.map((item) => /* @__PURE__ */ jsxs5(
2124
2162
  "button",
2125
2163
  {
2126
2164
  className: "aui-comparison__item",
@@ -2128,10 +2166,10 @@ function ComparisonListView({ className, component, onSelect }) {
2128
2166
  type: "button",
2129
2167
  onClick: () => onSelect?.(createComponentSelection(component, item)),
2130
2168
  children: [
2131
- /* @__PURE__ */ jsx4("span", { className: "aui-comparison__label", "data-slot": "agent-ui-comparison-label", children: item.label }),
2132
- /* @__PURE__ */ jsx4("span", { className: "aui-comparison__value", "data-slot": "agent-ui-comparison-value", children: formatNumber(item.value, item.format) }),
2133
- item.note ? /* @__PURE__ */ jsx4("span", { className: "aui-comparison__note", "data-slot": "agent-ui-comparison-note", children: item.note }) : /* @__PURE__ */ jsx4("span", {}),
2134
- item.change !== void 0 ? /* @__PURE__ */ jsx4(TrendChange, { slot: "agent-ui-comparison-change", value: item.change }) : null
2169
+ /* @__PURE__ */ jsx5("span", { className: "aui-comparison__label", "data-slot": "agent-ui-comparison-label", children: item.label }),
2170
+ /* @__PURE__ */ jsx5("span", { className: "aui-comparison__value", "data-slot": "agent-ui-comparison-value", children: formatNumber(item.value, item.format) }),
2171
+ item.note ? /* @__PURE__ */ jsx5("span", { className: "aui-comparison__note", "data-slot": "agent-ui-comparison-note", children: item.note }) : /* @__PURE__ */ jsx5("span", {}),
2172
+ item.change !== void 0 ? /* @__PURE__ */ jsx5(TrendChange, { slot: "agent-ui-comparison-change", value: item.change }) : null
2135
2173
  ]
2136
2174
  },
2137
2175
  item.label
@@ -2139,9 +2177,9 @@ function ComparisonListView({ className, component, onSelect }) {
2139
2177
  }
2140
2178
 
2141
2179
  // ../agent-ui/src/components/data-visualization/dashboard/dashboard.tsx
2142
- import { jsx as jsx5 } from "react/jsx-runtime";
2180
+ import { jsx as jsx6 } from "react/jsx-runtime";
2143
2181
  function DashboardView({ children, className, component }) {
2144
- return /* @__PURE__ */ jsx5(Card, { className, description: component.description, title: component.title, children: /* @__PURE__ */ jsx5("div", { className: "aui-dashboard", "data-layout": component.layout, "data-slot": "agent-ui-dashboard", children }) });
2182
+ return /* @__PURE__ */ jsx6(Card, { className, description: component.description, title: component.title, children: /* @__PURE__ */ jsx6("div", { className: "aui-dashboard", "data-layout": component.layout, "data-slot": "agent-ui-dashboard", children }) });
2145
2183
  }
2146
2184
 
2147
2185
  // ../agent-ui/src/components/agent-icon/agent-icon.tsx
@@ -2182,7 +2220,7 @@ import {
2182
2220
  Target,
2183
2221
  Thunderbolt
2184
2222
  } from "@gravity-ui/icons";
2185
- import { jsx as jsx6 } from "react/jsx-runtime";
2223
+ import { jsx as jsx7 } from "react/jsx-runtime";
2186
2224
  var icons = {
2187
2225
  activity: Pulse,
2188
2226
  alert: CircleExclamation,
@@ -2222,7 +2260,7 @@ var icons = {
2222
2260
  };
2223
2261
  function AgentIcon({ name, ...props }) {
2224
2262
  const Icon = icons[name];
2225
- return /* @__PURE__ */ jsx6(Icon, { ...props, "aria-hidden": "true", "data-icon": name, focusable: "false" });
2263
+ return /* @__PURE__ */ jsx7(Icon, { ...props, "aria-hidden": "true", "data-icon": name, focusable: "false" });
2226
2264
  }
2227
2265
 
2228
2266
  // ../agent-ui/src/components/data-visualization/kpi-grid/sparkline.tsx
@@ -2290,12 +2328,12 @@ function round(value) {
2290
2328
  }
2291
2329
 
2292
2330
  // ../agent-ui/src/components/data-visualization/kpi-grid/sparkline.tsx
2293
- import { jsx as jsx7, jsxs as jsxs5 } from "react/jsx-runtime";
2331
+ import { jsx as jsx8, jsxs as jsxs6 } from "react/jsx-runtime";
2294
2332
  function Sparkline({ color, values }) {
2295
2333
  const gradientId = useId();
2296
2334
  const geometry = sparklineGeometry(values);
2297
2335
  if (!geometry) return null;
2298
- return /* @__PURE__ */ jsxs5(
2336
+ return /* @__PURE__ */ jsxs6(
2299
2337
  "svg",
2300
2338
  {
2301
2339
  "aria-hidden": "true",
@@ -2304,12 +2342,12 @@ function Sparkline({ color, values }) {
2304
2342
  preserveAspectRatio: "none",
2305
2343
  viewBox: `0 0 ${SPARKLINE_VIEWBOX.width} ${SPARKLINE_VIEWBOX.height}`,
2306
2344
  children: [
2307
- /* @__PURE__ */ jsx7("defs", { children: /* @__PURE__ */ jsxs5("linearGradient", { id: gradientId, x1: "0", x2: "0", y1: "0", y2: "1", children: [
2308
- /* @__PURE__ */ jsx7("stop", { offset: "0%", stopColor: color, stopOpacity: 0.22 }),
2309
- /* @__PURE__ */ jsx7("stop", { offset: "100%", stopColor: color, stopOpacity: 0.02 })
2345
+ /* @__PURE__ */ jsx8("defs", { children: /* @__PURE__ */ jsxs6("linearGradient", { id: gradientId, x1: "0", x2: "0", y1: "0", y2: "1", children: [
2346
+ /* @__PURE__ */ jsx8("stop", { offset: "0%", stopColor: color, stopOpacity: 0.22 }),
2347
+ /* @__PURE__ */ jsx8("stop", { offset: "100%", stopColor: color, stopOpacity: 0.02 })
2310
2348
  ] }) }),
2311
- /* @__PURE__ */ jsx7("path", { className: "aui-sparkline__area", d: geometry.area, fill: `url(#${gradientId})` }),
2312
- /* @__PURE__ */ jsx7(
2349
+ /* @__PURE__ */ jsx8("path", { className: "aui-sparkline__area", d: geometry.area, fill: `url(#${gradientId})` }),
2350
+ /* @__PURE__ */ jsx8(
2313
2351
  "path",
2314
2352
  {
2315
2353
  className: "aui-sparkline__line",
@@ -2327,26 +2365,26 @@ function Sparkline({ color, values }) {
2327
2365
  }
2328
2366
 
2329
2367
  // ../agent-ui/src/components/data-visualization/kpi-grid/kpi-grid.tsx
2330
- import { jsx as jsx8, jsxs as jsxs6 } from "react/jsx-runtime";
2368
+ import { jsx as jsx9, jsxs as jsxs7 } from "react/jsx-runtime";
2331
2369
  function KpiGridView({ className, component }) {
2332
- return /* @__PURE__ */ jsx8(
2370
+ return /* @__PURE__ */ jsx9(
2333
2371
  Card,
2334
2372
  {
2335
2373
  className,
2336
2374
  description: component.description,
2337
2375
  title: component.title,
2338
2376
  variant: "outline",
2339
- children: /* @__PURE__ */ jsx8("div", { className: "aui-kpi-grid", "data-slot": "agent-ui-kpi-grid", children: component.metrics.map((metric) => /* @__PURE__ */ jsxs6("article", { className: "aui-kpi aui-kpi--chart", "data-slot": "agent-ui-kpi", children: [
2340
- /* @__PURE__ */ jsxs6("header", { className: "aui-kpi__header", "data-slot": "agent-ui-kpi-header", children: [
2341
- /* @__PURE__ */ jsx8("span", { className: "aui-kpi__title", "data-slot": "agent-ui-kpi-title", children: metric.label }),
2342
- metric.icon ? /* @__PURE__ */ jsx8("span", { className: "aui-kpi__icon", "data-slot": "agent-ui-kpi-icon", children: /* @__PURE__ */ jsx8(AgentIcon, { name: metric.icon }) }) : null
2377
+ children: /* @__PURE__ */ jsx9("div", { className: "aui-kpi-grid", "data-slot": "agent-ui-kpi-grid", children: component.metrics.map((metric) => /* @__PURE__ */ jsxs7("article", { className: "aui-kpi aui-kpi--chart", "data-slot": "agent-ui-kpi", children: [
2378
+ /* @__PURE__ */ jsxs7("header", { className: "aui-kpi__header", "data-slot": "agent-ui-kpi-header", children: [
2379
+ /* @__PURE__ */ jsx9("span", { className: "aui-kpi__title", "data-slot": "agent-ui-kpi-title", children: metric.label }),
2380
+ metric.icon ? /* @__PURE__ */ jsx9("span", { className: "aui-kpi__icon", "data-slot": "agent-ui-kpi-icon", children: /* @__PURE__ */ jsx9(AgentIcon, { name: metric.icon }) }) : null
2343
2381
  ] }),
2344
- /* @__PURE__ */ jsxs6("div", { className: "aui-kpi__body", "data-slot": "agent-ui-kpi-body", children: [
2345
- /* @__PURE__ */ jsxs6("div", { className: "aui-kpi__metric", "data-slot": "agent-ui-kpi-metric", children: [
2346
- /* @__PURE__ */ jsx8("p", { className: "aui-kpi__value", "data-slot": "agent-ui-kpi-value", children: formatNumber(metric.value, metric.format) }),
2347
- metric.change !== void 0 ? /* @__PURE__ */ jsx8(TrendChange, { slot: "agent-ui-kpi-change", value: metric.change }) : null
2382
+ /* @__PURE__ */ jsxs7("div", { className: "aui-kpi__body", "data-slot": "agent-ui-kpi-body", children: [
2383
+ /* @__PURE__ */ jsxs7("div", { className: "aui-kpi__metric", "data-slot": "agent-ui-kpi-metric", children: [
2384
+ /* @__PURE__ */ jsx9("p", { className: "aui-kpi__value", "data-slot": "agent-ui-kpi-value", children: formatNumber(metric.value, metric.format) }),
2385
+ metric.change !== void 0 ? /* @__PURE__ */ jsx9(TrendChange, { slot: "agent-ui-kpi-change", value: metric.change }) : null
2348
2386
  ] }),
2349
- /* @__PURE__ */ jsx8("div", { className: "aui-kpi__chart", "data-slot": "agent-ui-kpi-chart", children: /* @__PURE__ */ jsx8(
2387
+ /* @__PURE__ */ jsx9("div", { className: "aui-kpi__chart", "data-slot": "agent-ui-kpi-chart", children: /* @__PURE__ */ jsx9(
2350
2388
  Sparkline,
2351
2389
  {
2352
2390
  color: CHART_COLOR_TOKENS[metric.color ?? "accent"],
@@ -2361,19 +2399,19 @@ function KpiGridView({ className, component }) {
2361
2399
 
2362
2400
  // ../agent-ui/src/components/data-visualization/meter-list/meter-list.tsx
2363
2401
  import { Description, Label, Meter } from "@heroui/react";
2364
- import { jsx as jsx9, jsxs as jsxs7 } from "react/jsx-runtime";
2402
+ import { jsx as jsx10, jsxs as jsxs8 } from "react/jsx-runtime";
2365
2403
  function MeterListView({ className, component }) {
2366
- return /* @__PURE__ */ jsx9(
2404
+ return /* @__PURE__ */ jsx10(
2367
2405
  Card,
2368
2406
  {
2369
2407
  className,
2370
2408
  description: component.description,
2371
2409
  title: component.title,
2372
2410
  variant: "outline",
2373
- children: /* @__PURE__ */ jsx9("div", { className: "aui-meter-list", "data-slot": "agent-ui-meter-list", children: component.items.map((item) => {
2411
+ children: /* @__PURE__ */ jsx10("div", { className: "aui-meter-list", "data-slot": "agent-ui-meter-list", children: component.items.map((item) => {
2374
2412
  const min = item.min ?? 0;
2375
2413
  const max = item.max ?? (item.format?.style === "percent" ? 1 : 100);
2376
- return /* @__PURE__ */ jsxs7(
2414
+ return /* @__PURE__ */ jsxs8(
2377
2415
  Meter,
2378
2416
  {
2379
2417
  "aria-label": item.label,
@@ -2386,10 +2424,10 @@ function MeterListView({ className, component }) {
2386
2424
  value: item.value,
2387
2425
  valueLabel: formatNumber(item.value, item.format),
2388
2426
  children: [
2389
- /* @__PURE__ */ jsx9(Label, { "data-slot": "agent-ui-meter-label", children: item.label }),
2390
- /* @__PURE__ */ jsx9(Meter.Output, { "data-slot": "agent-ui-meter-output" }),
2391
- /* @__PURE__ */ jsx9(Meter.Track, { "data-slot": "agent-ui-meter-track", children: /* @__PURE__ */ jsx9(Meter.Fill, {}) }),
2392
- item.description ? /* @__PURE__ */ jsx9(Description, { "data-slot": "agent-ui-meter-description", children: item.description }) : null
2427
+ /* @__PURE__ */ jsx10(Label, { "data-slot": "agent-ui-meter-label", children: item.label }),
2428
+ /* @__PURE__ */ jsx10(Meter.Output, { "data-slot": "agent-ui-meter-output" }),
2429
+ /* @__PURE__ */ jsx10(Meter.Track, { "data-slot": "agent-ui-meter-track", children: /* @__PURE__ */ jsx10(Meter.Fill, {}) }),
2430
+ item.description ? /* @__PURE__ */ jsx10(Description, { "data-slot": "agent-ui-meter-description", children: item.description }) : null
2393
2431
  ]
2394
2432
  },
2395
2433
  item.id
@@ -2400,23 +2438,23 @@ function MeterListView({ className, component }) {
2400
2438
  }
2401
2439
 
2402
2440
  // ../agent-ui/src/components/data-visualization/metric-grid/metric-grid.tsx
2403
- import { jsx as jsx10, jsxs as jsxs8 } from "react/jsx-runtime";
2441
+ import { jsx as jsx11, jsxs as jsxs9 } from "react/jsx-runtime";
2404
2442
  function MetricGridView({ className, component }) {
2405
- return /* @__PURE__ */ jsx10(
2443
+ return /* @__PURE__ */ jsx11(
2406
2444
  Card,
2407
2445
  {
2408
2446
  className,
2409
2447
  description: component.description,
2410
2448
  title: component.title,
2411
2449
  variant: "outline",
2412
- children: /* @__PURE__ */ jsx10("div", { className: "aui-metric-grid", "data-slot": "agent-ui-metric-grid", children: component.metrics.map((metric) => /* @__PURE__ */ jsxs8("article", { className: "aui-kpi", "data-slot": "agent-ui-kpi", children: [
2413
- /* @__PURE__ */ jsxs8("header", { className: "aui-kpi__header", "data-slot": "agent-ui-kpi-header", children: [
2414
- /* @__PURE__ */ jsx10("span", { className: "aui-kpi__title", "data-slot": "agent-ui-kpi-title", children: metric.label }),
2415
- metric.icon ? /* @__PURE__ */ jsx10("span", { className: "aui-kpi__icon", "data-slot": "agent-ui-kpi-icon", children: /* @__PURE__ */ jsx10(AgentIcon, { name: metric.icon }) }) : null
2450
+ children: /* @__PURE__ */ jsx11("div", { className: "aui-metric-grid", "data-slot": "agent-ui-metric-grid", children: component.metrics.map((metric) => /* @__PURE__ */ jsxs9("article", { className: "aui-kpi", "data-slot": "agent-ui-kpi", children: [
2451
+ /* @__PURE__ */ jsxs9("header", { className: "aui-kpi__header", "data-slot": "agent-ui-kpi-header", children: [
2452
+ /* @__PURE__ */ jsx11("span", { className: "aui-kpi__title", "data-slot": "agent-ui-kpi-title", children: metric.label }),
2453
+ metric.icon ? /* @__PURE__ */ jsx11("span", { className: "aui-kpi__icon", "data-slot": "agent-ui-kpi-icon", children: /* @__PURE__ */ jsx11(AgentIcon, { name: metric.icon }) }) : null
2416
2454
  ] }),
2417
- /* @__PURE__ */ jsxs8("div", { className: "aui-kpi__content", "data-slot": "agent-ui-kpi-content", children: [
2418
- /* @__PURE__ */ jsx10("p", { className: "aui-kpi__value", "data-slot": "agent-ui-kpi-value", children: formatNumber(metric.value, metric.format) }),
2419
- metric.change !== void 0 ? /* @__PURE__ */ jsx10(TrendChange, { slot: "agent-ui-kpi-change", value: metric.change }) : null
2455
+ /* @__PURE__ */ jsxs9("div", { className: "aui-kpi__content", "data-slot": "agent-ui-kpi-content", children: [
2456
+ /* @__PURE__ */ jsx11("p", { className: "aui-kpi__value", "data-slot": "agent-ui-kpi-value", children: formatNumber(metric.value, metric.format) }),
2457
+ metric.change !== void 0 ? /* @__PURE__ */ jsx11(TrendChange, { slot: "agent-ui-kpi-change", value: metric.change }) : null
2420
2458
  ] })
2421
2459
  ] }, metric.label)) })
2422
2460
  }
@@ -2483,12 +2521,12 @@ async function mermaidForElement(element) {
2483
2521
  }
2484
2522
 
2485
2523
  // ../agent-ui/src/components/display-information/diagram.tsx
2486
- import { jsx as jsx11, jsxs as jsxs9 } from "react/jsx-runtime";
2524
+ import { jsx as jsx12, jsxs as jsxs10 } from "react/jsx-runtime";
2487
2525
  var MIN_SCALE = 0.5;
2488
2526
  var MAX_SCALE = 4;
2489
2527
  var SCALE_STEP = 0.25;
2490
2528
  function ExpandGlyph() {
2491
- return /* @__PURE__ */ jsx11("svg", { "aria-hidden": "true", fill: "none", viewBox: "0 0 16 16", children: /* @__PURE__ */ jsx11(
2529
+ return /* @__PURE__ */ jsx12("svg", { "aria-hidden": "true", fill: "none", viewBox: "0 0 16 16", children: /* @__PURE__ */ jsx12(
2492
2530
  "path",
2493
2531
  {
2494
2532
  d: "M9.5 2.5H13v3.5M6.5 13.5H3V10M13 2.5l-4 4M3 13.5l4-4",
@@ -2532,8 +2570,8 @@ function DiagramSurface({
2532
2570
  pendingRef,
2533
2571
  scale
2534
2572
  }) {
2535
- if (!markup) return /* @__PURE__ */ jsx11("div", { ref: pendingRef, className: "aui-diagram__surface", "data-pending": "true" });
2536
- return /* @__PURE__ */ jsx11(
2573
+ if (!markup) return /* @__PURE__ */ jsx12("div", { ref: pendingRef, className: "aui-diagram__surface", "data-pending": "true" });
2574
+ return /* @__PURE__ */ jsx12(
2537
2575
  "div",
2538
2576
  {
2539
2577
  className: "aui-diagram__surface",
@@ -2557,10 +2595,10 @@ function Diagram({ chart, title: title2 }) {
2557
2595
  setPortalContainer(resolveOverlayPortalContainer(node));
2558
2596
  }, []);
2559
2597
  const zoom = (delta) => setScale((current) => Math.min(MAX_SCALE, Math.max(MIN_SCALE, current + delta)));
2560
- if (inline.failed) return /* @__PURE__ */ jsx11(CodeBlock, { code: chart, language: "mermaid" });
2561
- return /* @__PURE__ */ jsxs9("div", { ref: frameRef, className: "aui-diagram", "data-slot": "agent-ui-diagram", children: [
2562
- /* @__PURE__ */ jsx11(DiagramSurface, { markup: inline.markup, pendingRef: inline.container }),
2563
- inline.markup ? /* @__PURE__ */ jsxs9(
2598
+ if (inline.failed) return /* @__PURE__ */ jsx12(CodeBlock, { code: chart, language: "mermaid" });
2599
+ return /* @__PURE__ */ jsxs10("div", { ref: frameRef, className: "aui-diagram", "data-slot": "agent-ui-diagram", children: [
2600
+ /* @__PURE__ */ jsx12(DiagramSurface, { markup: inline.markup, pendingRef: inline.container }),
2601
+ inline.markup ? /* @__PURE__ */ jsxs10(
2564
2602
  Modal,
2565
2603
  {
2566
2604
  isOpen: isExpanded,
@@ -2569,7 +2607,7 @@ function Diagram({ chart, title: title2 }) {
2569
2607
  if (!open) setScale(1);
2570
2608
  },
2571
2609
  children: [
2572
- /* @__PURE__ */ jsx11(
2610
+ /* @__PURE__ */ jsx12(
2573
2611
  Button,
2574
2612
  {
2575
2613
  isIconOnly: true,
@@ -2579,31 +2617,31 @@ function Diagram({ chart, title: title2 }) {
2579
2617
  size: "sm",
2580
2618
  variant: "ghost",
2581
2619
  onPress: () => setIsExpanded(true),
2582
- children: /* @__PURE__ */ jsx11(ExpandGlyph, {})
2620
+ children: /* @__PURE__ */ jsx12(ExpandGlyph, {})
2583
2621
  }
2584
2622
  ),
2585
- /* @__PURE__ */ jsx11(
2623
+ /* @__PURE__ */ jsx12(
2586
2624
  Modal.Backdrop,
2587
2625
  {
2588
2626
  className: "aui-diagram-modal__backdrop",
2589
2627
  UNSTABLE_portalContainer: portalContainer,
2590
2628
  variant: "blur",
2591
- children: /* @__PURE__ */ jsx11(Modal.Container, { className: "aui-diagram-modal__container", placement: "center", children: /* @__PURE__ */ jsxs9(
2629
+ children: /* @__PURE__ */ jsx12(Modal.Container, { className: "aui-diagram-modal__container", placement: "center", children: /* @__PURE__ */ jsxs10(
2592
2630
  Modal.Dialog,
2593
2631
  {
2594
2632
  "aria-label": title2 ? `${title2} diagram` : "Diagram",
2595
2633
  className: "aui-diagram-modal__dialog",
2596
2634
  "data-slot": "agent-ui-diagram-modal",
2597
2635
  children: [
2598
- /* @__PURE__ */ jsx11("div", { className: "aui-diagram-modal__controls", children: /* @__PURE__ */ jsxs9(
2636
+ /* @__PURE__ */ jsx12("div", { className: "aui-diagram-modal__controls", children: /* @__PURE__ */ jsxs10(
2599
2637
  "div",
2600
2638
  {
2601
2639
  "aria-label": "Diagram zoom controls",
2602
2640
  className: "aui-diagram-modal__control-group",
2603
2641
  role: "toolbar",
2604
2642
  children: [
2605
- /* @__PURE__ */ jsxs9(Tooltip, { delay: 0, children: [
2606
- /* @__PURE__ */ jsx11(
2643
+ /* @__PURE__ */ jsxs10(Tooltip, { delay: 0, children: [
2644
+ /* @__PURE__ */ jsx12(
2607
2645
  Button,
2608
2646
  {
2609
2647
  isIconOnly: true,
@@ -2612,13 +2650,13 @@ function Diagram({ chart, title: title2 }) {
2612
2650
  size: "sm",
2613
2651
  variant: "ghost",
2614
2652
  onPress: () => zoom(-SCALE_STEP),
2615
- children: /* @__PURE__ */ jsx11(Minus, {})
2653
+ children: /* @__PURE__ */ jsx12(Minus, {})
2616
2654
  }
2617
2655
  ),
2618
- /* @__PURE__ */ jsx11(Tooltip.Content, { placement: "top", children: "Zoom out" })
2656
+ /* @__PURE__ */ jsx12(Tooltip.Content, { placement: "top", children: "Zoom out" })
2619
2657
  ] }),
2620
- /* @__PURE__ */ jsxs9(Tooltip, { delay: 0, children: [
2621
- /* @__PURE__ */ jsx11(
2658
+ /* @__PURE__ */ jsxs10(Tooltip, { delay: 0, children: [
2659
+ /* @__PURE__ */ jsx12(
2622
2660
  Button,
2623
2661
  {
2624
2662
  isIconOnly: true,
@@ -2627,12 +2665,12 @@ function Diagram({ chart, title: title2 }) {
2627
2665
  size: "sm",
2628
2666
  variant: "ghost",
2629
2667
  onPress: () => zoom(SCALE_STEP),
2630
- children: /* @__PURE__ */ jsx11(Plus, {})
2668
+ children: /* @__PURE__ */ jsx12(Plus, {})
2631
2669
  }
2632
2670
  ),
2633
- /* @__PURE__ */ jsx11(Tooltip.Content, { placement: "top", children: "Zoom in" })
2671
+ /* @__PURE__ */ jsx12(Tooltip.Content, { placement: "top", children: "Zoom in" })
2634
2672
  ] }),
2635
- /* @__PURE__ */ jsxs9(
2673
+ /* @__PURE__ */ jsxs10(
2636
2674
  "output",
2637
2675
  {
2638
2676
  "aria-label": `Zoom level: ${Math.round(scale * 100)}%`,
@@ -2643,9 +2681,9 @@ function Diagram({ chart, title: title2 }) {
2643
2681
  ]
2644
2682
  }
2645
2683
  ),
2646
- /* @__PURE__ */ jsx11(Separator, { className: "aui-diagram-modal__separator", orientation: "vertical" }),
2647
- /* @__PURE__ */ jsxs9(Tooltip, { delay: 0, children: [
2648
- /* @__PURE__ */ jsx11(
2684
+ /* @__PURE__ */ jsx12(Separator, { className: "aui-diagram-modal__separator", orientation: "vertical" }),
2685
+ /* @__PURE__ */ jsxs10(Tooltip, { delay: 0, children: [
2686
+ /* @__PURE__ */ jsx12(
2649
2687
  Button,
2650
2688
  {
2651
2689
  isIconOnly: true,
@@ -2654,20 +2692,20 @@ function Diagram({ chart, title: title2 }) {
2654
2692
  size: "sm",
2655
2693
  variant: "ghost",
2656
2694
  onPress: () => setScale(1),
2657
- children: /* @__PURE__ */ jsx11(ArrowRotateLeft, {})
2695
+ children: /* @__PURE__ */ jsx12(ArrowRotateLeft, {})
2658
2696
  }
2659
2697
  ),
2660
- /* @__PURE__ */ jsx11(Tooltip.Content, { placement: "top", children: "Reset zoom" })
2698
+ /* @__PURE__ */ jsx12(Tooltip.Content, { placement: "top", children: "Reset zoom" })
2661
2699
  ] }),
2662
- /* @__PURE__ */ jsx11(Separator, { className: "aui-diagram-modal__separator", orientation: "vertical" }),
2663
- /* @__PURE__ */ jsxs9(Tooltip, { delay: 0, children: [
2664
- /* @__PURE__ */ jsx11(Modal.CloseTrigger, { className: "aui-diagram-modal__close" }),
2665
- /* @__PURE__ */ jsx11(Tooltip.Content, { placement: "top", children: "Close" })
2700
+ /* @__PURE__ */ jsx12(Separator, { className: "aui-diagram-modal__separator", orientation: "vertical" }),
2701
+ /* @__PURE__ */ jsxs10(Tooltip, { delay: 0, children: [
2702
+ /* @__PURE__ */ jsx12(Modal.CloseTrigger, { className: "aui-diagram-modal__close" }),
2703
+ /* @__PURE__ */ jsx12(Tooltip.Content, { placement: "top", children: "Close" })
2666
2704
  ] })
2667
2705
  ]
2668
2706
  }
2669
2707
  ) }),
2670
- /* @__PURE__ */ jsx11("div", { className: "aui-diagram-modal__viewport", children: /* @__PURE__ */ jsx11(
2708
+ /* @__PURE__ */ jsx12("div", { className: "aui-diagram-modal__viewport", children: /* @__PURE__ */ jsx12(
2671
2709
  DiagramSurface,
2672
2710
  {
2673
2711
  markup: expanded.markup,
@@ -2689,7 +2727,7 @@ function Diagram({ chart, title: title2 }) {
2689
2727
  // ../agent-ui/src/components/display-information/fallback-image.tsx
2690
2728
  import { Picture } from "@gravity-ui/icons";
2691
2729
  import { useState as useState4 } from "react";
2692
- import { jsx as jsx12 } from "react/jsx-runtime";
2730
+ import { jsx as jsx13 } from "react/jsx-runtime";
2693
2731
  function FallbackImage({
2694
2732
  alt = "",
2695
2733
  className,
@@ -2705,7 +2743,7 @@ function FallbackImage({
2705
2743
  }) {
2706
2744
  const [failedSrc, setFailedSrc] = useState4();
2707
2745
  if (!src || failedSrc === src) {
2708
- return /* @__PURE__ */ jsx12(
2746
+ return /* @__PURE__ */ jsx13(
2709
2747
  "span",
2710
2748
  {
2711
2749
  ...props,
@@ -2714,11 +2752,11 @@ function FallbackImage({
2714
2752
  className: mergeClassNames("aui-image-fallback", className),
2715
2753
  "data-slot": "agent-ui-image-fallback",
2716
2754
  role: alt ? "img" : void 0,
2717
- children: /* @__PURE__ */ jsx12(Picture, { "aria-hidden": "true" })
2755
+ children: /* @__PURE__ */ jsx13(Picture, { "aria-hidden": "true" })
2718
2756
  }
2719
2757
  );
2720
2758
  }
2721
- return /* @__PURE__ */ jsx12(
2759
+ return /* @__PURE__ */ jsx13(
2722
2760
  "img",
2723
2761
  {
2724
2762
  ...props,
@@ -2740,10 +2778,10 @@ function FallbackImage({
2740
2778
  }
2741
2779
 
2742
2780
  // ../agent-ui/src/components/display-information/display-views.tsx
2743
- import { Fragment as Fragment2, jsx as jsx13, jsxs as jsxs10 } from "react/jsx-runtime";
2781
+ import { Fragment as Fragment2, jsx as jsx14, jsxs as jsxs11 } from "react/jsx-runtime";
2744
2782
  function TextView({ className, component }) {
2745
2783
  if (component.variant === "clear") {
2746
- return /* @__PURE__ */ jsx13(
2784
+ return /* @__PURE__ */ jsx14(
2747
2785
  "div",
2748
2786
  {
2749
2787
  "aria-label": component.title,
@@ -2754,10 +2792,10 @@ function TextView({ className, component }) {
2754
2792
  }
2755
2793
  );
2756
2794
  }
2757
- return /* @__PURE__ */ jsx13(Card, { className, description: component.description, title: component.title, children: /* @__PURE__ */ jsx13("div", { className: "aui-prose", "data-slot": "agent-ui-text", "data-variant": "card", children: renderInlineMarkdown(component.content) }) });
2795
+ return /* @__PURE__ */ jsx14(Card, { className, description: component.description, title: component.title, children: /* @__PURE__ */ jsx14("div", { className: "aui-prose", "data-slot": "agent-ui-text", "data-variant": "card", children: renderInlineMarkdown(component.content) }) });
2758
2796
  }
2759
2797
  function CalloutView({ className, component }) {
2760
- return /* @__PURE__ */ jsx13(Card, { className, description: component.description, title: component.title, children: /* @__PURE__ */ jsxs10(
2798
+ return /* @__PURE__ */ jsx14(Card, { className, description: component.description, title: component.title, children: /* @__PURE__ */ jsxs11(
2761
2799
  "div",
2762
2800
  {
2763
2801
  className: "aui-callout",
@@ -2765,14 +2803,14 @@ function CalloutView({ className, component }) {
2765
2803
  "data-slot": "agent-ui-callout",
2766
2804
  "data-tone": component.tone ?? "neutral",
2767
2805
  children: [
2768
- component.icon ? /* @__PURE__ */ jsx13(
2806
+ component.icon ? /* @__PURE__ */ jsx14(
2769
2807
  AgentIcon,
2770
2808
  {
2771
2809
  className: "aui-callout__icon",
2772
2810
  "data-slot": "agent-ui-callout-icon",
2773
2811
  name: component.icon
2774
2812
  }
2775
- ) : /* @__PURE__ */ jsx13(
2813
+ ) : /* @__PURE__ */ jsx14(
2776
2814
  "span",
2777
2815
  {
2778
2816
  "aria-hidden": "true",
@@ -2780,7 +2818,7 @@ function CalloutView({ className, component }) {
2780
2818
  "data-slot": "agent-ui-callout-indicator"
2781
2819
  }
2782
2820
  ),
2783
- /* @__PURE__ */ jsx13("p", { "data-slot": "agent-ui-callout-content", children: renderInlineMarkdown(component.content) })
2821
+ /* @__PURE__ */ jsx14("p", { "data-slot": "agent-ui-callout-content", children: renderInlineMarkdown(component.content) })
2784
2822
  ]
2785
2823
  }
2786
2824
  ) });
@@ -2802,8 +2840,8 @@ function ImageView({ className, component, onSelect }) {
2802
2840
  }, []);
2803
2841
  const galleryItems = component.images.map((item) => {
2804
2842
  const failed = failedSources.has(item.src);
2805
- const tile = /* @__PURE__ */ jsxs10(Fragment2, { children: [
2806
- /* @__PURE__ */ jsx13("span", { className: "aui-image__frame", "data-slot": "agent-ui-image-frame", children: /* @__PURE__ */ jsx13(
2843
+ const tile = /* @__PURE__ */ jsxs11(Fragment2, { children: [
2844
+ /* @__PURE__ */ jsx14("span", { className: "aui-image__frame", "data-slot": "agent-ui-image-frame", children: /* @__PURE__ */ jsx14(
2807
2845
  FallbackImage,
2808
2846
  {
2809
2847
  alt: item.alt,
@@ -2814,10 +2852,10 @@ function ImageView({ className, component, onSelect }) {
2814
2852
  onLoadFailure: markFailed
2815
2853
  }
2816
2854
  ) }),
2817
- item.caption ? /* @__PURE__ */ jsx13("span", { className: "aui-image__caption", "data-slot": "agent-ui-image-caption", children: item.caption }) : null
2855
+ item.caption ? /* @__PURE__ */ jsx14("span", { className: "aui-image__caption", "data-slot": "agent-ui-image-caption", children: item.caption }) : null
2818
2856
  ] });
2819
2857
  if (failed) {
2820
- return /* @__PURE__ */ jsx13(
2858
+ return /* @__PURE__ */ jsx14(
2821
2859
  "span",
2822
2860
  {
2823
2861
  className: "aui-image",
@@ -2828,8 +2866,8 @@ function ImageView({ className, component, onSelect }) {
2828
2866
  item.src
2829
2867
  );
2830
2868
  }
2831
- return /* @__PURE__ */ jsxs10(Modal2, { children: [
2832
- /* @__PURE__ */ jsx13(
2869
+ return /* @__PURE__ */ jsxs11(Modal2, { children: [
2870
+ /* @__PURE__ */ jsx14(
2833
2871
  Modal2.Trigger,
2834
2872
  {
2835
2873
  "aria-label": `Open ${item.alt}`,
@@ -2839,21 +2877,21 @@ function ImageView({ className, component, onSelect }) {
2839
2877
  children: tile
2840
2878
  }
2841
2879
  ),
2842
- /* @__PURE__ */ jsx13(
2880
+ /* @__PURE__ */ jsx14(
2843
2881
  Modal2.Backdrop,
2844
2882
  {
2845
2883
  className: "aui-image-modal__backdrop",
2846
2884
  UNSTABLE_portalContainer: portalContainer,
2847
2885
  variant: "blur",
2848
- children: /* @__PURE__ */ jsx13(Modal2.Container, { className: "aui-image-modal__container", placement: "center", children: /* @__PURE__ */ jsxs10(
2886
+ children: /* @__PURE__ */ jsx14(Modal2.Container, { className: "aui-image-modal__container", placement: "center", children: /* @__PURE__ */ jsxs11(
2849
2887
  Modal2.Dialog,
2850
2888
  {
2851
2889
  "aria-label": item.alt,
2852
2890
  className: "aui-image-modal__dialog",
2853
2891
  "data-slot": "agent-ui-image-modal",
2854
2892
  children: [
2855
- /* @__PURE__ */ jsx13(Modal2.CloseTrigger, { className: "aui-image-modal__close" }),
2856
- /* @__PURE__ */ jsx13("img", { alt: item.alt, className: "aui-image-modal__image", src: item.src })
2893
+ /* @__PURE__ */ jsx14(Modal2.CloseTrigger, { className: "aui-image-modal__close" }),
2894
+ /* @__PURE__ */ jsx14("img", { alt: item.alt, className: "aui-image-modal__image", src: item.src })
2857
2895
  ]
2858
2896
  }
2859
2897
  ) })
@@ -2861,7 +2899,7 @@ function ImageView({ className, component, onSelect }) {
2861
2899
  )
2862
2900
  ] }, item.src);
2863
2901
  });
2864
- return /* @__PURE__ */ jsx13(Card, { className, description: component.description, title: component.title, children: /* @__PURE__ */ jsx13("div", { ref: imagesRef, className: "aui-images-container", "data-layout": layout, children: layout === "horizontal" ? /* @__PURE__ */ jsx13(
2902
+ return /* @__PURE__ */ jsx14(Card, { className, description: component.description, title: component.title, children: /* @__PURE__ */ jsx14("div", { ref: imagesRef, className: "aui-images-container", "data-layout": layout, children: layout === "horizontal" ? /* @__PURE__ */ jsx14(
2865
2903
  ScrollShadow,
2866
2904
  {
2867
2905
  "aria-label": `${component.title} gallery`,
@@ -2873,7 +2911,7 @@ function ImageView({ className, component, onSelect }) {
2873
2911
  tabIndex: 0,
2874
2912
  children: galleryItems
2875
2913
  }
2876
- ) : /* @__PURE__ */ jsx13(
2914
+ ) : /* @__PURE__ */ jsx14(
2877
2915
  "div",
2878
2916
  {
2879
2917
  className: "aui-images",
@@ -2885,7 +2923,7 @@ function ImageView({ className, component, onSelect }) {
2885
2923
  ) }) });
2886
2924
  }
2887
2925
  function TagListView({ className, component, onSelect }) {
2888
- return /* @__PURE__ */ jsx13(Card, { className, description: component.description, title: component.title, children: /* @__PURE__ */ jsx13(
2926
+ return /* @__PURE__ */ jsx14(Card, { className, description: component.description, title: component.title, children: /* @__PURE__ */ jsx14(
2889
2927
  TagGroup,
2890
2928
  {
2891
2929
  "aria-label": component.title,
@@ -2897,21 +2935,21 @@ function TagListView({ className, component, onSelect }) {
2897
2935
  const tag = [...keys][0];
2898
2936
  if (typeof tag === "string") onSelect?.(createComponentSelection(component, { tag }));
2899
2937
  },
2900
- children: /* @__PURE__ */ jsx13(TagGroup.List, { children: component.tags.map((tag) => /* @__PURE__ */ jsx13(Tag2, { className: "aui-tag", "data-slot": "agent-ui-tag", id: tag, children: tag }, tag)) })
2938
+ children: /* @__PURE__ */ jsx14(TagGroup.List, { children: component.tags.map((tag) => /* @__PURE__ */ jsx14(Tag2, { className: "aui-tag", "data-slot": "agent-ui-tag", id: tag, children: tag }, tag)) })
2901
2939
  }
2902
2940
  ) });
2903
2941
  }
2904
2942
  function ListView({ className, component }) {
2905
2943
  const style = component.style ?? "bulleted";
2906
- return /* @__PURE__ */ jsx13(Card, { className, description: component.description, title: component.title, children: /* @__PURE__ */ jsx13(
2944
+ return /* @__PURE__ */ jsx14(Card, { className, description: component.description, title: component.title, children: /* @__PURE__ */ jsx14(
2907
2945
  "ul",
2908
2946
  {
2909
2947
  "aria-label": component.title,
2910
2948
  className: "aui-list",
2911
2949
  "data-slot": "agent-ui-list",
2912
2950
  "data-style": style,
2913
- children: component.items.map((item, index) => /* @__PURE__ */ jsxs10("li", { className: "aui-list__item", "data-slot": "agent-ui-list-item", children: [
2914
- style === "checklist" ? /* @__PURE__ */ jsx13(
2951
+ children: component.items.map((item, index) => /* @__PURE__ */ jsxs11("li", { className: "aui-list__item", "data-slot": "agent-ui-list-item", children: [
2952
+ style === "checklist" ? /* @__PURE__ */ jsx14(
2915
2953
  Checkbox,
2916
2954
  {
2917
2955
  isReadOnly: true,
@@ -2920,9 +2958,9 @@ function ListView({ className, component }) {
2920
2958
  "data-slot": "agent-ui-list-check",
2921
2959
  isSelected: item.checked ?? false,
2922
2960
  variant: "secondary",
2923
- children: /* @__PURE__ */ jsx13(Checkbox.Content, { children: /* @__PURE__ */ jsx13(Checkbox.Control, { children: /* @__PURE__ */ jsx13(Checkbox.Indicator, {}) }) })
2961
+ children: /* @__PURE__ */ jsx14(Checkbox.Content, { children: /* @__PURE__ */ jsx14(Checkbox.Control, { children: /* @__PURE__ */ jsx14(Checkbox.Indicator, {}) }) })
2924
2962
  }
2925
- ) : /* @__PURE__ */ jsx13(
2963
+ ) : /* @__PURE__ */ jsx14(
2926
2964
  "span",
2927
2965
  {
2928
2966
  "aria-hidden": "true",
@@ -2931,9 +2969,9 @@ function ListView({ className, component }) {
2931
2969
  children: style === "numbered" ? `${index + 1}.` : "\u2022"
2932
2970
  }
2933
2971
  ),
2934
- /* @__PURE__ */ jsxs10("span", { className: "aui-list__body", "data-slot": "agent-ui-list-content", children: [
2935
- /* @__PURE__ */ jsx13(Label2, { "data-slot": "agent-ui-list-label", children: item.text }),
2936
- item.children?.length ? /* @__PURE__ */ jsx13("span", { className: "aui-list__children", "data-slot": "agent-ui-list-children", children: item.children.map((child) => /* @__PURE__ */ jsx13(Description2, { "data-slot": "agent-ui-list-child", children: child }, child)) }) : null
2972
+ /* @__PURE__ */ jsxs11("span", { className: "aui-list__body", "data-slot": "agent-ui-list-content", children: [
2973
+ /* @__PURE__ */ jsx14(Label2, { "data-slot": "agent-ui-list-label", children: item.text }),
2974
+ item.children?.length ? /* @__PURE__ */ jsx14("span", { className: "aui-list__children", "data-slot": "agent-ui-list-children", children: item.children.map((child) => /* @__PURE__ */ jsx14(Description2, { "data-slot": "agent-ui-list-child", children: child }, child)) }) : null
2937
2975
  ] })
2938
2976
  ] }, item.id))
2939
2977
  }
@@ -2945,15 +2983,15 @@ function listBlockMetaTone(meta) {
2945
2983
  return "neutral";
2946
2984
  }
2947
2985
  function ListBlockView({ className, component }) {
2948
- return /* @__PURE__ */ jsx13(
2986
+ return /* @__PURE__ */ jsx14(
2949
2987
  Card,
2950
2988
  {
2951
2989
  className,
2952
2990
  description: component.description,
2953
2991
  title: component.title,
2954
2992
  variant: "outline",
2955
- children: /* @__PURE__ */ jsx13("ul", { "aria-label": component.title, className: "aui-list-block", "data-slot": "agent-ui-list-block", children: component.items.map((item) => /* @__PURE__ */ jsxs10("li", { className: "aui-list-block__item", "data-slot": "agent-ui-list-block-item", children: [
2956
- item.imageUrl ? /* @__PURE__ */ jsx13(
2993
+ children: /* @__PURE__ */ jsx14("ul", { "aria-label": component.title, className: "aui-list-block", "data-slot": "agent-ui-list-block", children: component.items.map((item) => /* @__PURE__ */ jsxs11("li", { className: "aui-list-block__item", "data-slot": "agent-ui-list-block-item", children: [
2994
+ item.imageUrl ? /* @__PURE__ */ jsx14(
2957
2995
  FallbackImage,
2958
2996
  {
2959
2997
  alt: item.imageAlt ?? "",
@@ -2962,18 +3000,18 @@ function ListBlockView({ className, component }) {
2962
3000
  loading: "lazy",
2963
3001
  src: item.imageUrl
2964
3002
  }
2965
- ) : /* @__PURE__ */ jsx13(
3003
+ ) : /* @__PURE__ */ jsx14(
2966
3004
  "span",
2967
3005
  {
2968
3006
  "aria-hidden": "true",
2969
3007
  className: "aui-list-block__glyph",
2970
3008
  "data-slot": "agent-ui-list-block-glyph",
2971
- children: item.icon ? /* @__PURE__ */ jsx13(AgentIcon, { "data-slot": "agent-ui-list-block-icon", name: item.icon }) : item.title.trim().charAt(0).toUpperCase()
3009
+ children: item.icon ? /* @__PURE__ */ jsx14(AgentIcon, { "data-slot": "agent-ui-list-block-icon", name: item.icon }) : item.title.trim().charAt(0).toUpperCase()
2972
3010
  }
2973
3011
  ),
2974
- /* @__PURE__ */ jsxs10("span", { className: "aui-list-block__body", "data-slot": "agent-ui-list-block-content", children: [
2975
- /* @__PURE__ */ jsx13(Label2, { className: "aui-list-block__title", "data-slot": "agent-ui-list-block-title", children: item.title }),
2976
- item.description ? /* @__PURE__ */ jsx13(
3012
+ /* @__PURE__ */ jsxs11("span", { className: "aui-list-block__body", "data-slot": "agent-ui-list-block-content", children: [
3013
+ /* @__PURE__ */ jsx14(Label2, { className: "aui-list-block__title", "data-slot": "agent-ui-list-block-title", children: item.title }),
3014
+ item.description ? /* @__PURE__ */ jsx14(
2977
3015
  Description2,
2978
3016
  {
2979
3017
  className: "aui-list-block__description",
@@ -2982,8 +3020,8 @@ function ListBlockView({ className, component }) {
2982
3020
  }
2983
3021
  ) : null
2984
3022
  ] }),
2985
- item.meta || item.rating !== void 0 ? /* @__PURE__ */ jsxs10("span", { className: "aui-list-block__footer", "data-slot": "agent-ui-list-block-footer", children: [
2986
- item.meta ? /* @__PURE__ */ jsx13(
3023
+ item.meta || item.rating !== void 0 ? /* @__PURE__ */ jsxs11("span", { className: "aui-list-block__footer", "data-slot": "agent-ui-list-block-footer", children: [
3024
+ item.meta ? /* @__PURE__ */ jsx14(
2987
3025
  "span",
2988
3026
  {
2989
3027
  className: "aui-list-block__meta",
@@ -2992,19 +3030,19 @@ function ListBlockView({ className, component }) {
2992
3030
  children: item.meta
2993
3031
  }
2994
3032
  ) : null,
2995
- item.meta && item.rating !== void 0 ? /* @__PURE__ */ jsx13("span", { "aria-hidden": "true", className: "aui-list-block__meta-separator", children: "\xB7" }) : null,
2996
- item.rating !== void 0 ? /* @__PURE__ */ jsxs10(
3033
+ item.meta && item.rating !== void 0 ? /* @__PURE__ */ jsx14("span", { "aria-hidden": "true", className: "aui-list-block__meta-separator", children: "\xB7" }) : null,
3034
+ item.rating !== void 0 ? /* @__PURE__ */ jsxs11(
2997
3035
  "span",
2998
3036
  {
2999
3037
  "aria-label": `${item.rating} out of 5 stars`,
3000
3038
  className: "aui-list-block__rating",
3001
3039
  "data-slot": "agent-ui-list-block-rating",
3002
3040
  children: [
3003
- /* @__PURE__ */ jsxs10("span", { "aria-hidden": "true", children: [
3041
+ /* @__PURE__ */ jsxs11("span", { "aria-hidden": "true", children: [
3004
3042
  item.rating,
3005
3043
  "/5"
3006
3044
  ] }),
3007
- /* @__PURE__ */ jsx13(
3045
+ /* @__PURE__ */ jsx14(
3008
3046
  AgentIcon,
3009
3047
  {
3010
3048
  "aria-hidden": "true",
@@ -3022,19 +3060,19 @@ function ListBlockView({ className, component }) {
3022
3060
  );
3023
3061
  }
3024
3062
  function AccordionView({ className, component }) {
3025
- return /* @__PURE__ */ jsx13(Card, { className, description: component.description, title: component.title, children: /* @__PURE__ */ jsx13(
3063
+ return /* @__PURE__ */ jsx14(Card, { className, description: component.description, title: component.title, children: /* @__PURE__ */ jsx14(
3026
3064
  Accordion,
3027
3065
  {
3028
3066
  allowsMultipleExpanded: true,
3029
3067
  className: "aui-accordion",
3030
3068
  "data-slot": "agent-ui-accordion",
3031
3069
  defaultExpandedKeys: component.sections.filter((section) => section.defaultOpen).map((section) => section.id),
3032
- children: component.sections.map((section) => /* @__PURE__ */ jsxs10(Accordion.Item, { "data-slot": "agent-ui-accordion-item", id: section.id, children: [
3033
- /* @__PURE__ */ jsx13(Accordion.Heading, { children: /* @__PURE__ */ jsxs10(Accordion.Trigger, { "data-slot": "agent-ui-accordion-trigger", children: [
3070
+ children: component.sections.map((section) => /* @__PURE__ */ jsxs11(Accordion.Item, { "data-slot": "agent-ui-accordion-item", id: section.id, children: [
3071
+ /* @__PURE__ */ jsx14(Accordion.Heading, { children: /* @__PURE__ */ jsxs11(Accordion.Trigger, { "data-slot": "agent-ui-accordion-trigger", children: [
3034
3072
  section.title,
3035
- /* @__PURE__ */ jsx13(Accordion.Indicator, { "data-slot": "agent-ui-accordion-indicator" })
3073
+ /* @__PURE__ */ jsx14(Accordion.Indicator, { "data-slot": "agent-ui-accordion-indicator" })
3036
3074
  ] }) }),
3037
- /* @__PURE__ */ jsx13(Accordion.Panel, { "data-slot": "agent-ui-accordion-panel", children: /* @__PURE__ */ jsx13(Accordion.Body, { children: section.content }) })
3075
+ /* @__PURE__ */ jsx14(Accordion.Panel, { "data-slot": "agent-ui-accordion-panel", children: /* @__PURE__ */ jsx14(Accordion.Body, { children: section.content }) })
3038
3076
  ] }, section.id))
3039
3077
  }
3040
3078
  ) });
@@ -3055,7 +3093,7 @@ function StepsView({ className, component, onSelect }) {
3055
3093
  return next;
3056
3094
  });
3057
3095
  }, []);
3058
- return /* @__PURE__ */ jsx13(Card, { className, description: component.description, title: component.title, children: /* @__PURE__ */ jsx13(
3096
+ return /* @__PURE__ */ jsx14(Card, { className, description: component.description, title: component.title, children: /* @__PURE__ */ jsx14(
3059
3097
  "ol",
3060
3098
  {
3061
3099
  ref: stepsRef,
@@ -3067,7 +3105,7 @@ function StepsView({ className, component, onSelect }) {
3067
3105
  children: component.steps.map((step, index) => {
3068
3106
  const status = step.status === "complete" ? "completed" : step.status === "current" ? "in-progress" : step.status === "upcoming" ? "pending" : step.status ?? "pending";
3069
3107
  const imageFailed = step.image ? failedSources.has(step.image.src) : false;
3070
- const marker = /* @__PURE__ */ jsx13("span", { className: "aui-steps__marker", "data-slot": "agent-ui-step-indicator", children: component.variant === "timeline" ? step.icon ? /* @__PURE__ */ jsx13(AgentIcon, { "aria-hidden": "true", "data-slot": "agent-ui-step-icon", name: step.icon }) : null : status === "completed" ? /* @__PURE__ */ jsx13(
3108
+ const marker = /* @__PURE__ */ jsx14("span", { className: "aui-steps__marker", "data-slot": "agent-ui-step-indicator", children: component.variant === "timeline" ? step.icon ? /* @__PURE__ */ jsx14(AgentIcon, { "aria-hidden": "true", "data-slot": "agent-ui-step-icon", name: step.icon }) : null : status === "completed" ? /* @__PURE__ */ jsx14(
3071
3109
  "svg",
3072
3110
  {
3073
3111
  "aria-hidden": "true",
@@ -3078,23 +3116,23 @@ function StepsView({ className, component, onSelect }) {
3078
3116
  strokeLinejoin: "round",
3079
3117
  strokeWidth: "3",
3080
3118
  viewBox: "0 0 24 24",
3081
- children: /* @__PURE__ */ jsx13("polyline", { points: "20 6 9 17 4 12" })
3119
+ children: /* @__PURE__ */ jsx14("polyline", { points: "20 6 9 17 4 12" })
3082
3120
  }
3083
- ) : status === "failed" ? /* @__PURE__ */ jsx13("span", { "aria-hidden": "true", children: "\xD7" }) : status === "blocked" ? /* @__PURE__ */ jsx13("span", { "aria-hidden": "true", children: "!" }) : status === "cancelled" ? /* @__PURE__ */ jsx13("span", { "aria-hidden": "true", children: "\u2013" }) : step.icon ? /* @__PURE__ */ jsx13(AgentIcon, { "aria-hidden": "true", "data-slot": "agent-ui-step-icon", name: step.icon }) : index + 1 });
3084
- return /* @__PURE__ */ jsx13(
3121
+ ) : status === "failed" ? /* @__PURE__ */ jsx14("span", { "aria-hidden": "true", children: "\xD7" }) : status === "blocked" ? /* @__PURE__ */ jsx14("span", { "aria-hidden": "true", children: "!" }) : status === "cancelled" ? /* @__PURE__ */ jsx14("span", { "aria-hidden": "true", children: "\u2013" }) : step.icon ? /* @__PURE__ */ jsx14(AgentIcon, { "aria-hidden": "true", "data-slot": "agent-ui-step-icon", name: step.icon }) : index + 1 });
3122
+ return /* @__PURE__ */ jsx14(
3085
3123
  "li",
3086
3124
  {
3087
3125
  "data-has-image": step.image ? "true" : void 0,
3088
3126
  "data-slot": "agent-ui-step",
3089
3127
  "data-status": status,
3090
- children: /* @__PURE__ */ jsxs10("div", { className: "aui-steps__row", children: [
3091
- step.image ? imageFailed ? /* @__PURE__ */ jsx13(
3128
+ children: /* @__PURE__ */ jsxs11("div", { className: "aui-steps__row", children: [
3129
+ step.image ? imageFailed ? /* @__PURE__ */ jsx14(
3092
3130
  "span",
3093
3131
  {
3094
3132
  className: "aui-steps__image-marker",
3095
3133
  "data-failed": "true",
3096
3134
  "data-slot": "agent-ui-step-image-marker",
3097
- children: /* @__PURE__ */ jsx13(
3135
+ children: /* @__PURE__ */ jsx14(
3098
3136
  FallbackImage,
3099
3137
  {
3100
3138
  alt: step.image.alt,
@@ -3103,15 +3141,15 @@ function StepsView({ className, component, onSelect }) {
3103
3141
  }
3104
3142
  )
3105
3143
  }
3106
- ) : /* @__PURE__ */ jsxs10(Modal2, { children: [
3107
- /* @__PURE__ */ jsx13(
3144
+ ) : /* @__PURE__ */ jsxs11(Modal2, { children: [
3145
+ /* @__PURE__ */ jsx14(
3108
3146
  Modal2.Trigger,
3109
3147
  {
3110
3148
  "aria-label": `Open ${step.image.alt}`,
3111
3149
  className: "aui-steps__image-marker",
3112
3150
  "data-slot": "agent-ui-step-image-trigger",
3113
3151
  onClick: () => onSelect?.(createComponentSelection(component, step)),
3114
- children: /* @__PURE__ */ jsx13(
3152
+ children: /* @__PURE__ */ jsx14(
3115
3153
  FallbackImage,
3116
3154
  {
3117
3155
  alt: step.image.alt,
@@ -3124,21 +3162,21 @@ function StepsView({ className, component, onSelect }) {
3124
3162
  )
3125
3163
  }
3126
3164
  ),
3127
- /* @__PURE__ */ jsx13(
3165
+ /* @__PURE__ */ jsx14(
3128
3166
  Modal2.Backdrop,
3129
3167
  {
3130
3168
  className: "aui-image-modal__backdrop",
3131
3169
  UNSTABLE_portalContainer: portalContainer,
3132
3170
  variant: "blur",
3133
- children: /* @__PURE__ */ jsx13(Modal2.Container, { className: "aui-image-modal__container", placement: "center", children: /* @__PURE__ */ jsxs10(
3171
+ children: /* @__PURE__ */ jsx14(Modal2.Container, { className: "aui-image-modal__container", placement: "center", children: /* @__PURE__ */ jsxs11(
3134
3172
  Modal2.Dialog,
3135
3173
  {
3136
3174
  "aria-label": step.image.alt,
3137
3175
  className: "aui-image-modal__dialog",
3138
3176
  "data-slot": "agent-ui-image-modal",
3139
3177
  children: [
3140
- /* @__PURE__ */ jsx13(Modal2.CloseTrigger, { className: "aui-image-modal__close" }),
3141
- /* @__PURE__ */ jsx13(
3178
+ /* @__PURE__ */ jsx14(Modal2.CloseTrigger, { className: "aui-image-modal__close" }),
3179
+ /* @__PURE__ */ jsx14(
3142
3180
  FallbackImage,
3143
3181
  {
3144
3182
  alt: step.image.alt,
@@ -3152,18 +3190,18 @@ function StepsView({ className, component, onSelect }) {
3152
3190
  }
3153
3191
  )
3154
3192
  ] }) : marker,
3155
- /* @__PURE__ */ jsx13(
3193
+ /* @__PURE__ */ jsx14(
3156
3194
  "button",
3157
3195
  {
3158
3196
  className: "aui-steps__content-action",
3159
3197
  "data-slot": "agent-ui-step-action",
3160
3198
  type: "button",
3161
3199
  onClick: () => onSelect?.(createComponentSelection(component, step)),
3162
- children: /* @__PURE__ */ jsxs10("span", { "data-slot": "agent-ui-step-content", children: [
3163
- step.timestamp || step.meta ? /* @__PURE__ */ jsx13("span", { className: "aui-steps__meta", "data-slot": "agent-ui-step-meta", children: [step.timestamp, step.meta].filter(Boolean).join(" \xB7 ") }) : null,
3164
- /* @__PURE__ */ jsx13("strong", { "data-slot": "agent-ui-step-title", children: step.title }),
3165
- step.content ? /* @__PURE__ */ jsx13("small", { "data-slot": "agent-ui-step-description", children: step.content }) : null,
3166
- step.progress !== void 0 ? /* @__PURE__ */ jsxs10(
3200
+ children: /* @__PURE__ */ jsxs11("span", { "data-slot": "agent-ui-step-content", children: [
3201
+ step.timestamp || step.meta ? /* @__PURE__ */ jsx14("span", { className: "aui-steps__meta", "data-slot": "agent-ui-step-meta", children: [step.timestamp, step.meta].filter(Boolean).join(" \xB7 ") }) : null,
3202
+ /* @__PURE__ */ jsx14("strong", { "data-slot": "agent-ui-step-title", children: step.title }),
3203
+ step.content ? /* @__PURE__ */ jsx14("small", { "data-slot": "agent-ui-step-description", children: step.content }) : null,
3204
+ step.progress !== void 0 ? /* @__PURE__ */ jsxs11(
3167
3205
  ProgressBar,
3168
3206
  {
3169
3207
  "aria-label": `${step.title} progress`,
@@ -3172,8 +3210,8 @@ function StepsView({ className, component, onSelect }) {
3172
3210
  value: step.progress,
3173
3211
  color: status === "failed" ? "danger" : status === "blocked" ? "warning" : "accent",
3174
3212
  children: [
3175
- /* @__PURE__ */ jsx13(ProgressBar.Output, {}),
3176
- /* @__PURE__ */ jsx13(ProgressBar.Track, { children: /* @__PURE__ */ jsx13(ProgressBar.Fill, {}) })
3213
+ /* @__PURE__ */ jsx14(ProgressBar.Output, {}),
3214
+ /* @__PURE__ */ jsx14(ProgressBar.Track, { children: /* @__PURE__ */ jsx14(ProgressBar.Fill, {}) })
3177
3215
  ]
3178
3216
  }
3179
3217
  ) : null
@@ -3189,16 +3227,16 @@ function StepsView({ className, component, onSelect }) {
3189
3227
  ) });
3190
3228
  }
3191
3229
  function CodeBlockView({ className, component }) {
3192
- return /* @__PURE__ */ jsx13(Card, { className, description: component.description, title: component.title, children: /* @__PURE__ */ jsx13(CodeBlock, { code: component.code, language: component.language }) });
3230
+ return /* @__PURE__ */ jsx14(Card, { className, description: component.description, title: component.title, children: /* @__PURE__ */ jsx14(CodeBlock, { code: component.code, language: component.language }) });
3193
3231
  }
3194
3232
  function DiagramView({ className, component }) {
3195
- return /* @__PURE__ */ jsx13(Card, { className, description: component.description, title: component.title, children: /* @__PURE__ */ jsx13(Diagram, { chart: component.chart, title: component.title }) });
3233
+ return /* @__PURE__ */ jsx14(Card, { className, description: component.description, title: component.title, children: /* @__PURE__ */ jsx14(Diagram, { chart: component.chart, title: component.title }) });
3196
3234
  }
3197
3235
  function TabsView({ className, component, onSelect, renderPanel }) {
3198
3236
  const tabIds = useMemo2(() => new Set(component.tabs.map((tab) => tab.id)), [component.tabs]);
3199
3237
  const [selected, setSelected] = useState5(component.defaultValue ?? component.tabs[0]?.id ?? "");
3200
3238
  const activeId = tabIds.has(selected) ? selected : component.defaultValue ?? component.tabs[0]?.id ?? "";
3201
- return /* @__PURE__ */ jsx13(Card, { className, description: component.description, title: component.title, children: /* @__PURE__ */ jsx13("div", { className: "aui-tabs", "data-slot": "agent-ui-tabs", children: /* @__PURE__ */ jsxs10(
3239
+ return /* @__PURE__ */ jsx14(Card, { className, description: component.description, title: component.title, children: /* @__PURE__ */ jsx14("div", { className: "aui-tabs", "data-slot": "agent-ui-tabs", children: /* @__PURE__ */ jsxs11(
3202
3240
  Tabs,
3203
3241
  {
3204
3242
  selectedKey: activeId,
@@ -3210,17 +3248,17 @@ function TabsView({ className, component, onSelect, renderPanel }) {
3210
3248
  if (nextTab) onSelect?.(createComponentSelection(component, nextTab));
3211
3249
  },
3212
3250
  children: [
3213
- /* @__PURE__ */ jsx13(Tabs.ListContainer, { children: /* @__PURE__ */ jsx13(Tabs.List, { "aria-label": component.title, children: component.tabs.map((tab) => /* @__PURE__ */ jsxs10(Tabs.Tab, { id: tab.id, children: [
3251
+ /* @__PURE__ */ jsx14(Tabs.ListContainer, { children: /* @__PURE__ */ jsx14(Tabs.List, { "aria-label": component.title, children: component.tabs.map((tab) => /* @__PURE__ */ jsxs11(Tabs.Tab, { id: tab.id, children: [
3214
3252
  tab.label,
3215
- /* @__PURE__ */ jsx13(Tabs.Indicator, {})
3253
+ /* @__PURE__ */ jsx14(Tabs.Indicator, {})
3216
3254
  ] }, tab.id)) }) }),
3217
- component.tabs.map((tab) => /* @__PURE__ */ jsx13(
3255
+ component.tabs.map((tab) => /* @__PURE__ */ jsx14(
3218
3256
  Tabs.Panel,
3219
3257
  {
3220
3258
  className: "aui-tabs__panel",
3221
3259
  "data-content": tab.children ? "rich" : "text",
3222
3260
  id: tab.id,
3223
- children: tab.children ? /* @__PURE__ */ jsx13("div", { className: "aui-tabs__panel-content", children: renderPanel?.(tab.children) ?? null }) : tab.content
3261
+ children: tab.children ? /* @__PURE__ */ jsx14("div", { className: "aui-tabs__panel-content", children: renderPanel?.(tab.children) ?? null }) : tab.content
3224
3262
  },
3225
3263
  tab.id
3226
3264
  ))
@@ -6727,7 +6765,7 @@ var itemCardVariants = tv({
6727
6765
  });
6728
6766
 
6729
6767
  // ../react/src/components/item-card/item-card.tsx
6730
- import { jsx as jsx14 } from "react/jsx-runtime";
6768
+ import { jsx as jsx15 } from "react/jsx-runtime";
6731
6769
  var ItemCardContext = createContext({});
6732
6770
  var ItemCardRoot = ({
6733
6771
  children,
@@ -6736,7 +6774,7 @@ var ItemCardRoot = ({
6736
6774
  ...props
6737
6775
  }) => {
6738
6776
  const slots = useMemo3(() => itemCardVariants({ variant }), [variant]);
6739
- return /* @__PURE__ */ jsx14(ItemCardContext, { value: { slots }, children: /* @__PURE__ */ jsx14(
6777
+ return /* @__PURE__ */ jsx15(ItemCardContext, { value: { slots }, children: /* @__PURE__ */ jsx15(
6740
6778
  dom.div,
6741
6779
  {
6742
6780
  className: composeSlotClassName(slots?.base, className),
@@ -6748,7 +6786,7 @@ var ItemCardRoot = ({
6748
6786
  };
6749
6787
  var ItemCardIcon = ({ children, className, ...props }) => {
6750
6788
  const { slots } = useContext(ItemCardContext);
6751
- return /* @__PURE__ */ jsx14(
6789
+ return /* @__PURE__ */ jsx15(
6752
6790
  "div",
6753
6791
  {
6754
6792
  className: composeSlotClassName(slots?.icon, className),
@@ -6760,7 +6798,7 @@ var ItemCardIcon = ({ children, className, ...props }) => {
6760
6798
  };
6761
6799
  var ItemCardContent = ({ children, className, ...props }) => {
6762
6800
  const { slots } = useContext(ItemCardContext);
6763
- return /* @__PURE__ */ jsx14(
6801
+ return /* @__PURE__ */ jsx15(
6764
6802
  "div",
6765
6803
  {
6766
6804
  className: composeSlotClassName(slots?.content, className),
@@ -6772,7 +6810,7 @@ var ItemCardContent = ({ children, className, ...props }) => {
6772
6810
  };
6773
6811
  var ItemCardTitle = ({ children, className, ...props }) => {
6774
6812
  const { slots } = useContext(ItemCardContext);
6775
- return /* @__PURE__ */ jsx14(
6813
+ return /* @__PURE__ */ jsx15(
6776
6814
  "span",
6777
6815
  {
6778
6816
  className: composeSlotClassName(slots?.title, className),
@@ -6784,7 +6822,7 @@ var ItemCardTitle = ({ children, className, ...props }) => {
6784
6822
  };
6785
6823
  var ItemCardDescription = ({ children, className, ...props }) => {
6786
6824
  const { slots } = useContext(ItemCardContext);
6787
- return /* @__PURE__ */ jsx14(
6825
+ return /* @__PURE__ */ jsx15(
6788
6826
  "span",
6789
6827
  {
6790
6828
  className: composeSlotClassName(slots?.description, className),
@@ -6796,7 +6834,7 @@ var ItemCardDescription = ({ children, className, ...props }) => {
6796
6834
  };
6797
6835
  var ItemCardAction = ({ children, className, ...props }) => {
6798
6836
  const { slots } = useContext(ItemCardContext);
6799
- return /* @__PURE__ */ jsx14(
6837
+ return /* @__PURE__ */ jsx15(
6800
6838
  "div",
6801
6839
  {
6802
6840
  className: composeSlotClassName(slots?.action, className),
@@ -6862,7 +6900,7 @@ var itemCardGroupVariants = tv({
6862
6900
  });
6863
6901
 
6864
6902
  // ../react/src/components/item-card-group/item-card-group.tsx
6865
- import { jsx as jsx15 } from "react/jsx-runtime";
6903
+ import { jsx as jsx16 } from "react/jsx-runtime";
6866
6904
  var ItemCardGroupContext = createContext2({});
6867
6905
  var ItemCardGroupRoot = ({
6868
6906
  children,
@@ -6875,7 +6913,7 @@ var ItemCardGroupRoot = ({
6875
6913
  }) => {
6876
6914
  const slots = useMemo4(() => itemCardGroupVariants({ layout, variant }), [layout, variant]);
6877
6915
  const gridStyle = layout === "grid" && columns ? { ...style, "--item-card-group-columns": columns } : style;
6878
- return /* @__PURE__ */ jsx15(ItemCardGroupContext, { value: { slots }, children: /* @__PURE__ */ jsx15(
6916
+ return /* @__PURE__ */ jsx16(ItemCardGroupContext, { value: { slots }, children: /* @__PURE__ */ jsx16(
6879
6917
  "div",
6880
6918
  {
6881
6919
  className: composeSlotClassName(slots?.base, className),
@@ -6889,7 +6927,7 @@ var ItemCardGroupRoot = ({
6889
6927
  };
6890
6928
  var ItemCardGroupHeader = ({ children, className, ...props }) => {
6891
6929
  const { slots } = useContext2(ItemCardGroupContext);
6892
- return /* @__PURE__ */ jsx15(
6930
+ return /* @__PURE__ */ jsx16(
6893
6931
  "div",
6894
6932
  {
6895
6933
  className: composeSlotClassName(slots?.header, className),
@@ -6901,7 +6939,7 @@ var ItemCardGroupHeader = ({ children, className, ...props }) => {
6901
6939
  };
6902
6940
  var ItemCardGroupTitle = ({ children, className, ...props }) => {
6903
6941
  const { slots } = useContext2(ItemCardGroupContext);
6904
- return /* @__PURE__ */ jsx15(
6942
+ return /* @__PURE__ */ jsx16(
6905
6943
  "h3",
6906
6944
  {
6907
6945
  className: composeSlotClassName(slots?.title, className),
@@ -6917,7 +6955,7 @@ var ItemCardGroupDescription = ({
6917
6955
  ...props
6918
6956
  }) => {
6919
6957
  const { slots } = useContext2(ItemCardGroupContext);
6920
- return /* @__PURE__ */ jsx15(
6958
+ return /* @__PURE__ */ jsx16(
6921
6959
  "p",
6922
6960
  {
6923
6961
  className: composeSlotClassName(slots?.description, className),
@@ -6937,16 +6975,16 @@ var ItemCardGroup = Object.assign(ItemCardGroupRoot, {
6937
6975
  });
6938
6976
 
6939
6977
  // ../agent-ui/src/components/display-information/item-card/item-card.tsx
6940
- import { Fragment as Fragment3, jsx as jsx16, jsxs as jsxs11 } from "react/jsx-runtime";
6978
+ import { Fragment as Fragment3, jsx as jsx17, jsxs as jsxs12 } from "react/jsx-runtime";
6941
6979
  function itemCardContent({
6942
6980
  left,
6943
6981
  middle,
6944
6982
  right
6945
6983
  }) {
6946
- return /* @__PURE__ */ jsxs11(Fragment3, { children: [
6947
- left ? /* @__PURE__ */ jsx16(ItemCard.Icon, { children: left }) : null,
6948
- /* @__PURE__ */ jsx16(ItemCard.Content, { children: middle }),
6949
- right ? /* @__PURE__ */ jsx16(ItemCard.Action, { children: right }) : null
6984
+ return /* @__PURE__ */ jsxs12(Fragment3, { children: [
6985
+ left ? /* @__PURE__ */ jsx17(ItemCard.Icon, { children: left }) : null,
6986
+ /* @__PURE__ */ jsx17(ItemCard.Content, { children: middle }),
6987
+ right ? /* @__PURE__ */ jsx17(ItemCard.Action, { children: right }) : null
6950
6988
  ] });
6951
6989
  }
6952
6990
  function ItemCardView({
@@ -6969,15 +7007,15 @@ function ItemCardView({
6969
7007
  variant: component.variant
6970
7008
  };
6971
7009
  if (!component.action) {
6972
- return /* @__PURE__ */ jsx16(ItemCard, { ...shared, children: content2 });
7010
+ return /* @__PURE__ */ jsx17(ItemCard, { ...shared, children: content2 });
6973
7011
  }
6974
- return /* @__PURE__ */ jsx16(
7012
+ return /* @__PURE__ */ jsx17(
6975
7013
  ItemCard,
6976
7014
  {
6977
7015
  ...shared,
6978
7016
  "aria-pressed": component.isSelected || void 0,
6979
7017
  disabled: component.isDisabled,
6980
- render: (props) => /* @__PURE__ */ jsx16("button", { type: "button", ...props }),
7018
+ render: (props) => /* @__PURE__ */ jsx17("button", { type: "button", ...props }),
6981
7019
  onClick: () => {
6982
7020
  if (component.isDisabled) return;
6983
7021
  const action2 = componentActionFromSpec(component.id, component.action);
@@ -6997,7 +7035,7 @@ function ItemCardView({
6997
7035
  );
6998
7036
  }
6999
7037
  function ItemCardGroupView({ children, className, component }) {
7000
- return /* @__PURE__ */ jsxs11(
7038
+ return /* @__PURE__ */ jsxs12(
7001
7039
  ItemCardGroup,
7002
7040
  {
7003
7041
  "aria-label": component.title,
@@ -7007,9 +7045,9 @@ function ItemCardGroupView({ children, className, component }) {
7007
7045
  layout: component.layout,
7008
7046
  variant: component.variant,
7009
7047
  children: [
7010
- component.showHeader ? /* @__PURE__ */ jsxs11(ItemCardGroup.Header, { children: [
7011
- /* @__PURE__ */ jsx16(ItemCardGroup.Title, { children: component.title }),
7012
- component.description ? /* @__PURE__ */ jsx16(ItemCardGroup.Description, { children: component.description }) : null
7048
+ component.showHeader ? /* @__PURE__ */ jsxs12(ItemCardGroup.Header, { children: [
7049
+ /* @__PURE__ */ jsx17(ItemCardGroup.Title, { children: component.title }),
7050
+ component.description ? /* @__PURE__ */ jsx17(ItemCardGroup.Description, { children: component.description }) : null
7013
7051
  ] }) : null,
7014
7052
  children
7015
7053
  ]
@@ -7023,7 +7061,7 @@ import { Children } from "react";
7023
7061
  // ../agent-ui/src/components/display-information/widget/widget.tsx
7024
7062
  import { Picture as Picture2 } from "@gravity-ui/icons";
7025
7063
  import { useState as useState6 } from "react";
7026
- import { jsx as jsx17 } from "react/jsx-runtime";
7064
+ import { jsx as jsx18 } from "react/jsx-runtime";
7027
7065
  var alignItems = { center: "center", end: "flex-end", start: "flex-start", stretch: "stretch" };
7028
7066
  var justifyContent = {
7029
7067
  between: "space-between",
@@ -7088,7 +7126,7 @@ function WidgetCard({
7088
7126
  theme = "light",
7089
7127
  ...props
7090
7128
  }) {
7091
- return /* @__PURE__ */ jsx17(
7129
+ return /* @__PURE__ */ jsx18(
7092
7130
  "section",
7093
7131
  {
7094
7132
  "data-size": cardSize,
@@ -7105,7 +7143,7 @@ function WidgetCard({
7105
7143
  }
7106
7144
  function WidgetRow({ className, radius, ...props }) {
7107
7145
  const { elementProps, style } = resolveLayoutProps(props);
7108
- return /* @__PURE__ */ jsx17(
7146
+ return /* @__PURE__ */ jsx18(
7109
7147
  "div",
7110
7148
  {
7111
7149
  className: mergeClassNames("aui-widget-row", className),
@@ -7117,7 +7155,7 @@ function WidgetRow({ className, radius, ...props }) {
7117
7155
  }
7118
7156
  function WidgetCol({ className, radius, ...props }) {
7119
7157
  const { elementProps, style } = resolveLayoutProps(props);
7120
- return /* @__PURE__ */ jsx17(
7158
+ return /* @__PURE__ */ jsx18(
7121
7159
  "div",
7122
7160
  {
7123
7161
  className: mergeClassNames("aui-widget-col", className),
@@ -7129,7 +7167,7 @@ function WidgetCol({ className, radius, ...props }) {
7129
7167
  }
7130
7168
  function WidgetBox({ className, radius, ...props }) {
7131
7169
  const { elementProps, style } = resolveLayoutProps(props);
7132
- return /* @__PURE__ */ jsx17(
7170
+ return /* @__PURE__ */ jsx18(
7133
7171
  "div",
7134
7172
  {
7135
7173
  className: mergeClassNames("aui-widget-box", className),
@@ -7140,10 +7178,10 @@ function WidgetBox({ className, radius, ...props }) {
7140
7178
  );
7141
7179
  }
7142
7180
  function WidgetSpacer({ className }) {
7143
- return /* @__PURE__ */ jsx17("span", { "aria-hidden": "true", className: mergeClassNames("aui-widget-spacer", className) });
7181
+ return /* @__PURE__ */ jsx18("span", { "aria-hidden": "true", className: mergeClassNames("aui-widget-spacer", className) });
7144
7182
  }
7145
7183
  function WidgetDivider({ className, flush = false }) {
7146
- return /* @__PURE__ */ jsx17(
7184
+ return /* @__PURE__ */ jsx18(
7147
7185
  "hr",
7148
7186
  {
7149
7187
  className: mergeClassNames("aui-widget-divider", className),
@@ -7177,7 +7215,7 @@ function resolveTextProps({
7177
7215
  }
7178
7216
  function WidgetText({ children, className, value, ...props }) {
7179
7217
  const { elementProps, visualProps } = resolveTextProps(props);
7180
- return /* @__PURE__ */ jsx17(
7218
+ return /* @__PURE__ */ jsx18(
7181
7219
  "span",
7182
7220
  {
7183
7221
  className: mergeClassNames("aui-widget-text", className),
@@ -7189,7 +7227,7 @@ function WidgetText({ children, className, value, ...props }) {
7189
7227
  }
7190
7228
  function WidgetTitle({ children, className, value, ...props }) {
7191
7229
  const { elementProps, visualProps } = resolveTextProps(props);
7192
- return /* @__PURE__ */ jsx17(
7230
+ return /* @__PURE__ */ jsx18(
7193
7231
  "h3",
7194
7232
  {
7195
7233
  className: mergeClassNames("aui-widget-title", className),
@@ -7201,7 +7239,7 @@ function WidgetTitle({ children, className, value, ...props }) {
7201
7239
  }
7202
7240
  function WidgetCaption({ children, className, value, ...props }) {
7203
7241
  const { elementProps, visualProps } = resolveTextProps(props);
7204
- return /* @__PURE__ */ jsx17(
7242
+ return /* @__PURE__ */ jsx18(
7205
7243
  "span",
7206
7244
  {
7207
7245
  className: mergeClassNames("aui-widget-caption", className),
@@ -7239,7 +7277,7 @@ function WidgetImage({
7239
7277
  }
7240
7278
  };
7241
7279
  if (!src || failedSrc === src) {
7242
- return /* @__PURE__ */ jsx17(
7280
+ return /* @__PURE__ */ jsx18(
7243
7281
  "span",
7244
7282
  {
7245
7283
  "aria-hidden": alt ? void 0 : true,
@@ -7248,11 +7286,11 @@ function WidgetImage({
7248
7286
  "data-slot": "agent-ui-image-fallback",
7249
7287
  role: alt ? "img" : void 0,
7250
7288
  ...visualProps,
7251
- children: /* @__PURE__ */ jsx17(Picture2, { "aria-hidden": "true" })
7289
+ children: /* @__PURE__ */ jsx18(Picture2, { "aria-hidden": "true" })
7252
7290
  }
7253
7291
  );
7254
7292
  }
7255
- return /* @__PURE__ */ jsx17(
7293
+ return /* @__PURE__ */ jsx18(
7256
7294
  "img",
7257
7295
  {
7258
7296
  alt,
@@ -7272,7 +7310,7 @@ function WidgetIcon({
7272
7310
  className,
7273
7311
  size: iconSize
7274
7312
  }) {
7275
- return /* @__PURE__ */ jsx17(
7313
+ return /* @__PURE__ */ jsx18(
7276
7314
  "span",
7277
7315
  {
7278
7316
  className: mergeClassNames("aui-widget-icon", className),
@@ -7282,16 +7320,16 @@ function WidgetIcon({
7282
7320
  );
7283
7321
  }
7284
7322
  function WidgetActions({ className, ...props }) {
7285
- return /* @__PURE__ */ jsx17("div", { className: mergeClassNames("aui-widget-actions", className), ...props });
7323
+ return /* @__PURE__ */ jsx18("div", { className: mergeClassNames("aui-widget-actions", className), ...props });
7286
7324
  }
7287
7325
  function WidgetButton(props) {
7288
- return /* @__PURE__ */ jsx17(ActionButton, { ...props });
7326
+ return /* @__PURE__ */ jsx18(ActionButton, { ...props });
7289
7327
  }
7290
7328
 
7291
7329
  // ../agent-ui/src/components/display-information/layout/layout-views.tsx
7292
- import { jsx as jsx18 } from "react/jsx-runtime";
7330
+ import { jsx as jsx19 } from "react/jsx-runtime";
7293
7331
  function RowView({ children, className, component }) {
7294
- return /* @__PURE__ */ jsx18(
7332
+ return /* @__PURE__ */ jsx19(
7295
7333
  "div",
7296
7334
  {
7297
7335
  className: mergeClassNames("aui-row", className),
@@ -7304,7 +7342,7 @@ function RowView({ children, className, component }) {
7304
7342
  );
7305
7343
  }
7306
7344
  function ColView({ children, className, component }) {
7307
- return /* @__PURE__ */ jsx18(
7345
+ return /* @__PURE__ */ jsx19(
7308
7346
  "div",
7309
7347
  {
7310
7348
  className: mergeClassNames("aui-col", className),
@@ -7320,7 +7358,7 @@ function GridView({ children, className, component }) {
7320
7358
  const isRecordList = component.columns === 1 && component.children.length > 1 && component.children.every((child) => child.kind === "record-card");
7321
7359
  const renderedChildren = isRecordList ? Children.toArray(children).flatMap(
7322
7360
  (child, index) => index === 0 ? [child] : [
7323
- /* @__PURE__ */ jsx18(
7361
+ /* @__PURE__ */ jsx19(
7324
7362
  WidgetDivider,
7325
7363
  {
7326
7364
  className: "aui-record-list__divider"
@@ -7330,7 +7368,7 @@ function GridView({ children, className, component }) {
7330
7368
  child
7331
7369
  ]
7332
7370
  ) : children;
7333
- return /* @__PURE__ */ jsx18(
7371
+ return /* @__PURE__ */ jsx19(
7334
7372
  "div",
7335
7373
  {
7336
7374
  className: mergeClassNames("aui-grid", className),
@@ -7343,19 +7381,19 @@ function GridView({ children, className, component }) {
7343
7381
  );
7344
7382
  }
7345
7383
  function CardContainerView({ children, className, component }) {
7346
- return /* @__PURE__ */ jsx18(
7384
+ return /* @__PURE__ */ jsx19(
7347
7385
  Card,
7348
7386
  {
7349
7387
  className,
7350
7388
  description: component.description,
7351
7389
  title: component.title,
7352
7390
  variant: component.variant,
7353
- children: /* @__PURE__ */ jsx18("div", { className: "aui-card-stack", "data-slot": "agent-ui-card-stack", children })
7391
+ children: /* @__PURE__ */ jsx19("div", { className: "aui-card-stack", "data-slot": "agent-ui-card-stack", children })
7354
7392
  }
7355
7393
  );
7356
7394
  }
7357
7395
  function SpacerView({ className, component }) {
7358
- return /* @__PURE__ */ jsx18(
7396
+ return /* @__PURE__ */ jsx19(
7359
7397
  "span",
7360
7398
  {
7361
7399
  "aria-hidden": "true",
@@ -7366,7 +7404,7 @@ function SpacerView({ className, component }) {
7366
7404
  );
7367
7405
  }
7368
7406
  function DividerView({ className }) {
7369
- return /* @__PURE__ */ jsx18(WidgetDivider, { className });
7407
+ return /* @__PURE__ */ jsx19(WidgetDivider, { className });
7370
7408
  }
7371
7409
 
7372
7410
  // ../agent-ui/src/components/display-information/map/map.tsx
@@ -7400,7 +7438,7 @@ function useAgentMapTileProvider() {
7400
7438
  }
7401
7439
 
7402
7440
  // ../agent-ui/src/components/display-information/map/map.tsx
7403
- import { Fragment as Fragment4, jsx as jsx19, jsxs as jsxs12 } from "react/jsx-runtime";
7441
+ import { Fragment as Fragment4, jsx as jsx20, jsxs as jsxs13 } from "react/jsx-runtime";
7404
7442
  var ratingFormatter = new Intl.NumberFormat(void 0, {
7405
7443
  maximumFractionDigits: 1,
7406
7444
  minimumFractionDigits: 1
@@ -7450,9 +7488,9 @@ function MapLocationImage({ className, location }) {
7450
7488
  const image = location.images?.[0];
7451
7489
  const [failedSource, setFailedSource] = useState7();
7452
7490
  if (!image || failedSource === image.src) {
7453
- return /* @__PURE__ */ jsx19("span", { "aria-hidden": "true", className: mergeClassNames(className, "aui-map__image-fallback"), children: getInitials(location.title) });
7491
+ return /* @__PURE__ */ jsx20("span", { "aria-hidden": "true", className: mergeClassNames(className, "aui-map__image-fallback"), children: getInitials(location.title) });
7454
7492
  }
7455
- return /* @__PURE__ */ jsx19(
7493
+ return /* @__PURE__ */ jsx20(
7456
7494
  WidgetImage,
7457
7495
  {
7458
7496
  alt: image.alt,
@@ -7471,7 +7509,7 @@ function getLocationArea(address) {
7471
7509
  var MapDetailPresenceSlide = forwardRef(
7472
7510
  function MapDetailPresenceSlide2({ children, className, direction, transition, variants }, ref) {
7473
7511
  const isPresent = useIsPresent();
7474
- return /* @__PURE__ */ jsx19(
7512
+ return /* @__PURE__ */ jsx20(
7475
7513
  m.div,
7476
7514
  {
7477
7515
  ref,
@@ -7495,18 +7533,18 @@ function LocationMetadata({
7495
7533
  showCategory = true
7496
7534
  }) {
7497
7535
  const ratingLabel = location.rating === void 0 ? void 0 : `${formatRating(location.rating)} out of 5${location.reviewCount === void 0 ? "" : `, ${reviewCountFormatter.format(location.reviewCount)} reviews`}`;
7498
- return /* @__PURE__ */ jsxs12("span", { className: "aui-map__metadata", "data-slot": "agent-ui-map-location-metadata", children: [
7499
- location.rating !== void 0 ? /* @__PURE__ */ jsxs12("span", { "aria-label": ratingLabel, className: "aui-map__rating", children: [
7500
- /* @__PURE__ */ jsx19("span", { "aria-hidden": "true", children: formatRating(location.rating) }),
7501
- /* @__PURE__ */ jsx19(StarFill, { "aria-hidden": "true" })
7536
+ return /* @__PURE__ */ jsxs13("span", { className: "aui-map__metadata", "data-slot": "agent-ui-map-location-metadata", children: [
7537
+ location.rating !== void 0 ? /* @__PURE__ */ jsxs13("span", { "aria-label": ratingLabel, className: "aui-map__rating", children: [
7538
+ /* @__PURE__ */ jsx20("span", { "aria-hidden": "true", children: formatRating(location.rating) }),
7539
+ /* @__PURE__ */ jsx20(StarFill, { "aria-hidden": "true" })
7502
7540
  ] }) : null,
7503
- location.reviewCount !== void 0 ? /* @__PURE__ */ jsxs12("span", { "aria-hidden": "true", children: [
7541
+ location.reviewCount !== void 0 ? /* @__PURE__ */ jsxs13("span", { "aria-hidden": "true", children: [
7504
7542
  reviewCountFormatter.format(location.reviewCount),
7505
7543
  " reviews"
7506
7544
  ] }) : null,
7507
- showCategory && location.category ? /* @__PURE__ */ jsxs12(Fragment4, { children: [
7508
- /* @__PURE__ */ jsx19("span", { "aria-hidden": "true", className: "aui-map__metadata-separator", children: "\xB7" }),
7509
- /* @__PURE__ */ jsx19("span", { children: location.category })
7545
+ showCategory && location.category ? /* @__PURE__ */ jsxs13(Fragment4, { children: [
7546
+ /* @__PURE__ */ jsx20("span", { "aria-hidden": "true", className: "aui-map__metadata-separator", children: "\xB7" }),
7547
+ /* @__PURE__ */ jsx20("span", { children: location.category })
7510
7548
  ] }) : null
7511
7549
  ] });
7512
7550
  }
@@ -7517,7 +7555,7 @@ function HostTileMapSurface({ component, onSelect, selectedLocationId }) {
7517
7555
  () => new Map(component.locations.map((location) => [location.id, location])),
7518
7556
  [component.locations]
7519
7557
  );
7520
- return /* @__PURE__ */ jsxs12(
7558
+ return /* @__PURE__ */ jsxs13(
7521
7559
  "div",
7522
7560
  {
7523
7561
  "aria-label": `${component.title} map with ${component.locations.length} locations`,
@@ -7526,7 +7564,7 @@ function HostTileMapSurface({ component, onSelect, selectedLocationId }) {
7526
7564
  "data-slot": "agent-ui-map-surface",
7527
7565
  role: "region",
7528
7566
  children: [
7529
- /* @__PURE__ */ jsxs12(
7567
+ /* @__PURE__ */ jsxs13(
7530
7568
  "svg",
7531
7569
  {
7532
7570
  "aria-hidden": "true",
@@ -7534,14 +7572,14 @@ function HostTileMapSurface({ component, onSelect, selectedLocationId }) {
7534
7572
  preserveAspectRatio: "none",
7535
7573
  viewBox: "0 0 800 520",
7536
7574
  children: [
7537
- /* @__PURE__ */ jsx19("path", { d: "M-40 430C130 270 210 310 360 190S590 35 850 110" }),
7538
- /* @__PURE__ */ jsx19("path", { d: "M-20 120C180 210 255 150 405 265S650 470 830 390" }),
7539
- /* @__PURE__ */ jsx19("path", { d: "M80 -30C125 120 250 205 220 560" }),
7540
- /* @__PURE__ */ jsx19("path", { d: "M590 -30C520 120 530 290 690 560" })
7575
+ /* @__PURE__ */ jsx20("path", { d: "M-40 430C130 270 210 310 360 190S590 35 850 110" }),
7576
+ /* @__PURE__ */ jsx20("path", { d: "M-20 120C180 210 255 150 405 265S650 470 830 390" }),
7577
+ /* @__PURE__ */ jsx20("path", { d: "M80 -30C125 120 250 205 220 560" }),
7578
+ /* @__PURE__ */ jsx20("path", { d: "M590 -30C520 120 530 290 690 560" })
7541
7579
  ]
7542
7580
  }
7543
7581
  ),
7544
- tileProvider ? /* @__PURE__ */ jsx19("div", { "aria-hidden": "true", className: "aui-map__tiles", children: layout.tiles.map((tile) => {
7582
+ tileProvider ? /* @__PURE__ */ jsx20("div", { "aria-hidden": "true", className: "aui-map__tiles", children: layout.tiles.map((tile) => {
7545
7583
  let source;
7546
7584
  try {
7547
7585
  source = tileProvider.getTileUrl({
@@ -7552,7 +7590,7 @@ function HostTileMapSurface({ component, onSelect, selectedLocationId }) {
7552
7590
  } catch {
7553
7591
  source = void 0;
7554
7592
  }
7555
- return source ? /* @__PURE__ */ jsx19(
7593
+ return source ? /* @__PURE__ */ jsx20(
7556
7594
  "img",
7557
7595
  {
7558
7596
  alt: "",
@@ -7573,13 +7611,13 @@ function HostTileMapSurface({ component, onSelect, selectedLocationId }) {
7573
7611
  tile.key
7574
7612
  ) : null;
7575
7613
  }) }) : null,
7576
- /* @__PURE__ */ jsx19("div", { className: "aui-map__markers", "data-slot": "agent-ui-map-markers", children: layout.points.map((point, index) => {
7614
+ /* @__PURE__ */ jsx20("div", { className: "aui-map__markers", "data-slot": "agent-ui-map-markers", children: layout.points.map((point, index) => {
7577
7615
  const location = locationsById.get(point.id);
7578
7616
  if (!location) return null;
7579
7617
  const selected = location.id === selectedLocationId;
7580
7618
  const markerLabel = location.rating !== void 0 ? formatRating(location.rating) : location.relevance !== void 0 ? `${Math.round(location.relevance * 100)}%` : String(index + 1);
7581
7619
  const accessibleLabel = `Select ${location.title} on map${location.rating === void 0 ? "" : `, rated ${formatRating(location.rating)} out of 5`}`;
7582
- return /* @__PURE__ */ jsxs12(
7620
+ return /* @__PURE__ */ jsxs13(
7583
7621
  "button",
7584
7622
  {
7585
7623
  "aria-label": accessibleLabel,
@@ -7595,35 +7633,35 @@ function HostTileMapSurface({ component, onSelect, selectedLocationId }) {
7595
7633
  },
7596
7634
  onClick: () => onSelect(location),
7597
7635
  children: [
7598
- /* @__PURE__ */ jsx19(StarFill, { "aria-hidden": "true" }),
7599
- /* @__PURE__ */ jsx19("span", { children: markerLabel })
7636
+ /* @__PURE__ */ jsx20(StarFill, { "aria-hidden": "true" }),
7637
+ /* @__PURE__ */ jsx20("span", { children: markerLabel })
7600
7638
  ]
7601
7639
  },
7602
7640
  location.id
7603
7641
  );
7604
7642
  }) }),
7605
- /* @__PURE__ */ jsx19("span", { className: "aui-map__attribution", "data-slot": "agent-ui-map-attribution", children: tileProvider?.attribution ?? "Location preview" })
7643
+ /* @__PURE__ */ jsx20("span", { className: "aui-map__attribution", "data-slot": "agent-ui-map-attribution", children: tileProvider?.attribution ?? "Location preview" })
7606
7644
  ]
7607
7645
  }
7608
7646
  );
7609
7647
  }
7610
7648
  function MapSurface(props) {
7611
7649
  const tileProvider = useAgentMapTileProvider();
7612
- if (tileProvider) return /* @__PURE__ */ jsx19(HostTileMapSurface, { ...props });
7613
- return /* @__PURE__ */ jsx19(
7650
+ if (tileProvider) return /* @__PURE__ */ jsx20(HostTileMapSurface, { ...props });
7651
+ return /* @__PURE__ */ jsx20(
7614
7652
  Suspense2,
7615
7653
  {
7616
- fallback: /* @__PURE__ */ jsx19(
7654
+ fallback: /* @__PURE__ */ jsx20(
7617
7655
  "div",
7618
7656
  {
7619
7657
  "aria-label": "Loading interactive map",
7620
7658
  className: "aui-map__surface aui-map__surface--loading",
7621
7659
  "data-slot": "agent-ui-map-surface",
7622
7660
  role: "status",
7623
- children: /* @__PURE__ */ jsx19("span", {})
7661
+ children: /* @__PURE__ */ jsx20("span", {})
7624
7662
  }
7625
7663
  ),
7626
- children: /* @__PURE__ */ jsx19(LazyInteractiveMapSurface, { ...props })
7664
+ children: /* @__PURE__ */ jsx20(LazyInteractiveMapSurface, { ...props })
7627
7665
  }
7628
7666
  );
7629
7667
  }
@@ -7636,7 +7674,7 @@ function ResultCard({
7636
7674
  }) {
7637
7675
  const area = getLocationArea(location.address);
7638
7676
  const subtitle = [location.category, area].filter(Boolean).join(" \xB7 ");
7639
- return /* @__PURE__ */ jsxs12(
7677
+ return /* @__PURE__ */ jsxs13(
7640
7678
  "button",
7641
7679
  {
7642
7680
  ref: setRef,
@@ -7649,13 +7687,13 @@ function ResultCard({
7649
7687
  onClick: onOpen,
7650
7688
  onKeyDown,
7651
7689
  children: [
7652
- /* @__PURE__ */ jsx19(MapLocationImage, { className: "aui-map__result-image", location }),
7653
- /* @__PURE__ */ jsxs12("span", { className: "aui-map__result-content", children: [
7654
- /* @__PURE__ */ jsx19("span", { className: "aui-map__result-title", children: location.title }),
7655
- subtitle ? /* @__PURE__ */ jsx19("span", { className: "aui-map__result-subtitle", children: subtitle }) : null,
7656
- /* @__PURE__ */ jsx19(LocationMetadata, { location, showCategory: false })
7690
+ /* @__PURE__ */ jsx20(MapLocationImage, { className: "aui-map__result-image", location }),
7691
+ /* @__PURE__ */ jsxs13("span", { className: "aui-map__result-content", children: [
7692
+ /* @__PURE__ */ jsx20("span", { className: "aui-map__result-title", children: location.title }),
7693
+ subtitle ? /* @__PURE__ */ jsx20("span", { className: "aui-map__result-subtitle", children: subtitle }) : null,
7694
+ /* @__PURE__ */ jsx20(LocationMetadata, { location, showCategory: false })
7657
7695
  ] }),
7658
- location.relevance !== void 0 ? /* @__PURE__ */ jsx19("span", { className: "aui-map__result-aside", children: /* @__PURE__ */ jsxs12("span", { className: "aui-map__relevance", "data-slot": "agent-ui-map-relevance", children: [
7696
+ location.relevance !== void 0 ? /* @__PURE__ */ jsx20("span", { className: "aui-map__result-aside", children: /* @__PURE__ */ jsxs13("span", { className: "aui-map__relevance", "data-slot": "agent-ui-map-relevance", children: [
7659
7697
  Math.round(location.relevance * 100),
7660
7698
  "% match"
7661
7699
  ] }) }) : null
@@ -7678,8 +7716,8 @@ function MapDetails({
7678
7716
  const hasImage = primaryImage && primaryImage.src !== failedSource;
7679
7717
  const animationDirection = shouldReduceMotion ? 0 : direction;
7680
7718
  const transition = shouldReduceMotion ? reducedMotionTransition : detailTransition;
7681
- return /* @__PURE__ */ jsx19(LazyMotion, { features: domAnimation, children: /* @__PURE__ */ jsxs12("div", { className: "aui-map-detail__content", children: [
7682
- /* @__PURE__ */ jsx19("div", { className: "aui-map-detail__hero", "data-has-image": Boolean(hasImage), children: /* @__PURE__ */ jsx19(AnimatePresence, { custom: animationDirection, initial: false, mode: "popLayout", children: /* @__PURE__ */ jsxs12(
7719
+ return /* @__PURE__ */ jsx20(LazyMotion, { features: domAnimation, children: /* @__PURE__ */ jsxs13("div", { className: "aui-map-detail__content", children: [
7720
+ /* @__PURE__ */ jsx20("div", { className: "aui-map-detail__hero", "data-has-image": Boolean(hasImage), children: /* @__PURE__ */ jsx20(AnimatePresence, { custom: animationDirection, initial: false, mode: "popLayout", children: /* @__PURE__ */ jsxs13(
7683
7721
  MapDetailPresenceSlide,
7684
7722
  {
7685
7723
  className: "aui-map-detail__hero-slide",
@@ -7687,7 +7725,7 @@ function MapDetails({
7687
7725
  transition,
7688
7726
  variants: detailHeroVariants,
7689
7727
  children: [
7690
- hasImage ? /* @__PURE__ */ jsx19(
7728
+ hasImage ? /* @__PURE__ */ jsx20(
7691
7729
  WidgetImage,
7692
7730
  {
7693
7731
  alt: primaryImage.alt,
@@ -7696,9 +7734,9 @@ function MapDetails({
7696
7734
  src: primaryImage.src,
7697
7735
  onError: () => setFailedSource(primaryImage.src)
7698
7736
  }
7699
- ) : /* @__PURE__ */ jsx19("span", { "aria-hidden": "true", className: "aui-map-detail__hero-fallback", children: getInitials(location.title) }),
7700
- location.images && location.images.length > 1 ? /* @__PURE__ */ jsxs12("span", { className: "aui-map-detail__image-count", children: [
7701
- /* @__PURE__ */ jsx19("span", { "aria-hidden": "true", children: "\u25A7" }),
7737
+ ) : /* @__PURE__ */ jsx20("span", { "aria-hidden": "true", className: "aui-map-detail__hero-fallback", children: getInitials(location.title) }),
7738
+ location.images && location.images.length > 1 ? /* @__PURE__ */ jsxs13("span", { className: "aui-map-detail__image-count", children: [
7739
+ /* @__PURE__ */ jsx20("span", { "aria-hidden": "true", children: "\u25A7" }),
7702
7740
  " ",
7703
7741
  location.images.length
7704
7742
  ] }) : null
@@ -7706,8 +7744,8 @@ function MapDetails({
7706
7744
  },
7707
7745
  location.id
7708
7746
  ) }) }),
7709
- /* @__PURE__ */ jsx19(Modal3.CloseTrigger, { "aria-label": "Close location details", className: "aui-map-detail__close" }),
7710
- /* @__PURE__ */ jsx19(AnimatePresence, { custom: animationDirection, initial: false, mode: "popLayout", children: /* @__PURE__ */ jsxs12(
7747
+ /* @__PURE__ */ jsx20(Modal3.CloseTrigger, { "aria-label": "Close location details", className: "aui-map-detail__close" }),
7748
+ /* @__PURE__ */ jsx20(AnimatePresence, { custom: animationDirection, initial: false, mode: "popLayout", children: /* @__PURE__ */ jsxs13(
7711
7749
  MapDetailPresenceSlide,
7712
7750
  {
7713
7751
  className: "aui-map-detail__body",
@@ -7715,14 +7753,14 @@ function MapDetails({
7715
7753
  transition,
7716
7754
  variants: detailBodyVariants,
7717
7755
  children: [
7718
- /* @__PURE__ */ jsxs12("div", { className: "aui-map-detail__heading", children: [
7719
- /* @__PURE__ */ jsx19("h2", { id: headingId, children: location.title }),
7720
- /* @__PURE__ */ jsx19(LocationMetadata, { location }),
7721
- location.address ? /* @__PURE__ */ jsx19("p", { className: "aui-map-detail__address", children: location.address }) : null
7756
+ /* @__PURE__ */ jsxs13("div", { className: "aui-map-detail__heading", children: [
7757
+ /* @__PURE__ */ jsx20("h2", { id: headingId, children: location.title }),
7758
+ /* @__PURE__ */ jsx20(LocationMetadata, { location }),
7759
+ location.address ? /* @__PURE__ */ jsx20("p", { className: "aui-map-detail__address", children: location.address }) : null
7722
7760
  ] }),
7723
- location.actions?.length ? /* @__PURE__ */ jsx19("div", { className: "aui-map-detail__actions", "data-slot": "agent-ui-map-detail-actions", children: location.actions.map((action2, index) => {
7761
+ location.actions?.length ? /* @__PURE__ */ jsx20("div", { className: "aui-map-detail__actions", "data-slot": "agent-ui-map-detail-actions", children: location.actions.map((action2, index) => {
7724
7762
  const external = action2.href.startsWith("http://") || action2.href.startsWith("https://");
7725
- return /* @__PURE__ */ jsx19(
7763
+ return /* @__PURE__ */ jsx20(
7726
7764
  "a",
7727
7765
  {
7728
7766
  className: "aui-button",
@@ -7737,40 +7775,40 @@ function MapDetails({
7737
7775
  action2.id
7738
7776
  );
7739
7777
  }) }) : null,
7740
- location.notes ? /* @__PURE__ */ jsxs12("section", { className: "aui-map-detail__notes", "data-slot": "agent-ui-map-detail-notes", children: [
7741
- /* @__PURE__ */ jsx19("span", { children: "Notes" }),
7742
- /* @__PURE__ */ jsx19("p", { children: renderInlineMarkdown(location.notes) })
7778
+ location.notes ? /* @__PURE__ */ jsxs13("section", { className: "aui-map-detail__notes", "data-slot": "agent-ui-map-detail-notes", children: [
7779
+ /* @__PURE__ */ jsx20("span", { children: "Notes" }),
7780
+ /* @__PURE__ */ jsx20("p", { children: renderInlineMarkdown(location.notes) })
7743
7781
  ] }) : null
7744
7782
  ]
7745
7783
  },
7746
7784
  location.id
7747
7785
  ) }),
7748
- /* @__PURE__ */ jsxs12("footer", { className: "aui-map-detail__footer", children: [
7749
- /* @__PURE__ */ jsx19("span", { className: "aui-map-detail__provider", children: tileProvider?.attribution ?? "OpenStreetMap \xB7 CARTO" }),
7750
- /* @__PURE__ */ jsxs12("div", { className: "aui-map-detail__navigation", children: [
7751
- /* @__PURE__ */ jsx19(
7786
+ /* @__PURE__ */ jsxs13("footer", { className: "aui-map-detail__footer", children: [
7787
+ /* @__PURE__ */ jsx20("span", { className: "aui-map-detail__provider", children: tileProvider?.attribution ?? "OpenStreetMap \xB7 CARTO" }),
7788
+ /* @__PURE__ */ jsxs13("div", { className: "aui-map-detail__navigation", children: [
7789
+ /* @__PURE__ */ jsx20(
7752
7790
  "button",
7753
7791
  {
7754
7792
  "aria-label": "Previous location",
7755
7793
  disabled: currentIndex === 0,
7756
7794
  type: "button",
7757
7795
  onClick: () => onNavigate(currentIndex - 1),
7758
- children: /* @__PURE__ */ jsx19(ChevronLeft, { "aria-hidden": "true" })
7796
+ children: /* @__PURE__ */ jsx20(ChevronLeft, { "aria-hidden": "true" })
7759
7797
  }
7760
7798
  ),
7761
- /* @__PURE__ */ jsxs12("span", { "aria-live": "polite", children: [
7799
+ /* @__PURE__ */ jsxs13("span", { "aria-live": "polite", children: [
7762
7800
  currentIndex + 1,
7763
7801
  " of ",
7764
7802
  component.locations.length
7765
7803
  ] }),
7766
- /* @__PURE__ */ jsx19(
7804
+ /* @__PURE__ */ jsx20(
7767
7805
  "button",
7768
7806
  {
7769
7807
  "aria-label": "Next location",
7770
7808
  disabled: currentIndex === component.locations.length - 1,
7771
7809
  type: "button",
7772
7810
  onClick: () => onNavigate(currentIndex + 1),
7773
- children: /* @__PURE__ */ jsx19(ChevronRight, { "aria-hidden": "true" })
7811
+ children: /* @__PURE__ */ jsx20(ChevronRight, { "aria-hidden": "true" })
7774
7812
  }
7775
7813
  )
7776
7814
  ] })
@@ -7907,18 +7945,18 @@ function MapView({ className, component, onSelect }) {
7907
7945
  },
7908
7946
  [activeIndex, component.locations, selectLocation]
7909
7947
  );
7910
- const title2 = /* @__PURE__ */ jsxs12("span", { className: "aui-map__card-title", children: [
7911
- /* @__PURE__ */ jsx19(MapPin2, { "aria-hidden": "true" }),
7912
- /* @__PURE__ */ jsx19("span", { children: component.title })
7948
+ const title2 = /* @__PURE__ */ jsxs13("span", { className: "aui-map__card-title", children: [
7949
+ /* @__PURE__ */ jsx20(MapPin2, { "aria-hidden": "true" }),
7950
+ /* @__PURE__ */ jsx20("span", { children: component.title })
7913
7951
  ] });
7914
- return /* @__PURE__ */ jsx19(
7952
+ return /* @__PURE__ */ jsx20(
7915
7953
  Card,
7916
7954
  {
7917
7955
  className: mergeClassNames("aui-map-card", className),
7918
7956
  description: component.description,
7919
7957
  title: title2,
7920
- children: /* @__PURE__ */ jsxs12("div", { ref: componentRef, className: "aui-map", "data-slot": "agent-ui-map", children: [
7921
- /* @__PURE__ */ jsx19(
7958
+ children: /* @__PURE__ */ jsxs13("div", { ref: componentRef, className: "aui-map", "data-slot": "agent-ui-map", children: [
7959
+ /* @__PURE__ */ jsx20(
7922
7960
  MapSurface,
7923
7961
  {
7924
7962
  component,
@@ -7926,7 +7964,7 @@ function MapView({ className, component, onSelect }) {
7926
7964
  onSelect: (location) => selectLocation(location, { scroll: true })
7927
7965
  }
7928
7966
  ),
7929
- /* @__PURE__ */ jsx19("div", { className: "aui-map__rail", "data-slot": "agent-ui-map-results", onScroll: handleRailScroll, children: /* @__PURE__ */ jsx19("ul", { "aria-label": `${component.title} results`, children: component.locations.map((location, index) => /* @__PURE__ */ jsx19("li", { children: /* @__PURE__ */ jsx19(
7967
+ /* @__PURE__ */ jsx20("div", { className: "aui-map__rail", "data-slot": "agent-ui-map-results", onScroll: handleRailScroll, children: /* @__PURE__ */ jsx20("ul", { "aria-label": `${component.title} results`, children: component.locations.map((location, index) => /* @__PURE__ */ jsx20("li", { children: /* @__PURE__ */ jsx20(
7930
7968
  ResultCard,
7931
7969
  {
7932
7970
  location,
@@ -7939,7 +7977,7 @@ function MapView({ className, component, onSelect }) {
7939
7977
  onOpen: () => selectLocation(location, { openDetails: true, scroll: false })
7940
7978
  }
7941
7979
  ) }, location.id)) }) }),
7942
- /* @__PURE__ */ jsxs12("span", { "aria-live": "polite", className: "aui-map__live-region", children: [
7980
+ /* @__PURE__ */ jsxs13("span", { "aria-live": "polite", className: "aui-map__live-region", children: [
7943
7981
  "Result ",
7944
7982
  activeIndex + 1,
7945
7983
  " of ",
@@ -7947,7 +7985,7 @@ function MapView({ className, component, onSelect }) {
7947
7985
  ", ",
7948
7986
  activeLocation.title
7949
7987
  ] }),
7950
- /* @__PURE__ */ jsx19(
7988
+ /* @__PURE__ */ jsx20(
7951
7989
  Modal3.Backdrop,
7952
7990
  {
7953
7991
  className: "aui-map-detail__backdrop",
@@ -7955,13 +7993,13 @@ function MapView({ className, component, onSelect }) {
7955
7993
  UNSTABLE_portalContainer: portalContainer,
7956
7994
  variant: "blur",
7957
7995
  onOpenChange: handleDetailsOpenChange,
7958
- children: /* @__PURE__ */ jsx19(Modal3.Container, { className: "aui-map-detail__container", placement: "center", size: "cover", children: /* @__PURE__ */ jsx19(
7996
+ children: /* @__PURE__ */ jsx20(Modal3.Container, { className: "aui-map-detail__container", placement: "center", size: "cover", children: /* @__PURE__ */ jsx20(
7959
7997
  Modal3.Dialog,
7960
7998
  {
7961
7999
  "aria-labelledby": activeDetailHeadingId,
7962
8000
  className: "aui-map-detail__dialog",
7963
8001
  "data-slot": "agent-ui-map-detail",
7964
- children: /* @__PURE__ */ jsx19(
8002
+ children: /* @__PURE__ */ jsx20(
7965
8003
  MapDetails,
7966
8004
  {
7967
8005
  component,
@@ -7987,7 +8025,7 @@ import { useCallback as useCallback4, useState as useState8 } from "react";
7987
8025
 
7988
8026
  // ../agent-ui/src/components/primitives/rating-stars.tsx
7989
8027
  import { StarFill as StarFill2 } from "@gravity-ui/icons";
7990
- import { jsx as jsx20, jsxs as jsxs13 } from "react/jsx-runtime";
8028
+ import { jsx as jsx21, jsxs as jsxs14 } from "react/jsx-runtime";
7991
8029
  var ratingFormatter2 = new Intl.NumberFormat(void 0, {
7992
8030
  maximumFractionDigits: 1
7993
8031
  });
@@ -7995,8 +8033,8 @@ var countFormatter = new Intl.NumberFormat(void 0, { maximumFractionDigits: 0 })
7995
8033
  function RatingStars({ className, count, value }) {
7996
8034
  const clamped = Math.min(Math.max(value, 0), 5);
7997
8035
  const label = `Rated ${ratingFormatter2.format(clamped)} out of 5${count === void 0 ? "" : `, ${countFormatter.format(count)} reviews`}`;
7998
- const stars = Array.from({ length: 5 }, (_, index) => /* @__PURE__ */ jsx20(StarFill2, { "aria-hidden": "true" }, index));
7999
- return /* @__PURE__ */ jsxs13(
8036
+ const stars = Array.from({ length: 5 }, (_, index) => /* @__PURE__ */ jsx21(StarFill2, { "aria-hidden": "true" }, index));
8037
+ return /* @__PURE__ */ jsxs14(
8000
8038
  "span",
8001
8039
  {
8002
8040
  "aria-label": label,
@@ -8004,12 +8042,12 @@ function RatingStars({ className, count, value }) {
8004
8042
  "data-slot": "agent-ui-rating",
8005
8043
  role: "img",
8006
8044
  children: [
8007
- /* @__PURE__ */ jsxs13("span", { "aria-hidden": "true", className: "aui-rating__stars", children: [
8008
- /* @__PURE__ */ jsx20("span", { className: "aui-rating__track", children: stars }),
8009
- /* @__PURE__ */ jsx20("span", { className: "aui-rating__fill", style: { width: `${clamped / 5 * 100}%` }, children: /* @__PURE__ */ jsx20("span", { className: "aui-rating__track", children: stars }) })
8045
+ /* @__PURE__ */ jsxs14("span", { "aria-hidden": "true", className: "aui-rating__stars", children: [
8046
+ /* @__PURE__ */ jsx21("span", { className: "aui-rating__track", children: stars }),
8047
+ /* @__PURE__ */ jsx21("span", { className: "aui-rating__fill", style: { width: `${clamped / 5 * 100}%` }, children: /* @__PURE__ */ jsx21("span", { className: "aui-rating__track", children: stars }) })
8010
8048
  ] }),
8011
- /* @__PURE__ */ jsx20("span", { "aria-hidden": "true", className: "aui-rating__value", children: ratingFormatter2.format(clamped) }),
8012
- count === void 0 ? null : /* @__PURE__ */ jsxs13("span", { "aria-hidden": "true", className: "aui-rating__count", children: [
8049
+ /* @__PURE__ */ jsx21("span", { "aria-hidden": "true", className: "aui-rating__value", children: ratingFormatter2.format(clamped) }),
8050
+ count === void 0 ? null : /* @__PURE__ */ jsxs14("span", { "aria-hidden": "true", className: "aui-rating__count", children: [
8013
8051
  "(",
8014
8052
  countFormatter.format(count),
8015
8053
  ")"
@@ -8020,7 +8058,7 @@ function RatingStars({ className, count, value }) {
8020
8058
  }
8021
8059
 
8022
8060
  // ../agent-ui/src/components/display-information/product-card/product-card.tsx
8023
- import { jsx as jsx21, jsxs as jsxs14 } from "react/jsx-runtime";
8061
+ import { jsx as jsx22, jsxs as jsxs15 } from "react/jsx-runtime";
8024
8062
  var priceFormatters = /* @__PURE__ */ new Map();
8025
8063
  function formatPrice(price) {
8026
8064
  const currency2 = price.currency ?? "USD";
@@ -8037,7 +8075,7 @@ function ProductActions({
8037
8075
  onAction,
8038
8076
  onSelect
8039
8077
  }) {
8040
- return /* @__PURE__ */ jsx21("span", { className: "aui-product__actions", "data-slot": "agent-ui-product-actions", children: actions.map((action2) => /* @__PURE__ */ jsx21(
8078
+ return /* @__PURE__ */ jsx22("span", { className: "aui-product__actions", "data-slot": "agent-ui-product-actions", children: actions.map((action2) => /* @__PURE__ */ jsx22(
8041
8079
  ActionButton,
8042
8080
  {
8043
8081
  variant: action2.variant,
@@ -8066,7 +8104,7 @@ function ProductTile({
8066
8104
  const mediaRef = useCallback4((node) => {
8067
8105
  setPortalContainer(resolveOverlayPortalContainer(node));
8068
8106
  }, []);
8069
- const badge = product.badge ? /* @__PURE__ */ jsx21(
8107
+ const badge = product.badge ? /* @__PURE__ */ jsx22(
8070
8108
  "span",
8071
8109
  {
8072
8110
  className: "aui-product__badge",
@@ -8075,12 +8113,12 @@ function ProductTile({
8075
8113
  children: product.badge.label
8076
8114
  }
8077
8115
  ) : null;
8078
- return /* @__PURE__ */ jsxs14("article", { className: "aui-product", "data-layout": layout, "data-slot": "agent-ui-product", children: [
8079
- imageFailed ? /* @__PURE__ */ jsxs14("span", { className: "aui-product__media", "data-slot": "agent-ui-product-media", children: [
8080
- /* @__PURE__ */ jsx21(FallbackImage, { alt: product.image.alt, className: "aui-product__image", src: void 0 }),
8116
+ return /* @__PURE__ */ jsxs15("article", { className: "aui-product", "data-layout": layout, "data-slot": "agent-ui-product", children: [
8117
+ imageFailed ? /* @__PURE__ */ jsxs15("span", { className: "aui-product__media", "data-slot": "agent-ui-product-media", children: [
8118
+ /* @__PURE__ */ jsx22(FallbackImage, { alt: product.image.alt, className: "aui-product__image", src: void 0 }),
8081
8119
  badge
8082
- ] }) : /* @__PURE__ */ jsxs14(Modal4, { children: [
8083
- /* @__PURE__ */ jsxs14(
8120
+ ] }) : /* @__PURE__ */ jsxs15(Modal4, { children: [
8121
+ /* @__PURE__ */ jsxs15(
8084
8122
  Modal4.Trigger,
8085
8123
  {
8086
8124
  ref: mediaRef,
@@ -8088,7 +8126,7 @@ function ProductTile({
8088
8126
  className: "aui-product__media",
8089
8127
  "data-slot": "agent-ui-product-media",
8090
8128
  children: [
8091
- /* @__PURE__ */ jsx21(
8129
+ /* @__PURE__ */ jsx22(
8092
8130
  FallbackImage,
8093
8131
  {
8094
8132
  alt: product.image.alt,
@@ -8102,21 +8140,21 @@ function ProductTile({
8102
8140
  ]
8103
8141
  }
8104
8142
  ),
8105
- /* @__PURE__ */ jsx21(
8143
+ /* @__PURE__ */ jsx22(
8106
8144
  Modal4.Backdrop,
8107
8145
  {
8108
8146
  className: "aui-image-modal__backdrop",
8109
8147
  UNSTABLE_portalContainer: portalContainer,
8110
8148
  variant: "blur",
8111
- children: /* @__PURE__ */ jsx21(Modal4.Container, { className: "aui-image-modal__container", placement: "center", children: /* @__PURE__ */ jsxs14(
8149
+ children: /* @__PURE__ */ jsx22(Modal4.Container, { className: "aui-image-modal__container", placement: "center", children: /* @__PURE__ */ jsxs15(
8112
8150
  Modal4.Dialog,
8113
8151
  {
8114
8152
  "aria-label": product.image.alt,
8115
8153
  className: "aui-image-modal__dialog",
8116
8154
  "data-slot": "agent-ui-image-modal",
8117
8155
  children: [
8118
- /* @__PURE__ */ jsx21(Modal4.CloseTrigger, { className: "aui-image-modal__close" }),
8119
- /* @__PURE__ */ jsx21(
8156
+ /* @__PURE__ */ jsx22(Modal4.CloseTrigger, { className: "aui-image-modal__close" }),
8157
+ /* @__PURE__ */ jsx22(
8120
8158
  "img",
8121
8159
  {
8122
8160
  alt: product.image.alt,
@@ -8130,12 +8168,12 @@ function ProductTile({
8130
8168
  }
8131
8169
  )
8132
8170
  ] }),
8133
- /* @__PURE__ */ jsxs14("span", { className: "aui-product__header", children: [
8134
- product.meta ? /* @__PURE__ */ jsx21("span", { className: "aui-product__meta", children: product.meta }) : null,
8135
- /* @__PURE__ */ jsx21("span", { className: "aui-product__price", "data-slot": "agent-ui-product-price", children: formatPrice(product.price) })
8171
+ /* @__PURE__ */ jsxs15("span", { className: "aui-product__header", children: [
8172
+ product.meta ? /* @__PURE__ */ jsx22("span", { className: "aui-product__meta", children: product.meta }) : null,
8173
+ /* @__PURE__ */ jsx22("span", { className: "aui-product__price", "data-slot": "agent-ui-product-price", children: formatPrice(product.price) })
8136
8174
  ] }),
8137
- /* @__PURE__ */ jsx21("span", { className: "aui-product__name", "data-slot": "agent-ui-product-name", children: product.name }),
8138
- product.rating ? /* @__PURE__ */ jsx21(
8175
+ /* @__PURE__ */ jsx22("span", { className: "aui-product__name", "data-slot": "agent-ui-product-name", children: product.name }),
8176
+ product.rating ? /* @__PURE__ */ jsx22(
8139
8177
  RatingStars,
8140
8178
  {
8141
8179
  className: "aui-product__rating",
@@ -8143,8 +8181,8 @@ function ProductTile({
8143
8181
  value: product.rating.value
8144
8182
  }
8145
8183
  ) : null,
8146
- product.description ? /* @__PURE__ */ jsx21("span", { className: "aui-product__description", children: product.description }) : null,
8147
- product.actions?.length ? /* @__PURE__ */ jsx21(
8184
+ product.description ? /* @__PURE__ */ jsx22("span", { className: "aui-product__description", children: product.description }) : null,
8185
+ product.actions?.length ? /* @__PURE__ */ jsx22(
8148
8186
  ProductActions,
8149
8187
  {
8150
8188
  actions: product.actions,
@@ -8157,7 +8195,7 @@ function ProductTile({
8157
8195
  }
8158
8196
  function ProductCardView({ className, component, onAction, onSelect }) {
8159
8197
  const layout = component.products.length === 1 ? "spotlight" : "grid";
8160
- const footer = component.actions?.length ? /* @__PURE__ */ jsx21("div", { className: "aui-product-card__footer", "data-slot": "agent-ui-product-card-footer", children: /* @__PURE__ */ jsx21(
8198
+ const footer = component.actions?.length ? /* @__PURE__ */ jsx22("div", { className: "aui-product-card__footer", "data-slot": "agent-ui-product-card-footer", children: /* @__PURE__ */ jsx22(
8161
8199
  ProductActions,
8162
8200
  {
8163
8201
  actions: component.actions,
@@ -8166,7 +8204,7 @@ function ProductCardView({ className, component, onAction, onSelect }) {
8166
8204
  onSelect
8167
8205
  }
8168
8206
  ) }) : null;
8169
- return /* @__PURE__ */ jsx21(
8207
+ return /* @__PURE__ */ jsx22(
8170
8208
  Card,
8171
8209
  {
8172
8210
  className: mergeClassNames("aui-product-card", `aui-product-card--${layout}`, className),
@@ -8174,7 +8212,7 @@ function ProductCardView({ className, component, onAction, onSelect }) {
8174
8212
  footer,
8175
8213
  title: component.title,
8176
8214
  variant: component.variant,
8177
- children: layout === "spotlight" ? /* @__PURE__ */ jsx21(
8215
+ children: layout === "spotlight" ? /* @__PURE__ */ jsx22(
8178
8216
  ProductTile,
8179
8217
  {
8180
8218
  component,
@@ -8183,7 +8221,7 @@ function ProductCardView({ className, component, onAction, onSelect }) {
8183
8221
  onAction,
8184
8222
  onSelect
8185
8223
  }
8186
- ) : /* @__PURE__ */ jsx21("div", { className: "aui-product-card__grid", "data-slot": "agent-ui-product-card-grid", children: component.products.map((product) => /* @__PURE__ */ jsx21(
8224
+ ) : /* @__PURE__ */ jsx22("div", { className: "aui-product-card__grid", "data-slot": "agent-ui-product-card-grid", children: component.products.map((product) => /* @__PURE__ */ jsx22(
8187
8225
  ProductTile,
8188
8226
  {
8189
8227
  component,
@@ -8201,7 +8239,7 @@ function ProductCardView({ className, component, onAction, onSelect }) {
8201
8239
  // ../agent-ui/src/components/display-information/record-card/record-card.tsx
8202
8240
  import { Modal as Modal5 } from "@heroui/react";
8203
8241
  import { useCallback as useCallback5, useState as useState9 } from "react";
8204
- import { Fragment as Fragment5, jsx as jsx22, jsxs as jsxs15 } from "react/jsx-runtime";
8242
+ import { Fragment as Fragment5, jsx as jsx23, jsxs as jsxs16 } from "react/jsx-runtime";
8205
8243
  function RecordCardView({ className, component, onAction, onSelect }) {
8206
8244
  const layout = component.layout ?? "details";
8207
8245
  const [portalContainer, setPortalContainer] = useState9();
@@ -8209,7 +8247,7 @@ function RecordCardView({ className, component, onAction, onSelect }) {
8209
8247
  const mediaRef = useCallback5((node) => {
8210
8248
  setPortalContainer(resolveOverlayPortalContainer(node));
8211
8249
  }, []);
8212
- const status = component.status ? /* @__PURE__ */ jsx22(
8250
+ const status = component.status ? /* @__PURE__ */ jsx23(
8213
8251
  "span",
8214
8252
  {
8215
8253
  className: "aui-record__status",
@@ -8218,7 +8256,7 @@ function RecordCardView({ className, component, onAction, onSelect }) {
8218
8256
  children: component.status.label
8219
8257
  }
8220
8258
  ) : null;
8221
- const footer = component.actions?.length ? /* @__PURE__ */ jsx22("div", { className: "aui-record__actions", "data-slot": "agent-ui-record-actions", children: component.actions.map((action2) => /* @__PURE__ */ jsx22(
8259
+ const footer = component.actions?.length ? /* @__PURE__ */ jsx23("div", { className: "aui-record__actions", "data-slot": "agent-ui-record-actions", children: component.actions.map((action2) => /* @__PURE__ */ jsx23(
8222
8260
  ActionButton,
8223
8261
  {
8224
8262
  variant: action2.variant,
@@ -8234,7 +8272,7 @@ function RecordCardView({ className, component, onAction, onSelect }) {
8234
8272
  },
8235
8273
  action2.id
8236
8274
  )) }) : null;
8237
- return /* @__PURE__ */ jsx22(
8275
+ return /* @__PURE__ */ jsx23(
8238
8276
  Card,
8239
8277
  {
8240
8278
  actions: layout === "compact" ? status : void 0,
@@ -8243,8 +8281,8 @@ function RecordCardView({ className, component, onAction, onSelect }) {
8243
8281
  footer,
8244
8282
  title: component.title,
8245
8283
  variant: component.variant,
8246
- children: /* @__PURE__ */ jsxs15(WidgetCol, { className: "aui-record", gap: layout === "compact" ? 3 : 4, children: [
8247
- layout === "media" && component.image && mediaFailed ? /* @__PURE__ */ jsx22(
8284
+ children: /* @__PURE__ */ jsxs16(WidgetCol, { className: "aui-record", gap: layout === "compact" ? 3 : 4, children: [
8285
+ layout === "media" && component.image && mediaFailed ? /* @__PURE__ */ jsx23(
8248
8286
  WidgetImage,
8249
8287
  {
8250
8288
  alt: component.image.alt,
@@ -8254,15 +8292,15 @@ function RecordCardView({ className, component, onAction, onSelect }) {
8254
8292
  width: "100%"
8255
8293
  }
8256
8294
  ) : null,
8257
- layout === "media" && component.image && !mediaFailed ? /* @__PURE__ */ jsxs15(Modal5, { children: [
8258
- /* @__PURE__ */ jsx22(
8295
+ layout === "media" && component.image && !mediaFailed ? /* @__PURE__ */ jsxs16(Modal5, { children: [
8296
+ /* @__PURE__ */ jsx23(
8259
8297
  Modal5.Trigger,
8260
8298
  {
8261
8299
  ref: mediaRef,
8262
8300
  "aria-label": `Open ${component.image.alt}`,
8263
8301
  className: "aui-record__media-trigger",
8264
8302
  "data-slot": "agent-ui-record-media-trigger",
8265
- children: /* @__PURE__ */ jsx22(
8303
+ children: /* @__PURE__ */ jsx23(
8266
8304
  WidgetImage,
8267
8305
  {
8268
8306
  alt: component.image.alt,
@@ -8276,21 +8314,21 @@ function RecordCardView({ className, component, onAction, onSelect }) {
8276
8314
  )
8277
8315
  }
8278
8316
  ),
8279
- /* @__PURE__ */ jsx22(
8317
+ /* @__PURE__ */ jsx23(
8280
8318
  Modal5.Backdrop,
8281
8319
  {
8282
8320
  className: "aui-image-modal__backdrop",
8283
8321
  UNSTABLE_portalContainer: portalContainer,
8284
8322
  variant: "blur",
8285
- children: /* @__PURE__ */ jsx22(Modal5.Container, { className: "aui-image-modal__container", placement: "center", children: /* @__PURE__ */ jsxs15(
8323
+ children: /* @__PURE__ */ jsx23(Modal5.Container, { className: "aui-image-modal__container", placement: "center", children: /* @__PURE__ */ jsxs16(
8286
8324
  Modal5.Dialog,
8287
8325
  {
8288
8326
  "aria-label": component.image.alt,
8289
8327
  className: "aui-image-modal__dialog",
8290
8328
  "data-slot": "agent-ui-image-modal",
8291
8329
  children: [
8292
- /* @__PURE__ */ jsx22(Modal5.CloseTrigger, { className: "aui-image-modal__close" }),
8293
- /* @__PURE__ */ jsx22(
8330
+ /* @__PURE__ */ jsx23(Modal5.CloseTrigger, { className: "aui-image-modal__close" }),
8331
+ /* @__PURE__ */ jsx23(
8294
8332
  "img",
8295
8333
  {
8296
8334
  alt: component.image.alt,
@@ -8304,8 +8342,8 @@ function RecordCardView({ className, component, onAction, onSelect }) {
8304
8342
  }
8305
8343
  )
8306
8344
  ] }) : null,
8307
- component.image && layout !== "media" || component.eyebrow || status && layout !== "compact" ? /* @__PURE__ */ jsxs15(WidgetRow, { align: "center", gap: 3, children: [
8308
- component.image && layout !== "media" ? /* @__PURE__ */ jsx22(
8345
+ component.image && layout !== "media" || component.eyebrow || status && layout !== "compact" ? /* @__PURE__ */ jsxs16(WidgetRow, { align: "center", gap: 3, children: [
8346
+ component.image && layout !== "media" ? /* @__PURE__ */ jsx23(
8309
8347
  WidgetImage,
8310
8348
  {
8311
8349
  frame: true,
@@ -8315,18 +8353,18 @@ function RecordCardView({ className, component, onAction, onSelect }) {
8315
8353
  src: component.image.src
8316
8354
  }
8317
8355
  ) : null,
8318
- component.eyebrow ? /* @__PURE__ */ jsx22(WidgetCaption, { className: "aui-record__eyebrow", value: component.eyebrow }) : null,
8319
- status && layout !== "compact" ? /* @__PURE__ */ jsxs15(Fragment5, { children: [
8320
- /* @__PURE__ */ jsx22(WidgetSpacer, {}),
8356
+ component.eyebrow ? /* @__PURE__ */ jsx23(WidgetCaption, { className: "aui-record__eyebrow", value: component.eyebrow }) : null,
8357
+ status && layout !== "compact" ? /* @__PURE__ */ jsxs16(Fragment5, { children: [
8358
+ /* @__PURE__ */ jsx23(WidgetSpacer, {}),
8321
8359
  status
8322
8360
  ] }) : null
8323
8361
  ] }) : null,
8324
- component.fields.length > 0 ? /* @__PURE__ */ jsx22("dl", { className: "aui-record__fields", "data-slot": "agent-ui-record-fields", children: component.fields.map((field) => /* @__PURE__ */ jsxs15("div", { "data-slot": "agent-ui-record-field", children: [
8325
- /* @__PURE__ */ jsxs15("dt", { children: [
8326
- field.icon ? /* @__PURE__ */ jsx22(AgentIcon, { "data-slot": "agent-ui-record-field-icon", name: field.icon }) : null,
8362
+ component.fields.length > 0 ? /* @__PURE__ */ jsx23("dl", { className: "aui-record__fields", "data-slot": "agent-ui-record-fields", children: component.fields.map((field) => /* @__PURE__ */ jsxs16("div", { "data-slot": "agent-ui-record-field", children: [
8363
+ /* @__PURE__ */ jsxs16("dt", { children: [
8364
+ field.icon ? /* @__PURE__ */ jsx23(AgentIcon, { "data-slot": "agent-ui-record-field-icon", name: field.icon }) : null,
8327
8365
  field.label
8328
8366
  ] }),
8329
- /* @__PURE__ */ jsx22("dd", { "data-tone": field.tone ?? "default", children: field.value })
8367
+ /* @__PURE__ */ jsx23("dd", { "data-tone": field.tone ?? "default", children: field.value })
8330
8368
  ] }, field.label)) }) : null
8331
8369
  ] })
8332
8370
  }
@@ -8363,14 +8401,14 @@ function formatMoney(amount2, currency2) {
8363
8401
  }
8364
8402
 
8365
8403
  // ../agent-ui/src/components/display-information/response-compositions/shared.tsx
8366
- import { jsx as jsx23 } from "react/jsx-runtime";
8404
+ import { jsx as jsx24 } from "react/jsx-runtime";
8367
8405
  function CompositionAction({
8368
8406
  action: action2,
8369
8407
  component,
8370
8408
  onAction,
8371
8409
  onSelect
8372
8410
  }) {
8373
- return /* @__PURE__ */ jsx23(
8411
+ return /* @__PURE__ */ jsx24(
8374
8412
  Widget.Button,
8375
8413
  {
8376
8414
  variant: action2.variant,
@@ -8387,7 +8425,7 @@ function CompositionAction({
8387
8425
  );
8388
8426
  }
8389
8427
  function InitialAvatar({ name, src }) {
8390
- return src ? /* @__PURE__ */ jsx23(Widget.Image, { frame: true, alt: name, radius: "full", size: 44, src }) : /* @__PURE__ */ jsx23(
8428
+ return src ? /* @__PURE__ */ jsx24(Widget.Image, { frame: true, alt: name, radius: "full", size: 44, src }) : /* @__PURE__ */ jsx24(
8391
8429
  Widget.Box,
8392
8430
  {
8393
8431
  align: "center",
@@ -8396,18 +8434,18 @@ function InitialAvatar({ name, src }) {
8396
8434
  justify: "center",
8397
8435
  radius: "full",
8398
8436
  width: 44,
8399
- children: /* @__PURE__ */ jsx23(Widget.Text, { value: name.slice(0, 1).toUpperCase(), weight: "semibold" })
8437
+ children: /* @__PURE__ */ jsx24(Widget.Text, { value: name.slice(0, 1).toUpperCase(), weight: "semibold" })
8400
8438
  }
8401
8439
  );
8402
8440
  }
8403
8441
 
8404
8442
  // ../agent-ui/src/components/display-information/response-compositions/commerce-views.tsx
8405
- import { jsx as jsx24, jsxs as jsxs16 } from "react/jsx-runtime";
8443
+ import { jsx as jsx25, jsxs as jsxs17 } from "react/jsx-runtime";
8406
8444
  function SummaryRow({ emphasis, label, value }) {
8407
- return /* @__PURE__ */ jsxs16(Widget.Row, { children: [
8408
- /* @__PURE__ */ jsx24(Widget.Text, { value: label, weight: emphasis ? "semibold" : "normal" }),
8409
- /* @__PURE__ */ jsx24(Widget.Spacer, {}),
8410
- /* @__PURE__ */ jsx24(Widget.Text, { value, weight: emphasis ? "semibold" : "normal" })
8445
+ return /* @__PURE__ */ jsxs17(Widget.Row, { children: [
8446
+ /* @__PURE__ */ jsx25(Widget.Text, { value: label, weight: emphasis ? "semibold" : "normal" }),
8447
+ /* @__PURE__ */ jsx25(Widget.Spacer, {}),
8448
+ /* @__PURE__ */ jsx25(Widget.Text, { value, weight: emphasis ? "semibold" : "normal" })
8411
8449
  ] });
8412
8450
  }
8413
8451
  function PurchaseItemsView({
@@ -8416,24 +8454,24 @@ function PurchaseItemsView({
8416
8454
  onAction,
8417
8455
  onSelect
8418
8456
  }) {
8419
- return /* @__PURE__ */ jsxs16(
8457
+ return /* @__PURE__ */ jsxs17(
8420
8458
  Widget.Card,
8421
8459
  {
8422
8460
  className: mergeClassNames("aui-composition-card aui-purchase-items", className),
8423
8461
  "data-component-kind": component.kind,
8424
8462
  size: "sm",
8425
8463
  children: [
8426
- /* @__PURE__ */ jsx24(Widget.Col, { gap: 3, children: component.items.map((item) => /* @__PURE__ */ jsxs16(Widget.Row, { align: "center", gap: 3, children: [
8427
- item.image ? /* @__PURE__ */ jsx24(Widget.Image, { alt: item.image.alt, radius: "xl", size: 48, src: item.image.src }) : null,
8428
- /* @__PURE__ */ jsxs16(Widget.Col, { flex: 1, gap: 0, children: [
8429
- /* @__PURE__ */ jsx24(Widget.Text, { value: item.name, weight: "semibold" }),
8430
- item.description ? /* @__PURE__ */ jsx24(Widget.Caption, { value: item.description }) : null
8464
+ /* @__PURE__ */ jsx25(Widget.Col, { gap: 3, children: component.items.map((item) => /* @__PURE__ */ jsxs17(Widget.Row, { align: "center", gap: 3, children: [
8465
+ item.image ? /* @__PURE__ */ jsx25(Widget.Image, { alt: item.image.alt, radius: "xl", size: 48, src: item.image.src }) : null,
8466
+ /* @__PURE__ */ jsxs17(Widget.Col, { flex: 1, gap: 0, children: [
8467
+ /* @__PURE__ */ jsx25(Widget.Text, { value: item.name, weight: "semibold" }),
8468
+ item.description ? /* @__PURE__ */ jsx25(Widget.Caption, { value: item.description }) : null
8431
8469
  ] }),
8432
- item.quantity && item.quantity > 1 ? /* @__PURE__ */ jsx24(Widget.Caption, { value: `\xD7${item.quantity}` }) : null,
8433
- item.price !== void 0 ? /* @__PURE__ */ jsx24(Widget.Text, { value: formatMoney(item.price, component.currency) }) : null
8470
+ item.quantity && item.quantity > 1 ? /* @__PURE__ */ jsx25(Widget.Caption, { value: `\xD7${item.quantity}` }) : null,
8471
+ item.price !== void 0 ? /* @__PURE__ */ jsx25(Widget.Text, { value: formatMoney(item.price, component.currency) }) : null
8434
8472
  ] }, item.id)) }),
8435
- /* @__PURE__ */ jsx24(Widget.Divider, { flush: true }),
8436
- /* @__PURE__ */ jsx24(Widget.Col, { gap: 1, children: component.totals.map((total) => /* @__PURE__ */ jsx24(
8473
+ /* @__PURE__ */ jsx25(Widget.Divider, { flush: true }),
8474
+ /* @__PURE__ */ jsx25(Widget.Col, { gap: 1, children: component.totals.map((total) => /* @__PURE__ */ jsx25(
8437
8475
  SummaryRow,
8438
8476
  {
8439
8477
  emphasis: total.emphasis,
@@ -8442,7 +8480,7 @@ function PurchaseItemsView({
8442
8480
  },
8443
8481
  total.label
8444
8482
  )) }),
8445
- component.actions?.length ? /* @__PURE__ */ jsx24(Widget.Actions, { children: component.actions.map((action2) => /* @__PURE__ */ jsx24(
8483
+ component.actions?.length ? /* @__PURE__ */ jsx25(Widget.Actions, { children: component.actions.map((action2) => /* @__PURE__ */ jsx25(
8446
8484
  CompositionAction,
8447
8485
  {
8448
8486
  action: action2,
@@ -8462,20 +8500,20 @@ function PurchaseCompleteView({
8462
8500
  onAction,
8463
8501
  onSelect
8464
8502
  }) {
8465
- return /* @__PURE__ */ jsxs16(
8503
+ return /* @__PURE__ */ jsxs17(
8466
8504
  Widget.Card,
8467
8505
  {
8468
8506
  className: mergeClassNames("aui-composition-card aui-purchase-complete", className),
8469
8507
  "data-component-kind": component.kind,
8470
8508
  size: "sm",
8471
8509
  children: [
8472
- /* @__PURE__ */ jsxs16(Widget.Row, { align: "center", gap: 2, children: [
8473
- /* @__PURE__ */ jsx24("span", { "aria-hidden": "true", className: "aui-purchase-complete__check", children: "\u2713" }),
8474
- /* @__PURE__ */ jsx24(Widget.Text, { color: "success", value: component.title, weight: "medium" })
8510
+ /* @__PURE__ */ jsxs17(Widget.Row, { align: "center", gap: 2, children: [
8511
+ /* @__PURE__ */ jsx25("span", { "aria-hidden": "true", className: "aui-purchase-complete__check", children: "\u2713" }),
8512
+ /* @__PURE__ */ jsx25(Widget.Text, { color: "success", value: component.title, weight: "medium" })
8475
8513
  ] }),
8476
- /* @__PURE__ */ jsx24(Widget.Divider, { flush: true }),
8477
- /* @__PURE__ */ jsxs16(Widget.Row, { gap: 3, children: [
8478
- component.product.image ? /* @__PURE__ */ jsx24(
8514
+ /* @__PURE__ */ jsx25(Widget.Divider, { flush: true }),
8515
+ /* @__PURE__ */ jsxs17(Widget.Row, { gap: 3, children: [
8516
+ component.product.image ? /* @__PURE__ */ jsx25(
8479
8517
  Widget.Image,
8480
8518
  {
8481
8519
  alt: component.product.image.alt,
@@ -8485,14 +8523,14 @@ function PurchaseCompleteView({
8485
8523
  src: component.product.image.src
8486
8524
  }
8487
8525
  ) : null,
8488
- /* @__PURE__ */ jsxs16(Widget.Col, { gap: 1, children: [
8489
- /* @__PURE__ */ jsx24(Widget.Title, { value: component.product.name }),
8490
- component.product.description ? /* @__PURE__ */ jsx24(Widget.Caption, { value: component.product.description }) : null
8526
+ /* @__PURE__ */ jsxs17(Widget.Col, { gap: 1, children: [
8527
+ /* @__PURE__ */ jsx25(Widget.Title, { value: component.product.name }),
8528
+ component.product.description ? /* @__PURE__ */ jsx25(Widget.Caption, { value: component.product.description }) : null
8491
8529
  ] })
8492
8530
  ] }),
8493
- /* @__PURE__ */ jsxs16(Widget.Col, { gap: 2, children: [
8494
- component.details.map((detail) => /* @__PURE__ */ jsx24(SummaryRow, { label: detail.label, value: detail.value }, detail.label)),
8495
- component.paid ? /* @__PURE__ */ jsx24(
8531
+ /* @__PURE__ */ jsxs17(Widget.Col, { gap: 2, children: [
8532
+ component.details.map((detail) => /* @__PURE__ */ jsx25(SummaryRow, { label: detail.label, value: detail.value }, detail.label)),
8533
+ component.paid ? /* @__PURE__ */ jsx25(
8496
8534
  SummaryRow,
8497
8535
  {
8498
8536
  emphasis: true,
@@ -8501,7 +8539,7 @@ function PurchaseCompleteView({
8501
8539
  }
8502
8540
  ) : null
8503
8541
  ] }),
8504
- component.action ? /* @__PURE__ */ jsx24(
8542
+ component.action ? /* @__PURE__ */ jsx25(
8505
8543
  CompositionAction,
8506
8544
  {
8507
8545
  action: component.action,
@@ -8516,26 +8554,26 @@ function PurchaseCompleteView({
8516
8554
  }
8517
8555
 
8518
8556
  // ../agent-ui/src/components/display-information/response-compositions/event-views.tsx
8519
- import { jsx as jsx25, jsxs as jsxs17 } from "react/jsx-runtime";
8557
+ import { jsx as jsx26, jsxs as jsxs18 } from "react/jsx-runtime";
8520
8558
  function CreateEventView({
8521
8559
  className,
8522
8560
  component,
8523
8561
  onAction,
8524
8562
  onSelect
8525
8563
  }) {
8526
- return /* @__PURE__ */ jsxs17(
8564
+ return /* @__PURE__ */ jsxs18(
8527
8565
  Widget.Card,
8528
8566
  {
8529
8567
  className: mergeClassNames("aui-composition-card aui-create-event", className),
8530
8568
  "data-component-kind": component.kind,
8531
8569
  size: "md",
8532
8570
  children: [
8533
- /* @__PURE__ */ jsxs17(Widget.Row, { align: "start", gap: 4, children: [
8534
- /* @__PURE__ */ jsxs17(Widget.Col, { align: "center", gap: 0, width: 64, children: [
8535
- /* @__PURE__ */ jsx25(Widget.Caption, { value: component.date.weekday }),
8536
- /* @__PURE__ */ jsx25(Widget.Title, { size: "3xl", value: component.date.day, weight: "normal" })
8571
+ /* @__PURE__ */ jsxs18(Widget.Row, { align: "start", gap: 4, children: [
8572
+ /* @__PURE__ */ jsxs18(Widget.Col, { align: "center", gap: 0, width: 64, children: [
8573
+ /* @__PURE__ */ jsx26(Widget.Caption, { value: component.date.weekday }),
8574
+ /* @__PURE__ */ jsx26(Widget.Title, { size: "3xl", value: component.date.day, weight: "normal" })
8537
8575
  ] }),
8538
- /* @__PURE__ */ jsx25(Widget.Col, { flex: 1, gap: 2, children: component.events.map((event) => /* @__PURE__ */ jsxs17(
8576
+ /* @__PURE__ */ jsx26(Widget.Col, { flex: 1, gap: 2, children: component.events.map((event) => /* @__PURE__ */ jsxs18(
8539
8577
  Widget.Row,
8540
8578
  {
8541
8579
  align: "center",
@@ -8546,17 +8584,17 @@ function CreateEventView({
8546
8584
  padding: { x: 3, y: 2.5 },
8547
8585
  radius: "xl",
8548
8586
  children: [
8549
- /* @__PURE__ */ jsx25("span", { className: "aui-create-event__marker" }),
8550
- /* @__PURE__ */ jsxs17(Widget.Col, { gap: 0, children: [
8551
- /* @__PURE__ */ jsx25(Widget.Text, { value: event.title, weight: "semibold" }),
8552
- /* @__PURE__ */ jsx25(Widget.Caption, { value: event.time })
8587
+ /* @__PURE__ */ jsx26("span", { className: "aui-create-event__marker" }),
8588
+ /* @__PURE__ */ jsxs18(Widget.Col, { gap: 0, children: [
8589
+ /* @__PURE__ */ jsx26(Widget.Text, { value: event.title, weight: "semibold" }),
8590
+ /* @__PURE__ */ jsx26(Widget.Caption, { value: event.time })
8553
8591
  ] })
8554
8592
  ]
8555
8593
  },
8556
8594
  event.id
8557
8595
  )) })
8558
8596
  ] }),
8559
- component.actions?.length ? /* @__PURE__ */ jsx25(Widget.Actions, { children: component.actions.map((action2) => /* @__PURE__ */ jsx25(
8597
+ component.actions?.length ? /* @__PURE__ */ jsx26(Widget.Actions, { children: component.actions.map((action2) => /* @__PURE__ */ jsx26(
8560
8598
  CompositionAction,
8561
8599
  {
8562
8600
  action: action2,
@@ -8571,21 +8609,21 @@ function CreateEventView({
8571
8609
  );
8572
8610
  }
8573
8611
  function ViewEventView({ className, component }) {
8574
- return /* @__PURE__ */ jsx25(
8612
+ return /* @__PURE__ */ jsx26(
8575
8613
  Widget.Card,
8576
8614
  {
8577
8615
  className: mergeClassNames("aui-composition-card aui-view-event", className),
8578
8616
  "data-component-kind": component.kind,
8579
8617
  size: "sm",
8580
- children: /* @__PURE__ */ jsxs17(Widget.Row, { align: "stretch", gap: 3, children: [
8581
- /* @__PURE__ */ jsx25("span", { className: "aui-view-event__marker", "data-tone": component.tone ?? "accent" }),
8582
- /* @__PURE__ */ jsxs17(Widget.Col, { flex: 1, gap: 1, children: [
8583
- /* @__PURE__ */ jsxs17(Widget.Row, { children: [
8584
- /* @__PURE__ */ jsx25(Widget.Caption, { value: component.date }),
8585
- /* @__PURE__ */ jsx25(Widget.Spacer, {}),
8586
- /* @__PURE__ */ jsx25(Widget.Text, { color: "accent", size: "sm", value: component.time })
8618
+ children: /* @__PURE__ */ jsxs18(Widget.Row, { align: "stretch", gap: 3, children: [
8619
+ /* @__PURE__ */ jsx26("span", { className: "aui-view-event__marker", "data-tone": component.tone ?? "accent" }),
8620
+ /* @__PURE__ */ jsxs18(Widget.Col, { flex: 1, gap: 1, children: [
8621
+ /* @__PURE__ */ jsxs18(Widget.Row, { children: [
8622
+ /* @__PURE__ */ jsx26(Widget.Caption, { value: component.date }),
8623
+ /* @__PURE__ */ jsx26(Widget.Spacer, {}),
8624
+ /* @__PURE__ */ jsx26(Widget.Text, { color: "accent", size: "sm", value: component.time })
8587
8625
  ] }),
8588
- /* @__PURE__ */ jsx25(Widget.Title, { value: component.title })
8626
+ /* @__PURE__ */ jsx26(Widget.Title, { value: component.title })
8589
8627
  ] })
8590
8628
  ] })
8591
8629
  }
@@ -8597,27 +8635,27 @@ function EventSessionView({
8597
8635
  onAction,
8598
8636
  onSelect
8599
8637
  }) {
8600
- return /* @__PURE__ */ jsxs17(
8638
+ return /* @__PURE__ */ jsxs18(
8601
8639
  Widget.Card,
8602
8640
  {
8603
8641
  className: mergeClassNames("aui-composition-card aui-event-session", className),
8604
8642
  "data-component-kind": component.kind,
8605
8643
  size: "md",
8606
8644
  children: [
8607
- /* @__PURE__ */ jsxs17(Widget.Col, { gap: 1, children: [
8608
- component.eyebrow ? /* @__PURE__ */ jsx25(Widget.Caption, { color: "warning", value: component.eyebrow }) : null,
8609
- /* @__PURE__ */ jsx25(Widget.Title, { value: component.title }),
8610
- component.description ? /* @__PURE__ */ jsx25(Widget.Caption, { value: component.description }) : null
8645
+ /* @__PURE__ */ jsxs18(Widget.Col, { gap: 1, children: [
8646
+ component.eyebrow ? /* @__PURE__ */ jsx26(Widget.Caption, { color: "warning", value: component.eyebrow }) : null,
8647
+ /* @__PURE__ */ jsx26(Widget.Title, { value: component.title }),
8648
+ component.description ? /* @__PURE__ */ jsx26(Widget.Caption, { value: component.description }) : null
8611
8649
  ] }),
8612
- /* @__PURE__ */ jsx25(Widget.Divider, { flush: true }),
8613
- /* @__PURE__ */ jsxs17(Widget.Row, { align: "center", gap: 3, children: [
8614
- /* @__PURE__ */ jsx25("span", { "aria-hidden": "true", className: "aui-event-session__pin", children: "\u25CF" }),
8615
- /* @__PURE__ */ jsxs17(Widget.Col, { gap: 0, children: [
8616
- /* @__PURE__ */ jsx25(Widget.Text, { value: component.location, weight: "semibold" }),
8617
- /* @__PURE__ */ jsx25(Widget.Caption, { value: component.time })
8650
+ /* @__PURE__ */ jsx26(Widget.Divider, { flush: true }),
8651
+ /* @__PURE__ */ jsxs18(Widget.Row, { align: "center", gap: 3, children: [
8652
+ /* @__PURE__ */ jsx26("span", { "aria-hidden": "true", className: "aui-event-session__pin", children: "\u25CF" }),
8653
+ /* @__PURE__ */ jsxs18(Widget.Col, { gap: 0, children: [
8654
+ /* @__PURE__ */ jsx26(Widget.Text, { value: component.location, weight: "semibold" }),
8655
+ /* @__PURE__ */ jsx26(Widget.Caption, { value: component.time })
8618
8656
  ] }),
8619
- /* @__PURE__ */ jsx25(Widget.Spacer, {}),
8620
- component.action ? /* @__PURE__ */ jsx25(
8657
+ /* @__PURE__ */ jsx26(Widget.Spacer, {}),
8658
+ component.action ? /* @__PURE__ */ jsx26(
8621
8659
  CompositionAction,
8622
8660
  {
8623
8661
  action: component.action,
@@ -8627,11 +8665,11 @@ function EventSessionView({
8627
8665
  }
8628
8666
  ) : null
8629
8667
  ] }),
8630
- component.speakers.map((speaker) => /* @__PURE__ */ jsxs17(Widget.Row, { align: "center", gap: 3, children: [
8631
- /* @__PURE__ */ jsx25(InitialAvatar, { name: speaker.name, src: speaker.image?.src }),
8632
- /* @__PURE__ */ jsxs17(Widget.Col, { gap: 0, children: [
8633
- /* @__PURE__ */ jsx25(Widget.Text, { value: speaker.name, weight: "semibold" }),
8634
- /* @__PURE__ */ jsx25(Widget.Caption, { value: speaker.role })
8668
+ component.speakers.map((speaker) => /* @__PURE__ */ jsxs18(Widget.Row, { align: "center", gap: 3, children: [
8669
+ /* @__PURE__ */ jsx26(InitialAvatar, { name: speaker.name, src: speaker.image?.src }),
8670
+ /* @__PURE__ */ jsxs18(Widget.Col, { gap: 0, children: [
8671
+ /* @__PURE__ */ jsx26(Widget.Text, { value: speaker.name, weight: "semibold" }),
8672
+ /* @__PURE__ */ jsx26(Widget.Caption, { value: speaker.role })
8635
8673
  ] })
8636
8674
  ] }, `${speaker.name}-${speaker.role}`))
8637
8675
  ]
@@ -8640,21 +8678,21 @@ function EventSessionView({
8640
8678
  }
8641
8679
 
8642
8680
  // ../agent-ui/src/components/display-information/response-compositions/media-views.tsx
8643
- import { jsx as jsx26, jsxs as jsxs18 } from "react/jsx-runtime";
8681
+ import { jsx as jsx27, jsxs as jsxs19 } from "react/jsx-runtime";
8644
8682
  function PlaylistView({
8645
8683
  className,
8646
8684
  component,
8647
8685
  onAction,
8648
8686
  onSelect
8649
8687
  }) {
8650
- return /* @__PURE__ */ jsxs18(
8688
+ return /* @__PURE__ */ jsxs19(
8651
8689
  Widget.Card,
8652
8690
  {
8653
8691
  className: mergeClassNames("aui-composition-card aui-playlist", className),
8654
8692
  "data-component-kind": component.kind,
8655
8693
  size: "sm",
8656
8694
  children: [
8657
- component.cover ? /* @__PURE__ */ jsx26(
8695
+ component.cover ? /* @__PURE__ */ jsx27(
8658
8696
  Widget.Image,
8659
8697
  {
8660
8698
  alt: component.cover.alt,
@@ -8664,14 +8702,14 @@ function PlaylistView({
8664
8702
  width: "100%"
8665
8703
  }
8666
8704
  ) : null,
8667
- /* @__PURE__ */ jsx26(Widget.Col, { gap: 3, children: component.tracks.map((track, index) => /* @__PURE__ */ jsxs18(Widget.Row, { align: "center", gap: 3, children: [
8668
- /* @__PURE__ */ jsx26(Widget.Caption, { value: index + 1 }),
8669
- track.image ? /* @__PURE__ */ jsx26(Widget.Image, { alt: track.image.alt, radius: "xl", size: 44, src: track.image.src }) : null,
8670
- /* @__PURE__ */ jsxs18(Widget.Col, { flex: 1, gap: 0, children: [
8671
- /* @__PURE__ */ jsx26(Widget.Text, { value: track.title, weight: "semibold" }),
8672
- /* @__PURE__ */ jsx26(Widget.Caption, { value: track.artist })
8705
+ /* @__PURE__ */ jsx27(Widget.Col, { gap: 3, children: component.tracks.map((track, index) => /* @__PURE__ */ jsxs19(Widget.Row, { align: "center", gap: 3, children: [
8706
+ /* @__PURE__ */ jsx27(Widget.Caption, { value: index + 1 }),
8707
+ track.image ? /* @__PURE__ */ jsx27(Widget.Image, { alt: track.image.alt, radius: "xl", size: 44, src: track.image.src }) : null,
8708
+ /* @__PURE__ */ jsxs19(Widget.Col, { flex: 1, gap: 0, children: [
8709
+ /* @__PURE__ */ jsx27(Widget.Text, { value: track.title, weight: "semibold" }),
8710
+ /* @__PURE__ */ jsx27(Widget.Caption, { value: track.artist })
8673
8711
  ] }),
8674
- track.action ? /* @__PURE__ */ jsx26(
8712
+ track.action ? /* @__PURE__ */ jsx27(
8675
8713
  CompositionAction,
8676
8714
  {
8677
8715
  action: track.action,
@@ -8681,7 +8719,7 @@ function PlaylistView({
8681
8719
  }
8682
8720
  ) : null
8683
8721
  ] }, track.id)) }),
8684
- component.actions?.length ? /* @__PURE__ */ jsx26(Widget.Actions, { children: component.actions.map((action2) => /* @__PURE__ */ jsx26(
8722
+ component.actions?.length ? /* @__PURE__ */ jsx27(Widget.Actions, { children: component.actions.map((action2) => /* @__PURE__ */ jsx27(
8685
8723
  CompositionAction,
8686
8724
  {
8687
8725
  action: action2,
@@ -8699,26 +8737,26 @@ function ChannelMessageView({
8699
8737
  className,
8700
8738
  component
8701
8739
  }) {
8702
- return /* @__PURE__ */ jsxs18(
8740
+ return /* @__PURE__ */ jsxs19(
8703
8741
  Widget.Card,
8704
8742
  {
8705
8743
  className: mergeClassNames("aui-composition-card aui-channel-message", className),
8706
8744
  "data-component-kind": component.kind,
8707
8745
  size: "md",
8708
8746
  children: [
8709
- /* @__PURE__ */ jsxs18(Widget.Row, { children: [
8710
- /* @__PURE__ */ jsx26(Widget.Text, { value: component.channel, weight: "medium" }),
8711
- /* @__PURE__ */ jsx26(Widget.Spacer, {}),
8712
- /* @__PURE__ */ jsx26(Widget.Caption, { value: component.timestamp })
8747
+ /* @__PURE__ */ jsxs19(Widget.Row, { children: [
8748
+ /* @__PURE__ */ jsx27(Widget.Text, { value: component.channel, weight: "medium" }),
8749
+ /* @__PURE__ */ jsx27(Widget.Spacer, {}),
8750
+ /* @__PURE__ */ jsx27(Widget.Caption, { value: component.timestamp })
8713
8751
  ] }),
8714
- /* @__PURE__ */ jsx26(Widget.Divider, { flush: true }),
8715
- /* @__PURE__ */ jsxs18(Widget.Row, { align: "start", gap: 4, children: [
8716
- /* @__PURE__ */ jsx26(InitialAvatar, { name: component.author.name, src: component.author.image?.src }),
8717
- /* @__PURE__ */ jsxs18(Widget.Col, { flex: 1, gap: 2, children: [
8718
- /* @__PURE__ */ jsx26(Widget.Text, { value: component.author.name, weight: "semibold" }),
8719
- /* @__PURE__ */ jsx26("p", { className: "aui-channel-message__content", children: component.content }),
8720
- component.attachments?.length ? /* @__PURE__ */ jsx26(Widget.Row, { className: "aui-channel-message__attachments", gap: 2, children: component.attachments.map(
8721
- (attachment) => attachment.image ? /* @__PURE__ */ jsx26(
8752
+ /* @__PURE__ */ jsx27(Widget.Divider, { flush: true }),
8753
+ /* @__PURE__ */ jsxs19(Widget.Row, { align: "start", gap: 4, children: [
8754
+ /* @__PURE__ */ jsx27(InitialAvatar, { name: component.author.name, src: component.author.image?.src }),
8755
+ /* @__PURE__ */ jsxs19(Widget.Col, { flex: 1, gap: 2, children: [
8756
+ /* @__PURE__ */ jsx27(Widget.Text, { value: component.author.name, weight: "semibold" }),
8757
+ /* @__PURE__ */ jsx27("p", { className: "aui-channel-message__content", children: component.content }),
8758
+ component.attachments?.length ? /* @__PURE__ */ jsx27(Widget.Row, { className: "aui-channel-message__attachments", gap: 2, children: component.attachments.map(
8759
+ (attachment) => attachment.image ? /* @__PURE__ */ jsx27(
8722
8760
  Widget.Image,
8723
8761
  {
8724
8762
  alt: attachment.image.alt,
@@ -8728,7 +8766,7 @@ function ChannelMessageView({
8728
8766
  title: attachment.name
8729
8767
  },
8730
8768
  attachment.id
8731
- ) : /* @__PURE__ */ jsx26(
8769
+ ) : /* @__PURE__ */ jsx27(
8732
8770
  Widget.Image,
8733
8771
  {
8734
8772
  alt: attachment.name,
@@ -8747,7 +8785,7 @@ function ChannelMessageView({
8747
8785
  );
8748
8786
  }
8749
8787
  function PlayerCardView({ className, component }) {
8750
- return /* @__PURE__ */ jsxs18(
8788
+ return /* @__PURE__ */ jsxs19(
8751
8789
  Widget.Card,
8752
8790
  {
8753
8791
  className: mergeClassNames("aui-composition-card aui-player-card", className),
@@ -8756,7 +8794,7 @@ function PlayerCardView({ className, component }) {
8756
8794
  size: "md",
8757
8795
  theme: "dark",
8758
8796
  children: [
8759
- component.backgroundImage ? /* @__PURE__ */ jsx26(
8797
+ component.backgroundImage ? /* @__PURE__ */ jsx27(
8760
8798
  Widget.Image,
8761
8799
  {
8762
8800
  alt: component.backgroundImage.alt,
@@ -8764,10 +8802,10 @@ function PlayerCardView({ className, component }) {
8764
8802
  src: component.backgroundImage.src
8765
8803
  }
8766
8804
  ) : null,
8767
- /* @__PURE__ */ jsxs18(Widget.Row, { align: "center", className: "aui-player-card__content", children: [
8768
- /* @__PURE__ */ jsx26(Widget.Box, { minHeight: 160, width: "40%" }),
8769
- /* @__PURE__ */ jsxs18(Widget.Col, { flex: "auto", gap: 3, children: [
8770
- /* @__PURE__ */ jsx26(
8805
+ /* @__PURE__ */ jsxs19(Widget.Row, { align: "center", className: "aui-player-card__content", children: [
8806
+ /* @__PURE__ */ jsx27(Widget.Box, { minHeight: 160, width: "40%" }),
8807
+ /* @__PURE__ */ jsxs19(Widget.Col, { flex: "auto", gap: 3, children: [
8808
+ /* @__PURE__ */ jsx27(
8771
8809
  Widget.Title,
8772
8810
  {
8773
8811
  color: "white",
@@ -8776,9 +8814,9 @@ function PlayerCardView({ className, component }) {
8776
8814
  weight: "normal"
8777
8815
  }
8778
8816
  ),
8779
- /* @__PURE__ */ jsx26(Widget.Row, { className: "aui-player-card__stats", children: component.stats.map((stat) => /* @__PURE__ */ jsxs18(Widget.Col, { flex: 1, gap: 0, children: [
8780
- /* @__PURE__ */ jsx26(Widget.Text, { value: stat.value, weight: "semibold" }),
8781
- /* @__PURE__ */ jsx26(Widget.Caption, { color: "white", value: stat.label })
8817
+ /* @__PURE__ */ jsx27(Widget.Row, { className: "aui-player-card__stats", children: component.stats.map((stat) => /* @__PURE__ */ jsxs19(Widget.Col, { flex: 1, gap: 0, children: [
8818
+ /* @__PURE__ */ jsx27(Widget.Text, { value: stat.value, weight: "semibold" }),
8819
+ /* @__PURE__ */ jsx27(Widget.Caption, { color: "white", value: stat.label })
8782
8820
  ] }, stat.label)) })
8783
8821
  ] })
8784
8822
  ] })
@@ -8788,26 +8826,26 @@ function PlayerCardView({ className, component }) {
8788
8826
  }
8789
8827
 
8790
8828
  // ../agent-ui/src/components/display-information/response-compositions/notification-view.tsx
8791
- import { jsx as jsx27, jsxs as jsxs19 } from "react/jsx-runtime";
8829
+ import { jsx as jsx28, jsxs as jsxs20 } from "react/jsx-runtime";
8792
8830
  function EnableNotificationView({
8793
8831
  className,
8794
8832
  component,
8795
8833
  onAction,
8796
8834
  onSelect
8797
8835
  }) {
8798
- return /* @__PURE__ */ jsxs19(
8836
+ return /* @__PURE__ */ jsxs20(
8799
8837
  Widget.Card,
8800
8838
  {
8801
8839
  className: mergeClassNames("aui-composition-card aui-enable-notification", className),
8802
8840
  "data-component-kind": component.kind,
8803
8841
  size: "sm",
8804
8842
  children: [
8805
- /* @__PURE__ */ jsxs19(Widget.Col, { align: "center", gap: 3, padding: 3, children: [
8806
- /* @__PURE__ */ jsx27("span", { "aria-hidden": "true", className: "aui-enable-notification__icon", children: "\u2713" }),
8807
- /* @__PURE__ */ jsx27(Widget.Title, { align: "center", value: component.title }),
8808
- component.description ? /* @__PURE__ */ jsx27(Widget.Caption, { value: component.description }) : null
8843
+ /* @__PURE__ */ jsxs20(Widget.Col, { align: "center", gap: 3, padding: 3, children: [
8844
+ /* @__PURE__ */ jsx28("span", { "aria-hidden": "true", className: "aui-enable-notification__icon", children: "\u2713" }),
8845
+ /* @__PURE__ */ jsx28(Widget.Title, { align: "center", value: component.title }),
8846
+ component.description ? /* @__PURE__ */ jsx28(Widget.Caption, { value: component.description }) : null
8809
8847
  ] }),
8810
- /* @__PURE__ */ jsx27(Widget.Row, { className: "aui-enable-notification__actions", children: component.actions.map((action2) => /* @__PURE__ */ jsx27(
8848
+ /* @__PURE__ */ jsx28(Widget.Row, { className: "aui-enable-notification__actions", children: component.actions.map((action2) => /* @__PURE__ */ jsx28(
8811
8849
  CompositionAction,
8812
8850
  {
8813
8851
  action: action2,
@@ -8824,30 +8862,30 @@ function EnableNotificationView({
8824
8862
 
8825
8863
  // ../agent-ui/src/components/display-information/response-compositions/product-signals-view.tsx
8826
8864
  import { Tabs as Tabs2 } from "@heroui/react";
8827
- import { jsx as jsx28, jsxs as jsxs20 } from "react/jsx-runtime";
8865
+ import { jsx as jsx29, jsxs as jsxs21 } from "react/jsx-runtime";
8828
8866
  function ProductSignalsView({
8829
8867
  className,
8830
8868
  component,
8831
8869
  renderPanel
8832
8870
  }) {
8833
- return /* @__PURE__ */ jsx28(
8871
+ return /* @__PURE__ */ jsx29(
8834
8872
  Card,
8835
8873
  {
8836
8874
  className: mergeClassNames("aui-product-signals", className),
8837
8875
  "data-component-kind": component.kind,
8838
8876
  description: component.description,
8839
8877
  title: component.title,
8840
- children: /* @__PURE__ */ jsxs20(
8878
+ children: /* @__PURE__ */ jsxs21(
8841
8879
  Tabs2,
8842
8880
  {
8843
8881
  defaultSelectedKey: component.defaultValue ?? component.tabs[0]?.id,
8844
8882
  variant: "secondary",
8845
8883
  children: [
8846
- /* @__PURE__ */ jsx28(Tabs2.ListContainer, { children: /* @__PURE__ */ jsx28(Tabs2.List, { "aria-label": `${component.title} views`, children: component.tabs.map((tab) => /* @__PURE__ */ jsxs20(Tabs2.Tab, { id: tab.id, children: [
8884
+ /* @__PURE__ */ jsx29(Tabs2.ListContainer, { children: /* @__PURE__ */ jsx29(Tabs2.List, { "aria-label": `${component.title} views`, children: component.tabs.map((tab) => /* @__PURE__ */ jsxs21(Tabs2.Tab, { id: tab.id, children: [
8847
8885
  tab.label,
8848
- /* @__PURE__ */ jsx28(Tabs2.Indicator, {})
8886
+ /* @__PURE__ */ jsx29(Tabs2.Indicator, {})
8849
8887
  ] }, tab.id)) }) }),
8850
- component.tabs.map((tab) => /* @__PURE__ */ jsx28(Tabs2.Panel, { className: "aui-product-signals__panel", id: tab.id, children: renderPanel(tab.component) }, tab.id))
8888
+ component.tabs.map((tab) => /* @__PURE__ */ jsx29(Tabs2.Panel, { className: "aui-product-signals__panel", id: tab.id, children: renderPanel(tab.component) }, tab.id))
8851
8889
  ]
8852
8890
  }
8853
8891
  )
@@ -8856,12 +8894,12 @@ function ProductSignalsView({
8856
8894
  }
8857
8895
 
8858
8896
  // ../agent-ui/src/components/display-information/response-compositions/transport-views.tsx
8859
- import { jsx as jsx29, jsxs as jsxs21 } from "react/jsx-runtime";
8897
+ import { jsx as jsx30, jsxs as jsxs22 } from "react/jsx-runtime";
8860
8898
  function FlightTrackerView({
8861
8899
  className,
8862
8900
  component
8863
8901
  }) {
8864
- return /* @__PURE__ */ jsxs21(
8902
+ return /* @__PURE__ */ jsxs22(
8865
8903
  Widget.Card,
8866
8904
  {
8867
8905
  className: mergeClassNames("aui-composition-card aui-flight-tracker", className),
@@ -8869,8 +8907,8 @@ function FlightTrackerView({
8869
8907
  size: "md",
8870
8908
  theme: "dark",
8871
8909
  children: [
8872
- /* @__PURE__ */ jsxs21(Widget.Row, { align: "center", gap: 2, children: [
8873
- component.airline.logo ? /* @__PURE__ */ jsx29(
8910
+ /* @__PURE__ */ jsxs22(Widget.Row, { align: "center", gap: 2, children: [
8911
+ component.airline.logo ? /* @__PURE__ */ jsx30(
8874
8912
  Widget.Box,
8875
8913
  {
8876
8914
  align: "center",
@@ -8879,7 +8917,7 @@ function FlightTrackerView({
8879
8917
  justify: "center",
8880
8918
  radius: "full",
8881
8919
  width: 28,
8882
- children: /* @__PURE__ */ jsx29(
8920
+ children: /* @__PURE__ */ jsx30(
8883
8921
  Widget.Image,
8884
8922
  {
8885
8923
  alt: component.airline.logo.alt,
@@ -8890,18 +8928,18 @@ function FlightTrackerView({
8890
8928
  )
8891
8929
  }
8892
8930
  ) : null,
8893
- /* @__PURE__ */ jsx29(Widget.Text, { value: component.flightNumber, weight: "semibold" }),
8894
- /* @__PURE__ */ jsx29(Widget.Spacer, {}),
8895
- /* @__PURE__ */ jsx29(Widget.Caption, { color: "white", value: component.date })
8931
+ /* @__PURE__ */ jsx30(Widget.Text, { value: component.flightNumber, weight: "semibold" }),
8932
+ /* @__PURE__ */ jsx30(Widget.Spacer, {}),
8933
+ /* @__PURE__ */ jsx30(Widget.Caption, { color: "white", value: component.date })
8896
8934
  ] }),
8897
- /* @__PURE__ */ jsx29(Widget.Divider, { flush: true }),
8898
- /* @__PURE__ */ jsxs21(Widget.Col, { gap: 3, children: [
8899
- /* @__PURE__ */ jsxs21(Widget.Row, { align: "center", children: [
8900
- /* @__PURE__ */ jsx29(Widget.Text, { size: "lg", value: component.origin.label }),
8901
- /* @__PURE__ */ jsx29(Widget.Spacer, {}),
8902
- /* @__PURE__ */ jsx29(Widget.Text, { size: "lg", value: component.destination.label })
8935
+ /* @__PURE__ */ jsx30(Widget.Divider, { flush: true }),
8936
+ /* @__PURE__ */ jsxs22(Widget.Col, { gap: 3, children: [
8937
+ /* @__PURE__ */ jsxs22(Widget.Row, { align: "center", children: [
8938
+ /* @__PURE__ */ jsx30(Widget.Text, { size: "lg", value: component.origin.label }),
8939
+ /* @__PURE__ */ jsx30(Widget.Spacer, {}),
8940
+ /* @__PURE__ */ jsx30(Widget.Text, { size: "lg", value: component.destination.label })
8903
8941
  ] }),
8904
- /* @__PURE__ */ jsx29(
8942
+ /* @__PURE__ */ jsx30(
8905
8943
  "div",
8906
8944
  {
8907
8945
  "aria-label": `${component.progress ?? 0}% complete`,
@@ -8910,18 +8948,18 @@ function FlightTrackerView({
8910
8948
  "aria-valuenow": component.progress ?? 0,
8911
8949
  className: "aui-flight-tracker__progress",
8912
8950
  role: "progressbar",
8913
- children: /* @__PURE__ */ jsx29("span", { style: { width: `${component.progress ?? 0}%` } })
8951
+ children: /* @__PURE__ */ jsx30("span", { style: { width: `${component.progress ?? 0}%` } })
8914
8952
  }
8915
8953
  ),
8916
- /* @__PURE__ */ jsxs21(Widget.Row, { align: "center", children: [
8917
- /* @__PURE__ */ jsxs21(Widget.Col, { gap: 0, children: [
8918
- /* @__PURE__ */ jsx29(Widget.Text, { value: component.origin.time }),
8919
- component.origin.status ? /* @__PURE__ */ jsx29(Widget.Caption, { color: "white", value: component.origin.status }) : null
8954
+ /* @__PURE__ */ jsxs22(Widget.Row, { align: "center", children: [
8955
+ /* @__PURE__ */ jsxs22(Widget.Col, { gap: 0, children: [
8956
+ /* @__PURE__ */ jsx30(Widget.Text, { value: component.origin.time }),
8957
+ component.origin.status ? /* @__PURE__ */ jsx30(Widget.Caption, { color: "white", value: component.origin.status }) : null
8920
8958
  ] }),
8921
- /* @__PURE__ */ jsx29(Widget.Spacer, {}),
8922
- /* @__PURE__ */ jsxs21(Widget.Col, { align: "end", gap: 0, children: [
8923
- /* @__PURE__ */ jsx29(Widget.Text, { value: component.destination.time }),
8924
- component.destination.status ? /* @__PURE__ */ jsx29(Widget.Caption, { color: "white", value: component.destination.status }) : null
8959
+ /* @__PURE__ */ jsx30(Widget.Spacer, {}),
8960
+ /* @__PURE__ */ jsxs22(Widget.Col, { align: "end", gap: 0, children: [
8961
+ /* @__PURE__ */ jsx30(Widget.Text, { value: component.destination.time }),
8962
+ component.destination.status ? /* @__PURE__ */ jsx30(Widget.Caption, { color: "white", value: component.destination.status }) : null
8925
8963
  ] })
8926
8964
  ] })
8927
8965
  ] })
@@ -8930,25 +8968,25 @@ function FlightTrackerView({
8930
8968
  );
8931
8969
  }
8932
8970
  function RideStatusView({ className, component }) {
8933
- return /* @__PURE__ */ jsxs21(
8971
+ return /* @__PURE__ */ jsxs22(
8934
8972
  Widget.Card,
8935
8973
  {
8936
8974
  className: mergeClassNames("aui-composition-card aui-ride-status", className),
8937
8975
  "data-component-kind": component.kind,
8938
8976
  size: "sm",
8939
8977
  children: [
8940
- /* @__PURE__ */ jsx29(Widget.Title, { size: "xl", value: component.eta }),
8941
- /* @__PURE__ */ jsxs21(Widget.Row, { align: "center", gap: 3, children: [
8942
- /* @__PURE__ */ jsxs21(Widget.Col, { gap: 0, children: [
8943
- /* @__PURE__ */ jsx29(Widget.Caption, { value: "Pick up" }),
8944
- /* @__PURE__ */ jsx29(Widget.Text, { truncate: true, value: component.pickup })
8978
+ /* @__PURE__ */ jsx30(Widget.Title, { size: "xl", value: component.eta }),
8979
+ /* @__PURE__ */ jsxs22(Widget.Row, { align: "center", gap: 3, children: [
8980
+ /* @__PURE__ */ jsxs22(Widget.Col, { gap: 0, children: [
8981
+ /* @__PURE__ */ jsx30(Widget.Caption, { value: "Pick up" }),
8982
+ /* @__PURE__ */ jsx30(Widget.Text, { truncate: true, value: component.pickup })
8945
8983
  ] }),
8946
- /* @__PURE__ */ jsx29(Widget.Spacer, {}),
8947
- /* @__PURE__ */ jsxs21(Widget.Col, { align: "end", gap: 0, children: [
8948
- /* @__PURE__ */ jsx29(Widget.Caption, { value: "Driver" }),
8949
- /* @__PURE__ */ jsx29(Widget.Text, { value: component.driver.name })
8984
+ /* @__PURE__ */ jsx30(Widget.Spacer, {}),
8985
+ /* @__PURE__ */ jsxs22(Widget.Col, { align: "end", gap: 0, children: [
8986
+ /* @__PURE__ */ jsx30(Widget.Caption, { value: "Driver" }),
8987
+ /* @__PURE__ */ jsx30(Widget.Text, { value: component.driver.name })
8950
8988
  ] }),
8951
- /* @__PURE__ */ jsx29(InitialAvatar, { name: component.driver.name, src: component.driver.image?.src })
8989
+ /* @__PURE__ */ jsx30(InitialAvatar, { name: component.driver.name, src: component.driver.image?.src })
8952
8990
  ] })
8953
8991
  ]
8954
8992
  }
@@ -8957,9 +8995,9 @@ function RideStatusView({ className, component }) {
8957
8995
 
8958
8996
  // ../agent-ui/src/components/display-information/response-compositions/weather-views.tsx
8959
8997
  import { useState as useState10 } from "react";
8960
- import { Fragment as Fragment6, jsx as jsx30, jsxs as jsxs22 } from "react/jsx-runtime";
8998
+ import { Fragment as Fragment6, jsx as jsx31, jsxs as jsxs23 } from "react/jsx-runtime";
8961
8999
  function Cloud() {
8962
- return /* @__PURE__ */ jsx30(
9000
+ return /* @__PURE__ */ jsx31(
8963
9001
  "path",
8964
9002
  {
8965
9003
  d: "M13.2 25.5h20.6a6.7 6.7 0 0 0 .2-13.4 10.2 10.2 0 0 0-19.2-2.4 8 8 0 0 0-1.6 15.8Z",
@@ -8969,9 +9007,9 @@ function Cloud() {
8969
9007
  );
8970
9008
  }
8971
9009
  function Sun({ small = false }) {
8972
- return /* @__PURE__ */ jsxs22("g", { transform: small ? "translate(-5 -5) scale(.72)" : void 0, children: [
8973
- /* @__PURE__ */ jsx30("circle", { cx: "24", cy: "20", fill: "currentColor", r: "7" }),
8974
- /* @__PURE__ */ jsx30(
9010
+ return /* @__PURE__ */ jsxs23("g", { transform: small ? "translate(-5 -5) scale(.72)" : void 0, children: [
9011
+ /* @__PURE__ */ jsx31("circle", { cx: "24", cy: "20", fill: "currentColor", r: "7" }),
9012
+ /* @__PURE__ */ jsx31(
8975
9013
  "path",
8976
9014
  {
8977
9015
  d: "M24 5v5m0 20v5M9 20h5m20 0h5M13.4 9.4l3.5 3.5m14.2 14.2 3.5 3.5m0-21.2-3.5 3.5M16.9 27.1l-3.5 3.5",
@@ -8984,23 +9022,23 @@ function Sun({ small = false }) {
8984
9022
  ] });
8985
9023
  }
8986
9024
  var weatherContent = {
8987
- clear: /* @__PURE__ */ jsx30(Sun, {}),
8988
- cloudy: /* @__PURE__ */ jsx30(Cloud, {}),
8989
- drizzle: /* @__PURE__ */ jsxs22(Fragment6, { children: [
8990
- /* @__PURE__ */ jsx30(Cloud, {}),
8991
- /* @__PURE__ */ jsx30("path", { d: "m17 30-2 4m9-4-2 4m9-4-2 4", stroke: "currentColor", strokeLinecap: "round" })
9025
+ clear: /* @__PURE__ */ jsx31(Sun, {}),
9026
+ cloudy: /* @__PURE__ */ jsx31(Cloud, {}),
9027
+ drizzle: /* @__PURE__ */ jsxs23(Fragment6, { children: [
9028
+ /* @__PURE__ */ jsx31(Cloud, {}),
9029
+ /* @__PURE__ */ jsx31("path", { d: "m17 30-2 4m9-4-2 4m9-4-2 4", stroke: "currentColor", strokeLinecap: "round" })
8992
9030
  ] }),
8993
- fog: /* @__PURE__ */ jsxs22(Fragment6, { children: [
8994
- /* @__PURE__ */ jsx30(Cloud, {}),
8995
- /* @__PURE__ */ jsx30("path", { d: "M10 31h27M13 36h21", stroke: "currentColor", strokeLinecap: "round", strokeWidth: "2" })
9031
+ fog: /* @__PURE__ */ jsxs23(Fragment6, { children: [
9032
+ /* @__PURE__ */ jsx31(Cloud, {}),
9033
+ /* @__PURE__ */ jsx31("path", { d: "M10 31h27M13 36h21", stroke: "currentColor", strokeLinecap: "round", strokeWidth: "2" })
8996
9034
  ] }),
8997
- "partly-cloudy": /* @__PURE__ */ jsxs22(Fragment6, { children: [
8998
- /* @__PURE__ */ jsx30(Sun, { small: true }),
8999
- /* @__PURE__ */ jsx30(Cloud, {})
9035
+ "partly-cloudy": /* @__PURE__ */ jsxs23(Fragment6, { children: [
9036
+ /* @__PURE__ */ jsx31(Sun, { small: true }),
9037
+ /* @__PURE__ */ jsx31(Cloud, {})
9000
9038
  ] }),
9001
- rain: /* @__PURE__ */ jsxs22(Fragment6, { children: [
9002
- /* @__PURE__ */ jsx30(Cloud, {}),
9003
- /* @__PURE__ */ jsx30(
9039
+ rain: /* @__PURE__ */ jsxs23(Fragment6, { children: [
9040
+ /* @__PURE__ */ jsx31(Cloud, {}),
9041
+ /* @__PURE__ */ jsx31(
9004
9042
  "path",
9005
9043
  {
9006
9044
  d: "m16 30-3 6m11-6-3 6m11-6-3 6",
@@ -9010,9 +9048,9 @@ var weatherContent = {
9010
9048
  }
9011
9049
  )
9012
9050
  ] }),
9013
- snow: /* @__PURE__ */ jsxs22(Fragment6, { children: [
9014
- /* @__PURE__ */ jsx30(Cloud, {}),
9015
- /* @__PURE__ */ jsx30(
9051
+ snow: /* @__PURE__ */ jsxs23(Fragment6, { children: [
9052
+ /* @__PURE__ */ jsx31(Cloud, {}),
9053
+ /* @__PURE__ */ jsx31(
9016
9054
  "path",
9017
9055
  {
9018
9056
  d: "M16 32h.1m8-.1h.1m8 .1h.1",
@@ -9022,13 +9060,13 @@ var weatherContent = {
9022
9060
  }
9023
9061
  )
9024
9062
  ] }),
9025
- thunderstorm: /* @__PURE__ */ jsxs22(Fragment6, { children: [
9026
- /* @__PURE__ */ jsx30(Cloud, {}),
9027
- /* @__PURE__ */ jsx30("path", { d: "m25 28-5 8h5l-2 6 8-10h-5l3-4Z", fill: "currentColor" })
9063
+ thunderstorm: /* @__PURE__ */ jsxs23(Fragment6, { children: [
9064
+ /* @__PURE__ */ jsx31(Cloud, {}),
9065
+ /* @__PURE__ */ jsx31("path", { d: "m25 28-5 8h5l-2 6 8-10h-5l3-4Z", fill: "currentColor" })
9028
9066
  ] }),
9029
- unknown: /* @__PURE__ */ jsxs22(Fragment6, { children: [
9030
- /* @__PURE__ */ jsx30("circle", { cx: "24", cy: "24", fill: "none", r: "15", stroke: "currentColor", strokeWidth: "2" }),
9031
- /* @__PURE__ */ jsx30(
9067
+ unknown: /* @__PURE__ */ jsxs23(Fragment6, { children: [
9068
+ /* @__PURE__ */ jsx31("circle", { cx: "24", cy: "24", fill: "none", r: "15", stroke: "currentColor", strokeWidth: "2" }),
9069
+ /* @__PURE__ */ jsx31(
9032
9070
  "path",
9033
9071
  {
9034
9072
  d: "M20 19a4 4 0 1 1 5 3.9c-1.6.5-2 1.4-2 3.1m0 5h.1",
@@ -9039,7 +9077,7 @@ var weatherContent = {
9039
9077
  }
9040
9078
  )
9041
9079
  ] }),
9042
- windy: /* @__PURE__ */ jsx30(
9080
+ windy: /* @__PURE__ */ jsx31(
9043
9081
  "path",
9044
9082
  {
9045
9083
  d: "M7 17h24a4 4 0 1 0-4-4m-20 9h31a4 4 0 1 1-4 4M7 28h17",
@@ -9065,7 +9103,7 @@ function WeatherIcon({ condition, size: size2 = 48 }) {
9065
9103
  const [failedSource, setFailedSource] = useState10();
9066
9104
  const label = condition.replaceAll("-", " ");
9067
9105
  if (source && source !== failedSource) {
9068
- return /* @__PURE__ */ jsx30(
9106
+ return /* @__PURE__ */ jsx31(
9069
9107
  FallbackImage,
9070
9108
  {
9071
9109
  alt: label,
@@ -9079,7 +9117,7 @@ function WeatherIcon({ condition, size: size2 = 48 }) {
9079
9117
  }
9080
9118
  );
9081
9119
  }
9082
- return /* @__PURE__ */ jsx30(
9120
+ return /* @__PURE__ */ jsx31(
9083
9121
  "svg",
9084
9122
  {
9085
9123
  "aria-label": label,
@@ -9099,7 +9137,7 @@ function WeatherCurrentView({
9099
9137
  className,
9100
9138
  component
9101
9139
  }) {
9102
- return /* @__PURE__ */ jsx30(
9140
+ return /* @__PURE__ */ jsx31(
9103
9141
  Widget.Card,
9104
9142
  {
9105
9143
  "data-component-kind": component.kind,
@@ -9110,10 +9148,10 @@ function WeatherCurrentView({
9110
9148
  "aui-composition-card aui-weather-card aui-weather-current",
9111
9149
  className
9112
9150
  ),
9113
- children: /* @__PURE__ */ jsxs22(Widget.Col, { align: "center", gap: 4, children: [
9114
- /* @__PURE__ */ jsxs22(Widget.Row, { align: "center", gap: 3, children: [
9115
- /* @__PURE__ */ jsx30(WeatherIcon, { condition: component.condition, size: 58 }),
9116
- /* @__PURE__ */ jsx30(
9151
+ children: /* @__PURE__ */ jsxs23(Widget.Col, { align: "center", gap: 4, children: [
9152
+ /* @__PURE__ */ jsxs23(Widget.Row, { align: "center", gap: 3, children: [
9153
+ /* @__PURE__ */ jsx31(WeatherIcon, { condition: component.condition, size: 58 }),
9154
+ /* @__PURE__ */ jsx31(
9117
9155
  Widget.Title,
9118
9156
  {
9119
9157
  color: "white",
@@ -9123,11 +9161,11 @@ function WeatherCurrentView({
9123
9161
  }
9124
9162
  )
9125
9163
  ] }),
9126
- /* @__PURE__ */ jsx30(Widget.Caption, { color: "white", size: "lg", value: component.location }),
9127
- component.description ? /* @__PURE__ */ jsx30(Widget.Text, { align: "center", color: "white", value: component.description }) : null,
9128
- component.details?.length ? /* @__PURE__ */ jsx30(Widget.Row, { className: "aui-weather-current__details", gap: 3, children: component.details.map((detail) => /* @__PURE__ */ jsxs22(Widget.Col, { align: "center", gap: 0, children: [
9129
- /* @__PURE__ */ jsx30(Widget.Caption, { color: "white", value: detail.label }),
9130
- /* @__PURE__ */ jsx30(Widget.Text, { color: "white", value: detail.value, weight: "semibold" })
9164
+ /* @__PURE__ */ jsx31(Widget.Caption, { color: "white", size: "lg", value: component.location }),
9165
+ component.description ? /* @__PURE__ */ jsx31(Widget.Text, { align: "center", color: "white", value: component.description }) : null,
9166
+ component.details?.length ? /* @__PURE__ */ jsx31(Widget.Row, { className: "aui-weather-current__details", gap: 3, children: component.details.map((detail) => /* @__PURE__ */ jsxs23(Widget.Col, { align: "center", gap: 0, children: [
9167
+ /* @__PURE__ */ jsx31(Widget.Caption, { color: "white", value: detail.label }),
9168
+ /* @__PURE__ */ jsx31(Widget.Text, { color: "white", value: detail.value, weight: "semibold" })
9131
9169
  ] }, detail.label)) }) : null
9132
9170
  ] })
9133
9171
  }
@@ -9137,7 +9175,7 @@ function WeatherForecastView({
9137
9175
  className,
9138
9176
  component
9139
9177
  }) {
9140
- return /* @__PURE__ */ jsx30(
9178
+ return /* @__PURE__ */ jsx31(
9141
9179
  Widget.Card,
9142
9180
  {
9143
9181
  "data-component-kind": component.kind,
@@ -9148,10 +9186,10 @@ function WeatherForecastView({
9148
9186
  "aui-composition-card aui-weather-card aui-weather-forecast",
9149
9187
  className
9150
9188
  ),
9151
- children: /* @__PURE__ */ jsxs22(Widget.Col, { align: "center", gap: 3, children: [
9152
- /* @__PURE__ */ jsx30(WeatherIcon, { condition: component.condition, size: 60 }),
9153
- /* @__PURE__ */ jsxs22(Widget.Row, { align: "center", gap: 2, children: [
9154
- /* @__PURE__ */ jsx30(
9189
+ children: /* @__PURE__ */ jsxs23(Widget.Col, { align: "center", gap: 3, children: [
9190
+ /* @__PURE__ */ jsx31(WeatherIcon, { condition: component.condition, size: 60 }),
9191
+ /* @__PURE__ */ jsxs23(Widget.Row, { align: "center", gap: 2, children: [
9192
+ /* @__PURE__ */ jsx31(
9155
9193
  Widget.Title,
9156
9194
  {
9157
9195
  color: "white",
@@ -9160,7 +9198,7 @@ function WeatherForecastView({
9160
9198
  weight: "normal"
9161
9199
  }
9162
9200
  ),
9163
- /* @__PURE__ */ jsx30(
9201
+ /* @__PURE__ */ jsx31(
9164
9202
  Widget.Title,
9165
9203
  {
9166
9204
  color: "white",
@@ -9170,10 +9208,10 @@ function WeatherForecastView({
9170
9208
  }
9171
9209
  )
9172
9210
  ] }),
9173
- /* @__PURE__ */ jsx30(Widget.Caption, { color: "white", value: component.location }),
9174
- component.description ? /* @__PURE__ */ jsx30(Widget.Text, { align: "center", color: "white", value: component.description }) : null,
9175
- /* @__PURE__ */ jsx30(Widget.Row, { className: "aui-weather-forecast__days", gap: 4, children: component.forecast.map((day) => /* @__PURE__ */ jsxs22(Widget.Col, { align: "center", gap: 1, children: [
9176
- /* @__PURE__ */ jsx30(
9211
+ /* @__PURE__ */ jsx31(Widget.Caption, { color: "white", value: component.location }),
9212
+ component.description ? /* @__PURE__ */ jsx31(Widget.Text, { align: "center", color: "white", value: component.description }) : null,
9213
+ /* @__PURE__ */ jsx31(Widget.Row, { className: "aui-weather-forecast__days", gap: 4, children: component.forecast.map((day) => /* @__PURE__ */ jsxs23(Widget.Col, { align: "center", gap: 1, children: [
9214
+ /* @__PURE__ */ jsx31(
9177
9215
  Widget.Caption,
9178
9216
  {
9179
9217
  truncate: true,
@@ -9183,8 +9221,8 @@ function WeatherForecastView({
9183
9221
  value: day.label
9184
9222
  }
9185
9223
  ),
9186
- /* @__PURE__ */ jsx30(WeatherIcon, { condition: day.condition, size: 40 }),
9187
- /* @__PURE__ */ jsx30(Widget.Text, { color: "white", value: temperature(day.temperature, component.unit) })
9224
+ /* @__PURE__ */ jsx31(WeatherIcon, { condition: day.condition, size: 40 }),
9225
+ /* @__PURE__ */ jsx31(Widget.Text, { color: "white", value: temperature(day.temperature, component.unit) })
9188
9226
  ] }, day.label)) })
9189
9227
  ] })
9190
9228
  }
@@ -9221,7 +9259,7 @@ import {
9221
9259
  } from "@heroui/react";
9222
9260
  import { parseDate, parseTime } from "@internationalized/date";
9223
9261
  import { useCallback as useCallback6, useRef as useRef3, useState as useState11 } from "react";
9224
- import { jsx as jsx31, jsxs as jsxs23 } from "react/jsx-runtime";
9262
+ import { jsx as jsx32, jsxs as jsxs24 } from "react/jsx-runtime";
9225
9263
  function defaultValue(field) {
9226
9264
  if (field.kind === "checkbox-group" || field.kind === "combobox") return field.defaultValue ?? [];
9227
9265
  if (field.kind === "slider") return field.defaultValue ?? field.min;
@@ -9267,37 +9305,37 @@ function toNumberFormatOptions(format) {
9267
9305
  return { notation: format.compact ? "compact" : "standard", style: "decimal" };
9268
9306
  }
9269
9307
  function DatePickerCalendar() {
9270
- return /* @__PURE__ */ jsxs23(Calendar2, { "aria-label": "Choose date", children: [
9271
- /* @__PURE__ */ jsxs23(Calendar2.Header, { children: [
9272
- /* @__PURE__ */ jsxs23(Calendar2.YearPickerTrigger, { children: [
9273
- /* @__PURE__ */ jsx31(Calendar2.YearPickerTriggerHeading, {}),
9274
- /* @__PURE__ */ jsx31(Calendar2.YearPickerTriggerIndicator, {})
9308
+ return /* @__PURE__ */ jsxs24(Calendar2, { "aria-label": "Choose date", children: [
9309
+ /* @__PURE__ */ jsxs24(Calendar2.Header, { children: [
9310
+ /* @__PURE__ */ jsxs24(Calendar2.YearPickerTrigger, { children: [
9311
+ /* @__PURE__ */ jsx32(Calendar2.YearPickerTriggerHeading, {}),
9312
+ /* @__PURE__ */ jsx32(Calendar2.YearPickerTriggerIndicator, {})
9275
9313
  ] }),
9276
- /* @__PURE__ */ jsx31(Calendar2.NavButton, { slot: "previous" }),
9277
- /* @__PURE__ */ jsx31(Calendar2.NavButton, { slot: "next" })
9314
+ /* @__PURE__ */ jsx32(Calendar2.NavButton, { slot: "previous" }),
9315
+ /* @__PURE__ */ jsx32(Calendar2.NavButton, { slot: "next" })
9278
9316
  ] }),
9279
- /* @__PURE__ */ jsxs23(Calendar2.Grid, { children: [
9280
- /* @__PURE__ */ jsx31(Calendar2.GridHeader, { children: (day) => /* @__PURE__ */ jsx31(Calendar2.HeaderCell, { children: day }) }),
9281
- /* @__PURE__ */ jsx31(Calendar2.GridBody, { children: (date2) => /* @__PURE__ */ jsx31(Calendar2.Cell, { date: date2 }) })
9317
+ /* @__PURE__ */ jsxs24(Calendar2.Grid, { children: [
9318
+ /* @__PURE__ */ jsx32(Calendar2.GridHeader, { children: (day) => /* @__PURE__ */ jsx32(Calendar2.HeaderCell, { children: day }) }),
9319
+ /* @__PURE__ */ jsx32(Calendar2.GridBody, { children: (date2) => /* @__PURE__ */ jsx32(Calendar2.Cell, { date: date2 }) })
9282
9320
  ] }),
9283
- /* @__PURE__ */ jsx31(Calendar2.YearPickerGrid, { children: /* @__PURE__ */ jsx31(Calendar2.YearPickerGridBody, { children: ({ year }) => /* @__PURE__ */ jsx31(Calendar2.YearPickerCell, { year }) }) })
9321
+ /* @__PURE__ */ jsx32(Calendar2.YearPickerGrid, { children: /* @__PURE__ */ jsx32(Calendar2.YearPickerGridBody, { children: ({ year }) => /* @__PURE__ */ jsx32(Calendar2.YearPickerCell, { year }) }) })
9284
9322
  ] });
9285
9323
  }
9286
9324
  function DateRangePickerCalendar({ label }) {
9287
- return /* @__PURE__ */ jsxs23(RangeCalendar, { "aria-label": label, children: [
9288
- /* @__PURE__ */ jsxs23(RangeCalendar.Header, { children: [
9289
- /* @__PURE__ */ jsxs23(RangeCalendar.YearPickerTrigger, { children: [
9290
- /* @__PURE__ */ jsx31(RangeCalendar.YearPickerTriggerHeading, {}),
9291
- /* @__PURE__ */ jsx31(RangeCalendar.YearPickerTriggerIndicator, {})
9325
+ return /* @__PURE__ */ jsxs24(RangeCalendar, { "aria-label": label, children: [
9326
+ /* @__PURE__ */ jsxs24(RangeCalendar.Header, { children: [
9327
+ /* @__PURE__ */ jsxs24(RangeCalendar.YearPickerTrigger, { children: [
9328
+ /* @__PURE__ */ jsx32(RangeCalendar.YearPickerTriggerHeading, {}),
9329
+ /* @__PURE__ */ jsx32(RangeCalendar.YearPickerTriggerIndicator, {})
9292
9330
  ] }),
9293
- /* @__PURE__ */ jsx31(RangeCalendar.NavButton, { slot: "previous" }),
9294
- /* @__PURE__ */ jsx31(RangeCalendar.NavButton, { slot: "next" })
9331
+ /* @__PURE__ */ jsx32(RangeCalendar.NavButton, { slot: "previous" }),
9332
+ /* @__PURE__ */ jsx32(RangeCalendar.NavButton, { slot: "next" })
9295
9333
  ] }),
9296
- /* @__PURE__ */ jsxs23(RangeCalendar.Grid, { children: [
9297
- /* @__PURE__ */ jsx31(RangeCalendar.GridHeader, { children: (day) => /* @__PURE__ */ jsx31(RangeCalendar.HeaderCell, { children: day }) }),
9298
- /* @__PURE__ */ jsx31(RangeCalendar.GridBody, { children: (dateValue) => /* @__PURE__ */ jsx31(RangeCalendar.Cell, { date: dateValue }) })
9334
+ /* @__PURE__ */ jsxs24(RangeCalendar.Grid, { children: [
9335
+ /* @__PURE__ */ jsx32(RangeCalendar.GridHeader, { children: (day) => /* @__PURE__ */ jsx32(RangeCalendar.HeaderCell, { children: day }) }),
9336
+ /* @__PURE__ */ jsx32(RangeCalendar.GridBody, { children: (dateValue) => /* @__PURE__ */ jsx32(RangeCalendar.Cell, { date: dateValue }) })
9299
9337
  ] }),
9300
- /* @__PURE__ */ jsx31(RangeCalendar.YearPickerGrid, { children: /* @__PURE__ */ jsx31(RangeCalendar.YearPickerGridBody, { children: ({ year }) => /* @__PURE__ */ jsx31(RangeCalendar.YearPickerCell, { year }) }) })
9338
+ /* @__PURE__ */ jsx32(RangeCalendar.YearPickerGrid, { children: /* @__PURE__ */ jsx32(RangeCalendar.YearPickerGridBody, { children: ({ year }) => /* @__PURE__ */ jsx32(RangeCalendar.YearPickerCell, { year }) }) })
9301
9339
  ] });
9302
9340
  }
9303
9341
  function FormView({ className, component, onAction, onSelect }) {
@@ -9311,7 +9349,7 @@ function FormView({ className, component, onAction, onSelect }) {
9311
9349
  setValues((current) => ({ ...current, [field.name]: value }));
9312
9350
  };
9313
9351
  const effectiveValues = () => Object.fromEntries(component.fields.map((field) => [field.name, valueFor(field)]));
9314
- return /* @__PURE__ */ jsx31(Card, { className, description: component.description, title: component.title, children: /* @__PURE__ */ jsxs23(
9352
+ return /* @__PURE__ */ jsx32(Card, { className, description: component.description, title: component.title, children: /* @__PURE__ */ jsxs24(
9315
9353
  Form,
9316
9354
  {
9317
9355
  ref: formRef,
@@ -9339,7 +9377,7 @@ function FormView({ className, component, onAction, onSelect }) {
9339
9377
  }
9340
9378
  },
9341
9379
  children: [
9342
- component.fields.map((field) => /* @__PURE__ */ jsx31(
9380
+ component.fields.map((field) => /* @__PURE__ */ jsx32(
9343
9381
  FormControl,
9344
9382
  {
9345
9383
  field,
@@ -9349,7 +9387,7 @@ function FormView({ className, component, onAction, onSelect }) {
9349
9387
  },
9350
9388
  field.name
9351
9389
  )),
9352
- /* @__PURE__ */ jsx31("div", { className: "aui-actions", "data-slot": "agent-ui-form-actions", children: component.actions.map((action2) => /* @__PURE__ */ jsx31(
9390
+ /* @__PURE__ */ jsx32("div", { className: "aui-actions", "data-slot": "agent-ui-form-actions", children: component.actions.map((action2) => /* @__PURE__ */ jsx32(
9353
9391
  Button2,
9354
9392
  {
9355
9393
  className: "aui-form-action",
@@ -9367,7 +9405,7 @@ function FormView({ className, component, onAction, onSelect }) {
9367
9405
  ) });
9368
9406
  }
9369
9407
  function FieldDescription({ children }) {
9370
- return children ? /* @__PURE__ */ jsx31(Description3, { "data-slot": "agent-ui-field-description", children }) : null;
9408
+ return children ? /* @__PURE__ */ jsx32(Description3, { "data-slot": "agent-ui-field-description", children }) : null;
9371
9409
  }
9372
9410
  function FormControl({
9373
9411
  field,
@@ -9376,7 +9414,7 @@ function FormControl({
9376
9414
  value
9377
9415
  }) {
9378
9416
  if (field.kind === "select")
9379
- return /* @__PURE__ */ jsx31(
9417
+ return /* @__PURE__ */ jsx32(
9380
9418
  SelectFormControl,
9381
9419
  {
9382
9420
  field,
@@ -9386,7 +9424,7 @@ function FormControl({
9386
9424
  }
9387
9425
  );
9388
9426
  if (field.kind === "radio-group")
9389
- return /* @__PURE__ */ jsxs23(
9427
+ return /* @__PURE__ */ jsxs24(
9390
9428
  RadioGroup,
9391
9429
  {
9392
9430
  isRequired: field.required,
@@ -9395,17 +9433,17 @@ function FormControl({
9395
9433
  variant: "secondary",
9396
9434
  onChange,
9397
9435
  children: [
9398
- /* @__PURE__ */ jsx31(Label3, { children: field.label }),
9399
- /* @__PURE__ */ jsx31(FieldDescription, { children: field.description }),
9400
- field.options.map((option2) => /* @__PURE__ */ jsx31(Radio, { value: option2.value, children: /* @__PURE__ */ jsxs23(Radio.Content, { children: [
9401
- /* @__PURE__ */ jsx31(Radio.Control, { children: /* @__PURE__ */ jsx31(Radio.Indicator, {}) }),
9436
+ /* @__PURE__ */ jsx32(Label3, { children: field.label }),
9437
+ /* @__PURE__ */ jsx32(FieldDescription, { children: field.description }),
9438
+ field.options.map((option2) => /* @__PURE__ */ jsx32(Radio, { value: option2.value, children: /* @__PURE__ */ jsxs24(Radio.Content, { children: [
9439
+ /* @__PURE__ */ jsx32(Radio.Control, { children: /* @__PURE__ */ jsx32(Radio.Indicator, {}) }),
9402
9440
  option2.label
9403
9441
  ] }) }, option2.value))
9404
9442
  ]
9405
9443
  }
9406
9444
  );
9407
9445
  if (field.kind === "combobox")
9408
- return /* @__PURE__ */ jsx31(
9446
+ return /* @__PURE__ */ jsx32(
9409
9447
  ComboboxFormControl,
9410
9448
  {
9411
9449
  field,
@@ -9416,7 +9454,7 @@ function FormControl({
9416
9454
  );
9417
9455
  if (field.kind === "checkbox-group") {
9418
9456
  const selected = Array.isArray(value) ? value : [];
9419
- return /* @__PURE__ */ jsxs23(
9457
+ return /* @__PURE__ */ jsxs24(
9420
9458
  CheckboxGroup,
9421
9459
  {
9422
9460
  isRequired: field.required,
@@ -9425,10 +9463,10 @@ function FormControl({
9425
9463
  variant: "secondary",
9426
9464
  onChange,
9427
9465
  children: [
9428
- /* @__PURE__ */ jsx31(Label3, { children: field.label }),
9429
- /* @__PURE__ */ jsx31(FieldDescription, { children: field.description }),
9430
- field.options.map((option2) => /* @__PURE__ */ jsx31(Checkbox2, { value: option2.value, children: /* @__PURE__ */ jsxs23(Checkbox2.Content, { children: [
9431
- /* @__PURE__ */ jsx31(Checkbox2.Control, { children: /* @__PURE__ */ jsx31(Checkbox2.Indicator, {}) }),
9466
+ /* @__PURE__ */ jsx32(Label3, { children: field.label }),
9467
+ /* @__PURE__ */ jsx32(FieldDescription, { children: field.description }),
9468
+ field.options.map((option2) => /* @__PURE__ */ jsx32(Checkbox2, { value: option2.value, children: /* @__PURE__ */ jsxs24(Checkbox2.Content, { children: [
9469
+ /* @__PURE__ */ jsx32(Checkbox2.Control, { children: /* @__PURE__ */ jsx32(Checkbox2.Indicator, {}) }),
9432
9470
  option2.label
9433
9471
  ] }) }, option2.value))
9434
9472
  ]
@@ -9436,7 +9474,7 @@ function FormControl({
9436
9474
  );
9437
9475
  }
9438
9476
  if (field.kind === "slider")
9439
- return /* @__PURE__ */ jsxs23(
9477
+ return /* @__PURE__ */ jsxs24(
9440
9478
  Slider,
9441
9479
  {
9442
9480
  maxValue: field.max,
@@ -9445,18 +9483,18 @@ function FormControl({
9445
9483
  value: Number(value),
9446
9484
  onChange: (nextValue) => onChange(Array.isArray(nextValue) ? nextValue[0] ?? field.min : nextValue),
9447
9485
  children: [
9448
- /* @__PURE__ */ jsx31(Label3, { children: field.label }),
9449
- /* @__PURE__ */ jsx31(Slider.Output, {}),
9450
- /* @__PURE__ */ jsxs23(Slider.Track, { children: [
9451
- /* @__PURE__ */ jsx31(Slider.Fill, {}),
9452
- /* @__PURE__ */ jsx31(Slider.Thumb, {})
9486
+ /* @__PURE__ */ jsx32(Label3, { children: field.label }),
9487
+ /* @__PURE__ */ jsx32(Slider.Output, {}),
9488
+ /* @__PURE__ */ jsxs24(Slider.Track, { children: [
9489
+ /* @__PURE__ */ jsx32(Slider.Fill, {}),
9490
+ /* @__PURE__ */ jsx32(Slider.Thumb, {})
9453
9491
  ] }),
9454
- /* @__PURE__ */ jsx31(FieldDescription, { children: field.description })
9492
+ /* @__PURE__ */ jsx32(FieldDescription, { children: field.description })
9455
9493
  ]
9456
9494
  }
9457
9495
  );
9458
9496
  if (field.kind === "number")
9459
- return /* @__PURE__ */ jsxs23(
9497
+ return /* @__PURE__ */ jsxs24(
9460
9498
  NumberField,
9461
9499
  {
9462
9500
  fullWidth: true,
@@ -9470,18 +9508,18 @@ function FormControl({
9470
9508
  variant: "secondary",
9471
9509
  onChange: (nextValue) => onChange(nextValue ?? field.min ?? 0),
9472
9510
  children: [
9473
- /* @__PURE__ */ jsx31(Label3, { children: field.label }),
9474
- /* @__PURE__ */ jsxs23(NumberField.Group, { children: [
9475
- /* @__PURE__ */ jsx31(NumberField.DecrementButton, {}),
9476
- /* @__PURE__ */ jsx31(NumberField.Input, { placeholder: field.placeholder }),
9477
- /* @__PURE__ */ jsx31(NumberField.IncrementButton, {})
9511
+ /* @__PURE__ */ jsx32(Label3, { children: field.label }),
9512
+ /* @__PURE__ */ jsxs24(NumberField.Group, { children: [
9513
+ /* @__PURE__ */ jsx32(NumberField.DecrementButton, {}),
9514
+ /* @__PURE__ */ jsx32(NumberField.Input, { placeholder: field.placeholder }),
9515
+ /* @__PURE__ */ jsx32(NumberField.IncrementButton, {})
9478
9516
  ] }),
9479
- /* @__PURE__ */ jsx31(FieldDescription, { children: field.description })
9517
+ /* @__PURE__ */ jsx32(FieldDescription, { children: field.description })
9480
9518
  ]
9481
9519
  }
9482
9520
  );
9483
9521
  if (field.kind === "switch")
9484
- return /* @__PURE__ */ jsxs23(
9522
+ return /* @__PURE__ */ jsxs24(
9485
9523
  Switch,
9486
9524
  {
9487
9525
  isRequired: field.required,
@@ -9489,16 +9527,16 @@ function FormControl({
9489
9527
  name: field.name,
9490
9528
  onChange,
9491
9529
  children: [
9492
- /* @__PURE__ */ jsxs23(Switch.Content, { children: [
9493
- /* @__PURE__ */ jsx31(Switch.Control, { children: /* @__PURE__ */ jsx31(Switch.Thumb, {}) }),
9530
+ /* @__PURE__ */ jsxs24(Switch.Content, { children: [
9531
+ /* @__PURE__ */ jsx32(Switch.Control, { children: /* @__PURE__ */ jsx32(Switch.Thumb, {}) }),
9494
9532
  field.label
9495
9533
  ] }),
9496
- /* @__PURE__ */ jsx31(FieldDescription, { children: field.description })
9534
+ /* @__PURE__ */ jsx32(FieldDescription, { children: field.description })
9497
9535
  ]
9498
9536
  }
9499
9537
  );
9500
9538
  if (field.kind === "date-picker")
9501
- return /* @__PURE__ */ jsx31(
9539
+ return /* @__PURE__ */ jsx32(
9502
9540
  DatePickerFormControl,
9503
9541
  {
9504
9542
  field,
@@ -9508,7 +9546,7 @@ function FormControl({
9508
9546
  }
9509
9547
  );
9510
9548
  if (field.kind === "date-range-picker")
9511
- return /* @__PURE__ */ jsx31(
9549
+ return /* @__PURE__ */ jsx32(
9512
9550
  DateRangePickerFormControl,
9513
9551
  {
9514
9552
  field,
@@ -9518,7 +9556,7 @@ function FormControl({
9518
9556
  }
9519
9557
  );
9520
9558
  if (field.kind === "time-field")
9521
- return /* @__PURE__ */ jsxs23(
9559
+ return /* @__PURE__ */ jsxs24(
9522
9560
  TimeField,
9523
9561
  {
9524
9562
  hourCycle: field.hourCycle,
@@ -9529,13 +9567,13 @@ function FormControl({
9529
9567
  value: toTimeValue(String(value)),
9530
9568
  onChange: (nextValue) => onChange(nextValue?.toString() ?? ""),
9531
9569
  children: [
9532
- /* @__PURE__ */ jsx31(Label3, { children: field.label }),
9533
- /* @__PURE__ */ jsx31(TimeField.Group, { fullWidth: true, variant: "secondary", children: /* @__PURE__ */ jsx31(TimeField.Input, { children: (segment) => /* @__PURE__ */ jsx31(TimeField.Segment, { segment }) }) }),
9534
- /* @__PURE__ */ jsx31(FieldDescription, { children: field.description })
9570
+ /* @__PURE__ */ jsx32(Label3, { children: field.label }),
9571
+ /* @__PURE__ */ jsx32(TimeField.Group, { fullWidth: true, variant: "secondary", children: /* @__PURE__ */ jsx32(TimeField.Input, { children: (segment) => /* @__PURE__ */ jsx32(TimeField.Segment, { segment }) }) }),
9572
+ /* @__PURE__ */ jsx32(FieldDescription, { children: field.description })
9535
9573
  ]
9536
9574
  }
9537
9575
  );
9538
- return /* @__PURE__ */ jsxs23(
9576
+ return /* @__PURE__ */ jsxs24(
9539
9577
  TextField,
9540
9578
  {
9541
9579
  fullWidth: true,
@@ -9546,9 +9584,9 @@ function FormControl({
9546
9584
  variant: "secondary",
9547
9585
  onChange,
9548
9586
  children: [
9549
- /* @__PURE__ */ jsx31(Label3, { children: field.label }),
9550
- field.kind === "textarea" ? /* @__PURE__ */ jsx31(TextArea, { placeholder: field.placeholder, rows: field.rows ?? 4 }) : /* @__PURE__ */ jsx31(Input, { placeholder: field.placeholder }),
9551
- /* @__PURE__ */ jsx31(FieldDescription, { children: field.description })
9587
+ /* @__PURE__ */ jsx32(Label3, { children: field.label }),
9588
+ field.kind === "textarea" ? /* @__PURE__ */ jsx32(TextArea, { placeholder: field.placeholder, rows: field.rows ?? 4 }) : /* @__PURE__ */ jsx32(Input, { placeholder: field.placeholder }),
9589
+ /* @__PURE__ */ jsx32(FieldDescription, { children: field.description })
9552
9590
  ]
9553
9591
  }
9554
9592
  );
@@ -9578,8 +9616,8 @@ function ComboboxFormControl({
9578
9616
  setInputValue(labels.get(key2) ?? "");
9579
9617
  onChange([key2]);
9580
9618
  };
9581
- return /* @__PURE__ */ jsxs23("div", { className: "aui-combobox", children: [
9582
- /* @__PURE__ */ jsxs23(
9619
+ return /* @__PURE__ */ jsxs24("div", { className: "aui-combobox", children: [
9620
+ /* @__PURE__ */ jsxs24(
9583
9621
  ComboBox,
9584
9622
  {
9585
9623
  allowsEmptyCollection: true,
@@ -9591,32 +9629,32 @@ function ComboboxFormControl({
9591
9629
  onInputChange: setInputValue,
9592
9630
  onSelectionChange: (key2) => select(key2 === null ? null : String(key2)),
9593
9631
  children: [
9594
- /* @__PURE__ */ jsx31(Label3, { children: field.label }),
9595
- /* @__PURE__ */ jsxs23(ComboBox.InputGroup, { children: [
9596
- /* @__PURE__ */ jsx31(Input, { placeholder: field.placeholder ?? "Search options\u2026" }),
9597
- /* @__PURE__ */ jsx31(ComboBox.Trigger, {})
9632
+ /* @__PURE__ */ jsx32(Label3, { children: field.label }),
9633
+ /* @__PURE__ */ jsxs24(ComboBox.InputGroup, { children: [
9634
+ /* @__PURE__ */ jsx32(Input, { placeholder: field.placeholder ?? "Search options\u2026" }),
9635
+ /* @__PURE__ */ jsx32(ComboBox.Trigger, {})
9598
9636
  ] }),
9599
- /* @__PURE__ */ jsx31(ComboBox.Popover, { UNSTABLE_portalContainer: portalContainer, children: /* @__PURE__ */ jsx31(ListBox, { renderEmptyState: () => /* @__PURE__ */ jsx31("span", { className: "aui-combobox__empty", children: "No matches" }), children: available.map((option2) => /* @__PURE__ */ jsxs23(ListBox.Item, { id: option2.value, textValue: option2.label, children: [
9637
+ /* @__PURE__ */ jsx32(ComboBox.Popover, { UNSTABLE_portalContainer: portalContainer, children: /* @__PURE__ */ jsx32(ListBox, { renderEmptyState: () => /* @__PURE__ */ jsx32("span", { className: "aui-combobox__empty", children: "No matches" }), children: available.map((option2) => /* @__PURE__ */ jsxs24(ListBox.Item, { id: option2.value, textValue: option2.label, children: [
9600
9638
  option2.label,
9601
- /* @__PURE__ */ jsx31(ListBox.ItemIndicator, {})
9639
+ /* @__PURE__ */ jsx32(ListBox.ItemIndicator, {})
9602
9640
  ] }, option2.value)) }) }),
9603
- /* @__PURE__ */ jsx31(FieldDescription, { children: field.description })
9641
+ /* @__PURE__ */ jsx32(FieldDescription, { children: field.description })
9604
9642
  ]
9605
9643
  }
9606
9644
  ),
9607
- isMultiple && value.length > 0 ? /* @__PURE__ */ jsx31(
9645
+ isMultiple && value.length > 0 ? /* @__PURE__ */ jsx32(
9608
9646
  TagGroup2,
9609
9647
  {
9610
9648
  "aria-label": `${field.label} selection`,
9611
9649
  className: "aui-combobox__selection",
9612
9650
  onRemove: (keys) => onChange(value.filter((entry) => !keys.has(entry))),
9613
- children: /* @__PURE__ */ jsx31(TagGroup2.List, { children: value.map((entry) => /* @__PURE__ */ jsxs23(Tag3, { id: entry, textValue: labels.get(entry) ?? entry, children: [
9651
+ children: /* @__PURE__ */ jsx32(TagGroup2.List, { children: value.map((entry) => /* @__PURE__ */ jsxs24(Tag3, { id: entry, textValue: labels.get(entry) ?? entry, children: [
9614
9652
  labels.get(entry) ?? entry,
9615
- /* @__PURE__ */ jsx31(Tag3.RemoveButton, {})
9653
+ /* @__PURE__ */ jsx32(Tag3.RemoveButton, {})
9616
9654
  ] }, entry)) })
9617
9655
  }
9618
9656
  ) : null,
9619
- value.map((entry) => /* @__PURE__ */ jsx31("input", { name: field.name, type: "hidden", value: entry }, entry))
9657
+ value.map((entry) => /* @__PURE__ */ jsx32("input", { name: field.name, type: "hidden", value: entry }, entry))
9620
9658
  ] });
9621
9659
  }
9622
9660
  function SelectFormControl({
@@ -9631,7 +9669,7 @@ function SelectFormControl({
9631
9669
  if (!nextOpen && Date.now() - pointerOpenAt.current < 350) return;
9632
9670
  setIsOpen(nextOpen);
9633
9671
  };
9634
- return /* @__PURE__ */ jsxs23(
9672
+ return /* @__PURE__ */ jsxs24(
9635
9673
  Select,
9636
9674
  {
9637
9675
  fullWidth: true,
@@ -9647,24 +9685,24 @@ function SelectFormControl({
9647
9685
  setIsOpen(false);
9648
9686
  },
9649
9687
  children: [
9650
- /* @__PURE__ */ jsx31(Label3, { children: field.label }),
9651
- /* @__PURE__ */ jsxs23(
9688
+ /* @__PURE__ */ jsx32(Label3, { children: field.label }),
9689
+ /* @__PURE__ */ jsxs24(
9652
9690
  Select.Trigger,
9653
9691
  {
9654
9692
  onPointerDown: () => {
9655
9693
  pointerOpenAt.current = Date.now();
9656
9694
  },
9657
9695
  children: [
9658
- /* @__PURE__ */ jsx31(Select.Value, {}),
9659
- /* @__PURE__ */ jsx31(Select.Indicator, {})
9696
+ /* @__PURE__ */ jsx32(Select.Value, {}),
9697
+ /* @__PURE__ */ jsx32(Select.Indicator, {})
9660
9698
  ]
9661
9699
  }
9662
9700
  ),
9663
- /* @__PURE__ */ jsx31(Select.Popover, { UNSTABLE_portalContainer: portalContainer, children: /* @__PURE__ */ jsx31(ListBox, { children: field.options.map((option2) => /* @__PURE__ */ jsxs23(ListBox.Item, { id: option2.value, textValue: option2.label, children: [
9701
+ /* @__PURE__ */ jsx32(Select.Popover, { UNSTABLE_portalContainer: portalContainer, children: /* @__PURE__ */ jsx32(ListBox, { children: field.options.map((option2) => /* @__PURE__ */ jsxs24(ListBox.Item, { id: option2.value, textValue: option2.label, children: [
9664
9702
  option2.label,
9665
- /* @__PURE__ */ jsx31(ListBox.ItemIndicator, {})
9703
+ /* @__PURE__ */ jsx32(ListBox.ItemIndicator, {})
9666
9704
  ] }, option2.value)) }) }),
9667
- /* @__PURE__ */ jsx31(FieldDescription, { children: field.description })
9705
+ /* @__PURE__ */ jsx32(FieldDescription, { children: field.description })
9668
9706
  ]
9669
9707
  }
9670
9708
  );
@@ -9681,7 +9719,7 @@ function DatePickerFormControl({
9681
9719
  if (!nextOpen && Date.now() - pointerOpenAt.current < 350) return;
9682
9720
  setIsOpen(nextOpen);
9683
9721
  };
9684
- return /* @__PURE__ */ jsxs23(
9722
+ return /* @__PURE__ */ jsxs24(
9685
9723
  DatePicker,
9686
9724
  {
9687
9725
  isOpen,
@@ -9696,21 +9734,21 @@ function DatePickerFormControl({
9696
9734
  setIsOpen(false);
9697
9735
  },
9698
9736
  children: [
9699
- /* @__PURE__ */ jsx31(Label3, { children: field.label }),
9700
- /* @__PURE__ */ jsxs23(DateField.Group, { fullWidth: true, variant: "secondary", children: [
9701
- /* @__PURE__ */ jsx31(DateField.Input, { children: (segment) => /* @__PURE__ */ jsx31(DateField.Segment, { segment }) }),
9702
- /* @__PURE__ */ jsx31(DateField.Suffix, { children: /* @__PURE__ */ jsx31(
9737
+ /* @__PURE__ */ jsx32(Label3, { children: field.label }),
9738
+ /* @__PURE__ */ jsxs24(DateField.Group, { fullWidth: true, variant: "secondary", children: [
9739
+ /* @__PURE__ */ jsx32(DateField.Input, { children: (segment) => /* @__PURE__ */ jsx32(DateField.Segment, { segment }) }),
9740
+ /* @__PURE__ */ jsx32(DateField.Suffix, { children: /* @__PURE__ */ jsx32(
9703
9741
  DatePicker.Trigger,
9704
9742
  {
9705
9743
  onPointerDown: () => {
9706
9744
  pointerOpenAt.current = Date.now();
9707
9745
  },
9708
- children: /* @__PURE__ */ jsx31(DatePicker.TriggerIndicator, {})
9746
+ children: /* @__PURE__ */ jsx32(DatePicker.TriggerIndicator, {})
9709
9747
  }
9710
9748
  ) })
9711
9749
  ] }),
9712
- /* @__PURE__ */ jsx31(FieldDescription, { children: field.description }),
9713
- /* @__PURE__ */ jsx31(DatePicker.Popover, { UNSTABLE_portalContainer: portalContainer, children: /* @__PURE__ */ jsx31(DatePickerCalendar, {}) })
9750
+ /* @__PURE__ */ jsx32(FieldDescription, { children: field.description }),
9751
+ /* @__PURE__ */ jsx32(DatePicker.Popover, { UNSTABLE_portalContainer: portalContainer, children: /* @__PURE__ */ jsx32(DatePickerCalendar, {}) })
9714
9752
  ]
9715
9753
  }
9716
9754
  );
@@ -9727,7 +9765,7 @@ function DateRangePickerFormControl({
9727
9765
  if (!nextOpen && Date.now() - pointerOpenAt.current < 350) return;
9728
9766
  setIsOpen(nextOpen);
9729
9767
  };
9730
- return /* @__PURE__ */ jsxs23(
9768
+ return /* @__PURE__ */ jsxs24(
9731
9769
  DateRangePicker,
9732
9770
  {
9733
9771
  endName: `${field.name}.end`,
@@ -9746,23 +9784,23 @@ function DateRangePickerFormControl({
9746
9784
  setIsOpen(false);
9747
9785
  },
9748
9786
  children: [
9749
- /* @__PURE__ */ jsx31(Label3, { children: field.label }),
9750
- /* @__PURE__ */ jsxs23(DateField.Group, { fullWidth: true, variant: "secondary", children: [
9751
- /* @__PURE__ */ jsx31(DateField.Input, { slot: "start", children: (segment) => /* @__PURE__ */ jsx31(DateField.Segment, { segment }) }),
9752
- /* @__PURE__ */ jsx31(DateRangePicker.RangeSeparator, {}),
9753
- /* @__PURE__ */ jsx31(DateField.Input, { slot: "end", children: (segment) => /* @__PURE__ */ jsx31(DateField.Segment, { segment }) }),
9754
- /* @__PURE__ */ jsx31(DateField.Suffix, { children: /* @__PURE__ */ jsx31(
9787
+ /* @__PURE__ */ jsx32(Label3, { children: field.label }),
9788
+ /* @__PURE__ */ jsxs24(DateField.Group, { fullWidth: true, variant: "secondary", children: [
9789
+ /* @__PURE__ */ jsx32(DateField.Input, { slot: "start", children: (segment) => /* @__PURE__ */ jsx32(DateField.Segment, { segment }) }),
9790
+ /* @__PURE__ */ jsx32(DateRangePicker.RangeSeparator, {}),
9791
+ /* @__PURE__ */ jsx32(DateField.Input, { slot: "end", children: (segment) => /* @__PURE__ */ jsx32(DateField.Segment, { segment }) }),
9792
+ /* @__PURE__ */ jsx32(DateField.Suffix, { children: /* @__PURE__ */ jsx32(
9755
9793
  DateRangePicker.Trigger,
9756
9794
  {
9757
9795
  onPointerDown: () => {
9758
9796
  pointerOpenAt.current = Date.now();
9759
9797
  },
9760
- children: /* @__PURE__ */ jsx31(DateRangePicker.TriggerIndicator, {})
9798
+ children: /* @__PURE__ */ jsx32(DateRangePicker.TriggerIndicator, {})
9761
9799
  }
9762
9800
  ) })
9763
9801
  ] }),
9764
- /* @__PURE__ */ jsx31(FieldDescription, { children: field.description }),
9765
- /* @__PURE__ */ jsx31(DateRangePicker.Popover, { UNSTABLE_portalContainer: portalContainer, children: /* @__PURE__ */ jsx31(DateRangePickerCalendar, { label: `Choose ${field.label.toLowerCase()}` }) })
9802
+ /* @__PURE__ */ jsx32(FieldDescription, { children: field.description }),
9803
+ /* @__PURE__ */ jsx32(DateRangePicker.Popover, { UNSTABLE_portalContainer: portalContainer, children: /* @__PURE__ */ jsx32(DateRangePickerCalendar, { label: `Choose ${field.label.toLowerCase()}` }) })
9766
9804
  ]
9767
9805
  }
9768
9806
  );
@@ -9770,17 +9808,17 @@ function DateRangePickerFormControl({
9770
9808
 
9771
9809
  // ../agent-ui/src/components/form-elements/switch-group-view.tsx
9772
9810
  import { useMemo as useMemo6, useState as useState12 } from "react";
9773
- import { jsx as jsx32, jsxs as jsxs24 } from "react/jsx-runtime";
9811
+ import { jsx as jsx33, jsxs as jsxs25 } from "react/jsx-runtime";
9774
9812
  function SwitchGroupView({ className, component, onSelect }) {
9775
9813
  const defaults = useMemo6(
9776
9814
  () => Object.fromEntries(component.items.map((item) => [item.id, item.defaultSelected ?? false])),
9777
9815
  [component.items]
9778
9816
  );
9779
9817
  const [values, setValues] = useState12({});
9780
- return /* @__PURE__ */ jsx32(Card, { className, description: component.description, title: component.title, children: /* @__PURE__ */ jsx32("div", { className: "aui-switch-group", "data-slot": "agent-ui-switch-group", children: component.items.map((item) => {
9818
+ return /* @__PURE__ */ jsx33(Card, { className, description: component.description, title: component.title, children: /* @__PURE__ */ jsx33("div", { className: "aui-switch-group", "data-slot": "agent-ui-switch-group", children: component.items.map((item) => {
9781
9819
  const selected = values[item.id] ?? defaults[item.id] ?? false;
9782
- return /* @__PURE__ */ jsxs24("label", { "data-slot": "agent-ui-switch-item", children: [
9783
- /* @__PURE__ */ jsx32(
9820
+ return /* @__PURE__ */ jsxs25("label", { "data-slot": "agent-ui-switch-item", children: [
9821
+ /* @__PURE__ */ jsx33(
9784
9822
  "input",
9785
9823
  {
9786
9824
  checked: selected,
@@ -9794,9 +9832,9 @@ function SwitchGroupView({ className, component, onSelect }) {
9794
9832
  }
9795
9833
  }
9796
9834
  ),
9797
- /* @__PURE__ */ jsxs24("span", { "data-slot": "agent-ui-switch-content", children: [
9798
- /* @__PURE__ */ jsx32("strong", { "data-slot": "agent-ui-switch-label", children: item.label }),
9799
- item.description ? /* @__PURE__ */ jsx32("small", { "data-slot": "agent-ui-switch-description", children: item.description }) : null
9835
+ /* @__PURE__ */ jsxs25("span", { "data-slot": "agent-ui-switch-content", children: [
9836
+ /* @__PURE__ */ jsx33("strong", { "data-slot": "agent-ui-switch-label", children: item.label }),
9837
+ item.description ? /* @__PURE__ */ jsx33("small", { "data-slot": "agent-ui-switch-description", children: item.description }) : null
9800
9838
  ] })
9801
9839
  ] }, item.id);
9802
9840
  }) }) });
@@ -9804,7 +9842,7 @@ function SwitchGroupView({ className, component, onSelect }) {
9804
9842
 
9805
9843
  // ../agent-ui/src/components/form-elements/toggle-group-view.tsx
9806
9844
  import { useMemo as useMemo7, useState as useState13 } from "react";
9807
- import { jsx as jsx33 } from "react/jsx-runtime";
9845
+ import { jsx as jsx34 } from "react/jsx-runtime";
9808
9846
  function ToggleGroupView({ className, component, onSelect }) {
9809
9847
  const validIds = useMemo7(
9810
9848
  () => new Set(component.items.map((item) => item.id)),
@@ -9812,7 +9850,7 @@ function ToggleGroupView({ className, component, onSelect }) {
9812
9850
  );
9813
9851
  const [selected, setSelected] = useState13(() => new Set(component.defaultValue ?? []));
9814
9852
  const active = new Set([...selected].filter((id2) => validIds.has(id2)));
9815
- return /* @__PURE__ */ jsx33(Card, { className, description: component.description, title: component.title, children: /* @__PURE__ */ jsx33("div", { className: "aui-toggle-group", "data-slot": "agent-ui-toggle-group", children: component.items.map((item) => /* @__PURE__ */ jsx33(
9853
+ return /* @__PURE__ */ jsx34(Card, { className, description: component.description, title: component.title, children: /* @__PURE__ */ jsx34("div", { className: "aui-toggle-group", "data-slot": "agent-ui-toggle-group", children: component.items.map((item) => /* @__PURE__ */ jsx34(
9816
9854
  "button",
9817
9855
  {
9818
9856
  "aria-pressed": active.has(item.id),
@@ -9838,7 +9876,7 @@ function ToggleGroupView({ className, component, onSelect }) {
9838
9876
 
9839
9877
  // ../agent-ui/src/components/primitives/primitive-views.tsx
9840
9878
  import { createElement } from "react";
9841
- import { jsx as jsx34, jsxs as jsxs25 } from "react/jsx-runtime";
9879
+ import { jsx as jsx35, jsxs as jsxs26 } from "react/jsx-runtime";
9842
9880
  var progressFormatter = new Intl.NumberFormat(void 0, { maximumFractionDigits: 0 });
9843
9881
  function HeadingView({ className, component }) {
9844
9882
  const level = component.level ?? 2;
@@ -9849,7 +9887,7 @@ function HeadingView({ className, component }) {
9849
9887
  "data-level": level,
9850
9888
  "data-slot": "agent-ui-heading"
9851
9889
  },
9852
- component.icon ? /* @__PURE__ */ jsx34(
9890
+ component.icon ? /* @__PURE__ */ jsx35(
9853
9891
  AgentIcon,
9854
9892
  {
9855
9893
  "aria-hidden": "true",
@@ -9862,7 +9900,7 @@ function HeadingView({ className, component }) {
9862
9900
  );
9863
9901
  }
9864
9902
  function ButtonView({ className, component, onAction, onSelect }) {
9865
- return /* @__PURE__ */ jsxs25(
9903
+ return /* @__PURE__ */ jsxs26(
9866
9904
  ActionButton,
9867
9905
  {
9868
9906
  className: mergeClassNames("aui-button-primitive", className),
@@ -9885,14 +9923,14 @@ function ButtonView({ className, component, onAction, onSelect }) {
9885
9923
  }
9886
9924
  },
9887
9925
  children: [
9888
- component.icon ? /* @__PURE__ */ jsx34(AgentIcon, { "aria-hidden": "true", name: component.icon }) : null,
9926
+ component.icon ? /* @__PURE__ */ jsx35(AgentIcon, { "aria-hidden": "true", name: component.icon }) : null,
9889
9927
  component.label
9890
9928
  ]
9891
9929
  }
9892
9930
  );
9893
9931
  }
9894
9932
  function BadgeView({ className, component }) {
9895
- return /* @__PURE__ */ jsx34(
9933
+ return /* @__PURE__ */ jsx35(
9896
9934
  "span",
9897
9935
  {
9898
9936
  className: mergeClassNames("aui-badge", className),
@@ -9904,23 +9942,23 @@ function BadgeView({ className, component }) {
9904
9942
  );
9905
9943
  }
9906
9944
  function IconView({ className, component }) {
9907
- return /* @__PURE__ */ jsx34(
9945
+ return /* @__PURE__ */ jsx35(
9908
9946
  "span",
9909
9947
  {
9910
9948
  className: mergeClassNames("aui-icon", className),
9911
9949
  "data-size": component.size ?? "md",
9912
9950
  "data-slot": "agent-ui-icon",
9913
9951
  "data-tone": component.tone ?? "default",
9914
- children: /* @__PURE__ */ jsx34(AgentIcon, { "aria-hidden": "true", name: component.name })
9952
+ children: /* @__PURE__ */ jsx35(AgentIcon, { "aria-hidden": "true", name: component.name })
9915
9953
  }
9916
9954
  );
9917
9955
  }
9918
9956
  function RatingView({ className, component }) {
9919
- return /* @__PURE__ */ jsx34(RatingStars, { className, count: component.count, value: component.value });
9957
+ return /* @__PURE__ */ jsx35(RatingStars, { className, count: component.count, value: component.value });
9920
9958
  }
9921
9959
  function ProgressView({ className, component }) {
9922
9960
  const value = Math.min(Math.max(component.value, 0), 100);
9923
- return /* @__PURE__ */ jsxs25(
9961
+ return /* @__PURE__ */ jsxs26(
9924
9962
  "span",
9925
9963
  {
9926
9964
  "aria-valuemax": 100,
@@ -9931,21 +9969,21 @@ function ProgressView({ className, component }) {
9931
9969
  role: "progressbar",
9932
9970
  ...component.label ? { "aria-label": component.label } : {},
9933
9971
  children: [
9934
- component.label ? /* @__PURE__ */ jsxs25("span", { className: "aui-progress__header", children: [
9935
- /* @__PURE__ */ jsx34("span", { className: "aui-progress__label", children: component.label }),
9936
- /* @__PURE__ */ jsxs25("span", { className: "aui-progress__value", children: [
9972
+ component.label ? /* @__PURE__ */ jsxs26("span", { className: "aui-progress__header", children: [
9973
+ /* @__PURE__ */ jsx35("span", { className: "aui-progress__label", children: component.label }),
9974
+ /* @__PURE__ */ jsxs26("span", { className: "aui-progress__value", children: [
9937
9975
  progressFormatter.format(value),
9938
9976
  "%"
9939
9977
  ] })
9940
9978
  ] }) : null,
9941
- /* @__PURE__ */ jsx34("span", { className: "aui-progress__track", children: /* @__PURE__ */ jsx34("span", { className: "aui-progress__fill", style: { width: `${value}%` } }) })
9979
+ /* @__PURE__ */ jsx35("span", { className: "aui-progress__track", children: /* @__PURE__ */ jsx35("span", { className: "aui-progress__fill", style: { width: `${value}%` } }) })
9942
9980
  ]
9943
9981
  }
9944
9982
  );
9945
9983
  }
9946
9984
 
9947
9985
  // ../agent-ui/src/components/component-renderer/component-renderer.tsx
9948
- import { jsx as jsx35 } from "react/jsx-runtime";
9986
+ import { jsx as jsx36 } from "react/jsx-runtime";
9949
9987
  function ComponentRenderer({
9950
9988
  cardVariant,
9951
9989
  className,
@@ -9956,7 +9994,7 @@ function ComponentRenderer({
9956
9994
  }) {
9957
9995
  const parsed = agentUIRenderableSchema.safeParse(component);
9958
9996
  if (!parsed.success) return null;
9959
- const content2 = /* @__PURE__ */ jsx35(
9997
+ const content2 = /* @__PURE__ */ jsx36(
9960
9998
  NodeRenderer,
9961
9999
  {
9962
10000
  className: mergeClassNames("aui-component", className),
@@ -9966,7 +10004,7 @@ function ComponentRenderer({
9966
10004
  onSelect
9967
10005
  }
9968
10006
  );
9969
- return cardVariant ? /* @__PURE__ */ jsx35(CardVariantProvider, { variant: cardVariant, children: content2 }) : content2;
10007
+ return cardVariant ? /* @__PURE__ */ jsx36(CardVariantProvider, { variant: cardVariant, children: content2 }) : content2;
9970
10008
  }
9971
10009
  var leafViews = {
9972
10010
  accordion: AccordionView,
@@ -10023,10 +10061,10 @@ var leafViews = {
10023
10061
  };
10024
10062
  function NodeRenderer({ className, exportFormats, node, onAction, onSelect }) {
10025
10063
  const shared = { exportFormats, onAction, onSelect };
10026
- const renderChildren = (children) => children.map((child) => /* @__PURE__ */ jsx35(NodeRenderer, { ...shared, node: child }, child.id));
10064
+ const renderChildren = (children) => children.map((child) => /* @__PURE__ */ jsx36(NodeRenderer, { ...shared, node: child }, child.id));
10027
10065
  switch (node.kind) {
10028
10066
  case "item-card":
10029
- return /* @__PURE__ */ jsx35(
10067
+ return /* @__PURE__ */ jsx36(
10030
10068
  ItemCardView,
10031
10069
  {
10032
10070
  className,
@@ -10039,44 +10077,44 @@ function NodeRenderer({ className, exportFormats, node, onAction, onSelect }) {
10039
10077
  }
10040
10078
  );
10041
10079
  case "item-card-group":
10042
- return /* @__PURE__ */ jsx35(ItemCardGroupView, { className, component: node, children: renderChildren(node.children) });
10080
+ return /* @__PURE__ */ jsx36(ItemCardGroupView, { className, component: node, children: renderChildren(node.children) });
10043
10081
  case "product-signals":
10044
- return /* @__PURE__ */ jsx35(
10082
+ return /* @__PURE__ */ jsx36(
10045
10083
  ProductSignalsView,
10046
10084
  {
10047
10085
  className,
10048
10086
  component: node,
10049
- renderPanel: (component) => /* @__PURE__ */ jsx35(CardVariantProvider, { variant: "plain", children: /* @__PURE__ */ jsx35(NodeRenderer, { ...shared, node: component }) })
10087
+ renderPanel: (component) => /* @__PURE__ */ jsx36(CardVariantProvider, { variant: "plain", children: /* @__PURE__ */ jsx36(NodeRenderer, { ...shared, node: component }) })
10050
10088
  }
10051
10089
  );
10052
10090
  case "tabs":
10053
- return /* @__PURE__ */ jsx35(
10091
+ return /* @__PURE__ */ jsx36(
10054
10092
  TabsView,
10055
10093
  {
10056
10094
  className,
10057
10095
  component: node,
10058
- renderPanel: (children) => /* @__PURE__ */ jsx35(CardVariantProvider, { variant: "plain", children: renderChildren(children) }),
10096
+ renderPanel: (children) => /* @__PURE__ */ jsx36(CardVariantProvider, { variant: "plain", children: renderChildren(children) }),
10059
10097
  onSelect
10060
10098
  }
10061
10099
  );
10062
10100
  case "dashboard":
10063
- return /* @__PURE__ */ jsx35(DashboardView, { className, component: node, children: /* @__PURE__ */ jsx35(CardVariantProvider, { variant: "plain", children: renderChildren(node.children) }) });
10101
+ return /* @__PURE__ */ jsx36(DashboardView, { className, component: node, children: /* @__PURE__ */ jsx36(CardVariantProvider, { variant: "plain", children: renderChildren(node.children) }) });
10064
10102
  case "card":
10065
- return /* @__PURE__ */ jsx35(CardContainerView, { className, component: node, children: /* @__PURE__ */ jsx35(CardVariantProvider, { variant: "plain", children: renderChildren(node.children) }) });
10103
+ return /* @__PURE__ */ jsx36(CardContainerView, { className, component: node, children: /* @__PURE__ */ jsx36(CardVariantProvider, { variant: "plain", children: renderChildren(node.children) }) });
10066
10104
  case "row":
10067
- return /* @__PURE__ */ jsx35(RowView, { className, component: node, children: renderChildren(node.children) });
10105
+ return /* @__PURE__ */ jsx36(RowView, { className, component: node, children: renderChildren(node.children) });
10068
10106
  case "col":
10069
- return /* @__PURE__ */ jsx35(ColView, { className, component: node, children: renderChildren(node.children) });
10107
+ return /* @__PURE__ */ jsx36(ColView, { className, component: node, children: renderChildren(node.children) });
10070
10108
  case "grid":
10071
- return /* @__PURE__ */ jsx35(GridView, { className, component: node, children: renderChildren(node.children) });
10109
+ return /* @__PURE__ */ jsx36(GridView, { className, component: node, children: renderChildren(node.children) });
10072
10110
  case "spacer":
10073
- return /* @__PURE__ */ jsx35(SpacerView, { className, component: node });
10111
+ return /* @__PURE__ */ jsx36(SpacerView, { className, component: node });
10074
10112
  case "divider":
10075
- return /* @__PURE__ */ jsx35(DividerView, { className, component: node });
10113
+ return /* @__PURE__ */ jsx36(DividerView, { className, component: node });
10076
10114
  case "heading":
10077
- return /* @__PURE__ */ jsx35(HeadingView, { className, component: node });
10115
+ return /* @__PURE__ */ jsx36(HeadingView, { className, component: node });
10078
10116
  case "button":
10079
- return /* @__PURE__ */ jsx35(
10117
+ return /* @__PURE__ */ jsx36(
10080
10118
  ButtonView,
10081
10119
  {
10082
10120
  className,
@@ -10086,16 +10124,16 @@ function NodeRenderer({ className, exportFormats, node, onAction, onSelect }) {
10086
10124
  }
10087
10125
  );
10088
10126
  case "badge":
10089
- return /* @__PURE__ */ jsx35(BadgeView, { className, component: node });
10127
+ return /* @__PURE__ */ jsx36(BadgeView, { className, component: node });
10090
10128
  case "icon":
10091
- return /* @__PURE__ */ jsx35(IconView, { className, component: node });
10129
+ return /* @__PURE__ */ jsx36(IconView, { className, component: node });
10092
10130
  case "rating":
10093
- return /* @__PURE__ */ jsx35(RatingView, { className, component: node });
10131
+ return /* @__PURE__ */ jsx36(RatingView, { className, component: node });
10094
10132
  case "progress":
10095
- return /* @__PURE__ */ jsx35(ProgressView, { className, component: node });
10133
+ return /* @__PURE__ */ jsx36(ProgressView, { className, component: node });
10096
10134
  default: {
10097
10135
  const View = leafViews[node.kind];
10098
- return /* @__PURE__ */ jsx35(View, { ...shared, className, component: node });
10136
+ return /* @__PURE__ */ jsx36(View, { ...shared, className, component: node });
10099
10137
  }
10100
10138
  }
10101
10139
  }