@hraness/design-kit 0.33.0 → 0.35.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/README.md +19 -3
- package/dist/{chunk-mr1vdcjq.js → chunk-8xfssb9c.js} +6 -3
- package/dist/{chunk-95mpmzc9.js → chunk-c9mhn3yb.js} +1130 -442
- package/dist/{chunk-h4k7yv6x.js → chunk-fjf81bww.js} +28 -2
- package/dist/chunk-gmea6p0d.js +13 -0
- package/dist/index.js +5 -1
- package/dist/mockups/client.js +50 -15
- package/dist/portfolio.js +586 -85
- package/dist/react/index.js +141 -13
- package/dist/react/platform-install.js +3 -2
- package/dist/react/server.js +17 -3
- package/dist/stylex-manifest.json +1 -1
- package/dist/stylex.css +350 -36
- package/package.json +14 -3
- package/portfolio-inventory.json +1 -1
- package/src/diagrams.ts +11 -0
- package/src/index.ts +2 -0
- package/src/marketing-comparison.css +162 -0
- package/src/marketing-diagram.css +24 -0
- package/src/mockups/client.tsx +25 -17
- package/src/mockups.css +19 -0
- package/src/plain-publication.css +9 -6
- package/src/portfolio.generated.json +578 -86
- package/src/portfolio.generated.ts +578 -86
- package/src/portfolio.ts +73 -0
- package/src/product-marketing-foundation.css +29 -0
- package/src/product-marketing.css +136 -39
- package/src/react/article.tsx +2 -2
- package/src/react/design-gallery.tsx +37 -8
- package/src/react/index.ts +3 -0
- package/src/react/marketing-account.stylex.ts +74 -0
- package/src/react/marketing-account.tsx +69 -0
- package/src/react/marketing-comparison.stylex.ts +24 -0
- package/src/react/marketing-comparison.tsx +73 -0
- package/src/react/marketing-diagram.stylex.ts +8 -0
- package/src/react/marketing-diagram.tsx +33 -0
- package/src/react/platform-install.stylex.ts +2 -1
- package/src/react/platform-install.tsx +2 -1
- package/src/react/product-marketing.stylex.ts +144 -111
- package/src/react/product-marketing.tsx +83 -45
- package/src/react/server.ts +3 -0
- package/src/styles.css +2 -0
- package/src/typography.css +32 -0
- /package/dist/{chunk-4d79eskk.js → chunk-c80g58j1.js} +0 -0
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
|
+
SyntaxCode,
|
|
2
3
|
platformInstallClassName
|
|
3
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-fjf81bww.js";
|
|
5
|
+
import {
|
|
6
|
+
diagramMetrics
|
|
7
|
+
} from "./chunk-gmea6p0d.js";
|
|
4
8
|
import {
|
|
5
9
|
isPlatformId,
|
|
6
10
|
platformLabel,
|
|
7
11
|
platformMark
|
|
8
12
|
} from "./chunk-wzvdn8ey.js";
|
|
9
|
-
import {
|
|
10
|
-
highlightCode
|
|
11
|
-
} from "./chunk-he8eznb1.js";
|
|
12
13
|
import {
|
|
13
14
|
ARTICLE_BYLINE_PREFIX,
|
|
14
15
|
ARTICLE_SOURCES_HEADING,
|
|
@@ -232,27 +233,6 @@ function ProviderMarkChip({
|
|
|
232
233
|
});
|
|
233
234
|
}
|
|
234
235
|
|
|
235
|
-
// src/react/syntax-code.tsx
|
|
236
|
-
import { jsx as jsx2 } from "react/jsx-runtime";
|
|
237
|
-
function SyntaxCode({
|
|
238
|
-
className,
|
|
239
|
-
code,
|
|
240
|
-
language,
|
|
241
|
-
styles
|
|
242
|
-
}) {
|
|
243
|
-
const highlighted = highlightCode(code, language, styles === undefined ? {} : {
|
|
244
|
-
styles
|
|
245
|
-
});
|
|
246
|
-
const classes = className === undefined ? highlighted.className : `${highlighted.className} ${className}`;
|
|
247
|
-
return /* @__PURE__ */ jsx2("code", {
|
|
248
|
-
className: classes,
|
|
249
|
-
"data-language": highlighted.language,
|
|
250
|
-
dangerouslySetInnerHTML: {
|
|
251
|
-
__html: highlighted.html
|
|
252
|
-
}
|
|
253
|
-
});
|
|
254
|
-
}
|
|
255
|
-
|
|
256
236
|
// src/react/foil.stylex.ts
|
|
257
237
|
import * as stylex2 from "@stylexjs/stylex";
|
|
258
238
|
var foilEdge = "var(--_hraness-foil-edge, light-dark(black, white))";
|
|
@@ -351,7 +331,7 @@ function foilMarkClassName(part, caller) {
|
|
|
351
331
|
}
|
|
352
332
|
|
|
353
333
|
// src/react/foil-mark.tsx
|
|
354
|
-
import { jsx as
|
|
334
|
+
import { jsx as jsx2, jsxs as jsxs2 } from "react/jsx-runtime";
|
|
355
335
|
function FoilMark({
|
|
356
336
|
src,
|
|
357
337
|
className,
|
|
@@ -371,7 +351,7 @@ function FoilMark({
|
|
|
371
351
|
"--hraness-foil-size": `${size}px`
|
|
372
352
|
},
|
|
373
353
|
children: [
|
|
374
|
-
fallback ?? /* @__PURE__ */
|
|
354
|
+
fallback ?? /* @__PURE__ */ jsx2("img", {
|
|
375
355
|
alt: "",
|
|
376
356
|
className: foilMarkClassName("image"),
|
|
377
357
|
decoding: "async",
|
|
@@ -379,7 +359,7 @@ function FoilMark({
|
|
|
379
359
|
src,
|
|
380
360
|
width: size
|
|
381
361
|
}),
|
|
382
|
-
/* @__PURE__ */
|
|
362
|
+
/* @__PURE__ */ jsx2("span", {
|
|
383
363
|
"aria-hidden": "true",
|
|
384
364
|
className: foilMarkClassName("paint"),
|
|
385
365
|
style: {
|
|
@@ -879,6 +859,13 @@ var marketingStyles = {
|
|
|
879
859
|
k2kXS: "x1l2wkh2",
|
|
880
860
|
$$css: true
|
|
881
861
|
},
|
|
862
|
+
hero__install: {
|
|
863
|
+
kULEZF: "xsjjiva",
|
|
864
|
+
kdYMnH: "xesnm00",
|
|
865
|
+
kAiAap: "x1n5adje",
|
|
866
|
+
kMCLAl: "x1yc453h",
|
|
867
|
+
$$css: true
|
|
868
|
+
},
|
|
882
869
|
hero__example: {
|
|
883
870
|
kogj98: "x1ghz6dp",
|
|
884
871
|
kMwMTN: "xtylnni",
|
|
@@ -1185,6 +1172,29 @@ var marketingStyles = {
|
|
|
1185
1172
|
kg9kkx: "x1hqbthl xj7gdfw",
|
|
1186
1173
|
$$css: true
|
|
1187
1174
|
},
|
|
1175
|
+
pillarsBenefits: {
|
|
1176
|
+
kPTwvd: "x4st1jw",
|
|
1177
|
+
kOIVth: "xia337e",
|
|
1178
|
+
$$css: true
|
|
1179
|
+
},
|
|
1180
|
+
pillars__benefit: {
|
|
1181
|
+
k1xSpc: "xrvj5dj",
|
|
1182
|
+
kdYMnH: "xesnm00",
|
|
1183
|
+
kNk6WL: "x10ukxgv",
|
|
1184
|
+
kOIVth: "x8233eu",
|
|
1185
|
+
kmVPX3: "x1717udv",
|
|
1186
|
+
kPTwvd: "x4st1jw",
|
|
1187
|
+
kSHCDd: "x5jh6js",
|
|
1188
|
+
$$css: true
|
|
1189
|
+
},
|
|
1190
|
+
pillars__icon: {
|
|
1191
|
+
k1xSpc: "x1lliihq",
|
|
1192
|
+
kULEZF: "xsta65m",
|
|
1193
|
+
kLWsYc: "xkl2xug",
|
|
1194
|
+
klAkkO: "xe92vt",
|
|
1195
|
+
kMwMTN: "xzwifym",
|
|
1196
|
+
$$css: true
|
|
1197
|
+
},
|
|
1188
1198
|
pillars__item: {
|
|
1189
1199
|
k1xSpc: "xrvj5dj",
|
|
1190
1200
|
kdYMnH: "xesnm00",
|
|
@@ -1717,10 +1727,20 @@ var marketingStyles = {
|
|
|
1717
1727
|
kN5DiO: "x1evy7pa",
|
|
1718
1728
|
$$css: true
|
|
1719
1729
|
},
|
|
1730
|
+
related__groups: {
|
|
1731
|
+
k1xSpc: "xrvj5dj",
|
|
1732
|
+
kg9kkx: "xdkhdln",
|
|
1733
|
+
kOIVth: "x1h7ehgl",
|
|
1734
|
+
kkeX5w: "x7a106z",
|
|
1735
|
+
$$css: true
|
|
1736
|
+
},
|
|
1720
1737
|
related__group: {
|
|
1738
|
+
"--hraness-marketing-related-tone": "x1fe84dw x3te53c",
|
|
1721
1739
|
k1xSpc: "xrvj5dj",
|
|
1722
|
-
kOIVth: "
|
|
1740
|
+
kOIVth: "x8fetqu",
|
|
1723
1741
|
kdYMnH: "xesnm00",
|
|
1742
|
+
khsPd: "x19fofvp",
|
|
1743
|
+
kS5dFF: "x10sryfm",
|
|
1724
1744
|
$$css: true
|
|
1725
1745
|
},
|
|
1726
1746
|
related__group_header: {
|
|
@@ -1732,95 +1752,140 @@ var marketingStyles = {
|
|
|
1732
1752
|
related__group_heading: {
|
|
1733
1753
|
kogj98: "x1ghz6dp",
|
|
1734
1754
|
kMwMTN: "xtylnni",
|
|
1735
|
-
knIRL8: "
|
|
1736
|
-
ko3Kzr: "
|
|
1737
|
-
kUEKN5: "
|
|
1738
|
-
kN5DiO: "
|
|
1755
|
+
knIRL8: "xrtw95r",
|
|
1756
|
+
ko3Kzr: "x1s688f",
|
|
1757
|
+
kUEKN5: "xjat59b",
|
|
1758
|
+
kN5DiO: "x1xfvgam",
|
|
1739
1759
|
kYjUv9: "x1w2vvpw",
|
|
1740
|
-
kLh5Sq: "
|
|
1760
|
+
kLh5Sq: "x1c3i2sq",
|
|
1741
1761
|
$$css: true
|
|
1742
1762
|
},
|
|
1743
1763
|
related__group_summary: {
|
|
1744
1764
|
kogj98: "x1ghz6dp",
|
|
1745
1765
|
kMwMTN: "xs87ocq",
|
|
1746
1766
|
knIRL8: "xrtw95r",
|
|
1747
|
-
kLh5Sq: "
|
|
1767
|
+
kLh5Sq: "x1jchvi3",
|
|
1748
1768
|
kN5DiO: "x1evy7pa",
|
|
1749
1769
|
$$css: true
|
|
1750
1770
|
},
|
|
1771
|
+
related__list: {
|
|
1772
|
+
"--hraness-marketing-grid-columns": "xogmzgw",
|
|
1773
|
+
"--_hraness-marketing-grid-track": "x1275dpl",
|
|
1774
|
+
kg9kkx: "x1h695s4",
|
|
1775
|
+
k1xSpc: "xrvj5dj",
|
|
1776
|
+
kOIVth: "x13z6uf9",
|
|
1777
|
+
kohv2D: "xe8uvvx",
|
|
1778
|
+
kogj98: "x1ghz6dp",
|
|
1779
|
+
kmVPX3: "x1717udv",
|
|
1780
|
+
kdYMnH: "xesnm00",
|
|
1781
|
+
$$css: true
|
|
1782
|
+
},
|
|
1783
|
+
related__item: {
|
|
1784
|
+
kogj98: "x1ghz6dp",
|
|
1785
|
+
kdYMnH: "xesnm00",
|
|
1786
|
+
$$css: true
|
|
1787
|
+
},
|
|
1751
1788
|
related__card: {
|
|
1752
1789
|
k1xSpc: "x78zum5",
|
|
1753
1790
|
kvQiKF: "x1q0g3np",
|
|
1754
|
-
kkeX5w: "
|
|
1791
|
+
kkeX5w: "x1cy8zhl",
|
|
1755
1792
|
kVAEAm: "x1n2onr6",
|
|
1756
|
-
kHBbk8: "xc8icb0",
|
|
1757
1793
|
kdYMnH: "xesnm00",
|
|
1758
|
-
kVQ08L: "
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
k99D8V: "
|
|
1763
|
-
kNdqCV: "
|
|
1764
|
-
kLjGic: "
|
|
1765
|
-
kpfRUI: "
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
kCh6Gp: "x1e53mt7 x1sz4vi2",
|
|
1770
|
-
kzSjEv: "xgkqhyc x4aylkk",
|
|
1771
|
-
kvZwPi: "x1eubfot",
|
|
1772
|
-
kL20gf: "x1itpb23 x9yvj25",
|
|
1773
|
-
kb5WsR: "x18o3ruo xhobzj1",
|
|
1774
|
-
k2EZ2Y: "x1y4qj14 x2c5uud",
|
|
1775
|
-
kevRTx: "x103pssi x1ug5rqp",
|
|
1776
|
-
kt02CW: "x182nak8 x1pjo12s",
|
|
1777
|
-
kVHNYi: "x12koezg xzln6ae",
|
|
1778
|
-
kUtEtU: "x1u7o2vf x1tzqu68",
|
|
1779
|
-
kdutIq: "x1fdtg7e xcrev8p",
|
|
1780
|
-
kTJQHc: "x1io0m3d x1a28r24 xwaqzdf",
|
|
1781
|
-
kMwMTN: "x1heor9g xs5hli",
|
|
1794
|
+
kVQ08L: "x4q3qzj",
|
|
1795
|
+
kOIVth: "x94aazo",
|
|
1796
|
+
kmVPX3: "x1v5tq4r",
|
|
1797
|
+
kYk0Dm: "xrxpjvj",
|
|
1798
|
+
k99D8V: "x6umtig",
|
|
1799
|
+
kNdqCV: "x1tj6v8e",
|
|
1800
|
+
kLjGic: "xaqea5y",
|
|
1801
|
+
kpfRUI: "xwqakj",
|
|
1802
|
+
kvZwPi: "x6i6fhv",
|
|
1803
|
+
kL20gf: "xjbqb8w xjoriyk",
|
|
1804
|
+
kMwMTN: "xtylnni",
|
|
1782
1805
|
kyVV8l: "x1hl2dhg",
|
|
1783
|
-
|
|
1784
|
-
|
|
1806
|
+
kTJQHc: "x1gnnqk1",
|
|
1807
|
+
kI3sdo: "xg81e2w",
|
|
1808
|
+
kVtf5F: "x1bqaal",
|
|
1785
1809
|
$$css: true
|
|
1786
1810
|
},
|
|
1787
1811
|
related__card_mark: {
|
|
1812
|
+
"--hraness-foil-text-base": "x74bjxz",
|
|
1813
|
+
kMwMTN: "xq5ojvh",
|
|
1788
1814
|
kVZ5iK: "x1c4vz4f",
|
|
1789
1815
|
kEE5IU: "x2lah0s",
|
|
1790
1816
|
kR2Kky: "xdl72j9",
|
|
1791
1817
|
k1xSpc: "x3nfvp2",
|
|
1792
1818
|
kkeX5w: "x6s0dn4",
|
|
1793
1819
|
kGmCso: "xl56j7k",
|
|
1794
|
-
kULEZF: "
|
|
1795
|
-
kLWsYc: "
|
|
1820
|
+
kULEZF: "x1mgeycz",
|
|
1821
|
+
kLWsYc: "x18i7o63",
|
|
1822
|
+
kAiAap: "x1lepkon",
|
|
1796
1823
|
$$css: true
|
|
1797
1824
|
},
|
|
1798
1825
|
related__card_text: {
|
|
1799
1826
|
k1xSpc: "xrvj5dj",
|
|
1800
|
-
kOIVth: "
|
|
1827
|
+
kOIVth: "xl8vk3q",
|
|
1801
1828
|
kdYMnH: "xesnm00",
|
|
1802
1829
|
$$css: true
|
|
1803
1830
|
},
|
|
1831
|
+
related__card_heading: {
|
|
1832
|
+
k1xSpc: "x78zum5",
|
|
1833
|
+
kR2Kwr: "x1a02dak",
|
|
1834
|
+
kkeX5w: "x1pha0wt",
|
|
1835
|
+
kpnIzl: "x19hr0qk",
|
|
1836
|
+
$$css: true
|
|
1837
|
+
},
|
|
1804
1838
|
related__card_name: {
|
|
1805
1839
|
kogj98: "x1ghz6dp",
|
|
1806
1840
|
kMwMTN: "xtylnni",
|
|
1807
1841
|
knIRL8: "xrtw95r",
|
|
1808
|
-
kLh5Sq: "
|
|
1809
|
-
ko3Kzr: "
|
|
1842
|
+
kLh5Sq: "x1lkfr7t",
|
|
1843
|
+
ko3Kzr: "x1s688f",
|
|
1810
1844
|
kUEKN5: "xjat59b",
|
|
1811
|
-
kN5DiO: "
|
|
1845
|
+
kN5DiO: "x1xfvgam",
|
|
1846
|
+
k7QVf6: "xj0a0fe",
|
|
1847
|
+
kXaGww: "xujl8zx",
|
|
1848
|
+
kCBxTS: "xi2nhp4",
|
|
1849
|
+
kRHfhz: "x4k6xgu",
|
|
1850
|
+
kKoZWP: "xyi4chj",
|
|
1851
|
+
k1PBYE: "x1ohr1zr",
|
|
1852
|
+
$$css: true
|
|
1853
|
+
},
|
|
1854
|
+
related__card_domain: {
|
|
1855
|
+
kMwMTN: "xs87ocq",
|
|
1856
|
+
knIRL8: "xrtw95r",
|
|
1857
|
+
kLh5Sq: "x1dcheo9",
|
|
1858
|
+
ko3Kzr: "xo1l8bm",
|
|
1859
|
+
kN5DiO: "x1evy7pa",
|
|
1812
1860
|
k7QVf6: "xj0a0fe",
|
|
1813
1861
|
$$css: true
|
|
1814
1862
|
},
|
|
1815
1863
|
related__card_role: {
|
|
1816
1864
|
kogj98: "x1ghz6dp",
|
|
1817
|
-
kMwMTN: "
|
|
1865
|
+
kMwMTN: "xs87ocq",
|
|
1818
1866
|
knIRL8: "xrtw95r",
|
|
1819
|
-
kLh5Sq: "
|
|
1867
|
+
kLh5Sq: "x6u19be",
|
|
1820
1868
|
kN5DiO: "xfrs9s4",
|
|
1869
|
+
k7QVf6: "xj0a0fe",
|
|
1821
1870
|
kYjUv9: "x1fzhlzt",
|
|
1822
1871
|
$$css: true
|
|
1823
1872
|
},
|
|
1873
|
+
relatedToneRose: {
|
|
1874
|
+
"--hraness-marketing-related-tone": "xguwbwv x3te53c",
|
|
1875
|
+
$$css: true
|
|
1876
|
+
},
|
|
1877
|
+
relatedToneIndigo: {
|
|
1878
|
+
"--hraness-marketing-related-tone": "xw4kusz x3te53c",
|
|
1879
|
+
$$css: true
|
|
1880
|
+
},
|
|
1881
|
+
relatedToneAmber: {
|
|
1882
|
+
"--hraness-marketing-related-tone": "xk35eb0 x3te53c",
|
|
1883
|
+
$$css: true
|
|
1884
|
+
},
|
|
1885
|
+
relatedToneEmerald: {
|
|
1886
|
+
"--hraness-marketing-related-tone": "x1kw80uk x3te53c",
|
|
1887
|
+
$$css: true
|
|
1888
|
+
},
|
|
1824
1889
|
trust: {
|
|
1825
1890
|
kMwMTN: "xtylnni",
|
|
1826
1891
|
knIRL8: "xrtw95r",
|
|
@@ -2118,19 +2183,23 @@ var marketingStyles = {
|
|
|
2118
2183
|
$$css: true
|
|
2119
2184
|
},
|
|
2120
2185
|
interface_grid: {
|
|
2186
|
+
"--hraness-marketing-grid-columns": "xogmzgw",
|
|
2187
|
+
"--_hraness-marketing-grid-track": "x9wro72",
|
|
2121
2188
|
k1xSpc: "xrvj5dj",
|
|
2122
2189
|
kkeX5w: "x1qjc9v5",
|
|
2123
2190
|
kogj98: "x1ghz6dp",
|
|
2124
2191
|
kOIVth: "x8fetqu",
|
|
2125
|
-
kg9kkx: "
|
|
2192
|
+
kg9kkx: "x1v4bfo1",
|
|
2126
2193
|
$$css: true
|
|
2127
2194
|
},
|
|
2128
2195
|
trust_grid: {
|
|
2196
|
+
"--hraness-marketing-grid-columns": "xogmzgw",
|
|
2197
|
+
"--_hraness-marketing-grid-track": "x9wro72",
|
|
2129
2198
|
k1xSpc: "xrvj5dj",
|
|
2130
2199
|
kkeX5w: "x1qjc9v5",
|
|
2131
2200
|
kogj98: "x1ghz6dp",
|
|
2132
2201
|
kOIVth: "x8fetqu",
|
|
2133
|
-
kg9kkx: "
|
|
2202
|
+
kg9kkx: "x1v4bfo1",
|
|
2134
2203
|
$$css: true
|
|
2135
2204
|
},
|
|
2136
2205
|
interface: {
|
|
@@ -2388,7 +2457,11 @@ var marketingStyles = {
|
|
|
2388
2457
|
},
|
|
2389
2458
|
quote__link: {
|
|
2390
2459
|
kMwMTN: "x1heor9g",
|
|
2391
|
-
|
|
2460
|
+
kXaGww: "xujl8zx",
|
|
2461
|
+
kCBxTS: "xi2nhp4",
|
|
2462
|
+
kRHfhz: "x4k6xgu x9ojkr9 x1e7jyuc",
|
|
2463
|
+
kKoZWP: "xyi4chj",
|
|
2464
|
+
k1PBYE: "x1ohr1zr",
|
|
2392
2465
|
$$css: true
|
|
2393
2466
|
},
|
|
2394
2467
|
plan_grid: {
|
|
@@ -3128,6 +3201,9 @@ var recipes = {
|
|
|
3128
3201
|
"hraness-marketing-hero__summary": {
|
|
3129
3202
|
default: marketingStyles.hero__summary
|
|
3130
3203
|
},
|
|
3204
|
+
"hraness-marketing-hero__install": {
|
|
3205
|
+
default: marketingStyles.hero__install
|
|
3206
|
+
},
|
|
3131
3207
|
"hraness-marketing-hero__example": {
|
|
3132
3208
|
default: marketingStyles.hero__example
|
|
3133
3209
|
},
|
|
@@ -3216,7 +3292,11 @@ var recipes = {
|
|
|
3216
3292
|
},
|
|
3217
3293
|
"hraness-marketing-pillars__item": {
|
|
3218
3294
|
default: marketingStyles.pillars__item,
|
|
3219
|
-
later: marketingStyles.pillars__itemLater
|
|
3295
|
+
later: marketingStyles.pillars__itemLater,
|
|
3296
|
+
benefit: marketingStyles.pillars__benefit
|
|
3297
|
+
},
|
|
3298
|
+
"hraness-marketing-pillars__icon": {
|
|
3299
|
+
default: marketingStyles.pillars__icon
|
|
3220
3300
|
},
|
|
3221
3301
|
"hraness-marketing-pillars__label": {
|
|
3222
3302
|
default: marketingStyles.pillars__label
|
|
@@ -3370,8 +3450,28 @@ var recipes = {
|
|
|
3370
3450
|
"hraness-marketing-related__summary": {
|
|
3371
3451
|
default: marketingStyles.related__summary
|
|
3372
3452
|
},
|
|
3453
|
+
"hraness-marketing-related__groups": {
|
|
3454
|
+
default: marketingStyles.related__groups
|
|
3455
|
+
},
|
|
3456
|
+
"hraness-marketing-related__list": {
|
|
3457
|
+
default: marketingStyles.related__list
|
|
3458
|
+
},
|
|
3459
|
+
"hraness-marketing-related__item": {
|
|
3460
|
+
default: marketingStyles.related__item
|
|
3461
|
+
},
|
|
3462
|
+
"hraness-marketing-related__card-heading": {
|
|
3463
|
+
default: marketingStyles.related__card_heading
|
|
3464
|
+
},
|
|
3465
|
+
"hraness-marketing-related__card-domain": {
|
|
3466
|
+
default: marketingStyles.related__card_domain
|
|
3467
|
+
},
|
|
3373
3468
|
"hraness-marketing-related__group": {
|
|
3374
|
-
default: marketingStyles.related__group
|
|
3469
|
+
default: marketingStyles.related__group,
|
|
3470
|
+
neutral: marketingStyles.related__group,
|
|
3471
|
+
rose: [marketingStyles.related__group, marketingStyles.relatedToneRose],
|
|
3472
|
+
indigo: [marketingStyles.related__group, marketingStyles.relatedToneIndigo],
|
|
3473
|
+
amber: [marketingStyles.related__group, marketingStyles.relatedToneAmber],
|
|
3474
|
+
emerald: [marketingStyles.related__group, marketingStyles.relatedToneEmerald]
|
|
3375
3475
|
},
|
|
3376
3476
|
"hraness-marketing-related__group-header": {
|
|
3377
3477
|
default: marketingStyles.related__group_header
|
|
@@ -3650,12 +3750,12 @@ var gridColumns = {
|
|
|
3650
3750
|
3: marketingStyles.gridColumns3,
|
|
3651
3751
|
4: marketingStyles.gridColumns4
|
|
3652
3752
|
};
|
|
3653
|
-
function marketingColumnClassName(hook, caller, columns) {
|
|
3753
|
+
function marketingColumnClassName(hook, caller, columns, presentation = "default") {
|
|
3654
3754
|
if (columns !== undefined && columns !== 1 && columns !== 2 && columns !== 3 && columns !== 4) {
|
|
3655
3755
|
throw new RangeError("Marketing columns must be 1, 2, 3, or 4 when specified.");
|
|
3656
3756
|
}
|
|
3657
|
-
const columnRecipe = columns === undefined ? undefined : (hook === "hraness-marketing-pillars" ? pillarColumns : hook === "hraness-marketing-card-row" || hook === "hraness-marketing-primitives__list" ? gridColumns : factColumns)[columns];
|
|
3658
|
-
return [hook, stylex3.props(recipes[hook].default, columnRecipe).className, caller].filter((value) => value !== undefined && value.length > 0).join(" ");
|
|
3757
|
+
const columnRecipe = columns === undefined ? undefined : (hook === "hraness-marketing-pillars" ? pillarColumns : hook === "hraness-marketing-card-row" || hook === "hraness-marketing-primitives__list" || hook === "hraness-marketing-interface-grid" || hook === "hraness-marketing-trust-grid" || hook === "hraness-marketing-related__list" ? gridColumns : factColumns)[columns];
|
|
3758
|
+
return [hook, stylex3.props(recipes[hook].default, columnRecipe, hook === "hraness-marketing-pillars" && presentation === "benefits" && marketingStyles.pillarsBenefits).className, caller].filter((value) => value !== undefined && value.length > 0).join(" ");
|
|
3659
3759
|
}
|
|
3660
3760
|
function marketingClassName(hook, caller, variant = "default") {
|
|
3661
3761
|
const variants = recipes[hook];
|
|
@@ -3669,7 +3769,7 @@ function marketingFactCellVariant(index) {
|
|
|
3669
3769
|
}
|
|
3670
3770
|
|
|
3671
3771
|
// src/react/product-marketing.tsx
|
|
3672
|
-
import { jsx as
|
|
3772
|
+
import { jsx as jsx3, jsxs as jsxs3, Fragment as Fragment2 } from "react/jsx-runtime";
|
|
3673
3773
|
import { createElement } from "react";
|
|
3674
3774
|
var MARKETING_HEADING_TAGS = {
|
|
3675
3775
|
1: "h1",
|
|
@@ -3696,7 +3796,7 @@ function Heading({
|
|
|
3696
3796
|
id
|
|
3697
3797
|
};
|
|
3698
3798
|
const HeadingTag = MARKETING_HEADING_TAGS[level];
|
|
3699
|
-
return /* @__PURE__ */
|
|
3799
|
+
return /* @__PURE__ */ jsx3(HeadingTag, {
|
|
3700
3800
|
...properties
|
|
3701
3801
|
});
|
|
3702
3802
|
}
|
|
@@ -3711,7 +3811,7 @@ function MarketingActionLink({
|
|
|
3711
3811
|
label,
|
|
3712
3812
|
tone = "paper"
|
|
3713
3813
|
}) {
|
|
3714
|
-
return /* @__PURE__ */
|
|
3814
|
+
return /* @__PURE__ */ jsx3("a", {
|
|
3715
3815
|
className: marketingClassName("hraness-marketing-action", className, tone === "accent" ? `${context}-${emphasis}` : emphasis === "primary" ? "primary" : "default"),
|
|
3716
3816
|
"data-emphasis": emphasis,
|
|
3717
3817
|
"data-foil": emphasis === "primary" ? "" : undefined,
|
|
@@ -3727,7 +3827,7 @@ function MarketingActions({
|
|
|
3727
3827
|
}) {
|
|
3728
3828
|
if (actions.length === 0)
|
|
3729
3829
|
return null;
|
|
3730
|
-
return /* @__PURE__ */
|
|
3830
|
+
return /* @__PURE__ */ jsx3("div", {
|
|
3731
3831
|
className,
|
|
3732
3832
|
children: actions.map((action, index) => {
|
|
3733
3833
|
const emphasis = action.emphasis ?? (index === 0 ? "primary" : "secondary");
|
|
@@ -3751,7 +3851,7 @@ function MarketingPage({
|
|
|
3751
3851
|
if (preset !== undefined && preset !== "editorial" && preset !== "minimal")
|
|
3752
3852
|
throw new RangeError("Unknown marketing preset.");
|
|
3753
3853
|
assertMarketingPattern(pattern);
|
|
3754
|
-
return /* @__PURE__ */
|
|
3854
|
+
return /* @__PURE__ */ jsx3("div", {
|
|
3755
3855
|
className: marketingClassName("hraness-marketing-page", className),
|
|
3756
3856
|
"data-hraness-marketing": "page",
|
|
3757
3857
|
"data-hraness-marketing-preset": preset,
|
|
@@ -3766,7 +3866,7 @@ function MarketingField({
|
|
|
3766
3866
|
pattern
|
|
3767
3867
|
}) {
|
|
3768
3868
|
assertMarketingPattern(pattern);
|
|
3769
|
-
return /* @__PURE__ */
|
|
3869
|
+
return /* @__PURE__ */ jsx3("div", {
|
|
3770
3870
|
className: ["hraness-marketing-field", className].filter(Boolean).join(" "),
|
|
3771
3871
|
"data-hraness-marketing": "field",
|
|
3772
3872
|
"data-hraness-pattern": pattern,
|
|
@@ -3781,7 +3881,7 @@ function MarketingMain({
|
|
|
3781
3881
|
}) {
|
|
3782
3882
|
if (clearance !== "scroll" && clearance !== "pad")
|
|
3783
3883
|
throw new RangeError("Marketing main clearance must be scroll or pad.");
|
|
3784
|
-
return /* @__PURE__ */
|
|
3884
|
+
return /* @__PURE__ */ jsx3("main", {
|
|
3785
3885
|
className: marketingClassName("hraness-marketing-main", className, clearance === "pad" ? "pad" : "default"),
|
|
3786
3886
|
"data-hraness-clearance": clearance === "pad" ? "pad" : undefined,
|
|
3787
3887
|
"data-hraness-marketing": "main",
|
|
@@ -3801,7 +3901,7 @@ function MarketingCardRow({
|
|
|
3801
3901
|
className: marketingColumnClassName("hraness-marketing-card-row", className, columns),
|
|
3802
3902
|
"data-hraness-marketing": "card-row",
|
|
3803
3903
|
children: [
|
|
3804
|
-
cards?.map((card) => /* @__PURE__ */
|
|
3904
|
+
cards?.map((card) => /* @__PURE__ */ jsx3(MarketingCard, {
|
|
3805
3905
|
title: card.title,
|
|
3806
3906
|
...card.art === undefined ? {} : {
|
|
3807
3907
|
art: card.art
|
|
@@ -3821,7 +3921,7 @@ function MarketingCardArt({
|
|
|
3821
3921
|
children,
|
|
3822
3922
|
className
|
|
3823
3923
|
}) {
|
|
3824
|
-
return /* @__PURE__ */
|
|
3924
|
+
return /* @__PURE__ */ jsx3("div", {
|
|
3825
3925
|
className: marketingClassName("hraness-marketing-card__art", className),
|
|
3826
3926
|
"data-hraness-marketing": "card-art",
|
|
3827
3927
|
children
|
|
@@ -3840,31 +3940,31 @@ function MarketingCard({
|
|
|
3840
3940
|
}) {
|
|
3841
3941
|
const body = /* @__PURE__ */ jsxs3(Fragment2, {
|
|
3842
3942
|
children: [
|
|
3843
|
-
isPresentNode(art) ? /* @__PURE__ */
|
|
3943
|
+
isPresentNode(art) ? /* @__PURE__ */ jsx3(MarketingCardArt, {
|
|
3844
3944
|
children: art
|
|
3845
3945
|
}) : null,
|
|
3846
|
-
/* @__PURE__ */
|
|
3946
|
+
/* @__PURE__ */ jsx3("h3", {
|
|
3847
3947
|
className: marketingClassName("hraness-marketing-card__title"),
|
|
3848
3948
|
children: title
|
|
3849
3949
|
}),
|
|
3850
|
-
meta === undefined || meta === "" ? null : /* @__PURE__ */
|
|
3950
|
+
meta === undefined || meta === "" ? null : /* @__PURE__ */ jsx3("p", {
|
|
3851
3951
|
className: marketingClassName("hraness-marketing-card__meta"),
|
|
3852
3952
|
children: meta
|
|
3853
3953
|
}),
|
|
3854
|
-
isPresentNode(children) ? /* @__PURE__ */
|
|
3954
|
+
isPresentNode(children) ? /* @__PURE__ */ jsx3("div", {
|
|
3855
3955
|
className: marketingClassName("hraness-marketing-card__body"),
|
|
3856
3956
|
children
|
|
3857
3957
|
}) : null
|
|
3858
3958
|
]
|
|
3859
3959
|
});
|
|
3860
3960
|
if (href === undefined) {
|
|
3861
|
-
return /* @__PURE__ */
|
|
3961
|
+
return /* @__PURE__ */ jsx3("article", {
|
|
3862
3962
|
className: marketingClassName("hraness-marketing-card", className),
|
|
3863
3963
|
"data-hraness-marketing": "card",
|
|
3864
3964
|
children: body
|
|
3865
3965
|
});
|
|
3866
3966
|
}
|
|
3867
|
-
return /* @__PURE__ */
|
|
3967
|
+
return /* @__PURE__ */ jsx3("a", {
|
|
3868
3968
|
className: marketingClassName("hraness-marketing-card", className),
|
|
3869
3969
|
"data-hraness-marketing": "card",
|
|
3870
3970
|
href,
|
|
@@ -3886,7 +3986,7 @@ function MarketingSiteHeader({
|
|
|
3886
3986
|
const brandProperties = brandLabel === undefined ? {} : {
|
|
3887
3987
|
"aria-label": brandLabel
|
|
3888
3988
|
};
|
|
3889
|
-
return /* @__PURE__ */
|
|
3989
|
+
return /* @__PURE__ */ jsx3("header", {
|
|
3890
3990
|
className: marketingClassName("hraness-marketing-header", className, sticky ? "default" : "static"),
|
|
3891
3991
|
"data-hraness-marketing": "header",
|
|
3892
3992
|
"data-position": sticky ? "sticky" : "static",
|
|
@@ -3899,16 +3999,16 @@ function MarketingSiteHeader({
|
|
|
3899
3999
|
href: brandHref,
|
|
3900
4000
|
...brandProperties,
|
|
3901
4001
|
children: [
|
|
3902
|
-
brandMark === undefined ? null : /* @__PURE__ */
|
|
4002
|
+
brandMark === undefined ? null : /* @__PURE__ */ jsx3(FoilMark, {
|
|
3903
4003
|
src: brandMark
|
|
3904
4004
|
}),
|
|
3905
4005
|
brand
|
|
3906
4006
|
]
|
|
3907
4007
|
}),
|
|
3908
|
-
/* @__PURE__ */
|
|
4008
|
+
/* @__PURE__ */ jsx3("nav", {
|
|
3909
4009
|
"aria-label": ariaLabel,
|
|
3910
4010
|
className: marketingClassName("hraness-marketing-header__nav"),
|
|
3911
|
-
children: links.map((link) => /* @__PURE__ */
|
|
4011
|
+
children: links.map((link) => /* @__PURE__ */ jsx3("a", {
|
|
3912
4012
|
"aria-current": link.current === true ? "page" : undefined,
|
|
3913
4013
|
className: marketingClassName("hraness-marketing-header__link", undefined, link.current === true ? "current" : "default"),
|
|
3914
4014
|
href: link.href,
|
|
@@ -3918,7 +4018,7 @@ function MarketingSiteHeader({
|
|
|
3918
4018
|
action === undefined && trailing === undefined ? null : /* @__PURE__ */ jsxs3("div", {
|
|
3919
4019
|
className: marketingClassName("hraness-marketing-header__actions"),
|
|
3920
4020
|
children: [
|
|
3921
|
-
action === undefined ? null : /* @__PURE__ */
|
|
4021
|
+
action === undefined ? null : /* @__PURE__ */ jsx3("a", {
|
|
3922
4022
|
className: marketingClassName("hraness-marketing-action", undefined, `header-${action.emphasis ?? "primary"}`),
|
|
3923
4023
|
"data-emphasis": action.emphasis ?? "primary",
|
|
3924
4024
|
"data-foil": (action.emphasis ?? "primary") === "primary" ? "" : undefined,
|
|
@@ -3948,7 +4048,7 @@ function MarketingSiteFooter({
|
|
|
3948
4048
|
"aria-label": brandLabel
|
|
3949
4049
|
};
|
|
3950
4050
|
const foilBrand = brandMark !== undefined;
|
|
3951
|
-
return /* @__PURE__ */
|
|
4051
|
+
return /* @__PURE__ */ jsx3("footer", {
|
|
3952
4052
|
"aria-label": ariaLabel,
|
|
3953
4053
|
className: marketingClassName("hraness-marketing-footer", className),
|
|
3954
4054
|
"data-hraness-marketing": "footer",
|
|
@@ -3961,22 +4061,22 @@ function MarketingSiteFooter({
|
|
|
3961
4061
|
href: brandHref,
|
|
3962
4062
|
...brandProperties,
|
|
3963
4063
|
children: [
|
|
3964
|
-
foilBrand ? /* @__PURE__ */
|
|
4064
|
+
foilBrand ? /* @__PURE__ */ jsx3(FoilMark, {
|
|
3965
4065
|
fallback: brand,
|
|
3966
4066
|
size: 18,
|
|
3967
4067
|
src: brandMark
|
|
3968
4068
|
}) : brand,
|
|
3969
|
-
/* @__PURE__ */
|
|
4069
|
+
/* @__PURE__ */ jsx3("span", {
|
|
3970
4070
|
className: marketingClassName("hraness-marketing-footer__name"),
|
|
3971
4071
|
children: name
|
|
3972
4072
|
})
|
|
3973
4073
|
]
|
|
3974
4074
|
}),
|
|
3975
4075
|
children,
|
|
3976
|
-
links.length === 0 ? null : /* @__PURE__ */
|
|
4076
|
+
links.length === 0 ? null : /* @__PURE__ */ jsx3("nav", {
|
|
3977
4077
|
"aria-label": linksLabel,
|
|
3978
4078
|
className: marketingClassName("hraness-marketing-footer__nav"),
|
|
3979
|
-
children: links.map((link) => /* @__PURE__ */
|
|
4079
|
+
children: links.map((link) => /* @__PURE__ */ jsx3("a", {
|
|
3980
4080
|
"aria-current": link.current === true ? "page" : undefined,
|
|
3981
4081
|
className: marketingClassName("hraness-marketing-footer__link", undefined, link.current === true ? "current" : "default"),
|
|
3982
4082
|
href: link.href,
|
|
@@ -3992,14 +4092,14 @@ function MarketingFlow({
|
|
|
3992
4092
|
className,
|
|
3993
4093
|
steps
|
|
3994
4094
|
}) {
|
|
3995
|
-
return /* @__PURE__ */
|
|
4095
|
+
return /* @__PURE__ */ jsx3("ol", {
|
|
3996
4096
|
"aria-label": ariaLabel,
|
|
3997
4097
|
className: marketingClassName("hraness-marketing-flow", className),
|
|
3998
4098
|
"data-hraness-marketing": "flow",
|
|
3999
4099
|
children: steps.map((step, index) => /* @__PURE__ */ jsxs3("li", {
|
|
4000
4100
|
className: marketingClassName("hraness-marketing-flow__step", undefined, index === 0 ? "first" : "default"),
|
|
4001
4101
|
children: [
|
|
4002
|
-
/* @__PURE__ */
|
|
4102
|
+
/* @__PURE__ */ jsx3("span", {
|
|
4003
4103
|
"aria-hidden": "true",
|
|
4004
4104
|
className: marketingClassName("hraness-marketing-flow__number"),
|
|
4005
4105
|
children: String(index + 1).padStart(2, "0")
|
|
@@ -4007,16 +4107,16 @@ function MarketingFlow({
|
|
|
4007
4107
|
/* @__PURE__ */ jsxs3("div", {
|
|
4008
4108
|
className: marketingClassName("hraness-marketing-flow__body"),
|
|
4009
4109
|
children: [
|
|
4010
|
-
/* @__PURE__ */
|
|
4110
|
+
/* @__PURE__ */ jsx3("strong", {
|
|
4011
4111
|
className: marketingClassName("hraness-marketing-flow__label"),
|
|
4012
4112
|
children: step.label
|
|
4013
4113
|
}),
|
|
4014
|
-
step.code === undefined ? null : /* @__PURE__ */
|
|
4114
|
+
step.code === undefined ? null : /* @__PURE__ */ jsx3(SyntaxCode, {
|
|
4015
4115
|
className: marketingClassName("hraness-marketing-flow__code"),
|
|
4016
4116
|
code: step.code,
|
|
4017
4117
|
styles: "classes"
|
|
4018
4118
|
}),
|
|
4019
|
-
step.detail === undefined ? null : /* @__PURE__ */
|
|
4119
|
+
step.detail === undefined ? null : /* @__PURE__ */ jsx3("p", {
|
|
4020
4120
|
className: marketingClassName("hraness-marketing-flow__detail"),
|
|
4021
4121
|
children: step.detail
|
|
4022
4122
|
})
|
|
@@ -4034,7 +4134,7 @@ function MarketingFacts({
|
|
|
4034
4134
|
const rootClassName = marketingColumnClassName("hraness-marketing-facts", className, columns);
|
|
4035
4135
|
if (facts.length === 0)
|
|
4036
4136
|
return null;
|
|
4037
|
-
return /* @__PURE__ */
|
|
4137
|
+
return /* @__PURE__ */ jsx3("dl", {
|
|
4038
4138
|
className: rootClassName,
|
|
4039
4139
|
"data-hraness-marketing": "facts",
|
|
4040
4140
|
style: columns === undefined ? {
|
|
@@ -4043,18 +4143,18 @@ function MarketingFacts({
|
|
|
4043
4143
|
children: facts.map((fact, index) => /* @__PURE__ */ jsxs3("div", {
|
|
4044
4144
|
className: marketingClassName("hraness-marketing-facts__item", undefined, marketingFactCellVariant(index)),
|
|
4045
4145
|
children: [
|
|
4046
|
-
/* @__PURE__ */
|
|
4146
|
+
/* @__PURE__ */ jsx3("dt", {
|
|
4047
4147
|
className: marketingClassName("hraness-marketing-facts__label"),
|
|
4048
4148
|
children: fact.label
|
|
4049
4149
|
}),
|
|
4050
4150
|
/* @__PURE__ */ jsxs3("dd", {
|
|
4051
4151
|
className: marketingClassName("hraness-marketing-facts__body"),
|
|
4052
4152
|
children: [
|
|
4053
|
-
/* @__PURE__ */
|
|
4153
|
+
/* @__PURE__ */ jsx3("strong", {
|
|
4054
4154
|
className: marketingClassName("hraness-marketing-facts__value"),
|
|
4055
4155
|
children: fact.value
|
|
4056
4156
|
}),
|
|
4057
|
-
fact.detail === undefined ? null : /* @__PURE__ */
|
|
4157
|
+
fact.detail === undefined ? null : /* @__PURE__ */ jsx3("span", {
|
|
4058
4158
|
className: marketingClassName("hraness-marketing-facts__detail"),
|
|
4059
4159
|
children: fact.detail
|
|
4060
4160
|
})
|
|
@@ -4077,6 +4177,7 @@ function ProductHero({
|
|
|
4077
4177
|
heading,
|
|
4078
4178
|
headingId,
|
|
4079
4179
|
headingLevel = 1,
|
|
4180
|
+
install,
|
|
4080
4181
|
name,
|
|
4081
4182
|
notice,
|
|
4082
4183
|
proof,
|
|
@@ -4093,42 +4194,46 @@ function ProductHero({
|
|
|
4093
4194
|
/* @__PURE__ */ jsxs3("div", {
|
|
4094
4195
|
className: marketingClassName("hraness-marketing-hero__copy", undefined, align === "start" ? "start" : "default"),
|
|
4095
4196
|
children: [
|
|
4096
|
-
eyebrow === undefined || eyebrow === "" ? null : /* @__PURE__ */
|
|
4197
|
+
eyebrow === undefined || eyebrow === "" ? null : /* @__PURE__ */ jsx3("p", {
|
|
4097
4198
|
className: marketingClassName("hraness-marketing-hero__eyebrow", undefined, tone === "accent" ? "accent" : "default"),
|
|
4098
4199
|
children: eyebrow
|
|
4099
4200
|
}),
|
|
4100
|
-
/* @__PURE__ */
|
|
4201
|
+
name === "" ? null : /* @__PURE__ */ jsx3("p", {
|
|
4101
4202
|
className: marketingClassName("hraness-marketing-hero__name"),
|
|
4102
4203
|
children: name
|
|
4103
4204
|
}),
|
|
4104
|
-
/* @__PURE__ */
|
|
4205
|
+
/* @__PURE__ */ jsx3(Heading, {
|
|
4105
4206
|
className: marketingClassName("hraness-marketing-hero__heading"),
|
|
4106
4207
|
id: headingId,
|
|
4107
4208
|
level: headingLevel,
|
|
4108
4209
|
children: heading
|
|
4109
4210
|
}),
|
|
4110
|
-
/* @__PURE__ */
|
|
4211
|
+
/* @__PURE__ */ jsx3("p", {
|
|
4111
4212
|
className: marketingClassName("hraness-marketing-hero__summary"),
|
|
4112
4213
|
children: summary
|
|
4113
4214
|
}),
|
|
4114
|
-
|
|
4215
|
+
install === undefined ? null : /* @__PURE__ */ jsx3("div", {
|
|
4216
|
+
className: marketingClassName("hraness-marketing-hero__install"),
|
|
4217
|
+
children: install
|
|
4218
|
+
}),
|
|
4219
|
+
example === undefined ? null : /* @__PURE__ */ jsx3("p", {
|
|
4115
4220
|
className: marketingClassName("hraness-marketing-hero__example"),
|
|
4116
4221
|
children: example
|
|
4117
4222
|
}),
|
|
4118
|
-
/* @__PURE__ */
|
|
4223
|
+
/* @__PURE__ */ jsx3(MarketingActions, {
|
|
4119
4224
|
actions,
|
|
4120
4225
|
className: marketingClassName("hraness-marketing-hero__actions", undefined, align === "start" ? "start" : "default"),
|
|
4121
4226
|
context: "hero",
|
|
4122
4227
|
tone
|
|
4123
4228
|
}),
|
|
4124
|
-
boundary === undefined ? null : /* @__PURE__ */
|
|
4229
|
+
boundary === undefined ? null : /* @__PURE__ */ jsx3("p", {
|
|
4125
4230
|
className: marketingClassName("hraness-marketing-hero__boundary"),
|
|
4126
4231
|
children: boundary
|
|
4127
4232
|
}),
|
|
4128
4233
|
notice
|
|
4129
4234
|
]
|
|
4130
4235
|
}),
|
|
4131
|
-
frame === undefined ? null : /* @__PURE__ */
|
|
4236
|
+
frame === undefined ? null : /* @__PURE__ */ jsx3("div", {
|
|
4132
4237
|
className: marketingClassName("hraness-marketing-hero__frame"),
|
|
4133
4238
|
children: frame
|
|
4134
4239
|
}),
|
|
@@ -4136,11 +4241,11 @@ function ProductHero({
|
|
|
4136
4241
|
className: marketingClassName("hraness-marketing-proof"),
|
|
4137
4242
|
"aria-labelledby": `${headingId}-proof`,
|
|
4138
4243
|
children: [
|
|
4139
|
-
proof.kicker === undefined ? null : /* @__PURE__ */
|
|
4244
|
+
proof.kicker === undefined ? null : /* @__PURE__ */ jsx3("p", {
|
|
4140
4245
|
className: marketingClassName("hraness-marketing-proof__kicker"),
|
|
4141
4246
|
children: proof.kicker
|
|
4142
4247
|
}),
|
|
4143
|
-
/* @__PURE__ */
|
|
4248
|
+
/* @__PURE__ */ jsx3(Heading, {
|
|
4144
4249
|
className: marketingClassName("hraness-marketing-proof__heading"),
|
|
4145
4250
|
id: `${headingId}-proof`,
|
|
4146
4251
|
level: childHeadingLevel(headingLevel),
|
|
@@ -4149,7 +4254,7 @@ function ProductHero({
|
|
|
4149
4254
|
proof.content
|
|
4150
4255
|
]
|
|
4151
4256
|
}),
|
|
4152
|
-
/* @__PURE__ */
|
|
4257
|
+
/* @__PURE__ */ jsx3(MarketingFacts, {
|
|
4153
4258
|
facts,
|
|
4154
4259
|
...factsColumns === undefined ? {} : {
|
|
4155
4260
|
columns: factsColumns
|
|
@@ -4162,26 +4267,35 @@ function MarketingPillars({
|
|
|
4162
4267
|
ariaLabel,
|
|
4163
4268
|
className,
|
|
4164
4269
|
columns,
|
|
4165
|
-
pillars
|
|
4270
|
+
pillars,
|
|
4271
|
+
presentation = "columns"
|
|
4166
4272
|
}) {
|
|
4167
|
-
const rootClassName = marketingColumnClassName("hraness-marketing-pillars", className, columns);
|
|
4273
|
+
const rootClassName = marketingColumnClassName("hraness-marketing-pillars", className, columns, presentation === "benefits" ? "benefits" : "default");
|
|
4168
4274
|
if (pillars.length === 0)
|
|
4169
4275
|
return null;
|
|
4170
|
-
return /* @__PURE__ */
|
|
4276
|
+
return /* @__PURE__ */ jsx3("dl", {
|
|
4171
4277
|
"aria-label": ariaLabel,
|
|
4172
4278
|
className: rootClassName,
|
|
4173
4279
|
"data-hraness-marketing": "pillars",
|
|
4280
|
+
"data-presentation": presentation,
|
|
4174
4281
|
style: columns === undefined ? {
|
|
4175
4282
|
"--hraness-marketing-pillar-columns": String(pillars.length)
|
|
4176
4283
|
} : undefined,
|
|
4177
4284
|
children: pillars.map((pillar, index) => /* @__PURE__ */ jsxs3("div", {
|
|
4178
|
-
className: marketingClassName("hraness-marketing-pillars__item", undefined, index === 0 ? "default" : "later"),
|
|
4285
|
+
className: marketingClassName("hraness-marketing-pillars__item", undefined, presentation === "benefits" ? "benefit" : index === 0 ? "default" : "later"),
|
|
4179
4286
|
children: [
|
|
4180
|
-
/* @__PURE__ */
|
|
4287
|
+
/* @__PURE__ */ jsxs3("dt", {
|
|
4181
4288
|
className: marketingClassName("hraness-marketing-pillars__label"),
|
|
4182
|
-
children:
|
|
4289
|
+
children: [
|
|
4290
|
+
pillar.icon === undefined ? null : /* @__PURE__ */ jsx3("span", {
|
|
4291
|
+
"aria-hidden": "true",
|
|
4292
|
+
className: marketingClassName("hraness-marketing-pillars__icon"),
|
|
4293
|
+
children: pillar.icon
|
|
4294
|
+
}),
|
|
4295
|
+
pillar.label
|
|
4296
|
+
]
|
|
4183
4297
|
}),
|
|
4184
|
-
/* @__PURE__ */
|
|
4298
|
+
/* @__PURE__ */ jsx3("dd", {
|
|
4185
4299
|
className: marketingClassName("hraness-marketing-pillars__summary"),
|
|
4186
4300
|
children: pillar.summary
|
|
4187
4301
|
})
|
|
@@ -4208,11 +4322,11 @@ function MarketingInstallPanel({
|
|
|
4208
4322
|
/* @__PURE__ */ jsxs3("div", {
|
|
4209
4323
|
className: marketingClassName("hraness-marketing-install__heading-group"),
|
|
4210
4324
|
children: [
|
|
4211
|
-
eyebrow === undefined || eyebrow === "" ? null : /* @__PURE__ */
|
|
4325
|
+
eyebrow === undefined || eyebrow === "" ? null : /* @__PURE__ */ jsx3("p", {
|
|
4212
4326
|
className: marketingClassName("hraness-marketing-install__eyebrow"),
|
|
4213
4327
|
children: eyebrow
|
|
4214
4328
|
}),
|
|
4215
|
-
/* @__PURE__ */
|
|
4329
|
+
/* @__PURE__ */ jsx3(Heading, {
|
|
4216
4330
|
className: marketingClassName("hraness-marketing-install__heading"),
|
|
4217
4331
|
id: headingId,
|
|
4218
4332
|
level: headingLevel,
|
|
@@ -4221,7 +4335,7 @@ function MarketingInstallPanel({
|
|
|
4221
4335
|
note
|
|
4222
4336
|
]
|
|
4223
4337
|
}),
|
|
4224
|
-
/* @__PURE__ */
|
|
4338
|
+
/* @__PURE__ */ jsx3("div", {
|
|
4225
4339
|
className: marketingClassName("hraness-marketing-install__commands"),
|
|
4226
4340
|
children
|
|
4227
4341
|
})
|
|
@@ -4271,37 +4385,37 @@ function MarketingProofFrame({
|
|
|
4271
4385
|
/* @__PURE__ */ jsxs3("span", {
|
|
4272
4386
|
className: marketingClassName("hraness-marketing-proof-frame__lights"),
|
|
4273
4387
|
children: [
|
|
4274
|
-
/* @__PURE__ */
|
|
4388
|
+
/* @__PURE__ */ jsx3("span", {
|
|
4275
4389
|
className: marketingClassName("hraness-marketing-proof-frame__light")
|
|
4276
4390
|
}),
|
|
4277
|
-
/* @__PURE__ */
|
|
4391
|
+
/* @__PURE__ */ jsx3("span", {
|
|
4278
4392
|
className: marketingClassName("hraness-marketing-proof-frame__light")
|
|
4279
4393
|
}),
|
|
4280
|
-
/* @__PURE__ */
|
|
4394
|
+
/* @__PURE__ */ jsx3("span", {
|
|
4281
4395
|
className: marketingClassName("hraness-marketing-proof-frame__light")
|
|
4282
4396
|
})
|
|
4283
4397
|
]
|
|
4284
4398
|
}),
|
|
4285
|
-
bar === "browser" ? /* @__PURE__ */
|
|
4399
|
+
bar === "browser" ? /* @__PURE__ */ jsx3("span", {
|
|
4286
4400
|
className: marketingClassName("hraness-marketing-proof-frame__address"),
|
|
4287
4401
|
children: label
|
|
4288
|
-
}) : /* @__PURE__ */
|
|
4402
|
+
}) : /* @__PURE__ */ jsx3("span", {
|
|
4289
4403
|
className: marketingClassName("hraness-marketing-proof-frame__title", undefined, bar === "terminal" ? "terminal" : "default"),
|
|
4290
4404
|
children: label
|
|
4291
4405
|
})
|
|
4292
4406
|
]
|
|
4293
4407
|
}),
|
|
4294
|
-
/* @__PURE__ */
|
|
4408
|
+
/* @__PURE__ */ jsx3("div", {
|
|
4295
4409
|
className: marketingClassName("hraness-marketing-proof-frame__content"),
|
|
4296
4410
|
children
|
|
4297
4411
|
}),
|
|
4298
4412
|
caption === undefined && credit === undefined ? null : /* @__PURE__ */ jsxs3("figcaption", {
|
|
4299
4413
|
className: marketingClassName("hraness-marketing-proof-frame__caption"),
|
|
4300
4414
|
children: [
|
|
4301
|
-
caption === undefined ? null : /* @__PURE__ */
|
|
4415
|
+
caption === undefined ? null : /* @__PURE__ */ jsx3("span", {
|
|
4302
4416
|
children: caption
|
|
4303
4417
|
}),
|
|
4304
|
-
credit === undefined ? null : /* @__PURE__ */
|
|
4418
|
+
credit === undefined ? null : /* @__PURE__ */ jsx3("small", {
|
|
4305
4419
|
className: marketingClassName("hraness-marketing-proof-frame__credit"),
|
|
4306
4420
|
children: credit
|
|
4307
4421
|
})
|
|
@@ -4339,24 +4453,24 @@ function MarketingDataTable({
|
|
|
4339
4453
|
/* @__PURE__ */ jsxs3("figcaption", {
|
|
4340
4454
|
className: marketingClassName("hraness-marketing-data-table__head"),
|
|
4341
4455
|
children: [
|
|
4342
|
-
/* @__PURE__ */
|
|
4456
|
+
/* @__PURE__ */ jsx3("span", {
|
|
4343
4457
|
className: marketingClassName("hraness-marketing-data-table__title"),
|
|
4344
4458
|
children: caption
|
|
4345
4459
|
}),
|
|
4346
|
-
meta === undefined ? null : /* @__PURE__ */
|
|
4460
|
+
meta === undefined ? null : /* @__PURE__ */ jsx3("span", {
|
|
4347
4461
|
className: marketingClassName("hraness-marketing-data-table__meta"),
|
|
4348
4462
|
children: meta
|
|
4349
4463
|
})
|
|
4350
4464
|
]
|
|
4351
4465
|
}),
|
|
4352
|
-
/* @__PURE__ */
|
|
4466
|
+
/* @__PURE__ */ jsx3("div", {
|
|
4353
4467
|
className: marketingClassName("hraness-marketing-data-table__scroll"),
|
|
4354
4468
|
children: /* @__PURE__ */ jsxs3("table", {
|
|
4355
4469
|
className: marketingClassName("hraness-marketing-data-table__table"),
|
|
4356
4470
|
children: [
|
|
4357
|
-
/* @__PURE__ */
|
|
4358
|
-
children: /* @__PURE__ */
|
|
4359
|
-
children: columns.map((column, index) => /* @__PURE__ */
|
|
4471
|
+
/* @__PURE__ */ jsx3("thead", {
|
|
4472
|
+
children: /* @__PURE__ */ jsx3("tr", {
|
|
4473
|
+
children: columns.map((column, index) => /* @__PURE__ */ jsx3("th", {
|
|
4360
4474
|
className: marketingClassName("hraness-marketing-data-table__heading"),
|
|
4361
4475
|
"data-numeric": column.numeric === true ? "" : undefined,
|
|
4362
4476
|
scope: "col",
|
|
@@ -4364,22 +4478,22 @@ function MarketingDataTable({
|
|
|
4364
4478
|
}, index))
|
|
4365
4479
|
})
|
|
4366
4480
|
}),
|
|
4367
|
-
/* @__PURE__ */
|
|
4368
|
-
children: rows.map((row, rowIndex) => /* @__PURE__ */
|
|
4481
|
+
/* @__PURE__ */ jsx3("tbody", {
|
|
4482
|
+
children: rows.map((row, rowIndex) => /* @__PURE__ */ jsx3("tr", {
|
|
4369
4483
|
children: row.map((cell, cellIndex) => {
|
|
4370
4484
|
const {
|
|
4371
4485
|
content,
|
|
4372
4486
|
tone
|
|
4373
4487
|
} = dataTableCell(cell);
|
|
4374
4488
|
if (cellIndex === 0) {
|
|
4375
|
-
return /* @__PURE__ */
|
|
4489
|
+
return /* @__PURE__ */ jsx3("th", {
|
|
4376
4490
|
className: marketingClassName("hraness-marketing-data-table__row-heading"),
|
|
4377
4491
|
"data-numeric": columns[0]?.numeric === true ? "" : undefined,
|
|
4378
4492
|
scope: "row",
|
|
4379
4493
|
children: content
|
|
4380
4494
|
}, cellIndex);
|
|
4381
4495
|
}
|
|
4382
|
-
return /* @__PURE__ */
|
|
4496
|
+
return /* @__PURE__ */ jsx3("td", {
|
|
4383
4497
|
className: marketingClassName("hraness-marketing-data-table__cell"),
|
|
4384
4498
|
"data-numeric": columns[cellIndex]?.numeric === true ? "" : undefined,
|
|
4385
4499
|
"data-tone": tone,
|
|
@@ -4391,7 +4505,7 @@ function MarketingDataTable({
|
|
|
4391
4505
|
]
|
|
4392
4506
|
})
|
|
4393
4507
|
}),
|
|
4394
|
-
note === undefined ? null : /* @__PURE__ */
|
|
4508
|
+
note === undefined ? null : /* @__PURE__ */ jsx3("p", {
|
|
4395
4509
|
className: marketingClassName("hraness-marketing-data-table__note"),
|
|
4396
4510
|
children: note
|
|
4397
4511
|
})
|
|
@@ -4403,10 +4517,10 @@ function MarketingCodeBlock({
|
|
|
4403
4517
|
code,
|
|
4404
4518
|
language
|
|
4405
4519
|
}) {
|
|
4406
|
-
return /* @__PURE__ */
|
|
4520
|
+
return /* @__PURE__ */ jsx3("pre", {
|
|
4407
4521
|
className: marketingClassName("hraness-marketing-code", className),
|
|
4408
4522
|
"data-hraness-marketing": "code",
|
|
4409
|
-
children: /* @__PURE__ */
|
|
4523
|
+
children: /* @__PURE__ */ jsx3(SyntaxCode, {
|
|
4410
4524
|
code,
|
|
4411
4525
|
...language === undefined ? {} : {
|
|
4412
4526
|
language
|
|
@@ -4422,7 +4536,7 @@ function MarketingSectionLabel({
|
|
|
4422
4536
|
}) {
|
|
4423
4537
|
if (size !== "default" && size !== "body")
|
|
4424
4538
|
throw new RangeError("Marketing label size must be default or body.");
|
|
4425
|
-
return /* @__PURE__ */
|
|
4539
|
+
return /* @__PURE__ */ jsx3("p", {
|
|
4426
4540
|
className: marketingClassName("hraness-marketing-section__label", className, size),
|
|
4427
4541
|
"data-size": size === "body" ? "body" : undefined,
|
|
4428
4542
|
children
|
|
@@ -4450,26 +4564,26 @@ function MarketingSection({
|
|
|
4450
4564
|
/* @__PURE__ */ jsxs3("div", {
|
|
4451
4565
|
className: marketingClassName("hraness-marketing-section__heading-group", undefined, layout === "stack" ? "default" : layout === "split" ? "split" : "reverse"),
|
|
4452
4566
|
children: [
|
|
4453
|
-
label === undefined || label === "" ? null : /* @__PURE__ */
|
|
4567
|
+
label === undefined || label === "" ? null : /* @__PURE__ */ jsx3(MarketingSectionLabel, {
|
|
4454
4568
|
children: label
|
|
4455
4569
|
}),
|
|
4456
|
-
/* @__PURE__ */
|
|
4570
|
+
/* @__PURE__ */ jsx3(Heading, {
|
|
4457
4571
|
className: marketingClassName("hraness-marketing-section__heading"),
|
|
4458
4572
|
id: headingId,
|
|
4459
4573
|
level: headingLevel,
|
|
4460
4574
|
children: heading
|
|
4461
4575
|
}),
|
|
4462
|
-
summary === undefined ? null : /* @__PURE__ */
|
|
4576
|
+
summary === undefined ? null : /* @__PURE__ */ jsx3("p", {
|
|
4463
4577
|
className: marketingClassName("hraness-marketing-section__summary"),
|
|
4464
4578
|
children: summary
|
|
4465
4579
|
}),
|
|
4466
|
-
isPresentNode(headingContent) ? /* @__PURE__ */
|
|
4580
|
+
isPresentNode(headingContent) ? /* @__PURE__ */ jsx3("div", {
|
|
4467
4581
|
className: marketingClassName("hraness-marketing-section__heading-content"),
|
|
4468
4582
|
children: headingContent
|
|
4469
4583
|
}) : null
|
|
4470
4584
|
]
|
|
4471
4585
|
}),
|
|
4472
|
-
/* @__PURE__ */
|
|
4586
|
+
/* @__PURE__ */ jsx3("div", {
|
|
4473
4587
|
className: marketingClassName("hraness-marketing-section__body"),
|
|
4474
4588
|
children
|
|
4475
4589
|
})
|
|
@@ -4487,17 +4601,17 @@ function MarketingCollectionHeader({
|
|
|
4487
4601
|
return /* @__PURE__ */ jsxs3("header", {
|
|
4488
4602
|
className: marketingClassName(`hraness-marketing-${prefix}__header`),
|
|
4489
4603
|
children: [
|
|
4490
|
-
label === undefined || label === "" ? null : /* @__PURE__ */
|
|
4604
|
+
label === undefined || label === "" ? null : /* @__PURE__ */ jsx3("p", {
|
|
4491
4605
|
className: marketingClassName(`hraness-marketing-${prefix}__label`),
|
|
4492
4606
|
children: label
|
|
4493
4607
|
}),
|
|
4494
|
-
/* @__PURE__ */
|
|
4608
|
+
/* @__PURE__ */ jsx3(Heading, {
|
|
4495
4609
|
className: marketingClassName(`hraness-marketing-${prefix}__heading`),
|
|
4496
4610
|
id: headingId,
|
|
4497
4611
|
level: headingLevel,
|
|
4498
4612
|
children: heading
|
|
4499
4613
|
}),
|
|
4500
|
-
summary === undefined ? null : /* @__PURE__ */
|
|
4614
|
+
summary === undefined ? null : /* @__PURE__ */ jsx3("p", {
|
|
4501
4615
|
className: marketingClassName(`hraness-marketing-${prefix}__summary`),
|
|
4502
4616
|
children: summary
|
|
4503
4617
|
})
|
|
@@ -4521,7 +4635,7 @@ function MarketingPrimitives({
|
|
|
4521
4635
|
"data-hraness-marketing": "primitives",
|
|
4522
4636
|
id,
|
|
4523
4637
|
children: [
|
|
4524
|
-
/* @__PURE__ */
|
|
4638
|
+
/* @__PURE__ */ jsx3(MarketingCollectionHeader, {
|
|
4525
4639
|
...{
|
|
4526
4640
|
heading,
|
|
4527
4641
|
headingId,
|
|
@@ -4531,22 +4645,22 @@ function MarketingPrimitives({
|
|
|
4531
4645
|
},
|
|
4532
4646
|
prefix: "primitives"
|
|
4533
4647
|
}),
|
|
4534
|
-
/* @__PURE__ */
|
|
4648
|
+
/* @__PURE__ */ jsx3("ol", {
|
|
4535
4649
|
className: marketingColumnClassName("hraness-marketing-primitives__list", undefined, columns),
|
|
4536
4650
|
children: items.map((item, index) => /* @__PURE__ */ jsxs3("li", {
|
|
4537
4651
|
className: marketingClassName("hraness-marketing-primitive"),
|
|
4538
4652
|
children: [
|
|
4539
|
-
/* @__PURE__ */
|
|
4653
|
+
/* @__PURE__ */ jsx3("span", {
|
|
4540
4654
|
"aria-hidden": "true",
|
|
4541
4655
|
className: marketingClassName("hraness-marketing-primitive__number"),
|
|
4542
4656
|
children: String(index + 1).padStart(2, "0")
|
|
4543
4657
|
}),
|
|
4544
|
-
/* @__PURE__ */
|
|
4658
|
+
/* @__PURE__ */ jsx3(Heading, {
|
|
4545
4659
|
className: marketingClassName("hraness-marketing-primitive__heading"),
|
|
4546
4660
|
level: childHeadingLevel(headingLevel),
|
|
4547
4661
|
children: item.label
|
|
4548
4662
|
}),
|
|
4549
|
-
/* @__PURE__ */
|
|
4663
|
+
/* @__PURE__ */ jsx3("p", {
|
|
4550
4664
|
className: marketingClassName("hraness-marketing-primitive__summary"),
|
|
4551
4665
|
children: item.summary
|
|
4552
4666
|
}),
|
|
@@ -4564,7 +4678,7 @@ function MarketingNotice({
|
|
|
4564
4678
|
}) {
|
|
4565
4679
|
if (tone !== "info" && tone !== "success" && tone !== "error")
|
|
4566
4680
|
throw new RangeError("Marketing notice tone must be info, success, or error.");
|
|
4567
|
-
return /* @__PURE__ */
|
|
4681
|
+
return /* @__PURE__ */ jsx3("p", {
|
|
4568
4682
|
className: marketingClassName("hraness-marketing-notice", className, tone === "info" ? "default" : tone),
|
|
4569
4683
|
"data-hraness-marketing": "notice",
|
|
4570
4684
|
"data-tone": tone,
|
|
@@ -4587,7 +4701,7 @@ function MarketingStatStrip({
|
|
|
4587
4701
|
className: marketingClassName("hraness-marketing-stats", className),
|
|
4588
4702
|
"data-hraness-marketing": "stats",
|
|
4589
4703
|
children: [
|
|
4590
|
-
/* @__PURE__ */
|
|
4704
|
+
/* @__PURE__ */ jsx3("dl", {
|
|
4591
4705
|
className: listClassName,
|
|
4592
4706
|
style: columns === undefined ? {
|
|
4593
4707
|
"--hraness-marketing-fact-columns": String(stats.length)
|
|
@@ -4595,18 +4709,18 @@ function MarketingStatStrip({
|
|
|
4595
4709
|
children: stats.map((stat, index) => /* @__PURE__ */ jsxs3("div", {
|
|
4596
4710
|
className: marketingClassName("hraness-marketing-facts__item", undefined, marketingFactCellVariant(index)),
|
|
4597
4711
|
children: [
|
|
4598
|
-
/* @__PURE__ */
|
|
4712
|
+
/* @__PURE__ */ jsx3("dt", {
|
|
4599
4713
|
className: marketingClassName("hraness-marketing-facts__label"),
|
|
4600
4714
|
children: stat.label
|
|
4601
4715
|
}),
|
|
4602
4716
|
/* @__PURE__ */ jsxs3("dd", {
|
|
4603
4717
|
className: marketingClassName("hraness-marketing-facts__body"),
|
|
4604
4718
|
children: [
|
|
4605
|
-
/* @__PURE__ */
|
|
4719
|
+
/* @__PURE__ */ jsx3("strong", {
|
|
4606
4720
|
className: marketingClassName("hraness-marketing-stats__value"),
|
|
4607
4721
|
children: stat.value
|
|
4608
4722
|
}),
|
|
4609
|
-
stat.detail === undefined ? null : /* @__PURE__ */
|
|
4723
|
+
stat.detail === undefined ? null : /* @__PURE__ */ jsx3("span", {
|
|
4610
4724
|
className: marketingClassName("hraness-marketing-facts__detail"),
|
|
4611
4725
|
children: stat.detail
|
|
4612
4726
|
})
|
|
@@ -4615,7 +4729,7 @@ function MarketingStatStrip({
|
|
|
4615
4729
|
]
|
|
4616
4730
|
}, `${stat.label}-${stat.value}`))
|
|
4617
4731
|
}),
|
|
4618
|
-
source === undefined ? null : /* @__PURE__ */
|
|
4732
|
+
source === undefined ? null : /* @__PURE__ */ jsx3("p", {
|
|
4619
4733
|
className: marketingClassName("hraness-marketing-stats__source"),
|
|
4620
4734
|
children: source
|
|
4621
4735
|
})
|
|
@@ -4624,6 +4738,7 @@ function MarketingStatStrip({
|
|
|
4624
4738
|
}
|
|
4625
4739
|
function MarketingInterfaceGrid({
|
|
4626
4740
|
className,
|
|
4741
|
+
columns,
|
|
4627
4742
|
heading,
|
|
4628
4743
|
headingId,
|
|
4629
4744
|
headingLevel = 2,
|
|
@@ -4638,7 +4753,7 @@ function MarketingInterfaceGrid({
|
|
|
4638
4753
|
"data-hraness-marketing": "interfaces",
|
|
4639
4754
|
id,
|
|
4640
4755
|
children: [
|
|
4641
|
-
/* @__PURE__ */
|
|
4756
|
+
/* @__PURE__ */ jsx3(MarketingCollectionHeader, {
|
|
4642
4757
|
...{
|
|
4643
4758
|
heading,
|
|
4644
4759
|
headingId,
|
|
@@ -4648,17 +4763,17 @@ function MarketingInterfaceGrid({
|
|
|
4648
4763
|
},
|
|
4649
4764
|
prefix: "interfaces"
|
|
4650
4765
|
}),
|
|
4651
|
-
/* @__PURE__ */
|
|
4652
|
-
className:
|
|
4766
|
+
/* @__PURE__ */ jsx3("div", {
|
|
4767
|
+
className: marketingColumnClassName("hraness-marketing-interface-grid", undefined, columns),
|
|
4653
4768
|
children: interfaces.map((entry) => /* @__PURE__ */ jsxs3("article", {
|
|
4654
4769
|
className: marketingClassName("hraness-marketing-interface"),
|
|
4655
4770
|
children: [
|
|
4656
|
-
/* @__PURE__ */
|
|
4771
|
+
/* @__PURE__ */ jsx3(Heading, {
|
|
4657
4772
|
className: marketingClassName("hraness-marketing-interface__heading"),
|
|
4658
4773
|
level: childHeadingLevel(headingLevel),
|
|
4659
4774
|
children: entry.label
|
|
4660
4775
|
}),
|
|
4661
|
-
/* @__PURE__ */
|
|
4776
|
+
/* @__PURE__ */ jsx3("p", {
|
|
4662
4777
|
className: marketingClassName("hraness-marketing-interface__summary"),
|
|
4663
4778
|
children: entry.summary
|
|
4664
4779
|
}),
|
|
@@ -4671,6 +4786,7 @@ function MarketingInterfaceGrid({
|
|
|
4671
4786
|
}
|
|
4672
4787
|
function MarketingTrustBoundary({
|
|
4673
4788
|
className,
|
|
4789
|
+
columns,
|
|
4674
4790
|
heading,
|
|
4675
4791
|
headingId,
|
|
4676
4792
|
headingLevel = 2,
|
|
@@ -4685,7 +4801,7 @@ function MarketingTrustBoundary({
|
|
|
4685
4801
|
"data-hraness-marketing": "trust",
|
|
4686
4802
|
id,
|
|
4687
4803
|
children: [
|
|
4688
|
-
/* @__PURE__ */
|
|
4804
|
+
/* @__PURE__ */ jsx3(MarketingCollectionHeader, {
|
|
4689
4805
|
...{
|
|
4690
4806
|
heading,
|
|
4691
4807
|
headingId,
|
|
@@ -4695,16 +4811,16 @@ function MarketingTrustBoundary({
|
|
|
4695
4811
|
},
|
|
4696
4812
|
prefix: "trust"
|
|
4697
4813
|
}),
|
|
4698
|
-
/* @__PURE__ */
|
|
4699
|
-
className:
|
|
4814
|
+
/* @__PURE__ */ jsx3("dl", {
|
|
4815
|
+
className: marketingColumnClassName("hraness-marketing-trust-grid", undefined, columns),
|
|
4700
4816
|
children: items.map((item) => /* @__PURE__ */ jsxs3("div", {
|
|
4701
4817
|
className: marketingClassName("hraness-marketing-trust-item"),
|
|
4702
4818
|
children: [
|
|
4703
|
-
/* @__PURE__ */
|
|
4819
|
+
/* @__PURE__ */ jsx3("dt", {
|
|
4704
4820
|
className: marketingClassName("hraness-marketing-trust-item__label"),
|
|
4705
4821
|
children: item.label
|
|
4706
4822
|
}),
|
|
4707
|
-
/* @__PURE__ */
|
|
4823
|
+
/* @__PURE__ */ jsx3("dd", {
|
|
4708
4824
|
className: marketingClassName("hraness-marketing-trust-item__detail"),
|
|
4709
4825
|
children: item.detail
|
|
4710
4826
|
})
|
|
@@ -4732,7 +4848,7 @@ function MarketingQuoteGrid({
|
|
|
4732
4848
|
"data-hraness-marketing": "quotes",
|
|
4733
4849
|
id,
|
|
4734
4850
|
children: [
|
|
4735
|
-
/* @__PURE__ */
|
|
4851
|
+
/* @__PURE__ */ jsx3(MarketingCollectionHeader, {
|
|
4736
4852
|
...{
|
|
4737
4853
|
heading,
|
|
4738
4854
|
headingId,
|
|
@@ -4742,15 +4858,15 @@ function MarketingQuoteGrid({
|
|
|
4742
4858
|
},
|
|
4743
4859
|
prefix: "quotes"
|
|
4744
4860
|
}),
|
|
4745
|
-
/* @__PURE__ */
|
|
4861
|
+
/* @__PURE__ */ jsx3("ul", {
|
|
4746
4862
|
className: marketingClassName("hraness-marketing-quote-grid"),
|
|
4747
|
-
children: quotes.map((entry) => /* @__PURE__ */
|
|
4863
|
+
children: quotes.map((entry) => /* @__PURE__ */ jsx3("li", {
|
|
4748
4864
|
children: /* @__PURE__ */ jsxs3("figure", {
|
|
4749
4865
|
className: marketingClassName("hraness-marketing-quote"),
|
|
4750
4866
|
children: [
|
|
4751
|
-
/* @__PURE__ */
|
|
4867
|
+
/* @__PURE__ */ jsx3("blockquote", {
|
|
4752
4868
|
className: marketingClassName("hraness-marketing-quote__body"),
|
|
4753
|
-
children: /* @__PURE__ */
|
|
4869
|
+
children: /* @__PURE__ */ jsx3("p", {
|
|
4754
4870
|
className: marketingClassName("hraness-marketing-quote__text"),
|
|
4755
4871
|
children: entry.quote
|
|
4756
4872
|
})
|
|
@@ -4758,13 +4874,13 @@ function MarketingQuoteGrid({
|
|
|
4758
4874
|
/* @__PURE__ */ jsxs3("figcaption", {
|
|
4759
4875
|
className: marketingClassName("hraness-marketing-quote__attribution"),
|
|
4760
4876
|
children: [
|
|
4761
|
-
/* @__PURE__ */
|
|
4877
|
+
/* @__PURE__ */ jsx3("strong", {
|
|
4762
4878
|
className: marketingClassName("hraness-marketing-quote__name"),
|
|
4763
4879
|
children: entry.name
|
|
4764
4880
|
}),
|
|
4765
|
-
entry.role === undefined ? null : entry.href === undefined ? /* @__PURE__ */
|
|
4881
|
+
entry.role === undefined ? null : entry.href === undefined ? /* @__PURE__ */ jsx3("span", {
|
|
4766
4882
|
children: entry.role
|
|
4767
|
-
}) : /* @__PURE__ */
|
|
4883
|
+
}) : /* @__PURE__ */ jsx3("a", {
|
|
4768
4884
|
className: marketingClassName("hraness-marketing-quote__link"),
|
|
4769
4885
|
href: entry.href,
|
|
4770
4886
|
children: entry.role
|
|
@@ -4794,7 +4910,7 @@ function MarketingPricing({
|
|
|
4794
4910
|
"data-hraness-marketing": "pricing",
|
|
4795
4911
|
id,
|
|
4796
4912
|
children: [
|
|
4797
|
-
/* @__PURE__ */
|
|
4913
|
+
/* @__PURE__ */ jsx3(MarketingCollectionHeader, {
|
|
4798
4914
|
...{
|
|
4799
4915
|
heading,
|
|
4800
4916
|
headingId,
|
|
@@ -4804,13 +4920,13 @@ function MarketingPricing({
|
|
|
4804
4920
|
},
|
|
4805
4921
|
prefix: "pricing"
|
|
4806
4922
|
}),
|
|
4807
|
-
/* @__PURE__ */
|
|
4923
|
+
/* @__PURE__ */ jsx3("ul", {
|
|
4808
4924
|
className: marketingClassName("hraness-marketing-plan-grid"),
|
|
4809
4925
|
children: plans.map((plan) => /* @__PURE__ */ jsxs3("li", {
|
|
4810
4926
|
className: marketingClassName("hraness-marketing-plan", undefined, plan.emphasis === "primary" ? "primary" : "default"),
|
|
4811
4927
|
"data-emphasis": plan.emphasis ?? "secondary",
|
|
4812
4928
|
children: [
|
|
4813
|
-
/* @__PURE__ */
|
|
4929
|
+
/* @__PURE__ */ jsx3(Heading, {
|
|
4814
4930
|
className: marketingClassName("hraness-marketing-plan__name"),
|
|
4815
4931
|
level: childHeadingLevel(headingLevel),
|
|
4816
4932
|
children: plan.name
|
|
@@ -4818,35 +4934,35 @@ function MarketingPricing({
|
|
|
4818
4934
|
/* @__PURE__ */ jsxs3("p", {
|
|
4819
4935
|
className: marketingClassName("hraness-marketing-plan__price"),
|
|
4820
4936
|
children: [
|
|
4821
|
-
/* @__PURE__ */
|
|
4937
|
+
/* @__PURE__ */ jsx3("strong", {
|
|
4822
4938
|
className: marketingClassName("hraness-marketing-plan__value"),
|
|
4823
4939
|
children: plan.price
|
|
4824
4940
|
}),
|
|
4825
|
-
plan.period === undefined ? null : /* @__PURE__ */
|
|
4941
|
+
plan.period === undefined ? null : /* @__PURE__ */ jsx3("span", {
|
|
4826
4942
|
className: marketingClassName("hraness-marketing-plan__period"),
|
|
4827
4943
|
children: plan.period
|
|
4828
4944
|
})
|
|
4829
4945
|
]
|
|
4830
4946
|
}),
|
|
4831
|
-
plan.summary === undefined ? null : /* @__PURE__ */
|
|
4947
|
+
plan.summary === undefined ? null : /* @__PURE__ */ jsx3("p", {
|
|
4832
4948
|
className: marketingClassName("hraness-marketing-plan__summary"),
|
|
4833
4949
|
children: plan.summary
|
|
4834
4950
|
}),
|
|
4835
|
-
plan.features.length === 0 ? null : /* @__PURE__ */
|
|
4951
|
+
plan.features.length === 0 ? null : /* @__PURE__ */ jsx3("ul", {
|
|
4836
4952
|
className: marketingClassName("hraness-marketing-plan__features"),
|
|
4837
|
-
children: plan.features.map((feature) => /* @__PURE__ */
|
|
4953
|
+
children: plan.features.map((feature) => /* @__PURE__ */ jsx3("li", {
|
|
4838
4954
|
className: marketingClassName("hraness-marketing-plan__feature"),
|
|
4839
4955
|
children: feature
|
|
4840
4956
|
}, feature))
|
|
4841
4957
|
}),
|
|
4842
|
-
plan.action === undefined ? null : /* @__PURE__ */
|
|
4958
|
+
plan.action === undefined ? null : /* @__PURE__ */ jsx3("a", {
|
|
4843
4959
|
className: marketingClassName("hraness-marketing-action", undefined, `plan-${plan.action.emphasis ?? plan.emphasis ?? "secondary"}`),
|
|
4844
4960
|
"data-emphasis": plan.action.emphasis ?? plan.emphasis ?? "secondary",
|
|
4845
4961
|
"data-foil": (plan.action.emphasis ?? plan.emphasis ?? "secondary") === "primary" ? "" : undefined,
|
|
4846
4962
|
href: plan.action.href,
|
|
4847
4963
|
children: plan.action.label
|
|
4848
4964
|
}),
|
|
4849
|
-
plan.note === undefined ? null : /* @__PURE__ */
|
|
4965
|
+
plan.note === undefined ? null : /* @__PURE__ */ jsx3("p", {
|
|
4850
4966
|
className: marketingClassName("hraness-marketing-plan__note"),
|
|
4851
4967
|
children: plan.note
|
|
4852
4968
|
})
|
|
@@ -4872,7 +4988,7 @@ function MarketingQuestionList({
|
|
|
4872
4988
|
"data-hraness-marketing": "questions",
|
|
4873
4989
|
id,
|
|
4874
4990
|
children: [
|
|
4875
|
-
/* @__PURE__ */
|
|
4991
|
+
/* @__PURE__ */ jsx3(MarketingCollectionHeader, {
|
|
4876
4992
|
...{
|
|
4877
4993
|
heading,
|
|
4878
4994
|
headingId,
|
|
@@ -4882,16 +4998,16 @@ function MarketingQuestionList({
|
|
|
4882
4998
|
},
|
|
4883
4999
|
prefix: "questions"
|
|
4884
5000
|
}),
|
|
4885
|
-
/* @__PURE__ */
|
|
5001
|
+
/* @__PURE__ */ jsx3("div", {
|
|
4886
5002
|
className: marketingClassName("hraness-marketing-question-list"),
|
|
4887
5003
|
children: questions.map((question, index) => /* @__PURE__ */ jsxs3("details", {
|
|
4888
5004
|
className: marketingClassName("hraness-marketing-question", undefined, index === questions.length - 1 ? "last" : "default"),
|
|
4889
5005
|
children: [
|
|
4890
|
-
/* @__PURE__ */
|
|
5006
|
+
/* @__PURE__ */ jsx3("summary", {
|
|
4891
5007
|
className: marketingClassName("hraness-marketing-question__summary"),
|
|
4892
5008
|
children: question.question
|
|
4893
5009
|
}),
|
|
4894
|
-
/* @__PURE__ */
|
|
5010
|
+
/* @__PURE__ */ jsx3("div", {
|
|
4895
5011
|
className: marketingClassName("hraness-marketing-question__answer"),
|
|
4896
5012
|
children: question.answer
|
|
4897
5013
|
})
|
|
@@ -4922,15 +5038,15 @@ function MarketingMaker({
|
|
|
4922
5038
|
/* @__PURE__ */ jsxs3("header", {
|
|
4923
5039
|
className: marketingClassName("hraness-marketing-maker__header"),
|
|
4924
5040
|
children: [
|
|
4925
|
-
portrait === undefined ? null : /* @__PURE__ */
|
|
5041
|
+
portrait === undefined ? null : /* @__PURE__ */ jsx3("div", {
|
|
4926
5042
|
className: marketingClassName("hraness-marketing-maker__portrait"),
|
|
4927
5043
|
children: portrait
|
|
4928
5044
|
}),
|
|
4929
|
-
label === undefined || label === "" ? null : /* @__PURE__ */
|
|
5045
|
+
label === undefined || label === "" ? null : /* @__PURE__ */ jsx3("p", {
|
|
4930
5046
|
className: marketingClassName("hraness-marketing-maker__label"),
|
|
4931
5047
|
children: label
|
|
4932
5048
|
}),
|
|
4933
|
-
/* @__PURE__ */
|
|
5049
|
+
/* @__PURE__ */ jsx3(Heading, {
|
|
4934
5050
|
className: marketingClassName("hraness-marketing-maker__heading"),
|
|
4935
5051
|
id: headingId,
|
|
4936
5052
|
level: headingLevel,
|
|
@@ -4942,10 +5058,10 @@ function MarketingMaker({
|
|
|
4942
5058
|
className: marketingClassName("hraness-marketing-maker__body"),
|
|
4943
5059
|
children: [
|
|
4944
5060
|
children,
|
|
4945
|
-
links.length === 0 ? null : /* @__PURE__ */
|
|
5061
|
+
links.length === 0 ? null : /* @__PURE__ */ jsx3("ul", {
|
|
4946
5062
|
className: marketingClassName("hraness-marketing-maker__links"),
|
|
4947
|
-
children: links.map((link) => /* @__PURE__ */
|
|
4948
|
-
children: /* @__PURE__ */
|
|
5063
|
+
children: links.map((link) => /* @__PURE__ */ jsx3("li", {
|
|
5064
|
+
children: /* @__PURE__ */ jsx3("a", {
|
|
4949
5065
|
className: linkClassName,
|
|
4950
5066
|
href: link.href,
|
|
4951
5067
|
children: link.label
|
|
@@ -4958,44 +5074,61 @@ function MarketingMaker({
|
|
|
4958
5074
|
});
|
|
4959
5075
|
}
|
|
4960
5076
|
function MarketingRelatedCards({
|
|
5077
|
+
ariaLabel,
|
|
5078
|
+
columns,
|
|
4961
5079
|
items,
|
|
4962
5080
|
level
|
|
4963
5081
|
}) {
|
|
4964
|
-
return /* @__PURE__ */
|
|
4965
|
-
|
|
4966
|
-
|
|
4967
|
-
|
|
4968
|
-
"
|
|
4969
|
-
|
|
4970
|
-
|
|
4971
|
-
|
|
4972
|
-
|
|
4973
|
-
|
|
4974
|
-
|
|
4975
|
-
|
|
4976
|
-
|
|
4977
|
-
|
|
4978
|
-
|
|
4979
|
-
|
|
4980
|
-
|
|
4981
|
-
children: [
|
|
4982
|
-
/* @__PURE__ */ jsx4(Heading, {
|
|
4983
|
-
className: marketingClassName("hraness-marketing-related__card-name"),
|
|
4984
|
-
level,
|
|
4985
|
-
children: item.name
|
|
4986
|
-
}),
|
|
4987
|
-
/* @__PURE__ */ jsx4("span", {
|
|
4988
|
-
className: marketingClassName("hraness-marketing-related__card-role"),
|
|
4989
|
-
children: item.role
|
|
5082
|
+
return /* @__PURE__ */ jsx3("ul", {
|
|
5083
|
+
"aria-label": ariaLabel,
|
|
5084
|
+
className: marketingColumnClassName("hraness-marketing-related__list", undefined, columns),
|
|
5085
|
+
children: items.map((item) => /* @__PURE__ */ jsx3("li", {
|
|
5086
|
+
className: marketingClassName("hraness-marketing-related__item"),
|
|
5087
|
+
children: /* @__PURE__ */ jsxs3("a", {
|
|
5088
|
+
className: marketingClassName("hraness-marketing-related__card"),
|
|
5089
|
+
"data-foil": "",
|
|
5090
|
+
"data-hraness-marketing": "card",
|
|
5091
|
+
href: item.href,
|
|
5092
|
+
children: [
|
|
5093
|
+
isPresentNode(item.art) || item.mark !== undefined && item.mark !== "" ? /* @__PURE__ */ jsx3("span", {
|
|
5094
|
+
"aria-hidden": "true",
|
|
5095
|
+
className: marketingClassName("hraness-marketing-related__card-mark"),
|
|
5096
|
+
children: isPresentNode(item.art) ? item.art : /* @__PURE__ */ jsx3(FoilMark, {
|
|
5097
|
+
size: 28,
|
|
5098
|
+
src: item.mark ?? ""
|
|
4990
5099
|
})
|
|
4991
|
-
|
|
4992
|
-
|
|
4993
|
-
|
|
5100
|
+
}) : null,
|
|
5101
|
+
/* @__PURE__ */ jsxs3("div", {
|
|
5102
|
+
className: marketingClassName("hraness-marketing-related__card-text"),
|
|
5103
|
+
children: [
|
|
5104
|
+
/* @__PURE__ */ jsxs3("div", {
|
|
5105
|
+
className: marketingClassName("hraness-marketing-related__card-heading"),
|
|
5106
|
+
children: [
|
|
5107
|
+
/* @__PURE__ */ jsx3(Heading, {
|
|
5108
|
+
className: marketingClassName("hraness-marketing-related__card-name"),
|
|
5109
|
+
level,
|
|
5110
|
+
children: item.name
|
|
5111
|
+
}),
|
|
5112
|
+
item.domain === undefined ? null : /* @__PURE__ */ jsx3("span", {
|
|
5113
|
+
className: marketingClassName("hraness-marketing-related__card-domain"),
|
|
5114
|
+
children: item.domain
|
|
5115
|
+
})
|
|
5116
|
+
]
|
|
5117
|
+
}),
|
|
5118
|
+
/* @__PURE__ */ jsx3("span", {
|
|
5119
|
+
className: marketingClassName("hraness-marketing-related__card-role"),
|
|
5120
|
+
children: item.role
|
|
5121
|
+
})
|
|
5122
|
+
]
|
|
5123
|
+
})
|
|
5124
|
+
]
|
|
5125
|
+
})
|
|
4994
5126
|
}, item.name))
|
|
4995
5127
|
});
|
|
4996
5128
|
}
|
|
4997
5129
|
function MarketingRelated({
|
|
4998
5130
|
className,
|
|
5131
|
+
columns,
|
|
4999
5132
|
heading,
|
|
5000
5133
|
headingId,
|
|
5001
5134
|
headingLevel = 2,
|
|
@@ -5005,13 +5138,16 @@ function MarketingRelated({
|
|
|
5005
5138
|
label,
|
|
5006
5139
|
summary
|
|
5007
5140
|
}) {
|
|
5141
|
+
const defaultColumnProps = columns === undefined ? {} : {
|
|
5142
|
+
columns
|
|
5143
|
+
};
|
|
5008
5144
|
return /* @__PURE__ */ jsxs3("section", {
|
|
5009
5145
|
"aria-labelledby": headingId,
|
|
5010
5146
|
className: marketingClassName("hraness-marketing-related", className),
|
|
5011
5147
|
"data-hraness-marketing": "related",
|
|
5012
5148
|
id,
|
|
5013
5149
|
children: [
|
|
5014
|
-
/* @__PURE__ */
|
|
5150
|
+
/* @__PURE__ */ jsx3(MarketingCollectionHeader, {
|
|
5015
5151
|
heading,
|
|
5016
5152
|
headingId,
|
|
5017
5153
|
headingLevel,
|
|
@@ -5019,38 +5155,43 @@ function MarketingRelated({
|
|
|
5019
5155
|
prefix: "related",
|
|
5020
5156
|
summary
|
|
5021
5157
|
}),
|
|
5022
|
-
groups === undefined ? /* @__PURE__ */
|
|
5023
|
-
|
|
5024
|
-
|
|
5025
|
-
|
|
5026
|
-
|
|
5027
|
-
|
|
5028
|
-
|
|
5029
|
-
|
|
5030
|
-
|
|
5031
|
-
|
|
5032
|
-
|
|
5033
|
-
|
|
5034
|
-
|
|
5035
|
-
|
|
5036
|
-
|
|
5037
|
-
|
|
5038
|
-
|
|
5039
|
-
|
|
5040
|
-
|
|
5041
|
-
|
|
5042
|
-
|
|
5043
|
-
|
|
5044
|
-
|
|
5045
|
-
|
|
5046
|
-
|
|
5047
|
-
|
|
5158
|
+
groups === undefined ? /* @__PURE__ */ jsx3(MarketingRelatedCards, {
|
|
5159
|
+
...defaultColumnProps,
|
|
5160
|
+
items,
|
|
5161
|
+
level: childHeadingLevel(headingLevel)
|
|
5162
|
+
}) : /* @__PURE__ */ jsx3("div", {
|
|
5163
|
+
className: marketingClassName("hraness-marketing-related__groups"),
|
|
5164
|
+
children: groups.map((group) => /* @__PURE__ */ jsxs3("div", {
|
|
5165
|
+
"aria-labelledby": group.headingId,
|
|
5166
|
+
className: marketingClassName("hraness-marketing-related__group", undefined, group.tone ?? "neutral"),
|
|
5167
|
+
"data-tone": group.tone ?? "neutral",
|
|
5168
|
+
children: [
|
|
5169
|
+
/* @__PURE__ */ jsxs3("div", {
|
|
5170
|
+
className: marketingClassName("hraness-marketing-related__group-header"),
|
|
5171
|
+
children: [
|
|
5172
|
+
/* @__PURE__ */ jsx3(Heading, {
|
|
5173
|
+
className: marketingClassName("hraness-marketing-related__group-heading"),
|
|
5174
|
+
id: group.headingId,
|
|
5175
|
+
level: childHeadingLevel(headingLevel),
|
|
5176
|
+
children: group.heading
|
|
5177
|
+
}),
|
|
5178
|
+
group.summary === undefined ? null : /* @__PURE__ */ jsx3("p", {
|
|
5179
|
+
className: marketingClassName("hraness-marketing-related__group-summary"),
|
|
5180
|
+
children: group.summary
|
|
5181
|
+
})
|
|
5182
|
+
]
|
|
5183
|
+
}),
|
|
5184
|
+
/* @__PURE__ */ jsx3(MarketingRelatedCards, {
|
|
5185
|
+
ariaLabel: group.heading,
|
|
5186
|
+
...group.columns === undefined ? defaultColumnProps : {
|
|
5187
|
+
columns: group.columns
|
|
5188
|
+
},
|
|
5048
5189
|
items: group.items,
|
|
5049
5190
|
level: childHeadingLevel(childHeadingLevel(headingLevel))
|
|
5050
5191
|
})
|
|
5051
|
-
|
|
5052
|
-
|
|
5053
|
-
}
|
|
5192
|
+
]
|
|
5193
|
+
}, group.headingId))
|
|
5194
|
+
})
|
|
5054
5195
|
]
|
|
5055
5196
|
});
|
|
5056
5197
|
}
|
|
@@ -5073,27 +5214,27 @@ function MarketingCallToAction({
|
|
|
5073
5214
|
"data-tone": tone,
|
|
5074
5215
|
id,
|
|
5075
5216
|
children: [
|
|
5076
|
-
eyebrow === undefined || eyebrow === "" ? null : /* @__PURE__ */
|
|
5217
|
+
eyebrow === undefined || eyebrow === "" ? null : /* @__PURE__ */ jsx3("p", {
|
|
5077
5218
|
className: marketingClassName("hraness-marketing-cta__eyebrow"),
|
|
5078
5219
|
children: eyebrow
|
|
5079
5220
|
}),
|
|
5080
|
-
/* @__PURE__ */
|
|
5221
|
+
/* @__PURE__ */ jsx3(Heading, {
|
|
5081
5222
|
className: marketingClassName("hraness-marketing-cta__heading"),
|
|
5082
5223
|
id: headingId,
|
|
5083
5224
|
level: headingLevel,
|
|
5084
5225
|
children: heading
|
|
5085
5226
|
}),
|
|
5086
|
-
summary === undefined ? null : /* @__PURE__ */
|
|
5227
|
+
summary === undefined ? null : /* @__PURE__ */ jsx3("p", {
|
|
5087
5228
|
className: marketingClassName("hraness-marketing-cta__summary"),
|
|
5088
5229
|
children: summary
|
|
5089
5230
|
}),
|
|
5090
|
-
/* @__PURE__ */
|
|
5231
|
+
/* @__PURE__ */ jsx3(MarketingActions, {
|
|
5091
5232
|
actions,
|
|
5092
5233
|
className: marketingClassName("hraness-marketing-cta__actions"),
|
|
5093
5234
|
context: "cta",
|
|
5094
5235
|
tone
|
|
5095
5236
|
}),
|
|
5096
|
-
footnote === undefined ? null : /* @__PURE__ */
|
|
5237
|
+
footnote === undefined ? null : /* @__PURE__ */ jsx3("p", {
|
|
5097
5238
|
className: marketingClassName("hraness-marketing-cta__footnote"),
|
|
5098
5239
|
children: footnote
|
|
5099
5240
|
})
|
|
@@ -5102,7 +5243,7 @@ function MarketingCallToAction({
|
|
|
5102
5243
|
}
|
|
5103
5244
|
|
|
5104
5245
|
// src/react/article.tsx
|
|
5105
|
-
import { jsx as
|
|
5246
|
+
import { jsx as jsx4, jsxs as jsxs4, Fragment as Fragment3 } from "react/jsx-runtime";
|
|
5106
5247
|
var ROOT_CLASS = "plain-site plain-publication plain-publication--embedded";
|
|
5107
5248
|
var HEADING_TAGS = {
|
|
5108
5249
|
1: "h1",
|
|
@@ -5123,7 +5264,7 @@ function ArticleDate({
|
|
|
5123
5264
|
children: [
|
|
5124
5265
|
label,
|
|
5125
5266
|
" ",
|
|
5126
|
-
/* @__PURE__ */
|
|
5267
|
+
/* @__PURE__ */ jsx4("time", {
|
|
5127
5268
|
dateTime: value,
|
|
5128
5269
|
children: formatArticleDate(value)
|
|
5129
5270
|
})
|
|
@@ -5131,7 +5272,7 @@ function ArticleDate({
|
|
|
5131
5272
|
});
|
|
5132
5273
|
}
|
|
5133
5274
|
function Separator() {
|
|
5134
|
-
return /* @__PURE__ */
|
|
5275
|
+
return /* @__PURE__ */ jsx4("span", {
|
|
5135
5276
|
"aria-hidden": "true",
|
|
5136
5277
|
children: " · "
|
|
5137
5278
|
});
|
|
@@ -5146,7 +5287,7 @@ function ArticleByline({
|
|
|
5146
5287
|
children: [
|
|
5147
5288
|
ARTICLE_BYLINE_PREFIX,
|
|
5148
5289
|
" ",
|
|
5149
|
-
author.href === undefined ? author.name : /* @__PURE__ */
|
|
5290
|
+
author.href === undefined ? author.name : /* @__PURE__ */ jsx4("a", {
|
|
5150
5291
|
href: author.href,
|
|
5151
5292
|
rel: "author",
|
|
5152
5293
|
children: author.name
|
|
@@ -5158,7 +5299,7 @@ function ArticleProvenance({
|
|
|
5158
5299
|
provenance
|
|
5159
5300
|
}) {
|
|
5160
5301
|
const sentence = articleProvenanceSentence(provenance);
|
|
5161
|
-
return /* @__PURE__ */
|
|
5302
|
+
return /* @__PURE__ */ jsx4("p", {
|
|
5162
5303
|
className: "plain-publication__provenance",
|
|
5163
5304
|
"data-drafting": provenance.drafting,
|
|
5164
5305
|
"data-reviewer-type": provenance.review?.reviewerType ?? "none",
|
|
@@ -5203,15 +5344,15 @@ function MarketingArticle({
|
|
|
5203
5344
|
/* @__PURE__ */ jsxs4("header", {
|
|
5204
5345
|
className: "plain-publication__article-header",
|
|
5205
5346
|
children: [
|
|
5206
|
-
eyebrow === undefined || eyebrow === "" ? null : /* @__PURE__ */
|
|
5347
|
+
eyebrow === undefined || eyebrow === "" ? null : /* @__PURE__ */ jsx4("p", {
|
|
5207
5348
|
className: "plain-publication__eyebrow",
|
|
5208
5349
|
children: eyebrow
|
|
5209
5350
|
}),
|
|
5210
|
-
/* @__PURE__ */
|
|
5351
|
+
/* @__PURE__ */ jsx4("h1", {
|
|
5211
5352
|
id: headingId,
|
|
5212
5353
|
children: heading
|
|
5213
5354
|
}),
|
|
5214
|
-
dek === undefined || dek === "" ? null : /* @__PURE__ */
|
|
5355
|
+
dek === undefined || dek === "" ? null : /* @__PURE__ */ jsx4("p", {
|
|
5215
5356
|
className: "plain-publication__article-dek",
|
|
5216
5357
|
children: dek
|
|
5217
5358
|
}),
|
|
@@ -5220,20 +5361,20 @@ function MarketingArticle({
|
|
|
5220
5361
|
children: [
|
|
5221
5362
|
author === undefined ? null : /* @__PURE__ */ jsxs4(Fragment3, {
|
|
5222
5363
|
children: [
|
|
5223
|
-
/* @__PURE__ */
|
|
5364
|
+
/* @__PURE__ */ jsx4(ArticleByline, {
|
|
5224
5365
|
author
|
|
5225
5366
|
}),
|
|
5226
|
-
/* @__PURE__ */
|
|
5367
|
+
/* @__PURE__ */ jsx4(Separator, {})
|
|
5227
5368
|
]
|
|
5228
5369
|
}),
|
|
5229
|
-
/* @__PURE__ */
|
|
5370
|
+
/* @__PURE__ */ jsx4(ArticleDate, {
|
|
5230
5371
|
label: "Published",
|
|
5231
5372
|
value: published
|
|
5232
5373
|
}),
|
|
5233
5374
|
updated === undefined ? null : /* @__PURE__ */ jsxs4(Fragment3, {
|
|
5234
5375
|
children: [
|
|
5235
|
-
/* @__PURE__ */
|
|
5236
|
-
/* @__PURE__ */
|
|
5376
|
+
/* @__PURE__ */ jsx4(Separator, {}),
|
|
5377
|
+
/* @__PURE__ */ jsx4(ArticleDate, {
|
|
5237
5378
|
label: "Updated",
|
|
5238
5379
|
value: updated
|
|
5239
5380
|
})
|
|
@@ -5241,7 +5382,7 @@ function MarketingArticle({
|
|
|
5241
5382
|
})
|
|
5242
5383
|
]
|
|
5243
5384
|
}),
|
|
5244
|
-
provenance === null ? null : /* @__PURE__ */
|
|
5385
|
+
provenance === null ? null : /* @__PURE__ */ jsx4(ArticleProvenance, {
|
|
5245
5386
|
provenance
|
|
5246
5387
|
})
|
|
5247
5388
|
]
|
|
@@ -5253,13 +5394,13 @@ function MarketingArticle({
|
|
|
5253
5394
|
"aria-labelledby": tocId,
|
|
5254
5395
|
className: "plain-publication__toc",
|
|
5255
5396
|
children: [
|
|
5256
|
-
/* @__PURE__ */
|
|
5397
|
+
/* @__PURE__ */ jsx4("p", {
|
|
5257
5398
|
id: tocId,
|
|
5258
5399
|
children: tocLabel
|
|
5259
5400
|
}),
|
|
5260
|
-
/* @__PURE__ */
|
|
5261
|
-
children: tocItems.map((item) => /* @__PURE__ */
|
|
5262
|
-
children: /* @__PURE__ */
|
|
5401
|
+
/* @__PURE__ */ jsx4("ol", {
|
|
5402
|
+
children: tocItems.map((item) => /* @__PURE__ */ jsx4("li", {
|
|
5403
|
+
children: /* @__PURE__ */ jsx4("a", {
|
|
5263
5404
|
href: item.href,
|
|
5264
5405
|
children: item.label
|
|
5265
5406
|
})
|
|
@@ -5267,13 +5408,13 @@ function MarketingArticle({
|
|
|
5267
5408
|
})
|
|
5268
5409
|
]
|
|
5269
5410
|
}),
|
|
5270
|
-
/* @__PURE__ */
|
|
5411
|
+
/* @__PURE__ */ jsx4("div", {
|
|
5271
5412
|
className: "plain-publication__article-body",
|
|
5272
5413
|
children
|
|
5273
5414
|
})
|
|
5274
5415
|
]
|
|
5275
5416
|
}),
|
|
5276
|
-
after === undefined || after === null ? null : /* @__PURE__ */
|
|
5417
|
+
after === undefined || after === null ? null : /* @__PURE__ */ jsx4("footer", {
|
|
5277
5418
|
className: "plain-publication__article-footer",
|
|
5278
5419
|
children: after
|
|
5279
5420
|
})
|
|
@@ -5293,14 +5434,14 @@ function ArticleSources({
|
|
|
5293
5434
|
"aria-labelledby": headingId,
|
|
5294
5435
|
className: "plain-publication__sources",
|
|
5295
5436
|
children: [
|
|
5296
|
-
/* @__PURE__ */
|
|
5437
|
+
/* @__PURE__ */ jsx4("h2", {
|
|
5297
5438
|
id: headingId,
|
|
5298
5439
|
children: heading
|
|
5299
5440
|
}),
|
|
5300
|
-
/* @__PURE__ */
|
|
5441
|
+
/* @__PURE__ */ jsx4("ol", {
|
|
5301
5442
|
children: sources.map((source) => /* @__PURE__ */ jsxs4("li", {
|
|
5302
5443
|
children: [
|
|
5303
|
-
/* @__PURE__ */
|
|
5444
|
+
/* @__PURE__ */ jsx4("a", {
|
|
5304
5445
|
href: source.href,
|
|
5305
5446
|
children: source.title
|
|
5306
5447
|
}),
|
|
@@ -5309,10 +5450,10 @@ function ArticleSources({
|
|
|
5309
5450
|
source.publisher === undefined || source.publisher === "" ? null : /* @__PURE__ */ jsxs4(Fragment3, {
|
|
5310
5451
|
children: [
|
|
5311
5452
|
source.publisher,
|
|
5312
|
-
/* @__PURE__ */
|
|
5453
|
+
/* @__PURE__ */ jsx4(Separator, {})
|
|
5313
5454
|
]
|
|
5314
5455
|
}),
|
|
5315
|
-
/* @__PURE__ */
|
|
5456
|
+
/* @__PURE__ */ jsx4(ArticleDate, {
|
|
5316
5457
|
label: "Checked",
|
|
5317
5458
|
value: source.checkedOn
|
|
5318
5459
|
})
|
|
@@ -5335,10 +5476,10 @@ function ArticleCallout({
|
|
|
5335
5476
|
"data-tone": tone,
|
|
5336
5477
|
role: "note",
|
|
5337
5478
|
children: [
|
|
5338
|
-
label === undefined || label === "" ? null : /* @__PURE__ */
|
|
5479
|
+
label === undefined || label === "" ? null : /* @__PURE__ */ jsx4("strong", {
|
|
5339
5480
|
children: label
|
|
5340
5481
|
}),
|
|
5341
|
-
typeof children === "string" ? /* @__PURE__ */
|
|
5482
|
+
typeof children === "string" ? /* @__PURE__ */ jsx4("p", {
|
|
5342
5483
|
children
|
|
5343
5484
|
}) : children
|
|
5344
5485
|
]
|
|
@@ -5360,15 +5501,15 @@ function ArticleRelatedProducts({
|
|
|
5360
5501
|
summary
|
|
5361
5502
|
}
|
|
5362
5503
|
};
|
|
5363
|
-
return /* @__PURE__ */
|
|
5504
|
+
return /* @__PURE__ */ jsx4("div", {
|
|
5364
5505
|
className: "plain-publication__related-products",
|
|
5365
|
-
children: body.groups === undefined ? /* @__PURE__ */
|
|
5506
|
+
children: body.groups === undefined ? /* @__PURE__ */ jsx4(MarketingRelated, {
|
|
5366
5507
|
heading,
|
|
5367
5508
|
headingId,
|
|
5368
5509
|
headingLevel,
|
|
5369
5510
|
items: body.items,
|
|
5370
5511
|
...optional
|
|
5371
|
-
}) : /* @__PURE__ */
|
|
5512
|
+
}) : /* @__PURE__ */ jsx4(MarketingRelated, {
|
|
5372
5513
|
groups: body.groups,
|
|
5373
5514
|
heading,
|
|
5374
5515
|
headingId,
|
|
@@ -5412,46 +5553,46 @@ function ArticleIndex({
|
|
|
5412
5553
|
/* @__PURE__ */ jsxs4("div", {
|
|
5413
5554
|
className: "plain-publication__section-heading",
|
|
5414
5555
|
children: [
|
|
5415
|
-
/* @__PURE__ */
|
|
5556
|
+
/* @__PURE__ */ jsx4(HeadingTag, {
|
|
5416
5557
|
id: headingId,
|
|
5417
5558
|
children: heading
|
|
5418
5559
|
}),
|
|
5419
|
-
summary === undefined || summary === "" ? null : /* @__PURE__ */
|
|
5560
|
+
summary === undefined || summary === "" ? null : /* @__PURE__ */ jsx4("p", {
|
|
5420
5561
|
children: summary
|
|
5421
5562
|
})
|
|
5422
5563
|
]
|
|
5423
5564
|
}),
|
|
5424
|
-
/* @__PURE__ */
|
|
5565
|
+
/* @__PURE__ */ jsx4("div", {
|
|
5425
5566
|
className: "plain-publication__article-list",
|
|
5426
5567
|
children: items.map((item) => /* @__PURE__ */ jsxs4("article", {
|
|
5427
5568
|
className: "plain-publication__entry",
|
|
5428
5569
|
children: [
|
|
5429
|
-
item.eyebrow === undefined || item.eyebrow === "" ? null : /* @__PURE__ */
|
|
5570
|
+
item.eyebrow === undefined || item.eyebrow === "" ? null : /* @__PURE__ */ jsx4("p", {
|
|
5430
5571
|
className: "plain-publication__entry-label",
|
|
5431
5572
|
children: item.eyebrow
|
|
5432
5573
|
}),
|
|
5433
|
-
/* @__PURE__ */
|
|
5574
|
+
/* @__PURE__ */ jsx4(EntryTag, {
|
|
5434
5575
|
className: "plain-publication__entry-title",
|
|
5435
|
-
children: /* @__PURE__ */
|
|
5576
|
+
children: /* @__PURE__ */ jsx4("a", {
|
|
5436
5577
|
href: item.href,
|
|
5437
5578
|
children: item.title
|
|
5438
5579
|
})
|
|
5439
5580
|
}),
|
|
5440
|
-
/* @__PURE__ */
|
|
5581
|
+
/* @__PURE__ */ jsx4("p", {
|
|
5441
5582
|
className: "plain-publication__entry-dek",
|
|
5442
5583
|
children: item.dek
|
|
5443
5584
|
}),
|
|
5444
5585
|
/* @__PURE__ */ jsxs4("p", {
|
|
5445
5586
|
className: "plain-publication__entry-meta",
|
|
5446
5587
|
children: [
|
|
5447
|
-
/* @__PURE__ */
|
|
5588
|
+
/* @__PURE__ */ jsx4(ArticleDate, {
|
|
5448
5589
|
label: "Published",
|
|
5449
5590
|
value: item.published
|
|
5450
5591
|
}),
|
|
5451
5592
|
item.updated === undefined ? null : /* @__PURE__ */ jsxs4(Fragment3, {
|
|
5452
5593
|
children: [
|
|
5453
|
-
/* @__PURE__ */
|
|
5454
|
-
/* @__PURE__ */
|
|
5594
|
+
/* @__PURE__ */ jsx4(Separator, {}),
|
|
5595
|
+
/* @__PURE__ */ jsx4(ArticleDate, {
|
|
5455
5596
|
label: "Updated",
|
|
5456
5597
|
value: item.updated
|
|
5457
5598
|
})
|
|
@@ -5476,7 +5617,7 @@ function FigureCaption({
|
|
|
5476
5617
|
className: "plain-publication__figure-caption",
|
|
5477
5618
|
children: [
|
|
5478
5619
|
caption,
|
|
5479
|
-
credit === undefined || credit === null || credit === "" ? null : /* @__PURE__ */
|
|
5620
|
+
credit === undefined || credit === null || credit === "" ? null : /* @__PURE__ */ jsx4("small", {
|
|
5480
5621
|
className: "plain-publication__figure-credit",
|
|
5481
5622
|
children: credit
|
|
5482
5623
|
})
|
|
@@ -5502,11 +5643,11 @@ function ArticleFigure({
|
|
|
5502
5643
|
"data-width": width,
|
|
5503
5644
|
id,
|
|
5504
5645
|
children: [
|
|
5505
|
-
/* @__PURE__ */
|
|
5646
|
+
/* @__PURE__ */ jsx4("div", {
|
|
5506
5647
|
className: "plain-publication__figure-body",
|
|
5507
5648
|
children
|
|
5508
5649
|
}),
|
|
5509
|
-
/* @__PURE__ */
|
|
5650
|
+
/* @__PURE__ */ jsx4(FigureCaption, {
|
|
5510
5651
|
caption,
|
|
5511
5652
|
credit
|
|
5512
5653
|
})
|
|
@@ -5522,7 +5663,7 @@ function ArticleVideo({
|
|
|
5522
5663
|
width = "text"
|
|
5523
5664
|
}) {
|
|
5524
5665
|
assertArticleVideo(video);
|
|
5525
|
-
return /* @__PURE__ */
|
|
5666
|
+
return /* @__PURE__ */ jsx4(ArticleFigure, {
|
|
5526
5667
|
caption,
|
|
5527
5668
|
className: joinClasses("plain-publication__video", className),
|
|
5528
5669
|
credit,
|
|
@@ -5540,11 +5681,11 @@ function ArticleVideo({
|
|
|
5540
5681
|
preload: "metadata",
|
|
5541
5682
|
width: video.width,
|
|
5542
5683
|
children: [
|
|
5543
|
-
orderedArticleVideoSources(video).map((source) => /* @__PURE__ */
|
|
5684
|
+
orderedArticleVideoSources(video).map((source) => /* @__PURE__ */ jsx4("source", {
|
|
5544
5685
|
src: source.src,
|
|
5545
5686
|
type: source.type
|
|
5546
5687
|
}, source.type)),
|
|
5547
|
-
/* @__PURE__ */
|
|
5688
|
+
/* @__PURE__ */ jsx4("track", {
|
|
5548
5689
|
default: true,
|
|
5549
5690
|
kind: "captions",
|
|
5550
5691
|
label: "Captions",
|
|
@@ -5575,7 +5716,7 @@ function ArticleTable({
|
|
|
5575
5716
|
"data-figure-kind": "table",
|
|
5576
5717
|
id,
|
|
5577
5718
|
children: [
|
|
5578
|
-
/* @__PURE__ */
|
|
5719
|
+
/* @__PURE__ */ jsx4("div", {
|
|
5579
5720
|
className: "plain-publication__table-scroll",
|
|
5580
5721
|
role: "region",
|
|
5581
5722
|
"aria-label": caption,
|
|
@@ -5583,24 +5724,24 @@ function ArticleTable({
|
|
|
5583
5724
|
children: /* @__PURE__ */ jsxs4("table", {
|
|
5584
5725
|
className: "plain-publication__table",
|
|
5585
5726
|
children: [
|
|
5586
|
-
/* @__PURE__ */
|
|
5727
|
+
/* @__PURE__ */ jsx4("caption", {
|
|
5587
5728
|
children: caption
|
|
5588
5729
|
}),
|
|
5589
|
-
/* @__PURE__ */
|
|
5590
|
-
children: /* @__PURE__ */
|
|
5591
|
-
children: columns.map((column, index) => /* @__PURE__ */
|
|
5730
|
+
/* @__PURE__ */ jsx4("thead", {
|
|
5731
|
+
children: /* @__PURE__ */ jsx4("tr", {
|
|
5732
|
+
children: columns.map((column, index) => /* @__PURE__ */ jsx4("th", {
|
|
5592
5733
|
"data-numeric": column.numeric === true ? "" : undefined,
|
|
5593
5734
|
scope: "col",
|
|
5594
5735
|
children: column.label
|
|
5595
5736
|
}, index))
|
|
5596
5737
|
})
|
|
5597
5738
|
}),
|
|
5598
|
-
/* @__PURE__ */
|
|
5599
|
-
children: rows.map((row, rowIndex) => /* @__PURE__ */
|
|
5600
|
-
children: row.map((cell, cellIndex) => cellIndex === 0 ? /* @__PURE__ */
|
|
5739
|
+
/* @__PURE__ */ jsx4("tbody", {
|
|
5740
|
+
children: rows.map((row, rowIndex) => /* @__PURE__ */ jsx4("tr", {
|
|
5741
|
+
children: row.map((cell, cellIndex) => cellIndex === 0 ? /* @__PURE__ */ jsx4("th", {
|
|
5601
5742
|
scope: "row",
|
|
5602
5743
|
children: cell
|
|
5603
|
-
}, cellIndex) : /* @__PURE__ */
|
|
5744
|
+
}, cellIndex) : /* @__PURE__ */ jsx4("td", {
|
|
5604
5745
|
"data-numeric": columns[cellIndex]?.numeric === true ? "" : undefined,
|
|
5605
5746
|
children: cell
|
|
5606
5747
|
}, cellIndex))
|
|
@@ -5609,7 +5750,7 @@ function ArticleTable({
|
|
|
5609
5750
|
]
|
|
5610
5751
|
})
|
|
5611
5752
|
}),
|
|
5612
|
-
note === undefined || note === null ? null : /* @__PURE__ */
|
|
5753
|
+
note === undefined || note === null ? null : /* @__PURE__ */ jsx4("p", {
|
|
5613
5754
|
className: "plain-publication__figure-note",
|
|
5614
5755
|
children: note
|
|
5615
5756
|
})
|
|
@@ -5638,7 +5779,7 @@ function ArticleBarChart({
|
|
|
5638
5779
|
for (const datum of data)
|
|
5639
5780
|
if (datum.value > ceiling)
|
|
5640
5781
|
throw new RangeError(`Article bar chart value for ${JSON.stringify(datum.label)} exceeds max.`);
|
|
5641
|
-
return /* @__PURE__ */
|
|
5782
|
+
return /* @__PURE__ */ jsx4(ArticleFigure, {
|
|
5642
5783
|
caption,
|
|
5643
5784
|
className: joinClasses("plain-publication__bar-chart", className),
|
|
5644
5785
|
credit,
|
|
@@ -5646,28 +5787,28 @@ function ArticleBarChart({
|
|
|
5646
5787
|
...id === undefined ? {} : {
|
|
5647
5788
|
id
|
|
5648
5789
|
},
|
|
5649
|
-
children: /* @__PURE__ */
|
|
5790
|
+
children: /* @__PURE__ */ jsx4("dl", {
|
|
5650
5791
|
className: "plain-publication__bars",
|
|
5651
5792
|
children: data.map((datum) => /* @__PURE__ */ jsxs4("div", {
|
|
5652
5793
|
className: "plain-publication__bar",
|
|
5653
5794
|
"data-highlight": datum.highlight === true ? "" : undefined,
|
|
5654
5795
|
children: [
|
|
5655
|
-
/* @__PURE__ */
|
|
5796
|
+
/* @__PURE__ */ jsx4("dt", {
|
|
5656
5797
|
children: datum.label
|
|
5657
5798
|
}),
|
|
5658
5799
|
/* @__PURE__ */ jsxs4("dd", {
|
|
5659
5800
|
children: [
|
|
5660
|
-
/* @__PURE__ */
|
|
5801
|
+
/* @__PURE__ */ jsx4("span", {
|
|
5661
5802
|
"aria-hidden": "true",
|
|
5662
5803
|
className: "plain-publication__bar-track",
|
|
5663
|
-
children: /* @__PURE__ */
|
|
5804
|
+
children: /* @__PURE__ */ jsx4("span", {
|
|
5664
5805
|
className: "plain-publication__bar-fill",
|
|
5665
5806
|
style: {
|
|
5666
5807
|
"--plain-bar": `${Math.round(datum.value / ceiling * 1e4) / 100}%`
|
|
5667
5808
|
}
|
|
5668
5809
|
})
|
|
5669
5810
|
}),
|
|
5670
|
-
/* @__PURE__ */
|
|
5811
|
+
/* @__PURE__ */ jsx4("span", {
|
|
5671
5812
|
className: "plain-publication__bar-value",
|
|
5672
5813
|
children: datum.display
|
|
5673
5814
|
})
|
|
@@ -5684,17 +5825,18 @@ var COMPARISON_TEXT = {
|
|
|
5684
5825
|
partial: "Partly"
|
|
5685
5826
|
};
|
|
5686
5827
|
function ComparisonGlyph({
|
|
5687
|
-
kind
|
|
5828
|
+
kind,
|
|
5829
|
+
className
|
|
5688
5830
|
}) {
|
|
5689
5831
|
const path = kind === "yes" ? "M3.5 8.5l3 3 6-7" : kind === "no" ? "M4.5 4.5l7 7m0-7l-7 7" : "M4 8h8";
|
|
5690
|
-
return /* @__PURE__ */
|
|
5832
|
+
return /* @__PURE__ */ jsx4("svg", {
|
|
5691
5833
|
"aria-hidden": "true",
|
|
5692
|
-
className: "plain-publication__comparison-glyph",
|
|
5834
|
+
className: joinClasses("plain-publication__comparison-glyph", className),
|
|
5693
5835
|
focusable: "false",
|
|
5694
5836
|
height: "16",
|
|
5695
5837
|
viewBox: "0 0 16 16",
|
|
5696
5838
|
width: "16",
|
|
5697
|
-
children: /* @__PURE__ */
|
|
5839
|
+
children: /* @__PURE__ */ jsx4("path", {
|
|
5698
5840
|
d: path,
|
|
5699
5841
|
fill: "none",
|
|
5700
5842
|
stroke: "currentColor",
|
|
@@ -5708,7 +5850,7 @@ function ComparisonCell({
|
|
|
5708
5850
|
value
|
|
5709
5851
|
}) {
|
|
5710
5852
|
if (typeof value === "object")
|
|
5711
|
-
return /* @__PURE__ */
|
|
5853
|
+
return /* @__PURE__ */ jsx4(Fragment3, {
|
|
5712
5854
|
children: value.text
|
|
5713
5855
|
});
|
|
5714
5856
|
const kind = value === true ? "yes" : value === false ? "no" : "partial";
|
|
@@ -5716,10 +5858,10 @@ function ComparisonCell({
|
|
|
5716
5858
|
className: "plain-publication__comparison-value",
|
|
5717
5859
|
"data-value": kind,
|
|
5718
5860
|
children: [
|
|
5719
|
-
/* @__PURE__ */
|
|
5861
|
+
/* @__PURE__ */ jsx4(ComparisonGlyph, {
|
|
5720
5862
|
kind
|
|
5721
5863
|
}),
|
|
5722
|
-
/* @__PURE__ */
|
|
5864
|
+
/* @__PURE__ */ jsx4("span", {
|
|
5723
5865
|
children: COMPARISON_TEXT[kind]
|
|
5724
5866
|
})
|
|
5725
5867
|
]
|
|
@@ -5749,7 +5891,7 @@ function ComparisonTable({
|
|
|
5749
5891
|
"data-figure-kind": "table",
|
|
5750
5892
|
id,
|
|
5751
5893
|
children: [
|
|
5752
|
-
/* @__PURE__ */
|
|
5894
|
+
/* @__PURE__ */ jsx4("div", {
|
|
5753
5895
|
className: "plain-publication__table-scroll",
|
|
5754
5896
|
role: "region",
|
|
5755
5897
|
"aria-label": caption,
|
|
@@ -5757,14 +5899,14 @@ function ComparisonTable({
|
|
|
5757
5899
|
children: /* @__PURE__ */ jsxs4("table", {
|
|
5758
5900
|
className: "plain-publication__table",
|
|
5759
5901
|
children: [
|
|
5760
|
-
/* @__PURE__ */
|
|
5902
|
+
/* @__PURE__ */ jsx4("caption", {
|
|
5761
5903
|
children: caption
|
|
5762
5904
|
}),
|
|
5763
|
-
/* @__PURE__ */
|
|
5905
|
+
/* @__PURE__ */ jsx4("thead", {
|
|
5764
5906
|
children: /* @__PURE__ */ jsxs4("tr", {
|
|
5765
5907
|
children: [
|
|
5766
|
-
/* @__PURE__ */
|
|
5767
|
-
options.map((option, index) => /* @__PURE__ */
|
|
5908
|
+
/* @__PURE__ */ jsx4("td", {}),
|
|
5909
|
+
options.map((option, index) => /* @__PURE__ */ jsx4("th", {
|
|
5768
5910
|
"data-highlight": index === highlight ? "" : undefined,
|
|
5769
5911
|
scope: "col",
|
|
5770
5912
|
children: option
|
|
@@ -5772,22 +5914,22 @@ function ComparisonTable({
|
|
|
5772
5914
|
]
|
|
5773
5915
|
})
|
|
5774
5916
|
}),
|
|
5775
|
-
/* @__PURE__ */
|
|
5917
|
+
/* @__PURE__ */ jsx4("tbody", {
|
|
5776
5918
|
children: rows.map((row) => /* @__PURE__ */ jsxs4("tr", {
|
|
5777
5919
|
children: [
|
|
5778
5920
|
/* @__PURE__ */ jsxs4("th", {
|
|
5779
5921
|
scope: "row",
|
|
5780
5922
|
children: [
|
|
5781
5923
|
row.label,
|
|
5782
|
-
row.note === undefined || row.note === "" ? null : /* @__PURE__ */
|
|
5924
|
+
row.note === undefined || row.note === "" ? null : /* @__PURE__ */ jsx4("small", {
|
|
5783
5925
|
className: "plain-publication__comparison-note",
|
|
5784
5926
|
children: row.note
|
|
5785
5927
|
})
|
|
5786
5928
|
]
|
|
5787
5929
|
}),
|
|
5788
|
-
row.values.map((value, index) => /* @__PURE__ */
|
|
5930
|
+
row.values.map((value, index) => /* @__PURE__ */ jsx4("td", {
|
|
5789
5931
|
"data-highlight": index === highlight ? "" : undefined,
|
|
5790
|
-
children: /* @__PURE__ */
|
|
5932
|
+
children: /* @__PURE__ */ jsx4(ComparisonCell, {
|
|
5791
5933
|
value
|
|
5792
5934
|
})
|
|
5793
5935
|
}, index))
|
|
@@ -5797,7 +5939,7 @@ function ComparisonTable({
|
|
|
5797
5939
|
]
|
|
5798
5940
|
})
|
|
5799
5941
|
}),
|
|
5800
|
-
note === undefined || note === null ? null : /* @__PURE__ */
|
|
5942
|
+
note === undefined || note === null ? null : /* @__PURE__ */ jsx4("p", {
|
|
5801
5943
|
className: "plain-publication__figure-note",
|
|
5802
5944
|
children: note
|
|
5803
5945
|
})
|
|
@@ -5805,9 +5947,555 @@ function ComparisonTable({
|
|
|
5805
5947
|
});
|
|
5806
5948
|
}
|
|
5807
5949
|
|
|
5950
|
+
// src/react/marketing-account.tsx
|
|
5951
|
+
import * as stylex4 from "@stylexjs/stylex";
|
|
5952
|
+
|
|
5953
|
+
// src/react/marketing-account.stylex.ts
|
|
5954
|
+
var marketingAccountStyles = {
|
|
5955
|
+
section: {
|
|
5956
|
+
kGNEyG: "x6s0dn4",
|
|
5957
|
+
k99D8V: "xbzzath",
|
|
5958
|
+
kMwMTN: "x11jfisy",
|
|
5959
|
+
k1xSpc: "xrvj5dj",
|
|
5960
|
+
kOIVth: "xm2penl",
|
|
5961
|
+
kumcoG: "x1mkdm3x x2k1869",
|
|
5962
|
+
k8WAf4: "xgqmzqw",
|
|
5963
|
+
k4rD7h: "x1f21ie9",
|
|
5964
|
+
$$css: true
|
|
5965
|
+
},
|
|
5966
|
+
copy: {
|
|
5967
|
+
k7Eaqz: "xeuugli",
|
|
5968
|
+
$$css: true
|
|
5969
|
+
},
|
|
5970
|
+
heading: {
|
|
5971
|
+
kMv6JI: "x1d3so1v",
|
|
5972
|
+
kGuDYH: "xnwvzbp",
|
|
5973
|
+
k63SB2: "xh88oxj",
|
|
5974
|
+
kb6lSQ: "x72az59",
|
|
5975
|
+
kLWn49: "x1uo3zyz",
|
|
5976
|
+
kogj98: "x1ghz6dp",
|
|
5977
|
+
kN2L0X: "x1w2vvpw",
|
|
5978
|
+
$$css: true
|
|
5979
|
+
},
|
|
5980
|
+
summary: {
|
|
5981
|
+
kMwMTN: "x17j02y5",
|
|
5982
|
+
kGuDYH: "x1jchvi3",
|
|
5983
|
+
kLWn49: "x1dbl2gt",
|
|
5984
|
+
keoZOQ: "xj1urod",
|
|
5985
|
+
ks0D6T: "x1dq269h",
|
|
5986
|
+
kN2L0X: "x1fzhlzt",
|
|
5987
|
+
$$css: true
|
|
5988
|
+
},
|
|
5989
|
+
content: {
|
|
5990
|
+
k7Eaqz: "xeuugli",
|
|
5991
|
+
$$css: true
|
|
5992
|
+
},
|
|
5993
|
+
actions: {
|
|
5994
|
+
kGNEyG: "x6s0dn4",
|
|
5995
|
+
k1xSpc: "x78zum5",
|
|
5996
|
+
kwnvtZ: "x1a02dak",
|
|
5997
|
+
kOIVth: "xilar1o",
|
|
5998
|
+
$$css: true
|
|
5999
|
+
},
|
|
6000
|
+
primary: {
|
|
6001
|
+
kGNEyG: "x6s0dn4",
|
|
6002
|
+
kWkggS: "x8qxh4v x1eb7ohu xnwy5bs",
|
|
6003
|
+
kMzoRj: "xmkeg23",
|
|
6004
|
+
ksu8eU: "x1y0btm7",
|
|
6005
|
+
kVAM5u: "x9r1u3d x1ylmb6m",
|
|
6006
|
+
kaIpWk: "xmx9ex2",
|
|
6007
|
+
kMwMTN: "xgbnldg x1ggml12",
|
|
6008
|
+
k1xSpc: "x3nfvp2",
|
|
6009
|
+
kMv6JI: "x1d3so1v",
|
|
6010
|
+
kGuDYH: "x1lkfr7t",
|
|
6011
|
+
k63SB2: "xh88oxj",
|
|
6012
|
+
kjj79g: "xl56j7k",
|
|
6013
|
+
kLWn49: "xwn7fz2",
|
|
6014
|
+
ks0D6T: "x193iq5w",
|
|
6015
|
+
kAzted: "x13gjtz1",
|
|
6016
|
+
kI3sdo: "x10s4vih",
|
|
6017
|
+
kInvED: "xj3ae5l",
|
|
6018
|
+
k8WAf4: "x142x9wm",
|
|
6019
|
+
kg3NbH: "xzsmjar",
|
|
6020
|
+
k9WMMc: "x2b8uid",
|
|
6021
|
+
kybGjl: "x1hl2dhg",
|
|
6022
|
+
$$css: true
|
|
6023
|
+
},
|
|
6024
|
+
signIn: {
|
|
6025
|
+
kGNEyG: "x6s0dn4",
|
|
6026
|
+
kMwMTN: "x11jfisy",
|
|
6027
|
+
k1xSpc: "x3nfvp2",
|
|
6028
|
+
kMv6JI: "x1d3so1v",
|
|
6029
|
+
kGuDYH: "x1lkfr7t",
|
|
6030
|
+
k63SB2: "x10p5zqr",
|
|
6031
|
+
kLWn49: "xwn7fz2",
|
|
6032
|
+
kAzted: "x13gjtz1",
|
|
6033
|
+
kI3sdo: "x10s4vih",
|
|
6034
|
+
kInvED: "xj3ae5l",
|
|
6035
|
+
kMnn75: "xujl8zx",
|
|
6036
|
+
kmVMDM: "xi2nhp4",
|
|
6037
|
+
k1TLXF: "x6k6sr1 x9ojkr9 xnnf6oi",
|
|
6038
|
+
kNySMw: "xyi4chj",
|
|
6039
|
+
kcSHmL: "xdsgf93",
|
|
6040
|
+
$$css: true
|
|
6041
|
+
}
|
|
6042
|
+
};
|
|
6043
|
+
|
|
6044
|
+
// src/react/marketing-account.tsx
|
|
6045
|
+
import { jsx as jsx5, jsxs as jsxs5 } from "react/jsx-runtime";
|
|
6046
|
+
function MarketingAccount({
|
|
6047
|
+
children,
|
|
6048
|
+
className,
|
|
6049
|
+
heading = "Your account",
|
|
6050
|
+
id = "account",
|
|
6051
|
+
summary
|
|
6052
|
+
}) {
|
|
6053
|
+
const presentation = stylex4.props(marketingAccountStyles.section);
|
|
6054
|
+
return /* @__PURE__ */ jsxs5("section", {
|
|
6055
|
+
...presentation,
|
|
6056
|
+
"aria-labelledby": `${id}-heading`,
|
|
6057
|
+
className: ["hraness-marketing-account", presentation.className, className].filter(Boolean).join(" "),
|
|
6058
|
+
id,
|
|
6059
|
+
children: [
|
|
6060
|
+
/* @__PURE__ */ jsxs5("div", {
|
|
6061
|
+
...stylex4.props(marketingAccountStyles.copy),
|
|
6062
|
+
children: [
|
|
6063
|
+
/* @__PURE__ */ jsx5("h2", {
|
|
6064
|
+
...stylex4.props(marketingAccountStyles.heading),
|
|
6065
|
+
id: `${id}-heading`,
|
|
6066
|
+
children: heading
|
|
6067
|
+
}),
|
|
6068
|
+
/* @__PURE__ */ jsx5("div", {
|
|
6069
|
+
...stylex4.props(marketingAccountStyles.summary),
|
|
6070
|
+
children: summary
|
|
6071
|
+
})
|
|
6072
|
+
]
|
|
6073
|
+
}),
|
|
6074
|
+
/* @__PURE__ */ jsx5("div", {
|
|
6075
|
+
...stylex4.props(marketingAccountStyles.content),
|
|
6076
|
+
children
|
|
6077
|
+
})
|
|
6078
|
+
]
|
|
6079
|
+
});
|
|
6080
|
+
}
|
|
6081
|
+
function MarketingAccountActions({
|
|
6082
|
+
primary,
|
|
6083
|
+
signIn
|
|
6084
|
+
}) {
|
|
6085
|
+
return /* @__PURE__ */ jsxs5("div", {
|
|
6086
|
+
...stylex4.props(marketingAccountStyles.actions),
|
|
6087
|
+
className: `hraness-marketing-account__actions ${stylex4.props(marketingAccountStyles.actions).className}`,
|
|
6088
|
+
children: [
|
|
6089
|
+
/* @__PURE__ */ jsx5("a", {
|
|
6090
|
+
...stylex4.props(marketingAccountStyles.primary),
|
|
6091
|
+
className: `hraness-marketing-account__primary ${stylex4.props(marketingAccountStyles.primary).className}`,
|
|
6092
|
+
"data-analytics-event": primary.analyticsEvent,
|
|
6093
|
+
"data-analytics-id": primary.analyticsId,
|
|
6094
|
+
"data-emphasis": "primary",
|
|
6095
|
+
href: primary.href,
|
|
6096
|
+
children: primary.label
|
|
6097
|
+
}),
|
|
6098
|
+
signIn === undefined ? null : /* @__PURE__ */ jsx5("a", {
|
|
6099
|
+
...stylex4.props(marketingAccountStyles.signIn),
|
|
6100
|
+
className: `hraness-marketing-account__sign-in ${stylex4.props(marketingAccountStyles.signIn).className}`,
|
|
6101
|
+
"data-analytics-event": signIn.analyticsEvent,
|
|
6102
|
+
"data-analytics-id": signIn.analyticsId,
|
|
6103
|
+
href: signIn.href,
|
|
6104
|
+
children: "Sign in"
|
|
6105
|
+
})
|
|
6106
|
+
]
|
|
6107
|
+
});
|
|
6108
|
+
}
|
|
6109
|
+
|
|
6110
|
+
// src/react/marketing-comparison.tsx
|
|
6111
|
+
import * as stylex5 from "@stylexjs/stylex";
|
|
6112
|
+
|
|
6113
|
+
// src/react/marketing-comparison.stylex.ts
|
|
6114
|
+
var comparisonStyles = {
|
|
6115
|
+
figure: {
|
|
6116
|
+
kogj98: "x1ghz6dp",
|
|
6117
|
+
kdYMnH: "xesnm00",
|
|
6118
|
+
kMwMTN: "x1sl809t",
|
|
6119
|
+
knIRL8: "x1d3so1v",
|
|
6120
|
+
$$css: true
|
|
6121
|
+
},
|
|
6122
|
+
scroll: {
|
|
6123
|
+
kNmBvv: "xw2csxc",
|
|
6124
|
+
k2kXS: "xgyk9h7",
|
|
6125
|
+
kI3sdo: "x10s4vih",
|
|
6126
|
+
kVtf5F: "xj3ae5l",
|
|
6127
|
+
$$css: true
|
|
6128
|
+
},
|
|
6129
|
+
table: {
|
|
6130
|
+
kULEZF: "xiuoait",
|
|
6131
|
+
kZnR7y: "x1mwwwfo",
|
|
6132
|
+
kMCLAl: "x1yc453h",
|
|
6133
|
+
kLh5Sq: "x6u19be",
|
|
6134
|
+
kN5DiO: "x37zpob",
|
|
6135
|
+
$$css: true
|
|
6136
|
+
},
|
|
6137
|
+
caption: {
|
|
6138
|
+
kgDt7k: "x1x9z3lm",
|
|
6139
|
+
kMCLAl: "x1yc453h",
|
|
6140
|
+
kLh5Sq: "x1c3i2sq",
|
|
6141
|
+
ko3Kzr: "xh88oxj",
|
|
6142
|
+
kMwMTN: "x11jfisy",
|
|
6143
|
+
$$css: true
|
|
6144
|
+
},
|
|
6145
|
+
corner: {
|
|
6146
|
+
kdYMnH: "x927zys",
|
|
6147
|
+
ke4D0g: "xvnnzik",
|
|
6148
|
+
$$css: true
|
|
6149
|
+
},
|
|
6150
|
+
option: {
|
|
6151
|
+
kmVPX3: "x1uz70x1",
|
|
6152
|
+
kdYMnH: "x31wxcc",
|
|
6153
|
+
ke4D0g: "xvnnzik",
|
|
6154
|
+
kG2bcC: "x3ajldb",
|
|
6155
|
+
ko3Kzr: "x1s688f",
|
|
6156
|
+
$$css: true
|
|
6157
|
+
},
|
|
6158
|
+
optionLabel: {
|
|
6159
|
+
k1xSpc: "x78zum5",
|
|
6160
|
+
kkeX5w: "x6s0dn4",
|
|
6161
|
+
kOIVth: "x1uma3xh",
|
|
6162
|
+
$$css: true
|
|
6163
|
+
},
|
|
6164
|
+
mark: {
|
|
6165
|
+
kKBYww: "x19kjcj4",
|
|
6166
|
+
kEE5IU: "x2lah0s",
|
|
6167
|
+
kULEZF: "xsta65m",
|
|
6168
|
+
kLWsYc: "xkl2xug",
|
|
6169
|
+
$$css: true
|
|
6170
|
+
},
|
|
6171
|
+
rowLabel: {
|
|
6172
|
+
kmVPX3: "x3hm25i",
|
|
6173
|
+
kdYMnH: "x927zys",
|
|
6174
|
+
k2kXS: "x1vophnm",
|
|
6175
|
+
ke4D0g: "xvnnzik",
|
|
6176
|
+
kG2bcC: "x16dsc37",
|
|
6177
|
+
ko3Kzr: "xk50ysn",
|
|
6178
|
+
$$css: true
|
|
6179
|
+
},
|
|
6180
|
+
cell: {
|
|
6181
|
+
kmVPX3: "x1uz70x1",
|
|
6182
|
+
ke4D0g: "xvnnzik",
|
|
6183
|
+
kG2bcC: "x16dsc37",
|
|
6184
|
+
$$css: true
|
|
6185
|
+
},
|
|
6186
|
+
highlight: {
|
|
6187
|
+
kL20gf: "x1sstqva x9yvj25",
|
|
6188
|
+
kMwMTN: "x11jfisy",
|
|
6189
|
+
$$css: true
|
|
6190
|
+
},
|
|
6191
|
+
value: {
|
|
6192
|
+
k1xSpc: "xrvj5dj",
|
|
6193
|
+
kOIVth: "xvh977a",
|
|
6194
|
+
$$css: true
|
|
6195
|
+
},
|
|
6196
|
+
label: {
|
|
6197
|
+
k1xSpc: "x78zum5",
|
|
6198
|
+
kkeX5w: "x1cy8zhl",
|
|
6199
|
+
kOIVth: "x1rcpt3j",
|
|
6200
|
+
$$css: true
|
|
6201
|
+
},
|
|
6202
|
+
glyph: {
|
|
6203
|
+
kEE5IU: "x2lah0s",
|
|
6204
|
+
kAiAap: "x1lepkon",
|
|
6205
|
+
kULEZF: "x1ri1nt6",
|
|
6206
|
+
kLWsYc: "xf7zn63",
|
|
6207
|
+
$$css: true
|
|
6208
|
+
},
|
|
6209
|
+
positive: {
|
|
6210
|
+
kMwMTN: "x1tvez03 xs5hli",
|
|
6211
|
+
$$css: true
|
|
6212
|
+
},
|
|
6213
|
+
negative: {
|
|
6214
|
+
kMwMTN: "x17j02y5 xs5hli",
|
|
6215
|
+
$$css: true
|
|
6216
|
+
},
|
|
6217
|
+
conditional: {
|
|
6218
|
+
kMwMTN: "x1tjwi9f xs5hli",
|
|
6219
|
+
$$css: true
|
|
6220
|
+
},
|
|
6221
|
+
text: {
|
|
6222
|
+
kNUL7p: "xss6m8b",
|
|
6223
|
+
$$css: true
|
|
6224
|
+
},
|
|
6225
|
+
detail: {
|
|
6226
|
+
k1xSpc: "x1lliihq",
|
|
6227
|
+
kMwMTN: "x17j02y5",
|
|
6228
|
+
kLh5Sq: "x1dcheo9",
|
|
6229
|
+
ko3Kzr: "xo1l8bm",
|
|
6230
|
+
kN5DiO: "xfrs9s4",
|
|
6231
|
+
kAiAap: "xo4pzau",
|
|
6232
|
+
k2kXS: "x1wuf55a",
|
|
6233
|
+
$$css: true
|
|
6234
|
+
},
|
|
6235
|
+
note: {
|
|
6236
|
+
kMwMTN: "x17j02y5",
|
|
6237
|
+
kLh5Sq: "xkpwil5",
|
|
6238
|
+
kN5DiO: "x1evy7pa",
|
|
6239
|
+
kAiAap: "xm3oedo",
|
|
6240
|
+
k2kXS: "xlf9zpa",
|
|
6241
|
+
$$css: true
|
|
6242
|
+
}
|
|
6243
|
+
};
|
|
6244
|
+
|
|
6245
|
+
// src/react/marketing-comparison.tsx
|
|
6246
|
+
import { jsx as jsx6, jsxs as jsxs6 } from "react/jsx-runtime";
|
|
6247
|
+
import { createElement as createElement2 } from "react";
|
|
6248
|
+
var labels = {
|
|
6249
|
+
yes: "Yes",
|
|
6250
|
+
no: "No",
|
|
6251
|
+
partial: "Partly",
|
|
6252
|
+
optional: "Optional",
|
|
6253
|
+
depends: "Depends"
|
|
6254
|
+
};
|
|
6255
|
+
function presentation(slot, props6) {
|
|
6256
|
+
const hook = slot.replace(/[A-Z]/gu, (letter) => `-${letter.toLowerCase()}`);
|
|
6257
|
+
return {
|
|
6258
|
+
...props6,
|
|
6259
|
+
className: `hraness-marketing-comparison__${hook} ${props6.className}`
|
|
6260
|
+
};
|
|
6261
|
+
}
|
|
6262
|
+
function Value({
|
|
6263
|
+
value
|
|
6264
|
+
}) {
|
|
6265
|
+
if (typeof value === "string" && value !== "partial")
|
|
6266
|
+
return /* @__PURE__ */ jsx6("span", {
|
|
6267
|
+
...presentation("text", stylex5.props(comparisonStyles.text)),
|
|
6268
|
+
children: value
|
|
6269
|
+
});
|
|
6270
|
+
const status = typeof value === "object" ? value.status : value === true ? "yes" : value === false ? "no" : "partial";
|
|
6271
|
+
const label = typeof value === "object" ? value.label ?? labels[status] : labels[status];
|
|
6272
|
+
const detail = typeof value === "object" ? value.detail : undefined;
|
|
6273
|
+
return /* @__PURE__ */ jsxs6("div", {
|
|
6274
|
+
...presentation("value", stylex5.props(comparisonStyles.value)),
|
|
6275
|
+
"data-comparison-status": status,
|
|
6276
|
+
children: [
|
|
6277
|
+
/* @__PURE__ */ jsxs6("span", {
|
|
6278
|
+
...presentation("label", stylex5.props(comparisonStyles.label)),
|
|
6279
|
+
children: [
|
|
6280
|
+
/* @__PURE__ */ jsx6(ComparisonGlyph, {
|
|
6281
|
+
className: `hraness-marketing-comparison__glyph ${stylex5.props(comparisonStyles.glyph, status === "yes" ? comparisonStyles.positive : status === "no" ? comparisonStyles.negative : comparisonStyles.conditional).className}`,
|
|
6282
|
+
kind: status === "yes" || status === "no" ? status : "partial"
|
|
6283
|
+
}),
|
|
6284
|
+
/* @__PURE__ */ jsx6("span", {
|
|
6285
|
+
children: label
|
|
6286
|
+
})
|
|
6287
|
+
]
|
|
6288
|
+
}),
|
|
6289
|
+
detail === undefined ? null : /* @__PURE__ */ jsx6("small", {
|
|
6290
|
+
...presentation("detail", stylex5.props(comparisonStyles.detail)),
|
|
6291
|
+
children: detail
|
|
6292
|
+
})
|
|
6293
|
+
]
|
|
6294
|
+
});
|
|
6295
|
+
}
|
|
6296
|
+
function MarketingComparison({
|
|
6297
|
+
caption,
|
|
6298
|
+
className,
|
|
6299
|
+
highlight,
|
|
6300
|
+
id,
|
|
6301
|
+
note,
|
|
6302
|
+
options,
|
|
6303
|
+
rows
|
|
6304
|
+
}) {
|
|
6305
|
+
if (caption.trim() === "")
|
|
6306
|
+
throw new RangeError("Marketing comparison needs a caption.");
|
|
6307
|
+
if (options.length === 0)
|
|
6308
|
+
throw new RangeError("Marketing comparison needs at least one option.");
|
|
6309
|
+
if (highlight !== undefined && (!Number.isInteger(highlight) || highlight < 0 || highlight >= options.length))
|
|
6310
|
+
throw new RangeError("Marketing comparison highlight must be an option index.");
|
|
6311
|
+
for (const row of rows)
|
|
6312
|
+
if (row.values.length !== options.length)
|
|
6313
|
+
throw new RangeError(`Marketing comparison row ${JSON.stringify(row.label)} must have one value per option.`);
|
|
6314
|
+
return /* @__PURE__ */ jsxs6("figure", {
|
|
6315
|
+
...presentation("figure", stylex5.props(comparisonStyles.figure)),
|
|
6316
|
+
className: ["hraness-marketing-comparison", stylex5.props(comparisonStyles.figure).className, className].filter(Boolean).join(" "),
|
|
6317
|
+
id,
|
|
6318
|
+
children: [
|
|
6319
|
+
/* @__PURE__ */ jsx6("div", {
|
|
6320
|
+
...presentation("scroll", stylex5.props(comparisonStyles.scroll)),
|
|
6321
|
+
"aria-label": caption,
|
|
6322
|
+
role: "region",
|
|
6323
|
+
tabIndex: 0,
|
|
6324
|
+
children: /* @__PURE__ */ jsxs6("table", {
|
|
6325
|
+
...presentation("table", stylex5.props(comparisonStyles.table)),
|
|
6326
|
+
children: [
|
|
6327
|
+
/* @__PURE__ */ jsx6("caption", {
|
|
6328
|
+
...presentation("caption", stylex5.props(comparisonStyles.caption)),
|
|
6329
|
+
children: caption
|
|
6330
|
+
}),
|
|
6331
|
+
/* @__PURE__ */ jsx6("thead", {
|
|
6332
|
+
children: /* @__PURE__ */ jsxs6("tr", {
|
|
6333
|
+
children: [
|
|
6334
|
+
/* @__PURE__ */ jsx6("td", {
|
|
6335
|
+
...presentation("corner", stylex5.props(comparisonStyles.corner))
|
|
6336
|
+
}),
|
|
6337
|
+
options.map((option, index) => /* @__PURE__ */ createElement2("th", {
|
|
6338
|
+
...presentation("option", stylex5.props(comparisonStyles.option, index === highlight && comparisonStyles.highlight)),
|
|
6339
|
+
"data-highlight": index === highlight ? "" : undefined,
|
|
6340
|
+
key: option.name,
|
|
6341
|
+
scope: "col"
|
|
6342
|
+
}, /* @__PURE__ */ jsxs6("span", {
|
|
6343
|
+
...presentation("optionLabel", stylex5.props(comparisonStyles.optionLabel)),
|
|
6344
|
+
children: [
|
|
6345
|
+
option.mark === undefined ? null : /* @__PURE__ */ jsx6("img", {
|
|
6346
|
+
alt: "",
|
|
6347
|
+
...presentation("mark", stylex5.props(comparisonStyles.mark)),
|
|
6348
|
+
height: 24,
|
|
6349
|
+
src: option.mark,
|
|
6350
|
+
width: 24
|
|
6351
|
+
}),
|
|
6352
|
+
/* @__PURE__ */ jsx6("span", {
|
|
6353
|
+
children: option.name
|
|
6354
|
+
})
|
|
6355
|
+
]
|
|
6356
|
+
})))
|
|
6357
|
+
]
|
|
6358
|
+
})
|
|
6359
|
+
}),
|
|
6360
|
+
/* @__PURE__ */ jsx6("tbody", {
|
|
6361
|
+
children: rows.map((row) => /* @__PURE__ */ jsxs6("tr", {
|
|
6362
|
+
children: [
|
|
6363
|
+
/* @__PURE__ */ jsxs6("th", {
|
|
6364
|
+
...presentation("rowLabel", stylex5.props(comparisonStyles.rowLabel)),
|
|
6365
|
+
scope: "row",
|
|
6366
|
+
children: [
|
|
6367
|
+
row.label,
|
|
6368
|
+
row.note === undefined ? null : /* @__PURE__ */ jsx6("small", {
|
|
6369
|
+
...presentation("detail", stylex5.props(comparisonStyles.detail)),
|
|
6370
|
+
children: row.note
|
|
6371
|
+
})
|
|
6372
|
+
]
|
|
6373
|
+
}),
|
|
6374
|
+
row.values.map((value, index) => /* @__PURE__ */ createElement2("td", {
|
|
6375
|
+
...presentation("cell", stylex5.props(comparisonStyles.cell, index === highlight && comparisonStyles.highlight)),
|
|
6376
|
+
"data-highlight": index === highlight ? "" : undefined,
|
|
6377
|
+
key: index
|
|
6378
|
+
}, /* @__PURE__ */ jsx6(Value, {
|
|
6379
|
+
value
|
|
6380
|
+
})))
|
|
6381
|
+
]
|
|
6382
|
+
}, row.label))
|
|
6383
|
+
})
|
|
6384
|
+
]
|
|
6385
|
+
})
|
|
6386
|
+
}),
|
|
6387
|
+
note === undefined || note === null ? null : /* @__PURE__ */ jsx6("figcaption", {
|
|
6388
|
+
...presentation("note", stylex5.props(comparisonStyles.note)),
|
|
6389
|
+
children: note
|
|
6390
|
+
})
|
|
6391
|
+
]
|
|
6392
|
+
});
|
|
6393
|
+
}
|
|
6394
|
+
|
|
6395
|
+
// src/react/marketing-diagram.tsx
|
|
6396
|
+
import * as stylex6 from "@stylexjs/stylex";
|
|
6397
|
+
|
|
6398
|
+
// src/react/marketing-diagram.stylex.ts
|
|
6399
|
+
var diagramStyles = {
|
|
6400
|
+
figure: {
|
|
6401
|
+
kogj98: "x1ghz6dp",
|
|
6402
|
+
kdYMnH: "xesnm00",
|
|
6403
|
+
kMwMTN: "x11jfisy",
|
|
6404
|
+
knIRL8: "x1d3so1v",
|
|
6405
|
+
$$css: true
|
|
6406
|
+
},
|
|
6407
|
+
scroll: {
|
|
6408
|
+
kNmBvv: "xw2csxc",
|
|
6409
|
+
k2kXS: "xgyk9h7",
|
|
6410
|
+
kI3sdo: "x10s4vih",
|
|
6411
|
+
kVtf5F: "xj3ae5l",
|
|
6412
|
+
$$css: true
|
|
6413
|
+
},
|
|
6414
|
+
canvas: {
|
|
6415
|
+
k1xSpc: "x1lliihq",
|
|
6416
|
+
kULEZF: "xiuoait",
|
|
6417
|
+
kdYMnH: "xze7o54",
|
|
6418
|
+
kLWsYc: "xzlj3eo",
|
|
6419
|
+
knIRL8: "x1d3so1v",
|
|
6420
|
+
kLh5Sq: "xwsyq91",
|
|
6421
|
+
kMwMTN: "xzwifym",
|
|
6422
|
+
$$css: true
|
|
6423
|
+
},
|
|
6424
|
+
caption: {
|
|
6425
|
+
kAiAap: "xm3oedo",
|
|
6426
|
+
k2kXS: "xlf9zpa",
|
|
6427
|
+
kMwMTN: "x17j02y5",
|
|
6428
|
+
kLh5Sq: "xkpwil5",
|
|
6429
|
+
kN5DiO: "x1evy7pa",
|
|
6430
|
+
$$css: true
|
|
6431
|
+
}
|
|
6432
|
+
};
|
|
6433
|
+
|
|
6434
|
+
// src/react/marketing-diagram.tsx
|
|
6435
|
+
import { jsx as jsx7, jsxs as jsxs7 } from "react/jsx-runtime";
|
|
6436
|
+
function DiagramArrowhead({
|
|
6437
|
+
id
|
|
6438
|
+
}) {
|
|
6439
|
+
if (id.trim() === "" || /\s/u.test(id))
|
|
6440
|
+
throw new RangeError("Diagram arrowhead needs one nonempty SVG ID.");
|
|
6441
|
+
return /* @__PURE__ */ jsx7("marker", {
|
|
6442
|
+
id,
|
|
6443
|
+
markerHeight: diagramMetrics.arrowheadSize,
|
|
6444
|
+
markerUnits: "userSpaceOnUse",
|
|
6445
|
+
markerWidth: diagramMetrics.arrowheadSize,
|
|
6446
|
+
orient: "auto-start-reverse",
|
|
6447
|
+
refX: "5.5",
|
|
6448
|
+
refY: "3",
|
|
6449
|
+
viewBox: "0 0 6 6",
|
|
6450
|
+
children: /* @__PURE__ */ jsx7("path", {
|
|
6451
|
+
d: "M0 0 L6 3 L0 6 Z",
|
|
6452
|
+
fill: "context-stroke"
|
|
6453
|
+
})
|
|
6454
|
+
});
|
|
6455
|
+
}
|
|
6456
|
+
function MarketingDiagram({
|
|
6457
|
+
caption,
|
|
6458
|
+
children,
|
|
6459
|
+
className,
|
|
6460
|
+
height,
|
|
6461
|
+
label,
|
|
6462
|
+
width
|
|
6463
|
+
}) {
|
|
6464
|
+
if (!Number.isFinite(width) || !Number.isFinite(height) || width <= 0 || height <= 0)
|
|
6465
|
+
throw new RangeError("Marketing diagram dimensions must be positive.");
|
|
6466
|
+
if (label.trim() === "")
|
|
6467
|
+
throw new RangeError("Marketing diagram needs a useful accessible label.");
|
|
6468
|
+
return /* @__PURE__ */ jsxs7("figure", {
|
|
6469
|
+
className: ["hraness-diagram", stylex6.props(diagramStyles.figure).className, className].filter(Boolean).join(" "),
|
|
6470
|
+
children: [
|
|
6471
|
+
/* @__PURE__ */ jsx7("div", {
|
|
6472
|
+
...stylex6.props(diagramStyles.scroll),
|
|
6473
|
+
className: `hraness-diagram__scroll ${stylex6.props(diagramStyles.scroll).className}`,
|
|
6474
|
+
"aria-label": label,
|
|
6475
|
+
role: "region",
|
|
6476
|
+
tabIndex: 0,
|
|
6477
|
+
children: /* @__PURE__ */ jsx7("svg", {
|
|
6478
|
+
...stylex6.props(diagramStyles.canvas),
|
|
6479
|
+
className: `hraness-diagram__canvas ${stylex6.props(diagramStyles.canvas).className}`,
|
|
6480
|
+
"aria-label": label,
|
|
6481
|
+
height,
|
|
6482
|
+
role: "img",
|
|
6483
|
+
viewBox: `0 0 ${width} ${height}`,
|
|
6484
|
+
width,
|
|
6485
|
+
children
|
|
6486
|
+
})
|
|
6487
|
+
}),
|
|
6488
|
+
caption === undefined || caption === null ? null : /* @__PURE__ */ jsx7("figcaption", {
|
|
6489
|
+
...stylex6.props(diagramStyles.caption),
|
|
6490
|
+
children: caption
|
|
6491
|
+
})
|
|
6492
|
+
]
|
|
6493
|
+
});
|
|
6494
|
+
}
|
|
6495
|
+
|
|
5808
6496
|
// src/react/surfaces.tsx
|
|
5809
6497
|
import { forwardRef } from "react";
|
|
5810
|
-
import * as
|
|
6498
|
+
import * as stylex7 from "@stylexjs/stylex";
|
|
5811
6499
|
import { ThemedSurface, cn } from "@hraness/ui";
|
|
5812
6500
|
|
|
5813
6501
|
// src/react/surfaces.stylex.ts
|
|
@@ -5977,7 +6665,7 @@ var layoutSurfaceStyles = {
|
|
|
5977
6665
|
};
|
|
5978
6666
|
|
|
5979
6667
|
// src/react/surfaces.tsx
|
|
5980
|
-
import { jsx as
|
|
6668
|
+
import { jsx as jsx8, jsxs as jsxs8 } from "react/jsx-runtime";
|
|
5981
6669
|
var ditherSurfaceDensityStyles = {
|
|
5982
6670
|
coarse: ditherSurfaceStyles.coarse,
|
|
5983
6671
|
fine: ditherSurfaceStyles.fine,
|
|
@@ -5987,10 +6675,10 @@ function DitherSurface({
|
|
|
5987
6675
|
className,
|
|
5988
6676
|
density = "medium",
|
|
5989
6677
|
xstyle,
|
|
5990
|
-
...
|
|
6678
|
+
...props8
|
|
5991
6679
|
}) {
|
|
5992
|
-
return /* @__PURE__ */
|
|
5993
|
-
...
|
|
6680
|
+
return /* @__PURE__ */ jsx8(ThemedSurface, {
|
|
6681
|
+
...props8,
|
|
5994
6682
|
className: cn("hraness-design-dither-surface", className),
|
|
5995
6683
|
"data-density": density,
|
|
5996
6684
|
xstyle: [
|
|
@@ -6008,38 +6696,38 @@ function TopBar({
|
|
|
6008
6696
|
position = "static",
|
|
6009
6697
|
surface = "solid",
|
|
6010
6698
|
title,
|
|
6011
|
-
...
|
|
6699
|
+
...props8
|
|
6012
6700
|
}) {
|
|
6013
|
-
const rootPresentation =
|
|
6014
|
-
const leadingPresentation =
|
|
6015
|
-
const titlePresentation =
|
|
6016
|
-
const contentPresentation =
|
|
6017
|
-
const actionsPresentation =
|
|
6018
|
-
return /* @__PURE__ */
|
|
6701
|
+
const rootPresentation = stylex7.props(layoutSurfaceStyles.surface, layoutSurfaceStyles.bar, layoutSurfaceStyles.topBar, position === "sticky" ? layoutSurfaceStyles.topBarSticky : layoutSurfaceStyles.topBarStatic, surface === "glass" && layoutSurfaceStyles.topBarGlass);
|
|
6702
|
+
const leadingPresentation = stylex7.props(layoutSurfaceStyles.barPart);
|
|
6703
|
+
const titlePresentation = stylex7.props(layoutSurfaceStyles.topBarTitle);
|
|
6704
|
+
const contentPresentation = stylex7.props(layoutSurfaceStyles.barPart, layoutSurfaceStyles.barContent);
|
|
6705
|
+
const actionsPresentation = stylex7.props(layoutSurfaceStyles.barPart, layoutSurfaceStyles.topBarActions);
|
|
6706
|
+
return /* @__PURE__ */ jsxs8("header", {
|
|
6019
6707
|
...rootPresentation,
|
|
6020
|
-
...
|
|
6708
|
+
...props8,
|
|
6021
6709
|
className: cn("hraness-design-top-bar", rootPresentation.className, className),
|
|
6022
6710
|
"data-position": position,
|
|
6023
6711
|
"data-surface": surface,
|
|
6024
6712
|
children: [
|
|
6025
|
-
/* @__PURE__ */
|
|
6713
|
+
/* @__PURE__ */ jsxs8("div", {
|
|
6026
6714
|
...leadingPresentation,
|
|
6027
6715
|
className: cn("hraness-design-top-bar__leading", leadingPresentation.className),
|
|
6028
6716
|
children: [
|
|
6029
6717
|
leading,
|
|
6030
|
-
title === undefined ? null : /* @__PURE__ */
|
|
6718
|
+
title === undefined ? null : /* @__PURE__ */ jsx8("div", {
|
|
6031
6719
|
...titlePresentation,
|
|
6032
6720
|
className: cn("hraness-design-top-bar__title", titlePresentation.className),
|
|
6033
6721
|
children: title
|
|
6034
6722
|
})
|
|
6035
6723
|
]
|
|
6036
6724
|
}),
|
|
6037
|
-
children === undefined ? null : /* @__PURE__ */
|
|
6725
|
+
children === undefined ? null : /* @__PURE__ */ jsx8("div", {
|
|
6038
6726
|
...contentPresentation,
|
|
6039
6727
|
className: cn("hraness-design-top-bar__content", contentPresentation.className),
|
|
6040
6728
|
children
|
|
6041
6729
|
}),
|
|
6042
|
-
actions === undefined ? null : /* @__PURE__ */
|
|
6730
|
+
actions === undefined ? null : /* @__PURE__ */ jsx8("div", {
|
|
6043
6731
|
...actionsPresentation,
|
|
6044
6732
|
className: cn("hraness-design-top-bar__actions", actionsPresentation.className),
|
|
6045
6733
|
children: actions
|
|
@@ -6052,28 +6740,28 @@ function BottomBar({
|
|
|
6052
6740
|
children,
|
|
6053
6741
|
className,
|
|
6054
6742
|
leading,
|
|
6055
|
-
...
|
|
6743
|
+
...props8
|
|
6056
6744
|
}) {
|
|
6057
|
-
const rootPresentation =
|
|
6058
|
-
const leadingPresentation =
|
|
6059
|
-
const contentPresentation =
|
|
6060
|
-
const actionsPresentation =
|
|
6061
|
-
return /* @__PURE__ */
|
|
6745
|
+
const rootPresentation = stylex7.props(layoutSurfaceStyles.surface, layoutSurfaceStyles.bar, layoutSurfaceStyles.bottomBar);
|
|
6746
|
+
const leadingPresentation = stylex7.props(layoutSurfaceStyles.barPart);
|
|
6747
|
+
const contentPresentation = stylex7.props(layoutSurfaceStyles.barPart, layoutSurfaceStyles.barContent);
|
|
6748
|
+
const actionsPresentation = stylex7.props(layoutSurfaceStyles.barPart);
|
|
6749
|
+
return /* @__PURE__ */ jsxs8("footer", {
|
|
6062
6750
|
...rootPresentation,
|
|
6063
|
-
...
|
|
6751
|
+
...props8,
|
|
6064
6752
|
className: cn("hraness-design-bottom-bar", rootPresentation.className, className),
|
|
6065
6753
|
children: [
|
|
6066
|
-
leading === undefined ? null : /* @__PURE__ */
|
|
6754
|
+
leading === undefined ? null : /* @__PURE__ */ jsx8("div", {
|
|
6067
6755
|
...leadingPresentation,
|
|
6068
6756
|
className: cn("hraness-design-bottom-bar__leading", leadingPresentation.className),
|
|
6069
6757
|
children: leading
|
|
6070
6758
|
}),
|
|
6071
|
-
/* @__PURE__ */
|
|
6759
|
+
/* @__PURE__ */ jsx8("div", {
|
|
6072
6760
|
...contentPresentation,
|
|
6073
6761
|
className: cn("hraness-design-bottom-bar__content", contentPresentation.className),
|
|
6074
6762
|
children
|
|
6075
6763
|
}),
|
|
6076
|
-
actions === undefined ? null : /* @__PURE__ */
|
|
6764
|
+
actions === undefined ? null : /* @__PURE__ */ jsx8("div", {
|
|
6077
6765
|
...actionsPresentation,
|
|
6078
6766
|
className: cn("hraness-design-bottom-bar__actions", actionsPresentation.className),
|
|
6079
6767
|
children: actions
|
|
@@ -6086,14 +6774,14 @@ function PageCanvas({
|
|
|
6086
6774
|
className,
|
|
6087
6775
|
inset = "content",
|
|
6088
6776
|
size = "default",
|
|
6089
|
-
...
|
|
6777
|
+
...props8
|
|
6090
6778
|
}) {
|
|
6091
6779
|
const Element = as;
|
|
6092
|
-
const
|
|
6093
|
-
return /* @__PURE__ */
|
|
6094
|
-
...
|
|
6095
|
-
...
|
|
6096
|
-
className: cn("hraness-design-page-canvas",
|
|
6780
|
+
const presentation2 = stylex7.props(layoutSurfaceStyles.pageCanvas, inset === "content" ? layoutSurfaceStyles.pageContentInset : layoutSurfaceStyles.pageNoInset, size === "wide" && layoutSurfaceStyles.wideSize, size === "full" && layoutSurfaceStyles.fullSize);
|
|
6781
|
+
return /* @__PURE__ */ jsx8(Element, {
|
|
6782
|
+
...presentation2,
|
|
6783
|
+
...props8,
|
|
6784
|
+
className: cn("hraness-design-page-canvas", presentation2.className, className),
|
|
6097
6785
|
"data-inset": inset,
|
|
6098
6786
|
"data-size": size
|
|
6099
6787
|
});
|
|
@@ -6107,18 +6795,18 @@ var DockedFooter = forwardRef(function DockedFooter2({
|
|
|
6107
6795
|
position = "fixed",
|
|
6108
6796
|
size = "default",
|
|
6109
6797
|
surface = "solid",
|
|
6110
|
-
...
|
|
6798
|
+
...props8
|
|
6111
6799
|
}, ref) {
|
|
6112
|
-
const rootPresentation =
|
|
6113
|
-
const contentPresentation =
|
|
6114
|
-
return /* @__PURE__ */
|
|
6800
|
+
const rootPresentation = stylex7.props(layoutSurfaceStyles.surface, layoutSurfaceStyles.dockedFooter, position === "absolute" ? layoutSurfaceStyles.dockedAbsolute : position === "sticky" ? layoutSurfaceStyles.dockedSticky : layoutSurfaceStyles.dockedFixed);
|
|
6801
|
+
const contentPresentation = stylex7.props(layoutSurfaceStyles.dockedContent, density === "compact" ? inset === "content" ? layoutSurfaceStyles.dockedContentCompactInset : layoutSurfaceStyles.dockedContentCompactNoInset : inset === "content" ? layoutSurfaceStyles.dockedContentDefaultInset : layoutSurfaceStyles.dockedContentDefaultNoInset, size === "wide" && layoutSurfaceStyles.wideSize, size === "full" && layoutSurfaceStyles.fullSize);
|
|
6802
|
+
return /* @__PURE__ */ jsx8("footer", {
|
|
6115
6803
|
...rootPresentation,
|
|
6116
|
-
...
|
|
6804
|
+
...props8,
|
|
6117
6805
|
className: cn("hraness-design-docked-footer", rootPresentation.className, className),
|
|
6118
6806
|
"data-position": position,
|
|
6119
6807
|
"data-surface": surface,
|
|
6120
6808
|
ref,
|
|
6121
|
-
children: /* @__PURE__ */
|
|
6809
|
+
children: /* @__PURE__ */ jsx8("div", {
|
|
6122
6810
|
...contentPresentation,
|
|
6123
6811
|
className: cn("hraness-design-docked-footer__content", contentPresentation.className, contentClassName),
|
|
6124
6812
|
"data-density": density,
|
|
@@ -6311,7 +6999,7 @@ function createParticleHaloRecipe(input) {
|
|
|
6311
6999
|
|
|
6312
7000
|
// src/react/procedural-backdrop.tsx
|
|
6313
7001
|
import { cn as cn2 } from "@hraness/ui";
|
|
6314
|
-
import * as
|
|
7002
|
+
import * as stylex8 from "@stylexjs/stylex";
|
|
6315
7003
|
|
|
6316
7004
|
// src/react/effects.stylex.ts
|
|
6317
7005
|
var effectsStyles = {
|
|
@@ -6569,7 +7257,7 @@ var effectsStyles = {
|
|
|
6569
7257
|
};
|
|
6570
7258
|
|
|
6571
7259
|
// src/react/procedural-backdrop.tsx
|
|
6572
|
-
import { jsx as
|
|
7260
|
+
import { jsx as jsx9, jsxs as jsxs9 } from "react/jsx-runtime";
|
|
6573
7261
|
var colorVariables = {
|
|
6574
7262
|
highlight: "var(--hraness-design-procedural-highlight)",
|
|
6575
7263
|
key: "var(--hraness-design-procedural-key)",
|
|
@@ -6586,7 +7274,7 @@ function ProceduralBackdrop({
|
|
|
6586
7274
|
style,
|
|
6587
7275
|
variation,
|
|
6588
7276
|
variant,
|
|
6589
|
-
...
|
|
7277
|
+
...props9
|
|
6590
7278
|
}) {
|
|
6591
7279
|
const recipe = createProceduralBackdropRecipe({
|
|
6592
7280
|
seed,
|
|
@@ -6624,14 +7312,14 @@ function ProceduralBackdrop({
|
|
|
6624
7312
|
"--hraness-design-procedural-ripple-x": `${recipe.ripple.x}%`,
|
|
6625
7313
|
"--hraness-design-procedural-ripple-y": `${recipe.ripple.y}%`
|
|
6626
7314
|
};
|
|
6627
|
-
const rootPresentation =
|
|
6628
|
-
const atmospherePresentation =
|
|
6629
|
-
const cloudPresentation =
|
|
6630
|
-
const gridPresentation =
|
|
6631
|
-
const ripplesPresentation =
|
|
6632
|
-
const ripplePresentation =
|
|
6633
|
-
return /* @__PURE__ */
|
|
6634
|
-
...
|
|
7315
|
+
const rootPresentation = stylex8.props(effectsStyles.proceduralRoot);
|
|
7316
|
+
const atmospherePresentation = stylex8.props(effectsStyles.proceduralSlot, effectsStyles.proceduralAtmosphere);
|
|
7317
|
+
const cloudPresentation = stylex8.props(effectsStyles.proceduralCloud);
|
|
7318
|
+
const gridPresentation = stylex8.props(effectsStyles.proceduralSlot, effectsStyles.proceduralGrid);
|
|
7319
|
+
const ripplesPresentation = stylex8.props(effectsStyles.proceduralSlot, effectsStyles.proceduralRipples);
|
|
7320
|
+
const ripplePresentation = stylex8.props(effectsStyles.proceduralRipple);
|
|
7321
|
+
return /* @__PURE__ */ jsxs9("div", {
|
|
7322
|
+
...props9,
|
|
6635
7323
|
...INERT_PROPS,
|
|
6636
7324
|
"aria-hidden": "true",
|
|
6637
7325
|
className: cn2("hraness-design-procedural-backdrop", rootPresentation.className, className),
|
|
@@ -6641,7 +7329,7 @@ function ProceduralBackdrop({
|
|
|
6641
7329
|
role: "presentation",
|
|
6642
7330
|
style: rootStyle,
|
|
6643
7331
|
children: [
|
|
6644
|
-
showAtmosphere ? /* @__PURE__ */
|
|
7332
|
+
showAtmosphere ? /* @__PURE__ */ jsx9("span", {
|
|
6645
7333
|
className: cn2("hraness-design-procedural-backdrop__atmosphere", atmospherePresentation.className),
|
|
6646
7334
|
children: recipe.atmosphere.map((layer, index) => {
|
|
6647
7335
|
const layerStyle = {
|
|
@@ -6659,17 +7347,17 @@ function ProceduralBackdrop({
|
|
|
6659
7347
|
"--hraness-design-procedural-layer-x": `${layer.x}%`,
|
|
6660
7348
|
"--hraness-design-procedural-layer-y": `${layer.y}%`
|
|
6661
7349
|
};
|
|
6662
|
-
return /* @__PURE__ */
|
|
7350
|
+
return /* @__PURE__ */ jsx9("i", {
|
|
6663
7351
|
className: cn2("hraness-design-procedural-backdrop__cloud", cloudPresentation.className),
|
|
6664
7352
|
style: layerStyle
|
|
6665
7353
|
}, index);
|
|
6666
7354
|
})
|
|
6667
7355
|
}) : null,
|
|
6668
|
-
showGrid ? /* @__PURE__ */
|
|
7356
|
+
showGrid ? /* @__PURE__ */ jsx9("span", {
|
|
6669
7357
|
className: cn2("hraness-design-procedural-backdrop__grid", gridPresentation.className),
|
|
6670
7358
|
style: gridStyle
|
|
6671
7359
|
}) : null,
|
|
6672
|
-
showRipple ? /* @__PURE__ */
|
|
7360
|
+
showRipple ? /* @__PURE__ */ jsx9("span", {
|
|
6673
7361
|
className: cn2("hraness-design-procedural-backdrop__ripples", ripplesPresentation.className),
|
|
6674
7362
|
style: rippleStyle,
|
|
6675
7363
|
children: recipe.ripple.contours.map((contour, index) => {
|
|
@@ -6679,7 +7367,7 @@ function ProceduralBackdrop({
|
|
|
6679
7367
|
"--hraness-design-procedural-ripple-opacity": contour.opacity,
|
|
6680
7368
|
"--hraness-design-procedural-ripple-size": `${contour.size}%`
|
|
6681
7369
|
};
|
|
6682
|
-
return /* @__PURE__ */
|
|
7370
|
+
return /* @__PURE__ */ jsx9("i", {
|
|
6683
7371
|
className: cn2("hraness-design-procedural-backdrop__ripple", ripplePresentation.className),
|
|
6684
7372
|
style: contourStyle
|
|
6685
7373
|
}, index);
|
|
@@ -6690,7 +7378,7 @@ function ProceduralBackdrop({
|
|
|
6690
7378
|
}
|
|
6691
7379
|
|
|
6692
7380
|
// src/react/platform-icons.tsx
|
|
6693
|
-
import { jsx as
|
|
7381
|
+
import { jsx as jsx10, jsxs as jsxs10 } from "react/jsx-runtime";
|
|
6694
7382
|
var sizeParts = {
|
|
6695
7383
|
inherit: undefined,
|
|
6696
7384
|
lg: "iconLg",
|
|
@@ -6710,7 +7398,7 @@ function PlatformIcon({
|
|
|
6710
7398
|
if (label !== undefined && label.trim() === "")
|
|
6711
7399
|
throw new RangeError("A platform icon label must not be blank.");
|
|
6712
7400
|
const mark = platformMark(platform);
|
|
6713
|
-
return /* @__PURE__ */
|
|
7401
|
+
return /* @__PURE__ */ jsx10("svg", {
|
|
6714
7402
|
"aria-hidden": label === undefined ? true : undefined,
|
|
6715
7403
|
"aria-label": label,
|
|
6716
7404
|
className: platformInstallClassName(["icon", sizeParts[size]], className),
|
|
@@ -6720,7 +7408,7 @@ function PlatformIcon({
|
|
|
6720
7408
|
role: label === undefined ? undefined : "img",
|
|
6721
7409
|
viewBox: mark.viewBox,
|
|
6722
7410
|
xmlns: "http://www.w3.org/2000/svg",
|
|
6723
|
-
children: /* @__PURE__ */
|
|
7411
|
+
children: /* @__PURE__ */ jsx10("path", {
|
|
6724
7412
|
d: mark.path
|
|
6725
7413
|
})
|
|
6726
7414
|
});
|
|
@@ -6747,29 +7435,29 @@ function PlatformBadges({
|
|
|
6747
7435
|
seen.add(badge.id);
|
|
6748
7436
|
}
|
|
6749
7437
|
const listName = label ?? "Supported platforms";
|
|
6750
|
-
return /* @__PURE__ */
|
|
7438
|
+
return /* @__PURE__ */ jsxs10("div", {
|
|
6751
7439
|
className: platformInstallClassName(["badges"], className),
|
|
6752
7440
|
"data-hraness-platform-badges": "",
|
|
6753
7441
|
children: [
|
|
6754
|
-
label === null ? null : /* @__PURE__ */
|
|
7442
|
+
label === null ? null : /* @__PURE__ */ jsx10("span", {
|
|
6755
7443
|
"aria-hidden": "true",
|
|
6756
7444
|
className: platformInstallClassName(["badgesLabel"]),
|
|
6757
7445
|
children: label
|
|
6758
7446
|
}),
|
|
6759
|
-
/* @__PURE__ */
|
|
7447
|
+
/* @__PURE__ */ jsx10("ul", {
|
|
6760
7448
|
"aria-label": listName,
|
|
6761
7449
|
className: platformInstallClassName(["badgesList"]),
|
|
6762
|
-
children: badges.map((badge) => /* @__PURE__ */
|
|
7450
|
+
children: badges.map((badge) => /* @__PURE__ */ jsxs10("li", {
|
|
6763
7451
|
className: platformInstallClassName(["badge"]),
|
|
6764
7452
|
"data-platform": badge.id,
|
|
6765
7453
|
children: [
|
|
6766
|
-
/* @__PURE__ */
|
|
7454
|
+
/* @__PURE__ */ jsx10(PlatformIcon, {
|
|
6767
7455
|
platform: badge.id
|
|
6768
7456
|
}),
|
|
6769
|
-
/* @__PURE__ */
|
|
7457
|
+
/* @__PURE__ */ jsx10("span", {
|
|
6770
7458
|
children: badge.label ?? platformLabel(badge.id)
|
|
6771
7459
|
}),
|
|
6772
|
-
badge.note === undefined ? null : /* @__PURE__ */
|
|
7460
|
+
badge.note === undefined ? null : /* @__PURE__ */ jsx10("span", {
|
|
6773
7461
|
className: platformInstallClassName(["badgeNote"]),
|
|
6774
7462
|
children: badge.note
|
|
6775
7463
|
})
|
|
@@ -6782,8 +7470,8 @@ function PlatformBadges({
|
|
|
6782
7470
|
|
|
6783
7471
|
// src/react/particle-halo.tsx
|
|
6784
7472
|
import { cn as cn3 } from "@hraness/ui";
|
|
6785
|
-
import * as
|
|
6786
|
-
import { jsx as
|
|
7473
|
+
import * as stylex9 from "@stylexjs/stylex";
|
|
7474
|
+
import { jsx as jsx11, jsxs as jsxs11 } from "react/jsx-runtime";
|
|
6787
7475
|
var colorVariables2 = {
|
|
6788
7476
|
highlight: "var(--hraness-design-procedural-highlight)",
|
|
6789
7477
|
key: "var(--hraness-design-procedural-key)",
|
|
@@ -6797,7 +7485,7 @@ function ParticleHalo({
|
|
|
6797
7485
|
seed,
|
|
6798
7486
|
style,
|
|
6799
7487
|
variation,
|
|
6800
|
-
...
|
|
7488
|
+
...props10
|
|
6801
7489
|
}) {
|
|
6802
7490
|
const recipe = createParticleHaloRecipe({
|
|
6803
7491
|
seed,
|
|
@@ -6815,18 +7503,18 @@ function ParticleHalo({
|
|
|
6815
7503
|
"--hraness-design-procedural-support": recipe.palette.support,
|
|
6816
7504
|
...style
|
|
6817
7505
|
};
|
|
6818
|
-
const rootPresentation =
|
|
6819
|
-
const fieldPresentation =
|
|
6820
|
-
const particlePresentation =
|
|
6821
|
-
const contentPresentation =
|
|
6822
|
-
return /* @__PURE__ */
|
|
6823
|
-
...
|
|
7506
|
+
const rootPresentation = stylex9.props(effectsStyles.particleRoot);
|
|
7507
|
+
const fieldPresentation = stylex9.props(effectsStyles.particleField);
|
|
7508
|
+
const particlePresentation = stylex9.props(effectsStyles.particle);
|
|
7509
|
+
const contentPresentation = stylex9.props(effectsStyles.particleContent);
|
|
7510
|
+
return /* @__PURE__ */ jsxs11("div", {
|
|
7511
|
+
...props10,
|
|
6824
7512
|
className: cn3("hraness-design-particle-halo", rootPresentation.className, className),
|
|
6825
7513
|
"data-recipe-version": recipe.version,
|
|
6826
7514
|
"data-variation": recipe.variation,
|
|
6827
7515
|
style: rootStyle,
|
|
6828
7516
|
children: [
|
|
6829
|
-
/* @__PURE__ */
|
|
7517
|
+
/* @__PURE__ */ jsx11("span", {
|
|
6830
7518
|
"aria-hidden": "true",
|
|
6831
7519
|
className: cn3("hraness-design-particle-halo__particles", fieldPresentation.className),
|
|
6832
7520
|
role: "presentation",
|
|
@@ -6842,13 +7530,13 @@ function ParticleHalo({
|
|
|
6842
7530
|
"--hraness-design-particle-x": `${particle.x}%`,
|
|
6843
7531
|
"--hraness-design-particle-y": `${particle.y}%`
|
|
6844
7532
|
};
|
|
6845
|
-
return /* @__PURE__ */
|
|
7533
|
+
return /* @__PURE__ */ jsx11("i", {
|
|
6846
7534
|
className: cn3("hraness-design-particle-halo__particle", particlePresentation.className),
|
|
6847
7535
|
style: particleStyle
|
|
6848
7536
|
}, index);
|
|
6849
7537
|
})
|
|
6850
7538
|
}),
|
|
6851
|
-
/* @__PURE__ */
|
|
7539
|
+
/* @__PURE__ */ jsx11("div", {
|
|
6852
7540
|
className: cn3("hraness-design-particle-halo__content", contentPresentation.className),
|
|
6853
7541
|
children
|
|
6854
7542
|
})
|
|
@@ -6857,7 +7545,7 @@ function ParticleHalo({
|
|
|
6857
7545
|
}
|
|
6858
7546
|
|
|
6859
7547
|
// src/react/launch-beats.tsx
|
|
6860
|
-
import { jsx as
|
|
7548
|
+
import { jsx as jsx12, jsxs as jsxs12 } from "react/jsx-runtime";
|
|
6861
7549
|
var HEADING_TAGS2 = {
|
|
6862
7550
|
2: "h2",
|
|
6863
7551
|
3: "h3",
|
|
@@ -6888,7 +7576,7 @@ function LaunchBeats({
|
|
|
6888
7576
|
const Heading2 = HEADING_TAGS2[headingLevel];
|
|
6889
7577
|
if (Heading2 === undefined)
|
|
6890
7578
|
throw new RangeError("Launch beat heading level must be 2 to 4.");
|
|
6891
|
-
return /* @__PURE__ */
|
|
7579
|
+
return /* @__PURE__ */ jsx12("div", {
|
|
6892
7580
|
className: ["plain-publication__beats", className].filter(Boolean).join(" "),
|
|
6893
7581
|
"data-hraness-launch-beats": "",
|
|
6894
7582
|
children: beats.map((beat) => {
|
|
@@ -6896,28 +7584,28 @@ function LaunchBeats({
|
|
|
6896
7584
|
const visual = renderVisual(beat);
|
|
6897
7585
|
if (visual === null || visual === undefined || visual === false)
|
|
6898
7586
|
throw new RangeError(`Launch beat ${JSON.stringify(beat.id)} needs a visual.`);
|
|
6899
|
-
return /* @__PURE__ */
|
|
7587
|
+
return /* @__PURE__ */ jsxs12("section", {
|
|
6900
7588
|
"aria-labelledby": `${anchor}-heading`,
|
|
6901
7589
|
className: "plain-publication__beat",
|
|
6902
7590
|
"data-part": beat.part,
|
|
6903
7591
|
id: anchor,
|
|
6904
7592
|
children: [
|
|
6905
|
-
/* @__PURE__ */
|
|
7593
|
+
/* @__PURE__ */ jsx12(Heading2, {
|
|
6906
7594
|
id: `${anchor}-heading`,
|
|
6907
7595
|
children: beat.headline
|
|
6908
7596
|
}),
|
|
6909
|
-
/* @__PURE__ */
|
|
7597
|
+
/* @__PURE__ */ jsx12("p", {
|
|
6910
7598
|
children: beat.post
|
|
6911
7599
|
}),
|
|
6912
|
-
/* @__PURE__ */
|
|
7600
|
+
/* @__PURE__ */ jsx12(ArticleFigure, {
|
|
6913
7601
|
caption: caption?.(beat),
|
|
6914
7602
|
kind: figureKind(beat),
|
|
6915
7603
|
label: beat.alt,
|
|
6916
7604
|
children: visual
|
|
6917
7605
|
}),
|
|
6918
|
-
beat.detailHref === undefined ? null : /* @__PURE__ */
|
|
7606
|
+
beat.detailHref === undefined ? null : /* @__PURE__ */ jsx12("p", {
|
|
6919
7607
|
className: "plain-publication__beat-detail",
|
|
6920
|
-
children: /* @__PURE__ */
|
|
7608
|
+
children: /* @__PURE__ */ jsx12("a", {
|
|
6921
7609
|
href: beat.detailHref,
|
|
6922
7610
|
children: detailLabel
|
|
6923
7611
|
})
|
|
@@ -6928,4 +7616,4 @@ function LaunchBeats({
|
|
|
6928
7616
|
});
|
|
6929
7617
|
}
|
|
6930
7618
|
|
|
6931
|
-
export { ProviderMark, ProviderMarkChip,
|
|
7619
|
+
export { ProviderMark, ProviderMarkChip, foilEdge, foilTextImage, foilHalo, foilTextHalo, foilStyles, foilClassName, foilMarkClassName, FoilMark, marketingPatterns, MarketingActionLink, MarketingPage, MarketingField, MarketingMain, MarketingCardRow, MarketingCardArt, MarketingCard, MarketingSiteHeader, MarketingSiteFooter, MarketingFlow, MarketingFacts, ProductHero, MarketingPillars, MarketingInstallPanel, marketingProofFrameAddress, MarketingProofFrame, MarketingDataTable, MarketingCodeBlock, MarketingSectionLabel, MarketingSection, MarketingPrimitives, MarketingNotice, MarketingStatStrip, MarketingInterfaceGrid, MarketingTrustBoundary, MarketingQuoteGrid, MarketingPricing, MarketingQuestionList, MarketingMaker, MarketingRelated, MarketingCallToAction, ArticleByline, ArticleProvenance, MarketingArticle, ArticleSources, ArticleCallout, ArticleRelatedProducts, ArticleIndex, articleFigureKinds, ArticleFigure, ArticleVideo, ArticleTable, ArticleBarChart, ComparisonGlyph, ComparisonTable, effectsStyles, MarketingAccount, MarketingAccountActions, MarketingComparison, DiagramArrowhead, MarketingDiagram, DitherSurface, TopBar, BottomBar, PageCanvas, DockedFooter, proceduralBackdropVariants, proceduralRecipeVersion, createProceduralBackdropRecipe, createParticleHaloRecipe, ProceduralBackdrop, PlatformIcon, PlatformBadges, ParticleHalo, launchBeatAnchor, LaunchBeats };
|