@refy-design/mobile 1.2.0 → 1.3.0

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.
package/dist/index.js CHANGED
@@ -711,7 +711,7 @@ function ConnectorCard({ logo, name: name2, status, description, meta, actions,
711
711
  // .build/src/components/EmptyState.tsx
712
712
  import { View as View7 } from "react-native";
713
713
  import { jsx as jsx9, jsxs as jsxs7 } from "react/jsx-runtime";
714
- function EmptyState({ icon, title, message, action, bordered = true, style, ...rest }) {
714
+ function EmptyState({ icon, title, message: message2, action, bordered = true, style, ...rest }) {
715
715
  const t = useRefy();
716
716
  const line4 = t.pick("--line", "--surface-container-high");
717
717
  const width = t.pick("--surface-border-width", 1);
@@ -727,7 +727,7 @@ function EmptyState({ icon, title, message, action, bordered = true, style, ...r
727
727
  children: [
728
728
  icon != null && /* @__PURE__ */ jsx9(View7, { accessibilityElementsHidden: true, importantForAccessibility: "no-hide-descendants", style: { width: 56, height: 56, alignItems: "center", justifyContent: "center", backgroundColor: t.pick("--surface-2", "--surface-container-low"), borderWidth: width, borderColor: line4, borderRadius: t.pick("--radius-lg") }, children: icon }),
729
729
  /* @__PURE__ */ jsx9(View7, { accessibilityRole: "header", children: renderText(title, { ...baseText(t, { size: 18, color: "--ink-1", family: "--font-headline", weight: "--weight-semi" }), textAlign: "center" }) }),
730
- message != null && /* @__PURE__ */ jsx9(View7, { style: { maxWidth: 36 * 7 }, children: renderText(message, { ...baseText(t, { size: t.pick("--text-sm"), color: "--ink-3" }), textAlign: "center" }) }),
730
+ message2 != null && /* @__PURE__ */ jsx9(View7, { style: { maxWidth: 36 * 7 }, children: renderText(message2, { ...baseText(t, { size: t.pick("--text-sm"), color: "--ink-3" }), textAlign: "center" }) }),
731
731
  action != null && /* @__PURE__ */ jsx9(View7, { style: { marginTop: t.pick("--space-1") }, children: action })
732
732
  ]
733
733
  }
@@ -994,12 +994,12 @@ var OAuthButton = forwardRef3(function OAuthButton2({ provider, children, ...pro
994
994
  // .build/src/components/PageHeader.tsx
995
995
  import { View as View12 } from "react-native";
996
996
  import { jsx as jsx15, jsxs as jsxs13 } from "react/jsx-runtime";
997
- function PageHeader({ eyebrow, title, lead, actions, breadcrumb, style, ...rest }) {
997
+ function PageHeader({ eyebrow, title, lead, actions, breadcrumb: breadcrumb2, style, ...rest }) {
998
998
  const t = useRefy();
999
999
  const eyebrowSize = t.pick("--text-eyebrow", 11);
1000
1000
  const titleSize = t.pick("--text-h3", 30);
1001
1001
  return /* @__PURE__ */ jsxs13(View12, { ...rest, style: [{ marginBottom: t.pick("--space-8") }, style], children: [
1002
- breadcrumb != null && /* @__PURE__ */ jsx15(View12, { style: { marginBottom: t.pick("--space-4") }, children: breadcrumb }),
1002
+ breadcrumb2 != null && /* @__PURE__ */ jsx15(View12, { style: { marginBottom: t.pick("--space-4") }, children: breadcrumb2 }),
1003
1003
  /* @__PURE__ */ jsxs13(View12, { style: { flexDirection: "row", flexWrap: "wrap", alignItems: "flex-end", justifyContent: "space-between", gap: t.pick("--space-6") }, children: [
1004
1004
  /* @__PURE__ */ jsxs13(View12, { style: { minWidth: 0, flexShrink: 1 }, children: [
1005
1005
  eyebrow != null && /* @__PURE__ */ jsx15(View12, { style: { flexDirection: "row", alignItems: "center", gap: t.pick("--space-2"), marginBottom: t.pick("--space-2") }, children: renderText(eyebrow, {
@@ -1366,7 +1366,7 @@ function Tabs({ items, value, defaultValue, onChange, variant = "underline", ori
1366
1366
  const fontSize = t.size("--tabs-font-size", t.size("--text-sm", 13));
1367
1367
  const hit = Math.max(MIN_TOUCH, t.size("--navigation-hit-height", 0));
1368
1368
  const activeItem = items.find((item) => item.id === active);
1369
- const tabs = items.map((item) => {
1369
+ const tabs2 = items.map((item) => {
1370
1370
  const on = item.id === active;
1371
1371
  const color = on ? t.pick(vertical ? "--ink-1" : "--tabs-active-foreground", "--ink-1") : t.pick("--ink-3");
1372
1372
  const weight = on ? vertical ? "--weight-semi" : t.pick("--tabs-active-weight", "--weight-medium") : "--weight-medium";
@@ -1406,7 +1406,7 @@ function Tabs({ items, value, defaultValue, onChange, variant = "underline", ori
1406
1406
  });
1407
1407
  const listStyle = vertical ? { flexDirection: "column", alignItems: "stretch", borderLeftWidth: 1, borderLeftColor: line4 } : pill ? { flexDirection: "row", gap: 2, padding: 3, borderRadius: t.pick("--radius-lg", 12), backgroundColor: t.pick("--surface-2"), alignSelf: t.pick("--tabs-pill-align", "flex-start") } : { flexDirection: "row", gap: 20, borderBottomWidth: 1, borderBottomColor: line4 };
1408
1408
  return /* @__PURE__ */ jsxs18(View18, { ...rest, style: [{ flexDirection: vertical ? "row" : "column", alignItems: vertical ? "flex-start" : "stretch", gap: vertical ? t.size("--space-5", 24) : t.size("--tabs-panel-gap", 20) }, style], children: [
1409
- vertical || wrap ? /* @__PURE__ */ jsx22(View18, { accessibilityRole: "tablist", style: [listStyle, wrap && !vertical ? { flexWrap: "wrap" } : null], children: tabs }) : /* @__PURE__ */ jsx22(ScrollView4, { horizontal: true, showsHorizontalScrollIndicator: false, accessibilityRole: "tablist", style: { flexGrow: 0, alignSelf: pill ? listStyle.alignSelf : "stretch" }, contentContainerStyle: listStyle, children: tabs }),
1409
+ vertical || wrap ? /* @__PURE__ */ jsx22(View18, { accessibilityRole: "tablist", style: [listStyle, wrap && !vertical ? { flexWrap: "wrap" } : null], children: tabs2 }) : /* @__PURE__ */ jsx22(ScrollView4, { horizontal: true, showsHorizontalScrollIndicator: false, accessibilityRole: "tablist", style: { flexGrow: 0, alignSelf: pill ? listStyle.alignSelf : "stretch" }, contentContainerStyle: listStyle, children: tabs2 }),
1410
1410
  activeItem?.content != null && /* @__PURE__ */ jsx22(View18, { style: { minWidth: 0, flex: vertical ? 1 : void 0, paddingTop: vertical ? t.size("--space-2", 8) : 0 }, children: activeItem.content })
1411
1411
  ] });
1412
1412
  }
@@ -1694,27 +1694,27 @@ var curves = {
1694
1694
  bump: curveBumpX
1695
1695
  };
1696
1696
  var resolveCurve = (curve = "natural") => typeof curve === "function" ? curve : curves[curve];
1697
- function numericScale(domain, range, axis) {
1697
+ function numericScale(domain, range2, axis) {
1698
1698
  const input = axis?.domain?.map(Number);
1699
1699
  const d = input ?? domain;
1700
1700
  if (!d.every(Number.isFinite) || d[0] >= d[1]) throw Error("O dom\xEDnio deve ter dois limites finitos em ordem crescente.");
1701
1701
  if (axis?.scale === "log" && d[0] <= 0) throw Error("A escala logar\xEDtmica exige valores e limites maiores que zero.");
1702
1702
  const scale = axis?.createScale ? axis.createScale() : axis?.scale === "log" ? scaleLog() : axis?.scale === "symlog" ? scaleSymlog() : axis?.scale === "sqrt" ? scaleSqrt() : scaleLinear();
1703
- scale.domain(d).range(range);
1703
+ scale.domain(d).range(range2);
1704
1704
  if (axis?.nice !== false && !input) scale.nice(axis?.tickCount ?? 4);
1705
1705
  if (![scale(scale.domain()[0]), scale(scale.domain()[1])].every(Number.isFinite)) throw Error("A escala configurada n\xE3o representa este dom\xEDnio.");
1706
1706
  return scale;
1707
1707
  }
1708
- function xCoordinates(values, range, axis, viewport) {
1708
+ function xCoordinates(values, range2, axis, viewport) {
1709
1709
  const unique = [...new Map(values.map((value) => [keyX(value), value])).values()];
1710
1710
  const k = viewport?.k ?? 1, offset = viewport?.x ?? 0;
1711
1711
  const numeric = unique.every((value) => typeof value === "number" || value instanceof Date);
1712
- const visible = (value, at2) => at2(value) >= range[0] - 1 && at2(value) <= range[1] + 1;
1712
+ const visible = (value, at2) => at2(value) >= range2[0] - 1 && at2(value) <= range2[1] + 1;
1713
1713
  if (!numeric) {
1714
- const band = scaleBand().domain(unique.map(keyX)).range(range.map((v) => v * k + offset)).padding(0.2);
1715
- const at2 = (value) => (band(keyX(value)) ?? range[0]) + band.bandwidth() / 2;
1714
+ const band = scaleBand().domain(unique.map(keyX)).range(range2.map((v) => v * k + offset)).padding(0.2);
1715
+ const at2 = (value) => (band(keyX(value)) ?? range2[0]) + band.bandwidth() / 2;
1716
1716
  const candidates = (axis?.tickValues ?? unique).filter((v) => visible(v, at2));
1717
- const step = Math.max(1, Math.ceil(candidates.length / Math.max(2, Math.min(axis?.tickCount ?? Infinity, (range[1] - range[0]) / 50))));
1717
+ const step = Math.max(1, Math.ceil(candidates.length / Math.max(2, Math.min(axis?.tickCount ?? Infinity, (range2[1] - range2[0]) / 50))));
1718
1718
  return {
1719
1719
  at: at2,
1720
1720
  ticks: candidates.filter((_, i) => i % step === 0),
@@ -1726,22 +1726,22 @@ function xCoordinates(values, range, axis, viewport) {
1726
1726
  if (axis?.scale === "log" && lo <= 0) throw Error("A escala logar\xEDtmica exige valores maiores que zero.");
1727
1727
  if (unique[0] instanceof Date || axis?.scale === "time") {
1728
1728
  const d = axis?.domain ?? [new Date(lo), new Date(hi === lo ? lo + 864e5 : hi)];
1729
- const base2 = scaleTime().domain(d.map((v) => new Date(v))).range(range);
1730
- const scale2 = base2.copy().domain(range.map((v) => base2.invert((v - offset) / k)));
1729
+ const base2 = scaleTime().domain(d.map((v) => new Date(v))).range(range2);
1730
+ const scale2 = base2.copy().domain(range2.map((v) => base2.invert((v - offset) / k)));
1731
1731
  const at2 = (v) => scale2(new Date(v));
1732
1732
  return {
1733
1733
  at: at2,
1734
1734
  ticks: (axis?.tickValues ?? scale2.ticks(axis?.tickCount ?? 5)).filter((v) => visible(v, at2)),
1735
- bandwidth: (range[1] - range[0]) / Math.max(1, unique.length) * 0.65 * k,
1735
+ bandwidth: (range2[1] - range2[0]) / Math.max(1, unique.length) * 0.65 * k,
1736
1736
  invert: (pixel) => scale2.invert(pixel)
1737
1737
  };
1738
1738
  }
1739
- const base = numericScale([lo, hi === lo ? lo + 1 : hi], range, axis), scale = base.copy().domain(range.map((v) => base.invert((v - offset) / k)));
1739
+ const base = numericScale([lo, hi === lo ? lo + 1 : hi], range2, axis), scale = base.copy().domain(range2.map((v) => base.invert((v - offset) / k)));
1740
1740
  const at = (v) => scale(Number(v));
1741
1741
  return {
1742
1742
  at,
1743
1743
  ticks: (axis?.tickValues ?? scale.ticks(axis?.tickCount ?? 5)).filter((v) => visible(v, at)),
1744
- bandwidth: (range[1] - range[0]) / Math.max(1, unique.length) * 0.65 * k,
1744
+ bandwidth: (range2[1] - range2[0]) / Math.max(1, unique.length) * 0.65 * k,
1745
1745
  invert: (pixel) => scale.invert(pixel)
1746
1746
  };
1747
1747
  }
@@ -1753,528 +1753,588 @@ function uniqueIds(items) {
1753
1753
  }
1754
1754
 
1755
1755
  // .build/src/messages/en.ts
1756
- var en = {
1757
- activityTimeline: {
1758
- title: "Activity",
1759
- emptyTitle: "No activity yet",
1760
- emptyMessage: "Activity will show up here as it happens.",
1761
- loadError: "Could not load the history",
1762
- retry: "Try again",
1763
- label: "Activity history"
1764
- },
1765
- alertDialog: {
1766
- confirm: "Confirm",
1767
- cancel: "Cancel"
1768
- },
1769
- appShell: {
1770
- openNavigation: "Open navigation",
1771
- navigation: "Navigation"
1772
- },
1773
- approvalWorkbench: {
1774
- label: "Review items",
1775
- notStarted: "Not started",
1776
- inProgress: "In review",
1777
- complete: "Done",
1778
- summary: (done, total) => `${done} of ${total} done`,
1779
- progress: (done, total) => `Review progress: ${done} of ${total} items done`
1780
- },
1781
- avatarGroup: {
1782
- more: (n) => `${n} more ${n === 1 ? "person" : "people"}`
1783
- },
1784
- billingCard: {
1785
- nextCharge: "Next charge"
1786
- },
1787
- breadcrumb: {
1788
- label: "Breadcrumb",
1789
- home: "Home",
1790
- showHidden: "Show hidden path"
1791
- },
1792
- calendar: {
1793
- previousMonth: "Previous month",
1794
- nextMonth: "Next month"
1795
- },
1796
- callout: {
1797
- dismiss: "Dismiss notice"
1798
- },
1799
- carousel: {
1800
- label: "Featured content",
1801
- slide: (n, total, label) => `${n} of ${total}: ${label}`,
1802
- empty: "No content available.",
1803
- previous: "Previous item",
1804
- next: "Next item",
1805
- position: (n, total) => `${n} of ${total}`
1806
- },
1807
- charts: {
1808
- keyboardHelp: "Use the arrows to explore points, Home and End for start and end. The data is also available as a table.",
1809
- noData: "No data for this period.",
1810
- selectSeries: "Select a series in the legend.",
1811
- reference: "Reference",
1812
- values: "Values",
1813
- legend: (title) => `Legend for ${title}`,
1814
- series: (n) => `Series ${n}`,
1815
- viewData: (title) => `View data for ${title}`,
1816
- dataOf: (title) => `Data for ${title}`
1817
- },
1818
- codeBlock: {
1819
- copy: "Copy code",
1820
- copied: "Copied",
1821
- reveal: "Reveal value",
1822
- hide: "Hide value"
1823
- },
1824
- combobox: {
1825
- empty: "No results",
1826
- placeholder: "Search\u2026",
1827
- clear: "Clear"
1828
- },
1829
- command: {
1830
- placeholder: "Search commands\u2026",
1831
- empty: "No results",
1832
- label: "Command palette",
1833
- results: "Results"
1834
- },
1835
- common: {
1836
- close: "Close",
1837
- panel: "Panel"
1838
- },
1839
- contextMenu: {
1840
- label: "Context menu"
1841
- },
1842
- coverflow: {
1843
- label: "Browse content",
1844
- empty: "No content available."
1845
- },
1846
- d3Chart: {
1847
- cyclicSankey: "Sankey does not accept cycles in links.",
1848
- cannotRender: "These data cannot be drawn.",
1849
- zoomIn: "Zoom in",
1850
- zoomOut: "Zoom out",
1851
- previous: "Previous",
1852
- next: "Next",
1853
- resetView: "Reset view",
1854
- brushHint: "Drag to select a range",
1855
- visibleRange: "Visible range",
1856
- clearRange: "Clear range",
1857
- keyboardHelp: "Use arrows, Home and End to explore. Enter or Space select; Escape clears. Data is available in the table.",
1858
- reactivate: "Turn a series back on in the legend to see its data.",
1859
- nothingToDraw: "No data to draw.",
1860
- navigate: (title) => `Navigate ${title}`,
1861
- rangeOf: (title) => `Range of ${title}`,
1862
- frequency: "Frequency",
1863
- region: (n) => `Region ${n}`,
1864
- value: "Value",
1865
- series: "Series",
1866
- size: "Size",
1867
- level: "Level",
1868
- minimum: "Minimum",
1869
- median: "Median",
1870
- maximum: "Maximum",
1871
- outliers: "Outliers",
1872
- none: "None",
1873
- open: "Open",
1874
- close: "Close",
1875
- low: "Low",
1876
- high: "High",
1877
- percent: "Percent",
1878
- flow: "Flow",
1879
- connections: "Connections",
1880
- item: "Item",
1881
- data: "Data"
1882
- },
1883
- datePicker: {
1884
- calendar: (label) => `Calendar: ${label}`,
1885
- clear: "Clear date",
1886
- choose: "Choose date"
1887
- },
1888
- deviceFrame: {
1889
- page: "Page"
1890
- },
1891
- fabMenu: {
1892
- open: "Open actions",
1893
- close: "Close actions"
1894
- },
1895
- fileUpload: {
1896
- label: "Add files",
1897
- hint: "Drag files here or choose them from your device.",
1898
- notAdded: "File not added",
1899
- sent: "Uploaded",
1900
- done: "Upload complete.",
1901
- tooLarge: (name2, limit) => `${name2} is over the ${limit} MB limit.`,
1902
- uploadOf: (name2) => `Upload of ${name2}`,
1903
- remove: (name2) => `Remove ${name2}`,
1904
- sending: (n) => `Uploading ${n} ${n === 1 ? "file" : "files"}.`,
1905
- sendingProgress: (n, percent) => `Uploading ${n} ${n === 1 ? "file" : "files"}: ${percent}%.`,
1906
- selected: (n) => `${n} ${n === 1 ? "file" : "files"} selected.`,
1907
- fileType: "FILE",
1908
- choose: (multiple) => multiple ? "Choose files" : "Choose file",
1909
- selectedList: "Selected files"
1910
- },
1911
- geoAreaPicker: {
1912
- mapLabel: "Search area map",
1913
- label: "Search area selection",
1914
- mapError: "Could not update the map",
1915
- mapUnavailable: "Map unavailable",
1916
- mapFallback: "You can finish the whole selection with the lists beside it.",
1917
- mainArea: "main area",
1918
- nearbyIncluded: "Nearby neighborhoods included",
1919
- addReached: "Add a neighborhood in range\u2026",
1920
- explanation: "The radius only suggests neighbors. Only the neighborhoods in \u201CIn your search\u201D count for the ranking.",
1921
- inSearch: "In your search",
1922
- inSearchHint: "The search only considers the selected areas.",
1923
- includedLabel: "Included neighborhoods",
1924
- mainNeighborhood: "Main neighborhood",
1925
- main: "Main",
1926
- included: "Included",
1927
- outside: "Outside the search",
1928
- outsideHint: "In range, but not used for the ranking.",
1929
- excludedLabel: "Excluded neighborhoods",
1930
- allIncluded: "Every neighborhood in range is in the search.",
1931
- none: "no neighborhood",
1932
- surroundings: (area4) => `Around ${area4}`,
1933
- inRadius: (n) => `${n} ${n === 1 ? "neighborhood" : "neighborhoods"} in the current radius`,
1934
- distance: (km2) => `${km2} km from the main neighborhood`,
1935
- isMain: (name2) => `${name2} is the main neighborhood`,
1936
- removeFrom: (name2) => `Remove ${name2} from the search`,
1937
- addTo: (name2) => `Add ${name2} to the search`,
1938
- summary: (areas, left) => `Searching in ${areas}; ${left} left out.`,
1939
- include: "Include"
1940
- },
1941
- guidedTour: {
1942
- close: "Close tour",
1943
- back: "Back",
1944
- finish: "Finish",
1945
- next: "Next",
1946
- position: (n, total) => `${n} of ${total}`,
1947
- step: (n, total) => `Step ${n} of ${total}`
1948
- },
1949
- helpField: {
1950
- help: (label) => `Help: ${label}`,
1951
- learnMore: "Learn more"
1952
- },
1953
- helpMenu: {
1954
- label: "Help",
1955
- docs: "Documentation",
1956
- shortcuts: "Keyboard shortcuts",
1957
- support: "Contact support"
1958
- },
1959
- intentComposer: {
1960
- label: "Tell us what you are looking for",
1961
- placeholder: "E.g. organize a collection of references and documents to share with my team\u2026",
1962
- submit: "Continue",
1963
- error: "We could not understand part of the request. Adjust the text and try again.",
1964
- composer: "Request composer",
1965
- needContext: "We need a bit more context",
1966
- examples: "Request examples",
1967
- tryThis: "Try:",
1968
- voice: "Describe by voice",
1969
- organizing: "Organizing what you told us",
1970
- organizingHint: "We are turning the text into criteria you can review.",
1971
- selectGroup: (group) => `Select ${group}\u2026`,
1972
- initialFilters: "Initial filters",
1973
- understood: "Here is what I understood",
1974
- reviewDetails: "Review details",
1975
- understanding: "Understanding\u2026",
1976
- editRequest: "Edit request",
1977
- processing: "Processing the request"
1978
- },
1979
- kanbanBoard: {
1980
- label: "Kanban board",
1981
- unavailable: "Stage unavailable.",
1982
- notAllowed: "Move not allowed from this stage.",
1983
- staleCancel: "Move cancelled: the card changed outside this gesture.",
1984
- cancelled: "Move cancelled.",
1985
- picked: "Card picked. Use the arrows to choose the stage, Enter to drop and Escape to cancel.",
1986
- instructions: "Drag by the handle. With the keyboard, press Enter to pick up, \u2190 \u2192 to choose the stage and Enter to drop. Escape cancels.",
1987
- stageActions: "Stage actions",
1988
- addCard: "Add card",
1989
- dragTitle: "Drag card; Enter lets you move it with the keyboard",
1990
- cardActions: "Card actions",
1991
- openDetails: "Open details",
1992
- moveFirst: "Move to the start of this stage",
1993
- moveLast: "Move to the end of this stage",
1994
- emptyFilter: "No card for this filter.",
1995
- emptyStage: "No card in this stage.",
1996
- noDescription: "No description.",
1997
- card: "Card",
1998
- chosenStage: "the chosen stage",
1999
- thisStage: "this stage",
2000
- stage: "stage",
2001
- wipReached: (limit) => `WIP limit of ${limit} reached.`,
2002
- moved: (card, stage) => `${card} moved to ${stage}.`,
2003
- dropTo: (stage) => `Drop to move to ${stage}.`,
2004
- target: (stage) => `Target: ${stage}. Press Enter to confirm.`,
2005
- count: (n, limit) => `${n} cards${limit === void 0 ? "" : `, WIP limit ${limit}`}`,
2006
- stageActionsOf: (stage) => `Actions for stage ${stage}`,
2007
- addCardTo: (stage) => `Add card to ${stage}`,
2008
- drag: (card) => `Drag ${card}`,
2009
- moveTo: "Move to",
2010
- actionsOf: (card) => `Actions for ${card}`
2011
- },
2012
- matrix2x2: {
2013
- xLabel: "Effort \u2192",
2014
- yLabel: "Impact \u2192",
2015
- high: "High priority",
2016
- low: "Low priority",
2017
- aria: (y, x, n) => `Matrix of ${y} by ${x}: ${n} items`
2018
- },
2019
- menu: {
2020
- label: "Actions"
2021
- },
2022
- menubar: {
2023
- label: "Menu bar"
2024
- },
2025
- message: {
2026
- from: (author) => `Message from ${author}`
2027
- },
2028
- messageScroller: {
2029
- label: "Message history",
2030
- latest: "Jump to recent messages"
2031
- },
2032
- modal: {
2033
- label: "Modal window"
2034
- },
2035
- multiselect: {
2036
- empty: "No options",
2037
- placeholder: "Add\u2026",
2038
- close: "Close options",
2039
- open: "Open options",
2040
- remove: (label) => `Remove ${label}`,
2041
- hidden: (n) => `${n} more options selected. Open options`
2042
- },
2043
- navigationMenu: {
2044
- label: "Main navigation"
2045
- },
2046
- notificationBell: {
2047
- title: "Notifications",
2048
- empty: "No notifications",
2049
- markAll: "Mark all as read",
2050
- unread: (n) => `Notifications: ${n} unread`
2051
- },
2052
- oauthButton: {
2053
- continueWith: (provider) => `Continue with ${provider}`
2054
- },
2055
- otp: {
2056
- label: "Verification code",
2057
- digit: (i, n) => `Digit ${i} of ${n}`
2058
- },
2059
- pagination: {
2060
- label: "Pagination",
2061
- prev: "Previous page",
2062
- next: "Next page",
2063
- page: (p) => `Page ${p}`
2064
- },
2065
- phoneInput: {
2066
- country: "Country and calling code"
2067
- },
2068
- planCard: {
2069
- current: "Current plan",
2070
- recommended: "Recommended"
2071
- },
2072
- postalCodeInput: {
2073
- invalid: "Enter a postal code with 8 digits.",
2074
- searching: "Looking up the address.",
2075
- notFound: "Postal code not found. Check the digits and try again.",
2076
- failed: "Could not look up the postal code. Try again.",
2077
- loading: "Searching",
2078
- search: "Look up",
2079
- found: (city, state) => `Address found in ${city}, ${state}.`
2080
- },
2081
- propertyActionGroup: {
2082
- reject: "Discard",
2083
- save: "Save",
2084
- visit: "Select",
2085
- unavailable: "Actions for this item are unavailable.",
2086
- idle: "Choose what to do with this item.",
2087
- group: "Decisions about the item",
2088
- processing: (action) => `${action}: processing\u2026`,
2089
- completed: (action) => `${action}: done.`
2090
- },
2091
- propertyCard: {
2092
- badges: "Content highlights",
2093
- compatShort: "match",
2094
- compatibility: "match",
2095
- compatAria: (n) => `Match score: ${n}%`
2096
- },
2097
- propertyMedia: {
2098
- label: "Media gallery",
2099
- carousel: "carousel",
2100
- loading: "Loading photo",
2101
- unavailable: "Photo unavailable",
2102
- error: "This image could not be loaded.",
2103
- prev: "Previous photo",
2104
- next: "Next photo",
2105
- choose: "Choose photo",
2106
- retry: "Try again",
2107
- show: (i, n) => `Show photo ${i} of ${n}`,
2108
- position: (i, n) => `Photo ${i} of ${n}`
2109
- },
2110
- questionnaire: {
2111
- empty: "No question available.",
2112
- sent: "Answers sent.",
2113
- review: "Review answers",
2114
- required: "Answer to continue.",
2115
- progress: "Questionnaire progress",
2116
- back: "Back",
2117
- submit: "Send answers",
2118
- next: "Continue",
2119
- step: (i, n) => `Question ${i} of ${n}`
2120
- },
2121
- range: {
2122
- value: "value",
2123
- min: "minimum",
2124
- max: "maximum"
2125
- },
2126
- resizable: {
2127
- label: "Size of the first panel"
2128
- },
2129
- settingsSubnav: {
2130
- label: "Settings"
2131
- },
2132
- sidebar: {
2133
- expand: "Expand menu",
2134
- collapse: "Collapse menu",
2135
- switchWorkspace: "Switch workspace",
2136
- currentWorkspace: "Current workspace",
2137
- account: (name2) => `${name2}'s account`
2138
- },
2139
- spinner: {
2140
- loading: "Loading"
2141
- },
2142
- splitButton: {
2143
- loading: "Processing\u2026",
2144
- more: "More options"
2145
- },
2146
- stat: {
2147
- up: " (trending up)",
2148
- down: " (trending down)"
2149
- },
2150
- swipeDeck: {
2151
- title: "Review content",
2152
- doneTitle: "All items reviewed",
2153
- doneMessage: "You reached the end of the queue. Start over to try the decisions again.",
2154
- restart: "Restart queue",
2155
- queue: "Review queue",
2156
- photosHint: "Photos: use the arrows on the image.",
2157
- gestureHint: "Decisions: drag the card left (discard) or right (select), or use the buttons below.",
2158
- buttonsHint: "Decisions: use the buttons below.",
2159
- recording: "Recording decision\u2026",
2160
- keyboardHint: "With the card focused: \u2190 discards, \u2192 selects. To save, use the Save button.",
2161
- rejected: "Discarded",
2162
- saved: "Saved",
2163
- selected: "Selected",
2164
- remaining: (n) => `${n} after this one`,
2165
- item: (i, n) => `Item ${i} of ${n}`,
2166
- decision: (action, i, n) => `${action}: item ${i} of ${n}.`
2167
- },
2168
- table: {
2169
- search: "Search\u2026",
2170
- of: "of",
2171
- filters: "Filters",
2172
- clear: "Clear",
2173
- clearFilters: "Clear filters",
2174
- noMatch: "Nothing matches the current filters.",
2175
- empty: "Nothing here yet.",
2176
- perPage: "Per page",
2177
- perPageLabel: "Rows per page",
2178
- filterBy: (label) => `Filter by ${label}`
2179
- },
2180
- tableOfContents: {
2181
- label: "On this page"
2182
- },
2183
- tabs: {
2184
- completeAria: "Status: complete",
2185
- attentionAria: "Status: needs attention",
2186
- complete: "Complete",
2187
- attention: "Needs attention"
2188
- },
2189
- timeline: {
2190
- empty: "Add the key milestones of this journey.",
2191
- emptyTitle: "No milestones yet",
2192
- label: "Journey milestones",
2193
- scroll: "Milestones, scroll to see the sequence",
2194
- completed: "Done",
2195
- current: "In progress",
2196
- planned: "Planned"
2197
- },
2198
- topbar: {
2199
- search: "Search projects, people, files\u2026",
2200
- viewMode: "View mode"
2201
- },
2202
- trace: {
2203
- label: "Run steps",
2204
- pending: "Waiting",
2205
- running: "Running",
2206
- complete: "Done",
2207
- error: "Error"
2208
- },
2209
- usageMeter: {
2210
- of: "of"
2211
- },
2212
- userMenu: {
2213
- profile: "Profile",
2214
- settings: "Settings",
2215
- logout: "Sign out",
2216
- account: (name2) => `${name2}'s account`
2217
- },
2218
- visitSchedulePicker: {
2219
- label: "Choose availability for a visit",
2220
- chooseDays: "Choose the days",
2221
- chooseDaysHint: "Click more than one date to build your options.",
2222
- selectedDays: "Selected days",
2223
- selectedDaysHint: "Switch the day to set different times.",
2224
- editingDay: "Day being edited",
2225
- times: "Available times",
2226
- timesHint: "From 8 a.m. to 7 p.m., in 30-minute slots.",
2227
- summary: "Your availability",
2228
- summaryHint: "Select the time ranges available for booking.",
2229
- pickTimes: "Choose the times",
2230
- days: (n) => `${n} day${n === 1 ? "" : "s"}`,
2231
- slots: (n) => `${n} time${n === 1 ? "" : "s"}`,
2232
- timezone: (tz) => `time zone ${tz}`,
2233
- timesOf: (date) => `Times on ${date}`,
2234
- withTime: (n) => `${n} with times`,
2235
- shownIn: (tz) => `Times shown in ${tz}.`
2236
- },
2237
- voiceRecorder: {
2238
- error: "Check the browser permission or continue with the keyboard.",
2239
- errorTitle: "We could not access the microphone",
2240
- retry: "Try again",
2241
- useDictation: "Use dictation",
2242
- fallbackTitle: "Use your phone's dictation",
2243
- gotIt: "Got it",
2244
- fallbackHint: "Tap the microphone on the keyboard. The text shows up in the field and stays editable before you send it.",
2245
- start: "Start voice recording",
2246
- prefer: "Rather speak?",
2247
- preferHint: "Say it your way. You review the text before continuing.",
2248
- panel: "Voice recording",
2249
- listening: "Listening to you",
2250
- paused: "Recording paused",
2251
- listeningHint: "Speak normally. The text appears as you talk.",
2252
- pausedHint: "Resume when you are ready.",
2253
- micPaused: "Microphone paused",
2254
- cancel: "Cancel",
2255
- pause: "Pause recording",
2256
- resume: "Resume recording",
2257
- finish: "Done",
2258
- level: (n) => `Microphone level: ${n}%`
2259
- },
2260
- wizardStepper: {
2261
- label: "Progress",
2262
- back: "Back to previous step",
2263
- step: "Step",
2264
- complete: "done",
2265
- current: "current step",
2266
- notStarted: "not started",
2267
- position: (label, i, n) => `${label}: step ${i} of ${n}`,
2268
- count: (i, n) => `${i} of ${n}`
2269
- },
2270
- workspaceSwitcher: {
2271
- search: "Search workspace",
2272
- searchPlaceholder: "Search workspace\u2026",
2273
- list: "Workspaces",
2274
- empty: "No workspace",
2275
- current: (name2) => `Current workspace: ${name2}. Switch workspace`
2276
- }
1756
+ var activityTimeline = {
1757
+ title: "Activity",
1758
+ emptyTitle: "No activity yet",
1759
+ emptyMessage: "Activity will show up here as it happens.",
1760
+ loadError: "Could not load the history",
1761
+ retry: "Try again",
1762
+ label: "Activity history"
1763
+ };
1764
+ var alertDialog = {
1765
+ confirm: "Confirm",
1766
+ cancel: "Cancel"
1767
+ };
1768
+ var appShell = {
1769
+ openNavigation: "Open navigation",
1770
+ navigation: "Navigation"
1771
+ };
1772
+ var approvalWorkbench = {
1773
+ label: "Review items",
1774
+ notStarted: "Not started",
1775
+ inProgress: "In review",
1776
+ complete: "Done",
1777
+ summary: (done, total) => `${done} of ${total} done`,
1778
+ progress: (done, total) => `Review progress: ${done} of ${total} items done`
1779
+ };
1780
+ var avatarGroup = {
1781
+ more: (n) => `${n} more ${n === 1 ? "person" : "people"}`,
1782
+ people: (n) => `${n} people`
1783
+ };
1784
+ var billingCard = {
1785
+ nextCharge: "Next charge"
1786
+ };
1787
+ var breadcrumb = {
1788
+ label: "Breadcrumb",
1789
+ home: "Home",
1790
+ showHidden: "Show hidden path"
1791
+ };
1792
+ var calendar = {
1793
+ previousMonth: "Previous month",
1794
+ nextMonth: "Next month"
1795
+ };
1796
+ var callout = {
1797
+ dismiss: "Dismiss notice"
1798
+ };
1799
+ var carousel = {
1800
+ label: "Featured content",
1801
+ slide: (n, total, label) => `${n} of ${total}: ${label}`,
1802
+ empty: "No content available.",
1803
+ previous: "Previous item",
1804
+ next: "Next item",
1805
+ position: (n, total) => `${n} of ${total}`
1806
+ };
1807
+ var charts = {
1808
+ keyboardHelp: "Use the arrows to explore points, Home and End for start and end. The data is also available as a table.",
1809
+ noData: "No data for this period.",
1810
+ selectSeries: "Select a series in the legend.",
1811
+ reference: "Reference",
1812
+ values: "Values",
1813
+ legend: (title) => `Legend for ${title}`,
1814
+ series: (n) => `Series ${n}`,
1815
+ viewData: (title) => `View data for ${title}`,
1816
+ dataOf: (title) => `Data for ${title}`
1817
+ };
1818
+ var codeBlock = {
1819
+ copy: "Copy code",
1820
+ copied: "Copied",
1821
+ reveal: "Reveal value",
1822
+ hide: "Hide value"
1823
+ };
1824
+ var combobox = {
1825
+ empty: "No results",
1826
+ placeholder: "Search\u2026",
1827
+ clear: "Clear"
1828
+ };
1829
+ var command = {
1830
+ placeholder: "Search commands\u2026",
1831
+ empty: "No results",
1832
+ label: "Command palette",
1833
+ results: "Results"
1834
+ };
1835
+ var common = {
1836
+ close: "Close",
1837
+ panel: "Panel"
1838
+ };
1839
+ var contextMenu = {
1840
+ label: "Context menu"
1841
+ };
1842
+ var colorField = {
1843
+ hex: "in hexadecimal",
1844
+ invalid: "Use a hexadecimal color such as #2163AD.",
1845
+ hue: "Hue",
1846
+ saturation: "Saturation",
1847
+ lightness: "Lightness",
1848
+ presets: "Theme colors",
1849
+ picker: (label) => `${label}: color picker`,
1850
+ open: (label, hex) => `${label}: ${hex}. Open the color picker`
1851
+ };
1852
+ var coverflow = {
1853
+ label: "Browse content",
1854
+ empty: "No content available.",
1855
+ pause: "Pause automatic advance"
1856
+ };
1857
+ var d3Chart = {
1858
+ cyclicSankey: "Sankey does not accept cycles in links.",
1859
+ cannotRender: "These data cannot be drawn.",
1860
+ zoomIn: "Zoom in",
1861
+ zoomOut: "Zoom out",
1862
+ previous: "Previous",
1863
+ next: "Next",
1864
+ resetView: "Reset view",
1865
+ brushHint: "Drag to select a range",
1866
+ visibleRange: "Visible range",
1867
+ clearRange: "Clear range",
1868
+ keyboardHelp: "Use arrows, Home and End to explore. Enter or Space select; Escape clears. Data is available in the table.",
1869
+ reactivate: "Turn a series back on in the legend to see its data.",
1870
+ nothingToDraw: "No data to draw.",
1871
+ navigate: (title) => `Navigate ${title}`,
1872
+ rangeOf: (title) => `Range of ${title}`,
1873
+ frequency: "Frequency",
1874
+ region: (n) => `Region ${n}`,
1875
+ value: "Value",
1876
+ series: "Series",
1877
+ size: "Size",
1878
+ level: "Level",
1879
+ minimum: "Minimum",
1880
+ median: "Median",
1881
+ maximum: "Maximum",
1882
+ outliers: "Outliers",
1883
+ none: "None",
1884
+ open: "Open",
1885
+ close: "Close",
1886
+ low: "Low",
1887
+ high: "High",
1888
+ percent: "Percent",
1889
+ flow: "Flow",
1890
+ connections: "Connections",
1891
+ item: "Item",
1892
+ data: "Data"
1893
+ };
1894
+ var datePicker = {
1895
+ calendar: (label) => `Calendar: ${label}`,
1896
+ clear: "Clear date",
1897
+ choose: "Choose date"
1898
+ };
1899
+ var deviceFrame = {
1900
+ page: "Page"
1901
+ };
1902
+ var fabMenu = {
1903
+ open: "Open actions",
1904
+ close: "Close actions"
1905
+ };
1906
+ var fileUpload = {
1907
+ label: "Add files",
1908
+ hint: "Drag files here or choose them from your device.",
1909
+ notAdded: "File not added",
1910
+ sent: "Uploaded",
1911
+ done: "Upload complete.",
1912
+ tooLarge: (name2, limit) => `${name2} is over the ${limit} MB limit.`,
1913
+ uploadOf: (name2) => `Upload of ${name2}`,
1914
+ remove: (name2) => `Remove ${name2}`,
1915
+ sending: (n) => `Uploading ${n} ${n === 1 ? "file" : "files"}.`,
1916
+ sendingProgress: (n, percent) => `Uploading ${n} ${n === 1 ? "file" : "files"}: ${percent}%.`,
1917
+ selected: (n) => `${n} ${n === 1 ? "file" : "files"} selected.`,
1918
+ fileType: "FILE",
1919
+ choose: (multiple) => multiple ? "Choose files" : "Choose file",
1920
+ selectedList: "Selected files"
1921
+ };
1922
+ var geoAreaPicker = {
1923
+ mapLabel: "Search area map",
1924
+ label: "Search area selection",
1925
+ mapError: "Could not update the map",
1926
+ mapUnavailable: "Map unavailable",
1927
+ mapFallback: "You can finish the whole selection with the lists beside it.",
1928
+ mainArea: "main area",
1929
+ nearbyIncluded: "Nearby neighborhoods included",
1930
+ addReached: "Add a neighborhood in range\u2026",
1931
+ explanation: "The radius only suggests neighbors. Only the neighborhoods in \u201CIn your search\u201D count for the ranking.",
1932
+ inSearch: "In your search",
1933
+ inSearchHint: "The search only considers the selected areas.",
1934
+ includedLabel: "Included neighborhoods",
1935
+ mainNeighborhood: "Main neighborhood",
1936
+ main: "Main",
1937
+ included: "Included",
1938
+ outside: "Outside the search",
1939
+ outsideHint: "In range, but not used for the ranking.",
1940
+ excludedLabel: "Excluded neighborhoods",
1941
+ allIncluded: "Every neighborhood in range is in the search.",
1942
+ none: "no neighborhood",
1943
+ surroundings: (area4) => `Around ${area4}`,
1944
+ inRadius: (n) => `${n} ${n === 1 ? "neighborhood" : "neighborhoods"} in the current radius`,
1945
+ distance: (km2) => `${km2} km from the main neighborhood`,
1946
+ isMain: (name2) => `${name2} is the main neighborhood`,
1947
+ removeFrom: (name2) => `Remove ${name2} from the search`,
1948
+ addTo: (name2) => `Add ${name2} to the search`,
1949
+ summary: (areas, left) => `Searching in ${areas}; ${left} left out.`,
1950
+ include: "Include"
1951
+ };
1952
+ var guidedTour = {
1953
+ close: "Close tour",
1954
+ back: "Back",
1955
+ finish: "Finish",
1956
+ next: "Next",
1957
+ position: (n, total) => `${n} of ${total}`,
1958
+ step: (n, total) => `Step ${n} of ${total}`
1959
+ };
1960
+ var helpField = {
1961
+ help: (label) => `Help: ${label}`,
1962
+ learnMore: "Learn more"
1963
+ };
1964
+ var helpMenu = {
1965
+ label: "Help",
1966
+ docs: "Documentation",
1967
+ shortcuts: "Keyboard shortcuts",
1968
+ support: "Contact support"
1969
+ };
1970
+ var intentComposer = {
1971
+ label: "Tell us what you are looking for",
1972
+ placeholder: "E.g. organize a collection of references and documents to share with my team\u2026",
1973
+ submit: "Continue",
1974
+ error: "We could not understand part of the request. Adjust the text and try again.",
1975
+ composer: "Request composer",
1976
+ needContext: "We need a bit more context",
1977
+ examples: "Request examples",
1978
+ tryThis: "Try:",
1979
+ voice: "Describe by voice",
1980
+ organizing: "Organizing what you told us",
1981
+ organizingHint: "We are turning the text into criteria you can review.",
1982
+ selectGroup: (group) => `Select ${group}\u2026`,
1983
+ initialFilters: "Initial filters",
1984
+ understood: "Here is what I understood",
1985
+ reviewDetails: "Review details",
1986
+ understanding: "Understanding\u2026",
1987
+ editRequest: "Edit request",
1988
+ processing: "Processing the request"
1989
+ };
1990
+ var kanbanBoard = {
1991
+ label: "Kanban board",
1992
+ unavailable: "Stage unavailable.",
1993
+ notAllowed: "Move not allowed from this stage.",
1994
+ staleCancel: "Move cancelled: the card changed outside this gesture.",
1995
+ cancelled: "Move cancelled.",
1996
+ picked: "Card picked. Use the arrows to choose the stage, Enter to drop and Escape to cancel.",
1997
+ instructions: "Drag by the handle. With the keyboard, press Enter to pick up, \u2190 \u2192 to choose the stage and Enter to drop. Escape cancels.",
1998
+ stageActions: "Stage actions",
1999
+ addCard: "Add card",
2000
+ dragTitle: "Drag card; Enter lets you move it with the keyboard",
2001
+ cardActions: "Card actions",
2002
+ openDetails: "Open details",
2003
+ moveFirst: "Move to the start of this stage",
2004
+ moveLast: "Move to the end of this stage",
2005
+ emptyFilter: "No card for this filter.",
2006
+ emptyStage: "No card in this stage.",
2007
+ noDescription: "No description.",
2008
+ card: "Card",
2009
+ chosenStage: "the chosen stage",
2010
+ thisStage: "this stage",
2011
+ stage: "stage",
2012
+ wipReached: (limit) => `WIP limit of ${limit} reached.`,
2013
+ moved: (card, stage) => `${card} moved to ${stage}.`,
2014
+ dropTo: (stage) => `Drop to move to ${stage}.`,
2015
+ target: (stage) => `Target: ${stage}. Press Enter to confirm.`,
2016
+ count: (n, limit) => `${n} cards${limit === void 0 ? "" : `, WIP limit ${limit}`}`,
2017
+ stageActionsOf: (stage) => `Actions for stage ${stage}`,
2018
+ addCardTo: (stage) => `Add card to ${stage}`,
2019
+ drag: (card) => `Drag ${card}`,
2020
+ moveTo: "Move to",
2021
+ actionsOf: (card) => `Actions for ${card}`
2022
+ };
2023
+ var matrix2x2 = {
2024
+ xLabel: "Effort \u2192",
2025
+ yLabel: "Impact \u2192",
2026
+ high: "High priority",
2027
+ low: "Low priority",
2028
+ aria: (y, x, n) => `Matrix of ${y} by ${x}: ${n} items`
2029
+ };
2030
+ var menu = {
2031
+ label: "Actions"
2032
+ };
2033
+ var menubar = {
2034
+ label: "Menu bar"
2035
+ };
2036
+ var message = {
2037
+ from: (author) => `Message from ${author}`
2038
+ };
2039
+ var messageScroller = {
2040
+ label: "Message history",
2041
+ latest: "Jump to recent messages"
2042
+ };
2043
+ var modal = {
2044
+ label: "Modal window"
2045
+ };
2046
+ var multiselect = {
2047
+ empty: "No options",
2048
+ placeholder: "Add\u2026",
2049
+ close: "Close options",
2050
+ open: "Open options",
2051
+ remove: (label) => `Remove ${label}`,
2052
+ hidden: (n) => `${n} more options selected. Open options`
2053
+ };
2054
+ var navigationMenu = {
2055
+ label: "Main navigation"
2056
+ };
2057
+ var notificationBell = {
2058
+ title: "Notifications",
2059
+ empty: "No notifications",
2060
+ markAll: "Mark all as read",
2061
+ unread: (n) => `Notifications: ${n} unread`
2062
+ };
2063
+ var oauthButton = {
2064
+ continueWith: (provider) => `Continue with ${provider}`
2065
+ };
2066
+ var otp = {
2067
+ label: "Verification code",
2068
+ digit: (i, n) => `Digit ${i} of ${n}`
2069
+ };
2070
+ var pagination = {
2071
+ label: "Pagination",
2072
+ prev: "Previous page",
2073
+ next: "Next page",
2074
+ page: (p) => `Page ${p}`
2075
+ };
2076
+ var phoneInput = {
2077
+ country: "Country and calling code"
2078
+ };
2079
+ var planCard = {
2080
+ current: "Current plan",
2081
+ recommended: "Recommended"
2082
+ };
2083
+ var postalCodeInput = {
2084
+ invalid: "Enter a postal code with 8 digits.",
2085
+ searching: "Looking up the address.",
2086
+ notFound: "Postal code not found. Check the digits and try again.",
2087
+ failed: "Could not look up the postal code. Try again.",
2088
+ loading: "Searching",
2089
+ search: "Look up",
2090
+ found: (city, state) => `Address found in ${city}, ${state}.`
2091
+ };
2092
+ var propertyActionGroup = {
2093
+ reject: "Discard",
2094
+ save: "Save",
2095
+ visit: "Select",
2096
+ unavailable: "Actions for this item are unavailable.",
2097
+ idle: "Choose what to do with this item.",
2098
+ group: "Decisions about the item",
2099
+ processing: (action) => `${action}: processing\u2026`,
2100
+ completed: (action) => `${action}: done.`
2101
+ };
2102
+ var propertyCard = {
2103
+ badges: "Content highlights",
2104
+ compatShort: "match",
2105
+ compatibility: "match",
2106
+ compatAria: (n) => `Match score: ${n}%`
2107
+ };
2108
+ var propertyMedia = {
2109
+ label: "Media gallery",
2110
+ carousel: "carousel",
2111
+ loading: "Loading photo",
2112
+ unavailable: "Photo unavailable",
2113
+ error: "This image could not be loaded.",
2114
+ prev: "Previous photo",
2115
+ next: "Next photo",
2116
+ choose: "Choose photo",
2117
+ retry: "Try again",
2118
+ show: (i, n) => `Show photo ${i} of ${n}`,
2119
+ position: (i, n) => `Photo ${i} of ${n}`
2120
+ };
2121
+ var questionnaire = {
2122
+ empty: "No question available.",
2123
+ sent: "Answers sent.",
2124
+ review: "Review answers",
2125
+ required: "Answer to continue.",
2126
+ progress: "Questionnaire progress",
2127
+ back: "Back",
2128
+ submit: "Send answers",
2129
+ next: "Continue",
2130
+ step: (i, n) => `Question ${i} of ${n}`
2131
+ };
2132
+ var range = {
2133
+ value: "value",
2134
+ min: "minimum",
2135
+ max: "maximum"
2136
+ };
2137
+ var resizable = {
2138
+ label: "Size of the first panel"
2139
+ };
2140
+ var settingsSubnav = {
2141
+ label: "Settings"
2142
+ };
2143
+ var sidebar = {
2144
+ expand: "Expand menu",
2145
+ collapse: "Collapse menu",
2146
+ switchWorkspace: "Switch workspace",
2147
+ currentWorkspace: "Current workspace",
2148
+ account: (name2) => `${name2}'s account`
2149
+ };
2150
+ var spinner = {
2151
+ loading: "Loading"
2152
+ };
2153
+ var splitButton = {
2154
+ loading: "Processing\u2026",
2155
+ more: "More options"
2156
+ };
2157
+ var stat = {
2158
+ up: " (trending up)",
2159
+ down: " (trending down)"
2160
+ };
2161
+ var swipeDeck = {
2162
+ title: "Review content",
2163
+ doneTitle: "All items reviewed",
2164
+ doneMessage: "You reached the end of the queue. Start over to try the decisions again.",
2165
+ restart: "Restart queue",
2166
+ queue: "Review queue",
2167
+ photosHint: "Photos: use the arrows on the image.",
2168
+ gestureHint: "Decisions: drag the card left (discard) or right (select), or use the buttons below.",
2169
+ buttonsHint: "Decisions: use the buttons below.",
2170
+ recording: "Recording decision\u2026",
2171
+ keyboardHint: "With the card focused: \u2190 discards, \u2192 selects. To save, use the Save button.",
2172
+ rejected: "Discarded",
2173
+ saved: "Saved",
2174
+ selected: "Selected",
2175
+ remaining: (n) => `${n} after this one`,
2176
+ item: (i, n) => `Item ${i} of ${n}`,
2177
+ decision: (action, i, n) => `${action}: item ${i} of ${n}.`
2178
+ };
2179
+ var table = {
2180
+ search: "Search\u2026",
2181
+ of: "of",
2182
+ filters: "Filters",
2183
+ clear: "Clear",
2184
+ clearFilters: "Clear filters",
2185
+ noMatch: "Nothing matches the current filters.",
2186
+ empty: "Nothing here yet.",
2187
+ perPage: "Per page",
2188
+ perPageLabel: "Rows per page",
2189
+ filterBy: (label) => `Filter by ${label}`
2190
+ };
2191
+ var tableOfContents = {
2192
+ label: "On this page"
2193
+ };
2194
+ var tabs = {
2195
+ completeAria: "Status: complete",
2196
+ attentionAria: "Status: needs attention",
2197
+ complete: "Complete",
2198
+ attention: "Needs attention"
2199
+ };
2200
+ var timeline = {
2201
+ empty: "Add the key milestones of this journey.",
2202
+ emptyTitle: "No milestones yet",
2203
+ label: "Journey milestones",
2204
+ scroll: "Milestones, scroll to see the sequence",
2205
+ completed: "Done",
2206
+ current: "In progress",
2207
+ planned: "Planned"
2208
+ };
2209
+ var topbar = {
2210
+ search: "Search projects, people, files\u2026",
2211
+ viewMode: "View mode"
2212
+ };
2213
+ var trace = {
2214
+ label: "Run steps",
2215
+ pending: "Waiting",
2216
+ running: "Running",
2217
+ complete: "Done",
2218
+ error: "Error"
2219
+ };
2220
+ var usageMeter = {
2221
+ of: "of"
2222
+ };
2223
+ var userMenu = {
2224
+ profile: "Profile",
2225
+ settings: "Settings",
2226
+ logout: "Sign out",
2227
+ account: (name2) => `${name2}'s account`
2228
+ };
2229
+ var visitSchedulePicker = {
2230
+ label: "Choose availability for a visit",
2231
+ chooseDays: "Choose the days",
2232
+ chooseDaysHint: "Click more than one date to build your options.",
2233
+ selectedDays: "Selected days",
2234
+ selectedDaysHint: "Switch the day to set different times.",
2235
+ editingDay: "Day being edited",
2236
+ times: "Available times",
2237
+ timesHint: "From 8 a.m. to 7 p.m., in 30-minute slots.",
2238
+ summary: "Your availability",
2239
+ summaryHint: "Select the time ranges available for booking.",
2240
+ pickTimes: "Choose the times",
2241
+ days: (n) => `${n} day${n === 1 ? "" : "s"}`,
2242
+ slots: (n) => `${n} time${n === 1 ? "" : "s"}`,
2243
+ timezone: (tz) => `time zone ${tz}`,
2244
+ timesOf: (date) => `Times on ${date}`,
2245
+ withTime: (n) => `${n} with times`,
2246
+ shownIn: (tz) => `Times shown in ${tz}.`
2247
+ };
2248
+ var voiceRecorder = {
2249
+ error: "Check the browser permission or continue with the keyboard.",
2250
+ errorTitle: "We could not access the microphone",
2251
+ retry: "Try again",
2252
+ useDictation: "Use dictation",
2253
+ fallbackTitle: "Use your phone's dictation",
2254
+ gotIt: "Got it",
2255
+ fallbackHint: "Tap the microphone on the keyboard. The text shows up in the field and stays editable before you send it.",
2256
+ start: "Start voice recording",
2257
+ prefer: "Rather speak?",
2258
+ preferHint: "Say it your way. You review the text before continuing.",
2259
+ panel: "Voice recording",
2260
+ listening: "Listening to you",
2261
+ paused: "Recording paused",
2262
+ listeningHint: "Speak normally. The text appears as you talk.",
2263
+ pausedHint: "Resume when you are ready.",
2264
+ micPaused: "Microphone paused",
2265
+ cancel: "Cancel",
2266
+ pause: "Pause recording",
2267
+ resume: "Resume recording",
2268
+ finish: "Done",
2269
+ level: (n) => `Microphone level: ${n}%`
2270
+ };
2271
+ var wizardStepper = {
2272
+ label: "Progress",
2273
+ back: "Back to previous step",
2274
+ step: "Step",
2275
+ complete: "done",
2276
+ current: "current step",
2277
+ notStarted: "not started",
2278
+ position: (label, i, n) => `${label}: step ${i} of ${n}`,
2279
+ count: (i, n) => `${i} of ${n}`
2280
+ };
2281
+ var workspaceSwitcher = {
2282
+ search: "Search workspace",
2283
+ searchPlaceholder: "Search workspace\u2026",
2284
+ list: "Workspaces",
2285
+ empty: "No workspace",
2286
+ current: (name2) => `Current workspace: ${name2}. Switch workspace`
2277
2287
  };
2288
+ var rating = {
2289
+ value: (value, max) => `${value} out of ${max}`,
2290
+ star: (n, max) => `${n} out of ${max} ${max === 1 ? "star" : "stars"}`,
2291
+ reviews: (n, formatted) => `${formatted} ${n === 1 ? "review" : "reviews"}`
2292
+ };
2293
+ var comparisonTable = {
2294
+ recommended: "Recommended",
2295
+ feature: "Feature",
2296
+ yes: "Yes",
2297
+ no: "No"
2298
+ };
2299
+ var agenda = {
2300
+ label: "Agenda",
2301
+ empty: "Nothing scheduled.",
2302
+ allDay: "All day",
2303
+ nothing: "Nothing scheduled",
2304
+ range: (start, end) => `${start} to ${end}`
2305
+ };
2306
+ var entityCard = {
2307
+ rating: "Rating"
2308
+ };
2309
+ var imageGallery = {
2310
+ open: (alt, n, total) => `Open photo ${n} of ${total}: ${alt}`,
2311
+ viewer: (label) => `${label}, enlarged photo`,
2312
+ counter: (n, total) => `${n} of ${total}`,
2313
+ previous: "Previous photo",
2314
+ next: "Next photo"
2315
+ };
2316
+ var video = {
2317
+ play: (title) => `Play video: ${title}`
2318
+ };
2319
+ var audioPlayer = {
2320
+ play: (title) => `Play ${title}`,
2321
+ pause: (title) => `Pause ${title}`,
2322
+ back: (s) => `Back ${s} seconds`,
2323
+ forward: (s) => `Forward ${s} seconds`,
2324
+ position: "Position",
2325
+ positionText: (time, total) => `${time} of ${total}`
2326
+ };
2327
+ var linkCard = {
2328
+ newTab: "(opens in a new tab)"
2329
+ };
2330
+ var citation = {
2331
+ source: (n, title) => `Source ${n}: ${title}`,
2332
+ open: "Open source"
2333
+ };
2334
+ var followUp = {
2335
+ label: "Suggestions"
2336
+ };
2337
+ var en = { activityTimeline, alertDialog, appShell, approvalWorkbench, avatarGroup, billingCard, breadcrumb, calendar, callout, carousel, charts, codeBlock, colorField, combobox, command, common, contextMenu, coverflow, d3Chart, datePicker, deviceFrame, fabMenu, fileUpload, geoAreaPicker, guidedTour, helpField, helpMenu, intentComposer, kanbanBoard, matrix2x2, menu, menubar, message, messageScroller, modal, multiselect, navigationMenu, notificationBell, oauthButton, otp, pagination, phoneInput, planCard, postalCodeInput, propertyActionGroup, propertyCard, propertyMedia, questionnaire, range, resizable, settingsSubnav, sidebar, spinner, splitButton, stat, swipeDeck, table, tableOfContents, tabs, timeline, topbar, trace, usageMeter, userMenu, visitSchedulePicker, voiceRecorder, wizardStepper, workspaceSwitcher, rating, comparisonTable, agenda, entityCard, imageGallery, video, audioPlayer, linkCard, citation, followUp };
2278
2338
 
2279
2339
  // .build/src/chart/scene.ts
2280
2340
  import { area, line, stack, stackOffsetDiverging, stackOffsetExpand } from "d3-shape";
@@ -2721,26 +2781,26 @@ function tableRows(rows, columns, o) {
2721
2781
  }
2722
2782
  return out;
2723
2783
  }
2724
- function Table({ columns, rows, rowKey, onRowClick, rowLabel, caption, empty, searchable, searchPlaceholder = "Buscar\u2026", searchMatch = defaultSearchMatch, loading = false, error, pagination, minTableWidth, style }) {
2784
+ function Table({ columns, rows, rowKey, onRowClick, rowLabel, caption, empty, searchable, searchPlaceholder = "Buscar\u2026", searchMatch = defaultSearchMatch, loading = false, error, pagination: pagination2, minTableWidth, style }) {
2725
2785
  const t = useRefy();
2726
2786
  const [query, setQuery] = useState14("");
2727
2787
  const [sortKey, setSortKey] = useState14(null);
2728
2788
  const [sortDir, setSortDir] = useState14("asc");
2729
2789
  const [filters, setFilters] = useState14({});
2730
2790
  const [openFacet, setOpenFacet] = useState14(null);
2731
- const [internalPage, setInternalPage] = useState14(pagination?.defaultPage ?? 1);
2732
- const [internalPageSize, setInternalPageSize] = useState14(pagination?.pageSize ?? 1);
2791
+ const [internalPage, setInternalPage] = useState14(pagination2?.defaultPage ?? 1);
2792
+ const [internalPageSize, setInternalPageSize] = useState14(pagination2?.pageSize ?? 1);
2733
2793
  const anchors = useRef12({});
2734
2794
  const facetRef = useRef12(null);
2735
2795
  const filterCols = columns.filter((c) => c.filterable);
2736
2796
  const visible = useMemo3(() => tableRows(rows, columns, { query: searchable ? query : "", searchMatch, filters, sortKey, sortDir }), [rows, columns, searchable, query, searchMatch, filters, sortKey, sortDir]);
2737
- const pageSize = pagination ? internalPageSize : Math.max(visible.length, 1);
2797
+ const pageSize = pagination2 ? internalPageSize : Math.max(visible.length, 1);
2738
2798
  const pageCount = Math.max(1, Math.ceil(visible.length / pageSize));
2739
- const currentPage = Math.min(Math.max(pagination?.page ?? internalPage, 1), pageCount);
2740
- const displayed = pagination ? visible.slice((currentPage - 1) * pageSize, currentPage * pageSize) : visible;
2799
+ const currentPage = Math.min(Math.max(pagination2?.page ?? internalPage, 1), pageCount);
2800
+ const displayed = pagination2 ? visible.slice((currentPage - 1) * pageSize, currentPage * pageSize) : visible;
2741
2801
  const changePage = (n) => {
2742
- if (pagination?.page == null) setInternalPage(n);
2743
- pagination?.onPageChange?.(n);
2802
+ if (pagination2?.page == null) setInternalPage(n);
2803
+ pagination2?.onPageChange?.(n);
2744
2804
  };
2745
2805
  const resetPage = () => changePage(1);
2746
2806
  const toggleSort = (c) => {
@@ -2800,7 +2860,7 @@ function Table({ columns, rows, rowKey, onRowClick, rowLabel, caption, empty, se
2800
2860
  }
2801
2861
  ) : head }, c.key);
2802
2862
  }) }),
2803
- loading ? Array.from({ length: Math.min(pagination?.pageSize ?? 5, 5) }, (_, r) => /* @__PURE__ */ jsx31(View26, { style: { flexDirection: "row", borderBottomWidth: r === 4 ? 0 : 1, borderBottomColor: lineSoft }, children: columns.map((c, ci) => /* @__PURE__ */ jsx31(View26, { style: [cellBox(c), { padding: 14 }], children: /* @__PURE__ */ jsx31(Skeleton, { width: ci === 0 ? "72%" : ci % 2 ? "54%" : "64%" }) }, c.key)) }, r)) : error != null ? /* @__PURE__ */ jsx31(View26, { accessibilityRole: "alert", style: { paddingVertical: 32, paddingHorizontal: 14, backgroundColor: t.mix(t.pick("--critical"), 5, t.pick("--surface")) }, children: renderText(error, { textAlign: "center", color: t.pick("--critical"), fontSize: sm, ...t.font("--font-body", "--weight-medium") }) }) : visible.length === 0 ? /* @__PURE__ */ jsx31(View26, { style: { paddingVertical: 40, paddingHorizontal: 14 }, children: renderText(query || Object.values(filters).some((v) => v.length) ? "Nada encontrado com os filtros atuais." : empty ?? "Nada por aqui ainda.", { textAlign: "center", color: ink3, fontSize: sm, ...t.font("--font-body", "--weight-regular") }) }) : displayed.map((row3, i) => {
2863
+ loading ? Array.from({ length: Math.min(pagination2?.pageSize ?? 5, 5) }, (_, r) => /* @__PURE__ */ jsx31(View26, { style: { flexDirection: "row", borderBottomWidth: r === 4 ? 0 : 1, borderBottomColor: lineSoft }, children: columns.map((c, ci) => /* @__PURE__ */ jsx31(View26, { style: [cellBox(c), { padding: 14 }], children: /* @__PURE__ */ jsx31(Skeleton, { width: ci === 0 ? "72%" : ci % 2 ? "54%" : "64%" }) }, c.key)) }, r)) : error != null ? /* @__PURE__ */ jsx31(View26, { accessibilityRole: "alert", style: { paddingVertical: 32, paddingHorizontal: 14, backgroundColor: t.mix(t.pick("--critical"), 5, t.pick("--surface")) }, children: renderText(error, { textAlign: "center", color: t.pick("--critical"), fontSize: sm, ...t.font("--font-body", "--weight-medium") }) }) : visible.length === 0 ? /* @__PURE__ */ jsx31(View26, { style: { paddingVertical: 40, paddingHorizontal: 14 }, children: renderText(query || Object.values(filters).some((v) => v.length) ? "Nada encontrado com os filtros atuais." : empty ?? "Nada por aqui ainda.", { textAlign: "center", color: ink3, fontSize: sm, ...t.font("--font-body", "--weight-regular") }) }) : displayed.map((row3, i) => {
2804
2864
  const cells = columns.map((c) => /* @__PURE__ */ jsx31(View26, { style: [cellBox(c), { padding: 14, alignItems: right(c) ? "flex-end" : "flex-start", justifyContent: "center" }], children: renderText(c.cell(row3), c.align === "num" ? { color: ink1, fontSize: sm, fontVariant: ["tabular-nums"], ...mono2("--weight-regular") } : { color: ink2, fontSize: sm, ...t.font("--font-body", "--weight-regular") }) }, c.key));
2805
2865
  const rowStyle = { flexDirection: "row", minHeight: 44, borderBottomWidth: i === displayed.length - 1 ? 0 : 1, borderBottomColor: lineSoft };
2806
2866
  return onRowClick ? /* @__PURE__ */ jsx31(Pressable14, { accessibilityRole: "button", accessibilityLabel: rowLabel?.(row3), onPress: () => onRowClick(row3), style: ({ pressed }) => [rowStyle, pressed ? { backgroundColor: t.pick("--surface-2") } : null], children: cells }, rowKey(row3, i)) : /* @__PURE__ */ jsx31(View26, { style: rowStyle, children: cells }, rowKey(row3, i));
@@ -2856,7 +2916,7 @@ function Table({ columns, rows, rowKey, onRowClick, rowLabel, caption, empty, se
2856
2916
  }, style: { minHeight: 24, justifyContent: "center" }, children: /* @__PURE__ */ jsx31(Text12, { style: { color: t.pick("--primary-ink", "--primary"), fontSize: t.size("--text-xs", 12), ...t.font("--font-body", "--weight-semi") }, children: "Limpar filtros" }) })
2857
2917
  ] }),
2858
2918
  minTableWidth ? /* @__PURE__ */ jsx31(ScrollView5, { horizontal: true, style: { flexGrow: 0 }, contentContainerStyle: { flexGrow: 1 }, showsHorizontalScrollIndicator: true, children: grid }) : grid,
2859
- pagination && !loading && error == null && visible.length > 0 && /* @__PURE__ */ jsxs26(View26, { style: { flexDirection: "row", flexWrap: "wrap", alignItems: "center", justifyContent: "space-between", gap: t.size("--space-3", 12), paddingVertical: t.size("--space-3", 12), paddingHorizontal: 14, borderTopWidth: 1, borderTopColor: line4 }, children: [
2919
+ pagination2 && !loading && error == null && visible.length > 0 && /* @__PURE__ */ jsxs26(View26, { style: { flexDirection: "row", flexWrap: "wrap", alignItems: "center", justifyContent: "space-between", gap: t.size("--space-3", 12), paddingVertical: t.size("--space-3", 12), paddingHorizontal: 14, borderTopWidth: 1, borderTopColor: line4 }, children: [
2860
2920
  /* @__PURE__ */ jsxs26(View26, { style: { flexDirection: "row", flexWrap: "wrap", alignItems: "center", gap: t.size("--space-4", 16) }, children: [
2861
2921
  /* @__PURE__ */ jsxs26(Text12, { accessibilityLiveRegion: "polite", style: { color: ink3, fontSize: xs2, fontVariant: ["tabular-nums"], ...mono2("--weight-regular") }, children: [
2862
2922
  Math.min((currentPage - 1) * pageSize + 1, visible.length),
@@ -2865,12 +2925,12 @@ function Table({ columns, rows, rowKey, onRowClick, rowLabel, caption, empty, se
2865
2925
  " de ",
2866
2926
  visible.length
2867
2927
  ] }),
2868
- pagination.pageSizeOptions?.length ? /* @__PURE__ */ jsxs26(View26, { style: { flexDirection: "row", alignItems: "center", gap: t.size("--space-2", 8) }, children: [
2928
+ pagination2.pageSizeOptions?.length ? /* @__PURE__ */ jsxs26(View26, { style: { flexDirection: "row", alignItems: "center", gap: t.size("--space-2", 8) }, children: [
2869
2929
  /* @__PURE__ */ jsx31(Text12, { style: { color: ink3, fontSize: t.size("--text-xs", 12), ...t.font("--font-body", "--weight-regular") }, children: "Por p\xE1gina" }),
2870
2930
  /* @__PURE__ */ jsx31(Select, { block: false, accessibilityLabel: "Registros por p\xE1gina", value: String(pageSize), onValueChange: (v) => {
2871
2931
  setInternalPageSize(Number(v));
2872
2932
  resetPage();
2873
- }, options: Array.from(/* @__PURE__ */ new Set([pagination.pageSize, ...pagination.pageSizeOptions])).map((n) => ({ value: String(n), label: String(n) })) })
2933
+ }, options: Array.from(/* @__PURE__ */ new Set([pagination2.pageSize, ...pagination2.pageSizeOptions])).map((n) => ({ value: String(n), label: String(n) })) })
2874
2934
  ] }) : null
2875
2935
  ] }),
2876
2936
  /* @__PURE__ */ jsx31(Pagination, { page: currentPage, pageCount, onPageChange: changePage })
@@ -2978,14 +3038,14 @@ function LineChart({ title, showTitle = true, data, series: seriesProp, xLabels,
2978
3038
  const [hover, setHover] = useState15(null);
2979
3039
  const [hidden, setHidden] = useState15([]);
2980
3040
  const g = lineChartGeometry({ data, series: seriesProp, label, max, stacked, curve, xLabels }, W || 320, hidden);
2981
- const fmt2 = formatY ?? defaultFormat;
3041
+ const fmt3 = formatY ?? defaultFormat;
2982
3042
  const axis = t.pick("--line");
2983
3043
  const tickStroke = t.pick("--ink-4", "--ink-3");
2984
3044
  const surface = t.pick("--surface");
2985
3045
  const primary = chartToneColor(t, "primary");
2986
3046
  const at = (px) => Math.max(0, Math.min(g.pointCount - 1, Math.round(g.x.invert(px))));
2987
3047
  const name2 = (i) => pointName(i, g.pointCount, pointLabels, xLabels);
2988
- const valueText = hover === null ? void 0 : `${name2(hover)}: ${g.series.map((s) => `${s.name} ${s.data[hover] === void 0 ? "sem valor" : fmt2(s.data[hover])}`).join(", ")}`;
3048
+ const valueText = hover === null ? void 0 : `${name2(hover)}: ${g.series.map((s) => `${s.name} ${s.data[hover] === void 0 ? "sem valor" : fmt3(s.data[hover])}`).join(", ")}`;
2989
3049
  const legendOn = showLegend ?? g.allSeries.length > 1;
2990
3050
  return /* @__PURE__ */ jsxs27(View27, { style: [{ gap: t.size("--space-2", 8), width: "100%" }, style], children: [
2991
3051
  showTitle && /* @__PURE__ */ jsx32(Text13, { accessibilityRole: "header", style: text.title, children: title }),
@@ -3021,7 +3081,7 @@ function LineChart({ title, showTitle = true, data, series: seriesProp, xLabels,
3021
3081
  g.yTicks.map((v) => /* @__PURE__ */ jsxs27(G, { children: [
3022
3082
  v > 0 && /* @__PURE__ */ jsx32(Line3, { x1: PAD.left, y1: g.y(v), x2: W - PAD.right, y2: g.y(v), stroke: axis, strokeWidth: 1, opacity: 0.55 }),
3023
3083
  /* @__PURE__ */ jsx32(Line3, { x1: PAD.left - 4, y1: g.y(v), x2: PAD.left, y2: g.y(v), stroke: tickStroke, strokeWidth: 1 }),
3024
- /* @__PURE__ */ jsx32(SvgText, { ...text.tick, x: PAD.left - 8, y: g.y(v) + 3.5, textAnchor: "end", children: fmt2(v) })
3084
+ /* @__PURE__ */ jsx32(SvgText, { ...text.tick, x: PAD.left - 8, y: g.y(v) + 3.5, textAnchor: "end", children: fmt3(v) })
3025
3085
  ] }, v)),
3026
3086
  yTitle ? /* @__PURE__ */ jsx32(SvgText, { ...text.axisTitle, x: 6, y: PAD.top - 10, children: yTitle.toUpperCase() }) : null,
3027
3087
  /* @__PURE__ */ jsx32(Line3, { x1: PAD.left, y1: H - PAD.bottom, x2: W - PAD.right, y2: H - PAD.bottom, stroke: axis, strokeWidth: 1 }),
@@ -3047,14 +3107,14 @@ function LineChart({ title, showTitle = true, data, series: seriesProp, xLabels,
3047
3107
  g.series.map((s) => /* @__PURE__ */ jsxs27(View27, { style: { flexDirection: "row", alignItems: "center", gap: 8 }, children: [
3048
3108
  /* @__PURE__ */ jsx32(View27, { style: { width: 10, height: 10, borderRadius: t.pick("--radius-xs", 2), backgroundColor: chartToneColor(t, s.tone) } }),
3049
3109
  /* @__PURE__ */ jsx32(Text13, { style: { flexShrink: 1, color: t.pick("--ink-1"), fontSize: t.pick("--text-sm", 14), ...t.font("--font-body", "--weight-regular") }, children: s.name }),
3050
- /* @__PURE__ */ jsx32(Text13, { style: { marginLeft: "auto", color: t.pick("--ink-1"), fontSize: t.pick("--text-sm", 14), ...t.font("--font-mono", "--weight-bold") }, children: s.data[hover] === void 0 ? "\u2014" : fmt2(s.data[hover]) })
3110
+ /* @__PURE__ */ jsx32(Text13, { style: { marginLeft: "auto", color: t.pick("--ink-1"), fontSize: t.pick("--text-sm", 14), ...t.font("--font-mono", "--weight-bold") }, children: s.data[hover] === void 0 ? "\u2014" : fmt3(s.data[hover]) })
3051
3111
  ] }, s.name))
3052
3112
  ] })
3053
3113
  ] }),
3054
3114
  !g.pointCount && /* @__PURE__ */ jsx32(Text13, { accessibilityLiveRegion: "polite", style: text.status, children: "Sem dados para este per\xEDodo." }),
3055
3115
  g.pointCount > 0 && !g.series.length && /* @__PURE__ */ jsx32(Text13, { accessibilityLiveRegion: "polite", style: text.status, children: "Selecione uma s\xE9rie na legenda." }),
3056
3116
  legendOn && /* @__PURE__ */ jsx32(ChartLegend, { label: `Legenda de ${title}`, items: g.allSeries.map((s) => ({ id: s.name, label: s.name, color: chartToneColor(t, s.tone) })), hidden, onToggle: (id) => setHidden((c) => c.includes(id) ? c.filter((n) => n !== id) : [...c, id]) }),
3057
- /* @__PURE__ */ jsx32(ChartData, { label: title, rows: Array.from({ length: g.pointCount }, (_, index) => ({ index, label: name2(index), values: g.allSeries.map((s) => `${s.name}: ${s.data[index] === void 0 ? "\u2014" : fmt2(s.data[index])}`).join(" \xB7 ") })) })
3117
+ /* @__PURE__ */ jsx32(ChartData, { label: title, rows: Array.from({ length: g.pointCount }, (_, index) => ({ index, label: name2(index), values: g.allSeries.map((s) => `${s.name}: ${s.data[index] === void 0 ? "\u2014" : fmt3(s.data[index])}`).join(" \xB7 ") })) })
3058
3118
  ] });
3059
3119
  }
3060
3120
  function AreaChart(props) {
@@ -3213,7 +3273,7 @@ var palette2 = [
3213
3273
  var colorAt2 = (index, colors4) => (colors4?.length ? colors4 : palette2)[index % (colors4?.length || palette2.length)];
3214
3274
  var keyX2 = (value) => value instanceof Date ? value.toISOString() : String(value);
3215
3275
  var formatX2 = (value, locale = "en") => value instanceof Date ? value.toLocaleDateString(locale) : typeof value === "number" ? value.toLocaleString(locale, { maximumFractionDigits: 2 }) : value;
3216
- function numericScale2(domain, range, axis) {
3276
+ function numericScale2(domain, range2, axis) {
3217
3277
  const input = axis?.domain?.map(Number);
3218
3278
  const d = input ?? domain;
3219
3279
  if (!d.every(Number.isFinite) || d[0] >= d[1])
@@ -3223,13 +3283,13 @@ function numericScale2(domain, range, axis) {
3223
3283
  "A logarithmic scale requires values and bounds greater than zero."
3224
3284
  );
3225
3285
  const scale = axis?.createScale ? axis.createScale() : axis?.scale === "log" ? scaleLog2() : axis?.scale === "symlog" ? scaleSymlog2() : axis?.scale === "sqrt" ? scaleSqrt2() : scaleLinear3();
3226
- scale.domain(d).range(range);
3286
+ scale.domain(d).range(range2);
3227
3287
  if (axis?.nice !== false && !input) scale.nice(axis?.tickCount ?? 4);
3228
3288
  if (![scale(scale.domain()[0]), scale(scale.domain()[1])].every(Number.isFinite))
3229
3289
  throw Error("The configured scale cannot represent this domain.");
3230
3290
  return scale;
3231
3291
  }
3232
- function xCoordinates2(values, range, axis, viewport) {
3292
+ function xCoordinates2(values, range2, axis, viewport) {
3233
3293
  const unique = [
3234
3294
  ...new Map(values.map((value) => [keyX2(value), value])).values()
3235
3295
  ];
@@ -3237,10 +3297,10 @@ function xCoordinates2(values, range, axis, viewport) {
3237
3297
  const numeric = unique.every(
3238
3298
  (value) => typeof value === "number" || value instanceof Date
3239
3299
  );
3240
- const visible = (value, at2) => at2(value) >= range[0] - 1 && at2(value) <= range[1] + 1;
3300
+ const visible = (value, at2) => at2(value) >= range2[0] - 1 && at2(value) <= range2[1] + 1;
3241
3301
  if (!numeric) {
3242
- const band = scaleBand2().domain(unique.map(keyX2)).range(range.map((v) => v * k + offset)).padding(0.2);
3243
- const at2 = (value) => (band(keyX2(value)) ?? range[0]) + band.bandwidth() / 2;
3302
+ const band = scaleBand2().domain(unique.map(keyX2)).range(range2.map((v) => v * k + offset)).padding(0.2);
3303
+ const at2 = (value) => (band(keyX2(value)) ?? range2[0]) + band.bandwidth() / 2;
3244
3304
  const candidates = (axis?.tickValues ?? unique).filter(
3245
3305
  (v) => visible(v, at2)
3246
3306
  );
@@ -3249,7 +3309,7 @@ function xCoordinates2(values, range, axis, viewport) {
3249
3309
  Math.ceil(
3250
3310
  candidates.length / Math.max(
3251
3311
  2,
3252
- Math.min(axis?.tickCount ?? Infinity, (range[1] - range[0]) / 50)
3312
+ Math.min(axis?.tickCount ?? Infinity, (range2[1] - range2[0]) / 50)
3253
3313
  )
3254
3314
  )
3255
3315
  );
@@ -3271,26 +3331,26 @@ function xCoordinates2(values, range, axis, viewport) {
3271
3331
  new Date(lo),
3272
3332
  new Date(hi === lo ? lo + 864e5 : hi)
3273
3333
  ];
3274
- const base2 = scaleTime2().domain(d.map((v) => new Date(v))).range(range);
3275
- const scale2 = base2.copy().domain(range.map((v) => base2.invert((v - offset) / k)));
3334
+ const base2 = scaleTime2().domain(d.map((v) => new Date(v))).range(range2);
3335
+ const scale2 = base2.copy().domain(range2.map((v) => base2.invert((v - offset) / k)));
3276
3336
  const at2 = (v) => scale2(new Date(v));
3277
3337
  return {
3278
3338
  at: at2,
3279
3339
  ticks: (axis?.tickValues ?? scale2.ticks(axis?.tickCount ?? 5)).filter(
3280
3340
  (v) => visible(v, at2)
3281
3341
  ),
3282
- bandwidth: (range[1] - range[0]) / Math.max(1, unique.length) * 0.65 * k,
3342
+ bandwidth: (range2[1] - range2[0]) / Math.max(1, unique.length) * 0.65 * k,
3283
3343
  invert: (pixel) => scale2.invert(pixel)
3284
3344
  };
3285
3345
  }
3286
- const base = numericScale2([lo, hi === lo ? lo + 1 : hi], range, axis), scale = base.copy().domain(range.map((v) => base.invert((v - offset) / k)));
3346
+ const base = numericScale2([lo, hi === lo ? lo + 1 : hi], range2, axis), scale = base.copy().domain(range2.map((v) => base.invert((v - offset) / k)));
3287
3347
  const at = (v) => scale(Number(v));
3288
3348
  return {
3289
3349
  at,
3290
3350
  ticks: (axis?.tickValues ?? scale.ticks(axis?.tickCount ?? 5)).filter(
3291
3351
  (v) => visible(v, at)
3292
3352
  ),
3293
- bandwidth: (range[1] - range[0]) / Math.max(1, unique.length) * 0.65 * k,
3353
+ bandwidth: (range2[1] - range2[0]) / Math.max(1, unique.length) * 0.65 * k,
3294
3354
  invert: (pixel) => scale.invert(pixel)
3295
3355
  };
3296
3356
  }
@@ -3371,7 +3431,7 @@ var curves2 = {
3371
3431
  };
3372
3432
  var resolveCurve2 = (curve = "natural") => typeof curve === "function" ? curve : curves2[curve];
3373
3433
  var row2 = (id, label, values, seriesId) => ({ id, label, values, seriesId });
3374
- function cartesianScene(props, layout, hidden, viewport, text = en.d3Chart) {
3434
+ function cartesianScene(props, layout, hidden, viewport, text = d3Chart) {
3375
3435
  const { width: w, height: h, top: t, right: r, bottom: b } = layout;
3376
3436
  let l = layout.left;
3377
3437
  if (props.type === "heatmap") {
@@ -3819,7 +3879,7 @@ function cartesianScene(props, layout, hidden, viewport, text = en.d3Chart) {
3819
3879
  import { arc as arc2, pie, lineRadial, curveLinearClosed } from "d3-shape";
3820
3880
  import { scaleLinear as scaleLinear4 } from "d3-scale";
3821
3881
  import { Fragment as Fragment8, jsx as jsx35, jsxs as jsxs30 } from "react/jsx-runtime";
3822
- function radialScene(props, layout, hidden, text = en.d3Chart) {
3882
+ function radialScene(props, layout, hidden, text = d3Chart) {
3823
3883
  const { width: w, height: h, top: t, bottom: b, left: l, right: r } = layout;
3824
3884
  const cx = (l + w - r) / 2, cy = (t + h - b) / 2, R = Math.max(8, Math.min(w - l - r, h - t - b) / 2 - 22);
3825
3885
  if (props.type === "radar") {
@@ -4087,7 +4147,7 @@ import {
4087
4147
  import { arc as arc3, linkHorizontal } from "d3-shape";
4088
4148
  import { jsx as jsx36, jsxs as jsxs31 } from "react/jsx-runtime";
4089
4149
  var fitLabel = (text, max) => text.length <= max ? text : max < 2 ? "" : `${text.slice(0, max - 1)}\u2026`;
4090
- function hierarchyScene(props, layout, hidden, text = en.d3Chart) {
4150
+ function hierarchyScene(props, layout, hidden, text = d3Chart) {
4091
4151
  if (!("root" in props)) return { marks: [] };
4092
4152
  const { width: w, height: h, top: t, bottom: b, left: l, right: r } = layout, W = w - l - r, H2 = h - t - b;
4093
4153
  const input = hierarchy(props.root);
@@ -4300,7 +4360,7 @@ import { arc as arc4 } from "d3-shape";
4300
4360
  import { sankey, sankeyLinkHorizontal } from "d3-sankey";
4301
4361
  import { geoMercator, geoEqualEarth, geoOrthographic, geoPath } from "d3-geo";
4302
4362
  import { jsx as jsx37, jsxs as jsxs32 } from "react/jsx-runtime";
4303
- function relationScene(props, layout, hidden, text = en.d3Chart) {
4363
+ function relationScene(props, layout, hidden, text = d3Chart) {
4304
4364
  const { width: w, height: h, left: l, right: r, top: t, bottom: b } = layout, W = w - l - r, H2 = h - t - b;
4305
4365
  if (props.type === "geo") {
4306
4366
  let checkCoordinates2 = function(value) {
@@ -6876,10 +6936,10 @@ function calendarCells(base, weekStartsOn, fixedWeeks) {
6876
6936
  return d;
6877
6937
  });
6878
6938
  }
6879
- function nextRange(range, day) {
6880
- if (!range.start || range.end) return { start: day, end: null };
6881
- if (day < range.start) return { start: day, end: null };
6882
- return { start: range.start, end: day };
6939
+ function nextRange(range2, day) {
6940
+ if (!range2.start || range2.end) return { start: day, end: null };
6941
+ if (day < range2.start) return { start: day, end: null };
6942
+ return { start: range2.start, end: day };
6883
6943
  }
6884
6944
  var Chevron2 = ({ d, color }) => /* @__PURE__ */ jsx78(Svg26, { width: 15, height: 15, viewBox: "0 0 24 24", fill: "none", stroke: color, strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round", children: /* @__PURE__ */ jsx78(Path19, { d }) });
6885
6945
  function Calendar({ mode = "single", value, defaultValue, onChange, numberOfMonths = 1, fixedWeeks = true, month, defaultMonth, onMonthChange, min, max, weekStartsOn = 0, locale = "pt-BR", monthLabelStyle = "long", style }) {
@@ -6887,8 +6947,8 @@ function Calendar({ mode = "single", value, defaultValue, onChange, numberOfMont
6887
6947
  const [singleInternal, setSingleInternal] = useState27(mode === "single" && defaultValue instanceof Date ? defaultValue : null);
6888
6948
  const [rangeInternal, setRangeInternal] = useState27(mode === "range" && isRange(defaultValue) ? defaultValue : { start: null, end: null });
6889
6949
  const single = value !== void 0 && value instanceof Date ? value : value === null ? null : singleInternal;
6890
- const range = value !== void 0 && isRange(value) ? value : rangeInternal;
6891
- const anchor = mode === "range" ? range.start : single;
6950
+ const range2 = value !== void 0 && isRange(value) ? value : rangeInternal;
6951
+ const anchor = mode === "range" ? range2.start : single;
6892
6952
  const [viewInternal, setViewInternal] = useState27(firstOfMonth(defaultMonth ?? anchor ?? /* @__PURE__ */ new Date()));
6893
6953
  const view = month ? firstOfMonth(month) : viewInternal;
6894
6954
  const today = startOfDay(/* @__PURE__ */ new Date());
@@ -6916,16 +6976,16 @@ function Calendar({ mode = "single", value, defaultValue, onChange, numberOfMont
6916
6976
  onChange?.(day);
6917
6977
  return;
6918
6978
  }
6919
- const next = nextRange(range, day);
6979
+ const next = nextRange(range2, day);
6920
6980
  if (value === void 0) setRangeInternal(next);
6921
6981
  onChange?.(next);
6922
6982
  };
6923
6983
  const dayState = (d) => {
6924
6984
  if (mode === "single") return { isSel: sameDay(d, single), isStart: false, isEnd: false, inBand: false };
6925
- const isStart = sameDay(d, range.start);
6926
- const isEnd = sameDay(d, range.end);
6927
- const inBand = !!range.start && !!range.end && d > startOfDay(range.start) && d < startOfDay(range.end);
6928
- return { isSel: isStart || isEnd, isStart, isEnd: isEnd && !!range.end, inBand };
6985
+ const isStart = sameDay(d, range2.start);
6986
+ const isEnd = sameDay(d, range2.end);
6987
+ const inBand = !!range2.start && !!range2.end && d > startOfDay(range2.start) && d < startOfDay(range2.end);
6988
+ return { isSel: isStart || isEnd, isStart, isEnd: isEnd && !!range2.end, inBand };
6929
6989
  };
6930
6990
  const ink1 = t.pick("--ink-1");
6931
6991
  const navSize = t.pick("--calendar-nav-size", 30);
@@ -6981,7 +7041,7 @@ function Calendar({ mode = "single", value, defaultValue, onChange, numberOfMont
6981
7041
  onPress: () => select(d),
6982
7042
  style: { width: `${100 / 7}%`, height: cell, alignItems: "center", justifyContent: "center" },
6983
7043
  children: ({ pressed }) => /* @__PURE__ */ jsxs63(Fragment22, { children: [
6984
- (inBand || isStart && !!range.end || isEnd) && !(isStart && isEnd) && /* @__PURE__ */ jsx78(View60, { style: { position: "absolute", top: (cell - daySize) / 2, bottom: (cell - daySize) / 2, left: isStart ? "50%" : 0, right: isEnd ? "50%" : 0, backgroundColor: soft } }),
7044
+ (inBand || isStart && !!range2.end || isEnd) && !(isStart && isEnd) && /* @__PURE__ */ jsx78(View60, { style: { position: "absolute", top: (cell - daySize) / 2, bottom: (cell - daySize) / 2, left: isStart ? "50%" : 0, right: isEnd ? "50%" : 0, backgroundColor: soft } }),
6985
7045
  /* @__PURE__ */ jsx78(View60, { style: {
6986
7046
  width: daySize,
6987
7047
  height: daySize,
@@ -7077,7 +7137,7 @@ function formatBrazilianPhone(value) {
7077
7137
  var PhoneInput = forwardRef14(function PhoneInput2({ label, hint, error, country = "BR", countries = phoneCountries, onCountryChange, disabled = false, value, onChangeText, onFocus, onBlur, style, accessibilityLabel, maxLength, ...rest }, ref) {
7078
7138
  const t = useRefy();
7079
7139
  const [focused, setFocused] = useState29(false);
7080
- const [menu, setMenu] = useState29(false);
7140
+ const [menu2, setMenu] = useState29(false);
7081
7141
  const labelId = useId6();
7082
7142
  const selected = countries.find((item) => item.code === country) ?? countries[0];
7083
7143
  const height = t.pick("--phone-input-height", "--field-height", 38);
@@ -7086,7 +7146,7 @@ var PhoneInput = forwardRef14(function PhoneInput2({ label, hint, error, country
7086
7146
  /* @__PURE__ */ jsx80(
7087
7147
  Menu,
7088
7148
  {
7089
- open: menu,
7149
+ open: menu2,
7090
7150
  onOpenChange: setMenu,
7091
7151
  ariaLabel: "Pa\xEDs e c\xF3digo internacional",
7092
7152
  entries: countries.map((item) => ({ id: item.code, label: `${item.name} \xB7 ${item.callingCode}`, icon: /* @__PURE__ */ jsx80(Text35, { children: item.flag }) })),
@@ -7100,7 +7160,7 @@ var PhoneInput = forwardRef14(function PhoneInput2({ label, hint, error, country
7100
7160
  {
7101
7161
  accessibilityRole: "button",
7102
7162
  accessibilityLabel: `Pa\xEDs: ${selected.name} ${selected.callingCode}`,
7103
- accessibilityState: { disabled, expanded: menu },
7163
+ accessibilityState: { disabled, expanded: menu2 },
7104
7164
  disabled,
7105
7165
  onPress: () => setMenu(true),
7106
7166
  hitSlop: hitSlopFor(height),
@@ -7154,7 +7214,7 @@ function PostalCodeInput({ value, onChangeText, lookup, onAddressFound, error, d
7154
7214
  const { width } = useWindowDimensions6();
7155
7215
  const stacked = width <= 480;
7156
7216
  const [status, setStatus] = useState30("idle");
7157
- const [message, setMessage] = useState30("");
7217
+ const [message2, setMessage] = useState30("");
7158
7218
  const searching = useRef26(null);
7159
7219
  const lastFound = useRef26(null);
7160
7220
  async function search(raw2 = value) {
@@ -7226,7 +7286,7 @@ function PostalCodeInput({ value, onChangeText, lookup, onAddressFound, error, d
7226
7286
  }
7227
7287
  )
7228
7288
  ] }),
7229
- message && !error ? /* @__PURE__ */ jsx81(Text36, { accessibilityLiveRegion: "polite", role: "status", style: baseText(t, { size: t.pick("--text-xs", 12), color: status === "error" ? "--critical" : "--ink-3", leading: "--leading-snug" }), children: message }) : null
7289
+ message2 && !error ? /* @__PURE__ */ jsx81(Text36, { accessibilityLiveRegion: "polite", role: "status", style: baseText(t, { size: t.pick("--text-xs", 12), color: status === "error" ? "--critical" : "--ink-3", leading: "--leading-snug" }), children: message2 }) : null
7230
7290
  ] });
7231
7291
  }
7232
7292
 
@@ -8391,7 +8451,7 @@ function PropertyActionGroup({ state = "idle", activeAction, onAction, orientati
8391
8451
  const gap = t.size("--space-2", 8);
8392
8452
  const status = (action) => activeAction !== action ? "idle" : state === "processing" ? "loading" : state === "completed" ? "success" : "idle";
8393
8453
  const xs = t.pick("--text-xs", 12);
8394
- const message = statusMessage ?? propertyActionMessage(state, activeAction, labels2);
8454
+ const message2 = statusMessage ?? propertyActionMessage(state, activeAction, labels2);
8395
8455
  return /* @__PURE__ */ jsxs82(View78, { onLayout: (e) => setWidth(e.nativeEvent.layout.width), style: [{ width: "100%", gap }, style], children: [
8396
8456
  /* @__PURE__ */ jsx97(View78, { role: "group", accessibilityLabel: "Decis\xF5es sobre o item", style: { flexDirection: vertical ? "column" : "row", gap }, children: actions.map((action) => {
8397
8457
  const isActive = action === activeAction;
@@ -8412,7 +8472,7 @@ function PropertyActionGroup({ state = "idle", activeAction, onAction, orientati
8412
8472
  }
8413
8473
  ) }, action);
8414
8474
  }) }),
8415
- /* @__PURE__ */ jsx97(View78, { role: "status", accessibilityLiveRegion: "polite", children: renderText(message, { color: t.pick("--ink-3"), fontSize: xs, lineHeight: Math.round(xs * 1.5), textAlign: "center", ...t.font("--font-body", "--weight-regular") }) })
8475
+ /* @__PURE__ */ jsx97(View78, { role: "status", accessibilityLiveRegion: "polite", children: renderText(message2, { color: t.pick("--ink-3"), fontSize: xs, lineHeight: Math.round(xs * 1.5), textAlign: "center", ...t.font("--font-body", "--weight-regular") }) })
8416
8476
  ] });
8417
8477
  }
8418
8478
 
@@ -8796,7 +8856,7 @@ function Close2() {
8796
8856
  /* @__PURE__ */ jsx102(Line12, { x1: 18, y1: 6, x2: 6, y2: 18 })
8797
8857
  ] });
8798
8858
  }
8799
- function Drawer({ open, modal = true, onOpenChange, side = "right", title, footer, width, children, hideClose, insets = {}, style }) {
8859
+ function Drawer({ open, modal: modal2 = true, onOpenChange, side = "right", title, footer, width, children, hideClose, insets = {}, style }) {
8800
8860
  const t = useRefy();
8801
8861
  const reduced = useReducedMotion(t.pick("--motion-reduced", 0) === 1);
8802
8862
  const screen = useWindowDimensions9();
@@ -8845,11 +8905,11 @@ function Drawer({ open, modal = true, onOpenChange, side = "right", title, foote
8845
8905
  const travel = lateral ? side === "left" ? -panelW : panelW : bottom ? screen.height : t.size("--space-3", 12);
8846
8906
  const transform = lateral ? [{ translateX: progress.interpolate({ inputRange: [0, 1], outputRange: [travel, 0] }) }] : [{ translateY: Animated24.add(progress.interpolate({ inputRange: [0, 1], outputRange: [travel, 0] }), drag) }];
8847
8907
  return /* @__PURE__ */ jsxs87(RNModal3, { transparent: true, visible: true, animationType: "none", statusBarTranslucent: true, onRequestClose: close, children: [
8848
- modal ? /* @__PURE__ */ jsx102(Animated24.View, { style: { position: "absolute", left: 0, right: 0, top: 0, bottom: 0, opacity: progress }, children: /* @__PURE__ */ jsx102(Pressable40, { accessible: false, importantForAccessibility: "no", onPress: open ? close : void 0, style: { flex: 1, backgroundColor: t.pick("--legacy-modal-scrim") } }) }) : null,
8908
+ modal2 ? /* @__PURE__ */ jsx102(Animated24.View, { style: { position: "absolute", left: 0, right: 0, top: 0, bottom: 0, opacity: progress }, children: /* @__PURE__ */ jsx102(Pressable40, { accessible: false, importantForAccessibility: "no", onPress: open ? close : void 0, style: { flex: 1, backgroundColor: t.pick("--legacy-modal-scrim") } }) }) : null,
8849
8909
  /* @__PURE__ */ jsxs87(
8850
8910
  Animated24.View,
8851
8911
  {
8852
- accessibilityViewIsModal: modal,
8912
+ accessibilityViewIsModal: modal2,
8853
8913
  accessibilityLabel: typeof title === "string" ? title : title ? void 0 : "Painel",
8854
8914
  onAccessibilityEscape: close,
8855
8915
  pointerEvents: open ? "auto" : "none",
@@ -9216,7 +9276,7 @@ function KanbanBoard({ columns, onColumnsChange, onCardClick, wipLimit, allowedT
9216
9276
  const [local, setLocal] = useState47({ source: columns, value: columns });
9217
9277
  if (local.source !== columns) setLocal({ source: columns, value: columns });
9218
9278
  const current = onColumnsChange ? columns : local.value;
9219
- const [menu, setMenu] = useState47(null);
9279
+ const [menu2, setMenu] = useState47(null);
9220
9280
  const [opened, setOpened] = useState47(null);
9221
9281
  const [announcement, setAnnouncement] = useState47("");
9222
9282
  const blocked = (from, to) => kanbanBlocked(current, from, to, wipLimit, allowedTransitions);
@@ -9263,7 +9323,7 @@ function KanbanBoard({ columns, onColumnsChange, onCardClick, wipLimit, allowedT
9263
9323
  column.description != null && /* @__PURE__ */ jsx107(View87, { style: { marginTop: s("--space-1", 4) }, children: renderText(column.description, { color: ink3, fontSize: xs, lineHeight: Math.round(xs * 1.5), ...t.font("--font-body", "--weight-regular") }) })
9264
9324
  ] }),
9265
9325
  /* @__PURE__ */ jsx107(View87, { accessible: true, accessibilityLabel: `${column.items.length} cards${limit === void 0 ? "" : `, limite WIP ${limit}`}`, children: /* @__PURE__ */ jsx107(Badge, { tone: full ? "warn" : "neutral", children: `${column.items.length}${limit === void 0 ? "" : ` / ${limit}`}` }) }),
9266
- entries.length > 0 && /* @__PURE__ */ jsx107(Menu, { open: menu === `lane:${column.id}`, onOpenChange: (o) => setMenu(o ? `lane:${column.id}` : null), ariaLabel: "A\xE7\xF5es da etapa", align: "end", entries, children: /* @__PURE__ */ jsx107(IconButton, { size: "sm", accessibilityLabel: `A\xE7\xF5es da etapa ${title}`, icon: /* @__PURE__ */ jsx107(Dots, {}), onPress: () => setMenu(`lane:${column.id}`) }) }),
9326
+ entries.length > 0 && /* @__PURE__ */ jsx107(Menu, { open: menu2 === `lane:${column.id}`, onOpenChange: (o) => setMenu(o ? `lane:${column.id}` : null), ariaLabel: "A\xE7\xF5es da etapa", align: "end", entries, children: /* @__PURE__ */ jsx107(IconButton, { size: "sm", accessibilityLabel: `A\xE7\xF5es da etapa ${title}`, icon: /* @__PURE__ */ jsx107(Dots, {}), onPress: () => setMenu(`lane:${column.id}`) }) }),
9267
9327
  onAddCard && /* @__PURE__ */ jsx107(IconButton, { size: "sm", accessibilityLabel: `Adicionar card em ${title}`, accessibilityHint: full ? `Limite WIP de ${limit} atingido.` : void 0, disabled: full, icon: /* @__PURE__ */ jsx107(Plus, {}), onPress: () => onAddCard(column) })
9268
9328
  ] }),
9269
9329
  /* @__PURE__ */ jsxs92(View87, { style: { gap: s("--space-3", 12) }, children: [
@@ -9288,7 +9348,7 @@ function KanbanBoard({ columns, onColumnsChange, onCardClick, wipLimit, allowedT
9288
9348
  const id = e.nativeEvent.actionName.replace(/^move:/, "");
9289
9349
  move(item.id, column.id, id);
9290
9350
  },
9291
- actions: /* @__PURE__ */ jsx107(Menu, { open: menu === item.id, onOpenChange: (o) => setMenu(o ? item.id : null), ariaLabel: "A\xE7\xF5es do card", align: "end", entries: entries2, children: /* @__PURE__ */ jsx107(IconButton, { size: "sm", accessibilityLabel: `A\xE7\xF5es de ${name(item.title, item.id)}`, icon: /* @__PURE__ */ jsx107(Dots, {}), onPress: () => setMenu(item.id) }) })
9351
+ actions: /* @__PURE__ */ jsx107(Menu, { open: menu2 === item.id, onOpenChange: (o) => setMenu(o ? item.id : null), ariaLabel: "A\xE7\xF5es do card", align: "end", entries: entries2, children: /* @__PURE__ */ jsx107(IconButton, { size: "sm", accessibilityLabel: `A\xE7\xF5es de ${name(item.title, item.id)}`, icon: /* @__PURE__ */ jsx107(Dots, {}), onPress: () => setMenu(item.id) }) })
9292
9352
  },
9293
9353
  item.id
9294
9354
  );
@@ -10150,15 +10210,684 @@ function IntentComposer({
10150
10210
  }
10151
10211
  );
10152
10212
  }
10213
+
10214
+ // .build/src/components/Rating.tsx
10215
+ import { useState as useState55 } from "react";
10216
+ import { Pressable as Pressable44, Text as Text66, View as View97 } from "react-native";
10217
+ import Svg48, { ClipPath as ClipPath3, Defs as Defs11, Path as Path37, Rect as Rect13 } from "react-native-svg";
10218
+ import { Fragment as Fragment34, jsx as jsx117, jsxs as jsxs102 } from "react/jsx-runtime";
10219
+ var STAR = "M12 2.8l2.84 5.76 6.36.92-4.6 4.49 1.08 6.33L12 17.3l-5.68 3 1.08-6.33-4.6-4.49 6.36-.92z";
10220
+ var SIZES = { sm: 14, md: 18, lg: 24 };
10221
+ var clamp3 = (value, max) => Math.min(max, Math.max(0, value));
10222
+ var clipCount = 0;
10223
+ function Star({ size, fill: fill2, empty, full }) {
10224
+ const [id] = useState55(() => `refy-star-${++clipCount}`);
10225
+ return /* @__PURE__ */ jsxs102(Svg48, { width: size, height: size, viewBox: "0 0 24 24", children: [
10226
+ /* @__PURE__ */ jsx117(Path37, { d: STAR, fill: empty }),
10227
+ fill2 > 0 && /* @__PURE__ */ jsxs102(Fragment34, { children: [
10228
+ /* @__PURE__ */ jsx117(Defs11, { children: /* @__PURE__ */ jsx117(ClipPath3, { id, children: /* @__PURE__ */ jsx117(Rect13, { x: "0", y: "0", width: 24 * fill2, height: "24" }) }) }),
10229
+ /* @__PURE__ */ jsx117(Path37, { d: STAR, fill: full, clipPath: `url(#${id})` })
10230
+ ] })
10231
+ ] });
10232
+ }
10233
+ var fmt2 = (n) => String(Math.round(n * 10) / 10).replace(".", ",");
10234
+ function Rating({ label, value: valueProp, defaultValue = 0, onChange, max = 5, readOnly = false, count, showValue, size = "md", disabled = false, showLabel = false, style, ...rest }) {
10235
+ const t = useRefy();
10236
+ const [inner, setInner] = useState55(defaultValue);
10237
+ const value = clamp3(valueProp ?? inner, max);
10238
+ const px = SIZES[size];
10239
+ const empty = t.pick("--surface-container-high", "--line");
10240
+ const full = t.pick("--weak");
10241
+ const text = baseText(t, { size: t.pick(size === "sm" ? "--text-xs" : size === "lg" ? "--text-base" : "--text-sm"), color: "--ink-3" });
10242
+ const shownValue = showValue ?? readOnly;
10243
+ const reviews = count != null ? `(${count} ${count === 1 ? "avalia\xE7\xE3o" : "avalia\xE7\xF5es"})` : null;
10244
+ const meta = (shownValue || reviews) && /* @__PURE__ */ jsxs102(Text66, { style: text, children: [
10245
+ shownValue && /* @__PURE__ */ jsxs102(Text66, { style: { color: t.pick("--ink-1"), ...t.font("--font-body", "--weight-semi") }, children: [
10246
+ fmt2(value),
10247
+ " "
10248
+ ] }),
10249
+ reviews
10250
+ ] });
10251
+ const stars = Array.from({ length: max }, (_, i) => i + 1);
10252
+ const withLabel = (node) => showLabel ? /* @__PURE__ */ jsxs102(View97, { style: { gap: 4 }, children: [
10253
+ /* @__PURE__ */ jsx117(Text66, { importantForAccessibility: "no", accessibilityElementsHidden: true, style: baseText(t, { size: t.pick("--text-xs", 12), color: "--ink-2", weight: "--weight-medium" }), children: label }),
10254
+ node
10255
+ ] }) : node;
10256
+ if (readOnly) {
10257
+ return withLabel(
10258
+ /* @__PURE__ */ jsxs102(View97, { accessible: true, accessibilityRole: "image", accessibilityLabel: `${label}: ${fmt2(value)} de ${max}${reviews ? `, ${count} avalia\xE7\xF5es` : ""}`, ...rest, style: [{ flexDirection: "row", alignItems: "center", gap: 8 }, style], children: [
10259
+ /* @__PURE__ */ jsx117(View97, { style: { flexDirection: "row", gap: 2 }, children: stars.map((n) => /* @__PURE__ */ jsx117(Star, { size: px, fill: clamp3(value - (n - 1), 1), empty, full }, n)) }),
10260
+ meta
10261
+ ] })
10262
+ );
10263
+ }
10264
+ const selected = Math.round(value);
10265
+ const choose = (n) => {
10266
+ if (disabled) return;
10267
+ const next = selected === n ? 0 : n;
10268
+ if (valueProp === void 0) setInner(next);
10269
+ onChange?.(next);
10270
+ };
10271
+ return withLabel(
10272
+ /* @__PURE__ */ jsxs102(View97, { accessibilityRole: "radiogroup", accessibilityLabel: label, ...rest, style: [{ flexDirection: "row", alignItems: "center", gap: 8, opacity: disabled ? t.pick("--control-disabled-opacity", 0.5) : 1 }, style], children: [
10273
+ /* @__PURE__ */ jsx117(View97, { style: { flexDirection: "row", gap: 2 }, children: stars.map((n) => /* @__PURE__ */ jsx117(
10274
+ Pressable44,
10275
+ {
10276
+ accessibilityRole: "radio",
10277
+ accessibilityLabel: `${n} de ${max} ${max === 1 ? "estrela" : "estrelas"}`,
10278
+ accessibilityState: { checked: selected === n, disabled },
10279
+ disabled,
10280
+ onPress: () => choose(n),
10281
+ hitSlop: hitSlopFor(px + 4, px + 4),
10282
+ style: { padding: 2, width: px + 4, height: px + 4 },
10283
+ children: /* @__PURE__ */ jsx117(Star, { size: px, fill: n <= selected ? 1 : 0, empty, full })
10284
+ },
10285
+ n
10286
+ )) }),
10287
+ meta
10288
+ ] })
10289
+ );
10290
+ }
10291
+
10292
+ // .build/src/components/Quote.tsx
10293
+ import { View as View98 } from "react-native";
10294
+ import Svg49, { Path as Path38 } from "react-native-svg";
10295
+ import { jsx as jsx118, jsxs as jsxs103 } from "react/jsx-runtime";
10296
+ function initialsOf2(author) {
10297
+ if (typeof author !== "string") return void 0;
10298
+ return author.trim().split(/\s+/).filter(Boolean).slice(0, 2).map((part) => part[0]).join("").toUpperCase() || void 0;
10299
+ }
10300
+ function Quote({ children, author, source, avatar, variant = "block", style, ...rest }) {
10301
+ const t = useRefy();
10302
+ const pull = variant === "pull";
10303
+ const initials = initialsOf2(author);
10304
+ const quoteText = pull ? { ...baseText(t, { size: t.pick("--text-h4", 20), color: "--ink-1", family: "--font-headline", leading: "--leading-snug" }) } : baseText(t, { size: t.pick("--text-md", 16), color: "--ink-1", leading: "--leading-relaxed" });
10305
+ const sm = t.pick("--text-sm", 13);
10306
+ return /* @__PURE__ */ jsxs103(
10307
+ View98,
10308
+ {
10309
+ ...rest,
10310
+ style: [
10311
+ { gap: 12, minWidth: 0 },
10312
+ pull ? { padding: t.pick("--space-6", 24), borderRadius: t.pick("--card-radius", "--radius-lg"), backgroundColor: t.pick("--surface-2", "--surface-container-low") } : { paddingLeft: t.pick("--space-4", 16), borderLeftWidth: 3, borderLeftColor: t.pick("--primary") },
10313
+ style
10314
+ ],
10315
+ children: [
10316
+ pull && /* @__PURE__ */ jsx118(Svg49, { width: 28, height: 21, viewBox: "0 0 32 24", accessibilityElementsHidden: true, importantForAccessibility: "no", children: /* @__PURE__ */ jsx118(Path38, { fill: t.pick("--primary"), d: "M0 24V14.4C0 6.1 4.4 1.3 12.2 0l1.4 3.4C9 4.6 6.9 7.3 6.7 11H13v13H0zm18.4 0V14.4C18.4 6.1 22.8 1.3 30.6 0L32 3.4c-4.6 1.2-6.7 3.9-6.9 7.6h6.3v13h-13z" }) }),
10317
+ renderText(children, quoteText),
10318
+ (author != null || source != null) && /* @__PURE__ */ jsxs103(View98, { style: { flexDirection: "row", alignItems: "center", gap: 12 }, children: [
10319
+ pull && (avatar || initials) && /* @__PURE__ */ jsx118(Avatar, { size: "sm", src: avatar, initials, seed: typeof author === "string" ? author : void 0 }),
10320
+ /* @__PURE__ */ jsxs103(View98, { style: { flexShrink: 1 }, children: [
10321
+ author != null && renderText(author, { ...baseText(t, { size: sm, color: "--ink-1", weight: "--weight-semi" }) }),
10322
+ source != null && renderText(source, baseText(t, { size: sm, color: "--ink-3" }))
10323
+ ] })
10324
+ ] })
10325
+ ]
10326
+ }
10327
+ );
10328
+ }
10329
+
10330
+ // .build/src/components/KeyValueList.tsx
10331
+ import { useState as useState56 } from "react";
10332
+ import { View as View99 } from "react-native";
10333
+ import { jsx as jsx119, jsxs as jsxs104 } from "react/jsx-runtime";
10334
+ function KeyValueList({ items, layout = "rows", dividers, title, style, ...rest }) {
10335
+ const t = useRefy();
10336
+ const [width, setWidth] = useState56(0);
10337
+ const lines = dividers ?? layout === "rows";
10338
+ const line4 = t.pick("--line-soft");
10339
+ const sm = t.pick("--text-sm", 13);
10340
+ const label = baseText(t, { size: sm, color: "--ink-3" });
10341
+ const value = { ...baseText(t, { size: sm, color: "--ink-1", weight: "--weight-medium" }), fontVariant: ["tabular-nums"] };
10342
+ const hint = baseText(t, { size: t.pick("--text-xs", 12), color: "--ink-3" });
10343
+ const heading = title != null && /* @__PURE__ */ jsx119(View99, { accessibilityRole: "header", accessible: true, style: { marginBottom: 4 }, children: renderText(title, baseText(t, { size: sm, color: "--ink-1", family: "--font-headline", weight: "--weight-semi" })) });
10344
+ if (layout === "columns") {
10345
+ const gap = t.pick("--space-5", 20);
10346
+ const columns = Math.max(1, Math.floor((width + gap) / (150 + gap)));
10347
+ const cell = width ? (width - gap * (columns - 1)) / columns : 150;
10348
+ const eyebrow = t.pick("--text-eyebrow", 11);
10349
+ return /* @__PURE__ */ jsxs104(View99, { ...rest, style, children: [
10350
+ heading,
10351
+ /* @__PURE__ */ jsx119(View99, { onLayout: (e) => setWidth(e.nativeEvent.layout.width), style: { flexDirection: "row", flexWrap: "wrap", columnGap: gap, rowGap: t.pick("--space-4", 16) }, children: items.map((item, index) => /* @__PURE__ */ jsxs104(View99, { accessible: true, style: { width: cell, gap: 2, paddingTop: lines ? 12 : 0, borderTopWidth: lines ? 1 : 0, borderTopColor: line4 }, children: [
10352
+ renderText(item.label, { ...baseText(t, { size: eyebrow, color: "--ink-3", family: ["--interface-detail-font", "--font-mono"] }), textTransform: "uppercase", letterSpacing: 0.16 * eyebrow }),
10353
+ renderText(item.value, value),
10354
+ item.hint != null && renderText(item.hint, hint)
10355
+ ] }, item.id ?? index)) })
10356
+ ] });
10357
+ }
10358
+ return /* @__PURE__ */ jsxs104(View99, { ...rest, style: [{ minWidth: 0 }, style], children: [
10359
+ heading,
10360
+ items.map((item, index) => /* @__PURE__ */ jsxs104(View99, { accessible: true, style: { flexDirection: "row", justifyContent: "space-between", alignItems: "baseline", gap: 16, paddingVertical: 8, borderTopWidth: lines && index > 0 ? 1 : 0, borderTopColor: line4 }, children: [
10361
+ /* @__PURE__ */ jsx119(View99, { style: { flexShrink: 1 }, children: renderText(item.label, label) }),
10362
+ /* @__PURE__ */ jsxs104(View99, { style: { flexShrink: 1, alignItems: "flex-end" }, children: [
10363
+ renderText(item.value, { ...value, textAlign: "right" }),
10364
+ item.hint != null && renderText(item.hint, { ...hint, textAlign: "right" })
10365
+ ] })
10366
+ ] }, item.id ?? index))
10367
+ ] });
10368
+ }
10369
+
10370
+ // .build/src/components/ComparisonTable.tsx
10371
+ import { ScrollView as ScrollView17, Text as Text67, View as View100 } from "react-native";
10372
+ import Svg50, { Path as Path39 } from "react-native-svg";
10373
+ import { jsx as jsx120, jsxs as jsxs105 } from "react/jsx-runtime";
10374
+ var FEATURE = 140;
10375
+ var OPTION = 110;
10376
+ function ComparisonTable({ options, rows, highlight, highlightLabel = "Recomendado", caption, style, ...rest }) {
10377
+ const t = useRefy();
10378
+ const line4 = t.pick("--line-soft");
10379
+ const soft = t.pick("--primary-soft");
10380
+ const sm = t.pick("--text-sm", 13);
10381
+ const cellText = { ...baseText(t, { size: sm, color: "--ink-2" }), textAlign: "center", fontVariant: ["tabular-nums"] };
10382
+ const mark = (value) => {
10383
+ if (value === true)
10384
+ return /* @__PURE__ */ jsx120(Svg50, { width: 20, height: 20, viewBox: "0 0 24 24", accessibilityLabel: "Sim", children: /* @__PURE__ */ jsx120(Path39, { d: "M5 12.5l4.5 4.5L19 7.5", stroke: t.pick("--good-ink"), strokeWidth: 2.4, fill: "none", strokeLinecap: "round", strokeLinejoin: "round" }) });
10385
+ if (value === false || value == null)
10386
+ return /* @__PURE__ */ jsx120(Svg50, { width: 20, height: 20, viewBox: "0 0 24 24", accessibilityLabel: "N\xE3o", children: /* @__PURE__ */ jsx120(Path39, { d: "M7 12h10", stroke: t.pick("--ink-4", "--ink-3"), strokeWidth: 2.4, fill: "none", strokeLinecap: "round" }) });
10387
+ return renderText(value, cellText);
10388
+ };
10389
+ const cell = (index) => ({ width: OPTION, paddingVertical: 12, paddingHorizontal: 12, alignItems: "center", justifyContent: "center", backgroundColor: index === highlight ? soft : void 0 });
10390
+ return /* @__PURE__ */ jsx120(
10391
+ View100,
10392
+ {
10393
+ accessibilityLabel: caption,
10394
+ ...rest,
10395
+ style: [{ borderWidth: 1, borderColor: line4, borderRadius: t.pick("--card-radius", "--radius-lg"), backgroundColor: t.pick("--card-background", "--surface"), overflow: "hidden" }, style],
10396
+ children: /* @__PURE__ */ jsx120(ScrollView17, { horizontal: true, showsHorizontalScrollIndicator: false, style: { flexGrow: 0 }, children: /* @__PURE__ */ jsxs105(View100, { children: [
10397
+ /* @__PURE__ */ jsxs105(View100, { style: { flexDirection: "row", borderBottomWidth: 1, borderBottomColor: line4 }, children: [
10398
+ /* @__PURE__ */ jsx120(View100, { style: { width: FEATURE } }),
10399
+ options.map((option, index) => /* @__PURE__ */ jsxs105(View100, { accessibilityRole: "header", style: [cell(index), { justifyContent: "flex-end", gap: 4 }], children: [
10400
+ index === highlight && /* @__PURE__ */ jsx120(View100, { style: { paddingHorizontal: 8, paddingVertical: 2, borderRadius: 999, backgroundColor: t.pick("--primary") }, children: /* @__PURE__ */ jsx120(Text67, { style: { color: t.pick("--on-primary"), fontSize: t.pick("--text-2xs", 10), ...t.font(["--interface-detail-font", "--font-mono"], "--weight-semi"), textTransform: "uppercase" }, children: highlightLabel }) }),
10401
+ /* @__PURE__ */ jsx120(Text67, { style: { ...baseText(t, { size: t.pick("--text-base", 14), color: "--ink-1", family: "--font-headline", weight: "--weight-semi" }), textAlign: "center" }, children: option })
10402
+ ] }, option))
10403
+ ] }),
10404
+ rows.map((row3, r) => /* @__PURE__ */ jsxs105(View100, { accessible: true, accessibilityLabel: void 0, style: { flexDirection: "row", borderBottomWidth: r < rows.length - 1 ? 1 : 0, borderBottomColor: line4 }, children: [
10405
+ /* @__PURE__ */ jsxs105(View100, { style: { width: FEATURE, paddingVertical: 12, paddingHorizontal: 16, justifyContent: "center" }, children: [
10406
+ renderText(row3.feature, baseText(t, { size: sm, color: "--ink-1", weight: "--weight-medium" })),
10407
+ row3.hint != null && renderText(row3.hint, baseText(t, { size: t.pick("--text-xs", 12), color: "--ink-3" }))
10408
+ ] }),
10409
+ options.map((option, index) => /* @__PURE__ */ jsx120(View100, { style: cell(index), children: mark(row3.values[index]) }, option))
10410
+ ] }, row3.id ?? r))
10411
+ ] }) })
10412
+ }
10413
+ );
10414
+ }
10415
+
10416
+ // .build/src/components/Agenda.tsx
10417
+ import { Pressable as Pressable45, Text as Text68, View as View101 } from "react-native";
10418
+
10419
+ // .build/src/components/agendaDays.ts
10420
+ var DATE_ONLY = /^\d{4}-\d{2}-\d{2}$/;
10421
+ function dayKey(date, timeZone) {
10422
+ const parts = new Intl.DateTimeFormat("en-CA", { timeZone, year: "numeric", month: "2-digit", day: "2-digit" }).formatToParts(date);
10423
+ const get = (type) => parts.find((part) => part.type === type)?.value ?? "";
10424
+ return `${get("year")}-${get("month")}-${get("day")}`;
10425
+ }
10426
+ function groupAgenda(events, timeZone, from, to) {
10427
+ const days = /* @__PURE__ */ new Map();
10428
+ if (from && to && DATE_ONLY.test(from) && DATE_ONLY.test(to)) {
10429
+ const cursor = /* @__PURE__ */ new Date(`${from}T12:00:00Z`);
10430
+ const last = (/* @__PURE__ */ new Date(`${to}T12:00:00Z`)).getTime();
10431
+ for (let n = 0; n < 62 && cursor.getTime() <= last; n++) {
10432
+ const key = cursor.toISOString().slice(0, 10);
10433
+ days.set(key, { key, date: new Date(cursor), events: [] });
10434
+ cursor.setUTCDate(cursor.getUTCDate() + 1);
10435
+ }
10436
+ }
10437
+ for (const event of events) {
10438
+ const dateOnly = typeof event.start === "string" && DATE_ONLY.test(event.start);
10439
+ const start = dateOnly ? /* @__PURE__ */ new Date(`${event.start}T12:00:00Z`) : new Date(event.start);
10440
+ if (Number.isNaN(start.getTime())) continue;
10441
+ const key = dateOnly ? event.start : dayKey(start, timeZone);
10442
+ const end = event.end === void 0 ? void 0 : new Date(event.end);
10443
+ const day = days.get(key) ?? { key, date: /* @__PURE__ */ new Date(`${key}T12:00:00Z`), events: [] };
10444
+ day.events.push({ event, allDay: dateOnly || Boolean(event.allDay), start, end: end && !Number.isNaN(end.getTime()) ? end : void 0 });
10445
+ days.set(key, day);
10446
+ }
10447
+ return [...days.values()].sort((a, b) => a.key.localeCompare(b.key)).map((day) => ({
10448
+ ...day,
10449
+ events: day.events.sort((a, b) => Number(b.allDay) - Number(a.allDay) || a.start.getTime() - b.start.getTime())
10450
+ }));
10451
+ }
10452
+
10453
+ // .build/src/components/Agenda.tsx
10454
+ import { Fragment as Fragment35, jsx as jsx121, jsxs as jsxs106 } from "react/jsx-runtime";
10455
+ var TONE = {
10456
+ primary: ["--primary"],
10457
+ info: ["--info"],
10458
+ good: ["--good"],
10459
+ warn: ["--weak"],
10460
+ critical: ["--critical"],
10461
+ neutral: ["--line-strong", "--ink-3"]
10462
+ };
10463
+ function Agenda({ events, label, locale = "pt-BR", timezone, onEventClick, emptyMessage = "Nada marcado.", title, from, to, style, ...rest }) {
10464
+ const t = useRefy();
10465
+ const days = groupAgenda(events, timezone, from, to);
10466
+ const dayLabel = new Intl.DateTimeFormat(locale, { weekday: "long", day: "numeric", month: "long", timeZone: "UTC" });
10467
+ const weekday = new Intl.DateTimeFormat(locale, { weekday: "short", timeZone: "UTC" });
10468
+ const month = new Intl.DateTimeFormat(locale, { month: "short", timeZone: "UTC" });
10469
+ const time = new Intl.DateTimeFormat(locale, { hour: "2-digit", minute: "2-digit", timeZone: timezone });
10470
+ const xs = t.pick("--text-xs", 12);
10471
+ const xxs = t.pick("--text-2xs", 10);
10472
+ const sm = t.pick("--text-sm", 13);
10473
+ const line4 = t.pick("--line-soft");
10474
+ const name2 = label ?? (typeof title === "string" ? title : "Agenda");
10475
+ const small = (text) => /* @__PURE__ */ jsx121(Text68, { style: baseText(t, { size: xxs, color: "--ink-3" }), children: text.replace(/\.$/, "") });
10476
+ return /* @__PURE__ */ jsxs106(View101, { accessibilityLabel: name2, ...rest, style: [{ overflow: "hidden", borderWidth: 1, borderColor: line4, borderRadius: t.pick("--card-radius", "--radius-lg"), backgroundColor: t.pick("--card-background", "--surface") }, style], children: [
10477
+ title != null && /* @__PURE__ */ jsx121(View101, { accessibilityRole: "header", accessible: true, style: { paddingHorizontal: 16, paddingVertical: 12, borderBottomWidth: 1, borderBottomColor: line4 }, children: renderText(title, baseText(t, { size: sm, color: "--ink-1", family: "--font-headline", weight: "--weight-semi" })) }),
10478
+ !days.length && /* @__PURE__ */ jsx121(View101, { style: { padding: 16 }, children: renderText(emptyMessage, baseText(t, { size: sm, color: "--ink-3" })) }),
10479
+ days.map((day, dayIndex) => /* @__PURE__ */ jsxs106(View101, { style: { flexDirection: "row", gap: 12, paddingHorizontal: 16, paddingVertical: 12, borderTopWidth: dayIndex > 0 ? 1 : 0, borderTopColor: line4 }, children: [
10480
+ /* @__PURE__ */ jsxs106(View101, { accessibilityRole: "header", accessible: true, accessibilityLabel: dayLabel.format(day.date), style: { width: 40, alignItems: "center" }, children: [
10481
+ small(weekday.format(day.date)),
10482
+ /* @__PURE__ */ jsx121(Text68, { style: { ...baseText(t, { size: t.pick("--text-h4", 20), color: "--ink-1", family: "--font-headline", weight: "--weight-semi", leading: "--leading-tight" }), fontVariant: ["tabular-nums"] }, children: String(day.date.getUTCDate()) }),
10483
+ small(month.format(day.date))
10484
+ ] }),
10485
+ /* @__PURE__ */ jsxs106(View101, { style: { flex: 1, gap: 8, justifyContent: day.events.length ? "flex-start" : "center" }, children: [
10486
+ day.events.length === 0 && renderText("Nada marcado", baseText(t, { size: sm, color: "--ink-3" })),
10487
+ day.events.map(({ event, allDay, start, end }) => {
10488
+ const spoken = allDay ? "Dia todo" : end ? `${time.format(start)} \xE0s ${time.format(end)}` : time.format(start);
10489
+ const body = /* @__PURE__ */ jsxs106(Fragment35, { children: [
10490
+ /* @__PURE__ */ jsx121(View101, { style: { width: 3, alignSelf: "stretch", borderRadius: 2, backgroundColor: t.pick(...TONE[event.tone ?? "primary"]) } }),
10491
+ /* @__PURE__ */ jsxs106(View101, { style: { minWidth: 56 }, children: [
10492
+ /* @__PURE__ */ jsx121(Text68, { style: { ...baseText(t, { size: xs, color: "--ink-2" }), fontVariant: ["tabular-nums"] }, children: allDay ? "Dia todo" : time.format(start) }),
10493
+ !allDay && end && /* @__PURE__ */ jsx121(Text68, { style: { ...baseText(t, { size: xxs, color: "--ink-3" }), fontVariant: ["tabular-nums"] }, children: time.format(end) })
10494
+ ] }),
10495
+ /* @__PURE__ */ jsxs106(View101, { style: { flex: 1, gap: 2 }, children: [
10496
+ renderText(event.title, baseText(t, { size: sm, color: "--ink-1", weight: "--weight-semi" })),
10497
+ event.location != null && renderText(event.location, baseText(t, { size: xs, color: "--ink-3" })),
10498
+ event.description != null && renderText(event.description, baseText(t, { size: xs, color: "--ink-3" }))
10499
+ ] })
10500
+ ] });
10501
+ const frame = { flexDirection: "row", gap: 10, minHeight: 44, paddingHorizontal: 12, paddingVertical: 8, borderWidth: 1, borderColor: line4, borderRadius: t.pick("--radius-md", 10), backgroundColor: t.pick("--surface-2", "--surface-container-low") };
10502
+ return onEventClick ? /* @__PURE__ */ jsx121(Pressable45, { accessibilityRole: "button", accessibilityLabel: typeof event.title === "string" ? [event.title, spoken, ...typeof event.location === "string" ? [event.location] : []].join(", ") : void 0, onPress: () => onEventClick(event), style: ({ pressed }) => [frame, pressed && { backgroundColor: t.pick("--surface-container", "--surface-2") }], children: body }, event.id) : /* @__PURE__ */ jsx121(View101, { accessible: true, accessibilityLabel: typeof event.title === "string" ? [event.title, spoken, ...typeof event.location === "string" ? [event.location] : []].join(", ") : void 0, style: frame, children: body }, event.id);
10503
+ })
10504
+ ] })
10505
+ ] }, day.key))
10506
+ ] });
10507
+ }
10508
+
10509
+ // .build/src/components/EntityCard.tsx
10510
+ import { Image as Image4, Linking, Text as Text69, View as View102 } from "react-native";
10511
+ import { jsx as jsx122, jsxs as jsxs107 } from "react/jsx-runtime";
10512
+ function EntityCard({ title, subtitle, category, description, image, imageAlt = "", price, meta, badge, badgeTone = "neutral", rating: rating2, actions = [], layout = "vertical", style, ...rest }) {
10513
+ const t = useRefy();
10514
+ const row3 = layout === "horizontal";
10515
+ const compact = !image;
10516
+ const sm = t.pick("--text-sm", 13);
10517
+ const pad = t.pick("--card-padding", "--space-4");
10518
+ const press = (action) => () => {
10519
+ if (action.onClick) action.onClick();
10520
+ else if (action.href) void Linking.openURL(action.href);
10521
+ };
10522
+ return /* @__PURE__ */ jsxs107(
10523
+ View102,
10524
+ {
10525
+ ...rest,
10526
+ style: [{ flexDirection: row3 ? "row" : "column", overflow: "hidden", borderWidth: 1, borderColor: t.pick("--line-soft"), borderRadius: t.pick("--card-radius", "--radius-lg"), backgroundColor: t.pick("--card-background", "--surface") }, style],
10527
+ children: [
10528
+ image && /* @__PURE__ */ jsxs107(View102, { style: row3 ? { width: "38%", maxWidth: 220, minHeight: 140 } : { aspectRatio: 4 / 3 }, children: [
10529
+ /* @__PURE__ */ jsx122(Image4, { source: { uri: image }, accessibilityLabel: imageAlt || void 0, accessibilityIgnoresInvertColors: true, style: { width: "100%", height: "100%", backgroundColor: t.pick("--surface-2", "--surface-container-low") }, resizeMode: "cover" }),
10530
+ badge && /* @__PURE__ */ jsx122(Badge, { tone: badgeTone, style: { position: "absolute", top: 12, left: 12 }, children: badge })
10531
+ ] }),
10532
+ /* @__PURE__ */ jsxs107(View102, { style: { flex: row3 ? 1 : void 0, gap: compact ? 4 : 8, padding: compact ? 12 : pad, paddingHorizontal: pad, minWidth: 0 }, children: [
10533
+ (category != null || !image && badge) && /* @__PURE__ */ jsxs107(View102, { style: { flexDirection: "row", flexWrap: "wrap", alignItems: "center", gap: 8 }, children: [
10534
+ category != null && renderText(category, baseText(t, { size: t.pick("--text-xs", 12), color: "--ink-3" })),
10535
+ !image && badge && /* @__PURE__ */ jsx122(Badge, { tone: badgeTone, children: badge })
10536
+ ] }),
10537
+ renderText(title, { ...baseText(t, { size: compact ? t.pick("--text-base", 14) : t.pick("--card-title-size", "--text-md"), color: "--ink-1", family: "--font-headline", weight: "--weight-semi", leading: "--leading-snug" }) }),
10538
+ subtitle != null && renderText(subtitle, baseText(t, { size: sm, color: "--ink-3" })),
10539
+ rating2 && /* @__PURE__ */ jsx122(Rating, { readOnly: true, size: "sm", label: "Nota", value: rating2.value, count: rating2.count }),
10540
+ description != null && renderText(description, baseText(t, { size: sm, color: "--ink-2" })),
10541
+ (price != null || meta != null) && /* @__PURE__ */ jsxs107(View102, { style: { flexDirection: "row", flexWrap: "wrap", alignItems: "baseline", columnGap: 12, rowGap: 4 }, children: [
10542
+ price != null && /* @__PURE__ */ jsx122(Text69, { style: { ...baseText(t, { size: compact ? sm : t.pick("--text-lg", 18), color: "--ink-1", family: "--font-headline", weight: "--weight-semi" }), fontVariant: ["tabular-nums"] }, children: price }),
10543
+ meta != null && renderText(meta, baseText(t, { size: t.pick("--text-xs", 12), color: "--ink-3" }))
10544
+ ] }),
10545
+ actions.length > 0 && /* @__PURE__ */ jsx122(View102, { style: { flexDirection: "row", flexWrap: "wrap", gap: 8, paddingTop: 8 }, children: actions.slice(0, 3).map((action, index) => /* @__PURE__ */ jsx122(Button, { size: "sm", variant: index === 0 ? "primary" : index === 1 ? "secondary" : "ghost", onPress: press(action), children: action.label }, action.label)) })
10546
+ ] })
10547
+ ]
10548
+ }
10549
+ );
10550
+ }
10551
+
10552
+ // .build/src/components/ImageGallery.tsx
10553
+ import { useRef as useRef39, useState as useState57 } from "react";
10554
+ import { Image as Image5, Modal as RNModal4, Pressable as Pressable46, ScrollView as ScrollView18, Text as Text70, View as View103, useWindowDimensions as useWindowDimensions14 } from "react-native";
10555
+ import Svg51, { Path as Path40 } from "react-native-svg";
10556
+ import { jsx as jsx123, jsxs as jsxs108 } from "react/jsx-runtime";
10557
+ function Glyph3({ d }) {
10558
+ const { size, color } = useIconStyle();
10559
+ return /* @__PURE__ */ jsx123(Svg51, { width: size, height: size, viewBox: "0 0 24 24", fill: "none", stroke: color, strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round", children: /* @__PURE__ */ jsx123(Path40, { d }) });
10560
+ }
10561
+ function ImageGallery({ images, label, columns = 3, aspectRatio = 4 / 3, viewer = true, layout = "grid", style, ...rest }) {
10562
+ const t = useRefy();
10563
+ const [width, setWidth] = useState57(0);
10564
+ const [open, setOpen] = useState57(null);
10565
+ const screen = useWindowDimensions14();
10566
+ const pager = useRef39(null);
10567
+ const gap = t.pick("--space-3", 12);
10568
+ const cols = width && width < 560 ? Math.min(2, columns) : columns;
10569
+ const cell = width ? (width - gap * (cols - 1)) / cols : 0;
10570
+ const radius = t.pick("--radius-md", 10);
10571
+ const caption = baseText(t, { size: t.pick("--text-xs", 12), color: "--ink-3", leading: "--leading-snug" });
10572
+ const total = images.length;
10573
+ const featuredGap = t.pick("--space-2", 8);
10574
+ const featuredCell = width ? (width - featuredGap * 2) / 3 : 0;
10575
+ const tile = (image, index, w, h) => {
10576
+ const thumb = /* @__PURE__ */ jsx123(Image5, { source: { uri: image.src }, accessibilityIgnoresInvertColors: true, style: { width: w, height: h, borderRadius: radius, backgroundColor: t.pick("--surface-2", "--surface-container-low") }, resizeMode: "cover" });
10577
+ return viewer ? /* @__PURE__ */ jsx123(Pressable46, { accessibilityRole: "imagebutton", accessibilityLabel: `Abrir foto ${index + 1} de ${total}: ${image.alt}`, onPress: () => setOpen(index), children: thumb }) : /* @__PURE__ */ jsx123(View103, { accessible: true, accessibilityRole: "image", accessibilityLabel: image.alt, children: thumb });
10578
+ };
10579
+ const overlay = (image, index, size) => /* @__PURE__ */ jsxs108(View103, { style: { width: size, height: size }, children: [
10580
+ tile(image, index, size, size),
10581
+ image.caption != null && /* @__PURE__ */ jsxs108(View103, { pointerEvents: "none", style: { position: "absolute", left: 0, right: 0, bottom: 0, paddingHorizontal: 8, paddingVertical: 6 }, children: [
10582
+ /* @__PURE__ */ jsx123(View103, { style: { position: "absolute", left: 0, right: 0, top: 0, bottom: 0, borderBottomLeftRadius: radius, borderBottomRightRadius: radius, backgroundColor: t.pick("--ink-1"), opacity: 0.55 } }),
10583
+ renderText(image.caption, baseText(t, { size: t.pick("--text-2xs", 10), color: "--bg", weight: "--weight-semi" }), { numberOfLines: 1 })
10584
+ ] })
10585
+ ] }, `${image.src}${index}`);
10586
+ const go = (index) => {
10587
+ const next = (index + total) % total;
10588
+ setOpen(next);
10589
+ pager.current?.scrollTo({ x: next * screen.width, animated: true });
10590
+ };
10591
+ return /* @__PURE__ */ jsxs108(View103, { accessibilityLabel: label, ...rest, onLayout: (e) => setWidth(e.nativeEvent.layout.width), style: [{ flexDirection: "row", flexWrap: "wrap", gap }, style], children: [
10592
+ cell > 0 && layout !== "featured" && images.map((image, index) => /* @__PURE__ */ jsxs108(View103, { style: { width: cell, gap: 4 }, children: [
10593
+ tile(image, index, cell, cell / aspectRatio),
10594
+ image.caption != null && renderText(image.caption, caption)
10595
+ ] }, `${image.src}${index}`)),
10596
+ featuredCell > 0 && layout === "featured" && // Destaque: três colunas, fotos quadradas, a primeira em dois por dois com as duas
10597
+ // seguintes ao lado; o resto segue a grade. Legendas sobre as fotos, como na web.
10598
+ /* @__PURE__ */ jsxs108(View103, { style: { width, gap: featuredGap }, children: [
10599
+ /* @__PURE__ */ jsxs108(View103, { style: { flexDirection: "row", gap: featuredGap }, children: [
10600
+ images[0] && overlay(images[0], 0, featuredCell * 2 + featuredGap),
10601
+ /* @__PURE__ */ jsx123(View103, { style: { gap: featuredGap }, children: images.slice(1, 3).map((image, i) => overlay(image, i + 1, featuredCell)) })
10602
+ ] }),
10603
+ /* @__PURE__ */ jsx123(View103, { style: { flexDirection: "row", flexWrap: "wrap", gap: featuredGap }, children: images.slice(3).map((image, i) => overlay(image, i + 3, featuredCell)) })
10604
+ ] }),
10605
+ viewer && open !== null && /* @__PURE__ */ jsx123(RNModal4, { visible: true, animationType: "fade", onRequestClose: () => setOpen(null), statusBarTranslucent: true, children: /* @__PURE__ */ jsxs108(View103, { accessibilityViewIsModal: true, style: { flex: 1, backgroundColor: t.pick("--bg", "--surface"), paddingTop: 48, paddingBottom: 32 }, children: [
10606
+ /* @__PURE__ */ jsxs108(View103, { style: { flexDirection: "row", alignItems: "center", justifyContent: "space-between", paddingHorizontal: 16, marginBottom: 12 }, children: [
10607
+ /* @__PURE__ */ jsx123(Text70, { accessibilityLiveRegion: "polite", style: { ...baseText(t, { size: t.pick("--text-xs", 12), color: "--ink-3", family: ["--interface-detail-font", "--font-mono"] }), fontVariant: ["tabular-nums"] }, children: `${open + 1} de ${total}` }),
10608
+ /* @__PURE__ */ jsx123(IconButton, { variant: "ghost", accessibilityLabel: "Fechar", onPress: () => setOpen(null), icon: /* @__PURE__ */ jsx123(Glyph3, { d: "M18 6 6 18M6 6l12 12" }) })
10609
+ ] }),
10610
+ /* @__PURE__ */ jsx123(
10611
+ ScrollView18,
10612
+ {
10613
+ ref: pager,
10614
+ horizontal: true,
10615
+ pagingEnabled: true,
10616
+ showsHorizontalScrollIndicator: false,
10617
+ contentOffset: { x: open * screen.width, y: 0 },
10618
+ onMomentumScrollEnd: (e) => setOpen(Math.round(e.nativeEvent.contentOffset.x / screen.width)),
10619
+ style: { flex: 1 },
10620
+ children: images.map((image, index) => /* @__PURE__ */ jsxs108(View103, { style: { width: screen.width, paddingHorizontal: 16, gap: 12, justifyContent: "center" }, children: [
10621
+ /* @__PURE__ */ jsx123(Image5, { source: { uri: image.src }, accessibilityLabel: image.alt, accessibilityIgnoresInvertColors: true, style: { width: "100%", flex: 1, borderRadius: radius }, resizeMode: "contain" }),
10622
+ image.caption != null && renderText(image.caption, baseText(t, { size: t.pick("--text-sm", 13), color: "--ink-2" }))
10623
+ ] }, `${image.src}${index}`))
10624
+ }
10625
+ ),
10626
+ total > 1 && /* @__PURE__ */ jsxs108(View103, { style: { flexDirection: "row", justifyContent: "flex-end", gap: 8, paddingHorizontal: 16, paddingTop: 12 }, children: [
10627
+ /* @__PURE__ */ jsx123(IconButton, { variant: "outline", accessibilityLabel: "Foto anterior", onPress: () => go(open - 1), icon: /* @__PURE__ */ jsx123(Glyph3, { d: "M15 18l-6-6 6-6" }) }),
10628
+ /* @__PURE__ */ jsx123(IconButton, { variant: "outline", accessibilityLabel: "Pr\xF3xima foto", onPress: () => go(open + 1), icon: /* @__PURE__ */ jsx123(Glyph3, { d: "M9 18l6-6-6-6" }) })
10629
+ ] })
10630
+ ] }) })
10631
+ ] });
10632
+ }
10633
+
10634
+ // .build/src/components/Video.tsx
10635
+ import { useMemo as useMemo15 } from "react";
10636
+ import { Image as Image6, Linking as Linking2, Pressable as Pressable47, Text as Text71, View as View104 } from "react-native";
10637
+ import Svg52, { Path as Path41 } from "react-native-svg";
10638
+
10639
+ // .build/src/components/videoSource.ts
10640
+ function parseVideoSource(src) {
10641
+ let url;
10642
+ try {
10643
+ url = new URL(src);
10644
+ } catch {
10645
+ return { kind: "file", url: src };
10646
+ }
10647
+ const host = url.hostname.replace(/^www\.|^m\./, "");
10648
+ let youtube;
10649
+ if (host === "youtu.be") youtube = url.pathname.slice(1).split("/")[0];
10650
+ else if (host === "youtube.com" || host === "youtube-nocookie.com") {
10651
+ youtube = url.searchParams.get("v") ?? /^\/(?:embed|shorts|live)\/([^/?#]+)/.exec(url.pathname)?.[1];
10652
+ }
10653
+ if (youtube && /^[\w-]{6,}$/.test(youtube)) {
10654
+ return {
10655
+ kind: "youtube",
10656
+ id: youtube,
10657
+ embed: `https://www.youtube-nocookie.com/embed/${youtube}?autoplay=1&rel=0`,
10658
+ poster: `https://i.ytimg.com/vi/${youtube}/hqdefault.jpg`
10659
+ };
10660
+ }
10661
+ if (host === "vimeo.com" || host === "player.vimeo.com") {
10662
+ const id = /(\d{5,})/.exec(url.pathname)?.[1];
10663
+ if (id) return { kind: "vimeo", id, embed: `https://player.vimeo.com/video/${id}?autoplay=1&dnt=1` };
10664
+ }
10665
+ return { kind: "file", url: src };
10666
+ }
10667
+
10668
+ // .build/src/components/Video.tsx
10669
+ import { jsx as jsx124, jsxs as jsxs109 } from "react/jsx-runtime";
10670
+ function Video({ src, title, poster, aspectRatio = 16 / 9, description, onPlay, style, ...rest }) {
10671
+ const t = useRefy();
10672
+ const source = useMemo15(() => parseVideoSource(src), [src]);
10673
+ const cover = poster ?? (source.kind === "youtube" ? source.poster : void 0);
10674
+ const play = () => onPlay ? onPlay(source) : void Linking2.openURL(src);
10675
+ return /* @__PURE__ */ jsxs109(View104, { ...rest, style: [{ gap: 8 }, style], children: [
10676
+ /* @__PURE__ */ jsxs109(
10677
+ Pressable47,
10678
+ {
10679
+ accessibilityRole: "button",
10680
+ accessibilityLabel: `Tocar v\xEDdeo: ${title}`,
10681
+ onPress: play,
10682
+ style: { aspectRatio, minHeight: 120, overflow: "hidden", borderRadius: t.pick("--card-radius", "--radius-lg"), backgroundColor: t.pick("--ink-1") },
10683
+ children: [
10684
+ cover ? /* @__PURE__ */ jsx124(Image6, { source: { uri: cover }, accessibilityIgnoresInvertColors: true, style: { position: "absolute", width: "100%", height: "100%" }, resizeMode: "cover" }) : null,
10685
+ /* @__PURE__ */ jsx124(View104, { style: { position: "absolute", top: "50%", left: "50%", width: 64, height: 64, marginLeft: -32, marginTop: -32, borderRadius: 32, alignItems: "center", justifyContent: "center", backgroundColor: t.pick("--primary"), boxShadow: t.pick("--shadow-2", "") || void 0 }, children: /* @__PURE__ */ jsx124(Svg52, { width: 28, height: 28, viewBox: "0 0 24 24", style: { marginLeft: 3 }, children: /* @__PURE__ */ jsx124(Path41, { d: "M8 5.5v13l11-6.5z", fill: t.pick("--on-primary") }) }) }),
10686
+ /* @__PURE__ */ jsx124(View104, { style: { position: "absolute", left: 0, right: 0, bottom: 0, paddingHorizontal: 16, paddingTop: 24, paddingBottom: 12, experimental_backgroundImage: `linear-gradient(to top, ${t.mix(t.pick("--ink-1"), 70, "transparent")}, transparent)` }, children: /* @__PURE__ */ jsx124(Text71, { numberOfLines: 2, style: { color: t.pick("--bg", "--surface"), fontSize: t.pick("--text-sm", 13), ...t.font("--font-body", "--weight-semi") }, children: title }) })
10687
+ ]
10688
+ }
10689
+ ),
10690
+ description != null && renderText(description, baseText(t, { size: t.pick("--text-sm", 13), color: "--ink-3" }))
10691
+ ] });
10692
+ }
10693
+
10694
+ // .build/src/components/AudioPlayer.tsx
10695
+ import { useEffect as useEffect30, useState as useState58 } from "react";
10696
+ import { Image as Image7, Linking as Linking3, Pressable as Pressable48, Text as Text72, View as View105 } from "react-native";
10697
+ import Svg53, { Path as Path42 } from "react-native-svg";
10698
+ import { jsx as jsx125, jsxs as jsxs110 } from "react/jsx-runtime";
10699
+ function formatClock(seconds) {
10700
+ const total = Math.max(0, Math.floor(Number.isFinite(seconds) ? seconds : 0));
10701
+ const h = Math.floor(total / 3600);
10702
+ const m = Math.floor(total % 3600 / 60);
10703
+ const s = String(total % 60).padStart(2, "0");
10704
+ return h ? `${h}:${String(m).padStart(2, "0")}:${s}` : `${m}:${s}`;
10705
+ }
10706
+ function AudioPlayer({ src, title, description, artwork, duration: durationProp, controller, style, ...rest }) {
10707
+ const t = useRefy();
10708
+ const [state, setState] = useState58({ playing: false, position: 0, duration: durationProp });
10709
+ const [track, setTrack] = useState58(0);
10710
+ useEffect30(() => controller?.subscribe((next) => setState((prev) => ({ ...prev, ...next, duration: next.duration ?? prev.duration }))), [controller]);
10711
+ const duration = state.duration ?? durationProp ?? 0;
10712
+ const progress = duration ? Math.min(1, state.position / duration) : 0;
10713
+ const toggle = () => {
10714
+ if (!controller) return void Linking3.openURL(src);
10715
+ if (state.playing) controller.pause();
10716
+ else controller.play();
10717
+ };
10718
+ const seek = (seconds) => controller?.seek(Math.min(Math.max(0, seconds), duration || seconds));
10719
+ const primary = t.pick("--primary");
10720
+ const mono2 = { ...baseText(t, { size: t.pick("--text-2xs", 10), color: "--ink-3", family: ["--interface-detail-font", "--font-mono"] }), fontVariant: ["tabular-nums"] };
10721
+ const skip = (back) => /* @__PURE__ */ jsx125(Pressable48, { accessibilityRole: "button", accessibilityLabel: back ? "Voltar 15 segundos" : "Avan\xE7ar 15 segundos", disabled: !controller, onPress: () => seek(state.position + (back ? -15 : 15)), hitSlop: hitSlopFor(32, 32), style: { width: 32, height: 32, alignItems: "center", justifyContent: "center", opacity: controller ? 1 : 0.4 }, children: /* @__PURE__ */ jsx125(Svg53, { width: 16, height: 16, viewBox: "0 0 24 24", fill: "none", stroke: t.pick("--ink-2"), strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round", children: /* @__PURE__ */ jsx125(Path42, { d: back ? "M11 7 6 12l5 5M18 7l-5 5 5 5" : "M13 7l5 5-5 5M6 7l5 5-5 5" }) }) });
10722
+ return /* @__PURE__ */ jsxs110(View105, { ...rest, style: [{ flexDirection: "row", alignItems: "center", gap: 16, padding: 16, borderWidth: 1, borderColor: t.pick("--line-soft"), borderRadius: t.pick("--card-radius", "--radius-lg"), backgroundColor: t.pick("--card-background", "--surface") }, style], children: [
10723
+ artwork && /* @__PURE__ */ jsx125(Image7, { source: { uri: artwork }, accessibilityIgnoresInvertColors: true, style: { width: 56, height: 56, borderRadius: t.pick("--radius-md", 10) } }),
10724
+ /* @__PURE__ */ jsxs110(View105, { style: { flex: 1, gap: 8, minWidth: 0 }, children: [
10725
+ /* @__PURE__ */ jsxs110(View105, { children: [
10726
+ /* @__PURE__ */ jsx125(Text72, { numberOfLines: 1, style: baseText(t, { size: t.pick("--text-sm", 13), color: "--ink-1", weight: "--weight-semi" }), children: title }),
10727
+ description != null && renderText(description, baseText(t, { size: t.pick("--text-xs", 12), color: "--ink-3" }))
10728
+ ] }),
10729
+ /* @__PURE__ */ jsxs110(View105, { style: { flexDirection: "row", alignItems: "center", gap: 8 }, children: [
10730
+ /* @__PURE__ */ jsx125(Pressable48, { accessibilityRole: "button", accessibilityLabel: state.playing ? `Pausar ${title}` : `Tocar ${title}`, onPress: toggle, hitSlop: hitSlopFor(40, 40), style: { width: 40, height: 40, borderRadius: 20, alignItems: "center", justifyContent: "center", backgroundColor: primary }, children: /* @__PURE__ */ jsx125(Svg53, { width: 18, height: 18, viewBox: "0 0 24 24", children: /* @__PURE__ */ jsx125(Path42, { fill: t.pick("--on-primary"), d: state.playing ? "M7 5h3.5v14H7zM13.5 5H17v14h-3.5z" : "M8 5.5v13l11-6.5z" }) }) }),
10731
+ skip(true),
10732
+ /* @__PURE__ */ jsx125(Text72, { style: mono2, children: formatClock(state.position) }),
10733
+ /* @__PURE__ */ jsx125(
10734
+ Pressable48,
10735
+ {
10736
+ accessibilityRole: "adjustable",
10737
+ accessibilityLabel: "Posi\xE7\xE3o",
10738
+ accessibilityValue: { text: `${formatClock(state.position)} de ${formatClock(duration)}` },
10739
+ accessibilityActions: [{ name: "increment" }, { name: "decrement" }],
10740
+ onAccessibilityAction: (e) => seek(state.position + (e.nativeEvent.actionName === "increment" ? 15 : -15)),
10741
+ onLayout: (e) => setTrack(e.nativeEvent.layout.width),
10742
+ onPress: (e) => track && duration && seek(e.nativeEvent.locationX / track * duration),
10743
+ hitSlop: { top: 20, bottom: 20 },
10744
+ style: { flex: 1, height: 4, borderRadius: 2, backgroundColor: t.pick("--surface-container-high", "--line"), justifyContent: "center" },
10745
+ children: /* @__PURE__ */ jsx125(View105, { style: { width: `${progress * 100}%`, height: 4, borderRadius: 2, backgroundColor: primary } })
10746
+ }
10747
+ ),
10748
+ /* @__PURE__ */ jsx125(Text72, { style: mono2, children: duration ? formatClock(duration) : "--:--" }),
10749
+ skip(false)
10750
+ ] })
10751
+ ] })
10752
+ ] });
10753
+ }
10754
+
10755
+ // .build/src/components/LinkCard.tsx
10756
+ import { Image as Image8, Linking as Linking4, Pressable as Pressable49, Text as Text73, View as View106 } from "react-native";
10757
+
10758
+ // .build/src/components/domain.ts
10759
+ function domainOf(href) {
10760
+ try {
10761
+ return new URL(href).hostname.replace(/^www\./, "");
10762
+ } catch {
10763
+ return href;
10764
+ }
10765
+ }
10766
+
10767
+ // .build/src/components/LinkCard.tsx
10768
+ import { jsx as jsx126, jsxs as jsxs111 } from "react/jsx-runtime";
10769
+ function SiteMark({ favicon, site }) {
10770
+ const t = useRefy();
10771
+ return favicon ? /* @__PURE__ */ jsx126(Image8, { source: { uri: favicon }, style: { width: 16, height: 16, borderRadius: 3 } }) : /* @__PURE__ */ jsx126(View106, { style: { width: 16, height: 16, borderRadius: 3, alignItems: "center", justifyContent: "center", backgroundColor: t.pick("--primary-soft") }, children: /* @__PURE__ */ jsx126(Text73, { style: { color: t.pick("--primary-ink"), fontSize: 10, ...t.font("--font-body", "--weight-bold") }, children: site.charAt(0).toUpperCase() }) });
10772
+ }
10773
+ function LinkCard({ href, title, description, image, favicon, siteName, layout = "horizontal", onPress, style, ...rest }) {
10774
+ const t = useRefy();
10775
+ const site = siteName ?? domainOf(href);
10776
+ const vertical = layout === "vertical";
10777
+ const xs = t.pick("--text-xs", 12);
10778
+ return /* @__PURE__ */ jsxs111(
10779
+ Pressable49,
10780
+ {
10781
+ accessibilityRole: "link",
10782
+ accessibilityLabel: typeof title === "string" ? `${title}, ${site}` : void 0,
10783
+ accessibilityHint: "Abre no navegador",
10784
+ onPress: (e) => onPress ? onPress(e) : void Linking4.openURL(href),
10785
+ ...rest,
10786
+ style: (state) => [
10787
+ { flexDirection: vertical ? "column" : "row-reverse", minHeight: 72, overflow: "hidden", borderWidth: 1, borderColor: t.pick(state.pressed ? "--line" : "--line-soft"), borderRadius: t.pick("--card-radius", "--radius-lg"), backgroundColor: t.pick(state.pressed ? "--surface-2" : "--card-background", "--surface") },
10788
+ typeof style === "function" ? style(state) : style
10789
+ ],
10790
+ children: [
10791
+ image && /* @__PURE__ */ jsx126(Image8, { source: { uri: image }, accessibilityIgnoresInvertColors: true, style: vertical ? { width: "100%", aspectRatio: 1.91 } : { width: 96, alignSelf: "stretch", minHeight: 88 }, resizeMode: "cover" }),
10792
+ /* @__PURE__ */ jsxs111(View106, { style: { flex: 1, gap: 4, paddingVertical: 12, paddingHorizontal: 16, minWidth: 0 }, children: [
10793
+ /* @__PURE__ */ jsxs111(View106, { style: { flexDirection: "row", alignItems: "center", gap: 8 }, children: [
10794
+ /* @__PURE__ */ jsx126(SiteMark, { favicon, site }),
10795
+ /* @__PURE__ */ jsx126(Text73, { numberOfLines: 1, style: baseText(t, { size: xs, color: "--ink-3" }), children: site })
10796
+ ] }),
10797
+ renderText(title, baseText(t, { size: t.pick("--text-sm", 13), color: "--ink-1", weight: "--weight-semi", leading: "--leading-snug" }), { numberOfLines: 2 }),
10798
+ description != null && renderText(description, baseText(t, { size: xs, color: "--ink-3", leading: "--leading-snug" }), { numberOfLines: 2 })
10799
+ ] })
10800
+ ]
10801
+ }
10802
+ );
10803
+ }
10804
+
10805
+ // .build/src/components/Citation.tsx
10806
+ import { useState as useState59 } from "react";
10807
+ import { Linking as Linking5, Pressable as Pressable50, Text as Text74, View as View107 } from "react-native";
10808
+ import { jsx as jsx127, jsxs as jsxs112 } from "react/jsx-runtime";
10809
+ function Citation({ index, source }) {
10810
+ const t = useRefy();
10811
+ const [open, setOpen] = useState59(false);
10812
+ const site = source.siteName ?? (source.href ? domainOf(source.href) : "");
10813
+ const xs = t.pick("--text-xs", 12);
10814
+ const content = /* @__PURE__ */ jsxs112(View107, { style: { gap: 4, maxWidth: 280 }, children: [
10815
+ site ? /* @__PURE__ */ jsxs112(View107, { style: { flexDirection: "row", alignItems: "center", gap: 8 }, children: [
10816
+ /* @__PURE__ */ jsx127(SiteMark, { favicon: source.favicon, site }),
10817
+ /* @__PURE__ */ jsx127(Text74, { style: baseText(t, { size: xs, color: "--ink-3" }), children: site })
10818
+ ] }) : null,
10819
+ /* @__PURE__ */ jsx127(Text74, { style: baseText(t, { size: t.pick("--text-sm", 13), color: "--ink-1", weight: "--weight-semi", leading: "--leading-snug" }), children: source.title }),
10820
+ source.snippet != null && renderText(source.snippet, baseText(t, { size: xs, color: "--ink-2" })),
10821
+ source.href && /* @__PURE__ */ jsx127(Pressable50, { accessibilityRole: "link", onPress: () => void Linking5.openURL(source.href), hitSlop: 8, children: /* @__PURE__ */ jsx127(Text74, { style: { color: t.pick("--primary-ink"), fontSize: xs, ...t.font("--font-body", "--weight-semi") }, children: "Abrir fonte" }) })
10822
+ ] });
10823
+ return /* @__PURE__ */ jsx127(Popover, { open, onOpenChange: setOpen, content, side: "top", label: `Fonte ${index}: ${source.title}`, children: /* @__PURE__ */ jsx127(
10824
+ Pressable50,
10825
+ {
10826
+ accessibilityRole: "button",
10827
+ accessibilityLabel: `Fonte ${index}: ${source.title}`,
10828
+ onPress: () => setOpen(!open),
10829
+ hitSlop: hitSlopFor(18, 18),
10830
+ style: { minWidth: 18, height: 18, paddingHorizontal: 5, borderRadius: 9, alignItems: "center", justifyContent: "center", backgroundColor: t.pick(open ? "--primary" : "--surface-container-high", "--surface-2") },
10831
+ children: /* @__PURE__ */ jsx127(Text74, { style: { color: t.pick(open ? "--on-primary" : "--ink-2"), fontSize: t.pick("--text-2xs", 10), ...t.font(["--interface-detail-font", "--font-mono"], "--weight-semi"), fontVariant: ["tabular-nums"] }, children: index })
10832
+ }
10833
+ ) });
10834
+ }
10835
+
10836
+ // .build/src/components/FollowUp.tsx
10837
+ import { Pressable as Pressable51, Text as Text75, View as View108 } from "react-native";
10838
+ import Svg54, { Path as Path43 } from "react-native-svg";
10839
+ import { jsx as jsx128, jsxs as jsxs113 } from "react/jsx-runtime";
10840
+ function FollowUp({ suggestions, onSelect, label = "Sugest\xF5es", layout = "wrap", disabled = false, style, ...rest }) {
10841
+ const t = useRefy();
10842
+ const items = suggestions.map((item, index) => {
10843
+ const s = typeof item === "string" ? { label: item } : item;
10844
+ return { key: s.id ?? `${index}-${s.label}`, label: s.label, message: s.message ?? s.label };
10845
+ });
10846
+ if (!items.length) return null;
10847
+ const stack3 = layout === "stack";
10848
+ return /* @__PURE__ */ jsx128(View108, { accessibilityLabel: label, ...rest, style: [{ flexDirection: stack3 ? "column" : "row", flexWrap: stack3 ? "nowrap" : "wrap", gap: 8 }, style], children: items.map((item) => /* @__PURE__ */ jsxs113(
10849
+ Pressable51,
10850
+ {
10851
+ accessibilityRole: "button",
10852
+ accessibilityState: { disabled },
10853
+ disabled,
10854
+ onPress: () => onSelect(item.message),
10855
+ hitSlop: hitSlopFor(40),
10856
+ style: ({ pressed }) => ({
10857
+ flexDirection: "row",
10858
+ alignItems: "center",
10859
+ justifyContent: stack3 ? "space-between" : "flex-start",
10860
+ gap: 8,
10861
+ minHeight: 40,
10862
+ paddingVertical: 8,
10863
+ paddingLeft: 16,
10864
+ paddingRight: 12,
10865
+ borderWidth: 1,
10866
+ borderColor: t.pick(pressed ? "--primary" : "--line"),
10867
+ borderRadius: stack3 ? t.pick("--radius-md", 10) : 999,
10868
+ backgroundColor: t.pick(pressed ? "--primary-soft" : "--surface"),
10869
+ opacity: disabled ? t.pick("--control-disabled-opacity", 0.5) : 1,
10870
+ alignSelf: stack3 ? "stretch" : "flex-start"
10871
+ }),
10872
+ children: [
10873
+ /* @__PURE__ */ jsx128(Text75, { style: [baseText(t, { size: t.pick("--text-sm", 13), color: "--ink-1" }), { flexShrink: 1 }], children: item.label }),
10874
+ /* @__PURE__ */ jsx128(Svg54, { width: 14, height: 14, viewBox: "0 0 24 24", fill: "none", stroke: t.pick("--ink-3"), strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round", children: /* @__PURE__ */ jsx128(Path43, { d: "M7 17 17 7M9 7h8v8" }) })
10875
+ ]
10876
+ },
10877
+ item.key
10878
+ )) });
10879
+ }
10153
10880
  export {
10154
10881
  Accordion,
10155
10882
  ActivityItem,
10156
10883
  EventTimeline as ActivityTimeline,
10884
+ Agenda,
10157
10885
  AlertDialog,
10158
10886
  AnchoredLayer,
10159
10887
  ApprovalWorkbench,
10160
10888
  AreaChart,
10161
10889
  AspectRatio,
10890
+ AudioPlayer,
10162
10891
  Avatar,
10163
10892
  AvatarGroup,
10164
10893
  Badge,
@@ -10178,9 +10907,11 @@ export {
10178
10907
  Chip,
10179
10908
  ChoiceCard,
10180
10909
  ChoiceCardGroup,
10910
+ Citation,
10181
10911
  CodeBlock,
10182
10912
  Collapsible,
10183
10913
  Combobox,
10914
+ ComparisonTable,
10184
10915
  ConnectorCard,
10185
10916
  ContextMenu,
10186
10917
  Coverflow,
@@ -10193,10 +10924,12 @@ export {
10193
10924
  Drawer,
10194
10925
  EmptyRow,
10195
10926
  EmptyState,
10927
+ EntityCard,
10196
10928
  EventTimeline,
10197
10929
  Fab,
10198
10930
  FabMenu,
10199
10931
  FileUpload,
10932
+ FollowUp,
10200
10933
  GeoAreaPicker,
10201
10934
  GoogleButton,
10202
10935
  GuidedTour,
@@ -10205,13 +10938,16 @@ export {
10205
10938
  HelpMenu,
10206
10939
  IconButton,
10207
10940
  IconSlot,
10941
+ ImageGallery,
10208
10942
  Input,
10209
10943
  IntentComposer,
10210
10944
  Item,
10211
10945
  KanbanBoard,
10212
10946
  KanbanCard,
10947
+ KeyValueList,
10213
10948
  FieldLabel as Label,
10214
10949
  LineChart,
10950
+ LinkCard,
10215
10951
  MIN_TOUCH,
10216
10952
  Marker,
10217
10953
  Matrix2x2,
@@ -10236,8 +10972,10 @@ export {
10236
10972
  PropertyCard,
10237
10973
  PropertyMedia,
10238
10974
  Questionnaire,
10975
+ Quote,
10239
10976
  RadioGroup,
10240
10977
  Range,
10978
+ Rating,
10241
10979
  RefyProvider,
10242
10980
  RefyScope,
10243
10981
  SchedulePicker,
@@ -10249,6 +10987,7 @@ export {
10249
10987
  SettingRow,
10250
10988
  SettingRowGroup,
10251
10989
  SettingsSubnav,
10990
+ SiteMark,
10252
10991
  Skeleton,
10253
10992
  Slider,
10254
10993
  Snackbar,
@@ -10274,6 +11013,7 @@ export {
10274
11013
  UsageMeter,
10275
11014
  UsageMeterGroup,
10276
11015
  UserMenu,
11016
+ Video,
10277
11017
  VisitSchedulePicker,
10278
11018
  VoiceRecorder,
10279
11019
  WizardStepper,
@@ -10291,6 +11031,7 @@ export {
10291
11031
  fileUploadStatus,
10292
11032
  floatingPosition,
10293
11033
  formatBrazilianPhone,
11034
+ formatClock,
10294
11035
  formatDuration,
10295
11036
  geoAreaLists,
10296
11037
  groupEvents,