@codeforamerica/marcomms-design-system 1.18.1 → 1.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +20 -15
- package/dist/components/accordion.js +160 -0
- package/dist/components/accordion.js.LICENSE.txt +11 -0
- package/dist/components/avatar.js +103 -0
- package/dist/components/avatar.js.LICENSE.txt +11 -0
- package/dist/components/bar.js +122 -0
- package/dist/components/bar.js.LICENSE.txt +11 -0
- package/dist/components/blob.js +133 -0
- package/dist/components/blob.js.LICENSE.txt +11 -0
- package/dist/components/box.js +99 -0
- package/dist/components/box.js.LICENSE.txt +11 -0
- package/dist/components/breadcrumbs.js +112 -0
- package/dist/components/breadcrumbs.js.LICENSE.txt +11 -0
- package/dist/components/button.js +159 -0
- package/dist/components/button.js.LICENSE.txt +11 -0
- package/dist/components/callout.js +135 -0
- package/dist/components/callout.js.LICENSE.txt +11 -0
- package/dist/components/card.js +873 -0
- package/dist/components/card.js.LICENSE.txt +11 -0
- package/dist/components/carousel.js +291 -0
- package/dist/components/carousel.js.LICENSE.txt +11 -0
- package/dist/components/icon.js +91 -0
- package/dist/components/icon.js.LICENSE.txt +11 -0
- package/dist/components/label.js +498 -0
- package/dist/components/label.js.LICENSE.txt +11 -0
- package/dist/components/logo-card.js +514 -0
- package/dist/components/logo-card.js.LICENSE.txt +11 -0
- package/dist/components/nav.js +129 -0
- package/dist/components/nav.js.LICENSE.txt +11 -0
- package/dist/components/page-nav.js +163 -0
- package/dist/components/page-nav.js.LICENSE.txt +11 -0
- package/dist/components/pager.js +707 -0
- package/dist/components/pager.js.LICENSE.txt +11 -0
- package/dist/components/pagination.js +303 -0
- package/dist/components/pagination.js.LICENSE.txt +11 -0
- package/dist/components/person-card.js +864 -0
- package/dist/components/person-card.js.LICENSE.txt +11 -0
- package/dist/components/pill.js +80 -0
- package/dist/components/pill.js.LICENSE.txt +11 -0
- package/dist/components/placeholder.js +12 -0
- package/dist/components/placeholder.js.LICENSE.txt +11 -0
- package/dist/components/promo.js +536 -0
- package/dist/components/promo.js.LICENSE.txt +11 -0
- package/dist/components/pullquote.js +89 -0
- package/dist/components/pullquote.js.LICENSE.txt +11 -0
- package/dist/components/quote.js +155 -0
- package/dist/components/quote.js.LICENSE.txt +11 -0
- package/dist/components/reveal.js +142 -0
- package/dist/components/reveal.js.LICENSE.txt +11 -0
- package/dist/components/slide.js +157 -0
- package/dist/components/slide.js.LICENSE.txt +11 -0
- package/dist/components/social-icon.js +240 -0
- package/dist/components/social-icon.js.LICENSE.txt +11 -0
- package/dist/components/stat.js +507 -0
- package/dist/components/stat.js.LICENSE.txt +11 -0
- package/dist/components/tab-list.js +688 -0
- package/dist/components/tab-list.js.LICENSE.txt +11 -0
- package/dist/components/tab.js +494 -0
- package/dist/components/tab.js.LICENSE.txt +11 -0
- package/dist/components/tile.js +662 -0
- package/dist/components/tile.js.LICENSE.txt +11 -0
- package/dist/components/transcript.js +483 -0
- package/dist/components/transcript.js.LICENSE.txt +11 -0
- package/dist/core.css +7 -0
- package/dist/core.js +0 -0
- package/dist/index.js +2328 -2328
- package/dist/styles.css +1 -1
- package/package.json +9 -3
- package/src/components/accordion.js +0 -141
- package/src/components/accordion.stories.js +0 -56
- package/src/components/avatar.js +0 -62
- package/src/components/avatar.stories.js +0 -27
- package/src/components/bar.js +0 -102
- package/src/components/bar.stories.js +0 -22
- package/src/components/blob.js +0 -128
- package/src/components/blob.stories.js +0 -73
- package/src/components/box.js +0 -55
- package/src/components/box.stories.js +0 -24
- package/src/components/breadcrumbs.js +0 -80
- package/src/components/breadcrumbs.stories.js +0 -27
- package/src/components/button.js +0 -163
- package/src/components/button.scss +0 -157
- package/src/components/button.stories.js +0 -49
- package/src/components/callout.js +0 -62
- package/src/components/callout.stories.js +0 -20
- package/src/components/card.js +0 -456
- package/src/components/card.stories.js +0 -227
- package/src/components/carousel.js +0 -662
- package/src/components/carousel.stories.js +0 -165
- package/src/components/details.scss +0 -71
- package/src/components/details.stories.js +0 -27
- package/src/components/form-elements.scss +0 -304
- package/src/components/form-elements.stories.js +0 -134
- package/src/components/icon.js +0 -44
- package/src/components/icon.scss +0 -32
- package/src/components/icon.stories.js +0 -38
- package/src/components/label.js +0 -63
- package/src/components/label.stories.js +0 -29
- package/src/components/link-list.scss +0 -80
- package/src/components/link-list.stories.js +0 -52
- package/src/components/loader.scss +0 -24
- package/src/components/loader.stories.js +0 -12
- package/src/components/logo-card.js +0 -93
- package/src/components/logo-card.stories.js +0 -48
- package/src/components/nav.js +0 -98
- package/src/components/nav.stories.js +0 -40
- package/src/components/page-nav.js +0 -171
- package/src/components/page-nav.stories.js +0 -112
- package/src/components/pager.js +0 -98
- package/src/components/pager.stories.js +0 -30
- package/src/components/pagination.js +0 -116
- package/src/components/pagination.stories.js +0 -30
- package/src/components/person-card.js +0 -240
- package/src/components/person-card.stories.js +0 -58
- package/src/components/pill.js +0 -33
- package/src/components/pill.stories.js +0 -25
- package/src/components/placeholder.js +0 -25
- package/src/components/placeholder.stories.js +0 -10
- package/src/components/promo.js +0 -82
- package/src/components/promo.stories.js +0 -37
- package/src/components/pullquote.js +0 -42
- package/src/components/pullquote.stories.js +0 -16
- package/src/components/quote.js +0 -111
- package/src/components/quote.stories.js +0 -23
- package/src/components/reveal.js +0 -83
- package/src/components/reveal.stories.js +0 -40
- package/src/components/slide.js +0 -122
- package/src/components/slide.stories.js +0 -49
- package/src/components/social-icon.js +0 -236
- package/src/components/social-icon.stories.js +0 -36
- package/src/components/stat.js +0 -92
- package/src/components/stat.stories.js +0 -28
- package/src/components/tab-list.js +0 -114
- package/src/components/tab-list.stories.js +0 -18
- package/src/components/tab.js +0 -95
- package/src/components/tab.stories.js +0 -29
- package/src/components/tile.js +0 -149
- package/src/components/tile.stories.js +0 -41
- package/src/components/transcript.js +0 -44
- package/src/components/transcript.stories.js +0 -103
- package/src/core/base.scss +0 -86
- package/src/core/colors.mdx +0 -100
- package/src/core/grid.mdx +0 -244
- package/src/core/grid.scss +0 -394
- package/src/core/helpers.scss +0 -111
- package/src/core/layout.scss +0 -97
- package/src/core/layout.stories.js +0 -145
- package/src/core/reset.scss +0 -53
- package/src/core/shadows.mdx +0 -108
- package/src/core/tokens.scss +0 -261
- package/src/core/typography.mdx +0 -79
- package/src/core/typography.scss +0 -411
- package/src/index.js +0 -43
- package/src/shared/common.js +0 -65
- package/src/shared/layout.js +0 -14
- package/src/shared/typography.js +0 -397
- package/src/styles.scss +0 -15
|
@@ -0,0 +1,864 @@
|
|
|
1
|
+
/*! For license information please see person-card.js.LICENSE.txt */
|
|
2
|
+
(()=>{"use strict";var t={330(t,e,i){var s=i(161),n=i(601);class o extends s.WF{static properties={imageUrl:{},altText:{},size:{}};static styles=(()=>[n.s,s.AH`
|
|
3
|
+
:host {
|
|
4
|
+
--bg-color: var(--blue-20);
|
|
5
|
+
|
|
6
|
+
display: inline-block;
|
|
7
|
+
max-width: 100%;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
picture {
|
|
11
|
+
aspect-ratio: 1 / 1;
|
|
12
|
+
background-color: var(--bg-color);
|
|
13
|
+
border-radius: 50%;
|
|
14
|
+
display: block;
|
|
15
|
+
max-width: 100%;
|
|
16
|
+
overflow: hidden;
|
|
17
|
+
width: var(--size);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
img {
|
|
21
|
+
display: block;
|
|
22
|
+
height: 100%;
|
|
23
|
+
object-fit: cover;
|
|
24
|
+
width: 100%;
|
|
25
|
+
}
|
|
26
|
+
`])();render(){return s.qy`
|
|
27
|
+
<style>
|
|
28
|
+
:host {
|
|
29
|
+
--size: var(--spacing-layout-${this.size||"4"}, 8rem);
|
|
30
|
+
}
|
|
31
|
+
</style>
|
|
32
|
+
<picture>
|
|
33
|
+
${this.imageUrl?s.qy`
|
|
34
|
+
<img
|
|
35
|
+
src="${this.imageUrl}"
|
|
36
|
+
loading="lazy"
|
|
37
|
+
alt="${this.altText}"
|
|
38
|
+
/>
|
|
39
|
+
`:s.s6}
|
|
40
|
+
</picture>
|
|
41
|
+
`}}customElements.get("cfa-avatar")||customElements.define("cfa-avatar",o)},804(t,e,i){var s=i(161),n=i(601);class o extends s.WF{static properties={icon:""};static styles=(()=>[n.s,s.AH`
|
|
42
|
+
.social-icon {
|
|
43
|
+
-moz-osx-font-smoothing: grayscale;
|
|
44
|
+
-webkit-font-smoothing: antialiased;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
svg {
|
|
48
|
+
fill: currentColor;
|
|
49
|
+
height: 1em;
|
|
50
|
+
vertical-align: -0.125em;
|
|
51
|
+
width: 1em;
|
|
52
|
+
}
|
|
53
|
+
`])();constructor(){super()}iconTemplate(t){switch(t){case"bluesky":return s.qy`
|
|
54
|
+
<svg id="Layer_1" xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 568 501">
|
|
55
|
+
<path class="st0" d="M123.1,33.7c65.1,48.9,135.2,148,160.9,201.2,25.7-53.2,95.8-152.3,160.9-201.2,47-35.3,123.1-62.6,123.1,24.3s-9.9,145.7-15.8,166.6c-20.3,72.5-94.2,90.9-159.9,79.7,114.9,19.6,144.1,84.3,81,149.1-119.9,123-172.3-30.9-185.7-70.3-2.5-7.2-3.6-10.6-3.6-7.7,0-2.9-1.2.5-3.6,7.7-13.4,39.4-65.8,193.3-185.7,70.3-63.1-64.8-33.9-129.5,81-149.1-65.7,11.2-139.6-7.3-159.9-79.7C9.9,203.7,0,75.3,0,57.9,0-28.9,76.1-1.6,123.1,33.7Z"/>
|
|
56
|
+
</svg>
|
|
57
|
+
`;case"dropbox":return s.qy`
|
|
58
|
+
<svg
|
|
59
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
60
|
+
height="16"
|
|
61
|
+
width="16.5"
|
|
62
|
+
viewBox="0 0 528 512"
|
|
63
|
+
>
|
|
64
|
+
<!--!Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.-->
|
|
65
|
+
<path
|
|
66
|
+
d="M264.4 116.3l-132 84.3 132 84.3-132 84.3L0 284.1l132.3-84.3L0 116.3 132.3 32l132.1 84.3zM131.6 395.7l132-84.3 132 84.3-132 84.3-132-84.3zm132.8-111.6l132-84.3-132-83.6L395.7 32 528 116.3l-132.3 84.3L528 284.8l-132.3 84.3-131.3-85z"
|
|
67
|
+
/>
|
|
68
|
+
</svg>
|
|
69
|
+
`;case"facebook":return s.qy`
|
|
70
|
+
<svg
|
|
71
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
72
|
+
height="16"
|
|
73
|
+
width="16"
|
|
74
|
+
viewBox="0 0 512 512"
|
|
75
|
+
>
|
|
76
|
+
<!--!Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.-->
|
|
77
|
+
<path
|
|
78
|
+
d="M512 256C512 114.6 397.4 0 256 0S0 114.6 0 256C0 376 82.7 476.8 194.2 504.5V334.2H141.4V256h52.8V222.3c0-87.1 39.4-127.5 125-127.5c16.2 0 44.2 3.2 55.7 6.4V172c-6-.6-16.5-1-29.6-1c-42 0-58.2 15.9-58.2 57.2V256h83.6l-14.4 78.2H287V510.1C413.8 494.8 512 386.9 512 256h0z"
|
|
79
|
+
/>
|
|
80
|
+
</svg>
|
|
81
|
+
`;case"github":return s.qy`
|
|
82
|
+
<svg
|
|
83
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
84
|
+
height="16"
|
|
85
|
+
width="15.5"
|
|
86
|
+
viewBox="0 0 496 512"
|
|
87
|
+
>
|
|
88
|
+
<!--!Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.-->
|
|
89
|
+
<path
|
|
90
|
+
d="M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3 .3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5 .3-6.2 2.3zm44.2-1.7c-2.9 .7-4.9 2.6-4.6 4.9 .3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3 .7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3 .3 2.9 2.3 3.9 1.6 1 3.6 .7 4.3-.7 .7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3 .7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3 .7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"
|
|
91
|
+
/>
|
|
92
|
+
</svg>
|
|
93
|
+
`;case"google-drive":return s.qy`
|
|
94
|
+
<svg
|
|
95
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
96
|
+
height="16"
|
|
97
|
+
width="16"
|
|
98
|
+
viewBox="0 0 512 512"
|
|
99
|
+
>
|
|
100
|
+
<!--!Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.-->
|
|
101
|
+
<path
|
|
102
|
+
d="M339 314.9L175.4 32h161.2l163.6 282.9H339zm-137.5 23.6L120.9 480h310.5L512 338.5H201.5zM154.1 67.4L0 338.5 80.6 480 237 208.8 154.1 67.4z"
|
|
103
|
+
/>
|
|
104
|
+
</svg>
|
|
105
|
+
`;case"google":return s.qy`
|
|
106
|
+
<svg
|
|
107
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
108
|
+
height="16"
|
|
109
|
+
width="15.25"
|
|
110
|
+
viewBox="0 0 488 512"
|
|
111
|
+
>
|
|
112
|
+
<!--!Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.-->
|
|
113
|
+
<path
|
|
114
|
+
d="M488 261.8C488 403.3 391.1 504 248 504 110.8 504 0 393.2 0 256S110.8 8 248 8c66.8 0 123 24.5 166.3 64.9l-67.5 64.9C258.5 52.6 94.3 116.6 94.3 256c0 86.5 69.1 156.6 153.7 156.6 98.2 0 135-70.4 140.8-106.9H248v-85.3h236.1c2.3 12.7 3.9 24.9 3.9 41.4z"
|
|
115
|
+
/>
|
|
116
|
+
</svg>
|
|
117
|
+
`;case"instagram":return s.qy`
|
|
118
|
+
<svg
|
|
119
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
120
|
+
height="16"
|
|
121
|
+
width="14"
|
|
122
|
+
viewBox="0 0 448 512"
|
|
123
|
+
>
|
|
124
|
+
<!--!Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.-->
|
|
125
|
+
<path
|
|
126
|
+
d="M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z"
|
|
127
|
+
/>
|
|
128
|
+
</svg>
|
|
129
|
+
`;case"linkedin":return s.qy`
|
|
130
|
+
<svg
|
|
131
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
132
|
+
height="16"
|
|
133
|
+
width="14"
|
|
134
|
+
viewBox="0 0 448 512"
|
|
135
|
+
>
|
|
136
|
+
<!--!Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.-->
|
|
137
|
+
<path
|
|
138
|
+
d="M416 32H31.9C14.3 32 0 46.5 0 64.3v383.4C0 465.5 14.3 480 31.9 480H416c17.6 0 32-14.5 32-32.3V64.3c0-17.8-14.4-32.3-32-32.3zM135.4 416H69V202.2h66.5V416zm-33.2-243c-21.3 0-38.5-17.3-38.5-38.5S80.9 96 102.2 96c21.2 0 38.5 17.3 38.5 38.5 0 21.3-17.2 38.5-38.5 38.5zm282.1 243h-66.4V312c0-24.8-.5-56.7-34.5-56.7-34.6 0-39.9 27-39.9 54.9V416h-66.4V202.2h63.7v29.2h.9c8.9-16.8 30.6-34.5 62.9-34.5 67.2 0 79.7 44.3 79.7 101.9V416z"
|
|
139
|
+
/>
|
|
140
|
+
</svg>
|
|
141
|
+
`;case"reddit":return s.qy`
|
|
142
|
+
<svg
|
|
143
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
144
|
+
height="16"
|
|
145
|
+
width="16"
|
|
146
|
+
viewBox="0 0 512 512"
|
|
147
|
+
>
|
|
148
|
+
<!--!Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.-->
|
|
149
|
+
<path
|
|
150
|
+
d="M0 256C0 114.6 114.6 0 256 0S512 114.6 512 256s-114.6 256-256 256L37.1 512c-13.7 0-20.5-16.5-10.9-26.2L75 437C28.7 390.7 0 326.7 0 256zM349.6 153.6c23.6 0 42.7-19.1 42.7-42.7s-19.1-42.7-42.7-42.7c-20.6 0-37.8 14.6-41.8 34c-34.5 3.7-61.4 33-61.4 68.4l0 .2c-37.5 1.6-71.8 12.3-99 29.1c-10.1-7.8-22.8-12.5-36.5-12.5c-33 0-59.8 26.8-59.8 59.8c0 24 14.1 44.6 34.4 54.1c2 69.4 77.6 125.2 170.6 125.2s168.7-55.9 170.6-125.3c20.2-9.6 34.1-30.2 34.1-54c0-33-26.8-59.8-59.8-59.8c-13.7 0-26.3 4.6-36.4 12.4c-27.4-17-62.1-27.7-100-29.1l0-.2c0-25.4 18.9-46.5 43.4-49.9l0 0c4.4 18.8 21.3 32.8 41.5 32.8zM177.1 246.9c16.7 0 29.5 17.6 28.5 39.3s-13.5 29.6-30.3 29.6s-31.4-8.8-30.4-30.5s15.4-38.3 32.1-38.3zm190.1 38.3c1 21.7-13.7 30.5-30.4 30.5s-29.3-7.9-30.3-29.6c-1-21.7 11.8-39.3 28.5-39.3s31.2 16.6 32.1 38.3zm-48.1 56.7c-10.3 24.6-34.6 41.9-63 41.9s-52.7-17.3-63-41.9c-1.2-2.9 .8-6.2 3.9-6.5c18.4-1.9 38.3-2.9 59.1-2.9s40.7 1 59.1 2.9c3.1 .3 5.1 3.6 3.9 6.5z"
|
|
151
|
+
/>
|
|
152
|
+
</svg>
|
|
153
|
+
`;case"soundcloud":return s.qy`
|
|
154
|
+
<svg
|
|
155
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
156
|
+
height="16"
|
|
157
|
+
width="20"
|
|
158
|
+
viewBox="0 0 640 512"
|
|
159
|
+
>
|
|
160
|
+
<!--!Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.-->
|
|
161
|
+
<path
|
|
162
|
+
d="M111.4 256.3l5.8 65-5.8 68.3c-.3 2.5-2.2 4.4-4.4 4.4s-4.2-1.9-4.2-4.4l-5.6-68.3 5.6-65c0-2.2 1.9-4.2 4.2-4.2 2.2 0 4.1 2 4.4 4.2zm21.4-45.6c-2.8 0-4.7 2.2-5 5l-5 105.6 5 68.3c.3 2.8 2.2 5 5 5 2.5 0 4.7-2.2 4.7-5l5.8-68.3-5.8-105.6c0-2.8-2.2-5-4.7-5zm25.5-24.1c-3.1 0-5.3 2.2-5.6 5.3l-4.4 130 4.4 67.8c.3 3.1 2.5 5.3 5.6 5.3 2.8 0 5.3-2.2 5.3-5.3l5.3-67.8-5.3-130c0-3.1-2.5-5.3-5.3-5.3zM7.2 283.2c-1.4 0-2.2 1.1-2.5 2.5L0 321.3l4.7 35c.3 1.4 1.1 2.5 2.5 2.5s2.2-1.1 2.5-2.5l5.6-35-5.6-35.6c-.3-1.4-1.1-2.5-2.5-2.5zm23.6-21.9c-1.4 0-2.5 1.1-2.5 2.5l-6.4 57.5 6.4 56.1c0 1.7 1.1 2.8 2.5 2.8s2.5-1.1 2.8-2.5l7.2-56.4-7.2-57.5c-.3-1.4-1.4-2.5-2.8-2.5zm25.3-11.4c-1.7 0-3.1 1.4-3.3 3.3L47 321.3l5.8 65.8c.3 1.7 1.7 3.1 3.3 3.1 1.7 0 3.1-1.4 3.1-3.1l6.9-65.8-6.9-68.1c0-1.9-1.4-3.3-3.1-3.3zm25.3-2.2c-1.9 0-3.6 1.4-3.6 3.6l-5.8 70 5.8 67.8c0 2.2 1.7 3.6 3.6 3.6s3.6-1.4 3.9-3.6l6.4-67.8-6.4-70c-.3-2.2-2-3.6-3.9-3.6zm241.4-110.9c-1.1-.8-2.8-1.4-4.2-1.4-2.2 0-4.2 .8-5.6 1.9-1.9 1.7-3.1 4.2-3.3 6.7v.8l-3.3 176.7 1.7 32.5 1.7 31.7c.3 4.7 4.2 8.6 8.9 8.6s8.6-3.9 8.6-8.6l3.9-64.2-3.9-177.5c-.4-3-2-5.8-4.5-7.2zm-26.7 15.3c-1.4-.8-2.8-1.4-4.4-1.4s-3.1 .6-4.4 1.4c-2.2 1.4-3.6 3.9-3.6 6.7l-.3 1.7-2.8 160.8s0 .3 3.1 65.6v.3c0 1.7 .6 3.3 1.7 4.7 1.7 1.9 3.9 3.1 6.4 3.1 2.2 0 4.2-1.1 5.6-2.5 1.7-1.4 2.5-3.3 2.5-5.6l.3-6.7 3.1-58.6-3.3-162.8c-.3-2.8-1.7-5.3-3.9-6.7zm-111.4 22.5c-3.1 0-5.8 2.8-5.8 6.1l-4.4 140.6 4.4 67.2c.3 3.3 2.8 5.8 5.8 5.8 3.3 0 5.8-2.5 6.1-5.8l5-67.2-5-140.6c-.2-3.3-2.7-6.1-6.1-6.1zm376.7 62.8c-10.8 0-21.1 2.2-30.6 6.1-6.4-70.8-65.8-126.4-138.3-126.4-17.8 0-35 3.3-50.3 9.4-6.1 2.2-7.8 4.4-7.8 9.2v249.7c0 5 3.9 8.6 8.6 9.2h218.3c43.3 0 78.6-35 78.6-78.3 .1-43.6-35.2-78.9-78.5-78.9zm-296.7-60.3c-4.2 0-7.5 3.3-7.8 7.8l-3.3 136.7 3.3 65.6c.3 4.2 3.6 7.5 7.8 7.5 4.2 0 7.5-3.3 7.5-7.5l3.9-65.6-3.9-136.7c-.3-4.5-3.3-7.8-7.5-7.8zm-53.6-7.8c-3.3 0-6.4 3.1-6.4 6.7l-3.9 145.3 3.9 66.9c.3 3.6 3.1 6.4 6.4 6.4 3.6 0 6.4-2.8 6.7-6.4l4.4-66.9-4.4-145.3c-.3-3.6-3.1-6.7-6.7-6.7zm26.7 3.4c-3.9 0-6.9 3.1-6.9 6.9L227 321.3l3.9 66.4c.3 3.9 3.1 6.9 6.9 6.9s6.9-3.1 6.9-6.9l4.2-66.4-4.2-141.7c0-3.9-3-6.9-6.9-6.9z"
|
|
163
|
+
/>
|
|
164
|
+
</svg>
|
|
165
|
+
`;case"threads":return s.qy`
|
|
166
|
+
<svg
|
|
167
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
168
|
+
height="16"
|
|
169
|
+
width="14"
|
|
170
|
+
viewBox="0 0 448 512"
|
|
171
|
+
>
|
|
172
|
+
<!--!Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.-->
|
|
173
|
+
<path
|
|
174
|
+
d="M331.5 235.7c2.2 .9 4.2 1.9 6.3 2.8c29.2 14.1 50.6 35.2 61.8 61.4c15.7 36.5 17.2 95.8-30.3 143.2c-36.2 36.2-80.3 52.5-142.6 53h-.3c-70.2-.5-124.1-24.1-160.4-70.2c-32.3-41-48.9-98.1-49.5-169.6V256v-.2C17 184.3 33.6 127.2 65.9 86.2C102.2 40.1 156.2 16.5 226.4 16h.3c70.3 .5 124.9 24 162.3 69.9c18.4 22.7 32 50 40.6 81.7l-40.4 10.8c-7.1-25.8-17.8-47.8-32.2-65.4c-29.2-35.8-73-54.2-130.5-54.6c-57 .5-100.1 18.8-128.2 54.4C72.1 146.1 58.5 194.3 58 256c.5 61.7 14.1 109.9 40.3 143.3c28 35.6 71.2 53.9 128.2 54.4c51.4-.4 85.4-12.6 113.7-40.9c32.3-32.2 31.7-71.8 21.4-95.9c-6.1-14.2-17.1-26-31.9-34.9c-3.7 26.9-11.8 48.3-24.7 64.8c-17.1 21.8-41.4 33.6-72.7 35.3c-23.6 1.3-46.3-4.4-63.9-16c-20.8-13.8-33-34.8-34.3-59.3c-2.5-48.3 35.7-83 95.2-86.4c21.1-1.2 40.9-.3 59.2 2.8c-2.4-14.8-7.3-26.6-14.6-35.2c-10-11.7-25.6-17.7-46.2-17.8H227c-16.6 0-39 4.6-53.3 26.3l-34.4-23.6c19.2-29.1 50.3-45.1 87.8-45.1h.8c62.6 .4 99.9 39.5 103.7 107.7l-.2 .2zm-156 68.8c1.3 25.1 28.4 36.8 54.6 35.3c25.6-1.4 54.6-11.4 59.5-73.2c-13.2-2.9-27.8-4.4-43.4-4.4c-4.8 0-9.6 .1-14.4 .4c-42.9 2.4-57.2 23.2-56.2 41.8l-.1 .1z"
|
|
175
|
+
/>
|
|
176
|
+
</svg>
|
|
177
|
+
`;case"twitter":return s.qy`
|
|
178
|
+
<svg
|
|
179
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
180
|
+
height="16"
|
|
181
|
+
width="16"
|
|
182
|
+
viewBox="0 0 512 512"
|
|
183
|
+
>
|
|
184
|
+
<!--!Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.-->
|
|
185
|
+
<path
|
|
186
|
+
d="M389.2 48h70.6L305.6 224.2 487 464H345L233.7 318.6 106.5 464H35.8L200.7 275.5 26.8 48H172.4L272.9 180.9 389.2 48zM364.4 421.8h39.1L151.1 88h-42L364.4 421.8z"
|
|
187
|
+
/>
|
|
188
|
+
</svg>
|
|
189
|
+
`;case"wikipedia":return s.qy`
|
|
190
|
+
<svg
|
|
191
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
192
|
+
height="16"
|
|
193
|
+
width="20"
|
|
194
|
+
viewBox="0 0 640 512"
|
|
195
|
+
>
|
|
196
|
+
<!--!Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.-->
|
|
197
|
+
<path
|
|
198
|
+
d="M640 51.2l-.3 12.2c-28.1 .8-45 15.8-55.8 40.3-25 57.8-103.3 240-155.3 358.6H415l-81.9-193.1c-32.5 63.6-68.3 130-99.2 193.1-.3 .3-15 0-15-.3C172 352.3 122.8 243.4 75.8 133.4 64.4 106.7 26.4 63.4 .2 63.7c0-3.1-.3-10-.3-14.2h161.9v13.9c-19.2 1.1-52.8 13.3-43.3 34.2 21.9 49.7 103.6 240.3 125.6 288.6 15-29.7 57.8-109.2 75.3-142.8-13.9-28.3-58.6-133.9-72.8-160-9.7-17.8-36.1-19.4-55.8-19.7V49.8l142.5 .3v13.1c-19.4 .6-38.1 7.8-29.4 26.1 18.9 40 30.6 68.1 48.1 104.7 5.6-10.8 34.7-69.4 48.1-100.8 8.9-20.6-3.9-28.6-38.6-29.4 .3-3.6 0-10.3 .3-13.6 44.4-.3 111.1-.3 123.1-.6v13.6c-22.5 .8-45.8 12.8-58.1 31.7l-59.2 122.8c6.4 16.1 63.3 142.8 69.2 156.7L559.2 91.8c-8.6-23.1-36.4-28.1-47.2-28.3V49.6l127.8 1.1 .2 .5z"
|
|
199
|
+
/>
|
|
200
|
+
</svg>
|
|
201
|
+
`;case"youtube":return s.qy`
|
|
202
|
+
<svg
|
|
203
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
204
|
+
height="16"
|
|
205
|
+
width="18"
|
|
206
|
+
viewBox="0 0 576 512"
|
|
207
|
+
>
|
|
208
|
+
<!--!Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.-->
|
|
209
|
+
<path
|
|
210
|
+
d="M549.7 124.1c-6.3-23.7-24.8-42.3-48.3-48.6C458.8 64 288 64 288 64S117.2 64 74.6 75.5c-23.5 6.3-42 24.9-48.3 48.6-11.4 42.9-11.4 132.3-11.4 132.3s0 89.4 11.4 132.3c6.3 23.7 24.8 41.5 48.3 47.8C117.2 448 288 448 288 448s170.8 0 213.4-11.5c23.5-6.3 42-24.2 48.3-47.8 11.4-42.9 11.4-132.3 11.4-132.3s0-89.4-11.4-132.3zm-317.5 213.5V175.2l142.7 81.2-142.7 81.2z"
|
|
211
|
+
/>
|
|
212
|
+
</svg>
|
|
213
|
+
`;default:return""}}render(){return s.qy`
|
|
214
|
+
<span class="social-icon ${this.icon}" aria-hidden="true">
|
|
215
|
+
${this.iconTemplate(this.icon)}
|
|
216
|
+
</span>
|
|
217
|
+
`}}customElements.get("cfa-social-icon")||customElements.define("cfa-social-icon",o)},601(t,e,i){i.d(e,{s:()=>s});const s=i(161).AH`
|
|
218
|
+
*:focus-visible,
|
|
219
|
+
*:target {
|
|
220
|
+
outline: var(--focus-outline);
|
|
221
|
+
position: relative;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
// RESET
|
|
225
|
+
|
|
226
|
+
// Use a more-intuitive box-sizing model.
|
|
227
|
+
*, *::before, *::after {
|
|
228
|
+
box-sizing: border-box;
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
// Remove default margin
|
|
232
|
+
* {
|
|
233
|
+
margin: 0;
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
// Set default text-wrap of 'pretty'
|
|
237
|
+
* {
|
|
238
|
+
text-wrap: pretty;
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
// Wrap overly long words
|
|
242
|
+
* {
|
|
243
|
+
overflow-wrap: break-word;
|
|
244
|
+
text-overflow: ellipsis;
|
|
245
|
+
word-break: break-word;
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
// Fix Safari antialiasing for variable fonts
|
|
249
|
+
* {
|
|
250
|
+
font-synthesis: none !important;
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
// Improve text rendering
|
|
254
|
+
body {
|
|
255
|
+
-webkit-font-smoothing: antialiased;
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
// Reasonable media defaults
|
|
259
|
+
img, picture, video, canvas, svg {
|
|
260
|
+
display: block;
|
|
261
|
+
height: auto;
|
|
262
|
+
max-width: 100%;
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
// Remove built-in form typography styles
|
|
266
|
+
input, button, textarea, select {
|
|
267
|
+
font: inherit;
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
// Avoid text overflows
|
|
271
|
+
p, h1, h2, h3, h4, h5, h6 {
|
|
272
|
+
overflow-wrap: break-word;
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
// Create a root stacking context
|
|
276
|
+
#root, #__next {
|
|
277
|
+
isolation: isolate;
|
|
278
|
+
}
|
|
279
|
+
`},205(t,e,i){i.d(e,{g:()=>s});const s=i(161).AH`
|
|
280
|
+
// =====
|
|
281
|
+
|
|
282
|
+
// Typography spacing
|
|
283
|
+
|
|
284
|
+
// Add a single space around paragraphs, blockquotes, and lists
|
|
285
|
+
p, ul, ol, blockquote {
|
|
286
|
+
& + * {
|
|
287
|
+
margin-block-start: var(--spacing, var(--spacing-layout-1, 1.5rem));
|
|
288
|
+
}
|
|
289
|
+
* + & {
|
|
290
|
+
margin-block-start: var(--spacing, var(--spacing-layout-1, 1.5rem));
|
|
291
|
+
}
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
h1, h2, h3, h4, .h1, .h2, .h3, .h4, .display-1, .display-2 {
|
|
295
|
+
// Add a single line space after headings
|
|
296
|
+
& + * {
|
|
297
|
+
margin-block-start: var(--spacing, var(--spacing-layout-1, 1.5rem));
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
// Add two line spaces before headings
|
|
301
|
+
* + & {
|
|
302
|
+
--spacing: var(--spacing-layout-2);
|
|
303
|
+
|
|
304
|
+
margin-block-start: --spacing;
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
// Only add a single space between headings and other headings
|
|
308
|
+
& + & {
|
|
309
|
+
--spacing: var(--spacing-layout-1);
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
// Reduce space after breadcrumbs and eyebrows
|
|
313
|
+
cfa-breadcrumbs + & {
|
|
314
|
+
margin-block-start: var(--spacing-layout-half) !important;
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
.eyebrow + & {
|
|
318
|
+
margin-block-start: 0 !important;
|
|
319
|
+
}
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
h1, .h1, .display-1, .display-2 {
|
|
323
|
+
text-wrap: balance;
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
// =====
|
|
327
|
+
|
|
328
|
+
// Font styles
|
|
329
|
+
|
|
330
|
+
.regular {
|
|
331
|
+
font-family: var(--font-family-base);
|
|
332
|
+
font-size: var(--font-size-base);
|
|
333
|
+
line-height: var(--line-height-base);
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
.display-1 {
|
|
337
|
+
font-family: var(--font-family-heading);
|
|
338
|
+
font-size: var(--font-size-display-1);
|
|
339
|
+
font-weight: bold;
|
|
340
|
+
line-height: var(--line-height-display-1);
|
|
341
|
+
letter-spacing: var(--letter-spacing-display-1);
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
.display-2 {
|
|
345
|
+
font-family: var(--font-family-heading);
|
|
346
|
+
font-size: var(--font-size-display-2);
|
|
347
|
+
font-weight: bold;
|
|
348
|
+
line-height: var(--line-height-display-2);
|
|
349
|
+
letter-spacing: var(--letter-spacing-display-2);
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
h1,
|
|
353
|
+
.h1 {
|
|
354
|
+
font-family: var(--font-family-heading);
|
|
355
|
+
font-size: var(--font-size-h1);
|
|
356
|
+
font-weight: bold;
|
|
357
|
+
line-height: var(--line-height-h1);
|
|
358
|
+
letter-spacing: var(--letter-spacing-h1);
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
h2,
|
|
362
|
+
.h2 {
|
|
363
|
+
font-family: var(--font-family-heading);
|
|
364
|
+
font-size: var(--font-size-h2);
|
|
365
|
+
font-weight: bold;
|
|
366
|
+
line-height: var(--line-height-h2);
|
|
367
|
+
letter-spacing: var(--letter-spacing-h2);
|
|
368
|
+
}
|
|
369
|
+
|
|
370
|
+
h3,
|
|
371
|
+
.h3 {
|
|
372
|
+
font-family: var(--font-family-heading);
|
|
373
|
+
font-size: var(--font-size-h3);
|
|
374
|
+
font-weight: bold;
|
|
375
|
+
line-height: var(--line-height-h3);
|
|
376
|
+
letter-spacing: var(--letter-spacing-h3);
|
|
377
|
+
}
|
|
378
|
+
|
|
379
|
+
h4,
|
|
380
|
+
.h4 {
|
|
381
|
+
font-family: var(--font-family-heading);
|
|
382
|
+
font-size: var(--font-size-h4);
|
|
383
|
+
font-weight: bold;
|
|
384
|
+
line-height: var(--line-height-h4);
|
|
385
|
+
letter-spacing: var(--letter-spacing-h4);
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
.extra-large {
|
|
389
|
+
font-size: var(--font-size-extra-large);
|
|
390
|
+
line-height: var(--line-height-extra-large);
|
|
391
|
+
letter-spacing: var(--letter-spacing-extra-large);
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
.large {
|
|
395
|
+
font-size: var(--font-size-large);
|
|
396
|
+
line-height: var(--line-height-large);
|
|
397
|
+
letter-spacing: var(--letter-spacing-large);
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
.small {
|
|
401
|
+
font-size: var(--font-size-small);
|
|
402
|
+
line-height: var(--line-height-small);
|
|
403
|
+
letter-spacing: var(--letter-spacing-small);
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
.eyebrow {
|
|
407
|
+
font-family: var(--font-family-sans-serif);
|
|
408
|
+
font-size: var(--font-size-eyebrow);
|
|
409
|
+
font-weight: var(--font-weight-eyebrow);
|
|
410
|
+
letter-spacing: var(--letter-spacing-eyebrow);
|
|
411
|
+
line-height: var(--line-height-eyebrow);
|
|
412
|
+
text-transform: uppercase;
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
.eyebrow-with-line {
|
|
416
|
+
align-items: center;
|
|
417
|
+
color: var(--text-color);
|
|
418
|
+
display: flex;
|
|
419
|
+
font-family: var(--font-family-eyebrow);
|
|
420
|
+
font-size: var(--font-size-eyebrow);
|
|
421
|
+
font-weight: var(--font-weight-eyebrow);
|
|
422
|
+
letter-spacing: var(--letter-spacing-eyebrow);
|
|
423
|
+
line-height: var(--line-height-eyebrow);
|
|
424
|
+
margin-block-end: var(--spacing-layout-half);
|
|
425
|
+
position: relative;
|
|
426
|
+
text-transform: uppercase;
|
|
427
|
+
|
|
428
|
+
&::after {
|
|
429
|
+
border-block-end: var(--hairline) solid currentColor;
|
|
430
|
+
content: "";
|
|
431
|
+
flex-grow: 1;
|
|
432
|
+
margin-left: var(--spacing-component-3);
|
|
433
|
+
}
|
|
434
|
+
}
|
|
435
|
+
|
|
436
|
+
.subtle {
|
|
437
|
+
opacity: 0.6;
|
|
438
|
+
}
|
|
439
|
+
|
|
440
|
+
.serif {
|
|
441
|
+
font-family: var(--font-family-serif);
|
|
442
|
+
}
|
|
443
|
+
|
|
444
|
+
.sans-serif {
|
|
445
|
+
font-family: var(--font-family-sans-serif);
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
i,
|
|
449
|
+
em,
|
|
450
|
+
.italic {
|
|
451
|
+
font-style: italic;
|
|
452
|
+
}
|
|
453
|
+
|
|
454
|
+
b,
|
|
455
|
+
strong,
|
|
456
|
+
.strong {
|
|
457
|
+
font-weight: bold;
|
|
458
|
+
}
|
|
459
|
+
|
|
460
|
+
.normal {
|
|
461
|
+
font-weight: normal;
|
|
462
|
+
}
|
|
463
|
+
|
|
464
|
+
.prominent-link,
|
|
465
|
+
a.prominent-link {
|
|
466
|
+
--accent-color: var(--purple-60);
|
|
467
|
+
|
|
468
|
+
font-weight: bold;
|
|
469
|
+
text-decoration: underline;
|
|
470
|
+
text-decoration-color: var(--accent-color);
|
|
471
|
+
text-decoration-thickness: var(--medium);
|
|
472
|
+
text-underline-offset: 0.4em;
|
|
473
|
+
transition: color 0.2s ease-in-out, border-color 0.2s ease-in-out;
|
|
474
|
+
|
|
475
|
+
&:hover {
|
|
476
|
+
--accent-color: var(--red-60);
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
&:not(:has(cfa-icon))::after {
|
|
480
|
+
@include icon.icon;
|
|
481
|
+
|
|
482
|
+
content: "arrow_right_alt";
|
|
483
|
+
display: inline-block;
|
|
484
|
+
padding-inline-start: 0.1em;
|
|
485
|
+
text-decoration: none;
|
|
486
|
+
transition: padding 0.2s ease-in-out;
|
|
487
|
+
width: 1em;
|
|
488
|
+
}
|
|
489
|
+
|
|
490
|
+
&:not(:has(cfa-icon)):hover::after {
|
|
491
|
+
padding-inline-start: 0.3em;
|
|
492
|
+
}
|
|
493
|
+
|
|
494
|
+
cfa-icon {
|
|
495
|
+
text-decoration: none;
|
|
496
|
+
}
|
|
497
|
+
}
|
|
498
|
+
|
|
499
|
+
.white-text,
|
|
500
|
+
.text-light /* fallback */ {
|
|
501
|
+
-moz-osx-font-smoothing: grayscale; // Sharper antialising for white text on a dark background
|
|
502
|
+
-webkit-font-smoothing: antialiased; // Sharper antialising for white text on a dark background
|
|
503
|
+
color: var(--white);
|
|
504
|
+
--link-color: var(--white);
|
|
505
|
+
--link-hover-color: var(--white);
|
|
506
|
+
}
|
|
507
|
+
|
|
508
|
+
// =====
|
|
509
|
+
|
|
510
|
+
// Highlights
|
|
511
|
+
|
|
512
|
+
.highlight {
|
|
513
|
+
--highlight-offset: 0.2em;
|
|
514
|
+
|
|
515
|
+
box-decoration-break: clone;
|
|
516
|
+
display: inline;
|
|
517
|
+
background: linear-gradient(to top, transparent 0%, transparent var(--highlight-offset), var(--highlight-color) var(--highlight-offset), var(--highlight-color) calc(var(--highlight-offset) + var(--highlight-thickness)), transparent calc(var(--highlight-offset) + var(--highlight-thickness)), transparent 100%);
|
|
518
|
+
padding-inline: 0.1em;
|
|
519
|
+
-webkit-box-decoration-break: clone;
|
|
520
|
+
margin-inline-start: -0.1em;
|
|
521
|
+
margin-inline-end: -0.1em;
|
|
522
|
+
word-wrap: break-word;
|
|
523
|
+
}
|
|
524
|
+
|
|
525
|
+
// ======
|
|
526
|
+
|
|
527
|
+
// Lists
|
|
528
|
+
|
|
529
|
+
.ul {
|
|
530
|
+
list-style-type: disc;
|
|
531
|
+
padding-left: var(--spacing-layout-1);
|
|
532
|
+
}
|
|
533
|
+
|
|
534
|
+
.ul > li {
|
|
535
|
+
margin-inline-start: 0;
|
|
536
|
+
padding-left: var(--spacing-component-2);
|
|
537
|
+
}
|
|
538
|
+
|
|
539
|
+
.ul > li + li {
|
|
540
|
+
margin-block-start: var(--spacing-layout-half);
|
|
541
|
+
}
|
|
542
|
+
|
|
543
|
+
.ul > li > ul {
|
|
544
|
+
margin-block-start: var(--spacing-layout-half);
|
|
545
|
+
}
|
|
546
|
+
|
|
547
|
+
.ol {
|
|
548
|
+
list-style-type: decimal;
|
|
549
|
+
padding-left: var(--spacing-layout-1);
|
|
550
|
+
}
|
|
551
|
+
|
|
552
|
+
.ol > li {
|
|
553
|
+
margin-inline-start: 0;
|
|
554
|
+
padding-inline-start: var(--spacing-component-2);
|
|
555
|
+
}
|
|
556
|
+
|
|
557
|
+
.ol > li + li {
|
|
558
|
+
margin-block-start: var(--spacing-layout-half);
|
|
559
|
+
}
|
|
560
|
+
|
|
561
|
+
.ol > li > ul {
|
|
562
|
+
margin-block-start: var(--spacing-layout-half);
|
|
563
|
+
}
|
|
564
|
+
|
|
565
|
+
.ul--unstyled {
|
|
566
|
+
list-style: none;
|
|
567
|
+
padding: 0;
|
|
568
|
+
}
|
|
569
|
+
|
|
570
|
+
.ul--unstyled > li {
|
|
571
|
+
margin-inline: 0;
|
|
572
|
+
padding: 0;
|
|
573
|
+
}
|
|
574
|
+
|
|
575
|
+
.ul--line-separators > li + li::before {
|
|
576
|
+
border-block-start: 1px solid var(--gray-20);
|
|
577
|
+
content: "";
|
|
578
|
+
display: block;
|
|
579
|
+
margin-block: var(--spacing-layout-half);
|
|
580
|
+
width: 100%;
|
|
581
|
+
}
|
|
582
|
+
|
|
583
|
+
.ul--inline,
|
|
584
|
+
.ul--inline-with-separators,
|
|
585
|
+
.ul--inline-with-line-separators {
|
|
586
|
+
display: inline;
|
|
587
|
+
list-style: none;
|
|
588
|
+
padding-inline: 0 !important;
|
|
589
|
+
padding-left: 0 !important;
|
|
590
|
+
}
|
|
591
|
+
|
|
592
|
+
.ul--inline > li,
|
|
593
|
+
.ul--inline-with-separators > li,
|
|
594
|
+
.ul--inline-with-line-separators > li {
|
|
595
|
+
display: inline-block;
|
|
596
|
+
margin-inline-end: var(--spacing-component-3);
|
|
597
|
+
padding: 0 !important;
|
|
598
|
+
}
|
|
599
|
+
|
|
600
|
+
.ul--inline li:last-child,
|
|
601
|
+
.ul--inline-with-separators li:last-child,
|
|
602
|
+
.ul--inline-with-line-separators li:last-child {
|
|
603
|
+
margin-inline-end: 0;
|
|
604
|
+
}
|
|
605
|
+
|
|
606
|
+
.ul--inline > li + li,
|
|
607
|
+
.ul--inline-with-separators > li + li,
|
|
608
|
+
.ul--inline-with-line-separators > li + li {
|
|
609
|
+
margin-block-start: 0;
|
|
610
|
+
}
|
|
611
|
+
|
|
612
|
+
.ul--inline-with-separators li,
|
|
613
|
+
.ul--inline-with-line-separators li {
|
|
614
|
+
margin-inline-end: 0;
|
|
615
|
+
}
|
|
616
|
+
|
|
617
|
+
.ul--inline-with-separators > li::after {
|
|
618
|
+
content: "•";
|
|
619
|
+
margin-inline: var(--spacing-component-2);
|
|
620
|
+
opacity: 0.5;
|
|
621
|
+
}
|
|
622
|
+
|
|
623
|
+
.ul--inline-with-separators > li:last-child::after {
|
|
624
|
+
content: "";
|
|
625
|
+
}
|
|
626
|
+
|
|
627
|
+
.ul--inline-with-line-separators > li::after {
|
|
628
|
+
content: "|";
|
|
629
|
+
margin-inline: var(--spacing-component-2);
|
|
630
|
+
opacity: 0.5;
|
|
631
|
+
}
|
|
632
|
+
|
|
633
|
+
.ul--inline-with-line-separators > li:last-child::after {
|
|
634
|
+
content: "";
|
|
635
|
+
}
|
|
636
|
+
|
|
637
|
+
// ===
|
|
638
|
+
|
|
639
|
+
// Horizontal rule
|
|
640
|
+
|
|
641
|
+
hr {
|
|
642
|
+
--color: currentColor;
|
|
643
|
+
|
|
644
|
+
background-color: var(--color);
|
|
645
|
+
border: 0;
|
|
646
|
+
color: var(--color);
|
|
647
|
+
display: block;
|
|
648
|
+
font-size: 0;
|
|
649
|
+
height: var(--hairline);
|
|
650
|
+
margin-block: var(--spacing-layout-1);
|
|
651
|
+
opacity: 0.4;
|
|
652
|
+
}
|
|
653
|
+
|
|
654
|
+
// ===
|
|
655
|
+
|
|
656
|
+
// Icons
|
|
657
|
+
|
|
658
|
+
.icon {
|
|
659
|
+
-webkit-font-feature-settings: 'liga';
|
|
660
|
+
direction: ltr;
|
|
661
|
+
display: inline-block;
|
|
662
|
+
font-family: 'Material Symbols Rounded';
|
|
663
|
+
font-feature-settings: 'liga';
|
|
664
|
+
font-size: 1.4em;
|
|
665
|
+
font-style: normal;
|
|
666
|
+
font-weight: normal;
|
|
667
|
+
letter-spacing: normal;
|
|
668
|
+
text-transform: none;
|
|
669
|
+
vertical-align: middle;
|
|
670
|
+
white-space: nowrap;
|
|
671
|
+
word-wrap: normal;
|
|
672
|
+
}
|
|
673
|
+
`},826(t,e,i){i.d(e,{AH:()=>l,Rf:()=>c,sk:()=>h});const s=globalThis,n=s.ShadowRoot&&(void 0===s.ShadyCSS||s.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,o=Symbol(),r=new WeakMap;class a{constructor(t,e,i){if(this._$cssResult$=!0,i!==o)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(n&&void 0===t){const i=void 0!==e&&1===e.length;i&&(t=r.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),i&&r.set(e,t))}return t}toString(){return this.cssText}}const l=(t,...e)=>{const i=1===t.length?t[0]:e.reduce((e,i,s)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+t[s+1],t[0]);return new a(i,t,o)},c=(t,e)=>{if(n)t.adoptedStyleSheets=e.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet);else for(const i of e){const e=document.createElement("style"),n=s.litNonce;void 0!==n&&e.setAttribute("nonce",n),e.textContent=i.cssText,t.appendChild(e)}},h=n?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const i of t.cssRules)e+=i.cssText;return(t=>new a("string"==typeof t?t:t+"",void 0,o))(e)})(t):t},760(t,e,i){i.d(e,{AH:()=>s.AH,mN:()=>y});var s=i(826);const{is:n,defineProperty:o,getOwnPropertyDescriptor:r,getOwnPropertyNames:a,getOwnPropertySymbols:l,getPrototypeOf:c}=Object,h=globalThis,p=h.trustedTypes,d=p?p.emptyScript:"",g=h.reactiveElementPolyfillSupport,m=(t,e)=>t,f={toAttribute(t,e){switch(e){case Boolean:t=t?d:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let i=t;switch(e){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t)}catch(t){i=null}}return i}},u=(t,e)=>!n(t,e),v={attribute:!0,type:String,converter:f,reflect:!1,useDefault:!1,hasChanged:u};Symbol.metadata??=Symbol("metadata"),h.litPropertyMetadata??=new WeakMap;class y extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=v){if(e.state&&(e.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(t)&&((e=Object.create(e)).wrapped=!0),this.elementProperties.set(t,e),!e.noAccessor){const i=Symbol(),s=this.getPropertyDescriptor(t,i,e);void 0!==s&&o(this.prototype,t,s)}}static getPropertyDescriptor(t,e,i){const{get:s,set:n}=r(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get:s,set(e){const o=s?.call(this);n?.call(this,e),this.requestUpdate(t,o,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??v}static _$Ei(){if(this.hasOwnProperty(m("elementProperties")))return;const t=c(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(m("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(m("properties"))){const t=this.properties,e=[...a(t),...l(t)];for(const i of e)this.createProperty(i,t[i])}const t=this[Symbol.metadata];if(null!==t){const e=litPropertyMetadata.get(t);if(void 0!==e)for(const[t,i]of e)this.elementProperties.set(t,i)}this._$Eh=new Map;for(const[t,e]of this.elementProperties){const i=this._$Eu(t,e);void 0!==i&&this._$Eh.set(i,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const i=new Set(t.flat(1/0).reverse());for(const t of i)e.unshift((0,s.sk)(t))}else void 0!==t&&e.push((0,s.sk)(t));return e}static _$Eu(t,e){const i=e.attribute;return!1===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(t=>t(this))}addController(t){(this._$EO??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){const t=new Map,e=this.constructor.elementProperties;for(const i of e.keys())this.hasOwnProperty(i)&&(t.set(i,this[i]),delete this[i]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return(0,s.Rf)(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(t=>t.hostConnected?.())}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach(t=>t.hostDisconnected?.())}attributeChangedCallback(t,e,i){this._$AK(t,i)}_$ET(t,e){const i=this.constructor.elementProperties.get(t),s=this.constructor._$Eu(t,i);if(void 0!==s&&!0===i.reflect){const n=(void 0!==i.converter?.toAttribute?i.converter:f).toAttribute(e,i.type);this._$Em=t,null==n?this.removeAttribute(s):this.setAttribute(s,n),this._$Em=null}}_$AK(t,e){const i=this.constructor,s=i._$Eh.get(t);if(void 0!==s&&this._$Em!==s){const t=i.getPropertyOptions(s),n="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:f;this._$Em=s;const o=n.fromAttribute(e,t.type);this[s]=o??this._$Ej?.get(s)??o,this._$Em=null}}requestUpdate(t,e,i,s=!1,n){if(void 0!==t){const o=this.constructor;if(!1===s&&(n=this[t]),i??=o.getPropertyOptions(t),!((i.hasChanged??u)(n,e)||i.useDefault&&i.reflect&&n===this._$Ej?.get(t)&&!this.hasAttribute(o._$Eu(t,i))))return;this.C(t,e,i)}!1===this.isUpdatePending&&(this._$ES=this._$EP())}C(t,e,{useDefault:i,reflect:s,wrapped:n},o){i&&!(this._$Ej??=new Map).has(t)&&(this._$Ej.set(t,o??e??this[t]),!0!==n||void 0!==o)||(this._$AL.has(t)||(this.hasUpdated||i||(e=void 0),this._$AL.set(t,e)),!0===s&&this._$Em!==t&&(this._$Eq??=new Set).add(t))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,e]of this._$Ep)this[t]=e;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[e,i]of t){const{wrapped:t}=i,s=this[e];!0!==t||this._$AL.has(e)||void 0===s||this.C(e,void 0,i,s)}}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$EO?.forEach(t=>t.hostUpdate?.()),this.update(e)):this._$EM()}catch(e){throw t=!1,this._$EM(),e}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$EO?.forEach(t=>t.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Eq&&=this._$Eq.forEach(t=>this._$ET(t,this[t])),this._$EM()}updated(t){}firstUpdated(t){}}y.elementStyles=[],y.shadowRootOptions={mode:"open"},y[m("elementProperties")]=new Map,y[m("finalized")]=new Map,g?.({ReactiveElement:y}),(h.reactiveElementVersions??=[]).push("2.1.2")},228(t,e,i){i.d(e,{AH:()=>s.AH,WF:()=>r,qy:()=>n.qy,s6:()=>n.s6});var s=i(760),n=i(752);const o=globalThis;class r extends s.mN{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=(0,n.XX)(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return n.c0}}r._$litElement$=!0,r.finalized=!0,o.litElementHydrateSupport?.({LitElement:r});const a=o.litElementPolyfillSupport;a?.({LitElement:r}),(o.litElementVersions??=[]).push("4.2.2")},752(t,e,i){i.d(e,{XX:()=>I,c0:()=>k,qy:()=>x,s6:()=>z});const s=globalThis,n=t=>t,o=s.trustedTypes,r=o?o.createPolicy("lit-html",{createHTML:t=>t}):void 0,a="$lit$",l=`lit$${Math.random().toFixed(9).slice(2)}$`,c="?"+l,h=`<${c}>`,p=document,d=()=>p.createComment(""),g=t=>null===t||"object"!=typeof t&&"function"!=typeof t,m=Array.isArray,f="[ \t\n\f\r]",u=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,v=/-->/g,y=/>/g,w=RegExp(`>|${f}(?:([^\\s"'>=/]+)(${f}*=${f}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),$=/'/g,b=/"/g,_=/^(?:script|style|textarea|title)$/i,A=t=>(e,...i)=>({_$litType$:t,strings:e,values:i}),x=A(1),k=(A(2),A(3),Symbol.for("lit-noChange")),z=Symbol.for("lit-nothing"),E=new WeakMap,C=p.createTreeWalker(p,129);function S(t,e){if(!m(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==r?r.createHTML(e):e}const H=(t,e)=>{const i=t.length-1,s=[];let n,o=2===e?"<svg>":3===e?"<math>":"",r=u;for(let e=0;e<i;e++){const i=t[e];let c,p,d=-1,g=0;for(;g<i.length&&(r.lastIndex=g,p=r.exec(i),null!==p);)g=r.lastIndex,r===u?"!--"===p[1]?r=v:void 0!==p[1]?r=y:void 0!==p[2]?(_.test(p[2])&&(n=RegExp("</"+p[2],"g")),r=w):void 0!==p[3]&&(r=w):r===w?">"===p[0]?(r=n??u,d=-1):void 0===p[1]?d=-2:(d=r.lastIndex-p[2].length,c=p[1],r=void 0===p[3]?w:'"'===p[3]?b:$):r===b||r===$?r=w:r===v||r===y?r=u:(r=w,n=void 0);const m=r===w&&t[e+1].startsWith("/>")?" ":"";o+=r===u?i+h:d>=0?(s.push(c),i.slice(0,d)+a+i.slice(d)+l+m):i+l+(-2===d?e:m)}return[S(t,o+(t[i]||"<?>")+(2===e?"</svg>":3===e?"</math>":"")),s]};class U{constructor({strings:t,_$litType$:e},i){let s;this.parts=[];let n=0,r=0;const h=t.length-1,p=this.parts,[g,m]=H(t,e);if(this.el=U.createElement(g,i),C.currentNode=this.el.content,2===e||3===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(s=C.nextNode())&&p.length<h;){if(1===s.nodeType){if(s.hasAttributes())for(const t of s.getAttributeNames())if(t.endsWith(a)){const e=m[r++],i=s.getAttribute(t).split(l),o=/([.?@])?(.*)/.exec(e);p.push({type:1,index:n,name:o[2],strings:i,ctor:"."===o[1]?F:"?"===o[1]?O:"@"===o[1]?q:T}),s.removeAttribute(t)}else t.startsWith(l)&&(p.push({type:6,index:n}),s.removeAttribute(t));if(_.test(s.tagName)){const t=s.textContent.split(l),e=t.length-1;if(e>0){s.textContent=o?o.emptyScript:"";for(let i=0;i<e;i++)s.append(t[i],d()),C.nextNode(),p.push({type:2,index:++n});s.append(t[e],d())}}}else if(8===s.nodeType)if(s.data===c)p.push({type:2,index:n});else{let t=-1;for(;-1!==(t=s.data.indexOf(l,t+1));)p.push({type:7,index:n}),t+=l.length-1}n++}}static createElement(t,e){const i=p.createElement("template");return i.innerHTML=t,i}}function M(t,e,i=t,s){if(e===k)return e;let n=void 0!==s?i._$Co?.[s]:i._$Cl;const o=g(e)?void 0:e._$litDirective$;return n?.constructor!==o&&(n?._$AO?.(!1),void 0===o?n=void 0:(n=new o(t),n._$AT(t,i,s)),void 0!==s?(i._$Co??=[])[s]=n:i._$Cl=n),void 0!==n&&(e=M(t,n._$AS(t,e.values),n,s)),e}class L{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:i}=this._$AD,s=(t?.creationScope??p).importNode(e,!0);C.currentNode=s;let n=C.nextNode(),o=0,r=0,a=i[0];for(;void 0!==a;){if(o===a.index){let e;2===a.type?e=new P(n,n.nextSibling,this,t):1===a.type?e=new a.ctor(n,a.name,a.strings,this,t):6===a.type&&(e=new R(n,this,t)),this._$AV.push(e),a=i[++r]}o!==a?.index&&(n=C.nextNode(),o++)}return C.currentNode=p,s}p(t){let e=0;for(const i of this._$AV)void 0!==i&&(void 0!==i.strings?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class P{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,i,s){this.type=2,this._$AH=z,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=s,this._$Cv=s?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t?.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=M(this,t,e),g(t)?t===z||null==t||""===t?(this._$AH!==z&&this._$AR(),this._$AH=z):t!==this._$AH&&t!==k&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):(t=>m(t)||"function"==typeof t?.[Symbol.iterator])(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==z&&g(this._$AH)?this._$AA.nextSibling.data=t:this.T(p.createTextNode(t)),this._$AH=t}$(t){const{values:e,_$litType$:i}=t,s="number"==typeof i?this._$AC(t):(void 0===i.el&&(i.el=U.createElement(S(i.h,i.h[0]),this.options)),i);if(this._$AH?._$AD===s)this._$AH.p(e);else{const t=new L(s,this),i=t.u(this.options);t.p(e),this.T(i),this._$AH=t}}_$AC(t){let e=E.get(t.strings);return void 0===e&&E.set(t.strings,e=new U(t)),e}k(t){m(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,s=0;for(const n of t)s===e.length?e.push(i=new P(this.O(d()),this.O(d()),this,this.options)):i=e[s],i._$AI(n),s++;s<e.length&&(this._$AR(i&&i._$AB.nextSibling,s),e.length=s)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t!==this._$AB;){const e=n(t).nextSibling;n(t).remove(),t=e}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class T{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,i,s,n){this.type=1,this._$AH=z,this._$AN=void 0,this.element=t,this.name=e,this._$AM=s,this.options=n,i.length>2||""!==i[0]||""!==i[1]?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=z}_$AI(t,e=this,i,s){const n=this.strings;let o=!1;if(void 0===n)t=M(this,t,e,0),o=!g(t)||t!==this._$AH&&t!==k,o&&(this._$AH=t);else{const s=t;let r,a;for(t=n[0],r=0;r<n.length-1;r++)a=M(this,s[i+r],e,r),a===k&&(a=this._$AH[r]),o||=!g(a)||a!==this._$AH[r],a===z?t=z:t!==z&&(t+=(a??"")+n[r+1]),this._$AH[r]=a}o&&!s&&this.j(t)}j(t){t===z?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class F extends T{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===z?void 0:t}}class O extends T{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==z)}}class q extends T{constructor(t,e,i,s,n){super(t,e,i,s,n),this.type=5}_$AI(t,e=this){if((t=M(this,t,e,0)??z)===k)return;const i=this._$AH,s=t===z&&i!==z||t.capture!==i.capture||t.once!==i.once||t.passive!==i.passive,n=t!==z&&(i===z||s);s&&this.element.removeEventListener(this.name,this,i),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class R{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){M(this,t)}}const N=s.litHtmlPolyfillSupport;N?.(U,P),(s.litHtmlVersions??=[]).push("3.3.2");const I=(t,e,i)=>{const s=i?.renderBefore??e;let n=s._$litPart$;if(void 0===n){const t=i?.renderBefore??null;s._$litPart$=n=new P(e.insertBefore(d(),t),t,void 0,i??{})}return n._$AI(t),n}},161(t,e,i){i.d(e,{AH:()=>s.AH,WF:()=>s.WF,qy:()=>s.qy,s6:()=>s.s6}),i(760),i(752);var s=i(228)}},e={};function i(s){var n=e[s];if(void 0!==n)return n.exports;var o=e[s]={exports:{}};return t[s](o,o.exports,i),o.exports}i.d=(t,e)=>{for(var s in e)i.o(e,s)&&!i.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:e[s]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);var s=i(161),n=i(601),o=i(205);i(330),i(804);class r extends s.WF{static properties={name:{type:"string"},title:{type:"string"},company:{type:"string"},pronouns:{type:"string"},imageUrl:{type:"string"},imageAltText:{type:"string"},linkUrl:{type:"string"},linkedInUrl:{type:"string"},twitterHandle:{type:"string"}};static styles=(()=>[n.s,o.g,s.AH`
|
|
674
|
+
:host {
|
|
675
|
+
display: block;
|
|
676
|
+
}
|
|
677
|
+
|
|
678
|
+
.card {
|
|
679
|
+
border-radius: var(--rounded-corners);
|
|
680
|
+
position: relative;
|
|
681
|
+
display: flex;
|
|
682
|
+
flex-direction: row;
|
|
683
|
+
margin-inline: auto;
|
|
684
|
+
max-width: 100%;
|
|
685
|
+
text-align: start;
|
|
686
|
+
width: var(--column-span-4);
|
|
687
|
+
transform: translate(0, 0); // hack to ensure pseudo element is stacked above parent background
|
|
688
|
+
}
|
|
689
|
+
|
|
690
|
+
.card.has-link::before {
|
|
691
|
+
border-radius: var(--rounded-corners);
|
|
692
|
+
bottom: calc(-1 * var(--thick));
|
|
693
|
+
content: "";
|
|
694
|
+
height: calc(100% + 2 * var(--thick)));
|
|
695
|
+
left: calc(-1 * var(--thick));
|
|
696
|
+
position: absolute;
|
|
697
|
+
right: calc(-1 * var(--thick));
|
|
698
|
+
top: calc(-1 * var(--thick));
|
|
699
|
+
width: calc(100% + 2 * var(--thick)));
|
|
700
|
+
z-index: -1;
|
|
701
|
+
transition:
|
|
702
|
+
background-color 0.5s ease-in-out,
|
|
703
|
+
box-shadow 0.5s ease-in-out;
|
|
704
|
+
}
|
|
705
|
+
|
|
706
|
+
.card.has-link:hover::before,
|
|
707
|
+
.card.has-link:focus-visible::before {
|
|
708
|
+
background-color: var(--white);
|
|
709
|
+
box-shadow: var(--shadow-medium);
|
|
710
|
+
}
|
|
711
|
+
|
|
712
|
+
.card.has-link .name a {
|
|
713
|
+
box-shadow: 0;
|
|
714
|
+
color: var(--purple-80);
|
|
715
|
+
transition: box-shadow 0.5s ease-in-out;
|
|
716
|
+
}
|
|
717
|
+
|
|
718
|
+
.card.has-link:hover .name a {
|
|
719
|
+
box-shadow: inset 0 calc(-1 * var(--thick)) 0 0 var(--purple-20);
|
|
720
|
+
}
|
|
721
|
+
|
|
722
|
+
a {
|
|
723
|
+
position: relative;
|
|
724
|
+
text-decoration: none;
|
|
725
|
+
z-index: 1;
|
|
726
|
+
}
|
|
727
|
+
|
|
728
|
+
a.link-overlay {
|
|
729
|
+
position: static;
|
|
730
|
+
}
|
|
731
|
+
|
|
732
|
+
a.link-overlay::before {
|
|
733
|
+
content: "";
|
|
734
|
+
position: absolute;
|
|
735
|
+
z-index: 0;
|
|
736
|
+
top: 0;
|
|
737
|
+
right: 0;
|
|
738
|
+
bottom: 0;
|
|
739
|
+
left: 0;
|
|
740
|
+
}
|
|
741
|
+
|
|
742
|
+
.avatar {
|
|
743
|
+
flex-grow: 0;
|
|
744
|
+
}
|
|
745
|
+
|
|
746
|
+
.name {
|
|
747
|
+
display: inline-block;
|
|
748
|
+
}
|
|
749
|
+
|
|
750
|
+
.pronouns {
|
|
751
|
+
color: var(--purple-60);
|
|
752
|
+
}
|
|
753
|
+
|
|
754
|
+
.details {
|
|
755
|
+
color: var(--black);
|
|
756
|
+
flex-grow: 1;
|
|
757
|
+
padding-block-start: var(--spacing-component-2);
|
|
758
|
+
padding-inline-start: var(--spacing-component-2);
|
|
759
|
+
}
|
|
760
|
+
|
|
761
|
+
.social {
|
|
762
|
+
font-size: 0.9rem;
|
|
763
|
+
margin-block-start: var(--spacing-component-1);
|
|
764
|
+
}
|
|
765
|
+
|
|
766
|
+
.social a {
|
|
767
|
+
align-items: center;
|
|
768
|
+
border-radius: 10000px;
|
|
769
|
+
color: var(--purple-80);
|
|
770
|
+
display: inline-flex;
|
|
771
|
+
height: var(--spacing-component-4);
|
|
772
|
+
justify-content: center;
|
|
773
|
+
margin: calc(-1 * var(--spacing-component-2));
|
|
774
|
+
width: var(--spacing-component-4);
|
|
775
|
+
}
|
|
776
|
+
|
|
777
|
+
.social a:hover {
|
|
778
|
+
background-color: var(--purple-20);
|
|
779
|
+
}
|
|
780
|
+
|
|
781
|
+
.social > a + a {
|
|
782
|
+
margin-inline-start: var(--spacing-component-2);
|
|
783
|
+
}
|
|
784
|
+
`])();render(){return s.qy`
|
|
785
|
+
<div class="card ${this.linkUrl?"has-link":""}">
|
|
786
|
+
<!-- Link overlay pseudo-element so we can do nested links within the card -->
|
|
787
|
+
${this.linkUrl?s.qy`
|
|
788
|
+
<a
|
|
789
|
+
href="${this.linkUrl}"
|
|
790
|
+
target="${this.linkTarget||"_self"}"
|
|
791
|
+
rel="${"_blank"==this.linkTarget?"noopener":s.s6}"
|
|
792
|
+
class="link-overlay"
|
|
793
|
+
tabindex="-1"
|
|
794
|
+
>
|
|
795
|
+
</a>
|
|
796
|
+
`:""}
|
|
797
|
+
<div class="avatar">
|
|
798
|
+
${this.linkUrl?s.qy`
|
|
799
|
+
<a
|
|
800
|
+
href="${this.linkUrl}"
|
|
801
|
+
target="${this.linkTarget||"_self"}"
|
|
802
|
+
rel="${"_blank"==this.linkTarget?"noopener":s.s6}"
|
|
803
|
+
>
|
|
804
|
+
<cfa-avatar
|
|
805
|
+
imageUrl="${this.imageUrl}"
|
|
806
|
+
altText="Avatar photo of ${this.name}"
|
|
807
|
+
size="3"
|
|
808
|
+
>
|
|
809
|
+
</cfa-avatar>
|
|
810
|
+
</a>
|
|
811
|
+
`:s.qy`
|
|
812
|
+
<cfa-avatar
|
|
813
|
+
imageUrl="${this.imageUrl}"
|
|
814
|
+
altText="Avatar photo of ${this.name}"
|
|
815
|
+
size="3"
|
|
816
|
+
>
|
|
817
|
+
</cfa-avatar>
|
|
818
|
+
`}
|
|
819
|
+
</div>
|
|
820
|
+
<div class="details">
|
|
821
|
+
<div>
|
|
822
|
+
<div class="name h4">
|
|
823
|
+
${this.linkUrl?s.qy`
|
|
824
|
+
<a
|
|
825
|
+
href="${this.linkUrl}"
|
|
826
|
+
target="${this.linkTarget||"_self"}"
|
|
827
|
+
rel="${"_blank"==this.linkTarget?"noopener":s.s6}"
|
|
828
|
+
>
|
|
829
|
+
${this.name.trim()}
|
|
830
|
+
</a>
|
|
831
|
+
`:s.qy` ${this.name.trim()} `}
|
|
832
|
+
</div>
|
|
833
|
+
${this.pronouns?s.qy` <span class="pronouns small">(${this.pronouns})</span> `:""}
|
|
834
|
+
</div>
|
|
835
|
+
<div class="title small">
|
|
836
|
+
${[this.title?.trim(),this.company?.trim()].filter(Boolean).join(", ")}
|
|
837
|
+
</div>
|
|
838
|
+
${this.linkedInUrl||this.twitterHandle?s.qy`
|
|
839
|
+
<div class="social">
|
|
840
|
+
${this.linkedInUrl?s.qy`
|
|
841
|
+
<a
|
|
842
|
+
href="${this.linkedInUrl}"
|
|
843
|
+
target="_blank"
|
|
844
|
+
rel="noopener"
|
|
845
|
+
title="View ${this.name}'s profile on LinkedIn"
|
|
846
|
+
>
|
|
847
|
+
<cfa-social-icon icon="linkedin" />
|
|
848
|
+
</a>
|
|
849
|
+
`:s.s6}
|
|
850
|
+
${this.twitterHandle?s.qy`
|
|
851
|
+
<a
|
|
852
|
+
href="https://twitter.com/${this.twitterHandle}"
|
|
853
|
+
target="_blank"
|
|
854
|
+
rel="noopener"
|
|
855
|
+
title="View ${this.name}'s profile on X (Twitter)"
|
|
856
|
+
>
|
|
857
|
+
<cfa-social-icon icon="twitter" />
|
|
858
|
+
</a>
|
|
859
|
+
`:s.s6}
|
|
860
|
+
</div>
|
|
861
|
+
`:s.s6}
|
|
862
|
+
</div>
|
|
863
|
+
</div>
|
|
864
|
+
`}}customElements.get("cfa-person-card")||customElements.define("cfa-person-card",r)})();
|