@codeforamerica/marcomms-design-system 1.18.2 → 1.19.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.
Files changed (68) hide show
  1. package/README.md +20 -15
  2. package/dist/components/accordion.js +160 -0
  3. package/dist/components/accordion.js.LICENSE.txt +11 -0
  4. package/dist/components/avatar.js +103 -0
  5. package/dist/components/avatar.js.LICENSE.txt +11 -0
  6. package/dist/components/bar.js +122 -0
  7. package/dist/components/bar.js.LICENSE.txt +11 -0
  8. package/dist/components/blob.js +133 -0
  9. package/dist/components/blob.js.LICENSE.txt +11 -0
  10. package/dist/components/box.js +99 -0
  11. package/dist/components/box.js.LICENSE.txt +11 -0
  12. package/dist/components/breadcrumbs.js +112 -0
  13. package/dist/components/breadcrumbs.js.LICENSE.txt +11 -0
  14. package/dist/components/button.js +159 -0
  15. package/dist/components/button.js.LICENSE.txt +11 -0
  16. package/dist/components/callout.js +135 -0
  17. package/dist/components/callout.js.LICENSE.txt +11 -0
  18. package/dist/components/card.js +873 -0
  19. package/dist/components/card.js.LICENSE.txt +11 -0
  20. package/dist/components/carousel.js +291 -0
  21. package/dist/components/carousel.js.LICENSE.txt +11 -0
  22. package/dist/components/icon.js +91 -0
  23. package/dist/components/icon.js.LICENSE.txt +11 -0
  24. package/dist/components/label.js +498 -0
  25. package/dist/components/label.js.LICENSE.txt +11 -0
  26. package/dist/components/logo-card.js +514 -0
  27. package/dist/components/logo-card.js.LICENSE.txt +11 -0
  28. package/dist/components/nav.js +129 -0
  29. package/dist/components/nav.js.LICENSE.txt +11 -0
  30. package/dist/components/page-nav.js +163 -0
  31. package/dist/components/page-nav.js.LICENSE.txt +11 -0
  32. package/dist/components/pager.js +707 -0
  33. package/dist/components/pager.js.LICENSE.txt +11 -0
  34. package/dist/components/pagination.js +303 -0
  35. package/dist/components/pagination.js.LICENSE.txt +11 -0
  36. package/dist/components/person-card.js +864 -0
  37. package/dist/components/person-card.js.LICENSE.txt +11 -0
  38. package/dist/components/pill.js +80 -0
  39. package/dist/components/pill.js.LICENSE.txt +11 -0
  40. package/dist/components/placeholder.js +12 -0
  41. package/dist/components/placeholder.js.LICENSE.txt +11 -0
  42. package/dist/components/promo.js +536 -0
  43. package/dist/components/promo.js.LICENSE.txt +11 -0
  44. package/dist/components/pullquote.js +89 -0
  45. package/dist/components/pullquote.js.LICENSE.txt +11 -0
  46. package/dist/components/quote.js +155 -0
  47. package/dist/components/quote.js.LICENSE.txt +11 -0
  48. package/dist/components/reveal.js +142 -0
  49. package/dist/components/reveal.js.LICENSE.txt +11 -0
  50. package/dist/components/slide.js +157 -0
  51. package/dist/components/slide.js.LICENSE.txt +11 -0
  52. package/dist/components/social-icon.js +240 -0
  53. package/dist/components/social-icon.js.LICENSE.txt +11 -0
  54. package/dist/components/stat.js +507 -0
  55. package/dist/components/stat.js.LICENSE.txt +11 -0
  56. package/dist/components/tab-list.js +688 -0
  57. package/dist/components/tab-list.js.LICENSE.txt +11 -0
  58. package/dist/components/tab.js +494 -0
  59. package/dist/components/tab.js.LICENSE.txt +11 -0
  60. package/dist/components/tile.js +662 -0
  61. package/dist/components/tile.js.LICENSE.txt +11 -0
  62. package/dist/components/transcript.js +483 -0
  63. package/dist/components/transcript.js.LICENSE.txt +11 -0
  64. package/dist/core.css +7 -0
  65. package/dist/core.js +0 -0
  66. package/dist/index.js +2328 -2328
  67. package/package.json +10 -3
  68. package/src/core.js +10 -0
@@ -0,0 +1,536 @@
1
+ /*! For license information please see promo.js.LICENSE.txt */
2
+ (()=>{"use strict";var t={562(t,e,i){var s=i(161),n=i(601);class r extends s.WF{static styles=(()=>[n.s,s.AH`
3
+ :host {
4
+ --size: 1.2em;
5
+
6
+ display: inline;
7
+ line-height: inherit;
8
+ }
9
+
10
+ .icon {
11
+ -webkit-font-feature-settings: "liga";
12
+ direction: ltr;
13
+ display: inline-block;
14
+ font-family: "Material Symbols Rounded";
15
+ font-size: var(--size);
16
+ font-style: normal;
17
+ font-weight: normal;
18
+ letter-spacing: normal;
19
+ margin-top: -0.1em;
20
+ text-transform: none;
21
+ vertical-align: middle;
22
+ white-space: nowrap;
23
+ word-wrap: normal;
24
+ }
25
+ `])();render(){return s.qy`
26
+ <span class="icon">
27
+ <slot></slot>
28
+ </span>
29
+ `}}customElements.get("cfa-icon")||customElements.define("cfa-icon",r)},601(t,e,i){i.d(e,{s:()=>s});const s=i(161).AH`
30
+ *:focus-visible,
31
+ *:target {
32
+ outline: var(--focus-outline);
33
+ position: relative;
34
+ }
35
+
36
+ // RESET
37
+
38
+ // Use a more-intuitive box-sizing model.
39
+ *, *::before, *::after {
40
+ box-sizing: border-box;
41
+ }
42
+
43
+ // Remove default margin
44
+ * {
45
+ margin: 0;
46
+ }
47
+
48
+ // Set default text-wrap of 'pretty'
49
+ * {
50
+ text-wrap: pretty;
51
+ }
52
+
53
+ // Wrap overly long words
54
+ * {
55
+ overflow-wrap: break-word;
56
+ text-overflow: ellipsis;
57
+ word-break: break-word;
58
+ }
59
+
60
+ // Fix Safari antialiasing for variable fonts
61
+ * {
62
+ font-synthesis: none !important;
63
+ }
64
+
65
+ // Improve text rendering
66
+ body {
67
+ -webkit-font-smoothing: antialiased;
68
+ }
69
+
70
+ // Reasonable media defaults
71
+ img, picture, video, canvas, svg {
72
+ display: block;
73
+ height: auto;
74
+ max-width: 100%;
75
+ }
76
+
77
+ // Remove built-in form typography styles
78
+ input, button, textarea, select {
79
+ font: inherit;
80
+ }
81
+
82
+ // Avoid text overflows
83
+ p, h1, h2, h3, h4, h5, h6 {
84
+ overflow-wrap: break-word;
85
+ }
86
+
87
+ // Create a root stacking context
88
+ #root, #__next {
89
+ isolation: isolate;
90
+ }
91
+ `},205(t,e,i){i.d(e,{g:()=>s});const s=i(161).AH`
92
+ // =====
93
+
94
+ // Typography spacing
95
+
96
+ // Add a single space around paragraphs, blockquotes, and lists
97
+ p, ul, ol, blockquote {
98
+ & + * {
99
+ margin-block-start: var(--spacing, var(--spacing-layout-1, 1.5rem));
100
+ }
101
+ * + & {
102
+ margin-block-start: var(--spacing, var(--spacing-layout-1, 1.5rem));
103
+ }
104
+ }
105
+
106
+ h1, h2, h3, h4, .h1, .h2, .h3, .h4, .display-1, .display-2 {
107
+ // Add a single line space after headings
108
+ & + * {
109
+ margin-block-start: var(--spacing, var(--spacing-layout-1, 1.5rem));
110
+ }
111
+
112
+ // Add two line spaces before headings
113
+ * + & {
114
+ --spacing: var(--spacing-layout-2);
115
+
116
+ margin-block-start: --spacing;
117
+ }
118
+
119
+ // Only add a single space between headings and other headings
120
+ & + & {
121
+ --spacing: var(--spacing-layout-1);
122
+ }
123
+
124
+ // Reduce space after breadcrumbs and eyebrows
125
+ cfa-breadcrumbs + & {
126
+ margin-block-start: var(--spacing-layout-half) !important;
127
+ }
128
+
129
+ .eyebrow + & {
130
+ margin-block-start: 0 !important;
131
+ }
132
+ }
133
+
134
+ h1, .h1, .display-1, .display-2 {
135
+ text-wrap: balance;
136
+ }
137
+
138
+ // =====
139
+
140
+ // Font styles
141
+
142
+ .regular {
143
+ font-family: var(--font-family-base);
144
+ font-size: var(--font-size-base);
145
+ line-height: var(--line-height-base);
146
+ }
147
+
148
+ .display-1 {
149
+ font-family: var(--font-family-heading);
150
+ font-size: var(--font-size-display-1);
151
+ font-weight: bold;
152
+ line-height: var(--line-height-display-1);
153
+ letter-spacing: var(--letter-spacing-display-1);
154
+ }
155
+
156
+ .display-2 {
157
+ font-family: var(--font-family-heading);
158
+ font-size: var(--font-size-display-2);
159
+ font-weight: bold;
160
+ line-height: var(--line-height-display-2);
161
+ letter-spacing: var(--letter-spacing-display-2);
162
+ }
163
+
164
+ h1,
165
+ .h1 {
166
+ font-family: var(--font-family-heading);
167
+ font-size: var(--font-size-h1);
168
+ font-weight: bold;
169
+ line-height: var(--line-height-h1);
170
+ letter-spacing: var(--letter-spacing-h1);
171
+ }
172
+
173
+ h2,
174
+ .h2 {
175
+ font-family: var(--font-family-heading);
176
+ font-size: var(--font-size-h2);
177
+ font-weight: bold;
178
+ line-height: var(--line-height-h2);
179
+ letter-spacing: var(--letter-spacing-h2);
180
+ }
181
+
182
+ h3,
183
+ .h3 {
184
+ font-family: var(--font-family-heading);
185
+ font-size: var(--font-size-h3);
186
+ font-weight: bold;
187
+ line-height: var(--line-height-h3);
188
+ letter-spacing: var(--letter-spacing-h3);
189
+ }
190
+
191
+ h4,
192
+ .h4 {
193
+ font-family: var(--font-family-heading);
194
+ font-size: var(--font-size-h4);
195
+ font-weight: bold;
196
+ line-height: var(--line-height-h4);
197
+ letter-spacing: var(--letter-spacing-h4);
198
+ }
199
+
200
+ .extra-large {
201
+ font-size: var(--font-size-extra-large);
202
+ line-height: var(--line-height-extra-large);
203
+ letter-spacing: var(--letter-spacing-extra-large);
204
+ }
205
+
206
+ .large {
207
+ font-size: var(--font-size-large);
208
+ line-height: var(--line-height-large);
209
+ letter-spacing: var(--letter-spacing-large);
210
+ }
211
+
212
+ .small {
213
+ font-size: var(--font-size-small);
214
+ line-height: var(--line-height-small);
215
+ letter-spacing: var(--letter-spacing-small);
216
+ }
217
+
218
+ .eyebrow {
219
+ font-family: var(--font-family-sans-serif);
220
+ font-size: var(--font-size-eyebrow);
221
+ font-weight: var(--font-weight-eyebrow);
222
+ letter-spacing: var(--letter-spacing-eyebrow);
223
+ line-height: var(--line-height-eyebrow);
224
+ text-transform: uppercase;
225
+ }
226
+
227
+ .eyebrow-with-line {
228
+ align-items: center;
229
+ color: var(--text-color);
230
+ display: flex;
231
+ font-family: var(--font-family-eyebrow);
232
+ font-size: var(--font-size-eyebrow);
233
+ font-weight: var(--font-weight-eyebrow);
234
+ letter-spacing: var(--letter-spacing-eyebrow);
235
+ line-height: var(--line-height-eyebrow);
236
+ margin-block-end: var(--spacing-layout-half);
237
+ position: relative;
238
+ text-transform: uppercase;
239
+
240
+ &::after {
241
+ border-block-end: var(--hairline) solid currentColor;
242
+ content: "";
243
+ flex-grow: 1;
244
+ margin-left: var(--spacing-component-3);
245
+ }
246
+ }
247
+
248
+ .subtle {
249
+ opacity: 0.6;
250
+ }
251
+
252
+ .serif {
253
+ font-family: var(--font-family-serif);
254
+ }
255
+
256
+ .sans-serif {
257
+ font-family: var(--font-family-sans-serif);
258
+ }
259
+
260
+ i,
261
+ em,
262
+ .italic {
263
+ font-style: italic;
264
+ }
265
+
266
+ b,
267
+ strong,
268
+ .strong {
269
+ font-weight: bold;
270
+ }
271
+
272
+ .normal {
273
+ font-weight: normal;
274
+ }
275
+
276
+ .prominent-link,
277
+ a.prominent-link {
278
+ --accent-color: var(--purple-60);
279
+
280
+ font-weight: bold;
281
+ text-decoration: underline;
282
+ text-decoration-color: var(--accent-color);
283
+ text-decoration-thickness: var(--medium);
284
+ text-underline-offset: 0.4em;
285
+ transition: color 0.2s ease-in-out, border-color 0.2s ease-in-out;
286
+
287
+ &:hover {
288
+ --accent-color: var(--red-60);
289
+ }
290
+
291
+ &:not(:has(cfa-icon))::after {
292
+ @include icon.icon;
293
+
294
+ content: "arrow_right_alt";
295
+ display: inline-block;
296
+ padding-inline-start: 0.1em;
297
+ text-decoration: none;
298
+ transition: padding 0.2s ease-in-out;
299
+ width: 1em;
300
+ }
301
+
302
+ &:not(:has(cfa-icon)):hover::after {
303
+ padding-inline-start: 0.3em;
304
+ }
305
+
306
+ cfa-icon {
307
+ text-decoration: none;
308
+ }
309
+ }
310
+
311
+ .white-text,
312
+ .text-light /* fallback */ {
313
+ -moz-osx-font-smoothing: grayscale; // Sharper antialising for white text on a dark background
314
+ -webkit-font-smoothing: antialiased; // Sharper antialising for white text on a dark background
315
+ color: var(--white);
316
+ --link-color: var(--white);
317
+ --link-hover-color: var(--white);
318
+ }
319
+
320
+ // =====
321
+
322
+ // Highlights
323
+
324
+ .highlight {
325
+ --highlight-offset: 0.2em;
326
+
327
+ box-decoration-break: clone;
328
+ display: inline;
329
+ 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%);
330
+ padding-inline: 0.1em;
331
+ -webkit-box-decoration-break: clone;
332
+ margin-inline-start: -0.1em;
333
+ margin-inline-end: -0.1em;
334
+ word-wrap: break-word;
335
+ }
336
+
337
+ // ======
338
+
339
+ // Lists
340
+
341
+ .ul {
342
+ list-style-type: disc;
343
+ padding-left: var(--spacing-layout-1);
344
+ }
345
+
346
+ .ul > li {
347
+ margin-inline-start: 0;
348
+ padding-left: var(--spacing-component-2);
349
+ }
350
+
351
+ .ul > li + li {
352
+ margin-block-start: var(--spacing-layout-half);
353
+ }
354
+
355
+ .ul > li > ul {
356
+ margin-block-start: var(--spacing-layout-half);
357
+ }
358
+
359
+ .ol {
360
+ list-style-type: decimal;
361
+ padding-left: var(--spacing-layout-1);
362
+ }
363
+
364
+ .ol > li {
365
+ margin-inline-start: 0;
366
+ padding-inline-start: var(--spacing-component-2);
367
+ }
368
+
369
+ .ol > li + li {
370
+ margin-block-start: var(--spacing-layout-half);
371
+ }
372
+
373
+ .ol > li > ul {
374
+ margin-block-start: var(--spacing-layout-half);
375
+ }
376
+
377
+ .ul--unstyled {
378
+ list-style: none;
379
+ padding: 0;
380
+ }
381
+
382
+ .ul--unstyled > li {
383
+ margin-inline: 0;
384
+ padding: 0;
385
+ }
386
+
387
+ .ul--line-separators > li + li::before {
388
+ border-block-start: 1px solid var(--gray-20);
389
+ content: "";
390
+ display: block;
391
+ margin-block: var(--spacing-layout-half);
392
+ width: 100%;
393
+ }
394
+
395
+ .ul--inline,
396
+ .ul--inline-with-separators,
397
+ .ul--inline-with-line-separators {
398
+ display: inline;
399
+ list-style: none;
400
+ padding-inline: 0 !important;
401
+ padding-left: 0 !important;
402
+ }
403
+
404
+ .ul--inline > li,
405
+ .ul--inline-with-separators > li,
406
+ .ul--inline-with-line-separators > li {
407
+ display: inline-block;
408
+ margin-inline-end: var(--spacing-component-3);
409
+ padding: 0 !important;
410
+ }
411
+
412
+ .ul--inline li:last-child,
413
+ .ul--inline-with-separators li:last-child,
414
+ .ul--inline-with-line-separators li:last-child {
415
+ margin-inline-end: 0;
416
+ }
417
+
418
+ .ul--inline > li + li,
419
+ .ul--inline-with-separators > li + li,
420
+ .ul--inline-with-line-separators > li + li {
421
+ margin-block-start: 0;
422
+ }
423
+
424
+ .ul--inline-with-separators li,
425
+ .ul--inline-with-line-separators li {
426
+ margin-inline-end: 0;
427
+ }
428
+
429
+ .ul--inline-with-separators > li::after {
430
+ content: "•";
431
+ margin-inline: var(--spacing-component-2);
432
+ opacity: 0.5;
433
+ }
434
+
435
+ .ul--inline-with-separators > li:last-child::after {
436
+ content: "";
437
+ }
438
+
439
+ .ul--inline-with-line-separators > li::after {
440
+ content: "|";
441
+ margin-inline: var(--spacing-component-2);
442
+ opacity: 0.5;
443
+ }
444
+
445
+ .ul--inline-with-line-separators > li:last-child::after {
446
+ content: "";
447
+ }
448
+
449
+ // ===
450
+
451
+ // Horizontal rule
452
+
453
+ hr {
454
+ --color: currentColor;
455
+
456
+ background-color: var(--color);
457
+ border: 0;
458
+ color: var(--color);
459
+ display: block;
460
+ font-size: 0;
461
+ height: var(--hairline);
462
+ margin-block: var(--spacing-layout-1);
463
+ opacity: 0.4;
464
+ }
465
+
466
+ // ===
467
+
468
+ // Icons
469
+
470
+ .icon {
471
+ -webkit-font-feature-settings: 'liga';
472
+ direction: ltr;
473
+ display: inline-block;
474
+ font-family: 'Material Symbols Rounded';
475
+ font-feature-settings: 'liga';
476
+ font-size: 1.4em;
477
+ font-style: normal;
478
+ font-weight: normal;
479
+ letter-spacing: normal;
480
+ text-transform: none;
481
+ vertical-align: middle;
482
+ white-space: nowrap;
483
+ word-wrap: normal;
484
+ }
485
+ `},826(t,e,i){i.d(e,{AH:()=>l,Rf:()=>h,sk:()=>c});const s=globalThis,n=s.ShadowRoot&&(void 0===s.ShadyCSS||s.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,r=Symbol(),o=new WeakMap;class a{constructor(t,e,i){if(this._$cssResult$=!0,i!==r)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=o.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),i&&o.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,r)},h=(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)}},c=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,r))(e)})(t):t},760(t,e,i){i.d(e,{AH:()=>s.AH,mN:()=>y});var s=i(826);const{is:n,defineProperty:r,getOwnPropertyDescriptor:o,getOwnPropertyNames:a,getOwnPropertySymbols:l,getPrototypeOf:h}=Object,c=globalThis,d=c.trustedTypes,p=d?d.emptyScript:"",g=c.reactiveElementPolyfillSupport,f=(t,e)=>t,u={toAttribute(t,e){switch(e){case Boolean:t=t?p: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}},m=(t,e)=>!n(t,e),v={attribute:!0,type:String,converter:u,reflect:!1,useDefault:!1,hasChanged:m};Symbol.metadata??=Symbol("metadata"),c.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&&r(this.prototype,t,s)}}static getPropertyDescriptor(t,e,i){const{get:s,set:n}=o(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get:s,set(e){const r=s?.call(this);n?.call(this,e),this.requestUpdate(t,r,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??v}static _$Ei(){if(this.hasOwnProperty(f("elementProperties")))return;const t=h(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(f("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(f("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:u).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:u;this._$Em=s;const r=n.fromAttribute(e,t.type);this[s]=r??this._$Ej?.get(s)??r,this._$Em=null}}requestUpdate(t,e,i,s=!1,n){if(void 0!==t){const r=this.constructor;if(!1===s&&(n=this[t]),i??=r.getPropertyOptions(t),!((i.hasChanged??m)(n,e)||i.useDefault&&i.reflect&&n===this._$Ej?.get(t)&&!this.hasAttribute(r._$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},r){i&&!(this._$Ej??=new Map).has(t)&&(this._$Ej.set(t,r??e??this[t]),!0!==n||void 0!==r)||(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[f("elementProperties")]=new Map,y[f("finalized")]=new Map,g?.({ReactiveElement:y}),(c.reactiveElementVersions??=[]).push("2.1.2")},228(t,e,i){i.d(e,{AH:()=>s.AH,WF:()=>o,qy:()=>n.qy,s6:()=>n.s6});var s=i(760),n=i(752);const r=globalThis;class o 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}}o._$litElement$=!0,o.finalized=!0,r.litElementHydrateSupport?.({LitElement:o});const a=r.litElementPolyfillSupport;a?.({LitElement:o}),(r.litElementVersions??=[]).push("4.2.2")},752(t,e,i){i.d(e,{XX:()=>D,c0:()=>E,qy:()=>x,s6:()=>S});const s=globalThis,n=t=>t,r=s.trustedTypes,o=r?r.createPolicy("lit-html",{createHTML:t=>t}):void 0,a="$lit$",l=`lit$${Math.random().toFixed(9).slice(2)}$`,h="?"+l,c=`<${h}>`,d=document,p=()=>d.createComment(""),g=t=>null===t||"object"!=typeof t&&"function"!=typeof t,f=Array.isArray,u="[ \t\n\f\r]",m=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,v=/-->/g,y=/>/g,$=RegExp(`>|${u}(?:([^\\s"'>=/]+)(${u}*=${u}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),b=/'/g,_=/"/g,w=/^(?:script|style|textarea|title)$/i,A=t=>(e,...i)=>({_$litType$:t,strings:e,values:i}),x=A(1),E=(A(2),A(3),Symbol.for("lit-noChange")),S=Symbol.for("lit-nothing"),k=new WeakMap,C=d.createTreeWalker(d,129);function P(t,e){if(!f(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==o?o.createHTML(e):e}const H=(t,e)=>{const i=t.length-1,s=[];let n,r=2===e?"<svg>":3===e?"<math>":"",o=m;for(let e=0;e<i;e++){const i=t[e];let h,d,p=-1,g=0;for(;g<i.length&&(o.lastIndex=g,d=o.exec(i),null!==d);)g=o.lastIndex,o===m?"!--"===d[1]?o=v:void 0!==d[1]?o=y:void 0!==d[2]?(w.test(d[2])&&(n=RegExp("</"+d[2],"g")),o=$):void 0!==d[3]&&(o=$):o===$?">"===d[0]?(o=n??m,p=-1):void 0===d[1]?p=-2:(p=o.lastIndex-d[2].length,h=d[1],o=void 0===d[3]?$:'"'===d[3]?_:b):o===_||o===b?o=$:o===v||o===y?o=m:(o=$,n=void 0);const f=o===$&&t[e+1].startsWith("/>")?" ":"";r+=o===m?i+c:p>=0?(s.push(h),i.slice(0,p)+a+i.slice(p)+l+f):i+l+(-2===p?e:f)}return[P(t,r+(t[i]||"<?>")+(2===e?"</svg>":3===e?"</math>":"")),s]};class z{constructor({strings:t,_$litType$:e},i){let s;this.parts=[];let n=0,o=0;const c=t.length-1,d=this.parts,[g,f]=H(t,e);if(this.el=z.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())&&d.length<c;){if(1===s.nodeType){if(s.hasAttributes())for(const t of s.getAttributeNames())if(t.endsWith(a)){const e=f[o++],i=s.getAttribute(t).split(l),r=/([.?@])?(.*)/.exec(e);d.push({type:1,index:n,name:r[2],strings:i,ctor:"."===r[1]?M:"?"===r[1]?N:"@"===r[1]?L:T}),s.removeAttribute(t)}else t.startsWith(l)&&(d.push({type:6,index:n}),s.removeAttribute(t));if(w.test(s.tagName)){const t=s.textContent.split(l),e=t.length-1;if(e>0){s.textContent=r?r.emptyScript:"";for(let i=0;i<e;i++)s.append(t[i],p()),C.nextNode(),d.push({type:2,index:++n});s.append(t[e],p())}}}else if(8===s.nodeType)if(s.data===h)d.push({type:2,index:n});else{let t=-1;for(;-1!==(t=s.data.indexOf(l,t+1));)d.push({type:7,index:n}),t+=l.length-1}n++}}static createElement(t,e){const i=d.createElement("template");return i.innerHTML=t,i}}function U(t,e,i=t,s){if(e===E)return e;let n=void 0!==s?i._$Co?.[s]:i._$Cl;const r=g(e)?void 0:e._$litDirective$;return n?.constructor!==r&&(n?._$AO?.(!1),void 0===r?n=void 0:(n=new r(t),n._$AT(t,i,s)),void 0!==s?(i._$Co??=[])[s]=n:i._$Cl=n),void 0!==n&&(e=U(t,n._$AS(t,e.values),n,s)),e}class O{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??d).importNode(e,!0);C.currentNode=s;let n=C.nextNode(),r=0,o=0,a=i[0];for(;void 0!==a;){if(r===a.index){let e;2===a.type?e=new R(n,n.nextSibling,this,t):1===a.type?e=new a.ctor(n,a.name,a.strings,this,t):6===a.type&&(e=new q(n,this,t)),this._$AV.push(e),a=i[++o]}r!==a?.index&&(n=C.nextNode(),r++)}return C.currentNode=d,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 R{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,i,s){this.type=2,this._$AH=S,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=U(this,t,e),g(t)?t===S||null==t||""===t?(this._$AH!==S&&this._$AR(),this._$AH=S):t!==this._$AH&&t!==E&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):(t=>f(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!==S&&g(this._$AH)?this._$AA.nextSibling.data=t:this.T(d.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=z.createElement(P(i.h,i.h[0]),this.options)),i);if(this._$AH?._$AD===s)this._$AH.p(e);else{const t=new O(s,this),i=t.u(this.options);t.p(e),this.T(i),this._$AH=t}}_$AC(t){let e=k.get(t.strings);return void 0===e&&k.set(t.strings,e=new z(t)),e}k(t){f(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 R(this.O(p()),this.O(p()),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=S,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=S}_$AI(t,e=this,i,s){const n=this.strings;let r=!1;if(void 0===n)t=U(this,t,e,0),r=!g(t)||t!==this._$AH&&t!==E,r&&(this._$AH=t);else{const s=t;let o,a;for(t=n[0],o=0;o<n.length-1;o++)a=U(this,s[i+o],e,o),a===E&&(a=this._$AH[o]),r||=!g(a)||a!==this._$AH[o],a===S?t=S:t!==S&&(t+=(a??"")+n[o+1]),this._$AH[o]=a}r&&!s&&this.j(t)}j(t){t===S?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class M extends T{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===S?void 0:t}}class N extends T{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==S)}}class L extends T{constructor(t,e,i,s,n){super(t,e,i,s,n),this.type=5}_$AI(t,e=this){if((t=U(this,t,e,0)??S)===E)return;const i=this._$AH,s=t===S&&i!==S||t.capture!==i.capture||t.once!==i.once||t.passive!==i.passive,n=t!==S&&(i===S||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 q{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){U(this,t)}}const j=s.litHtmlPolyfillSupport;j?.(z,R),(s.litHtmlVersions??=[]).push("3.3.2");const D=(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 R(e.insertBefore(p(),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 r=e[s]={exports:{}};return t[s](r,r.exports,i),r.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),r=i(205);i(562);class o extends s.WF{static properties={heading:{},text:{},actionLabel:{},linkUrl:{},linkTarget:{}};static styles=(()=>[n.s,r.g,s.AH`
486
+ :host {
487
+ --bg-color: var(--blue-20);
488
+ --padding: var(--spacing-component-4);
489
+ --text-color: var(--black);
490
+ --action-label-color: var(--purple-60);
491
+ --action-label-hover-color: var(--red-60);
492
+
493
+ display: block;
494
+ }
495
+
496
+ .promo,
497
+ a.promo {
498
+ background-color: var(--bg-color);
499
+ box-shadow: var(--shadow-small);
500
+ color: var(--text-color, #000);
501
+ display: flex;
502
+ flex-direction: column;
503
+ gap: var(--spacing-layout-half);
504
+ padding: var(--padding);
505
+ text-align: center;
506
+ text-decoration: none;
507
+ transition: box-shadow 0.2s ease-in-out;
508
+ }
509
+
510
+ a.promo:hover {
511
+ box-shadow: var(--shadow-medium);
512
+ }
513
+
514
+ .action-label {
515
+ color: var(--action-label-color);
516
+ }
517
+
518
+ a.promo:hover .action-label {
519
+ color: var(--action-label-hover-color);
520
+ }
521
+ `])();render(){return s.qy`
522
+ <a
523
+ href="${this.linkUrl||"javascript:void(0)"}"
524
+ target="${this.linkTarget||s.s6}"
525
+ class="promo
526
+ "
527
+ >
528
+ ${this.heading?s.qy` <div class="h4 sans-serif">${this.heading}</div> `:s.s6}
529
+ ${this.text?s.qy` <div class="small">${this.text}</div> `:s.s6}
530
+ ${this.actionLabel?s.qy`
531
+ <div class="action-label small strong">
532
+ ${this.actionLabel} <cfa-icon>arrow_forward</cfa-icon>
533
+ </div>
534
+ `:s.s6}
535
+ </a>
536
+ `}}customElements.get("cfa-promo")||customElements.define("cfa-promo",o)})();
@@ -0,0 +1,11 @@
1
+ /**
2
+ * @license
3
+ * Copyright 2017 Google LLC
4
+ * SPDX-License-Identifier: BSD-3-Clause
5
+ */
6
+
7
+ /**
8
+ * @license
9
+ * Copyright 2019 Google LLC
10
+ * SPDX-License-Identifier: BSD-3-Clause
11
+ */
@@ -0,0 +1,89 @@
1
+ /*! For license information please see pullquote.js.LICENSE.txt */
2
+ (()=>{"use strict";var t={601(t,e,s){s.d(e,{s:()=>i});const i=s(161).AH`
3
+ *:focus-visible,
4
+ *:target {
5
+ outline: var(--focus-outline);
6
+ position: relative;
7
+ }
8
+
9
+ // RESET
10
+
11
+ // Use a more-intuitive box-sizing model.
12
+ *, *::before, *::after {
13
+ box-sizing: border-box;
14
+ }
15
+
16
+ // Remove default margin
17
+ * {
18
+ margin: 0;
19
+ }
20
+
21
+ // Set default text-wrap of 'pretty'
22
+ * {
23
+ text-wrap: pretty;
24
+ }
25
+
26
+ // Wrap overly long words
27
+ * {
28
+ overflow-wrap: break-word;
29
+ text-overflow: ellipsis;
30
+ word-break: break-word;
31
+ }
32
+
33
+ // Fix Safari antialiasing for variable fonts
34
+ * {
35
+ font-synthesis: none !important;
36
+ }
37
+
38
+ // Improve text rendering
39
+ body {
40
+ -webkit-font-smoothing: antialiased;
41
+ }
42
+
43
+ // Reasonable media defaults
44
+ img, picture, video, canvas, svg {
45
+ display: block;
46
+ height: auto;
47
+ max-width: 100%;
48
+ }
49
+
50
+ // Remove built-in form typography styles
51
+ input, button, textarea, select {
52
+ font: inherit;
53
+ }
54
+
55
+ // Avoid text overflows
56
+ p, h1, h2, h3, h4, h5, h6 {
57
+ overflow-wrap: break-word;
58
+ }
59
+
60
+ // Create a root stacking context
61
+ #root, #__next {
62
+ isolation: isolate;
63
+ }
64
+ `},826(t,e,s){s.d(e,{AH:()=>a,Rf:()=>l,sk:()=>c});const i=globalThis,o=i.ShadowRoot&&(void 0===i.ShadyCSS||i.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,r=Symbol(),n=new WeakMap;class h{constructor(t,e,s){if(this._$cssResult$=!0,s!==r)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(o&&void 0===t){const s=void 0!==e&&1===e.length;s&&(t=n.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),s&&n.set(e,t))}return t}toString(){return this.cssText}}const a=(t,...e)=>{const s=1===t.length?t[0]:e.reduce((e,s,i)=>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.")})(s)+t[i+1],t[0]);return new h(s,t,r)},l=(t,e)=>{if(o)t.adoptedStyleSheets=e.map(t=>t instanceof CSSStyleSheet?t:t.styleSheet);else for(const s of e){const e=document.createElement("style"),o=i.litNonce;void 0!==o&&e.setAttribute("nonce",o),e.textContent=s.cssText,t.appendChild(e)}},c=o?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return(t=>new h("string"==typeof t?t:t+"",void 0,r))(e)})(t):t},760(t,e,s){s.d(e,{AH:()=>i.AH,mN:()=>g});var i=s(826);const{is:o,defineProperty:r,getOwnPropertyDescriptor:n,getOwnPropertyNames:h,getOwnPropertySymbols:a,getPrototypeOf:l}=Object,c=globalThis,d=c.trustedTypes,p=d?d.emptyScript:"",u=c.reactiveElementPolyfillSupport,$=(t,e)=>t,_={toAttribute(t,e){switch(e){case Boolean:t=t?p:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let s=t;switch(e){case Boolean:s=null!==t;break;case Number:s=null===t?null:Number(t);break;case Object:case Array:try{s=JSON.parse(t)}catch(t){s=null}}return s}},f=(t,e)=>!o(t,e),A={attribute:!0,type:String,converter:_,reflect:!1,useDefault:!1,hasChanged:f};Symbol.metadata??=Symbol("metadata"),c.litPropertyMetadata??=new WeakMap;class g 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=A){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 s=Symbol(),i=this.getPropertyDescriptor(t,s,e);void 0!==i&&r(this.prototype,t,i)}}static getPropertyDescriptor(t,e,s){const{get:i,set:o}=n(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get:i,set(e){const r=i?.call(this);o?.call(this,e),this.requestUpdate(t,r,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??A}static _$Ei(){if(this.hasOwnProperty($("elementProperties")))return;const t=l(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty($("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty($("properties"))){const t=this.properties,e=[...h(t),...a(t)];for(const s of e)this.createProperty(s,t[s])}const t=this[Symbol.metadata];if(null!==t){const e=litPropertyMetadata.get(t);if(void 0!==e)for(const[t,s]of e)this.elementProperties.set(t,s)}this._$Eh=new Map;for(const[t,e]of this.elementProperties){const s=this._$Eu(t,e);void 0!==s&&this._$Eh.set(s,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const s=new Set(t.flat(1/0).reverse());for(const t of s)e.unshift((0,i.sk)(t))}else void 0!==t&&e.push((0,i.sk)(t));return e}static _$Eu(t,e){const s=e.attribute;return!1===s?void 0:"string"==typeof s?s:"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 s of e.keys())this.hasOwnProperty(s)&&(t.set(s,this[s]),delete this[s]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return(0,i.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,s){this._$AK(t,s)}_$ET(t,e){const s=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,s);if(void 0!==i&&!0===s.reflect){const o=(void 0!==s.converter?.toAttribute?s.converter:_).toAttribute(e,s.type);this._$Em=t,null==o?this.removeAttribute(i):this.setAttribute(i,o),this._$Em=null}}_$AK(t,e){const s=this.constructor,i=s._$Eh.get(t);if(void 0!==i&&this._$Em!==i){const t=s.getPropertyOptions(i),o="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:_;this._$Em=i;const r=o.fromAttribute(e,t.type);this[i]=r??this._$Ej?.get(i)??r,this._$Em=null}}requestUpdate(t,e,s,i=!1,o){if(void 0!==t){const r=this.constructor;if(!1===i&&(o=this[t]),s??=r.getPropertyOptions(t),!((s.hasChanged??f)(o,e)||s.useDefault&&s.reflect&&o===this._$Ej?.get(t)&&!this.hasAttribute(r._$Eu(t,s))))return;this.C(t,e,s)}!1===this.isUpdatePending&&(this._$ES=this._$EP())}C(t,e,{useDefault:s,reflect:i,wrapped:o},r){s&&!(this._$Ej??=new Map).has(t)&&(this._$Ej.set(t,r??e??this[t]),!0!==o||void 0!==r)||(this._$AL.has(t)||(this.hasUpdated||s||(e=void 0),this._$AL.set(t,e)),!0===i&&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,s]of t){const{wrapped:t}=s,i=this[e];!0!==t||this._$AL.has(e)||void 0===i||this.C(e,void 0,s,i)}}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){}}g.elementStyles=[],g.shadowRootOptions={mode:"open"},g[$("elementProperties")]=new Map,g[$("finalized")]=new Map,u?.({ReactiveElement:g}),(c.reactiveElementVersions??=[]).push("2.1.2")},228(t,e,s){s.d(e,{AH:()=>i.AH,WF:()=>n,qy:()=>o.qy});var i=s(760),o=s(752);const r=globalThis;class n extends i.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,o.XX)(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return o.c0}}n._$litElement$=!0,n.finalized=!0,r.litElementHydrateSupport?.({LitElement:n});const h=r.litElementPolyfillSupport;h?.({LitElement:n}),(r.litElementVersions??=[]).push("4.2.2")},752(t,e,s){s.d(e,{XX:()=>L,c0:()=>w,qy:()=>S});const i=globalThis,o=t=>t,r=i.trustedTypes,n=r?r.createPolicy("lit-html",{createHTML:t=>t}):void 0,h="$lit$",a=`lit$${Math.random().toFixed(9).slice(2)}$`,l="?"+a,c=`<${l}>`,d=document,p=()=>d.createComment(""),u=t=>null===t||"object"!=typeof t&&"function"!=typeof t,$=Array.isArray,_="[ \t\n\f\r]",f=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,A=/-->/g,g=/>/g,m=RegExp(`>|${_}(?:([^\\s"'>=/]+)(${_}*=${_}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),y=/'/g,v=/"/g,b=/^(?:script|style|textarea|title)$/i,E=t=>(e,...s)=>({_$litType$:t,strings:e,values:s}),S=E(1),w=(E(2),E(3),Symbol.for("lit-noChange")),x=Symbol.for("lit-nothing"),C=new WeakMap,P=d.createTreeWalker(d,129);function H(t,e){if(!$(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==n?n.createHTML(e):e}const U=(t,e)=>{const s=t.length-1,i=[];let o,r=2===e?"<svg>":3===e?"<math>":"",n=f;for(let e=0;e<s;e++){const s=t[e];let l,d,p=-1,u=0;for(;u<s.length&&(n.lastIndex=u,d=n.exec(s),null!==d);)u=n.lastIndex,n===f?"!--"===d[1]?n=A:void 0!==d[1]?n=g:void 0!==d[2]?(b.test(d[2])&&(o=RegExp("</"+d[2],"g")),n=m):void 0!==d[3]&&(n=m):n===m?">"===d[0]?(n=o??f,p=-1):void 0===d[1]?p=-2:(p=n.lastIndex-d[2].length,l=d[1],n=void 0===d[3]?m:'"'===d[3]?v:y):n===v||n===y?n=m:n===A||n===g?n=f:(n=m,o=void 0);const $=n===m&&t[e+1].startsWith("/>")?" ":"";r+=n===f?s+c:p>=0?(i.push(l),s.slice(0,p)+h+s.slice(p)+a+$):s+a+(-2===p?e:$)}return[H(t,r+(t[s]||"<?>")+(2===e?"</svg>":3===e?"</math>":"")),i]};class O{constructor({strings:t,_$litType$:e},s){let i;this.parts=[];let o=0,n=0;const c=t.length-1,d=this.parts,[u,$]=U(t,e);if(this.el=O.createElement(u,s),P.currentNode=this.el.content,2===e||3===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=P.nextNode())&&d.length<c;){if(1===i.nodeType){if(i.hasAttributes())for(const t of i.getAttributeNames())if(t.endsWith(h)){const e=$[n++],s=i.getAttribute(t).split(a),r=/([.?@])?(.*)/.exec(e);d.push({type:1,index:o,name:r[2],strings:s,ctor:"."===r[1]?M:"?"===r[1]?z:"@"===r[1]?q:T}),i.removeAttribute(t)}else t.startsWith(a)&&(d.push({type:6,index:o}),i.removeAttribute(t));if(b.test(i.tagName)){const t=i.textContent.split(a),e=t.length-1;if(e>0){i.textContent=r?r.emptyScript:"";for(let s=0;s<e;s++)i.append(t[s],p()),P.nextNode(),d.push({type:2,index:++o});i.append(t[e],p())}}}else if(8===i.nodeType)if(i.data===l)d.push({type:2,index:o});else{let t=-1;for(;-1!==(t=i.data.indexOf(a,t+1));)d.push({type:7,index:o}),t+=a.length-1}o++}}static createElement(t,e){const s=d.createElement("template");return s.innerHTML=t,s}}function R(t,e,s=t,i){if(e===w)return e;let o=void 0!==i?s._$Co?.[i]:s._$Cl;const r=u(e)?void 0:e._$litDirective$;return o?.constructor!==r&&(o?._$AO?.(!1),void 0===r?o=void 0:(o=new r(t),o._$AT(t,s,i)),void 0!==i?(s._$Co??=[])[i]=o:s._$Cl=o),void 0!==o&&(e=R(t,o._$AS(t,e.values),o,i)),e}class k{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:s}=this._$AD,i=(t?.creationScope??d).importNode(e,!0);P.currentNode=i;let o=P.nextNode(),r=0,n=0,h=s[0];for(;void 0!==h;){if(r===h.index){let e;2===h.type?e=new N(o,o.nextSibling,this,t):1===h.type?e=new h.ctor(o,h.name,h.strings,this,t):6===h.type&&(e=new j(o,this,t)),this._$AV.push(e),h=s[++n]}r!==h?.index&&(o=P.nextNode(),r++)}return P.currentNode=d,i}p(t){let e=0;for(const s of this._$AV)void 0!==s&&(void 0!==s.strings?(s._$AI(t,s,e),e+=s.strings.length-2):s._$AI(t[e])),e++}}class N{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,s,i){this.type=2,this._$AH=x,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=s,this.options=i,this._$Cv=i?.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=R(this,t,e),u(t)?t===x||null==t||""===t?(this._$AH!==x&&this._$AR(),this._$AH=x):t!==this._$AH&&t!==w&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):(t=>$(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!==x&&u(this._$AH)?this._$AA.nextSibling.data=t:this.T(d.createTextNode(t)),this._$AH=t}$(t){const{values:e,_$litType$:s}=t,i="number"==typeof s?this._$AC(t):(void 0===s.el&&(s.el=O.createElement(H(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===i)this._$AH.p(e);else{const t=new k(i,this),s=t.u(this.options);t.p(e),this.T(s),this._$AH=t}}_$AC(t){let e=C.get(t.strings);return void 0===e&&C.set(t.strings,e=new O(t)),e}k(t){$(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let s,i=0;for(const o of t)i===e.length?e.push(s=new N(this.O(p()),this.O(p()),this,this.options)):s=e[i],s._$AI(o),i++;i<e.length&&(this._$AR(s&&s._$AB.nextSibling,i),e.length=i)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t!==this._$AB;){const e=o(t).nextSibling;o(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,s,i,o){this.type=1,this._$AH=x,this._$AN=void 0,this.element=t,this.name=e,this._$AM=i,this.options=o,s.length>2||""!==s[0]||""!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=x}_$AI(t,e=this,s,i){const o=this.strings;let r=!1;if(void 0===o)t=R(this,t,e,0),r=!u(t)||t!==this._$AH&&t!==w,r&&(this._$AH=t);else{const i=t;let n,h;for(t=o[0],n=0;n<o.length-1;n++)h=R(this,i[s+n],e,n),h===w&&(h=this._$AH[n]),r||=!u(h)||h!==this._$AH[n],h===x?t=x:t!==x&&(t+=(h??"")+o[n+1]),this._$AH[n]=h}r&&!i&&this.j(t)}j(t){t===x?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class M extends T{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===x?void 0:t}}class z extends T{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==x)}}class q extends T{constructor(t,e,s,i,o){super(t,e,s,i,o),this.type=5}_$AI(t,e=this){if((t=R(this,t,e,0)??x)===w)return;const s=this._$AH,i=t===x&&s!==x||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,o=t!==x&&(s===x||i);i&&this.element.removeEventListener(this.name,this,s),o&&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 j{constructor(t,e,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(t){R(this,t)}}const D=i.litHtmlPolyfillSupport;D?.(O,N),(i.litHtmlVersions??=[]).push("3.3.2");const L=(t,e,s)=>{const i=s?.renderBefore??e;let o=i._$litPart$;if(void 0===o){const t=s?.renderBefore??null;i._$litPart$=o=new N(e.insertBefore(p(),t),t,void 0,s??{})}return o._$AI(t),o}},161(t,e,s){s.d(e,{AH:()=>i.AH,WF:()=>i.WF,qy:()=>i.qy}),s(760),s(752);var i=s(228)}},e={};function s(i){var o=e[i];if(void 0!==o)return o.exports;var r=e[i]={exports:{}};return t[i](r,r.exports,s),r.exports}s.d=(t,e)=>{for(var i in e)s.o(e,i)&&!s.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},s.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);var i=s(161),o=s(601);class r extends i.WF{static properties={};static styles=(()=>[o.s,i.AH`
65
+ :host {
66
+ --color: var(--purple-60);
67
+
68
+ display: block;
69
+ }
70
+ blockquote {
71
+ border-inline-start: var(--thick) solid var(--color);
72
+ color: var(--color);
73
+ font-size: var(--font-size-h3);
74
+ font-weight: 600;
75
+ line-height: var(--line-height-h3);
76
+ margin: 0;
77
+ padding: var(--spacing-layout-half) var(--spacing-layout-1);
78
+ }
79
+ p {
80
+ margin: 0;
81
+ }
82
+ p + p {
83
+ margin-block-start: var(--spacing-layout-half);
84
+ }
85
+ `])();render(){return i.qy`
86
+ <blockquote>
87
+ <slot />
88
+ </blockquote>
89
+ `}}customElements.get("cfa-pullquote")||customElements.define("cfa-pullquote",r)})();