@hraness/design-kit 0.34.0 → 0.35.1
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/AGENT_SETUP.md +4 -0
- package/ARTICLE_COPY.md +12 -6
- package/README.md +20 -2
- package/dist/{chunk-nwpcjm48.js → chunk-6bfr0g23.js} +1115 -441
- package/dist/{chunk-h4k7yv6x.js → chunk-6ts4955n.js} +36 -36
- package/dist/chunk-gmea6p0d.js +13 -0
- package/dist/{chunk-mr1vdcjq.js → chunk-tzd7177a.js} +142 -82
- package/dist/index.js +5 -1
- package/dist/mockups/client.js +50 -15
- package/dist/portfolio.js +586 -85
- package/dist/react/index.js +169 -105
- 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 +376 -58
- package/package.json +16 -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 +133 -38
- package/src/react/agent-setup-prompt.stylex.ts +5 -25
- package/src/react/agent-setup-prompt.tsx +9 -18
- package/src/react/article.tsx +2 -2
- package/src/react/design-gallery.tsx +34 -6
- 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 +9 -37
- package/src/react/platform-install.tsx +17 -24
- package/src/react/product-marketing.stylex.ts +138 -109
- package/src/react/product-marketing.tsx +69 -43
- package/src/react/server.ts +3 -0
- package/src/react/setup-copy-button.stylex.ts +39 -0
- package/src/react/setup-copy-button.tsx +20 -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-6ts4955n.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",
|
|
@@ -2392,7 +2457,11 @@ var marketingStyles = {
|
|
|
2392
2457
|
},
|
|
2393
2458
|
quote__link: {
|
|
2394
2459
|
kMwMTN: "x1heor9g",
|
|
2395
|
-
|
|
2460
|
+
kXaGww: "xujl8zx",
|
|
2461
|
+
kCBxTS: "xi2nhp4",
|
|
2462
|
+
kRHfhz: "x4k6xgu x9ojkr9 x1e7jyuc",
|
|
2463
|
+
kKoZWP: "xyi4chj",
|
|
2464
|
+
k1PBYE: "x1ohr1zr",
|
|
2396
2465
|
$$css: true
|
|
2397
2466
|
},
|
|
2398
2467
|
plan_grid: {
|
|
@@ -3132,6 +3201,9 @@ var recipes = {
|
|
|
3132
3201
|
"hraness-marketing-hero__summary": {
|
|
3133
3202
|
default: marketingStyles.hero__summary
|
|
3134
3203
|
},
|
|
3204
|
+
"hraness-marketing-hero__install": {
|
|
3205
|
+
default: marketingStyles.hero__install
|
|
3206
|
+
},
|
|
3135
3207
|
"hraness-marketing-hero__example": {
|
|
3136
3208
|
default: marketingStyles.hero__example
|
|
3137
3209
|
},
|
|
@@ -3220,7 +3292,11 @@ var recipes = {
|
|
|
3220
3292
|
},
|
|
3221
3293
|
"hraness-marketing-pillars__item": {
|
|
3222
3294
|
default: marketingStyles.pillars__item,
|
|
3223
|
-
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
|
|
3224
3300
|
},
|
|
3225
3301
|
"hraness-marketing-pillars__label": {
|
|
3226
3302
|
default: marketingStyles.pillars__label
|
|
@@ -3374,8 +3450,28 @@ var recipes = {
|
|
|
3374
3450
|
"hraness-marketing-related__summary": {
|
|
3375
3451
|
default: marketingStyles.related__summary
|
|
3376
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
|
+
},
|
|
3377
3468
|
"hraness-marketing-related__group": {
|
|
3378
|
-
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]
|
|
3379
3475
|
},
|
|
3380
3476
|
"hraness-marketing-related__group-header": {
|
|
3381
3477
|
default: marketingStyles.related__group_header
|
|
@@ -3654,12 +3750,12 @@ var gridColumns = {
|
|
|
3654
3750
|
3: marketingStyles.gridColumns3,
|
|
3655
3751
|
4: marketingStyles.gridColumns4
|
|
3656
3752
|
};
|
|
3657
|
-
function marketingColumnClassName(hook, caller, columns) {
|
|
3753
|
+
function marketingColumnClassName(hook, caller, columns, presentation = "default") {
|
|
3658
3754
|
if (columns !== undefined && columns !== 1 && columns !== 2 && columns !== 3 && columns !== 4) {
|
|
3659
3755
|
throw new RangeError("Marketing columns must be 1, 2, 3, or 4 when specified.");
|
|
3660
3756
|
}
|
|
3661
|
-
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" ? gridColumns : factColumns)[columns];
|
|
3662
|
-
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(" ");
|
|
3663
3759
|
}
|
|
3664
3760
|
function marketingClassName(hook, caller, variant = "default") {
|
|
3665
3761
|
const variants = recipes[hook];
|
|
@@ -3673,7 +3769,7 @@ function marketingFactCellVariant(index) {
|
|
|
3673
3769
|
}
|
|
3674
3770
|
|
|
3675
3771
|
// src/react/product-marketing.tsx
|
|
3676
|
-
import { jsx as
|
|
3772
|
+
import { jsx as jsx3, jsxs as jsxs3, Fragment as Fragment2 } from "react/jsx-runtime";
|
|
3677
3773
|
import { createElement } from "react";
|
|
3678
3774
|
var MARKETING_HEADING_TAGS = {
|
|
3679
3775
|
1: "h1",
|
|
@@ -3700,7 +3796,7 @@ function Heading({
|
|
|
3700
3796
|
id
|
|
3701
3797
|
};
|
|
3702
3798
|
const HeadingTag = MARKETING_HEADING_TAGS[level];
|
|
3703
|
-
return /* @__PURE__ */
|
|
3799
|
+
return /* @__PURE__ */ jsx3(HeadingTag, {
|
|
3704
3800
|
...properties
|
|
3705
3801
|
});
|
|
3706
3802
|
}
|
|
@@ -3715,7 +3811,7 @@ function MarketingActionLink({
|
|
|
3715
3811
|
label,
|
|
3716
3812
|
tone = "paper"
|
|
3717
3813
|
}) {
|
|
3718
|
-
return /* @__PURE__ */
|
|
3814
|
+
return /* @__PURE__ */ jsx3("a", {
|
|
3719
3815
|
className: marketingClassName("hraness-marketing-action", className, tone === "accent" ? `${context}-${emphasis}` : emphasis === "primary" ? "primary" : "default"),
|
|
3720
3816
|
"data-emphasis": emphasis,
|
|
3721
3817
|
"data-foil": emphasis === "primary" ? "" : undefined,
|
|
@@ -3731,7 +3827,7 @@ function MarketingActions({
|
|
|
3731
3827
|
}) {
|
|
3732
3828
|
if (actions.length === 0)
|
|
3733
3829
|
return null;
|
|
3734
|
-
return /* @__PURE__ */
|
|
3830
|
+
return /* @__PURE__ */ jsx3("div", {
|
|
3735
3831
|
className,
|
|
3736
3832
|
children: actions.map((action, index) => {
|
|
3737
3833
|
const emphasis = action.emphasis ?? (index === 0 ? "primary" : "secondary");
|
|
@@ -3755,7 +3851,7 @@ function MarketingPage({
|
|
|
3755
3851
|
if (preset !== undefined && preset !== "editorial" && preset !== "minimal")
|
|
3756
3852
|
throw new RangeError("Unknown marketing preset.");
|
|
3757
3853
|
assertMarketingPattern(pattern);
|
|
3758
|
-
return /* @__PURE__ */
|
|
3854
|
+
return /* @__PURE__ */ jsx3("div", {
|
|
3759
3855
|
className: marketingClassName("hraness-marketing-page", className),
|
|
3760
3856
|
"data-hraness-marketing": "page",
|
|
3761
3857
|
"data-hraness-marketing-preset": preset,
|
|
@@ -3770,7 +3866,7 @@ function MarketingField({
|
|
|
3770
3866
|
pattern
|
|
3771
3867
|
}) {
|
|
3772
3868
|
assertMarketingPattern(pattern);
|
|
3773
|
-
return /* @__PURE__ */
|
|
3869
|
+
return /* @__PURE__ */ jsx3("div", {
|
|
3774
3870
|
className: ["hraness-marketing-field", className].filter(Boolean).join(" "),
|
|
3775
3871
|
"data-hraness-marketing": "field",
|
|
3776
3872
|
"data-hraness-pattern": pattern,
|
|
@@ -3785,7 +3881,7 @@ function MarketingMain({
|
|
|
3785
3881
|
}) {
|
|
3786
3882
|
if (clearance !== "scroll" && clearance !== "pad")
|
|
3787
3883
|
throw new RangeError("Marketing main clearance must be scroll or pad.");
|
|
3788
|
-
return /* @__PURE__ */
|
|
3884
|
+
return /* @__PURE__ */ jsx3("main", {
|
|
3789
3885
|
className: marketingClassName("hraness-marketing-main", className, clearance === "pad" ? "pad" : "default"),
|
|
3790
3886
|
"data-hraness-clearance": clearance === "pad" ? "pad" : undefined,
|
|
3791
3887
|
"data-hraness-marketing": "main",
|
|
@@ -3805,7 +3901,7 @@ function MarketingCardRow({
|
|
|
3805
3901
|
className: marketingColumnClassName("hraness-marketing-card-row", className, columns),
|
|
3806
3902
|
"data-hraness-marketing": "card-row",
|
|
3807
3903
|
children: [
|
|
3808
|
-
cards?.map((card) => /* @__PURE__ */
|
|
3904
|
+
cards?.map((card) => /* @__PURE__ */ jsx3(MarketingCard, {
|
|
3809
3905
|
title: card.title,
|
|
3810
3906
|
...card.art === undefined ? {} : {
|
|
3811
3907
|
art: card.art
|
|
@@ -3825,7 +3921,7 @@ function MarketingCardArt({
|
|
|
3825
3921
|
children,
|
|
3826
3922
|
className
|
|
3827
3923
|
}) {
|
|
3828
|
-
return /* @__PURE__ */
|
|
3924
|
+
return /* @__PURE__ */ jsx3("div", {
|
|
3829
3925
|
className: marketingClassName("hraness-marketing-card__art", className),
|
|
3830
3926
|
"data-hraness-marketing": "card-art",
|
|
3831
3927
|
children
|
|
@@ -3844,31 +3940,31 @@ function MarketingCard({
|
|
|
3844
3940
|
}) {
|
|
3845
3941
|
const body = /* @__PURE__ */ jsxs3(Fragment2, {
|
|
3846
3942
|
children: [
|
|
3847
|
-
isPresentNode(art) ? /* @__PURE__ */
|
|
3943
|
+
isPresentNode(art) ? /* @__PURE__ */ jsx3(MarketingCardArt, {
|
|
3848
3944
|
children: art
|
|
3849
3945
|
}) : null,
|
|
3850
|
-
/* @__PURE__ */
|
|
3946
|
+
/* @__PURE__ */ jsx3("h3", {
|
|
3851
3947
|
className: marketingClassName("hraness-marketing-card__title"),
|
|
3852
3948
|
children: title
|
|
3853
3949
|
}),
|
|
3854
|
-
meta === undefined || meta === "" ? null : /* @__PURE__ */
|
|
3950
|
+
meta === undefined || meta === "" ? null : /* @__PURE__ */ jsx3("p", {
|
|
3855
3951
|
className: marketingClassName("hraness-marketing-card__meta"),
|
|
3856
3952
|
children: meta
|
|
3857
3953
|
}),
|
|
3858
|
-
isPresentNode(children) ? /* @__PURE__ */
|
|
3954
|
+
isPresentNode(children) ? /* @__PURE__ */ jsx3("div", {
|
|
3859
3955
|
className: marketingClassName("hraness-marketing-card__body"),
|
|
3860
3956
|
children
|
|
3861
3957
|
}) : null
|
|
3862
3958
|
]
|
|
3863
3959
|
});
|
|
3864
3960
|
if (href === undefined) {
|
|
3865
|
-
return /* @__PURE__ */
|
|
3961
|
+
return /* @__PURE__ */ jsx3("article", {
|
|
3866
3962
|
className: marketingClassName("hraness-marketing-card", className),
|
|
3867
3963
|
"data-hraness-marketing": "card",
|
|
3868
3964
|
children: body
|
|
3869
3965
|
});
|
|
3870
3966
|
}
|
|
3871
|
-
return /* @__PURE__ */
|
|
3967
|
+
return /* @__PURE__ */ jsx3("a", {
|
|
3872
3968
|
className: marketingClassName("hraness-marketing-card", className),
|
|
3873
3969
|
"data-hraness-marketing": "card",
|
|
3874
3970
|
href,
|
|
@@ -3890,7 +3986,7 @@ function MarketingSiteHeader({
|
|
|
3890
3986
|
const brandProperties = brandLabel === undefined ? {} : {
|
|
3891
3987
|
"aria-label": brandLabel
|
|
3892
3988
|
};
|
|
3893
|
-
return /* @__PURE__ */
|
|
3989
|
+
return /* @__PURE__ */ jsx3("header", {
|
|
3894
3990
|
className: marketingClassName("hraness-marketing-header", className, sticky ? "default" : "static"),
|
|
3895
3991
|
"data-hraness-marketing": "header",
|
|
3896
3992
|
"data-position": sticky ? "sticky" : "static",
|
|
@@ -3903,16 +3999,16 @@ function MarketingSiteHeader({
|
|
|
3903
3999
|
href: brandHref,
|
|
3904
4000
|
...brandProperties,
|
|
3905
4001
|
children: [
|
|
3906
|
-
brandMark === undefined ? null : /* @__PURE__ */
|
|
4002
|
+
brandMark === undefined ? null : /* @__PURE__ */ jsx3(FoilMark, {
|
|
3907
4003
|
src: brandMark
|
|
3908
4004
|
}),
|
|
3909
4005
|
brand
|
|
3910
4006
|
]
|
|
3911
4007
|
}),
|
|
3912
|
-
/* @__PURE__ */
|
|
4008
|
+
/* @__PURE__ */ jsx3("nav", {
|
|
3913
4009
|
"aria-label": ariaLabel,
|
|
3914
4010
|
className: marketingClassName("hraness-marketing-header__nav"),
|
|
3915
|
-
children: links.map((link) => /* @__PURE__ */
|
|
4011
|
+
children: links.map((link) => /* @__PURE__ */ jsx3("a", {
|
|
3916
4012
|
"aria-current": link.current === true ? "page" : undefined,
|
|
3917
4013
|
className: marketingClassName("hraness-marketing-header__link", undefined, link.current === true ? "current" : "default"),
|
|
3918
4014
|
href: link.href,
|
|
@@ -3922,7 +4018,7 @@ function MarketingSiteHeader({
|
|
|
3922
4018
|
action === undefined && trailing === undefined ? null : /* @__PURE__ */ jsxs3("div", {
|
|
3923
4019
|
className: marketingClassName("hraness-marketing-header__actions"),
|
|
3924
4020
|
children: [
|
|
3925
|
-
action === undefined ? null : /* @__PURE__ */
|
|
4021
|
+
action === undefined ? null : /* @__PURE__ */ jsx3("a", {
|
|
3926
4022
|
className: marketingClassName("hraness-marketing-action", undefined, `header-${action.emphasis ?? "primary"}`),
|
|
3927
4023
|
"data-emphasis": action.emphasis ?? "primary",
|
|
3928
4024
|
"data-foil": (action.emphasis ?? "primary") === "primary" ? "" : undefined,
|
|
@@ -3952,7 +4048,7 @@ function MarketingSiteFooter({
|
|
|
3952
4048
|
"aria-label": brandLabel
|
|
3953
4049
|
};
|
|
3954
4050
|
const foilBrand = brandMark !== undefined;
|
|
3955
|
-
return /* @__PURE__ */
|
|
4051
|
+
return /* @__PURE__ */ jsx3("footer", {
|
|
3956
4052
|
"aria-label": ariaLabel,
|
|
3957
4053
|
className: marketingClassName("hraness-marketing-footer", className),
|
|
3958
4054
|
"data-hraness-marketing": "footer",
|
|
@@ -3965,22 +4061,22 @@ function MarketingSiteFooter({
|
|
|
3965
4061
|
href: brandHref,
|
|
3966
4062
|
...brandProperties,
|
|
3967
4063
|
children: [
|
|
3968
|
-
foilBrand ? /* @__PURE__ */
|
|
4064
|
+
foilBrand ? /* @__PURE__ */ jsx3(FoilMark, {
|
|
3969
4065
|
fallback: brand,
|
|
3970
4066
|
size: 18,
|
|
3971
4067
|
src: brandMark
|
|
3972
4068
|
}) : brand,
|
|
3973
|
-
/* @__PURE__ */
|
|
4069
|
+
/* @__PURE__ */ jsx3("span", {
|
|
3974
4070
|
className: marketingClassName("hraness-marketing-footer__name"),
|
|
3975
4071
|
children: name
|
|
3976
4072
|
})
|
|
3977
4073
|
]
|
|
3978
4074
|
}),
|
|
3979
4075
|
children,
|
|
3980
|
-
links.length === 0 ? null : /* @__PURE__ */
|
|
4076
|
+
links.length === 0 ? null : /* @__PURE__ */ jsx3("nav", {
|
|
3981
4077
|
"aria-label": linksLabel,
|
|
3982
4078
|
className: marketingClassName("hraness-marketing-footer__nav"),
|
|
3983
|
-
children: links.map((link) => /* @__PURE__ */
|
|
4079
|
+
children: links.map((link) => /* @__PURE__ */ jsx3("a", {
|
|
3984
4080
|
"aria-current": link.current === true ? "page" : undefined,
|
|
3985
4081
|
className: marketingClassName("hraness-marketing-footer__link", undefined, link.current === true ? "current" : "default"),
|
|
3986
4082
|
href: link.href,
|
|
@@ -3996,14 +4092,14 @@ function MarketingFlow({
|
|
|
3996
4092
|
className,
|
|
3997
4093
|
steps
|
|
3998
4094
|
}) {
|
|
3999
|
-
return /* @__PURE__ */
|
|
4095
|
+
return /* @__PURE__ */ jsx3("ol", {
|
|
4000
4096
|
"aria-label": ariaLabel,
|
|
4001
4097
|
className: marketingClassName("hraness-marketing-flow", className),
|
|
4002
4098
|
"data-hraness-marketing": "flow",
|
|
4003
4099
|
children: steps.map((step, index) => /* @__PURE__ */ jsxs3("li", {
|
|
4004
4100
|
className: marketingClassName("hraness-marketing-flow__step", undefined, index === 0 ? "first" : "default"),
|
|
4005
4101
|
children: [
|
|
4006
|
-
/* @__PURE__ */
|
|
4102
|
+
/* @__PURE__ */ jsx3("span", {
|
|
4007
4103
|
"aria-hidden": "true",
|
|
4008
4104
|
className: marketingClassName("hraness-marketing-flow__number"),
|
|
4009
4105
|
children: String(index + 1).padStart(2, "0")
|
|
@@ -4011,16 +4107,16 @@ function MarketingFlow({
|
|
|
4011
4107
|
/* @__PURE__ */ jsxs3("div", {
|
|
4012
4108
|
className: marketingClassName("hraness-marketing-flow__body"),
|
|
4013
4109
|
children: [
|
|
4014
|
-
/* @__PURE__ */
|
|
4110
|
+
/* @__PURE__ */ jsx3("strong", {
|
|
4015
4111
|
className: marketingClassName("hraness-marketing-flow__label"),
|
|
4016
4112
|
children: step.label
|
|
4017
4113
|
}),
|
|
4018
|
-
step.code === undefined ? null : /* @__PURE__ */
|
|
4114
|
+
step.code === undefined ? null : /* @__PURE__ */ jsx3(SyntaxCode, {
|
|
4019
4115
|
className: marketingClassName("hraness-marketing-flow__code"),
|
|
4020
4116
|
code: step.code,
|
|
4021
4117
|
styles: "classes"
|
|
4022
4118
|
}),
|
|
4023
|
-
step.detail === undefined ? null : /* @__PURE__ */
|
|
4119
|
+
step.detail === undefined ? null : /* @__PURE__ */ jsx3("p", {
|
|
4024
4120
|
className: marketingClassName("hraness-marketing-flow__detail"),
|
|
4025
4121
|
children: step.detail
|
|
4026
4122
|
})
|
|
@@ -4038,7 +4134,7 @@ function MarketingFacts({
|
|
|
4038
4134
|
const rootClassName = marketingColumnClassName("hraness-marketing-facts", className, columns);
|
|
4039
4135
|
if (facts.length === 0)
|
|
4040
4136
|
return null;
|
|
4041
|
-
return /* @__PURE__ */
|
|
4137
|
+
return /* @__PURE__ */ jsx3("dl", {
|
|
4042
4138
|
className: rootClassName,
|
|
4043
4139
|
"data-hraness-marketing": "facts",
|
|
4044
4140
|
style: columns === undefined ? {
|
|
@@ -4047,18 +4143,18 @@ function MarketingFacts({
|
|
|
4047
4143
|
children: facts.map((fact, index) => /* @__PURE__ */ jsxs3("div", {
|
|
4048
4144
|
className: marketingClassName("hraness-marketing-facts__item", undefined, marketingFactCellVariant(index)),
|
|
4049
4145
|
children: [
|
|
4050
|
-
/* @__PURE__ */
|
|
4146
|
+
/* @__PURE__ */ jsx3("dt", {
|
|
4051
4147
|
className: marketingClassName("hraness-marketing-facts__label"),
|
|
4052
4148
|
children: fact.label
|
|
4053
4149
|
}),
|
|
4054
4150
|
/* @__PURE__ */ jsxs3("dd", {
|
|
4055
4151
|
className: marketingClassName("hraness-marketing-facts__body"),
|
|
4056
4152
|
children: [
|
|
4057
|
-
/* @__PURE__ */
|
|
4153
|
+
/* @__PURE__ */ jsx3("strong", {
|
|
4058
4154
|
className: marketingClassName("hraness-marketing-facts__value"),
|
|
4059
4155
|
children: fact.value
|
|
4060
4156
|
}),
|
|
4061
|
-
fact.detail === undefined ? null : /* @__PURE__ */
|
|
4157
|
+
fact.detail === undefined ? null : /* @__PURE__ */ jsx3("span", {
|
|
4062
4158
|
className: marketingClassName("hraness-marketing-facts__detail"),
|
|
4063
4159
|
children: fact.detail
|
|
4064
4160
|
})
|
|
@@ -4081,6 +4177,7 @@ function ProductHero({
|
|
|
4081
4177
|
heading,
|
|
4082
4178
|
headingId,
|
|
4083
4179
|
headingLevel = 1,
|
|
4180
|
+
install,
|
|
4084
4181
|
name,
|
|
4085
4182
|
notice,
|
|
4086
4183
|
proof,
|
|
@@ -4097,42 +4194,46 @@ function ProductHero({
|
|
|
4097
4194
|
/* @__PURE__ */ jsxs3("div", {
|
|
4098
4195
|
className: marketingClassName("hraness-marketing-hero__copy", undefined, align === "start" ? "start" : "default"),
|
|
4099
4196
|
children: [
|
|
4100
|
-
eyebrow === undefined || eyebrow === "" ? null : /* @__PURE__ */
|
|
4197
|
+
eyebrow === undefined || eyebrow === "" ? null : /* @__PURE__ */ jsx3("p", {
|
|
4101
4198
|
className: marketingClassName("hraness-marketing-hero__eyebrow", undefined, tone === "accent" ? "accent" : "default"),
|
|
4102
4199
|
children: eyebrow
|
|
4103
4200
|
}),
|
|
4104
|
-
/* @__PURE__ */
|
|
4201
|
+
name === "" ? null : /* @__PURE__ */ jsx3("p", {
|
|
4105
4202
|
className: marketingClassName("hraness-marketing-hero__name"),
|
|
4106
4203
|
children: name
|
|
4107
4204
|
}),
|
|
4108
|
-
/* @__PURE__ */
|
|
4205
|
+
/* @__PURE__ */ jsx3(Heading, {
|
|
4109
4206
|
className: marketingClassName("hraness-marketing-hero__heading"),
|
|
4110
4207
|
id: headingId,
|
|
4111
4208
|
level: headingLevel,
|
|
4112
4209
|
children: heading
|
|
4113
4210
|
}),
|
|
4114
|
-
/* @__PURE__ */
|
|
4211
|
+
/* @__PURE__ */ jsx3("p", {
|
|
4115
4212
|
className: marketingClassName("hraness-marketing-hero__summary"),
|
|
4116
4213
|
children: summary
|
|
4117
4214
|
}),
|
|
4118
|
-
|
|
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", {
|
|
4119
4220
|
className: marketingClassName("hraness-marketing-hero__example"),
|
|
4120
4221
|
children: example
|
|
4121
4222
|
}),
|
|
4122
|
-
/* @__PURE__ */
|
|
4223
|
+
/* @__PURE__ */ jsx3(MarketingActions, {
|
|
4123
4224
|
actions,
|
|
4124
4225
|
className: marketingClassName("hraness-marketing-hero__actions", undefined, align === "start" ? "start" : "default"),
|
|
4125
4226
|
context: "hero",
|
|
4126
4227
|
tone
|
|
4127
4228
|
}),
|
|
4128
|
-
boundary === undefined ? null : /* @__PURE__ */
|
|
4229
|
+
boundary === undefined ? null : /* @__PURE__ */ jsx3("p", {
|
|
4129
4230
|
className: marketingClassName("hraness-marketing-hero__boundary"),
|
|
4130
4231
|
children: boundary
|
|
4131
4232
|
}),
|
|
4132
4233
|
notice
|
|
4133
4234
|
]
|
|
4134
4235
|
}),
|
|
4135
|
-
frame === undefined ? null : /* @__PURE__ */
|
|
4236
|
+
frame === undefined ? null : /* @__PURE__ */ jsx3("div", {
|
|
4136
4237
|
className: marketingClassName("hraness-marketing-hero__frame"),
|
|
4137
4238
|
children: frame
|
|
4138
4239
|
}),
|
|
@@ -4140,11 +4241,11 @@ function ProductHero({
|
|
|
4140
4241
|
className: marketingClassName("hraness-marketing-proof"),
|
|
4141
4242
|
"aria-labelledby": `${headingId}-proof`,
|
|
4142
4243
|
children: [
|
|
4143
|
-
proof.kicker === undefined ? null : /* @__PURE__ */
|
|
4244
|
+
proof.kicker === undefined ? null : /* @__PURE__ */ jsx3("p", {
|
|
4144
4245
|
className: marketingClassName("hraness-marketing-proof__kicker"),
|
|
4145
4246
|
children: proof.kicker
|
|
4146
4247
|
}),
|
|
4147
|
-
/* @__PURE__ */
|
|
4248
|
+
/* @__PURE__ */ jsx3(Heading, {
|
|
4148
4249
|
className: marketingClassName("hraness-marketing-proof__heading"),
|
|
4149
4250
|
id: `${headingId}-proof`,
|
|
4150
4251
|
level: childHeadingLevel(headingLevel),
|
|
@@ -4153,7 +4254,7 @@ function ProductHero({
|
|
|
4153
4254
|
proof.content
|
|
4154
4255
|
]
|
|
4155
4256
|
}),
|
|
4156
|
-
/* @__PURE__ */
|
|
4257
|
+
/* @__PURE__ */ jsx3(MarketingFacts, {
|
|
4157
4258
|
facts,
|
|
4158
4259
|
...factsColumns === undefined ? {} : {
|
|
4159
4260
|
columns: factsColumns
|
|
@@ -4166,26 +4267,35 @@ function MarketingPillars({
|
|
|
4166
4267
|
ariaLabel,
|
|
4167
4268
|
className,
|
|
4168
4269
|
columns,
|
|
4169
|
-
pillars
|
|
4270
|
+
pillars,
|
|
4271
|
+
presentation = "columns"
|
|
4170
4272
|
}) {
|
|
4171
|
-
const rootClassName = marketingColumnClassName("hraness-marketing-pillars", className, columns);
|
|
4273
|
+
const rootClassName = marketingColumnClassName("hraness-marketing-pillars", className, columns, presentation === "benefits" ? "benefits" : "default");
|
|
4172
4274
|
if (pillars.length === 0)
|
|
4173
4275
|
return null;
|
|
4174
|
-
return /* @__PURE__ */
|
|
4276
|
+
return /* @__PURE__ */ jsx3("dl", {
|
|
4175
4277
|
"aria-label": ariaLabel,
|
|
4176
4278
|
className: rootClassName,
|
|
4177
4279
|
"data-hraness-marketing": "pillars",
|
|
4280
|
+
"data-presentation": presentation,
|
|
4178
4281
|
style: columns === undefined ? {
|
|
4179
4282
|
"--hraness-marketing-pillar-columns": String(pillars.length)
|
|
4180
4283
|
} : undefined,
|
|
4181
4284
|
children: pillars.map((pillar, index) => /* @__PURE__ */ jsxs3("div", {
|
|
4182
|
-
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"),
|
|
4183
4286
|
children: [
|
|
4184
|
-
/* @__PURE__ */
|
|
4287
|
+
/* @__PURE__ */ jsxs3("dt", {
|
|
4185
4288
|
className: marketingClassName("hraness-marketing-pillars__label"),
|
|
4186
|
-
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
|
+
]
|
|
4187
4297
|
}),
|
|
4188
|
-
/* @__PURE__ */
|
|
4298
|
+
/* @__PURE__ */ jsx3("dd", {
|
|
4189
4299
|
className: marketingClassName("hraness-marketing-pillars__summary"),
|
|
4190
4300
|
children: pillar.summary
|
|
4191
4301
|
})
|
|
@@ -4212,11 +4322,11 @@ function MarketingInstallPanel({
|
|
|
4212
4322
|
/* @__PURE__ */ jsxs3("div", {
|
|
4213
4323
|
className: marketingClassName("hraness-marketing-install__heading-group"),
|
|
4214
4324
|
children: [
|
|
4215
|
-
eyebrow === undefined || eyebrow === "" ? null : /* @__PURE__ */
|
|
4325
|
+
eyebrow === undefined || eyebrow === "" ? null : /* @__PURE__ */ jsx3("p", {
|
|
4216
4326
|
className: marketingClassName("hraness-marketing-install__eyebrow"),
|
|
4217
4327
|
children: eyebrow
|
|
4218
4328
|
}),
|
|
4219
|
-
/* @__PURE__ */
|
|
4329
|
+
/* @__PURE__ */ jsx3(Heading, {
|
|
4220
4330
|
className: marketingClassName("hraness-marketing-install__heading"),
|
|
4221
4331
|
id: headingId,
|
|
4222
4332
|
level: headingLevel,
|
|
@@ -4225,7 +4335,7 @@ function MarketingInstallPanel({
|
|
|
4225
4335
|
note
|
|
4226
4336
|
]
|
|
4227
4337
|
}),
|
|
4228
|
-
/* @__PURE__ */
|
|
4338
|
+
/* @__PURE__ */ jsx3("div", {
|
|
4229
4339
|
className: marketingClassName("hraness-marketing-install__commands"),
|
|
4230
4340
|
children
|
|
4231
4341
|
})
|
|
@@ -4275,37 +4385,37 @@ function MarketingProofFrame({
|
|
|
4275
4385
|
/* @__PURE__ */ jsxs3("span", {
|
|
4276
4386
|
className: marketingClassName("hraness-marketing-proof-frame__lights"),
|
|
4277
4387
|
children: [
|
|
4278
|
-
/* @__PURE__ */
|
|
4388
|
+
/* @__PURE__ */ jsx3("span", {
|
|
4279
4389
|
className: marketingClassName("hraness-marketing-proof-frame__light")
|
|
4280
4390
|
}),
|
|
4281
|
-
/* @__PURE__ */
|
|
4391
|
+
/* @__PURE__ */ jsx3("span", {
|
|
4282
4392
|
className: marketingClassName("hraness-marketing-proof-frame__light")
|
|
4283
4393
|
}),
|
|
4284
|
-
/* @__PURE__ */
|
|
4394
|
+
/* @__PURE__ */ jsx3("span", {
|
|
4285
4395
|
className: marketingClassName("hraness-marketing-proof-frame__light")
|
|
4286
4396
|
})
|
|
4287
4397
|
]
|
|
4288
4398
|
}),
|
|
4289
|
-
bar === "browser" ? /* @__PURE__ */
|
|
4399
|
+
bar === "browser" ? /* @__PURE__ */ jsx3("span", {
|
|
4290
4400
|
className: marketingClassName("hraness-marketing-proof-frame__address"),
|
|
4291
4401
|
children: label
|
|
4292
|
-
}) : /* @__PURE__ */
|
|
4402
|
+
}) : /* @__PURE__ */ jsx3("span", {
|
|
4293
4403
|
className: marketingClassName("hraness-marketing-proof-frame__title", undefined, bar === "terminal" ? "terminal" : "default"),
|
|
4294
4404
|
children: label
|
|
4295
4405
|
})
|
|
4296
4406
|
]
|
|
4297
4407
|
}),
|
|
4298
|
-
/* @__PURE__ */
|
|
4408
|
+
/* @__PURE__ */ jsx3("div", {
|
|
4299
4409
|
className: marketingClassName("hraness-marketing-proof-frame__content"),
|
|
4300
4410
|
children
|
|
4301
4411
|
}),
|
|
4302
4412
|
caption === undefined && credit === undefined ? null : /* @__PURE__ */ jsxs3("figcaption", {
|
|
4303
4413
|
className: marketingClassName("hraness-marketing-proof-frame__caption"),
|
|
4304
4414
|
children: [
|
|
4305
|
-
caption === undefined ? null : /* @__PURE__ */
|
|
4415
|
+
caption === undefined ? null : /* @__PURE__ */ jsx3("span", {
|
|
4306
4416
|
children: caption
|
|
4307
4417
|
}),
|
|
4308
|
-
credit === undefined ? null : /* @__PURE__ */
|
|
4418
|
+
credit === undefined ? null : /* @__PURE__ */ jsx3("small", {
|
|
4309
4419
|
className: marketingClassName("hraness-marketing-proof-frame__credit"),
|
|
4310
4420
|
children: credit
|
|
4311
4421
|
})
|
|
@@ -4343,24 +4453,24 @@ function MarketingDataTable({
|
|
|
4343
4453
|
/* @__PURE__ */ jsxs3("figcaption", {
|
|
4344
4454
|
className: marketingClassName("hraness-marketing-data-table__head"),
|
|
4345
4455
|
children: [
|
|
4346
|
-
/* @__PURE__ */
|
|
4456
|
+
/* @__PURE__ */ jsx3("span", {
|
|
4347
4457
|
className: marketingClassName("hraness-marketing-data-table__title"),
|
|
4348
4458
|
children: caption
|
|
4349
4459
|
}),
|
|
4350
|
-
meta === undefined ? null : /* @__PURE__ */
|
|
4460
|
+
meta === undefined ? null : /* @__PURE__ */ jsx3("span", {
|
|
4351
4461
|
className: marketingClassName("hraness-marketing-data-table__meta"),
|
|
4352
4462
|
children: meta
|
|
4353
4463
|
})
|
|
4354
4464
|
]
|
|
4355
4465
|
}),
|
|
4356
|
-
/* @__PURE__ */
|
|
4466
|
+
/* @__PURE__ */ jsx3("div", {
|
|
4357
4467
|
className: marketingClassName("hraness-marketing-data-table__scroll"),
|
|
4358
4468
|
children: /* @__PURE__ */ jsxs3("table", {
|
|
4359
4469
|
className: marketingClassName("hraness-marketing-data-table__table"),
|
|
4360
4470
|
children: [
|
|
4361
|
-
/* @__PURE__ */
|
|
4362
|
-
children: /* @__PURE__ */
|
|
4363
|
-
children: columns.map((column, index) => /* @__PURE__ */
|
|
4471
|
+
/* @__PURE__ */ jsx3("thead", {
|
|
4472
|
+
children: /* @__PURE__ */ jsx3("tr", {
|
|
4473
|
+
children: columns.map((column, index) => /* @__PURE__ */ jsx3("th", {
|
|
4364
4474
|
className: marketingClassName("hraness-marketing-data-table__heading"),
|
|
4365
4475
|
"data-numeric": column.numeric === true ? "" : undefined,
|
|
4366
4476
|
scope: "col",
|
|
@@ -4368,22 +4478,22 @@ function MarketingDataTable({
|
|
|
4368
4478
|
}, index))
|
|
4369
4479
|
})
|
|
4370
4480
|
}),
|
|
4371
|
-
/* @__PURE__ */
|
|
4372
|
-
children: rows.map((row, rowIndex) => /* @__PURE__ */
|
|
4481
|
+
/* @__PURE__ */ jsx3("tbody", {
|
|
4482
|
+
children: rows.map((row, rowIndex) => /* @__PURE__ */ jsx3("tr", {
|
|
4373
4483
|
children: row.map((cell, cellIndex) => {
|
|
4374
4484
|
const {
|
|
4375
4485
|
content,
|
|
4376
4486
|
tone
|
|
4377
4487
|
} = dataTableCell(cell);
|
|
4378
4488
|
if (cellIndex === 0) {
|
|
4379
|
-
return /* @__PURE__ */
|
|
4489
|
+
return /* @__PURE__ */ jsx3("th", {
|
|
4380
4490
|
className: marketingClassName("hraness-marketing-data-table__row-heading"),
|
|
4381
4491
|
"data-numeric": columns[0]?.numeric === true ? "" : undefined,
|
|
4382
4492
|
scope: "row",
|
|
4383
4493
|
children: content
|
|
4384
4494
|
}, cellIndex);
|
|
4385
4495
|
}
|
|
4386
|
-
return /* @__PURE__ */
|
|
4496
|
+
return /* @__PURE__ */ jsx3("td", {
|
|
4387
4497
|
className: marketingClassName("hraness-marketing-data-table__cell"),
|
|
4388
4498
|
"data-numeric": columns[cellIndex]?.numeric === true ? "" : undefined,
|
|
4389
4499
|
"data-tone": tone,
|
|
@@ -4395,7 +4505,7 @@ function MarketingDataTable({
|
|
|
4395
4505
|
]
|
|
4396
4506
|
})
|
|
4397
4507
|
}),
|
|
4398
|
-
note === undefined ? null : /* @__PURE__ */
|
|
4508
|
+
note === undefined ? null : /* @__PURE__ */ jsx3("p", {
|
|
4399
4509
|
className: marketingClassName("hraness-marketing-data-table__note"),
|
|
4400
4510
|
children: note
|
|
4401
4511
|
})
|
|
@@ -4407,10 +4517,10 @@ function MarketingCodeBlock({
|
|
|
4407
4517
|
code,
|
|
4408
4518
|
language
|
|
4409
4519
|
}) {
|
|
4410
|
-
return /* @__PURE__ */
|
|
4520
|
+
return /* @__PURE__ */ jsx3("pre", {
|
|
4411
4521
|
className: marketingClassName("hraness-marketing-code", className),
|
|
4412
4522
|
"data-hraness-marketing": "code",
|
|
4413
|
-
children: /* @__PURE__ */
|
|
4523
|
+
children: /* @__PURE__ */ jsx3(SyntaxCode, {
|
|
4414
4524
|
code,
|
|
4415
4525
|
...language === undefined ? {} : {
|
|
4416
4526
|
language
|
|
@@ -4426,7 +4536,7 @@ function MarketingSectionLabel({
|
|
|
4426
4536
|
}) {
|
|
4427
4537
|
if (size !== "default" && size !== "body")
|
|
4428
4538
|
throw new RangeError("Marketing label size must be default or body.");
|
|
4429
|
-
return /* @__PURE__ */
|
|
4539
|
+
return /* @__PURE__ */ jsx3("p", {
|
|
4430
4540
|
className: marketingClassName("hraness-marketing-section__label", className, size),
|
|
4431
4541
|
"data-size": size === "body" ? "body" : undefined,
|
|
4432
4542
|
children
|
|
@@ -4454,26 +4564,26 @@ function MarketingSection({
|
|
|
4454
4564
|
/* @__PURE__ */ jsxs3("div", {
|
|
4455
4565
|
className: marketingClassName("hraness-marketing-section__heading-group", undefined, layout === "stack" ? "default" : layout === "split" ? "split" : "reverse"),
|
|
4456
4566
|
children: [
|
|
4457
|
-
label === undefined || label === "" ? null : /* @__PURE__ */
|
|
4567
|
+
label === undefined || label === "" ? null : /* @__PURE__ */ jsx3(MarketingSectionLabel, {
|
|
4458
4568
|
children: label
|
|
4459
4569
|
}),
|
|
4460
|
-
/* @__PURE__ */
|
|
4570
|
+
/* @__PURE__ */ jsx3(Heading, {
|
|
4461
4571
|
className: marketingClassName("hraness-marketing-section__heading"),
|
|
4462
4572
|
id: headingId,
|
|
4463
4573
|
level: headingLevel,
|
|
4464
4574
|
children: heading
|
|
4465
4575
|
}),
|
|
4466
|
-
summary === undefined ? null : /* @__PURE__ */
|
|
4576
|
+
summary === undefined ? null : /* @__PURE__ */ jsx3("p", {
|
|
4467
4577
|
className: marketingClassName("hraness-marketing-section__summary"),
|
|
4468
4578
|
children: summary
|
|
4469
4579
|
}),
|
|
4470
|
-
isPresentNode(headingContent) ? /* @__PURE__ */
|
|
4580
|
+
isPresentNode(headingContent) ? /* @__PURE__ */ jsx3("div", {
|
|
4471
4581
|
className: marketingClassName("hraness-marketing-section__heading-content"),
|
|
4472
4582
|
children: headingContent
|
|
4473
4583
|
}) : null
|
|
4474
4584
|
]
|
|
4475
4585
|
}),
|
|
4476
|
-
/* @__PURE__ */
|
|
4586
|
+
/* @__PURE__ */ jsx3("div", {
|
|
4477
4587
|
className: marketingClassName("hraness-marketing-section__body"),
|
|
4478
4588
|
children
|
|
4479
4589
|
})
|
|
@@ -4491,17 +4601,17 @@ function MarketingCollectionHeader({
|
|
|
4491
4601
|
return /* @__PURE__ */ jsxs3("header", {
|
|
4492
4602
|
className: marketingClassName(`hraness-marketing-${prefix}__header`),
|
|
4493
4603
|
children: [
|
|
4494
|
-
label === undefined || label === "" ? null : /* @__PURE__ */
|
|
4604
|
+
label === undefined || label === "" ? null : /* @__PURE__ */ jsx3("p", {
|
|
4495
4605
|
className: marketingClassName(`hraness-marketing-${prefix}__label`),
|
|
4496
4606
|
children: label
|
|
4497
4607
|
}),
|
|
4498
|
-
/* @__PURE__ */
|
|
4608
|
+
/* @__PURE__ */ jsx3(Heading, {
|
|
4499
4609
|
className: marketingClassName(`hraness-marketing-${prefix}__heading`),
|
|
4500
4610
|
id: headingId,
|
|
4501
4611
|
level: headingLevel,
|
|
4502
4612
|
children: heading
|
|
4503
4613
|
}),
|
|
4504
|
-
summary === undefined ? null : /* @__PURE__ */
|
|
4614
|
+
summary === undefined ? null : /* @__PURE__ */ jsx3("p", {
|
|
4505
4615
|
className: marketingClassName(`hraness-marketing-${prefix}__summary`),
|
|
4506
4616
|
children: summary
|
|
4507
4617
|
})
|
|
@@ -4525,7 +4635,7 @@ function MarketingPrimitives({
|
|
|
4525
4635
|
"data-hraness-marketing": "primitives",
|
|
4526
4636
|
id,
|
|
4527
4637
|
children: [
|
|
4528
|
-
/* @__PURE__ */
|
|
4638
|
+
/* @__PURE__ */ jsx3(MarketingCollectionHeader, {
|
|
4529
4639
|
...{
|
|
4530
4640
|
heading,
|
|
4531
4641
|
headingId,
|
|
@@ -4535,22 +4645,22 @@ function MarketingPrimitives({
|
|
|
4535
4645
|
},
|
|
4536
4646
|
prefix: "primitives"
|
|
4537
4647
|
}),
|
|
4538
|
-
/* @__PURE__ */
|
|
4648
|
+
/* @__PURE__ */ jsx3("ol", {
|
|
4539
4649
|
className: marketingColumnClassName("hraness-marketing-primitives__list", undefined, columns),
|
|
4540
4650
|
children: items.map((item, index) => /* @__PURE__ */ jsxs3("li", {
|
|
4541
4651
|
className: marketingClassName("hraness-marketing-primitive"),
|
|
4542
4652
|
children: [
|
|
4543
|
-
/* @__PURE__ */
|
|
4653
|
+
/* @__PURE__ */ jsx3("span", {
|
|
4544
4654
|
"aria-hidden": "true",
|
|
4545
4655
|
className: marketingClassName("hraness-marketing-primitive__number"),
|
|
4546
4656
|
children: String(index + 1).padStart(2, "0")
|
|
4547
4657
|
}),
|
|
4548
|
-
/* @__PURE__ */
|
|
4658
|
+
/* @__PURE__ */ jsx3(Heading, {
|
|
4549
4659
|
className: marketingClassName("hraness-marketing-primitive__heading"),
|
|
4550
4660
|
level: childHeadingLevel(headingLevel),
|
|
4551
4661
|
children: item.label
|
|
4552
4662
|
}),
|
|
4553
|
-
/* @__PURE__ */
|
|
4663
|
+
/* @__PURE__ */ jsx3("p", {
|
|
4554
4664
|
className: marketingClassName("hraness-marketing-primitive__summary"),
|
|
4555
4665
|
children: item.summary
|
|
4556
4666
|
}),
|
|
@@ -4568,7 +4678,7 @@ function MarketingNotice({
|
|
|
4568
4678
|
}) {
|
|
4569
4679
|
if (tone !== "info" && tone !== "success" && tone !== "error")
|
|
4570
4680
|
throw new RangeError("Marketing notice tone must be info, success, or error.");
|
|
4571
|
-
return /* @__PURE__ */
|
|
4681
|
+
return /* @__PURE__ */ jsx3("p", {
|
|
4572
4682
|
className: marketingClassName("hraness-marketing-notice", className, tone === "info" ? "default" : tone),
|
|
4573
4683
|
"data-hraness-marketing": "notice",
|
|
4574
4684
|
"data-tone": tone,
|
|
@@ -4591,7 +4701,7 @@ function MarketingStatStrip({
|
|
|
4591
4701
|
className: marketingClassName("hraness-marketing-stats", className),
|
|
4592
4702
|
"data-hraness-marketing": "stats",
|
|
4593
4703
|
children: [
|
|
4594
|
-
/* @__PURE__ */
|
|
4704
|
+
/* @__PURE__ */ jsx3("dl", {
|
|
4595
4705
|
className: listClassName,
|
|
4596
4706
|
style: columns === undefined ? {
|
|
4597
4707
|
"--hraness-marketing-fact-columns": String(stats.length)
|
|
@@ -4599,18 +4709,18 @@ function MarketingStatStrip({
|
|
|
4599
4709
|
children: stats.map((stat, index) => /* @__PURE__ */ jsxs3("div", {
|
|
4600
4710
|
className: marketingClassName("hraness-marketing-facts__item", undefined, marketingFactCellVariant(index)),
|
|
4601
4711
|
children: [
|
|
4602
|
-
/* @__PURE__ */
|
|
4712
|
+
/* @__PURE__ */ jsx3("dt", {
|
|
4603
4713
|
className: marketingClassName("hraness-marketing-facts__label"),
|
|
4604
4714
|
children: stat.label
|
|
4605
4715
|
}),
|
|
4606
4716
|
/* @__PURE__ */ jsxs3("dd", {
|
|
4607
4717
|
className: marketingClassName("hraness-marketing-facts__body"),
|
|
4608
4718
|
children: [
|
|
4609
|
-
/* @__PURE__ */
|
|
4719
|
+
/* @__PURE__ */ jsx3("strong", {
|
|
4610
4720
|
className: marketingClassName("hraness-marketing-stats__value"),
|
|
4611
4721
|
children: stat.value
|
|
4612
4722
|
}),
|
|
4613
|
-
stat.detail === undefined ? null : /* @__PURE__ */
|
|
4723
|
+
stat.detail === undefined ? null : /* @__PURE__ */ jsx3("span", {
|
|
4614
4724
|
className: marketingClassName("hraness-marketing-facts__detail"),
|
|
4615
4725
|
children: stat.detail
|
|
4616
4726
|
})
|
|
@@ -4619,7 +4729,7 @@ function MarketingStatStrip({
|
|
|
4619
4729
|
]
|
|
4620
4730
|
}, `${stat.label}-${stat.value}`))
|
|
4621
4731
|
}),
|
|
4622
|
-
source === undefined ? null : /* @__PURE__ */
|
|
4732
|
+
source === undefined ? null : /* @__PURE__ */ jsx3("p", {
|
|
4623
4733
|
className: marketingClassName("hraness-marketing-stats__source"),
|
|
4624
4734
|
children: source
|
|
4625
4735
|
})
|
|
@@ -4643,7 +4753,7 @@ function MarketingInterfaceGrid({
|
|
|
4643
4753
|
"data-hraness-marketing": "interfaces",
|
|
4644
4754
|
id,
|
|
4645
4755
|
children: [
|
|
4646
|
-
/* @__PURE__ */
|
|
4756
|
+
/* @__PURE__ */ jsx3(MarketingCollectionHeader, {
|
|
4647
4757
|
...{
|
|
4648
4758
|
heading,
|
|
4649
4759
|
headingId,
|
|
@@ -4653,17 +4763,17 @@ function MarketingInterfaceGrid({
|
|
|
4653
4763
|
},
|
|
4654
4764
|
prefix: "interfaces"
|
|
4655
4765
|
}),
|
|
4656
|
-
/* @__PURE__ */
|
|
4766
|
+
/* @__PURE__ */ jsx3("div", {
|
|
4657
4767
|
className: marketingColumnClassName("hraness-marketing-interface-grid", undefined, columns),
|
|
4658
4768
|
children: interfaces.map((entry) => /* @__PURE__ */ jsxs3("article", {
|
|
4659
4769
|
className: marketingClassName("hraness-marketing-interface"),
|
|
4660
4770
|
children: [
|
|
4661
|
-
/* @__PURE__ */
|
|
4771
|
+
/* @__PURE__ */ jsx3(Heading, {
|
|
4662
4772
|
className: marketingClassName("hraness-marketing-interface__heading"),
|
|
4663
4773
|
level: childHeadingLevel(headingLevel),
|
|
4664
4774
|
children: entry.label
|
|
4665
4775
|
}),
|
|
4666
|
-
/* @__PURE__ */
|
|
4776
|
+
/* @__PURE__ */ jsx3("p", {
|
|
4667
4777
|
className: marketingClassName("hraness-marketing-interface__summary"),
|
|
4668
4778
|
children: entry.summary
|
|
4669
4779
|
}),
|
|
@@ -4691,7 +4801,7 @@ function MarketingTrustBoundary({
|
|
|
4691
4801
|
"data-hraness-marketing": "trust",
|
|
4692
4802
|
id,
|
|
4693
4803
|
children: [
|
|
4694
|
-
/* @__PURE__ */
|
|
4804
|
+
/* @__PURE__ */ jsx3(MarketingCollectionHeader, {
|
|
4695
4805
|
...{
|
|
4696
4806
|
heading,
|
|
4697
4807
|
headingId,
|
|
@@ -4701,16 +4811,16 @@ function MarketingTrustBoundary({
|
|
|
4701
4811
|
},
|
|
4702
4812
|
prefix: "trust"
|
|
4703
4813
|
}),
|
|
4704
|
-
/* @__PURE__ */
|
|
4814
|
+
/* @__PURE__ */ jsx3("dl", {
|
|
4705
4815
|
className: marketingColumnClassName("hraness-marketing-trust-grid", undefined, columns),
|
|
4706
4816
|
children: items.map((item) => /* @__PURE__ */ jsxs3("div", {
|
|
4707
4817
|
className: marketingClassName("hraness-marketing-trust-item"),
|
|
4708
4818
|
children: [
|
|
4709
|
-
/* @__PURE__ */
|
|
4819
|
+
/* @__PURE__ */ jsx3("dt", {
|
|
4710
4820
|
className: marketingClassName("hraness-marketing-trust-item__label"),
|
|
4711
4821
|
children: item.label
|
|
4712
4822
|
}),
|
|
4713
|
-
/* @__PURE__ */
|
|
4823
|
+
/* @__PURE__ */ jsx3("dd", {
|
|
4714
4824
|
className: marketingClassName("hraness-marketing-trust-item__detail"),
|
|
4715
4825
|
children: item.detail
|
|
4716
4826
|
})
|
|
@@ -4738,7 +4848,7 @@ function MarketingQuoteGrid({
|
|
|
4738
4848
|
"data-hraness-marketing": "quotes",
|
|
4739
4849
|
id,
|
|
4740
4850
|
children: [
|
|
4741
|
-
/* @__PURE__ */
|
|
4851
|
+
/* @__PURE__ */ jsx3(MarketingCollectionHeader, {
|
|
4742
4852
|
...{
|
|
4743
4853
|
heading,
|
|
4744
4854
|
headingId,
|
|
@@ -4748,15 +4858,15 @@ function MarketingQuoteGrid({
|
|
|
4748
4858
|
},
|
|
4749
4859
|
prefix: "quotes"
|
|
4750
4860
|
}),
|
|
4751
|
-
/* @__PURE__ */
|
|
4861
|
+
/* @__PURE__ */ jsx3("ul", {
|
|
4752
4862
|
className: marketingClassName("hraness-marketing-quote-grid"),
|
|
4753
|
-
children: quotes.map((entry) => /* @__PURE__ */
|
|
4863
|
+
children: quotes.map((entry) => /* @__PURE__ */ jsx3("li", {
|
|
4754
4864
|
children: /* @__PURE__ */ jsxs3("figure", {
|
|
4755
4865
|
className: marketingClassName("hraness-marketing-quote"),
|
|
4756
4866
|
children: [
|
|
4757
|
-
/* @__PURE__ */
|
|
4867
|
+
/* @__PURE__ */ jsx3("blockquote", {
|
|
4758
4868
|
className: marketingClassName("hraness-marketing-quote__body"),
|
|
4759
|
-
children: /* @__PURE__ */
|
|
4869
|
+
children: /* @__PURE__ */ jsx3("p", {
|
|
4760
4870
|
className: marketingClassName("hraness-marketing-quote__text"),
|
|
4761
4871
|
children: entry.quote
|
|
4762
4872
|
})
|
|
@@ -4764,13 +4874,13 @@ function MarketingQuoteGrid({
|
|
|
4764
4874
|
/* @__PURE__ */ jsxs3("figcaption", {
|
|
4765
4875
|
className: marketingClassName("hraness-marketing-quote__attribution"),
|
|
4766
4876
|
children: [
|
|
4767
|
-
/* @__PURE__ */
|
|
4877
|
+
/* @__PURE__ */ jsx3("strong", {
|
|
4768
4878
|
className: marketingClassName("hraness-marketing-quote__name"),
|
|
4769
4879
|
children: entry.name
|
|
4770
4880
|
}),
|
|
4771
|
-
entry.role === undefined ? null : entry.href === undefined ? /* @__PURE__ */
|
|
4881
|
+
entry.role === undefined ? null : entry.href === undefined ? /* @__PURE__ */ jsx3("span", {
|
|
4772
4882
|
children: entry.role
|
|
4773
|
-
}) : /* @__PURE__ */
|
|
4883
|
+
}) : /* @__PURE__ */ jsx3("a", {
|
|
4774
4884
|
className: marketingClassName("hraness-marketing-quote__link"),
|
|
4775
4885
|
href: entry.href,
|
|
4776
4886
|
children: entry.role
|
|
@@ -4800,7 +4910,7 @@ function MarketingPricing({
|
|
|
4800
4910
|
"data-hraness-marketing": "pricing",
|
|
4801
4911
|
id,
|
|
4802
4912
|
children: [
|
|
4803
|
-
/* @__PURE__ */
|
|
4913
|
+
/* @__PURE__ */ jsx3(MarketingCollectionHeader, {
|
|
4804
4914
|
...{
|
|
4805
4915
|
heading,
|
|
4806
4916
|
headingId,
|
|
@@ -4810,13 +4920,13 @@ function MarketingPricing({
|
|
|
4810
4920
|
},
|
|
4811
4921
|
prefix: "pricing"
|
|
4812
4922
|
}),
|
|
4813
|
-
/* @__PURE__ */
|
|
4923
|
+
/* @__PURE__ */ jsx3("ul", {
|
|
4814
4924
|
className: marketingClassName("hraness-marketing-plan-grid"),
|
|
4815
4925
|
children: plans.map((plan) => /* @__PURE__ */ jsxs3("li", {
|
|
4816
4926
|
className: marketingClassName("hraness-marketing-plan", undefined, plan.emphasis === "primary" ? "primary" : "default"),
|
|
4817
4927
|
"data-emphasis": plan.emphasis ?? "secondary",
|
|
4818
4928
|
children: [
|
|
4819
|
-
/* @__PURE__ */
|
|
4929
|
+
/* @__PURE__ */ jsx3(Heading, {
|
|
4820
4930
|
className: marketingClassName("hraness-marketing-plan__name"),
|
|
4821
4931
|
level: childHeadingLevel(headingLevel),
|
|
4822
4932
|
children: plan.name
|
|
@@ -4824,35 +4934,35 @@ function MarketingPricing({
|
|
|
4824
4934
|
/* @__PURE__ */ jsxs3("p", {
|
|
4825
4935
|
className: marketingClassName("hraness-marketing-plan__price"),
|
|
4826
4936
|
children: [
|
|
4827
|
-
/* @__PURE__ */
|
|
4937
|
+
/* @__PURE__ */ jsx3("strong", {
|
|
4828
4938
|
className: marketingClassName("hraness-marketing-plan__value"),
|
|
4829
4939
|
children: plan.price
|
|
4830
4940
|
}),
|
|
4831
|
-
plan.period === undefined ? null : /* @__PURE__ */
|
|
4941
|
+
plan.period === undefined ? null : /* @__PURE__ */ jsx3("span", {
|
|
4832
4942
|
className: marketingClassName("hraness-marketing-plan__period"),
|
|
4833
4943
|
children: plan.period
|
|
4834
4944
|
})
|
|
4835
4945
|
]
|
|
4836
4946
|
}),
|
|
4837
|
-
plan.summary === undefined ? null : /* @__PURE__ */
|
|
4947
|
+
plan.summary === undefined ? null : /* @__PURE__ */ jsx3("p", {
|
|
4838
4948
|
className: marketingClassName("hraness-marketing-plan__summary"),
|
|
4839
4949
|
children: plan.summary
|
|
4840
4950
|
}),
|
|
4841
|
-
plan.features.length === 0 ? null : /* @__PURE__ */
|
|
4951
|
+
plan.features.length === 0 ? null : /* @__PURE__ */ jsx3("ul", {
|
|
4842
4952
|
className: marketingClassName("hraness-marketing-plan__features"),
|
|
4843
|
-
children: plan.features.map((feature) => /* @__PURE__ */
|
|
4953
|
+
children: plan.features.map((feature) => /* @__PURE__ */ jsx3("li", {
|
|
4844
4954
|
className: marketingClassName("hraness-marketing-plan__feature"),
|
|
4845
4955
|
children: feature
|
|
4846
4956
|
}, feature))
|
|
4847
4957
|
}),
|
|
4848
|
-
plan.action === undefined ? null : /* @__PURE__ */
|
|
4958
|
+
plan.action === undefined ? null : /* @__PURE__ */ jsx3("a", {
|
|
4849
4959
|
className: marketingClassName("hraness-marketing-action", undefined, `plan-${plan.action.emphasis ?? plan.emphasis ?? "secondary"}`),
|
|
4850
4960
|
"data-emphasis": plan.action.emphasis ?? plan.emphasis ?? "secondary",
|
|
4851
4961
|
"data-foil": (plan.action.emphasis ?? plan.emphasis ?? "secondary") === "primary" ? "" : undefined,
|
|
4852
4962
|
href: plan.action.href,
|
|
4853
4963
|
children: plan.action.label
|
|
4854
4964
|
}),
|
|
4855
|
-
plan.note === undefined ? null : /* @__PURE__ */
|
|
4965
|
+
plan.note === undefined ? null : /* @__PURE__ */ jsx3("p", {
|
|
4856
4966
|
className: marketingClassName("hraness-marketing-plan__note"),
|
|
4857
4967
|
children: plan.note
|
|
4858
4968
|
})
|
|
@@ -4878,7 +4988,7 @@ function MarketingQuestionList({
|
|
|
4878
4988
|
"data-hraness-marketing": "questions",
|
|
4879
4989
|
id,
|
|
4880
4990
|
children: [
|
|
4881
|
-
/* @__PURE__ */
|
|
4991
|
+
/* @__PURE__ */ jsx3(MarketingCollectionHeader, {
|
|
4882
4992
|
...{
|
|
4883
4993
|
heading,
|
|
4884
4994
|
headingId,
|
|
@@ -4888,16 +4998,16 @@ function MarketingQuestionList({
|
|
|
4888
4998
|
},
|
|
4889
4999
|
prefix: "questions"
|
|
4890
5000
|
}),
|
|
4891
|
-
/* @__PURE__ */
|
|
5001
|
+
/* @__PURE__ */ jsx3("div", {
|
|
4892
5002
|
className: marketingClassName("hraness-marketing-question-list"),
|
|
4893
5003
|
children: questions.map((question, index) => /* @__PURE__ */ jsxs3("details", {
|
|
4894
5004
|
className: marketingClassName("hraness-marketing-question", undefined, index === questions.length - 1 ? "last" : "default"),
|
|
4895
5005
|
children: [
|
|
4896
|
-
/* @__PURE__ */
|
|
5006
|
+
/* @__PURE__ */ jsx3("summary", {
|
|
4897
5007
|
className: marketingClassName("hraness-marketing-question__summary"),
|
|
4898
5008
|
children: question.question
|
|
4899
5009
|
}),
|
|
4900
|
-
/* @__PURE__ */
|
|
5010
|
+
/* @__PURE__ */ jsx3("div", {
|
|
4901
5011
|
className: marketingClassName("hraness-marketing-question__answer"),
|
|
4902
5012
|
children: question.answer
|
|
4903
5013
|
})
|
|
@@ -4928,15 +5038,15 @@ function MarketingMaker({
|
|
|
4928
5038
|
/* @__PURE__ */ jsxs3("header", {
|
|
4929
5039
|
className: marketingClassName("hraness-marketing-maker__header"),
|
|
4930
5040
|
children: [
|
|
4931
|
-
portrait === undefined ? null : /* @__PURE__ */
|
|
5041
|
+
portrait === undefined ? null : /* @__PURE__ */ jsx3("div", {
|
|
4932
5042
|
className: marketingClassName("hraness-marketing-maker__portrait"),
|
|
4933
5043
|
children: portrait
|
|
4934
5044
|
}),
|
|
4935
|
-
label === undefined || label === "" ? null : /* @__PURE__ */
|
|
5045
|
+
label === undefined || label === "" ? null : /* @__PURE__ */ jsx3("p", {
|
|
4936
5046
|
className: marketingClassName("hraness-marketing-maker__label"),
|
|
4937
5047
|
children: label
|
|
4938
5048
|
}),
|
|
4939
|
-
/* @__PURE__ */
|
|
5049
|
+
/* @__PURE__ */ jsx3(Heading, {
|
|
4940
5050
|
className: marketingClassName("hraness-marketing-maker__heading"),
|
|
4941
5051
|
id: headingId,
|
|
4942
5052
|
level: headingLevel,
|
|
@@ -4948,10 +5058,10 @@ function MarketingMaker({
|
|
|
4948
5058
|
className: marketingClassName("hraness-marketing-maker__body"),
|
|
4949
5059
|
children: [
|
|
4950
5060
|
children,
|
|
4951
|
-
links.length === 0 ? null : /* @__PURE__ */
|
|
5061
|
+
links.length === 0 ? null : /* @__PURE__ */ jsx3("ul", {
|
|
4952
5062
|
className: marketingClassName("hraness-marketing-maker__links"),
|
|
4953
|
-
children: links.map((link) => /* @__PURE__ */
|
|
4954
|
-
children: /* @__PURE__ */
|
|
5063
|
+
children: links.map((link) => /* @__PURE__ */ jsx3("li", {
|
|
5064
|
+
children: /* @__PURE__ */ jsx3("a", {
|
|
4955
5065
|
className: linkClassName,
|
|
4956
5066
|
href: link.href,
|
|
4957
5067
|
children: link.label
|
|
@@ -4964,39 +5074,55 @@ function MarketingMaker({
|
|
|
4964
5074
|
});
|
|
4965
5075
|
}
|
|
4966
5076
|
function MarketingRelatedCards({
|
|
5077
|
+
ariaLabel,
|
|
5078
|
+
columns,
|
|
4967
5079
|
items,
|
|
4968
5080
|
level
|
|
4969
5081
|
}) {
|
|
4970
|
-
return /* @__PURE__ */
|
|
4971
|
-
|
|
4972
|
-
|
|
4973
|
-
|
|
4974
|
-
"
|
|
4975
|
-
|
|
4976
|
-
|
|
4977
|
-
|
|
4978
|
-
|
|
4979
|
-
|
|
4980
|
-
|
|
4981
|
-
|
|
4982
|
-
|
|
4983
|
-
|
|
4984
|
-
|
|
4985
|
-
|
|
4986
|
-
|
|
4987
|
-
children: [
|
|
4988
|
-
/* @__PURE__ */ jsx4(Heading, {
|
|
4989
|
-
className: marketingClassName("hraness-marketing-related__card-name"),
|
|
4990
|
-
level,
|
|
4991
|
-
children: item.name
|
|
4992
|
-
}),
|
|
4993
|
-
/* @__PURE__ */ jsx4("span", {
|
|
4994
|
-
className: marketingClassName("hraness-marketing-related__card-role"),
|
|
4995
|
-
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 ?? ""
|
|
4996
5099
|
})
|
|
4997
|
-
|
|
4998
|
-
|
|
4999
|
-
|
|
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
|
+
})
|
|
5000
5126
|
}, item.name))
|
|
5001
5127
|
});
|
|
5002
5128
|
}
|
|
@@ -5021,7 +5147,7 @@ function MarketingRelated({
|
|
|
5021
5147
|
"data-hraness-marketing": "related",
|
|
5022
5148
|
id,
|
|
5023
5149
|
children: [
|
|
5024
|
-
/* @__PURE__ */
|
|
5150
|
+
/* @__PURE__ */ jsx3(MarketingCollectionHeader, {
|
|
5025
5151
|
heading,
|
|
5026
5152
|
headingId,
|
|
5027
5153
|
headingLevel,
|
|
@@ -5029,42 +5155,43 @@ function MarketingRelated({
|
|
|
5029
5155
|
prefix: "related",
|
|
5030
5156
|
summary
|
|
5031
5157
|
}),
|
|
5032
|
-
groups === undefined ? /* @__PURE__ */
|
|
5158
|
+
groups === undefined ? /* @__PURE__ */ jsx3(MarketingRelatedCards, {
|
|
5033
5159
|
...defaultColumnProps,
|
|
5034
|
-
|
|
5035
|
-
|
|
5036
|
-
|
|
5037
|
-
|
|
5038
|
-
|
|
5039
|
-
|
|
5040
|
-
|
|
5041
|
-
|
|
5042
|
-
|
|
5043
|
-
|
|
5044
|
-
|
|
5045
|
-
|
|
5046
|
-
|
|
5047
|
-
|
|
5048
|
-
|
|
5049
|
-
|
|
5050
|
-
|
|
5051
|
-
|
|
5052
|
-
|
|
5053
|
-
|
|
5054
|
-
|
|
5055
|
-
|
|
5056
|
-
|
|
5057
|
-
|
|
5058
|
-
|
|
5059
|
-
|
|
5060
|
-
|
|
5061
|
-
|
|
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
|
+
},
|
|
5062
5189
|
items: group.items,
|
|
5063
5190
|
level: childHeadingLevel(childHeadingLevel(headingLevel))
|
|
5064
5191
|
})
|
|
5065
|
-
|
|
5066
|
-
|
|
5067
|
-
}
|
|
5192
|
+
]
|
|
5193
|
+
}, group.headingId))
|
|
5194
|
+
})
|
|
5068
5195
|
]
|
|
5069
5196
|
});
|
|
5070
5197
|
}
|
|
@@ -5087,27 +5214,27 @@ function MarketingCallToAction({
|
|
|
5087
5214
|
"data-tone": tone,
|
|
5088
5215
|
id,
|
|
5089
5216
|
children: [
|
|
5090
|
-
eyebrow === undefined || eyebrow === "" ? null : /* @__PURE__ */
|
|
5217
|
+
eyebrow === undefined || eyebrow === "" ? null : /* @__PURE__ */ jsx3("p", {
|
|
5091
5218
|
className: marketingClassName("hraness-marketing-cta__eyebrow"),
|
|
5092
5219
|
children: eyebrow
|
|
5093
5220
|
}),
|
|
5094
|
-
/* @__PURE__ */
|
|
5221
|
+
/* @__PURE__ */ jsx3(Heading, {
|
|
5095
5222
|
className: marketingClassName("hraness-marketing-cta__heading"),
|
|
5096
5223
|
id: headingId,
|
|
5097
5224
|
level: headingLevel,
|
|
5098
5225
|
children: heading
|
|
5099
5226
|
}),
|
|
5100
|
-
summary === undefined ? null : /* @__PURE__ */
|
|
5227
|
+
summary === undefined ? null : /* @__PURE__ */ jsx3("p", {
|
|
5101
5228
|
className: marketingClassName("hraness-marketing-cta__summary"),
|
|
5102
5229
|
children: summary
|
|
5103
5230
|
}),
|
|
5104
|
-
/* @__PURE__ */
|
|
5231
|
+
/* @__PURE__ */ jsx3(MarketingActions, {
|
|
5105
5232
|
actions,
|
|
5106
5233
|
className: marketingClassName("hraness-marketing-cta__actions"),
|
|
5107
5234
|
context: "cta",
|
|
5108
5235
|
tone
|
|
5109
5236
|
}),
|
|
5110
|
-
footnote === undefined ? null : /* @__PURE__ */
|
|
5237
|
+
footnote === undefined ? null : /* @__PURE__ */ jsx3("p", {
|
|
5111
5238
|
className: marketingClassName("hraness-marketing-cta__footnote"),
|
|
5112
5239
|
children: footnote
|
|
5113
5240
|
})
|
|
@@ -5116,7 +5243,7 @@ function MarketingCallToAction({
|
|
|
5116
5243
|
}
|
|
5117
5244
|
|
|
5118
5245
|
// src/react/article.tsx
|
|
5119
|
-
import { jsx as
|
|
5246
|
+
import { jsx as jsx4, jsxs as jsxs4, Fragment as Fragment3 } from "react/jsx-runtime";
|
|
5120
5247
|
var ROOT_CLASS = "plain-site plain-publication plain-publication--embedded";
|
|
5121
5248
|
var HEADING_TAGS = {
|
|
5122
5249
|
1: "h1",
|
|
@@ -5137,7 +5264,7 @@ function ArticleDate({
|
|
|
5137
5264
|
children: [
|
|
5138
5265
|
label,
|
|
5139
5266
|
" ",
|
|
5140
|
-
/* @__PURE__ */
|
|
5267
|
+
/* @__PURE__ */ jsx4("time", {
|
|
5141
5268
|
dateTime: value,
|
|
5142
5269
|
children: formatArticleDate(value)
|
|
5143
5270
|
})
|
|
@@ -5145,7 +5272,7 @@ function ArticleDate({
|
|
|
5145
5272
|
});
|
|
5146
5273
|
}
|
|
5147
5274
|
function Separator() {
|
|
5148
|
-
return /* @__PURE__ */
|
|
5275
|
+
return /* @__PURE__ */ jsx4("span", {
|
|
5149
5276
|
"aria-hidden": "true",
|
|
5150
5277
|
children: " · "
|
|
5151
5278
|
});
|
|
@@ -5160,7 +5287,7 @@ function ArticleByline({
|
|
|
5160
5287
|
children: [
|
|
5161
5288
|
ARTICLE_BYLINE_PREFIX,
|
|
5162
5289
|
" ",
|
|
5163
|
-
author.href === undefined ? author.name : /* @__PURE__ */
|
|
5290
|
+
author.href === undefined ? author.name : /* @__PURE__ */ jsx4("a", {
|
|
5164
5291
|
href: author.href,
|
|
5165
5292
|
rel: "author",
|
|
5166
5293
|
children: author.name
|
|
@@ -5172,7 +5299,7 @@ function ArticleProvenance({
|
|
|
5172
5299
|
provenance
|
|
5173
5300
|
}) {
|
|
5174
5301
|
const sentence = articleProvenanceSentence(provenance);
|
|
5175
|
-
return /* @__PURE__ */
|
|
5302
|
+
return /* @__PURE__ */ jsx4("p", {
|
|
5176
5303
|
className: "plain-publication__provenance",
|
|
5177
5304
|
"data-drafting": provenance.drafting,
|
|
5178
5305
|
"data-reviewer-type": provenance.review?.reviewerType ?? "none",
|
|
@@ -5217,15 +5344,15 @@ function MarketingArticle({
|
|
|
5217
5344
|
/* @__PURE__ */ jsxs4("header", {
|
|
5218
5345
|
className: "plain-publication__article-header",
|
|
5219
5346
|
children: [
|
|
5220
|
-
eyebrow === undefined || eyebrow === "" ? null : /* @__PURE__ */
|
|
5347
|
+
eyebrow === undefined || eyebrow === "" ? null : /* @__PURE__ */ jsx4("p", {
|
|
5221
5348
|
className: "plain-publication__eyebrow",
|
|
5222
5349
|
children: eyebrow
|
|
5223
5350
|
}),
|
|
5224
|
-
/* @__PURE__ */
|
|
5351
|
+
/* @__PURE__ */ jsx4("h1", {
|
|
5225
5352
|
id: headingId,
|
|
5226
5353
|
children: heading
|
|
5227
5354
|
}),
|
|
5228
|
-
dek === undefined || dek === "" ? null : /* @__PURE__ */
|
|
5355
|
+
dek === undefined || dek === "" ? null : /* @__PURE__ */ jsx4("p", {
|
|
5229
5356
|
className: "plain-publication__article-dek",
|
|
5230
5357
|
children: dek
|
|
5231
5358
|
}),
|
|
@@ -5234,20 +5361,20 @@ function MarketingArticle({
|
|
|
5234
5361
|
children: [
|
|
5235
5362
|
author === undefined ? null : /* @__PURE__ */ jsxs4(Fragment3, {
|
|
5236
5363
|
children: [
|
|
5237
|
-
/* @__PURE__ */
|
|
5364
|
+
/* @__PURE__ */ jsx4(ArticleByline, {
|
|
5238
5365
|
author
|
|
5239
5366
|
}),
|
|
5240
|
-
/* @__PURE__ */
|
|
5367
|
+
/* @__PURE__ */ jsx4(Separator, {})
|
|
5241
5368
|
]
|
|
5242
5369
|
}),
|
|
5243
|
-
/* @__PURE__ */
|
|
5370
|
+
/* @__PURE__ */ jsx4(ArticleDate, {
|
|
5244
5371
|
label: "Published",
|
|
5245
5372
|
value: published
|
|
5246
5373
|
}),
|
|
5247
5374
|
updated === undefined ? null : /* @__PURE__ */ jsxs4(Fragment3, {
|
|
5248
5375
|
children: [
|
|
5249
|
-
/* @__PURE__ */
|
|
5250
|
-
/* @__PURE__ */
|
|
5376
|
+
/* @__PURE__ */ jsx4(Separator, {}),
|
|
5377
|
+
/* @__PURE__ */ jsx4(ArticleDate, {
|
|
5251
5378
|
label: "Updated",
|
|
5252
5379
|
value: updated
|
|
5253
5380
|
})
|
|
@@ -5255,7 +5382,7 @@ function MarketingArticle({
|
|
|
5255
5382
|
})
|
|
5256
5383
|
]
|
|
5257
5384
|
}),
|
|
5258
|
-
provenance === null ? null : /* @__PURE__ */
|
|
5385
|
+
provenance === null ? null : /* @__PURE__ */ jsx4(ArticleProvenance, {
|
|
5259
5386
|
provenance
|
|
5260
5387
|
})
|
|
5261
5388
|
]
|
|
@@ -5267,13 +5394,13 @@ function MarketingArticle({
|
|
|
5267
5394
|
"aria-labelledby": tocId,
|
|
5268
5395
|
className: "plain-publication__toc",
|
|
5269
5396
|
children: [
|
|
5270
|
-
/* @__PURE__ */
|
|
5397
|
+
/* @__PURE__ */ jsx4("p", {
|
|
5271
5398
|
id: tocId,
|
|
5272
5399
|
children: tocLabel
|
|
5273
5400
|
}),
|
|
5274
|
-
/* @__PURE__ */
|
|
5275
|
-
children: tocItems.map((item) => /* @__PURE__ */
|
|
5276
|
-
children: /* @__PURE__ */
|
|
5401
|
+
/* @__PURE__ */ jsx4("ol", {
|
|
5402
|
+
children: tocItems.map((item) => /* @__PURE__ */ jsx4("li", {
|
|
5403
|
+
children: /* @__PURE__ */ jsx4("a", {
|
|
5277
5404
|
href: item.href,
|
|
5278
5405
|
children: item.label
|
|
5279
5406
|
})
|
|
@@ -5281,13 +5408,13 @@ function MarketingArticle({
|
|
|
5281
5408
|
})
|
|
5282
5409
|
]
|
|
5283
5410
|
}),
|
|
5284
|
-
/* @__PURE__ */
|
|
5411
|
+
/* @__PURE__ */ jsx4("div", {
|
|
5285
5412
|
className: "plain-publication__article-body",
|
|
5286
5413
|
children
|
|
5287
5414
|
})
|
|
5288
5415
|
]
|
|
5289
5416
|
}),
|
|
5290
|
-
after === undefined || after === null ? null : /* @__PURE__ */
|
|
5417
|
+
after === undefined || after === null ? null : /* @__PURE__ */ jsx4("footer", {
|
|
5291
5418
|
className: "plain-publication__article-footer",
|
|
5292
5419
|
children: after
|
|
5293
5420
|
})
|
|
@@ -5307,14 +5434,14 @@ function ArticleSources({
|
|
|
5307
5434
|
"aria-labelledby": headingId,
|
|
5308
5435
|
className: "plain-publication__sources",
|
|
5309
5436
|
children: [
|
|
5310
|
-
/* @__PURE__ */
|
|
5437
|
+
/* @__PURE__ */ jsx4("h2", {
|
|
5311
5438
|
id: headingId,
|
|
5312
5439
|
children: heading
|
|
5313
5440
|
}),
|
|
5314
|
-
/* @__PURE__ */
|
|
5441
|
+
/* @__PURE__ */ jsx4("ol", {
|
|
5315
5442
|
children: sources.map((source) => /* @__PURE__ */ jsxs4("li", {
|
|
5316
5443
|
children: [
|
|
5317
|
-
/* @__PURE__ */
|
|
5444
|
+
/* @__PURE__ */ jsx4("a", {
|
|
5318
5445
|
href: source.href,
|
|
5319
5446
|
children: source.title
|
|
5320
5447
|
}),
|
|
@@ -5323,10 +5450,10 @@ function ArticleSources({
|
|
|
5323
5450
|
source.publisher === undefined || source.publisher === "" ? null : /* @__PURE__ */ jsxs4(Fragment3, {
|
|
5324
5451
|
children: [
|
|
5325
5452
|
source.publisher,
|
|
5326
|
-
/* @__PURE__ */
|
|
5453
|
+
/* @__PURE__ */ jsx4(Separator, {})
|
|
5327
5454
|
]
|
|
5328
5455
|
}),
|
|
5329
|
-
/* @__PURE__ */
|
|
5456
|
+
/* @__PURE__ */ jsx4(ArticleDate, {
|
|
5330
5457
|
label: "Checked",
|
|
5331
5458
|
value: source.checkedOn
|
|
5332
5459
|
})
|
|
@@ -5349,10 +5476,10 @@ function ArticleCallout({
|
|
|
5349
5476
|
"data-tone": tone,
|
|
5350
5477
|
role: "note",
|
|
5351
5478
|
children: [
|
|
5352
|
-
label === undefined || label === "" ? null : /* @__PURE__ */
|
|
5479
|
+
label === undefined || label === "" ? null : /* @__PURE__ */ jsx4("strong", {
|
|
5353
5480
|
children: label
|
|
5354
5481
|
}),
|
|
5355
|
-
typeof children === "string" ? /* @__PURE__ */
|
|
5482
|
+
typeof children === "string" ? /* @__PURE__ */ jsx4("p", {
|
|
5356
5483
|
children
|
|
5357
5484
|
}) : children
|
|
5358
5485
|
]
|
|
@@ -5374,15 +5501,15 @@ function ArticleRelatedProducts({
|
|
|
5374
5501
|
summary
|
|
5375
5502
|
}
|
|
5376
5503
|
};
|
|
5377
|
-
return /* @__PURE__ */
|
|
5504
|
+
return /* @__PURE__ */ jsx4("div", {
|
|
5378
5505
|
className: "plain-publication__related-products",
|
|
5379
|
-
children: body.groups === undefined ? /* @__PURE__ */
|
|
5506
|
+
children: body.groups === undefined ? /* @__PURE__ */ jsx4(MarketingRelated, {
|
|
5380
5507
|
heading,
|
|
5381
5508
|
headingId,
|
|
5382
5509
|
headingLevel,
|
|
5383
5510
|
items: body.items,
|
|
5384
5511
|
...optional
|
|
5385
|
-
}) : /* @__PURE__ */
|
|
5512
|
+
}) : /* @__PURE__ */ jsx4(MarketingRelated, {
|
|
5386
5513
|
groups: body.groups,
|
|
5387
5514
|
heading,
|
|
5388
5515
|
headingId,
|
|
@@ -5426,46 +5553,46 @@ function ArticleIndex({
|
|
|
5426
5553
|
/* @__PURE__ */ jsxs4("div", {
|
|
5427
5554
|
className: "plain-publication__section-heading",
|
|
5428
5555
|
children: [
|
|
5429
|
-
/* @__PURE__ */
|
|
5556
|
+
/* @__PURE__ */ jsx4(HeadingTag, {
|
|
5430
5557
|
id: headingId,
|
|
5431
5558
|
children: heading
|
|
5432
5559
|
}),
|
|
5433
|
-
summary === undefined || summary === "" ? null : /* @__PURE__ */
|
|
5560
|
+
summary === undefined || summary === "" ? null : /* @__PURE__ */ jsx4("p", {
|
|
5434
5561
|
children: summary
|
|
5435
5562
|
})
|
|
5436
5563
|
]
|
|
5437
5564
|
}),
|
|
5438
|
-
/* @__PURE__ */
|
|
5565
|
+
/* @__PURE__ */ jsx4("div", {
|
|
5439
5566
|
className: "plain-publication__article-list",
|
|
5440
5567
|
children: items.map((item) => /* @__PURE__ */ jsxs4("article", {
|
|
5441
5568
|
className: "plain-publication__entry",
|
|
5442
5569
|
children: [
|
|
5443
|
-
item.eyebrow === undefined || item.eyebrow === "" ? null : /* @__PURE__ */
|
|
5570
|
+
item.eyebrow === undefined || item.eyebrow === "" ? null : /* @__PURE__ */ jsx4("p", {
|
|
5444
5571
|
className: "plain-publication__entry-label",
|
|
5445
5572
|
children: item.eyebrow
|
|
5446
5573
|
}),
|
|
5447
|
-
/* @__PURE__ */
|
|
5574
|
+
/* @__PURE__ */ jsx4(EntryTag, {
|
|
5448
5575
|
className: "plain-publication__entry-title",
|
|
5449
|
-
children: /* @__PURE__ */
|
|
5576
|
+
children: /* @__PURE__ */ jsx4("a", {
|
|
5450
5577
|
href: item.href,
|
|
5451
5578
|
children: item.title
|
|
5452
5579
|
})
|
|
5453
5580
|
}),
|
|
5454
|
-
/* @__PURE__ */
|
|
5581
|
+
/* @__PURE__ */ jsx4("p", {
|
|
5455
5582
|
className: "plain-publication__entry-dek",
|
|
5456
5583
|
children: item.dek
|
|
5457
5584
|
}),
|
|
5458
5585
|
/* @__PURE__ */ jsxs4("p", {
|
|
5459
5586
|
className: "plain-publication__entry-meta",
|
|
5460
5587
|
children: [
|
|
5461
|
-
/* @__PURE__ */
|
|
5588
|
+
/* @__PURE__ */ jsx4(ArticleDate, {
|
|
5462
5589
|
label: "Published",
|
|
5463
5590
|
value: item.published
|
|
5464
5591
|
}),
|
|
5465
5592
|
item.updated === undefined ? null : /* @__PURE__ */ jsxs4(Fragment3, {
|
|
5466
5593
|
children: [
|
|
5467
|
-
/* @__PURE__ */
|
|
5468
|
-
/* @__PURE__ */
|
|
5594
|
+
/* @__PURE__ */ jsx4(Separator, {}),
|
|
5595
|
+
/* @__PURE__ */ jsx4(ArticleDate, {
|
|
5469
5596
|
label: "Updated",
|
|
5470
5597
|
value: item.updated
|
|
5471
5598
|
})
|
|
@@ -5490,7 +5617,7 @@ function FigureCaption({
|
|
|
5490
5617
|
className: "plain-publication__figure-caption",
|
|
5491
5618
|
children: [
|
|
5492
5619
|
caption,
|
|
5493
|
-
credit === undefined || credit === null || credit === "" ? null : /* @__PURE__ */
|
|
5620
|
+
credit === undefined || credit === null || credit === "" ? null : /* @__PURE__ */ jsx4("small", {
|
|
5494
5621
|
className: "plain-publication__figure-credit",
|
|
5495
5622
|
children: credit
|
|
5496
5623
|
})
|
|
@@ -5516,11 +5643,11 @@ function ArticleFigure({
|
|
|
5516
5643
|
"data-width": width,
|
|
5517
5644
|
id,
|
|
5518
5645
|
children: [
|
|
5519
|
-
/* @__PURE__ */
|
|
5646
|
+
/* @__PURE__ */ jsx4("div", {
|
|
5520
5647
|
className: "plain-publication__figure-body",
|
|
5521
5648
|
children
|
|
5522
5649
|
}),
|
|
5523
|
-
/* @__PURE__ */
|
|
5650
|
+
/* @__PURE__ */ jsx4(FigureCaption, {
|
|
5524
5651
|
caption,
|
|
5525
5652
|
credit
|
|
5526
5653
|
})
|
|
@@ -5536,7 +5663,7 @@ function ArticleVideo({
|
|
|
5536
5663
|
width = "text"
|
|
5537
5664
|
}) {
|
|
5538
5665
|
assertArticleVideo(video);
|
|
5539
|
-
return /* @__PURE__ */
|
|
5666
|
+
return /* @__PURE__ */ jsx4(ArticleFigure, {
|
|
5540
5667
|
caption,
|
|
5541
5668
|
className: joinClasses("plain-publication__video", className),
|
|
5542
5669
|
credit,
|
|
@@ -5554,11 +5681,11 @@ function ArticleVideo({
|
|
|
5554
5681
|
preload: "metadata",
|
|
5555
5682
|
width: video.width,
|
|
5556
5683
|
children: [
|
|
5557
|
-
orderedArticleVideoSources(video).map((source) => /* @__PURE__ */
|
|
5684
|
+
orderedArticleVideoSources(video).map((source) => /* @__PURE__ */ jsx4("source", {
|
|
5558
5685
|
src: source.src,
|
|
5559
5686
|
type: source.type
|
|
5560
5687
|
}, source.type)),
|
|
5561
|
-
/* @__PURE__ */
|
|
5688
|
+
/* @__PURE__ */ jsx4("track", {
|
|
5562
5689
|
default: true,
|
|
5563
5690
|
kind: "captions",
|
|
5564
5691
|
label: "Captions",
|
|
@@ -5589,7 +5716,7 @@ function ArticleTable({
|
|
|
5589
5716
|
"data-figure-kind": "table",
|
|
5590
5717
|
id,
|
|
5591
5718
|
children: [
|
|
5592
|
-
/* @__PURE__ */
|
|
5719
|
+
/* @__PURE__ */ jsx4("div", {
|
|
5593
5720
|
className: "plain-publication__table-scroll",
|
|
5594
5721
|
role: "region",
|
|
5595
5722
|
"aria-label": caption,
|
|
@@ -5597,24 +5724,24 @@ function ArticleTable({
|
|
|
5597
5724
|
children: /* @__PURE__ */ jsxs4("table", {
|
|
5598
5725
|
className: "plain-publication__table",
|
|
5599
5726
|
children: [
|
|
5600
|
-
/* @__PURE__ */
|
|
5727
|
+
/* @__PURE__ */ jsx4("caption", {
|
|
5601
5728
|
children: caption
|
|
5602
5729
|
}),
|
|
5603
|
-
/* @__PURE__ */
|
|
5604
|
-
children: /* @__PURE__ */
|
|
5605
|
-
children: columns.map((column, index) => /* @__PURE__ */
|
|
5730
|
+
/* @__PURE__ */ jsx4("thead", {
|
|
5731
|
+
children: /* @__PURE__ */ jsx4("tr", {
|
|
5732
|
+
children: columns.map((column, index) => /* @__PURE__ */ jsx4("th", {
|
|
5606
5733
|
"data-numeric": column.numeric === true ? "" : undefined,
|
|
5607
5734
|
scope: "col",
|
|
5608
5735
|
children: column.label
|
|
5609
5736
|
}, index))
|
|
5610
5737
|
})
|
|
5611
5738
|
}),
|
|
5612
|
-
/* @__PURE__ */
|
|
5613
|
-
children: rows.map((row, rowIndex) => /* @__PURE__ */
|
|
5614
|
-
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", {
|
|
5615
5742
|
scope: "row",
|
|
5616
5743
|
children: cell
|
|
5617
|
-
}, cellIndex) : /* @__PURE__ */
|
|
5744
|
+
}, cellIndex) : /* @__PURE__ */ jsx4("td", {
|
|
5618
5745
|
"data-numeric": columns[cellIndex]?.numeric === true ? "" : undefined,
|
|
5619
5746
|
children: cell
|
|
5620
5747
|
}, cellIndex))
|
|
@@ -5623,7 +5750,7 @@ function ArticleTable({
|
|
|
5623
5750
|
]
|
|
5624
5751
|
})
|
|
5625
5752
|
}),
|
|
5626
|
-
note === undefined || note === null ? null : /* @__PURE__ */
|
|
5753
|
+
note === undefined || note === null ? null : /* @__PURE__ */ jsx4("p", {
|
|
5627
5754
|
className: "plain-publication__figure-note",
|
|
5628
5755
|
children: note
|
|
5629
5756
|
})
|
|
@@ -5652,7 +5779,7 @@ function ArticleBarChart({
|
|
|
5652
5779
|
for (const datum of data)
|
|
5653
5780
|
if (datum.value > ceiling)
|
|
5654
5781
|
throw new RangeError(`Article bar chart value for ${JSON.stringify(datum.label)} exceeds max.`);
|
|
5655
|
-
return /* @__PURE__ */
|
|
5782
|
+
return /* @__PURE__ */ jsx4(ArticleFigure, {
|
|
5656
5783
|
caption,
|
|
5657
5784
|
className: joinClasses("plain-publication__bar-chart", className),
|
|
5658
5785
|
credit,
|
|
@@ -5660,28 +5787,28 @@ function ArticleBarChart({
|
|
|
5660
5787
|
...id === undefined ? {} : {
|
|
5661
5788
|
id
|
|
5662
5789
|
},
|
|
5663
|
-
children: /* @__PURE__ */
|
|
5790
|
+
children: /* @__PURE__ */ jsx4("dl", {
|
|
5664
5791
|
className: "plain-publication__bars",
|
|
5665
5792
|
children: data.map((datum) => /* @__PURE__ */ jsxs4("div", {
|
|
5666
5793
|
className: "plain-publication__bar",
|
|
5667
5794
|
"data-highlight": datum.highlight === true ? "" : undefined,
|
|
5668
5795
|
children: [
|
|
5669
|
-
/* @__PURE__ */
|
|
5796
|
+
/* @__PURE__ */ jsx4("dt", {
|
|
5670
5797
|
children: datum.label
|
|
5671
5798
|
}),
|
|
5672
5799
|
/* @__PURE__ */ jsxs4("dd", {
|
|
5673
5800
|
children: [
|
|
5674
|
-
/* @__PURE__ */
|
|
5801
|
+
/* @__PURE__ */ jsx4("span", {
|
|
5675
5802
|
"aria-hidden": "true",
|
|
5676
5803
|
className: "plain-publication__bar-track",
|
|
5677
|
-
children: /* @__PURE__ */
|
|
5804
|
+
children: /* @__PURE__ */ jsx4("span", {
|
|
5678
5805
|
className: "plain-publication__bar-fill",
|
|
5679
5806
|
style: {
|
|
5680
5807
|
"--plain-bar": `${Math.round(datum.value / ceiling * 1e4) / 100}%`
|
|
5681
5808
|
}
|
|
5682
5809
|
})
|
|
5683
5810
|
}),
|
|
5684
|
-
/* @__PURE__ */
|
|
5811
|
+
/* @__PURE__ */ jsx4("span", {
|
|
5685
5812
|
className: "plain-publication__bar-value",
|
|
5686
5813
|
children: datum.display
|
|
5687
5814
|
})
|
|
@@ -5698,17 +5825,18 @@ var COMPARISON_TEXT = {
|
|
|
5698
5825
|
partial: "Partly"
|
|
5699
5826
|
};
|
|
5700
5827
|
function ComparisonGlyph({
|
|
5701
|
-
kind
|
|
5828
|
+
kind,
|
|
5829
|
+
className
|
|
5702
5830
|
}) {
|
|
5703
5831
|
const path = kind === "yes" ? "M3.5 8.5l3 3 6-7" : kind === "no" ? "M4.5 4.5l7 7m0-7l-7 7" : "M4 8h8";
|
|
5704
|
-
return /* @__PURE__ */
|
|
5832
|
+
return /* @__PURE__ */ jsx4("svg", {
|
|
5705
5833
|
"aria-hidden": "true",
|
|
5706
|
-
className: "plain-publication__comparison-glyph",
|
|
5834
|
+
className: joinClasses("plain-publication__comparison-glyph", className),
|
|
5707
5835
|
focusable: "false",
|
|
5708
5836
|
height: "16",
|
|
5709
5837
|
viewBox: "0 0 16 16",
|
|
5710
5838
|
width: "16",
|
|
5711
|
-
children: /* @__PURE__ */
|
|
5839
|
+
children: /* @__PURE__ */ jsx4("path", {
|
|
5712
5840
|
d: path,
|
|
5713
5841
|
fill: "none",
|
|
5714
5842
|
stroke: "currentColor",
|
|
@@ -5722,7 +5850,7 @@ function ComparisonCell({
|
|
|
5722
5850
|
value
|
|
5723
5851
|
}) {
|
|
5724
5852
|
if (typeof value === "object")
|
|
5725
|
-
return /* @__PURE__ */
|
|
5853
|
+
return /* @__PURE__ */ jsx4(Fragment3, {
|
|
5726
5854
|
children: value.text
|
|
5727
5855
|
});
|
|
5728
5856
|
const kind = value === true ? "yes" : value === false ? "no" : "partial";
|
|
@@ -5730,10 +5858,10 @@ function ComparisonCell({
|
|
|
5730
5858
|
className: "plain-publication__comparison-value",
|
|
5731
5859
|
"data-value": kind,
|
|
5732
5860
|
children: [
|
|
5733
|
-
/* @__PURE__ */
|
|
5861
|
+
/* @__PURE__ */ jsx4(ComparisonGlyph, {
|
|
5734
5862
|
kind
|
|
5735
5863
|
}),
|
|
5736
|
-
/* @__PURE__ */
|
|
5864
|
+
/* @__PURE__ */ jsx4("span", {
|
|
5737
5865
|
children: COMPARISON_TEXT[kind]
|
|
5738
5866
|
})
|
|
5739
5867
|
]
|
|
@@ -5763,7 +5891,7 @@ function ComparisonTable({
|
|
|
5763
5891
|
"data-figure-kind": "table",
|
|
5764
5892
|
id,
|
|
5765
5893
|
children: [
|
|
5766
|
-
/* @__PURE__ */
|
|
5894
|
+
/* @__PURE__ */ jsx4("div", {
|
|
5767
5895
|
className: "plain-publication__table-scroll",
|
|
5768
5896
|
role: "region",
|
|
5769
5897
|
"aria-label": caption,
|
|
@@ -5771,14 +5899,14 @@ function ComparisonTable({
|
|
|
5771
5899
|
children: /* @__PURE__ */ jsxs4("table", {
|
|
5772
5900
|
className: "plain-publication__table",
|
|
5773
5901
|
children: [
|
|
5774
|
-
/* @__PURE__ */
|
|
5902
|
+
/* @__PURE__ */ jsx4("caption", {
|
|
5775
5903
|
children: caption
|
|
5776
5904
|
}),
|
|
5777
|
-
/* @__PURE__ */
|
|
5905
|
+
/* @__PURE__ */ jsx4("thead", {
|
|
5778
5906
|
children: /* @__PURE__ */ jsxs4("tr", {
|
|
5779
5907
|
children: [
|
|
5780
|
-
/* @__PURE__ */
|
|
5781
|
-
options.map((option, index) => /* @__PURE__ */
|
|
5908
|
+
/* @__PURE__ */ jsx4("td", {}),
|
|
5909
|
+
options.map((option, index) => /* @__PURE__ */ jsx4("th", {
|
|
5782
5910
|
"data-highlight": index === highlight ? "" : undefined,
|
|
5783
5911
|
scope: "col",
|
|
5784
5912
|
children: option
|
|
@@ -5786,22 +5914,22 @@ function ComparisonTable({
|
|
|
5786
5914
|
]
|
|
5787
5915
|
})
|
|
5788
5916
|
}),
|
|
5789
|
-
/* @__PURE__ */
|
|
5917
|
+
/* @__PURE__ */ jsx4("tbody", {
|
|
5790
5918
|
children: rows.map((row) => /* @__PURE__ */ jsxs4("tr", {
|
|
5791
5919
|
children: [
|
|
5792
5920
|
/* @__PURE__ */ jsxs4("th", {
|
|
5793
5921
|
scope: "row",
|
|
5794
5922
|
children: [
|
|
5795
5923
|
row.label,
|
|
5796
|
-
row.note === undefined || row.note === "" ? null : /* @__PURE__ */
|
|
5924
|
+
row.note === undefined || row.note === "" ? null : /* @__PURE__ */ jsx4("small", {
|
|
5797
5925
|
className: "plain-publication__comparison-note",
|
|
5798
5926
|
children: row.note
|
|
5799
5927
|
})
|
|
5800
5928
|
]
|
|
5801
5929
|
}),
|
|
5802
|
-
row.values.map((value, index) => /* @__PURE__ */
|
|
5930
|
+
row.values.map((value, index) => /* @__PURE__ */ jsx4("td", {
|
|
5803
5931
|
"data-highlight": index === highlight ? "" : undefined,
|
|
5804
|
-
children: /* @__PURE__ */
|
|
5932
|
+
children: /* @__PURE__ */ jsx4(ComparisonCell, {
|
|
5805
5933
|
value
|
|
5806
5934
|
})
|
|
5807
5935
|
}, index))
|
|
@@ -5811,7 +5939,7 @@ function ComparisonTable({
|
|
|
5811
5939
|
]
|
|
5812
5940
|
})
|
|
5813
5941
|
}),
|
|
5814
|
-
note === undefined || note === null ? null : /* @__PURE__ */
|
|
5942
|
+
note === undefined || note === null ? null : /* @__PURE__ */ jsx4("p", {
|
|
5815
5943
|
className: "plain-publication__figure-note",
|
|
5816
5944
|
children: note
|
|
5817
5945
|
})
|
|
@@ -5819,9 +5947,555 @@ function ComparisonTable({
|
|
|
5819
5947
|
});
|
|
5820
5948
|
}
|
|
5821
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
|
+
|
|
5822
6496
|
// src/react/surfaces.tsx
|
|
5823
6497
|
import { forwardRef } from "react";
|
|
5824
|
-
import * as
|
|
6498
|
+
import * as stylex7 from "@stylexjs/stylex";
|
|
5825
6499
|
import { ThemedSurface, cn } from "@hraness/ui";
|
|
5826
6500
|
|
|
5827
6501
|
// src/react/surfaces.stylex.ts
|
|
@@ -5991,7 +6665,7 @@ var layoutSurfaceStyles = {
|
|
|
5991
6665
|
};
|
|
5992
6666
|
|
|
5993
6667
|
// src/react/surfaces.tsx
|
|
5994
|
-
import { jsx as
|
|
6668
|
+
import { jsx as jsx8, jsxs as jsxs8 } from "react/jsx-runtime";
|
|
5995
6669
|
var ditherSurfaceDensityStyles = {
|
|
5996
6670
|
coarse: ditherSurfaceStyles.coarse,
|
|
5997
6671
|
fine: ditherSurfaceStyles.fine,
|
|
@@ -6001,10 +6675,10 @@ function DitherSurface({
|
|
|
6001
6675
|
className,
|
|
6002
6676
|
density = "medium",
|
|
6003
6677
|
xstyle,
|
|
6004
|
-
...
|
|
6678
|
+
...props8
|
|
6005
6679
|
}) {
|
|
6006
|
-
return /* @__PURE__ */
|
|
6007
|
-
...
|
|
6680
|
+
return /* @__PURE__ */ jsx8(ThemedSurface, {
|
|
6681
|
+
...props8,
|
|
6008
6682
|
className: cn("hraness-design-dither-surface", className),
|
|
6009
6683
|
"data-density": density,
|
|
6010
6684
|
xstyle: [
|
|
@@ -6022,38 +6696,38 @@ function TopBar({
|
|
|
6022
6696
|
position = "static",
|
|
6023
6697
|
surface = "solid",
|
|
6024
6698
|
title,
|
|
6025
|
-
...
|
|
6699
|
+
...props8
|
|
6026
6700
|
}) {
|
|
6027
|
-
const rootPresentation =
|
|
6028
|
-
const leadingPresentation =
|
|
6029
|
-
const titlePresentation =
|
|
6030
|
-
const contentPresentation =
|
|
6031
|
-
const actionsPresentation =
|
|
6032
|
-
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", {
|
|
6033
6707
|
...rootPresentation,
|
|
6034
|
-
...
|
|
6708
|
+
...props8,
|
|
6035
6709
|
className: cn("hraness-design-top-bar", rootPresentation.className, className),
|
|
6036
6710
|
"data-position": position,
|
|
6037
6711
|
"data-surface": surface,
|
|
6038
6712
|
children: [
|
|
6039
|
-
/* @__PURE__ */
|
|
6713
|
+
/* @__PURE__ */ jsxs8("div", {
|
|
6040
6714
|
...leadingPresentation,
|
|
6041
6715
|
className: cn("hraness-design-top-bar__leading", leadingPresentation.className),
|
|
6042
6716
|
children: [
|
|
6043
6717
|
leading,
|
|
6044
|
-
title === undefined ? null : /* @__PURE__ */
|
|
6718
|
+
title === undefined ? null : /* @__PURE__ */ jsx8("div", {
|
|
6045
6719
|
...titlePresentation,
|
|
6046
6720
|
className: cn("hraness-design-top-bar__title", titlePresentation.className),
|
|
6047
6721
|
children: title
|
|
6048
6722
|
})
|
|
6049
6723
|
]
|
|
6050
6724
|
}),
|
|
6051
|
-
children === undefined ? null : /* @__PURE__ */
|
|
6725
|
+
children === undefined ? null : /* @__PURE__ */ jsx8("div", {
|
|
6052
6726
|
...contentPresentation,
|
|
6053
6727
|
className: cn("hraness-design-top-bar__content", contentPresentation.className),
|
|
6054
6728
|
children
|
|
6055
6729
|
}),
|
|
6056
|
-
actions === undefined ? null : /* @__PURE__ */
|
|
6730
|
+
actions === undefined ? null : /* @__PURE__ */ jsx8("div", {
|
|
6057
6731
|
...actionsPresentation,
|
|
6058
6732
|
className: cn("hraness-design-top-bar__actions", actionsPresentation.className),
|
|
6059
6733
|
children: actions
|
|
@@ -6066,28 +6740,28 @@ function BottomBar({
|
|
|
6066
6740
|
children,
|
|
6067
6741
|
className,
|
|
6068
6742
|
leading,
|
|
6069
|
-
...
|
|
6743
|
+
...props8
|
|
6070
6744
|
}) {
|
|
6071
|
-
const rootPresentation =
|
|
6072
|
-
const leadingPresentation =
|
|
6073
|
-
const contentPresentation =
|
|
6074
|
-
const actionsPresentation =
|
|
6075
|
-
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", {
|
|
6076
6750
|
...rootPresentation,
|
|
6077
|
-
...
|
|
6751
|
+
...props8,
|
|
6078
6752
|
className: cn("hraness-design-bottom-bar", rootPresentation.className, className),
|
|
6079
6753
|
children: [
|
|
6080
|
-
leading === undefined ? null : /* @__PURE__ */
|
|
6754
|
+
leading === undefined ? null : /* @__PURE__ */ jsx8("div", {
|
|
6081
6755
|
...leadingPresentation,
|
|
6082
6756
|
className: cn("hraness-design-bottom-bar__leading", leadingPresentation.className),
|
|
6083
6757
|
children: leading
|
|
6084
6758
|
}),
|
|
6085
|
-
/* @__PURE__ */
|
|
6759
|
+
/* @__PURE__ */ jsx8("div", {
|
|
6086
6760
|
...contentPresentation,
|
|
6087
6761
|
className: cn("hraness-design-bottom-bar__content", contentPresentation.className),
|
|
6088
6762
|
children
|
|
6089
6763
|
}),
|
|
6090
|
-
actions === undefined ? null : /* @__PURE__ */
|
|
6764
|
+
actions === undefined ? null : /* @__PURE__ */ jsx8("div", {
|
|
6091
6765
|
...actionsPresentation,
|
|
6092
6766
|
className: cn("hraness-design-bottom-bar__actions", actionsPresentation.className),
|
|
6093
6767
|
children: actions
|
|
@@ -6100,14 +6774,14 @@ function PageCanvas({
|
|
|
6100
6774
|
className,
|
|
6101
6775
|
inset = "content",
|
|
6102
6776
|
size = "default",
|
|
6103
|
-
...
|
|
6777
|
+
...props8
|
|
6104
6778
|
}) {
|
|
6105
6779
|
const Element = as;
|
|
6106
|
-
const
|
|
6107
|
-
return /* @__PURE__ */
|
|
6108
|
-
...
|
|
6109
|
-
...
|
|
6110
|
-
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),
|
|
6111
6785
|
"data-inset": inset,
|
|
6112
6786
|
"data-size": size
|
|
6113
6787
|
});
|
|
@@ -6121,18 +6795,18 @@ var DockedFooter = forwardRef(function DockedFooter2({
|
|
|
6121
6795
|
position = "fixed",
|
|
6122
6796
|
size = "default",
|
|
6123
6797
|
surface = "solid",
|
|
6124
|
-
...
|
|
6798
|
+
...props8
|
|
6125
6799
|
}, ref) {
|
|
6126
|
-
const rootPresentation =
|
|
6127
|
-
const contentPresentation =
|
|
6128
|
-
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", {
|
|
6129
6803
|
...rootPresentation,
|
|
6130
|
-
...
|
|
6804
|
+
...props8,
|
|
6131
6805
|
className: cn("hraness-design-docked-footer", rootPresentation.className, className),
|
|
6132
6806
|
"data-position": position,
|
|
6133
6807
|
"data-surface": surface,
|
|
6134
6808
|
ref,
|
|
6135
|
-
children: /* @__PURE__ */
|
|
6809
|
+
children: /* @__PURE__ */ jsx8("div", {
|
|
6136
6810
|
...contentPresentation,
|
|
6137
6811
|
className: cn("hraness-design-docked-footer__content", contentPresentation.className, contentClassName),
|
|
6138
6812
|
"data-density": density,
|
|
@@ -6325,7 +6999,7 @@ function createParticleHaloRecipe(input) {
|
|
|
6325
6999
|
|
|
6326
7000
|
// src/react/procedural-backdrop.tsx
|
|
6327
7001
|
import { cn as cn2 } from "@hraness/ui";
|
|
6328
|
-
import * as
|
|
7002
|
+
import * as stylex8 from "@stylexjs/stylex";
|
|
6329
7003
|
|
|
6330
7004
|
// src/react/effects.stylex.ts
|
|
6331
7005
|
var effectsStyles = {
|
|
@@ -6583,7 +7257,7 @@ var effectsStyles = {
|
|
|
6583
7257
|
};
|
|
6584
7258
|
|
|
6585
7259
|
// src/react/procedural-backdrop.tsx
|
|
6586
|
-
import { jsx as
|
|
7260
|
+
import { jsx as jsx9, jsxs as jsxs9 } from "react/jsx-runtime";
|
|
6587
7261
|
var colorVariables = {
|
|
6588
7262
|
highlight: "var(--hraness-design-procedural-highlight)",
|
|
6589
7263
|
key: "var(--hraness-design-procedural-key)",
|
|
@@ -6600,7 +7274,7 @@ function ProceduralBackdrop({
|
|
|
6600
7274
|
style,
|
|
6601
7275
|
variation,
|
|
6602
7276
|
variant,
|
|
6603
|
-
...
|
|
7277
|
+
...props9
|
|
6604
7278
|
}) {
|
|
6605
7279
|
const recipe = createProceduralBackdropRecipe({
|
|
6606
7280
|
seed,
|
|
@@ -6638,14 +7312,14 @@ function ProceduralBackdrop({
|
|
|
6638
7312
|
"--hraness-design-procedural-ripple-x": `${recipe.ripple.x}%`,
|
|
6639
7313
|
"--hraness-design-procedural-ripple-y": `${recipe.ripple.y}%`
|
|
6640
7314
|
};
|
|
6641
|
-
const rootPresentation =
|
|
6642
|
-
const atmospherePresentation =
|
|
6643
|
-
const cloudPresentation =
|
|
6644
|
-
const gridPresentation =
|
|
6645
|
-
const ripplesPresentation =
|
|
6646
|
-
const ripplePresentation =
|
|
6647
|
-
return /* @__PURE__ */
|
|
6648
|
-
...
|
|
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,
|
|
6649
7323
|
...INERT_PROPS,
|
|
6650
7324
|
"aria-hidden": "true",
|
|
6651
7325
|
className: cn2("hraness-design-procedural-backdrop", rootPresentation.className, className),
|
|
@@ -6655,7 +7329,7 @@ function ProceduralBackdrop({
|
|
|
6655
7329
|
role: "presentation",
|
|
6656
7330
|
style: rootStyle,
|
|
6657
7331
|
children: [
|
|
6658
|
-
showAtmosphere ? /* @__PURE__ */
|
|
7332
|
+
showAtmosphere ? /* @__PURE__ */ jsx9("span", {
|
|
6659
7333
|
className: cn2("hraness-design-procedural-backdrop__atmosphere", atmospherePresentation.className),
|
|
6660
7334
|
children: recipe.atmosphere.map((layer, index) => {
|
|
6661
7335
|
const layerStyle = {
|
|
@@ -6673,17 +7347,17 @@ function ProceduralBackdrop({
|
|
|
6673
7347
|
"--hraness-design-procedural-layer-x": `${layer.x}%`,
|
|
6674
7348
|
"--hraness-design-procedural-layer-y": `${layer.y}%`
|
|
6675
7349
|
};
|
|
6676
|
-
return /* @__PURE__ */
|
|
7350
|
+
return /* @__PURE__ */ jsx9("i", {
|
|
6677
7351
|
className: cn2("hraness-design-procedural-backdrop__cloud", cloudPresentation.className),
|
|
6678
7352
|
style: layerStyle
|
|
6679
7353
|
}, index);
|
|
6680
7354
|
})
|
|
6681
7355
|
}) : null,
|
|
6682
|
-
showGrid ? /* @__PURE__ */
|
|
7356
|
+
showGrid ? /* @__PURE__ */ jsx9("span", {
|
|
6683
7357
|
className: cn2("hraness-design-procedural-backdrop__grid", gridPresentation.className),
|
|
6684
7358
|
style: gridStyle
|
|
6685
7359
|
}) : null,
|
|
6686
|
-
showRipple ? /* @__PURE__ */
|
|
7360
|
+
showRipple ? /* @__PURE__ */ jsx9("span", {
|
|
6687
7361
|
className: cn2("hraness-design-procedural-backdrop__ripples", ripplesPresentation.className),
|
|
6688
7362
|
style: rippleStyle,
|
|
6689
7363
|
children: recipe.ripple.contours.map((contour, index) => {
|
|
@@ -6693,7 +7367,7 @@ function ProceduralBackdrop({
|
|
|
6693
7367
|
"--hraness-design-procedural-ripple-opacity": contour.opacity,
|
|
6694
7368
|
"--hraness-design-procedural-ripple-size": `${contour.size}%`
|
|
6695
7369
|
};
|
|
6696
|
-
return /* @__PURE__ */
|
|
7370
|
+
return /* @__PURE__ */ jsx9("i", {
|
|
6697
7371
|
className: cn2("hraness-design-procedural-backdrop__ripple", ripplePresentation.className),
|
|
6698
7372
|
style: contourStyle
|
|
6699
7373
|
}, index);
|
|
@@ -6704,7 +7378,7 @@ function ProceduralBackdrop({
|
|
|
6704
7378
|
}
|
|
6705
7379
|
|
|
6706
7380
|
// src/react/platform-icons.tsx
|
|
6707
|
-
import { jsx as
|
|
7381
|
+
import { jsx as jsx10, jsxs as jsxs10 } from "react/jsx-runtime";
|
|
6708
7382
|
var sizeParts = {
|
|
6709
7383
|
inherit: undefined,
|
|
6710
7384
|
lg: "iconLg",
|
|
@@ -6724,7 +7398,7 @@ function PlatformIcon({
|
|
|
6724
7398
|
if (label !== undefined && label.trim() === "")
|
|
6725
7399
|
throw new RangeError("A platform icon label must not be blank.");
|
|
6726
7400
|
const mark = platformMark(platform);
|
|
6727
|
-
return /* @__PURE__ */
|
|
7401
|
+
return /* @__PURE__ */ jsx10("svg", {
|
|
6728
7402
|
"aria-hidden": label === undefined ? true : undefined,
|
|
6729
7403
|
"aria-label": label,
|
|
6730
7404
|
className: platformInstallClassName(["icon", sizeParts[size]], className),
|
|
@@ -6734,7 +7408,7 @@ function PlatformIcon({
|
|
|
6734
7408
|
role: label === undefined ? undefined : "img",
|
|
6735
7409
|
viewBox: mark.viewBox,
|
|
6736
7410
|
xmlns: "http://www.w3.org/2000/svg",
|
|
6737
|
-
children: /* @__PURE__ */
|
|
7411
|
+
children: /* @__PURE__ */ jsx10("path", {
|
|
6738
7412
|
d: mark.path
|
|
6739
7413
|
})
|
|
6740
7414
|
});
|
|
@@ -6761,29 +7435,29 @@ function PlatformBadges({
|
|
|
6761
7435
|
seen.add(badge.id);
|
|
6762
7436
|
}
|
|
6763
7437
|
const listName = label ?? "Supported platforms";
|
|
6764
|
-
return /* @__PURE__ */
|
|
7438
|
+
return /* @__PURE__ */ jsxs10("div", {
|
|
6765
7439
|
className: platformInstallClassName(["badges"], className),
|
|
6766
7440
|
"data-hraness-platform-badges": "",
|
|
6767
7441
|
children: [
|
|
6768
|
-
label === null ? null : /* @__PURE__ */
|
|
7442
|
+
label === null ? null : /* @__PURE__ */ jsx10("span", {
|
|
6769
7443
|
"aria-hidden": "true",
|
|
6770
7444
|
className: platformInstallClassName(["badgesLabel"]),
|
|
6771
7445
|
children: label
|
|
6772
7446
|
}),
|
|
6773
|
-
/* @__PURE__ */
|
|
7447
|
+
/* @__PURE__ */ jsx10("ul", {
|
|
6774
7448
|
"aria-label": listName,
|
|
6775
7449
|
className: platformInstallClassName(["badgesList"]),
|
|
6776
|
-
children: badges.map((badge) => /* @__PURE__ */
|
|
7450
|
+
children: badges.map((badge) => /* @__PURE__ */ jsxs10("li", {
|
|
6777
7451
|
className: platformInstallClassName(["badge"]),
|
|
6778
7452
|
"data-platform": badge.id,
|
|
6779
7453
|
children: [
|
|
6780
|
-
/* @__PURE__ */
|
|
7454
|
+
/* @__PURE__ */ jsx10(PlatformIcon, {
|
|
6781
7455
|
platform: badge.id
|
|
6782
7456
|
}),
|
|
6783
|
-
/* @__PURE__ */
|
|
7457
|
+
/* @__PURE__ */ jsx10("span", {
|
|
6784
7458
|
children: badge.label ?? platformLabel(badge.id)
|
|
6785
7459
|
}),
|
|
6786
|
-
badge.note === undefined ? null : /* @__PURE__ */
|
|
7460
|
+
badge.note === undefined ? null : /* @__PURE__ */ jsx10("span", {
|
|
6787
7461
|
className: platformInstallClassName(["badgeNote"]),
|
|
6788
7462
|
children: badge.note
|
|
6789
7463
|
})
|
|
@@ -6796,8 +7470,8 @@ function PlatformBadges({
|
|
|
6796
7470
|
|
|
6797
7471
|
// src/react/particle-halo.tsx
|
|
6798
7472
|
import { cn as cn3 } from "@hraness/ui";
|
|
6799
|
-
import * as
|
|
6800
|
-
import { jsx as
|
|
7473
|
+
import * as stylex9 from "@stylexjs/stylex";
|
|
7474
|
+
import { jsx as jsx11, jsxs as jsxs11 } from "react/jsx-runtime";
|
|
6801
7475
|
var colorVariables2 = {
|
|
6802
7476
|
highlight: "var(--hraness-design-procedural-highlight)",
|
|
6803
7477
|
key: "var(--hraness-design-procedural-key)",
|
|
@@ -6811,7 +7485,7 @@ function ParticleHalo({
|
|
|
6811
7485
|
seed,
|
|
6812
7486
|
style,
|
|
6813
7487
|
variation,
|
|
6814
|
-
...
|
|
7488
|
+
...props10
|
|
6815
7489
|
}) {
|
|
6816
7490
|
const recipe = createParticleHaloRecipe({
|
|
6817
7491
|
seed,
|
|
@@ -6829,18 +7503,18 @@ function ParticleHalo({
|
|
|
6829
7503
|
"--hraness-design-procedural-support": recipe.palette.support,
|
|
6830
7504
|
...style
|
|
6831
7505
|
};
|
|
6832
|
-
const rootPresentation =
|
|
6833
|
-
const fieldPresentation =
|
|
6834
|
-
const particlePresentation =
|
|
6835
|
-
const contentPresentation =
|
|
6836
|
-
return /* @__PURE__ */
|
|
6837
|
-
...
|
|
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,
|
|
6838
7512
|
className: cn3("hraness-design-particle-halo", rootPresentation.className, className),
|
|
6839
7513
|
"data-recipe-version": recipe.version,
|
|
6840
7514
|
"data-variation": recipe.variation,
|
|
6841
7515
|
style: rootStyle,
|
|
6842
7516
|
children: [
|
|
6843
|
-
/* @__PURE__ */
|
|
7517
|
+
/* @__PURE__ */ jsx11("span", {
|
|
6844
7518
|
"aria-hidden": "true",
|
|
6845
7519
|
className: cn3("hraness-design-particle-halo__particles", fieldPresentation.className),
|
|
6846
7520
|
role: "presentation",
|
|
@@ -6856,13 +7530,13 @@ function ParticleHalo({
|
|
|
6856
7530
|
"--hraness-design-particle-x": `${particle.x}%`,
|
|
6857
7531
|
"--hraness-design-particle-y": `${particle.y}%`
|
|
6858
7532
|
};
|
|
6859
|
-
return /* @__PURE__ */
|
|
7533
|
+
return /* @__PURE__ */ jsx11("i", {
|
|
6860
7534
|
className: cn3("hraness-design-particle-halo__particle", particlePresentation.className),
|
|
6861
7535
|
style: particleStyle
|
|
6862
7536
|
}, index);
|
|
6863
7537
|
})
|
|
6864
7538
|
}),
|
|
6865
|
-
/* @__PURE__ */
|
|
7539
|
+
/* @__PURE__ */ jsx11("div", {
|
|
6866
7540
|
className: cn3("hraness-design-particle-halo__content", contentPresentation.className),
|
|
6867
7541
|
children
|
|
6868
7542
|
})
|
|
@@ -6871,7 +7545,7 @@ function ParticleHalo({
|
|
|
6871
7545
|
}
|
|
6872
7546
|
|
|
6873
7547
|
// src/react/launch-beats.tsx
|
|
6874
|
-
import { jsx as
|
|
7548
|
+
import { jsx as jsx12, jsxs as jsxs12 } from "react/jsx-runtime";
|
|
6875
7549
|
var HEADING_TAGS2 = {
|
|
6876
7550
|
2: "h2",
|
|
6877
7551
|
3: "h3",
|
|
@@ -6902,7 +7576,7 @@ function LaunchBeats({
|
|
|
6902
7576
|
const Heading2 = HEADING_TAGS2[headingLevel];
|
|
6903
7577
|
if (Heading2 === undefined)
|
|
6904
7578
|
throw new RangeError("Launch beat heading level must be 2 to 4.");
|
|
6905
|
-
return /* @__PURE__ */
|
|
7579
|
+
return /* @__PURE__ */ jsx12("div", {
|
|
6906
7580
|
className: ["plain-publication__beats", className].filter(Boolean).join(" "),
|
|
6907
7581
|
"data-hraness-launch-beats": "",
|
|
6908
7582
|
children: beats.map((beat) => {
|
|
@@ -6910,28 +7584,28 @@ function LaunchBeats({
|
|
|
6910
7584
|
const visual = renderVisual(beat);
|
|
6911
7585
|
if (visual === null || visual === undefined || visual === false)
|
|
6912
7586
|
throw new RangeError(`Launch beat ${JSON.stringify(beat.id)} needs a visual.`);
|
|
6913
|
-
return /* @__PURE__ */
|
|
7587
|
+
return /* @__PURE__ */ jsxs12("section", {
|
|
6914
7588
|
"aria-labelledby": `${anchor}-heading`,
|
|
6915
7589
|
className: "plain-publication__beat",
|
|
6916
7590
|
"data-part": beat.part,
|
|
6917
7591
|
id: anchor,
|
|
6918
7592
|
children: [
|
|
6919
|
-
/* @__PURE__ */
|
|
7593
|
+
/* @__PURE__ */ jsx12(Heading2, {
|
|
6920
7594
|
id: `${anchor}-heading`,
|
|
6921
7595
|
children: beat.headline
|
|
6922
7596
|
}),
|
|
6923
|
-
/* @__PURE__ */
|
|
7597
|
+
/* @__PURE__ */ jsx12("p", {
|
|
6924
7598
|
children: beat.post
|
|
6925
7599
|
}),
|
|
6926
|
-
/* @__PURE__ */
|
|
7600
|
+
/* @__PURE__ */ jsx12(ArticleFigure, {
|
|
6927
7601
|
caption: caption?.(beat),
|
|
6928
7602
|
kind: figureKind(beat),
|
|
6929
7603
|
label: beat.alt,
|
|
6930
7604
|
children: visual
|
|
6931
7605
|
}),
|
|
6932
|
-
beat.detailHref === undefined ? null : /* @__PURE__ */
|
|
7606
|
+
beat.detailHref === undefined ? null : /* @__PURE__ */ jsx12("p", {
|
|
6933
7607
|
className: "plain-publication__beat-detail",
|
|
6934
|
-
children: /* @__PURE__ */
|
|
7608
|
+
children: /* @__PURE__ */ jsx12("a", {
|
|
6935
7609
|
href: beat.detailHref,
|
|
6936
7610
|
children: detailLabel
|
|
6937
7611
|
})
|
|
@@ -6942,4 +7616,4 @@ function LaunchBeats({
|
|
|
6942
7616
|
});
|
|
6943
7617
|
}
|
|
6944
7618
|
|
|
6945
|
-
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 };
|