@content-blocks/js 0.7.2 → 0.7.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/content-accordion_11.cjs.entry.js +36 -18
- package/dist/cjs/content-accordion_11.cjs.entry.js.map +1 -1
- package/dist/cjs/content-blocks.cjs.js +1 -1
- package/dist/cjs/content-navigation-block.cjs.entry.js +18 -12
- package/dist/cjs/content-navigation-block.cjs.entry.js.map +1 -1
- package/dist/cjs/content-split-block.cjs.entry.js +2 -2
- package/dist/cjs/content-tabs.cjs.entry.js +2 -2
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{utils-db61cd70.js → utils-f8ccab0a.js} +35 -29
- package/dist/cjs/utils-f8ccab0a.js.map +1 -0
- package/dist/cjs/{window-resize-service-ac5c2012.js → window-resize-service-bc8cf256.js} +2 -2
- package/dist/cjs/{window-resize-service-ac5c2012.js.map → window-resize-service-bc8cf256.js.map} +1 -1
- package/dist/collection/blocks/content-hero-block/content-hero-block.js +1 -1
- package/dist/collection/blocks/content-hero-block/content-hero-block.js.map +1 -1
- package/dist/collection/blocks/content-tout-block/content-tout-block.css +1 -1
- package/dist/collection/components/content-navigation-block/content-navigation-block.css +1 -2
- package/dist/collection/components/content-navigation-block/content-navigation-block.js +15 -9
- package/dist/collection/components/content-navigation-block/content-navigation-block.js.map +1 -1
- package/dist/collection/components/content-overlay/content-overlay.css +12 -4
- package/dist/collection/components/content-overlay/content-overlay.js +33 -7
- package/dist/collection/components/content-overlay/content-overlay.js.map +1 -1
- package/dist/collection/elements/content-button/content-button.js +9 -4
- package/dist/collection/elements/content-button/content-button.js.map +1 -1
- package/dist/collection/elements/content-video/content-video.css +1 -19
- package/dist/collection/formatters/content-grid-formatter/content-grid-formatter.css +3 -3
- package/dist/collection/formatters/content-grid-formatter/content-grid-formatter.js +0 -1
- package/dist/collection/formatters/content-grid-formatter/content-grid-formatter.js.map +1 -1
- package/dist/collection/formatters/content-spacer/content-spacer.css +9 -6
- package/dist/collection/utils/utils.js +31 -25
- package/dist/collection/utils/utils.js.map +1 -1
- package/dist/collection/utils/utils.spec.js +28 -3
- package/dist/collection/utils/utils.spec.js.map +1 -1
- package/dist/components/content-button.js +9 -4
- package/dist/components/content-button.js.map +1 -1
- package/dist/components/content-grid-formatter2.js +1 -2
- package/dist/components/content-grid-formatter2.js.map +1 -1
- package/dist/components/content-hero-block.js +1 -1
- package/dist/components/content-hero-block.js.map +1 -1
- package/dist/components/content-navigation-block.js +16 -10
- package/dist/components/content-navigation-block.js.map +1 -1
- package/dist/components/content-overlay.js +22 -8
- package/dist/components/content-overlay.js.map +1 -1
- package/dist/components/content-spacer.js +1 -1
- package/dist/components/content-spacer.js.map +1 -1
- package/dist/components/content-tout-block.js +1 -1
- package/dist/components/content-tout-block.js.map +1 -1
- package/dist/components/content-video.js +1 -1
- package/dist/components/content-video.js.map +1 -1
- package/dist/components/utils.js +34 -28
- package/dist/components/utils.js.map +1 -1
- package/dist/content-blocks/content-blocks.esm.js +1 -1
- package/dist/content-blocks/content-blocks.esm.js.map +1 -1
- package/dist/content-blocks/index.esm.js +1 -1
- package/dist/content-blocks/{p-4bfbd7ef.entry.js → p-1b448306.entry.js} +2 -2
- package/dist/content-blocks/p-1c7435ea.entry.js +2 -0
- package/dist/content-blocks/p-1c7435ea.entry.js.map +1 -0
- package/dist/content-blocks/{p-8cc22c1e.entry.js → p-3bd97960.entry.js} +2 -2
- package/dist/content-blocks/{p-cfb4593f.js → p-3fe594af.js} +2 -2
- package/dist/content-blocks/p-b796271c.entry.js +2 -0
- package/dist/content-blocks/p-b796271c.entry.js.map +1 -0
- package/dist/content-blocks/p-cc7397cf.js +2 -0
- package/dist/content-blocks/p-cc7397cf.js.map +1 -0
- package/dist/esm/content-accordion_11.entry.js +36 -18
- package/dist/esm/content-accordion_11.entry.js.map +1 -1
- package/dist/esm/content-blocks.js +1 -1
- package/dist/esm/content-navigation-block.entry.js +18 -12
- package/dist/esm/content-navigation-block.entry.js.map +1 -1
- package/dist/esm/content-split-block.entry.js +2 -2
- package/dist/esm/content-tabs.entry.js +2 -2
- package/dist/esm/index.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{utils-4f78228e.js → utils-9a901aa9.js} +35 -29
- package/dist/esm/utils-9a901aa9.js.map +1 -0
- package/dist/esm/{window-resize-service-f40ec51c.js → window-resize-service-a6537000.js} +2 -2
- package/dist/esm/{window-resize-service-f40ec51c.js.map → window-resize-service-a6537000.js.map} +1 -1
- package/dist/types/components/content-overlay/content-overlay.d.ts +2 -0
- package/dist/types/utils/utils.d.ts +8 -3
- package/package.json +1 -1
- package/dist/cjs/utils-db61cd70.js.map +0 -1
- package/dist/content-blocks/p-7ff352fe.entry.js +0 -2
- package/dist/content-blocks/p-7ff352fe.entry.js.map +0 -1
- package/dist/content-blocks/p-b04fe808.js +0 -2
- package/dist/content-blocks/p-b04fe808.js.map +0 -1
- package/dist/content-blocks/p-ef45f146.entry.js +0 -2
- package/dist/content-blocks/p-ef45f146.entry.js.map +0 -1
- package/dist/esm/utils-4f78228e.js.map +0 -1
- /package/dist/content-blocks/{p-4bfbd7ef.entry.js.map → p-1b448306.entry.js.map} +0 -0
- /package/dist/content-blocks/{p-8cc22c1e.entry.js.map → p-3bd97960.entry.js.map} +0 -0
- /package/dist/content-blocks/{p-cfb4593f.js.map → p-3fe594af.js.map} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"content-accordion.content-button.content-grid-formatter.content-hero-block.content-image.content-line.content-overlay.content-spacer.content-text-block.content-tout-block.content-video.entry.cjs.js","mappings":";;;;;;;;;;AAAA,MAAM,mBAAmB,GAAG,wUAAwU;;MCevV,gBAAgB;;;;oBASO,OAAO;8BAKhB,iBAAiB;4BAMnB,eAAe;6BAMd,CAAC;sBAEP,KAAK;wBACK,EAAE;2BACP,EAAE;;IAGzB,gBAAgB,CAAC,CAAa;QAC5B,IAAI,CAA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O,CAAC,EAC7C,KAAK,EAAC,kCAAkC,EACxC,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,MAAM,EAAE,IAAI,CAAC,MAAM,EACnB,WAAW,EAAC,WAAW,gBACX,IAAI,CAAC,mBAAmB,EAAE,IAEtCA,kBAAM,IAAI,EAAC,eAAe,GAAQ,EAClCA,kBAAM,IAAI,EAAC,SAAS,GAAQ,EAC5BA,qBAAa,CACP,CACT,CACG,CACD,EACP;KACH;;;;;;;;;;;;;;;;;","names":["WindowResizeService","h","Host","getCurrentValue","aria","focusTrap.createFocusTrap"],"sources":["src/components/content-accordion/content-accordion.scss?tag=content-accordion","src/components/content-accordion/content-accordion.tsx","src/elements/content-button/content-button.scss?tag=content-button","src/elements/content-button/content-button.tsx","src/formatters/content-grid-formatter/content-grid-formatter.scss?tag=content-grid-formatter","src/formatters/content-grid-formatter/content-grid-formatter.tsx","src/blocks/content-hero-block/content-hero-block.scss?tag=content-hero-block","src/blocks/content-hero-block/content-hero-block.tsx","src/elements/content-image/content-image.scss?tag=content-image","src/elements/content-image/content-image.tsx","src/elements/content-line/content-line.scss?tag=content-line","src/elements/content-line/content-line.tsx","src/components/content-overlay/libraries/aria-utilities.ts","src/components/content-overlay/libraries/aria-dialog.ts","src/components/content-overlay/content-overlay.scss?tag=content-overlay","src/components/content-overlay/content-overlay.tsx","src/formatters/content-spacer/content-spacer.scss?tag=content-spacer","src/formatters/content-spacer/content-spacer.tsx","src/blocks/content-text-block/content-text-block.scss?tag=content-text-block","src/blocks/content-text-block/content-text-block.tsx","src/blocks/content-tout-block/content-tout-block.scss?tag=content-tout-block","src/blocks/content-tout-block/content-tout-block.tsx","src/elements/content-video/content-video.scss?tag=content-video","src/elements/content-video/content-video.tsx"],"sourcesContent":["content-accordion {\n display: block;\n\n > button {\n display: block;\n width: 100%;\n padding: 0;\n border: none;\n font: inherit;\n color: inherit;\n background-color: transparent;\n cursor: pointer;\n }\n\n &[expanded] > .content-accordion__reveal {\n display: block;\n }\n\n > .content-accordion__reveal {\n display: none;\n }\n}\n","import { Component, h, Host, Element } from '@stencil/core';\nimport { HostElement, Prop, State } from '@stencil/core/internal';\nimport W3DisclosureButton from './libraries/w3_disclosure_button';\nimport { ResponsiveBoolean } from '../../typings';\nimport { WindowResizeService } from '../../services/window-resize-service';\n\n/**\n * @slot content - This slot will usually serve a content button.\n * @slot - Default slot, same as content slot.\n */\n@Component({\n tag: 'content-accordion',\n styleUrl: 'content-accordion.scss',\n shadow: false,\n})\nexport class ContentAccordion {\n @Element() hostElement: HostElement;\n\n @State() revealElement!: HTMLDivElement;\n /**\n *\n * @type Boolean\n * @responsive\n */\n @Prop() open: ResponsiveBoolean = 'false';\n /**\n * The starting animation class in case you want to control content styling.\n * @type String\n */\n @Prop() animationStart = 'animation-start';\n\n /**\n * The ending animation class in case you want to control content styling.\n * @type String\n */\n @Prop() animationEnd = 'animation-end';\n\n /**\n * The amount of time in milliseconds to run the closing animation, before the class is removed\n * @type Number\n */\n @Prop() animationTime = 0;\n\n @State() isOpen = false;\n @State() randomID: string = '';\n @State() classString = '';\n\n timeoutHolder;\n handleClickEvent(e: MouseEvent) {\n this.animateAccordion(!this.isOpen);\n }\n\n animateAccordion(open, animationTime = this.animationTime) {\n if (this.timeoutHolder) {\n clearTimeout(this.timeoutHolder);\n }\n if (open) {\n this.isOpen = true;\n this.timeoutHolder = setTimeout(() => {\n this.hostElement.classList.add(this.animationStart);\n }, 0);\n } else {\n this.hostElement.classList.add(this.animationEnd);\n this.timeoutHolder = setTimeout(() => {\n this.hostElement.classList.remove(this.animationStart, this.animationEnd);\n this.isOpen = false;\n }, animationTime);\n }\n }\n\n componentWillLoad() {\n this.revealElement = this.hostElement.querySelector('.js-content-accordion-reveal');\n if (this.hostElement.id) {\n this.randomID = `${this.hostElement.tagName}_${this.hostElement.id}`;\n } else {\n this.randomID = `${this.hostElement.tagName}_${Math.floor(Math.random() * document.querySelectorAll(this.hostElement.tagName).length)}`;\n }\n WindowResizeService.registerProp(this.open).subscribe(newValue => {\n this.isOpen = newValue === 'true';\n if (this.isOpen) {\n this.animateAccordion(true);\n }\n });\n }\n\n render() {\n return (\n <Host class={this.classString} expanded={this.isOpen}>\n <button onClick={e => this.handleClickEvent(e)} aria-expanded={this.isOpen} aria-controls={this.randomID}>\n <slot name=\"trigger\"></slot>\n </button>\n <div id={this.randomID} class=\"js-content-accordion-reveal content-accordion__reveal\">\n <slot name=\"content\"></slot>\n <slot></slot>\n </div>\n </Host>\n );\n }\n}\n","content-button {\n display: inline-block;\n > a, > button {\n display: flex;\n width: 100%;\n align-items: center;\n justify-content: center;\n }\n > button {\n appearance: none;\n background: inherit;\n cursor: pointer;\n }\n\n &[clickable-block=\"true\"] {\n display: block;\n width: 100%;\n height: 100%;\n > a,\n > button {\n height: 100%;\n width: 100%;\n > * {\n display: block;\n width: 100%;\n }\n }\n .content-button__clickable-content {\n width: 100%;\n height: 100%;\n }\n }\n\n}","import { Component, h, Host, Prop } from '@stencil/core';\nimport { Element, HostElement, HTMLStencilElement, State } from '@stencil/core/internal';\nimport { WindowResizeService } from '../../services/window-resize-service';\nimport { ResponsiveString } from '../../typings';\n\n/**\n * @slot content - Inner contents of the button, usually plaintext.\n * @slot - Default slot, same as content slot.\n * @slot activatedContent - If this slot is used, the content in this will be scrolled to and triggered.\n */\n@Component({\n tag: 'content-button',\n styleUrl: 'content-button.scss',\n shadow: false,\n})\nexport class ContentButton {\n @Element() hostElement: HostElement;\n /**\n * @type URL\n */\n @Prop({\n mutable: true,\n reflect: true,\n })\n href: string;\n /**\n * @type String\n */\n @Prop() target: string;\n /**\n * The classes for the button.\n * @type String\n * @responsive\n */\n @Prop() classes = '';\n @State() classString = '';\n /**\n * @type Boolean\n */\n @Prop() clickableBlock: boolean = false;\n /**\n * @type Boolean\n */\n @Prop({\n mutable: true,\n reflect: true,\n })\n expanded: string;\n /**\n\n /**\n * Aria-controls value\n * @type Target\n */\n @Prop() controls: string;\n\n /**\n * @type String\n * @responsive\n */\n @Prop() linkLabel: ResponsiveString;\n /**\n * @type String\n * @responsive\n */\n @Prop({\n mutable: true,\n reflect: true,\n })\n linkClass: ResponsiveString;\n @State() hasContentToActivate: boolean;\n\n public activatedContent: HTMLDivElement;\n\n componentWillLoad() {\n this.activatedContent = this.hostElement.querySelector('[slot=\"activatedContent\"]');\n this.hasContentToActivate = !!this.activatedContent;\n // If this is a clickable block, forcefully add a # to force an anchor link\n if (!this.href || this.href === '#') {\n this.href = 'javascript:void(0);';\n }\n\n WindowResizeService.registerProp(this.linkClass).subscribe(newValue => {\n this.linkClass = newValue as string;\n });\n\n WindowResizeService.registerProp(this.classes).subscribe(newValue => {\n this.classString = newValue as string;\n });\n }\n\n onHandleClickEvent(ev) {\n if (this.hasContentToActivate) {\n ev.preventDefault();\n // ev.stopPropagation();\n this.activatedContent.dispatchEvent(new CustomEvent('contentBlockActivated', { detail: this.activatedContent }));\n this.activatedContent.scrollIntoView({ behavior: 'smooth' });\n } else if (this.href && this.href.length > 1 && this.href.substring(0, 1) === '#') {\n let element = document.getElementById(this.href.substring(1));\n if (element) {\n ev.preventDefault();\n // ev.stopPropagation();\n element.dispatchEvent(new CustomEvent('contentBlockActivated', { detail: element }));\n // element.scrollIntoView({ behavior: 'smooth' });\n }\n }\n }\n\n render() {\n return (\n <Host class={this.classString}>\n <a\n aria-label={this.linkLabel}\n class={this.linkClass}\n role={this.href === 'javascript:void(0);' ? 'button' : ''}\n onClick={ev => this.onHandleClickEvent(ev)}\n aria-expanded={this.expanded}\n aria-controls={this.controls}\n href={this.href}\n target={this.target}\n >\n {!this.clickableBlock ? (\n <span>\n <slot name=\"content\"></slot>\n <slot></slot>\n </span>\n ) : (\n <div class=\"content-button__clickable-content\">\n <slot name=\"content\"></slot>\n <slot></slot>\n </div>\n )}\n </a>\n <slot name=\"activatedContent\"></slot>\n </Host>\n );\n }\n}\n","content-grid-formatter {\n width: 100%;\n overflow: auto;\n align-items: var(--align-items, flex-start);\n justify-content: var(--justify-content);\n * {\n box-sizing: border-box;\n }\n &[type=\"grid\"] {\n display: grid;\n grid-template-columns: repeat(var(--columns), 1fr);\n column-gap: var(--column-gap, 0);\n row-gap: var(--row-gap, 0);\n }\n\n &[type=\"flex\"] {\n display: flex;\n flex-wrap: wrap; \n > * {\n overflow: auto;\n flex: 0 0 auto;\n width: calc(100%/var(--columns));\n }\n }\n > [flex-shrink=\"true\"] {\n width: auto;\n flex-shrink: 1;\n }\n &[flex-shrink=\"true\"] > * {\n flex-shrink: 1;\n }\n &[flex-grow=\"true\"] > * {\n flex-grow: 1;\n }\n > [flex-grow=\"true\"] {\n width: auto;\n flex-grow: 1;\n }\n}","import { Component, h, Host, Prop, State } from '@stencil/core';\nimport { WindowResizeService } from '../../services/window-resize-service';\nimport { FLEX_JUSTIFY_OPTIONS, GRID_TYPES, ResponsiveBoolean, ResponsiveNumber, ResponsiveString } from '../../typings';\nimport { Element, HTMLStencilElement } from '@stencil/core/internal';\n\n/**\n * @slot media - This slot can either be a video or image component.\n * @slot content - This slot will usually serve a content text block.\n */\n@Component({\n tag: 'content-grid-formatter',\n styleUrl: 'content-grid-formatter.scss',\n shadow: false,\n})\nexport class ContentGridFormatter {\n /**\n * @type String\n * @responsive\n */\n @Prop() classes: ResponsiveString;\n @State() classString;\n /**\n * Flex or grid\n * @type Select\n * @options none\n * @options flex\n * @options grid\n * @responsive\n */\n @Prop({\n mutable: true,\n reflect: true,\n })\n type: GRID_TYPES | ResponsiveString = 'flex';\n /**\n * Setting this true to will grow all children. Alternatively, add the attribute [flex-grow=\"true\"] to a specific grid child and that child will grow.\n * @type Boolean\n * @responsive\n */\n @Prop({\n mutable: true,\n reflect: true,\n })\n flexGrow: ResponsiveBoolean = 'false';\n /**\n * Setting this true to will shrink all children. Alternatively, add the attribute [flex-shrink=\"true\"] to a specific grid child and that child will shrink.\n * @type Boolean\n * @responsive\n */\n @Prop({\n mutable: true,\n reflect: true,\n })\n flexShrink: ResponsiveBoolean = 'false';\n /**\n * Vertical axis alignment\n * @type Select\n * @options flex-start\n * @options space-between\n * @options center\n * @options space-evenly\n * @responsive\n */\n @Prop({\n mutable: true,\n reflect: true,\n })\n vertical: FLEX_JUSTIFY_OPTIONS = 'space-between';\n\n /**\n * Horizontal axis alignment\n * @type Select\n * @options flex-start\n * @options space-between\n * @options center\n * @options space-evenly\n * @responsive\n */\n @Prop({\n mutable: true,\n reflect: true,\n })\n horizontal: FLEX_JUSTIFY_OPTIONS = 'space-between';\n /**\n * @type Number\n * @responsive\n */\n @Prop({\n mutable: true,\n reflect: true,\n })\n columns: ResponsiveNumber = '1';\n\n /**\n * @type Number\n * @responsive\n */\n @Prop({\n mutable: true,\n reflect: true,\n })\n columnGap: ResponsiveNumber = '0';\n\n /**\n * @type Number\n * @responsive\n */\n @Prop({\n mutable: true,\n reflect: true,\n })\n rowGap: ResponsiveNumber = '0';\n\n @Element() hostElement: HTMLStencilElement;\n @State() activeClassString: string;\n @State() inlineStyle: { [key: string]: string } = {};\n\n componentWillLoad() {\n return Promise.allSettled([\n WindowResizeService.registerProp(this.type).subscribe(newValue => (this.type = newValue as GRID_TYPES)),\n WindowResizeService.registerProp(this.vertical).subscribe(newValue => {\n this.vertical = newValue as FLEX_JUSTIFY_OPTIONS;\n this.inlineStyle = {\n ...this.inlineStyle,\n '--align-items': this.vertical,\n };\n }),\n WindowResizeService.registerProp(this.horizontal).subscribe(newValue => {\n this.horizontal = newValue as FLEX_JUSTIFY_OPTIONS;\n this.inlineStyle = {\n ...this.inlineStyle,\n '--justify-content': this.horizontal,\n };\n }),\n WindowResizeService.registerProp(this.flexShrink).subscribe(newValue => (this.flexShrink = newValue as string)),\n WindowResizeService.registerProp(this.flexGrow).subscribe(newValue => (this.flexGrow = newValue as string)),\n WindowResizeService.registerProp(this.columns).subscribe(newValue => {\n console.log(this.hostElement, this.columns);\n this.columns = newValue as string;\n this.inlineStyle = {\n ...this.inlineStyle,\n '--columns': newValue as string,\n };\n }),\n WindowResizeService.registerProp(this.columnGap).subscribe(newValue => {\n this.columnGap = newValue as string;\n this.inlineStyle = {\n ...this.inlineStyle,\n '--column-gap': newValue as string,\n };\n }),\n WindowResizeService.registerProp(this.rowGap).subscribe(newValue => {\n this.rowGap = newValue as string;\n this.inlineStyle = {\n ...this.inlineStyle,\n '--row-gap': newValue as string,\n };\n }),\n WindowResizeService.registerProp(this.classes).subscribe(newValue => (this.classString = newValue as string)),\n ]);\n }\n\n render() {\n return (\n <Host class={this.classString} style={this.inlineStyle}>\n <slot />\n </Host>\n );\n }\n}\n","content-hero-block {\n position: relative;\n &[content-position=\"above\"] {\n display: grid;\n grid-template-columns: 1fr;\n .content-hero-block__background,\n .content-hero-block__content {\n grid-row-start: 1;\n grid-column-start: 1;\n }\n .content-hero-block__background {\n height: 100%;\n overflow: hidden;\n\n content-image,\n content-image picture,\n content-image img,\n content-image video {\n height: 100%;\n }\n }\n .content-hero-block__content {\n display: flex;\n // position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n grid-row-start: 1;\n grid-column-start: 1;\n \n > * {\n // display: block;\n width: 100%;\n }\n \n }\n .content-hero-block__content {\n position: relative;\n z-index: 1;\n }\n }\n &[content-position=\"below\"] {\n display: block;\n }\n}","import { Component, h, Host, Prop } from '@stencil/core';\nimport { Element, HTMLStencilElement, Listen, State } from '@stencil/core/internal';\nimport { WindowResizeService } from '../../services/window-resize-service';\nimport { ResponsiveString } from '../../typings';\nimport { getHydratedClassString } from '../../utils/utils';\nexport type HeroContentPlacementOptions = 'above' | 'below';\n/**\n * @slot background - This slot is usually either a video or image component.\n * @slot content - This slot will usually serve a text block.\n * @slot - Default slot, same as content slot\n */\n@Component({\n tag: 'content-hero-block',\n styleUrl: 'content-hero-block.scss',\n shadow: false,\n})\nexport class ContentHeroBlock {\n @Element() hostElement: HTMLStencilElement;\n @State() hasBackground: boolean = false;\n /**\n * Pipe separated HeroContentPlacementOptions that will determine whether the content sits below the media slot or overlapped above.\n * @type Select\n * @options below\n * @options above\n * @responsive\n */\n @Prop({\n mutable: true,\n reflect: true,\n })\n contentPosition: ResponsiveString | HeroContentPlacementOptions = 'below|above';\n\n /**\n * @type String\n * @responsive\n */\n @Prop() classes: ResponsiveString;\n @State() classString;\n @State() revealHiddenContent: boolean = false;\n hasHiddenContent: boolean;\n\n componentWillLoad() {\n this.hasBackground = !!this.hostElement.querySelector('[slot=\"background\"]');\n this.hasHiddenContent = !!this.hostElement.querySelector('[slot=\"activatedContent\"]');\n WindowResizeService.registerProp(this.contentPosition).subscribe(newValue => (this.contentPosition = newValue as string));\n WindowResizeService.registerProp(this.classes).subscribe(newValue => (this.classString = newValue as string));\n }\n\n @Listen('contentBlockActivated', { target: 'window' })\n contentBlockActivationHandler(event: CustomEvent<HTMLElement>) {\n if (this.hostElement === event.detail) {\n this.hostElement.setAttribute('activated', 'true');\n }\n }\n\n render() {\n return (\n <Host class={this.classString}>\n {this.hasBackground && (\n <div class=\"content-hero-block__background\">\n <slot name=\"background\"></slot>\n </div>\n )}\n <div class=\"content-hero-block__content\">\n <slot name=\"content\"></slot>\n <slot></slot>\n </div>\n </Host>\n );\n }\n}\n","content-image {\n display: block;\n height: auto;\n transition: opacity .3s;\n position: relative;\n &.content-image-loading {\n opacity: 0;\n }\n &.content-image-loaded {\n opacity: 1;\n }\n\n &[aspect-ratio] {\n img, picture, video {\n aspect-ratio: var(--aspect-ratio);\n object-fit: cover;\n }\n }\n img,\n picture,\n video {\n display: block;\n width: 100%;\n height: 100%;\n }\n\n .content-image__media-content {\n display: none;\n position: absolute;\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n align-items: center;\n justify-content: center;\n overflow: hidden;\n [slot=\"mediaContent\"] {\n height: 100%;\n width: 100%;\n }\n }\n &[content=\"true\"] .content-image__media-content {\n display: flex;\n }\n}\n","import { Component, h, Host, Element, Prop, State, Watch } from '@stencil/core';\nimport { HostElement } from '@stencil/core/internal';\nimport { WindowResizeService } from '../../services/window-resize-service';\nimport { ResponsiveBoolean, ResponsiveNumber, ResponsiveString } from '../../typings';\nimport { breakpointValues, getCurrentValue, getValueAtIndex } from '../../utils/utils';\n\n/**\n * @slot mediaContent - Content displayed over media. If you want to reveal content on hover, use a tout block\n */\n@Component({\n tag: 'content-image',\n styleUrl: 'content-image.scss',\n shadow: false,\n})\nexport class ContentImage {\n @Element() hostElement: HostElement;\n /**\n * @type String\n * @responsive\n */\n @Prop({\n mutable: true,\n reflect: true,\n })\n classes: ResponsiveString;\n /**\n * @type Boolean\n */\n @Prop() lazyLoad: boolean = true;\n /**\n * @type Media\n * @responsive\n */\n @Prop({\n mutable: true,\n reflect: false,\n })\n src!: ResponsiveString;\n @State() activeSrc;\n /**\n * @type String\n * @responsive\n */\n @Prop({\n mutable: true,\n reflect: true,\n })\n alt: ResponsiveString;\n /**\n * @type Number\n * @responsive\n */\n @Prop({\n mutable: true,\n reflect: false,\n })\n width: ResponsiveNumber = '16';\n /**\n * @type Number\n * @responsive\n */\n @Prop({\n mutable: true,\n reflect: false,\n })\n height: ResponsiveNumber = '9';\n\n /**\n * @type String\n * @responsive\n */\n @Prop({\n mutable: true,\n reflect: false,\n })\n aspectRatio: ResponsiveString;\n /**\n * @type Select\n * @options image\n * @options video\n */\n @Prop() type?: 'image' | 'video' = 'image';\n\n /**\n * @type Select\n * @options video/mp4\n */\n @Prop() videoType?: string = 'video/mp4';\n\n /**\n * If true, the content in the mediaContent slot will be visible.\n * @type Boolean\n * @responsive\n */\n @Prop({\n mutable: true,\n reflect: true,\n })\n showContent: ResponsiveBoolean = 'false|true';\n\n @State() lazyLoadIsComplete: boolean = false;\n @State() showVideoAsGif: boolean = false;\n @State() activeLazyLoadClass = '';\n @State() classString = '';\n @State() inlineStyle?: { [key: string]: string } = {};\n @State() hasMediaContent: boolean = false;\n @State() pictureImageSrc: string;\n preloadImage(src) {\n return new Promise(r => {\n const image = new Image();\n image.onload = r;\n image.onerror = r;\n image.src = src;\n });\n }\n\n componentWillLoad() {\n this.hasMediaContent = !!this.hostElement.querySelector('[slot=\"mediaContent\"]');\n WindowResizeService.registerProp(this.aspectRatio).subscribe(newValue => {\n this.inlineStyle = { ...this.inlineStyle, '--aspect-ratio': `${newValue}` };\n });\n WindowResizeService.registerProp(this.alt).subscribe(newValue => {\n this.alt = newValue as string;\n });\n WindowResizeService.registerProp(this.height).subscribe(newValue => {\n this.height = newValue as string;\n });\n WindowResizeService.registerProp(this.showContent).subscribe(newValue => {\n this.showContent = newValue as string;\n });\n WindowResizeService.registerProp(this.classes).subscribe(newValue => {\n this.classString = `${newValue}`;\n });\n }\n\n componentDidLoad() {\n let observer = new IntersectionObserver(\n entries => {\n entries.forEach(async entry => {\n if (entry.isIntersecting) {\n this.lazyLoadIsComplete = true;\n this.pictureImageSrc = getCurrentValue(this.src);\n this.showVideoAsGif = this.pictureImageSrc.indexOf('.mp4') >= 0 || getCurrentValue(this.type) === 'video';\n }\n });\n },\n {\n root: null,\n rootMargin: `${Math.max(100, window.innerHeight * 1)}px`,\n // rootMargin: `0px`,\n threshold: 0,\n },\n );\n observer.observe(this.hostElement);\n }\n\n @Watch('lazyLoadIsComplete')\n watchLazyLoadIsComplete(newValue: boolean) {\n if (newValue === true) {\n this.activeLazyLoadClass = 'content-image-loaded';\n } else {\n if (!this.lazyLoad) {\n this.activeLazyLoadClass = 'content-image-no-lazyload';\n } else {\n this.activeLazyLoadClass = 'content-image-loading';\n }\n }\n }\n\n render() {\n return (\n <Host class={`${this.activeLazyLoadClass} ${this.classString}`} style={this.inlineStyle} content={this.showContent}>\n {this.hasMediaContent && (\n <div class=\"content-image__media-content\">\n <slot name=\"mediaContent\"></slot>\n </div>\n )}\n {this.showVideoAsGif && (\n <video autoplay muted loop preload=\"none\" playsinline width={this.width} height={this.height}>\n <source src={this.lazyLoadIsComplete ? this.pictureImageSrc : null} type={this.videoType} />\n </video>\n )}\n {this.pictureImageSrc && !this.showVideoAsGif && <img width={this.width} height={this.height} src={this.pictureImageSrc} alt={this.alt} />}\n </Host>\n );\n }\n}\n","content-line {\n --text-align: default;\n --inner-max-width: 100%;\n\n display: block;\n text-align: var(--text-align);\n word-break: break-word;\n white-space: normal;\n \n .content-line__inner {\n display: inline-block;\n width: auto;\n max-width: var(--max-width);\n }\n}","import { Component, Prop, h, State, Host } from '@stencil/core';\nimport { WindowResizeService } from '../../services/window-resize-service';\nimport { ResponsiveNumber, ResponsiveString } from '../../typings';\nexport type ContentLineTagOptions = 'div' | 'p' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'span' | 'section' | 'article';\nexport type ContentLineTextAlignOptions = 'default' | 'left' | 'center' | 'right';\n/**\n * @slot content - Inner contents of the line, usually plaintext.\n * @slot - Default slot, same as content slot.\n */\n@Component({\n tag: 'content-line',\n styleUrl: 'content-line.scss',\n shadow: false,\n})\nexport class ContentLine {\n /**\n * The element tag to use.\n * @type Select\n * @options div\n * @options p\n * @options h1\n * @options h2\n * @options h3\n * @options h4\n * @options h5\n * @options h6\n * @options span\n * @options section\n * @options article\n */\n @Prop() tag: ContentLineTagOptions = 'div';\n\n /**\n * Pipe separated list of ContentLineTextAlignOptions for text alignment.\n * @type Select\n * @options default\n * @options left\n * @options center\n * @options right\n * @responsive\n */\n @Prop() textAlign: ContentLineTextAlignOptions = 'default';\n\n /**\n * The font class for the line.\n * @type String\n * @responsive\n */\n @Prop() classes;\n @State() classString;\n\n /**\n * Pipe separated list of max width numbers. You can also use units such as \"px\" and \"vw\". If no unit is provided, defaults to percentage.\n * @type String\n * @responsive\n */\n @Prop() maxWidth: ResponsiveNumber = '100%';\n @State() inlineStyle: { [key: string]: string } = {};\n\n componentWillLoad() {\n WindowResizeService.registerProp(this.textAlign).subscribe(newValue => {\n this.inlineStyle = {\n ...this.inlineStyle,\n '--text-align': newValue as ContentLineTextAlignOptions,\n };\n });\n WindowResizeService.registerProp(this.maxWidth).subscribe((newValue: string | number) => {\n this.inlineStyle = {\n ...this.inlineStyle,\n '--max-width': isNaN(newValue as number) ? (newValue as string) : newValue + '%',\n };\n });\n WindowResizeService.registerProp(this.classes).subscribe(newValue => {\n this.classString = newValue as string;\n });\n }\n\n render() {\n // The capital case in this JSX variable is important\n const ElementTagParsed = `${this.tag}`;\n return (\n <Host class={this.classString} style={this.inlineStyle}>\n <ElementTagParsed class=\"content-line__inner\">\n <slot name=\"content\"></slot>\n <slot></slot>\n </ElementTagParsed>\n </Host>\n );\n }\n}","/**\n * @namespace aria\n */\n\nvar aria = aria || {};\naria.Utils = aria.Utils || {};\n\n// Polyfill src https://developer.mozilla.org/en-US/docs/Web/API/Element/matches\naria.Utils.matches = function (element, selector) {\n return element.matches(selector);\n};\n\naria.Utils.remove = function (item) {\n if (item.remove && typeof item.remove === 'function') {\n return item.remove();\n }\n if (item.parentNode &&\n item.parentNode.removeChild &&\n typeof item.parentNode.removeChild === 'function') {\n return item.parentNode.removeChild(item);\n }\n return false;\n};\n\naria.Utils.isFocusable = function (element) {\n if (element.tabIndex > 0 || (element.tabIndex === 0 && element.getAttribute('tabIndex') !== null)) {\n return true;\n }\n\n if (element.disabled) {\n return false;\n }\n\n switch (element.nodeName) {\n case 'A':\n return !!element.href && element.rel != 'ignore';\n case 'INPUT':\n return element.type != 'hidden' && element.type != 'file';\n case 'BUTTON':\n case 'SELECT':\n case 'TEXTAREA':\n return true;\n default:\n return false;\n }\n};\n\naria.Utils.getAncestorBySelector = function (element, selector) {\n if (!aria.Utils.matches(element, selector + ' ' + element.tagName)) {\n // Element is not inside an element that matches selector\n return null;\n }\n\n // Move up the DOM tree until a parent matching the selector is found\n var currentNode = element;\n var ancestor = null;\n while (ancestor === null) {\n if (aria.Utils.matches(currentNode.parentNode, selector)) {\n ancestor = currentNode.parentNode;\n }\n else {\n currentNode = currentNode.parentNode;\n }\n }\n\n return ancestor;\n};\n\naria.Utils.hasClass = function (element, className) {\n return (new RegExp('(\\\\s|^)' + className + '(\\\\s|$)')).test(element.className);\n};\n\naria.Utils.addClass = function (element, className) {\n if (!aria.Utils.hasClass(element, className)) {\n element.className += ' ' + className;\n }\n};\n\naria.Utils.removeClass = function (element, className) {\n var classRegex = new RegExp('(\\\\s|^)' + className + '(\\\\s|$)');\n element.className = element.className.replace(classRegex, ' ').trim();\n};\n\naria.Utils.bindMethods = function (object) {\n var methodNames = Array.prototype.slice.call(arguments, 1);\n methodNames.forEach(function (method) {\n object[method] = object[method].bind(object);\n });\n};\n\nwindow.aria = aria;","/*\n* This content is licensed according to the W3C Software License at\n* https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document\n*/\n/**\n * @namespace aria\n */\n\n var aria = aria || {};\n aria.Utils = aria.Utils || {};\n \n // Polyfill src https://developer.mozilla.org/en-US/docs/Web/API/Element/matches\n aria.Utils.matches = function (element, selector) {\n return element.matches(selector);\n };\n \n aria.Utils.remove = function (item) {\n if (item.remove && typeof item.remove === 'function') {\n return item.remove();\n }\n if (item.parentNode &&\n item.parentNode.removeChild &&\n typeof item.parentNode.removeChild === 'function') {\n return item.parentNode.removeChild(item);\n }\n return false;\n };\n \n aria.Utils.isFocusable = function (element) {\n if (element.tabIndex > 0 || (element.tabIndex === 0 && element.getAttribute('tabIndex') !== null)) {\n return true;\n }\n \n if (element.disabled) {\n return false;\n }\n \n switch (element.nodeName) {\n case 'A':\n return !!element.href && element.rel != 'ignore';\n case 'INPUT':\n return element.type != 'hidden' && element.type != 'file';\n case 'BUTTON':\n case 'SELECT':\n case 'TEXTAREA':\n return true;\n default:\n return false;\n }\n };\n \n aria.Utils.getAncestorBySelector = function (element, selector) {\n if (!aria.Utils.matches(element, selector + ' ' + element.tagName)) {\n // Element is not inside an element that matches selector\n return null;\n }\n \n // Move up the DOM tree until a parent matching the selector is found\n var currentNode = element;\n var ancestor = null;\n while (ancestor === null) {\n if (aria.Utils.matches(currentNode.parentNode, selector)) {\n ancestor = currentNode.parentNode;\n }\n else {\n currentNode = currentNode.parentNode;\n }\n }\n \n return ancestor;\n };\n \n aria.Utils.hasClass = function (element, className) {\n return (new RegExp('(\\\\s|^)' + className + '(\\\\s|$)')).test(element.className);\n };\n \n aria.Utils.addClass = function (element, className) {\n if (!aria.Utils.hasClass(element, className)) {\n element.className += ' ' + className;\n }\n };\n \n aria.Utils.removeClass = function (element, className) {\n var classRegex = new RegExp('(\\\\s|^)' + className + '(\\\\s|$)');\n element.className = element.className.replace(classRegex, ' ').trim();\n };\n \n aria.Utils.bindMethods = function (object) {\n var methodNames = Array.prototype.slice.call(arguments, 1);\n methodNames.forEach(function (method) {\n object[method] = object[method].bind(object);\n });\n };\n \n \n /*\n * When util functions move focus around, set this true so the focus listener\n * can ignore the events.\n */\naria.Utils.IgnoreUtilFocusChanges = false;\n\naria.Utils.dialogOpenClass = 'has-dialog';\n\n/**\n * @desc Set focus on descendant nodes until the first focusable element is\n * found.\n * @param element\n * DOM node for which to find the first focusable descendant.\n * @returns\n * true if a focusable element is found and focus is set.\n */\naria.Utils.focusFirstDescendant = function (element) {\n for (var i = 0; i < element.childNodes.length; i++) {\n var child = element.childNodes[i];\n if (aria.Utils.attemptFocus(child) ||\n aria.Utils.focusFirstDescendant(child)) {\n return true;\n }\n }\n return false;\n}; // end focusFirstDescendant\n\n/**\n * @desc Find the last descendant node that is focusable.\n * @param element\n * DOM node for which to find the last focusable descendant.\n * @returns\n * true if a focusable element is found and focus is set.\n */\naria.Utils.focusLastDescendant = function (element) {\n for (var i = element.childNodes.length - 1; i >= 0; i--) {\n var child = element.childNodes[i];\n if (aria.Utils.attemptFocus(child) ||\n aria.Utils.focusLastDescendant(child)) {\n return true;\n }\n }\n return false;\n}; // end focusLastDescendant\n\n/**\n * @desc Set Attempt to set focus on the current node.\n * @param element\n * The node to attempt to focus on.\n * @returns\n * true if element is focused.\n */\naria.Utils.attemptFocus = function (element) {\n if (!aria.Utils.isFocusable(element)) {\n return false;\n }\n \n aria.Utils.IgnoreUtilFocusChanges = true;\n try {\n element.focus();\n }\n catch (e) {\n }\n aria.Utils.IgnoreUtilFocusChanges = false;\n return (document.activeElement === element);\n}; // end attemptFocus\n\n/* Modals can open modals. Keep track of them with this array. */\naria.OpenDialogList = aria.OpenDialogList || new Array(0);\n\n/**\n * @returns the last opened dialog (the current dialog)\n */\naria.getCurrentDialog = function () {\n if (aria.OpenDialogList && aria.OpenDialogList.length) {\n return aria.OpenDialogList[aria.OpenDialogList.length - 1];\n }\n};\n\naria.closeCurrentDialog = function () {\n var currentDialog = aria.getCurrentDialog();\n if (currentDialog) {\n currentDialog.close();\n return true;\n }\n \n return false;\n};\n\n aria.handleEscape = function (event) {\n if (event.key === 'Escape' && aria.closeCurrentDialog()) {\n event.stopPropagation();\n }\n };\n\n document.addEventListener('keyup', aria.handleEscape);\n\n /**\n * @constructor\n * @desc Dialog object providing modal focus management.\n *\n * Assumptions: The element serving as the dialog container is present in the\n * DOM and hidden. The dialog container has role='dialog'.\n *\n * @param dialogNode\n * The element serving as the dialog container.\n * @param focusAfterClosed\n * Either the DOM node or the ID of the DOM node to focus when the\n * dialog closes.\n * @param focusFirst\n * Optional parameter containing either the DOM node or the ID of the\n * DOM node to focus when the dialog opens. If not specified, the\n * first focusable element in the dialog will receive focus.\n */\n aria.Dialog = function (dialogNode, focusAfterClosed, focusFirst, isFullScreen) {\n this.dialogNode = dialogNode;\n if (this.dialogNode === null) {\n throw new Error('No element found');\n }\n\n var validRoles = ['dialog', 'alertdialog'];\n var isDialog = (this.dialogNode.getAttribute('role') || '')\n .trim()\n .split(/\\s+/g)\n .some(function (token) {\n return validRoles.some(function (role) {\n return token === role;\n });\n });\n if (!isDialog) {\n throw new Error(\n 'Dialog() requires a DOM element with ARIA role of dialog or alertdialog.');\n }\n\n // Wrap in an individual backdrop element if one doesn't exist\n // Native <dialog> elements use the ::backdrop pseudo-element, which\n // works similarly.\n var backdropClass = 'content-overlay-background';\n if (this.dialogNode.parentNode.classList.contains(backdropClass)) {\n this.backdropNode = this.dialogNode.parentNode;\n }\n else {\n this.backdropNode = document.createElement('div');\n this.backdropNode.className = backdropClass;\n this.dialogNode.parentNode.insertBefore(this.backdropNode, this.dialogNode);\n this.backdropNode.appendChild(this.dialogNode);\n }\n this.backdropNode.classList.add('active');\n setTimeout(() => {\n this.backdropNode.classList.add('transition');\n }, 1);\n\n // Disable scroll on the body element\n this.isFullscreen = isFullScreen;\n if (isFullScreen) {\n document.body.classList.add(aria.Utils.dialogOpenClass);\n }\n\n if (typeof focusAfterClosed === 'string') {\n this.focusAfterClosed = document.getElementById(focusAfterClosed);\n }\n else if (typeof focusAfterClosed === 'object') {\n this.focusAfterClosed = focusAfterClosed;\n }\n else {\n throw new Error(\n 'the focusAfterClosed parameter is required for the aria.Dialog constructor.');\n }\n\n if (typeof focusFirst === 'string') {\n this.focusFirst = document.getElementById(focusFirst);\n }\n else if (typeof focusFirst === 'object') {\n this.focusFirst = focusFirst;\n }\n else {\n this.focusFirst = null;\n }\n\n // Bracket the dialog node with two invisible, focusable nodes.\n // While this dialog is open, we use these to make sure that focus never\n // leaves the document even if dialogNode is the first or last node.\n var preDiv = document.createElement('div');\n this.preNode = this.dialogNode.parentNode.insertBefore(preDiv,\n this.dialogNode);\n this.preNode.tabIndex = 0;\n var postDiv = document.createElement('div');\n this.postNode = this.dialogNode.parentNode.insertBefore(postDiv,\n this.dialogNode.nextSibling);\n this.postNode.tabIndex = 0;\n\n // If this modal is opening on top of one that is already open,\n // get rid of the document focus listener of the open dialog.\n if (aria.OpenDialogList.length > 0) {\n aria.getCurrentDialog().removeListeners();\n }\n\n if (isFullScreen) {\n this.addListeners();\n }\n aria.OpenDialogList.push(this);\n this.dialogNode.className = 'content-overlay-dialog'; // make visible\n\n if (this.focusFirst) {\n this.focusFirst.focus();\n }\n else {\n aria.Utils.focusFirstDescendant(this.dialogNode);\n }\n\n this.lastFocus = document.activeElement;\n }; // end Dialog constructor\n\n\n /**\n * @desc\n * Hides the current top dialog,\n * removes listeners of the top dialog,\n * restore listeners of a parent dialog if one was open under the one that just closed,\n * and sets focus on the element specified for focusAfterClosed.\n */\n aria.Dialog.prototype.close = function () {\n aria.OpenDialogList.pop();\n this.removeListeners();\n aria.Utils.remove(this.preNode);\n aria.Utils.remove(this.postNode);\n this.dialogNode.className = 'hidden';\n this.backdropNode.classList.remove('active');\n this.backdropNode.classList.remove('transition');\n this.focusAfterClosed.focus();\n\n // If a dialog was open underneath this one, restore its listeners.\n if (aria.OpenDialogList.length > 0 && aria.OpenDialogList.filter(dialog => dialog.isFullscreen === true).length) {\n aria.getCurrentDialog().addListeners();\n }\n else {\n document.body.classList.remove(aria.Utils.dialogOpenClass);\n }\n this.dialogNode.dispatchEvent(new CustomEvent(\"ariaDialog.closed\", {\n bubbles: true,\n \"detail\": {}\n }));\n }; // end close\n\n /**\n * @desc\n * Hides the current dialog and replaces it with another.\n *\n * @param newDialogId\n * ID of the dialog that will replace the currently open top dialog.\n * @param newFocusAfterClosed\n * Optional ID or DOM node specifying where to place focus when the new dialog closes.\n * If not specified, focus will be placed on the element specified by the dialog being replaced.\n * @param newFocusFirst\n * Optional ID or DOM node specifying where to place focus in the new dialog when it opens.\n * If not specified, the first focusable element will receive focus.\n */\n aria.Dialog.prototype.replace = function (newDialogId, newFocusAfterClosed,\n newFocusFirst) {\n // var closedDialog = aria.getCurrentDialog();\n aria.OpenDialogList.pop();\n this.removeListeners();\n aria.Utils.remove(this.preNode);\n aria.Utils.remove(this.postNode);\n this.dialogNode.className = 'hidden';\n this.backdropNode.classList.remove('active');\n this.backdropNode.classList.remove('transition');\n\n var focusAfterClosed = newFocusAfterClosed || this.focusAfterClosed;\n new aria.Dialog(newDialogId, focusAfterClosed, newFocusFirst);\n // var dialog = new aria.Dialog(newDialogId, focusAfterClosed, newFocusFirst);\n }; // end replace\n\n aria.Dialog.prototype.addListeners = function () {\n document.addEventListener('focus', this.trapFocus, true);\n }; // end addListeners\n\n aria.Dialog.prototype.removeListeners = function () {\n document.removeEventListener('focus', this.trapFocus, true);\n }; // end removeListeners\n\n aria.Dialog.prototype.trapFocus = function (event) {\n if (aria.Utils.IgnoreUtilFocusChanges) {\n return;\n }\n var currentDialog = aria.getCurrentDialog();\n if (currentDialog.dialogNode.contains(event.target)) {\n currentDialog.lastFocus = event.target;\n }\n else {\n aria.Utils.focusFirstDescendant(currentDialog.dialogNode);\n if (currentDialog.lastFocus == document.activeElement) {\n aria.Utils.focusLastDescendant(currentDialog.dialogNode);\n }\n currentDialog.lastFocus = document.activeElement;\n }\n }; // end trapFocus\n\n aria.closeDialog = function (closeButton) {\n var topDialog = aria.getCurrentDialog();\n if (topDialog.dialogNode.contains(closeButton)) {\n topDialog.close();\n }\n }; // end closeDialog\n\n aria.replaceDialog = function (newDialogId, newFocusAfterClosed,\n newFocusFirst) {\n var topDialog = aria.getCurrentDialog();\n if (topDialog.dialogNode.contains(document.activeElement)) {\n topDialog.replace(newDialogId, newFocusAfterClosed, newFocusFirst);\n }\n }; // end replaceDialog\n\n window.aria = aria;",".content-block-overlay-container {\n position: relative;\n display: block;\n height: 100%;\n}\ncontent-overlay {\n display: none;\n position: relative;\n flex: 0;\n .content-overlay__content>*[slot=\"content\"] {\n height: 100%;\n overflow: auto;\n }\n &.content-overlay-active {\n display: block;\n }\n &[vertical=\"left\"] {\n align-items: flex-start;\n }\n &[vertical=\"center\"] {\n align-items: center;\n }\n &[vertical=\"right\"] {\n align-items: flex-end;\n }\n \n &[vertical=\"top\"] {\n justify-content: flex-start;\n }\n &[vertical=\"center\"] {\n justify-content: center;\n }\n &[vertical=\"bottom\"] {\n justify-content: flex-end;\n }\n\n .content-overlay-background {\n background: rgba(255,255,255, .8);\n bottom: 0;\n display: none;\n top: 0;\n z-index: 100000;\n right: 0;\n left: 0;\n &.active {\n display: block;\n }\n }\n .content-overlay__header {\n display: flex;\n align-items: center;\n }\n .content-overlay__close {\n order: 2;\n margin-left: auto;\n cursor: pointer;\n z-index: 1;\n appearance: none;\n background: none;\n border: none;\n min-width: 16px;\n // &:after {\n // content: \"\\00d7\";\n // font-size: 2.5rem;\n // }\n }\n\n &[position=\"fixed\"] {\n .content-overlay-background {\n position: fixed;\n }\n }\n\n &[position=\"absolute\"] {\n position: absolute;\n box-sizing: border-box;\n z-index: 100000;\n height: 100%;\n width: 100%;\n left: 0;\n .content-overlay-background {\n position: static;\n }\n }\n\n &[position=\"absolute\"],\n &[position=\"fixed\"] {\n .content-overlay__content {\n flex: 1;\n overflow: hidden;\n }\n }\n\n [role=\"dialog\"] {\n display: flex;\n flex-direction: column;\n height: 100%;\n justify-content: flex-start;\n &.hidden {\n display: none;\n }\n }\n &[full-screen=\"true\"] {\n height: 100%;\n .content-overlay-background { \n height: 100%;\n }\n }\n}\n\n/* this is added to the body when a dialog is open */\nbody.has-dialog {\n overflow: hidden;\n}\n// .content-overlay--no-fullscreen {\n// position: relative;\n// .content-overlay-background {\n// position: static;\n// }\n// [role=\"dialog\"] {\n// top: 0;\n// bottom: 0;\n// left: 0;\n// right: 0;\n// position: absolute;\n// width: 100%;\n// height: 100%;\n// transform: none;\n// }\n// }\n","import { Component, Host, h, Prop, State, Listen, Element } from '@stencil/core';\nimport { Event, EventEmitter, HTMLStencilElement, Method } from '@stencil/core/internal';\nimport { WindowResizeService } from '../../services/window-resize-service';\nimport { ContentLineTextAlignOptions, ContentVerticalAlignments, ResponsiveBoolean, ResponsiveString } from '../../typings';\nimport * as focusTrap from 'focus-trap';\nimport './libraries/aria-utilities';\nimport './libraries/aria-dialog';\n/**\n * @slot closeButton - Contents of the overlay close button.\n * @slot header - This is adjacent to the close button, usually a header or title for the overlay.\n * @slot content - Contents that sit inside the overlay.\n */\n@Component({\n tag: 'content-overlay',\n styleUrl: 'content-overlay.scss',\n shadow: false,\n})\nexport class ContentOverlay {\n @Element() hostElement: HTMLStencilElement;\n /**\n * @type String\n * @responsive\n */\n @Prop() target: string;\n\n /**\n * @type Boolean\n * @responsive\n */\n @Prop({\n mutable: true,\n reflect: true,\n })\n open: ResponsiveBoolean = 'false';\n /**\n * @type Boolean\n * @responsive\n */\n @Prop({\n mutable: true,\n reflect: true,\n })\n fullScreen: ResponsiveBoolean = 'true';\n /**\n * @type String\n * @responsive\n */\n @Prop() classes: ResponsiveString;\n /**\n * A pipe delimited setting for horizontal alignment. This only applies when fullscreen mode is activated.\n * @type Select\n * @options default\n * @options left\n * @options center\n * @options right\n * @responsive\n */\n @Prop({\n reflect: true,\n mutable: true,\n })\n horizontal: ContentLineTextAlignOptions = 'center';\n /**\n * A pipe delimited setting for vertical alignment. This only applies when fullscreen mode is activated.\n * @type Select\n * @options top\n * @options center\n * @options bottom\n */\n @Prop({\n reflect: true,\n mutable: true,\n })\n vertical: ContentVerticalAlignments = 'center';\n\n /**\n * Title attribute value for the close button.\n * @type String\n */\n @Prop() closeTitle: string = 'Close Overlay';\n /**\n * Position of the overlay.\n * @type Select\n * @options absolute\n * @options fixed\n * @options static\n * @options sticky\n */\n @Prop({\n reflect: true,\n mutable: true,\n })\n position: ResponsiveString = 'fixed';\n @State() isActive: boolean = false;\n @State() activeClass: string = '';\n @State() classString: string = '';\n @Event({\n bubbles: true,\n })\n contentOverlayActivated: EventEmitter<HTMLElement>;\n\n @State() contentSlot: HTMLElement;\n\n dialogElement: HTMLDivElement;\n contentElement: HTMLDivElement;\n\n @State() isFullScreen: boolean = false;\n @State() hasCloseButton: boolean = false;\n @State() originalMarkup: string;\n ariaDialog;\n focusTrap;\n @Listen('contentBlockActivated')\n onContentBlockActivated(event: CustomEvent) {\n if (this.hostElement.getAttribute('id') === event.detail.getAttribute('id')) {\n console.log('activate');\n event.preventDefault();\n if (!this.isActive) {\n this.openOverlay();\n } else {\n this.closeOverlay();\n }\n }\n }\n\n @Method()\n async openOverlay() {\n this.isActive = true;\n if (!this.originalMarkup) {\n this.originalMarkup = this.contentSlot.innerHTML;\n }\n if (this.target) {\n let targetElement = document.querySelector(this.target);\n if (targetElement) {\n targetElement.classList.add('content-block-overlay-container');\n targetElement.appendChild(this.hostElement);\n }\n // } else if (this.isFullScreen) {\n // if (document.querySelectorAll(`#${this.hostElement.getAttribute('id')}`).length === 1) {\n // document.body.appendChild(this.hostElement);\n // }\n }\n\n if (this.originalMarkup) {\n this.contentSlot.innerHTML = this.originalMarkup;\n if (this.contentSlot.children[0] === this.contentSlot.querySelector('script[slot=\"content\"][type=\"text/template\"]')) {\n this.contentSlot.innerHTML = this.contentSlot.children[0].innerHTML;\n }\n this.setComputedActiveClass();\n this.focusTrap = focusTrap.createFocusTrap(this.hostElement, {\n fallbackFocus: this.hostElement,\n allowOutsideClick: true,\n clickOutsideDeactivates: true,\n onDeactivate: () => {\n this.isActive = false;\n this.setComputedActiveClass();\n },\n });\n }\n this.contentOverlayActivated.emit(this.hostElement);\n }\n\n @Method()\n async closeOverlay() {\n this.contentSlot.innerHTML = '';\n this.isActive = false;\n this.activeClass = '';\n if (this.focusTrap) {\n try {\n this.focusTrap.deactivate();\n } catch (e) {\n console.log(e);\n }\n }\n }\n\n setComputedActiveClass() {\n this.activeClass = `content-overlay ${this.isActive ? 'content-overlay-active' : 'content-overlay-inactive'} content-overlay--${this.position}`;\n }\n\n componentWillLoad() {\n WindowResizeService.registerProp(this.classes).subscribe(newValue => (this.classString = `${newValue}`));\n WindowResizeService.registerProp(this.position).subscribe(newValue => (this.position = newValue as string));\n WindowResizeService.registerProp(this.horizontal).subscribe(newValue => this.hostElement.setAttribute('horizontal', newValue as ContentLineTextAlignOptions));\n WindowResizeService.registerProp(this.vertical).subscribe(newValue => this.hostElement.setAttribute('vertical', newValue as ContentVerticalAlignments));\n WindowResizeService.registerProp(this.fullScreen).subscribe(newValue => {\n this.fullScreen = newValue as string;\n this.isFullScreen = (newValue as string) === 'true';\n });\n WindowResizeService.registerProp(this.open).subscribe(newValue => {\n this.hostElement.setAttribute('open', newValue as string);\n });\n this.hasCloseButton = !!this.hostElement.querySelector('[slot=\"closeButton\"]');\n }\n\n closeOverlayButtonClicked(event) {\n event.preventDefault();\n this.closeOverlay();\n }\n\n render() {\n return (\n <Host class={`${this.activeClass} ${this.classString}`} position={this.position}>\n <div class=\"content-block-overlay-container\">\n <div class={`content-overlay-background ${this.isActive ? 'active' : ''}`}>\n <div ref={element => (this.dialogElement = element)} role=\"dialog\" aria-modal=\"true\" class={this.isActive ? 'active' : 'hidden'} aria-expanded={this.isActive}>\n <div class=\"content-overlay__header\">\n <button\n onClick={e => {\n this.closeOverlayButtonClicked(e);\n }}\n class=\"content-overlay__close\"\n title={this.closeTitle}\n >\n {!this.hasCloseButton && (\n <svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" stroke-width=\"1.5\" stroke=\"currentColor\">\n <path stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M6 18 18 6M6 6l12 12\" />\n </svg>\n )}\n <slot name=\"closeButton\"></slot>\n </button>\n <slot name=\"header\"></slot>\n </div>\n <div class=\"content-overlay__content\" ref={(el: HTMLDivElement) => (this.contentSlot = el)}>\n <slot name=\"content\"></slot>\n <slot></slot>\n </div>\n </div>\n </div>\n </div>\n </Host>\n );\n }\n\n componentDidRender() {\n if (this.open === 'true') {\n this.openOverlay();\n }\n if (this.isActive && this.focusTrap && !this.focusTrap.active) {\n try {\n this.focusTrap.activate();\n } catch (e) {\n console.log(e);\n }\n }\n }\n}\n","content-spacer {\n display: block;\n width: 100%;\n height: auto;\n &[full-height=\"true\"] {\n height: 100%;\n }\n &[text-align=\"left\"] {\n text-align: left;\n }\n &[text-align=\"center\"] {\n text-align: center;\n }\n &[text-align=\"right\"] {\n text-align: right;\n }\n &[horizontal=\"left\"] {\n margin-left: 0;\n margin-right: auto;\n }\n &[horizontal=\"center\"] {\n margin-left: auto;\n margin-right: auto;\n }\n &[horizontal=\"right\"] {\n margin-left: auto;\n margin-right: 0;\n }\n\n &[vertical=\"top\"] {\n display: flex;\n justify-content: flex-start;\n }\n &[vertical=\"center\"] {\n display: flex;\n justify-content: center;\n }\n &[vertical=\"bottom\"] {\n display: flex;\n justify-content: flex-end;\n }\n}","import { Component, h, Prop, State, Host } from '@stencil/core';\nimport { WindowResizeService } from '../../services/window-resize-service';\nimport { ContentLineTextAlignOptions, ContentVerticalAlignments, ResponsiveBoolean, ResponsiveNumber, ResponsiveString } from '../../typings';\n\n/**\n * @slot content - Inner contents of spacing wrapper, can be anything.\n * @slot - Default slot, same as content slot.\n */\n@Component({\n tag: 'content-spacer',\n styleUrls: ['content-spacer.scss'],\n shadow: false,\n})\nexport class ContentSpacingWrapper {\n /**\n * @type String\n * @responsive\n */\n @Prop() classes: ResponsiveString;\n @State() classString;\n /**\n * Pipe separated list of max width numbers. You can also use units such as \"px\" and \"vw\".\n * @type String\n * @responsive\n */\n @Prop() maxWidth: ResponsiveNumber = '100';\n\n /**\n * Pipe separated boolean values for full height. Typically, this is used if you have a hero block and you want a footer that aligns with the text layer. This is a niche case, but a valid one.\n * @type Boolean\n * @responsive\n */\n @Prop({\n reflect: true,\n mutable: true,\n })\n fullHeight: ResponsiveBoolean = 'false';\n\n /**\n * Pipe separated list of ContentLineTextAlignOptions for text alignment.\n * @type Select\n * @options default\n * @options left\n * @options center\n * @options right\n * @responsive\n */\n @Prop({\n reflect: true,\n mutable: true,\n })\n textAlign: ContentLineTextAlignOptions = 'default';\n\n /**\n * Pipe separated list of ContentLineTextAlignOptions for where to place text box when a max width is specified.\n * @type Select\n * @options default\n * @options left\n * @options center\n * @options right\n * @responsive\n */\n @Prop({\n reflect: true,\n mutable: true,\n })\n horizontal: ContentLineTextAlignOptions = 'default';\n\n /**\n * Pipe separated list of ContentVerticalAlignments for text box placement.\n * @type Select\n * @options top\n * @options center\n * @options bottom\n * @options default\n * @responsive\n */\n @Prop({\n mutable: true,\n reflect: true,\n })\n vertical: ResponsiveString | ContentVerticalAlignments = '';\n\n /**\n * Pipe separated numbers between 0 and 100. Units without values are assumed to be %.\n * @type Number\n * @string\n * @responsive\n */\n @Prop() topOffset: ResponsiveNumber = '0';\n\n /**\n * Pipe separated numbers between 0 and 100. Units without values are assumed to be %.\n * @type Number\n * @string\n * @responsive\n */\n @Prop() bottomOffset: ResponsiveNumber = '0';\n\n /**\n * Pipe separated numbers between 0 and 100. Units without values are assumed to be %.\n * @type Number\n * @string\n * @responsive\n */\n @Prop() leftOffset: ResponsiveNumber = '0';\n\n /**\n * Pipe separated numbers between 0 and 100. Units without values are assumed to be %.\n * @type Number\n * @string\n * @responsive\n */\n @Prop() rightOffset: ResponsiveNumber = '0';\n\n @State() inlineStyle?: { [key: string]: string } = {};\n\n componentWillLoad() {\n WindowResizeService.registerProp(this.fullHeight).subscribe(newValue => (this.fullHeight = newValue as string));\n WindowResizeService.registerProp(this.textAlign).subscribe(newValue => (this.textAlign = newValue as ContentLineTextAlignOptions));\n WindowResizeService.registerProp(this.horizontal).subscribe(newValue => (this.horizontal = newValue as ContentLineTextAlignOptions));\n WindowResizeService.registerProp(this.vertical).subscribe(newValue => (this.vertical = newValue as ContentVerticalAlignments));\n WindowResizeService.registerProp(this.maxWidth).subscribe(newValue => {\n this.inlineStyle = { ...this.inlineStyle, 'max-width': isNaN(newValue as any) ? (newValue as string) : newValue + '%' };\n });\n WindowResizeService.registerProp(this.topOffset).subscribe(newValue => {\n this.inlineStyle = { ...this.inlineStyle, 'padding-top': isNaN(newValue as any) ? (newValue as string) : newValue + '%' };\n });\n WindowResizeService.registerProp(this.bottomOffset).subscribe(newValue => {\n this.inlineStyle = { ...this.inlineStyle, 'padding-bottom': isNaN(newValue as any) ? (newValue as string) : newValue + '%' };\n });\n WindowResizeService.registerProp(this.leftOffset).subscribe(newValue => {\n this.inlineStyle = { ...this.inlineStyle, 'padding-left': isNaN(newValue as any) ? (newValue as string) : newValue + '%' };\n });\n WindowResizeService.registerProp(this.rightOffset).subscribe(newValue => {\n this.inlineStyle = { ...this.inlineStyle, 'padding-right': isNaN(newValue as any) ? (newValue as string) : newValue + '%' };\n });\n WindowResizeService.registerProp(this.classes).subscribe(newValue => (this.classString = newValue as string));\n }\n\n render() {\n return (\n <Host class={this.classString} style={this.inlineStyle}>\n <div class=\"content-spacer__content\">\n <slot name=\"content\"></slot>\n <slot></slot>\n </div>\n </Host>\n );\n }\n}\n","content-text-block {\n display: block;\n width: 100%;\n // height: 100%; // for content-block-tout mediaContent button positioning\n text-align: initial;\n // content-hero-block &,\n // content-grid-formatter & {\n // height: auto;\n // &[vertical=\"bottom\"],\n // &[vertical=\"center\"] {\n // height: 100%;\n // }\n // }\n \n &[full-height=\"true\"] {\n height: 100%;\n }\n > *[slot=\"footer\"] {\n margin-top: auto;\n margin-bottom: 0;\n width: 100%;\n padding-top: 1rem;\n height: auto;\n // @media #{$tablet-landscape-up} {\n // margin-top: auto;\n // margin-bottom: 0;\n // width: 100%;\n // }\n }\n &[vertical=\"bottom\"] > [slot=\"footer\"] {\n position: static;\n height: auto;\n }\n &[vertical] {\n display: flex;\n flex-direction: column;\n }\n\n &[vertical=\"top\"] {\n justify-content: flex-start;\n }\n &[vertical=\"center\"] {\n justify-content: center;\n &[footer=\"true\"] {\n .content-text-block__content {\n margin-top: auto;\n margin-bottom: 0;\n }\n }\n }\n &[vertical=\"bottom\"] {\n justify-content: flex-end;\n &[footer=\"true\"] {\n .content-text-block__content {\n margin-top: auto;\n margin-bottom: 0;\n }\n > [slot=\"footer\"] {\n margin-top: 0;\n }\n }\n }\n\n &[text-align=\"left\"] {\n text-align: left;\n }\n &[text-align=\"center\"] {\n text-align: center;\n }\n &[text-align=\"right\"] {\n text-align: right;\n }\n}","import { Component, h, Host, Element, State } from '@stencil/core';\nimport { HTMLStencilElement, Prop } from '@stencil/core/internal';\nimport { WindowResizeService } from '../../services/window-resize-service';\nimport { ContentVerticalAlignments, ResponsiveString, ContentLineTextAlignOptions } from '../../typings';\nimport { objectToCssString } from '../../utils/utils';\n\n/**\n * @slot content - This slot will usually serve a text block.\n * @slot footer - This slot is placed below the content slot\n * @slot - Default slot, same as content slot\n */\n@Component({\n tag: 'content-text-block',\n styleUrl: 'content-text-block.scss',\n shadow: false,\n})\nexport class ContentTextBlock {\n /**\n * This is a pipe separated string representing the style class.\n * @type String\n * @responsive\n */\n @Prop() classes: ResponsiveString;\n @State() classString;\n\n /**\n * This is a pipe separated string representing the minimum height. Units without values default to pixels.\n * @type String\n * @responsive\n */\n @Prop({\n mutable: true,\n reflect: true,\n })\n minHeight: ResponsiveString;\n\n /**\n * Pipe separated list of ContentVerticalAlignments for text box placement.\n * @type Select\n * @options top\n * @options center\n * @options bottom\n * @responsive\n */\n @Prop({\n mutable: true,\n reflect: true,\n })\n vertical: ContentVerticalAlignments = 'top';\n\n /**\n * @type Boolean\n * @responsive\n */\n @Prop({\n mutable: true,\n reflect: true,\n })\n fullHeight: ResponsiveString = 'false';\n\n /**\n * Pipe separated list of ContentLineTextAlignOptions for text alignment.\n * @type Select\n * @options default\n * @options left\n * @options center\n * @options right\n * @responsive\n */\n @Prop({\n mutable: true,\n reflect: true,\n })\n textAlign: ContentLineTextAlignOptions = 'default';\n @Element() hostElement: HTMLStencilElement;\n @State() inlineStyle?: { [key: string]: string } = {};\n componentWillLoad() {\n if (!!this.hostElement.querySelector('[slot=\"footer\"]')) {\n this.hostElement.setAttribute('footer', 'true');\n }\n WindowResizeService.registerProp(this.minHeight).subscribe(newValue => {\n this.inlineStyle = { ...this.inlineStyle, 'min-height': isNaN(newValue as any) ? (newValue as string) : newValue + 'px' };\n });\n WindowResizeService.registerProp(this.textAlign).subscribe(newValue => this.hostElement.setAttribute('text-align', newValue as ContentLineTextAlignOptions));\n WindowResizeService.registerProp(this.vertical).subscribe(newValue => this.hostElement.setAttribute('vertical', newValue as ContentVerticalAlignments));\n WindowResizeService.registerProp(this.fullHeight).subscribe(newValue => {\n this.hostElement.setAttribute('full-height', newValue as string);\n });\n WindowResizeService.registerProp(this.classes).subscribe(newValue => (this.classString = newValue as string));\n }\n render() {\n return (\n <Host class={this.classString} style={this.inlineStyle}>\n <div class=\"content-text-block__content\">\n <slot name=\"content\"></slot>\n <slot></slot>\n </div>\n <slot name=\"footer\"></slot>\n </Host>\n );\n }\n}\n","content-tout-block {\n .content-tout-block__media {\n position: relative;\n }\n .content-tout-block__media-content {\n position: absolute;\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n overflow: hidden;\n [slot=\"mediaContent\"] {\n height: 100%;\n width: 100%;\n }\n }\n\n &[hover=\"true\"] {\n .content-tout-block__media-content {\n transition: opacity .3s;\n @media (hover: hover) {\n opacity: 0;\n &:hover {\n opacity: 1;\n }\n }\n }\n }\n}","import { Component, h, Host, Element } from '@stencil/core';\nimport { HTMLStencilElement, Prop, State } from '@stencil/core/internal';\nimport { WindowResizeService } from '../../services/window-resize-service';\nimport { ResponsiveBoolean, ResponsiveString } from '../../typings';\n\n/**\n * @slot media - This slot is usually a video or image component.\n * @slot mediaContent - This is a layer that floats the media layer and is revealed on hover.\n * @slot content - This slot will usually serve a text block.\n * @slot - Default slot, same as content slot.\n */\n@Component({\n tag: 'content-tout-block',\n styleUrl: 'content-tout-block.scss',\n shadow: false,\n})\nexport class ContentToutBlock {\n /**\n * If true, the media content will show only on hover\n * @type Boolean\n * @responsive\n */\n @Prop({\n mutable: true,\n reflect: true,\n })\n hover: ResponsiveBoolean = 'false|true';\n\n /**\n * @type String\n * @responsive\n */\n @Prop() classes: ResponsiveString;\n @State() classString;\n\n @Element() hostElement: HTMLStencilElement;\n hasMediaContent: boolean;\n\n @State() hasHoverContent: boolean = false;\n\n componentWillLoad() {\n this.hasMediaContent = !!this.hostElement.querySelector('[slot=\"mediaContent\"]');\n WindowResizeService.registerProp(this.hover).subscribe(newValue => (this.hover = newValue as string));\n WindowResizeService.registerProp(this.classes).subscribe(newValue => (this.classString = newValue as string));\n }\n\n render() {\n return (\n <Host hover={this.hover} class={this.classString}>\n <div class=\"content-tout-block__media\">\n <slot name=\"media\"></slot>\n {this.hasMediaContent && (\n <div class=\"content-tout-block__media-content\">\n <slot name=\"mediaContent\"></slot>\n </div>\n )}\n </div>\n <div class=\"content-tout-block__content\">\n <slot name=\"content\"></slot>\n <slot></slot>\n </div>\n </Host>\n );\n }\n}\n","@import \"'~video.js/dist/video-js.min.css\";\ncontent-video {\n display: block;\n width: 100%;\n position: relative;\n // &.hydrated {\n // height: 100%;\n // &.content-video--fit-container {\n // .video-js.vjs-fluid {\n // height: 100%;\n // padding: 0; // remove padding aspect ratio hack\n // }\n // }\n // }\n\n height: 100%;\n\n &.content-video--fit-container {\n .video-js.vjs-fluid {\n height: 100%;\n padding: 0; // remove padding aspect ratio hack\n }\n }\n \n &[fit-container='true'] {\n height: 100%;\n }\n\n .content-video__content {\n display: block;\n width: 100%;\n height: 100%;\n }\n\n .content-video__poster {\n position: relative;\n }\n .content-video__play {\n cursor: pointer;\n appearance: none;\n border: none;\n background: transparent;\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n z-index: 1;\n\n &:before {\n content: '\\25BA';\n font-size: 100px;\n }\n }\n\n .vjs-content-block-theme {\n &.video-js {\n width: 100%;\n height: 100%;\n\n video.vjs-tech {\n position: static;\n }\n }\n &.vjs-ended,\n &.vjs-waiting {\n .vjs-loading-spinner {\n display: none;\n }\n }\n &:hover,\n &:focus {\n &:not(:focus-visible) {\n // background: transparent;\n }\n .vjs-big-play-button {\n background-color: transparent;\n }\n }\n .vjs-big-play-button {\n position: absolute;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n border: none;\n background: transparent;\n .vjs-icon-placeholder {\n display: block;\n width: 100%;\n height: 100%;\n &:before {\n display: none;\n }\n }\n }\n }\n\n .vjs-poster {\n display: none;\n }\n}\n","import { Component, h, Host } from '@stencil/core';\nimport { Element, HTMLStencilElement, Prop, State } from '@stencil/core/internal';\nimport { WindowResizeService } from '../../services/window-resize-service';\nimport { ResponsiveString } from '../../typings';\nimport { getCurrentValue, getHydratedClassString } from '../../utils/utils';\nexport type SupportedVideoMethods = 'html5' | 'youtube';\n\n/**\n * @slot poster - Poster shown before video is played.\n * @slot playButton - Play button contents.\n * @slot no-js-message - Contents of no JS message.\n * @slot content - Adjacent to no-js message for video. Usually not needed.\n * @slot - Default slot, same as content slot.\n */\n@Component({\n tag: 'content-video',\n styleUrls: ['content-video.scss'],\n shadow: false,\n})\nexport class ContentVideo {\n public player: any;\n videoElement!: HTMLVideoElement;\n @Element() hostElement: HTMLStencilElement;\n /**\n * @type Select\n * @options youtube\n * @options html5\n */\n @Prop() method: SupportedVideoMethods = 'youtube';\n /**\n * If you're using this inside a content-overlay for example, you may want the video to play immediately on launch.\n * @type Boolean\n */\n @Prop() autoplay: boolean = false;\n /**\n * Supports YouTube and self hosted URLs.\n * @type String\n */\n @Prop() src: string = '';\n /**\n * @type Number\n */\n @Prop() width: number = 16;\n /**\n * @type Number\n */\n @Prop() height: number = 9;\n /**\n * @type String\n */\n @Prop() type: string = 'video/mp4';\n /**\n * @type String\n */\n @Prop() playButtonAriaLabel: string = 'Play';\n /**\n * @type String\n * @responsive\n */\n @Prop({\n mutable: true,\n reflect: true,\n })\n classes: ResponsiveString;\n @State() classString;\n /**\n * @type Boolean\n */\n @Prop() controls: boolean = true;\n /**\n * @type String\n */\n @Prop() preload: string = 'metadata';\n /**\n * Fit the container this video is placed in. When the video is used in an overlay or another place where the video will takeover the existing height, it is recommended to enable this option.\n * @responsive\n * @type String\n */\n @Prop({\n mutable: true,\n reflect: true,\n })\n fitContainer: ResponsiveString = 'false';\n @State() isLoaded: boolean = false;\n @State() hasPoster: boolean = false;\n @State() isPlayed: boolean = false;\n\n computedVideoConfig() {\n let videoConfig = {};\n videoConfig = {\n fill: getCurrentValue(this.fitContainer) === 'true',\n fluid: getCurrentValue(this.fitContainer) === 'false',\n autoplay: this.autoplay === true ? 'muted' : false,\n techOrder: ['youtube'],\n src: this.src,\n sources: [\n {\n type: 'video/youtube',\n src: this.src,\n },\n ],\n youtube: {\n showinfo: 0,\n rel: 0,\n modestbranding: 1,\n },\n };\n return videoConfig;\n }\n\n initVideo() {\n this.isLoaded = true;\n }\n\n componentWillLoad() {\n WindowResizeService.registerProp(this.classes).subscribe(newValue => (this.classString = newValue));\n }\n\n componentDidLoad() {\n let self = this;\n let options = {\n root: null,\n rootMargin: '0px',\n threshold: 0.1,\n };\n\n let observer = new IntersectionObserver(entries => {\n let videojs;\n entries.forEach(async entry => {\n if (entry.isIntersecting) {\n if (!videojs) {\n videojs = await import('video.js');\n await import('videojs-youtube/dist/Youtube.js');\n }\n this.hasPoster = !!this.hostElement.querySelector('[slot=\"poster\"]');\n if (this.videoElement && !this.player) {\n this.player = videojs.default(this.videoElement, this.computedVideoConfig(), function onPlayerReady() {\n self.initVideo();\n if (self.hasPoster || self.autoplay) {\n self.isPlayed = true;\n setTimeout(() => this.play(), 1);\n }\n });\n }\n }\n });\n }, options);\n observer.observe(this.hostElement);\n }\n\n onClickHandler(event: MouseEvent) {\n event.preventDefault();\n if (!this.isLoaded) {\n return false;\n }\n this.initVideo();\n this.isPlayed = true;\n this.player.play();\n if (this.method === 'html5') {\n this.videoElement.play();\n }\n }\n\n render() {\n let showPlayButton = !this.autoplay && ((this.hasPoster && !this.isPlayed) || !this.isPlayed);\n return (\n <Host class={this.classString}>\n {this.hasPoster && !this.isLoaded && (\n <div class=\"content-video__poster\">\n <slot name=\"poster\"></slot>\n </div>\n )}\n {showPlayButton && (\n <button class=\"content-video__play\" aria-label={this.playButtonAriaLabel} onClick={ev => this.onClickHandler(ev)}>\n <slot name=\"playButton\"></slot>\n </button>\n )}\n <div class=\"content-video__content\">\n {(!this.hasPoster || this.isLoaded) && (\n <video\n ref={element => (this.videoElement = element)}\n class=\"video-js vjs-content-block-theme\"\n controls={this.controls}\n preload={this.preload}\n width={this.width}\n height={this.height}\n crossorigin=\"anonymous\"\n data-setup={this.computedVideoConfig()}\n >\n <slot name=\"no-js-message\"></slot>\n <slot name=\"content\"></slot>\n <slot></slot>\n </video>\n )}\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
1
|
+
{"file":"content-accordion.content-button.content-grid-formatter.content-hero-block.content-image.content-line.content-overlay.content-spacer.content-text-block.content-tout-block.content-video.entry.cjs.js","mappings":";;;;;;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AAM,IAAI,EAAC,SAAS,GAAQ,EAC5BA,qBAAa,CACP,CACT,CACG,CACD,EACP;KACH;;;;;;;;;;;;;;;;;","names":["WindowResizeService","h","Host","getCurrentValue","aria","focusTrap.createFocusTrap"],"sources":["src/components/content-accordion/content-accordion.scss?tag=content-accordion","src/components/content-accordion/content-accordion.tsx","src/elements/content-button/content-button.scss?tag=content-button","src/elements/content-button/content-button.tsx","src/formatters/content-grid-formatter/content-grid-formatter.scss?tag=content-grid-formatter","src/formatters/content-grid-formatter/content-grid-formatter.tsx","src/blocks/content-hero-block/content-hero-block.scss?tag=content-hero-block","src/blocks/content-hero-block/content-hero-block.tsx","src/elements/content-image/content-image.scss?tag=content-image","src/elements/content-image/content-image.tsx","src/elements/content-line/content-line.scss?tag=content-line","src/elements/content-line/content-line.tsx","src/components/content-overlay/libraries/aria-utilities.ts","src/components/content-overlay/libraries/aria-dialog.ts","src/components/content-overlay/content-overlay.scss?tag=content-overlay","src/components/content-overlay/content-overlay.tsx","src/formatters/content-spacer/content-spacer.scss?tag=content-spacer","src/formatters/content-spacer/content-spacer.tsx","src/blocks/content-text-block/content-text-block.scss?tag=content-text-block","src/blocks/content-text-block/content-text-block.tsx","src/blocks/content-tout-block/content-tout-block.scss?tag=content-tout-block","src/blocks/content-tout-block/content-tout-block.tsx","src/elements/content-video/content-video.scss?tag=content-video","src/elements/content-video/content-video.tsx"],"sourcesContent":["content-accordion {\n display: block;\n\n > button {\n display: block;\n width: 100%;\n padding: 0;\n border: none;\n font: inherit;\n color: inherit;\n background-color: transparent;\n cursor: pointer;\n }\n\n &[expanded] > .content-accordion__reveal {\n display: block;\n }\n\n > .content-accordion__reveal {\n display: none;\n }\n}\n","import { Component, h, Host, Element } from '@stencil/core';\nimport { HostElement, Prop, State } from '@stencil/core/internal';\nimport W3DisclosureButton from './libraries/w3_disclosure_button';\nimport { ResponsiveBoolean } from '../../typings';\nimport { WindowResizeService } from '../../services/window-resize-service';\n\n/**\n * @slot content - This slot will usually serve a content button.\n * @slot - Default slot, same as content slot.\n */\n@Component({\n tag: 'content-accordion',\n styleUrl: 'content-accordion.scss',\n shadow: false,\n})\nexport class ContentAccordion {\n @Element() hostElement: HostElement;\n\n @State() revealElement!: HTMLDivElement;\n /**\n *\n * @type Boolean\n * @responsive\n */\n @Prop() open: ResponsiveBoolean = 'false';\n /**\n * The starting animation class in case you want to control content styling.\n * @type String\n */\n @Prop() animationStart = 'animation-start';\n\n /**\n * The ending animation class in case you want to control content styling.\n * @type String\n */\n @Prop() animationEnd = 'animation-end';\n\n /**\n * The amount of time in milliseconds to run the closing animation, before the class is removed\n * @type Number\n */\n @Prop() animationTime = 0;\n\n @State() isOpen = false;\n @State() randomID: string = '';\n @State() classString = '';\n\n timeoutHolder;\n handleClickEvent(e: MouseEvent) {\n this.animateAccordion(!this.isOpen);\n }\n\n animateAccordion(open, animationTime = this.animationTime) {\n if (this.timeoutHolder) {\n clearTimeout(this.timeoutHolder);\n }\n if (open) {\n this.isOpen = true;\n this.timeoutHolder = setTimeout(() => {\n this.hostElement.classList.add(this.animationStart);\n }, 0);\n } else {\n this.hostElement.classList.add(this.animationEnd);\n this.timeoutHolder = setTimeout(() => {\n this.hostElement.classList.remove(this.animationStart, this.animationEnd);\n this.isOpen = false;\n }, animationTime);\n }\n }\n\n componentWillLoad() {\n this.revealElement = this.hostElement.querySelector('.js-content-accordion-reveal');\n if (this.hostElement.id) {\n this.randomID = `${this.hostElement.tagName}_${this.hostElement.id}`;\n } else {\n this.randomID = `${this.hostElement.tagName}_${Math.floor(Math.random() * document.querySelectorAll(this.hostElement.tagName).length)}`;\n }\n WindowResizeService.registerProp(this.open).subscribe(newValue => {\n this.isOpen = newValue === 'true';\n if (this.isOpen) {\n this.animateAccordion(true);\n }\n });\n }\n\n render() {\n return (\n <Host class={this.classString} expanded={this.isOpen}>\n <button onClick={e => this.handleClickEvent(e)} aria-expanded={this.isOpen} aria-controls={this.randomID}>\n <slot name=\"trigger\"></slot>\n </button>\n <div id={this.randomID} class=\"js-content-accordion-reveal content-accordion__reveal\">\n <slot name=\"content\"></slot>\n <slot></slot>\n </div>\n </Host>\n );\n }\n}\n","content-button {\n display: inline-block;\n > a, > button {\n display: flex;\n width: 100%;\n align-items: center;\n justify-content: center;\n }\n > button {\n appearance: none;\n background: inherit;\n cursor: pointer;\n }\n\n &[clickable-block=\"true\"] {\n display: block;\n width: 100%;\n height: 100%;\n > a,\n > button {\n height: 100%;\n width: 100%;\n > * {\n display: block;\n width: 100%;\n }\n }\n .content-button__clickable-content {\n width: 100%;\n height: 100%;\n }\n }\n\n}","import { Component, h, Host, Prop } from '@stencil/core';\nimport { Element, HostElement, HTMLStencilElement, State } from '@stencil/core/internal';\nimport { WindowResizeService } from '../../services/window-resize-service';\nimport { ResponsiveString } from '../../typings';\n\n/**\n * @slot content - Inner contents of the button, usually plaintext.\n * @slot - Default slot, same as content slot.\n * @slot activatedContent - If this slot is used, the content in this will be scrolled to and triggered.\n */\n@Component({\n tag: 'content-button',\n styleUrl: 'content-button.scss',\n shadow: false,\n})\nexport class ContentButton {\n @Element() hostElement: HostElement;\n /**\n * @type URL\n */\n @Prop({\n mutable: true,\n reflect: true,\n })\n href: string;\n /**\n * @type String\n */\n @Prop() target: string;\n /**\n * The classes for the button.\n * @type String\n * @responsive\n */\n @Prop() classes = '';\n @State() classString = '';\n /**\n * @type Boolean\n */\n @Prop() clickableBlock: boolean = false;\n /**\n * @type Boolean\n */\n @Prop({\n mutable: true,\n reflect: true,\n })\n expanded: string;\n /**\n\n /**\n * Aria-controls value\n * @type Target\n */\n @Prop() controls: string;\n\n /**\n * @type String\n * @responsive\n */\n @Prop() linkLabel: ResponsiveString;\n /**\n * @type String\n * @responsive\n */\n @Prop({\n mutable: true,\n reflect: true,\n })\n linkClass: ResponsiveString;\n @State() hasContentToActivate: boolean;\n\n public activatedContent: HTMLDivElement;\n\n componentWillLoad() {\n this.activatedContent = this.hostElement.querySelector('[slot=\"activatedContent\"]');\n this.hasContentToActivate = !!this.activatedContent;\n // If this is a clickable block, forcefully add a # to force an anchor link\n if (!this.href || this.href === '#') {\n this.href = 'javascript:void(0);';\n }\n\n WindowResizeService.registerProp(this.linkClass).subscribe(newValue => {\n this.linkClass = newValue as string;\n });\n\n WindowResizeService.registerProp(this.classes).subscribe(newValue => {\n this.classString = newValue as string;\n });\n }\n\n onHandleClickEvent(ev) {\n if (this.hasContentToActivate) {\n ev.preventDefault();\n // ev.stopPropagation();\n this.activatedContent.dispatchEvent(new CustomEvent('open', { detail: this.activatedContent }));\n setTimeout(() => {\n this.activatedContent.scrollIntoView({ behavior: 'smooth' });\n }, 0);\n } else if (this.href && this.href.length > 1 && this.href.substring(0, 1) === '#') {\n let element = document.getElementById(this.href.substring(1));\n ev.preventDefault();\n if (element) {\n ev.preventDefault();\n // ev.stopPropagation();\n element.dispatchEvent(new CustomEvent('open', { detail: element }));\n setTimeout(() => {\n element.scrollIntoView({ behavior: 'smooth' });\n }, 0);\n }\n }\n }\n\n render() {\n return (\n <Host class={this.classString}>\n <a\n aria-label={this.linkLabel}\n class={this.linkClass}\n role={this.href === 'javascript:void(0);' ? 'button' : ''}\n onClick={ev => this.onHandleClickEvent(ev)}\n aria-expanded={this.expanded}\n aria-controls={this.controls}\n href={this.href}\n target={this.target}\n >\n {!this.clickableBlock ? (\n <span>\n <slot name=\"content\"></slot>\n <slot></slot>\n </span>\n ) : (\n <div class=\"content-button__clickable-content\">\n <slot name=\"content\"></slot>\n <slot></slot>\n </div>\n )}\n </a>\n <slot name=\"activatedContent\"></slot>\n </Host>\n );\n }\n}\n","content-grid-formatter {\n width: 100%;\n overflow: auto;\n align-items: var(--align-items, flex-start);\n justify-content: var(--justify-content);\n grid-template-columns: repeat(var(--columns), 1fr);\n column-gap: var(--column-gap, 0);\n row-gap: var(--row-gap, 0);\n * {\n box-sizing: border-box;\n }\n &[type=\"grid\"] {\n display: grid;\n }\n\n &[type=\"flex\"] {\n display: flex;\n flex-wrap: wrap; \n > * {\n overflow: auto;\n flex: 0 0 auto;\n width: calc(100%/var(--columns));\n }\n }\n > [flex-shrink=\"true\"] {\n width: auto;\n flex-shrink: 1;\n }\n &[flex-shrink=\"true\"] > * {\n flex-shrink: 1;\n }\n &[flex-grow=\"true\"] > * {\n flex-grow: 1;\n }\n > [flex-grow=\"true\"] {\n width: auto;\n flex-grow: 1;\n }\n}","import { Component, h, Host, Prop, State } from '@stencil/core';\nimport { WindowResizeService } from '../../services/window-resize-service';\nimport { FLEX_JUSTIFY_OPTIONS, GRID_TYPES, ResponsiveBoolean, ResponsiveNumber, ResponsiveString } from '../../typings';\nimport { Element, HTMLStencilElement } from '@stencil/core/internal';\n\n/**\n * @slot media - This slot can either be a video or image component.\n * @slot content - This slot will usually serve a content text block.\n */\n@Component({\n tag: 'content-grid-formatter',\n styleUrl: 'content-grid-formatter.scss',\n shadow: false,\n})\nexport class ContentGridFormatter {\n /**\n * @type String\n * @responsive\n */\n @Prop() classes: ResponsiveString;\n @State() classString;\n /**\n * Flex or grid\n * @type Select\n * @options none\n * @options flex\n * @options grid\n * @responsive\n */\n @Prop({\n mutable: true,\n reflect: true,\n })\n type: GRID_TYPES | ResponsiveString = 'flex';\n /**\n * Setting this true to will grow all children. Alternatively, add the attribute [flex-grow=\"true\"] to a specific grid child and that child will grow.\n * @type Boolean\n * @responsive\n */\n @Prop({\n mutable: true,\n reflect: true,\n })\n flexGrow: ResponsiveBoolean = 'false';\n /**\n * Setting this true to will shrink all children. Alternatively, add the attribute [flex-shrink=\"true\"] to a specific grid child and that child will shrink.\n * @type Boolean\n * @responsive\n */\n @Prop({\n mutable: true,\n reflect: true,\n })\n flexShrink: ResponsiveBoolean = 'false';\n /**\n * Vertical axis alignment\n * @type Select\n * @options flex-start\n * @options space-between\n * @options center\n * @options space-evenly\n * @responsive\n */\n @Prop({\n mutable: true,\n reflect: true,\n })\n vertical: FLEX_JUSTIFY_OPTIONS = 'space-between';\n\n /**\n * Horizontal axis alignment\n * @type Select\n * @options flex-start\n * @options space-between\n * @options center\n * @options space-evenly\n * @responsive\n */\n @Prop({\n mutable: true,\n reflect: true,\n })\n horizontal: FLEX_JUSTIFY_OPTIONS = 'space-between';\n /**\n * @type Number\n * @responsive\n */\n @Prop({\n mutable: true,\n reflect: true,\n })\n columns: ResponsiveNumber = '1';\n\n /**\n * @type Number\n * @responsive\n */\n @Prop({\n mutable: true,\n reflect: true,\n })\n columnGap: ResponsiveNumber = '0';\n\n /**\n * @type Number\n * @responsive\n */\n @Prop({\n mutable: true,\n reflect: true,\n })\n rowGap: ResponsiveNumber = '0';\n\n @Element() hostElement: HTMLStencilElement;\n @State() activeClassString: string;\n @State() inlineStyle: { [key: string]: string } = {};\n\n componentWillLoad() {\n return Promise.allSettled([\n WindowResizeService.registerProp(this.type).subscribe(newValue => (this.type = newValue as GRID_TYPES)),\n WindowResizeService.registerProp(this.vertical).subscribe(newValue => {\n this.vertical = newValue as FLEX_JUSTIFY_OPTIONS;\n this.inlineStyle = {\n ...this.inlineStyle,\n '--align-items': this.vertical,\n };\n }),\n WindowResizeService.registerProp(this.horizontal).subscribe(newValue => {\n this.horizontal = newValue as FLEX_JUSTIFY_OPTIONS;\n this.inlineStyle = {\n ...this.inlineStyle,\n '--justify-content': this.horizontal,\n };\n }),\n WindowResizeService.registerProp(this.flexShrink).subscribe(newValue => (this.flexShrink = newValue as string)),\n WindowResizeService.registerProp(this.flexGrow).subscribe(newValue => (this.flexGrow = newValue as string)),\n WindowResizeService.registerProp(this.columns).subscribe(newValue => {\n this.columns = newValue as string;\n this.inlineStyle = {\n ...this.inlineStyle,\n '--columns': newValue as string,\n };\n }),\n WindowResizeService.registerProp(this.columnGap).subscribe(newValue => {\n this.columnGap = newValue as string;\n this.inlineStyle = {\n ...this.inlineStyle,\n '--column-gap': newValue as string,\n };\n }),\n WindowResizeService.registerProp(this.rowGap).subscribe(newValue => {\n this.rowGap = newValue as string;\n this.inlineStyle = {\n ...this.inlineStyle,\n '--row-gap': newValue as string,\n };\n }),\n WindowResizeService.registerProp(this.classes).subscribe(newValue => (this.classString = newValue as string)),\n ]);\n }\n\n render() {\n return (\n <Host class={this.classString} style={this.inlineStyle}>\n <slot />\n </Host>\n );\n }\n}\n","content-hero-block {\n position: relative;\n &[content-position=\"above\"] {\n display: grid;\n grid-template-columns: 1fr;\n .content-hero-block__background,\n .content-hero-block__content {\n grid-row-start: 1;\n grid-column-start: 1;\n }\n .content-hero-block__background {\n height: 100%;\n overflow: hidden;\n\n content-image,\n content-image picture,\n content-image img,\n content-image video {\n height: 100%;\n }\n }\n .content-hero-block__content {\n display: flex;\n // position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n grid-row-start: 1;\n grid-column-start: 1;\n \n > * {\n // display: block;\n width: 100%;\n }\n \n }\n .content-hero-block__content {\n position: relative;\n z-index: 1;\n }\n }\n &[content-position=\"below\"] {\n display: block;\n }\n}","import { Component, h, Host, Prop } from '@stencil/core';\nimport { Element, HTMLStencilElement, Listen, State } from '@stencil/core/internal';\nimport { WindowResizeService } from '../../services/window-resize-service';\nimport { ResponsiveString } from '../../typings';\nimport { getHydratedClassString } from '../../utils/utils';\nexport type HeroContentPlacementOptions = 'above' | 'below';\n/**\n * @slot background - This slot is usually either a video or image component.\n * @slot content - This slot will usually serve a text block.\n * @slot - Default slot, same as content slot\n */\n@Component({\n tag: 'content-hero-block',\n styleUrl: 'content-hero-block.scss',\n shadow: false,\n})\nexport class ContentHeroBlock {\n @Element() hostElement: HTMLStencilElement;\n @State() hasBackground: boolean = false;\n /**\n * Pipe separated HeroContentPlacementOptions that will determine whether the content sits below the media slot or overlapped above.\n * @type Select\n * @options below\n * @options above\n * @responsive\n */\n @Prop({\n mutable: true,\n reflect: true,\n })\n contentPosition: ResponsiveString | HeroContentPlacementOptions = 'below|above';\n\n /**\n * @type String\n * @responsive\n */\n @Prop() classes: ResponsiveString;\n @State() classString;\n @State() revealHiddenContent: boolean = false;\n hasHiddenContent: boolean;\n\n componentWillLoad() {\n this.hasBackground = !!this.hostElement.querySelector('[slot=\"background\"]');\n this.hasHiddenContent = !!this.hostElement.querySelector('[slot=\"activatedContent\"]');\n WindowResizeService.registerProp(this.contentPosition).subscribe(newValue => (this.contentPosition = newValue as string));\n WindowResizeService.registerProp(this.classes).subscribe(newValue => (this.classString = newValue as string));\n }\n\n @Listen('open', { target: 'window' })\n contentBlockActivationHandler(event: CustomEvent<HTMLElement>) {\n if (this.hostElement === event.detail) {\n this.hostElement.setAttribute('activated', 'true');\n }\n }\n\n render() {\n return (\n <Host class={this.classString}>\n {this.hasBackground && (\n <div class=\"content-hero-block__background\">\n <slot name=\"background\"></slot>\n </div>\n )}\n <div class=\"content-hero-block__content\">\n <slot name=\"content\"></slot>\n <slot></slot>\n </div>\n </Host>\n );\n }\n}\n","content-image {\n display: block;\n height: auto;\n transition: opacity .3s;\n position: relative;\n &.content-image-loading {\n opacity: 0;\n }\n &.content-image-loaded {\n opacity: 1;\n }\n\n &[aspect-ratio] {\n img, picture, video {\n aspect-ratio: var(--aspect-ratio);\n object-fit: cover;\n }\n }\n img,\n picture,\n video {\n display: block;\n width: 100%;\n height: 100%;\n }\n\n .content-image__media-content {\n display: none;\n position: absolute;\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n align-items: center;\n justify-content: center;\n overflow: hidden;\n [slot=\"mediaContent\"] {\n height: 100%;\n width: 100%;\n }\n }\n &[content=\"true\"] .content-image__media-content {\n display: flex;\n }\n}\n","import { Component, h, Host, Element, Prop, State, Watch } from '@stencil/core';\nimport { HostElement } from '@stencil/core/internal';\nimport { WindowResizeService } from '../../services/window-resize-service';\nimport { ResponsiveBoolean, ResponsiveNumber, ResponsiveString } from '../../typings';\nimport { breakpointValues, getCurrentValue, getValueAtIndex } from '../../utils/utils';\n\n/**\n * @slot mediaContent - Content displayed over media. If you want to reveal content on hover, use a tout block\n */\n@Component({\n tag: 'content-image',\n styleUrl: 'content-image.scss',\n shadow: false,\n})\nexport class ContentImage {\n @Element() hostElement: HostElement;\n /**\n * @type String\n * @responsive\n */\n @Prop({\n mutable: true,\n reflect: true,\n })\n classes: ResponsiveString;\n /**\n * @type Boolean\n */\n @Prop() lazyLoad: boolean = true;\n /**\n * @type Media\n * @responsive\n */\n @Prop({\n mutable: true,\n reflect: false,\n })\n src!: ResponsiveString;\n @State() activeSrc;\n /**\n * @type String\n * @responsive\n */\n @Prop({\n mutable: true,\n reflect: true,\n })\n alt: ResponsiveString;\n /**\n * @type Number\n * @responsive\n */\n @Prop({\n mutable: true,\n reflect: false,\n })\n width: ResponsiveNumber = '16';\n /**\n * @type Number\n * @responsive\n */\n @Prop({\n mutable: true,\n reflect: false,\n })\n height: ResponsiveNumber = '9';\n\n /**\n * @type String\n * @responsive\n */\n @Prop({\n mutable: true,\n reflect: false,\n })\n aspectRatio: ResponsiveString;\n /**\n * @type Select\n * @options image\n * @options video\n */\n @Prop() type?: 'image' | 'video' = 'image';\n\n /**\n * @type Select\n * @options video/mp4\n */\n @Prop() videoType?: string = 'video/mp4';\n\n /**\n * If true, the content in the mediaContent slot will be visible.\n * @type Boolean\n * @responsive\n */\n @Prop({\n mutable: true,\n reflect: true,\n })\n showContent: ResponsiveBoolean = 'false|true';\n\n @State() lazyLoadIsComplete: boolean = false;\n @State() showVideoAsGif: boolean = false;\n @State() activeLazyLoadClass = '';\n @State() classString = '';\n @State() inlineStyle?: { [key: string]: string } = {};\n @State() hasMediaContent: boolean = false;\n @State() pictureImageSrc: string;\n preloadImage(src) {\n return new Promise(r => {\n const image = new Image();\n image.onload = r;\n image.onerror = r;\n image.src = src;\n });\n }\n\n componentWillLoad() {\n this.hasMediaContent = !!this.hostElement.querySelector('[slot=\"mediaContent\"]');\n WindowResizeService.registerProp(this.aspectRatio).subscribe(newValue => {\n this.inlineStyle = { ...this.inlineStyle, '--aspect-ratio': `${newValue}` };\n });\n WindowResizeService.registerProp(this.alt).subscribe(newValue => {\n this.alt = newValue as string;\n });\n WindowResizeService.registerProp(this.height).subscribe(newValue => {\n this.height = newValue as string;\n });\n WindowResizeService.registerProp(this.showContent).subscribe(newValue => {\n this.showContent = newValue as string;\n });\n WindowResizeService.registerProp(this.classes).subscribe(newValue => {\n this.classString = `${newValue}`;\n });\n }\n\n componentDidLoad() {\n let observer = new IntersectionObserver(\n entries => {\n entries.forEach(async entry => {\n if (entry.isIntersecting) {\n this.lazyLoadIsComplete = true;\n this.pictureImageSrc = getCurrentValue(this.src);\n this.showVideoAsGif = this.pictureImageSrc.indexOf('.mp4') >= 0 || getCurrentValue(this.type) === 'video';\n }\n });\n },\n {\n root: null,\n rootMargin: `${Math.max(100, window.innerHeight * 1)}px`,\n // rootMargin: `0px`,\n threshold: 0,\n },\n );\n observer.observe(this.hostElement);\n }\n\n @Watch('lazyLoadIsComplete')\n watchLazyLoadIsComplete(newValue: boolean) {\n if (newValue === true) {\n this.activeLazyLoadClass = 'content-image-loaded';\n } else {\n if (!this.lazyLoad) {\n this.activeLazyLoadClass = 'content-image-no-lazyload';\n } else {\n this.activeLazyLoadClass = 'content-image-loading';\n }\n }\n }\n\n render() {\n return (\n <Host class={`${this.activeLazyLoadClass} ${this.classString}`} style={this.inlineStyle} content={this.showContent}>\n {this.hasMediaContent && (\n <div class=\"content-image__media-content\">\n <slot name=\"mediaContent\"></slot>\n </div>\n )}\n {this.showVideoAsGif && (\n <video autoplay muted loop preload=\"none\" playsinline width={this.width} height={this.height}>\n <source src={this.lazyLoadIsComplete ? this.pictureImageSrc : null} type={this.videoType} />\n </video>\n )}\n {this.pictureImageSrc && !this.showVideoAsGif && <img width={this.width} height={this.height} src={this.pictureImageSrc} alt={this.alt} />}\n </Host>\n );\n }\n}\n","content-line {\n --text-align: default;\n --inner-max-width: 100%;\n\n display: block;\n text-align: var(--text-align);\n word-break: break-word;\n white-space: normal;\n \n .content-line__inner {\n display: inline-block;\n width: auto;\n max-width: var(--max-width);\n }\n}","import { Component, Prop, h, State, Host } from '@stencil/core';\nimport { WindowResizeService } from '../../services/window-resize-service';\nimport { ResponsiveNumber, ResponsiveString } from '../../typings';\nexport type ContentLineTagOptions = 'div' | 'p' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'span' | 'section' | 'article';\nexport type ContentLineTextAlignOptions = 'default' | 'left' | 'center' | 'right';\n/**\n * @slot content - Inner contents of the line, usually plaintext.\n * @slot - Default slot, same as content slot.\n */\n@Component({\n tag: 'content-line',\n styleUrl: 'content-line.scss',\n shadow: false,\n})\nexport class ContentLine {\n /**\n * The element tag to use.\n * @type Select\n * @options div\n * @options p\n * @options h1\n * @options h2\n * @options h3\n * @options h4\n * @options h5\n * @options h6\n * @options span\n * @options section\n * @options article\n */\n @Prop() tag: ContentLineTagOptions = 'div';\n\n /**\n * Pipe separated list of ContentLineTextAlignOptions for text alignment.\n * @type Select\n * @options default\n * @options left\n * @options center\n * @options right\n * @responsive\n */\n @Prop() textAlign: ContentLineTextAlignOptions = 'default';\n\n /**\n * The font class for the line.\n * @type String\n * @responsive\n */\n @Prop() classes;\n @State() classString;\n\n /**\n * Pipe separated list of max width numbers. You can also use units such as \"px\" and \"vw\". If no unit is provided, defaults to percentage.\n * @type String\n * @responsive\n */\n @Prop() maxWidth: ResponsiveNumber = '100%';\n @State() inlineStyle: { [key: string]: string } = {};\n\n componentWillLoad() {\n WindowResizeService.registerProp(this.textAlign).subscribe(newValue => {\n this.inlineStyle = {\n ...this.inlineStyle,\n '--text-align': newValue as ContentLineTextAlignOptions,\n };\n });\n WindowResizeService.registerProp(this.maxWidth).subscribe((newValue: string | number) => {\n this.inlineStyle = {\n ...this.inlineStyle,\n '--max-width': isNaN(newValue as number) ? (newValue as string) : newValue + '%',\n };\n });\n WindowResizeService.registerProp(this.classes).subscribe(newValue => {\n this.classString = newValue as string;\n });\n }\n\n render() {\n // The capital case in this JSX variable is important\n const ElementTagParsed = `${this.tag}`;\n return (\n <Host class={this.classString} style={this.inlineStyle}>\n <ElementTagParsed class=\"content-line__inner\">\n <slot name=\"content\"></slot>\n <slot></slot>\n </ElementTagParsed>\n </Host>\n );\n }\n}","/**\n * @namespace aria\n */\n\nvar aria = aria || {};\naria.Utils = aria.Utils || {};\n\n// Polyfill src https://developer.mozilla.org/en-US/docs/Web/API/Element/matches\naria.Utils.matches = function (element, selector) {\n return element.matches(selector);\n};\n\naria.Utils.remove = function (item) {\n if (item.remove && typeof item.remove === 'function') {\n return item.remove();\n }\n if (item.parentNode &&\n item.parentNode.removeChild &&\n typeof item.parentNode.removeChild === 'function') {\n return item.parentNode.removeChild(item);\n }\n return false;\n};\n\naria.Utils.isFocusable = function (element) {\n if (element.tabIndex > 0 || (element.tabIndex === 0 && element.getAttribute('tabIndex') !== null)) {\n return true;\n }\n\n if (element.disabled) {\n return false;\n }\n\n switch (element.nodeName) {\n case 'A':\n return !!element.href && element.rel != 'ignore';\n case 'INPUT':\n return element.type != 'hidden' && element.type != 'file';\n case 'BUTTON':\n case 'SELECT':\n case 'TEXTAREA':\n return true;\n default:\n return false;\n }\n};\n\naria.Utils.getAncestorBySelector = function (element, selector) {\n if (!aria.Utils.matches(element, selector + ' ' + element.tagName)) {\n // Element is not inside an element that matches selector\n return null;\n }\n\n // Move up the DOM tree until a parent matching the selector is found\n var currentNode = element;\n var ancestor = null;\n while (ancestor === null) {\n if (aria.Utils.matches(currentNode.parentNode, selector)) {\n ancestor = currentNode.parentNode;\n }\n else {\n currentNode = currentNode.parentNode;\n }\n }\n\n return ancestor;\n};\n\naria.Utils.hasClass = function (element, className) {\n return (new RegExp('(\\\\s|^)' + className + '(\\\\s|$)')).test(element.className);\n};\n\naria.Utils.addClass = function (element, className) {\n if (!aria.Utils.hasClass(element, className)) {\n element.className += ' ' + className;\n }\n};\n\naria.Utils.removeClass = function (element, className) {\n var classRegex = new RegExp('(\\\\s|^)' + className + '(\\\\s|$)');\n element.className = element.className.replace(classRegex, ' ').trim();\n};\n\naria.Utils.bindMethods = function (object) {\n var methodNames = Array.prototype.slice.call(arguments, 1);\n methodNames.forEach(function (method) {\n object[method] = object[method].bind(object);\n });\n};\n\nwindow.aria = aria;","/*\n* This content is licensed according to the W3C Software License at\n* https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document\n*/\n/**\n * @namespace aria\n */\n\n var aria = aria || {};\n aria.Utils = aria.Utils || {};\n \n // Polyfill src https://developer.mozilla.org/en-US/docs/Web/API/Element/matches\n aria.Utils.matches = function (element, selector) {\n return element.matches(selector);\n };\n \n aria.Utils.remove = function (item) {\n if (item.remove && typeof item.remove === 'function') {\n return item.remove();\n }\n if (item.parentNode &&\n item.parentNode.removeChild &&\n typeof item.parentNode.removeChild === 'function') {\n return item.parentNode.removeChild(item);\n }\n return false;\n };\n \n aria.Utils.isFocusable = function (element) {\n if (element.tabIndex > 0 || (element.tabIndex === 0 && element.getAttribute('tabIndex') !== null)) {\n return true;\n }\n \n if (element.disabled) {\n return false;\n }\n \n switch (element.nodeName) {\n case 'A':\n return !!element.href && element.rel != 'ignore';\n case 'INPUT':\n return element.type != 'hidden' && element.type != 'file';\n case 'BUTTON':\n case 'SELECT':\n case 'TEXTAREA':\n return true;\n default:\n return false;\n }\n };\n \n aria.Utils.getAncestorBySelector = function (element, selector) {\n if (!aria.Utils.matches(element, selector + ' ' + element.tagName)) {\n // Element is not inside an element that matches selector\n return null;\n }\n \n // Move up the DOM tree until a parent matching the selector is found\n var currentNode = element;\n var ancestor = null;\n while (ancestor === null) {\n if (aria.Utils.matches(currentNode.parentNode, selector)) {\n ancestor = currentNode.parentNode;\n }\n else {\n currentNode = currentNode.parentNode;\n }\n }\n \n return ancestor;\n };\n \n aria.Utils.hasClass = function (element, className) {\n return (new RegExp('(\\\\s|^)' + className + '(\\\\s|$)')).test(element.className);\n };\n \n aria.Utils.addClass = function (element, className) {\n if (!aria.Utils.hasClass(element, className)) {\n element.className += ' ' + className;\n }\n };\n \n aria.Utils.removeClass = function (element, className) {\n var classRegex = new RegExp('(\\\\s|^)' + className + '(\\\\s|$)');\n element.className = element.className.replace(classRegex, ' ').trim();\n };\n \n aria.Utils.bindMethods = function (object) {\n var methodNames = Array.prototype.slice.call(arguments, 1);\n methodNames.forEach(function (method) {\n object[method] = object[method].bind(object);\n });\n };\n \n \n /*\n * When util functions move focus around, set this true so the focus listener\n * can ignore the events.\n */\naria.Utils.IgnoreUtilFocusChanges = false;\n\naria.Utils.dialogOpenClass = 'has-dialog';\n\n/**\n * @desc Set focus on descendant nodes until the first focusable element is\n * found.\n * @param element\n * DOM node for which to find the first focusable descendant.\n * @returns\n * true if a focusable element is found and focus is set.\n */\naria.Utils.focusFirstDescendant = function (element) {\n for (var i = 0; i < element.childNodes.length; i++) {\n var child = element.childNodes[i];\n if (aria.Utils.attemptFocus(child) ||\n aria.Utils.focusFirstDescendant(child)) {\n return true;\n }\n }\n return false;\n}; // end focusFirstDescendant\n\n/**\n * @desc Find the last descendant node that is focusable.\n * @param element\n * DOM node for which to find the last focusable descendant.\n * @returns\n * true if a focusable element is found and focus is set.\n */\naria.Utils.focusLastDescendant = function (element) {\n for (var i = element.childNodes.length - 1; i >= 0; i--) {\n var child = element.childNodes[i];\n if (aria.Utils.attemptFocus(child) ||\n aria.Utils.focusLastDescendant(child)) {\n return true;\n }\n }\n return false;\n}; // end focusLastDescendant\n\n/**\n * @desc Set Attempt to set focus on the current node.\n * @param element\n * The node to attempt to focus on.\n * @returns\n * true if element is focused.\n */\naria.Utils.attemptFocus = function (element) {\n if (!aria.Utils.isFocusable(element)) {\n return false;\n }\n \n aria.Utils.IgnoreUtilFocusChanges = true;\n try {\n element.focus();\n }\n catch (e) {\n }\n aria.Utils.IgnoreUtilFocusChanges = false;\n return (document.activeElement === element);\n}; // end attemptFocus\n\n/* Modals can open modals. Keep track of them with this array. */\naria.OpenDialogList = aria.OpenDialogList || new Array(0);\n\n/**\n * @returns the last opened dialog (the current dialog)\n */\naria.getCurrentDialog = function () {\n if (aria.OpenDialogList && aria.OpenDialogList.length) {\n return aria.OpenDialogList[aria.OpenDialogList.length - 1];\n }\n};\n\naria.closeCurrentDialog = function () {\n var currentDialog = aria.getCurrentDialog();\n if (currentDialog) {\n currentDialog.close();\n return true;\n }\n \n return false;\n};\n\n aria.handleEscape = function (event) {\n if (event.key === 'Escape' && aria.closeCurrentDialog()) {\n event.stopPropagation();\n }\n };\n\n document.addEventListener('keyup', aria.handleEscape);\n\n /**\n * @constructor\n * @desc Dialog object providing modal focus management.\n *\n * Assumptions: The element serving as the dialog container is present in the\n * DOM and hidden. The dialog container has role='dialog'.\n *\n * @param dialogNode\n * The element serving as the dialog container.\n * @param focusAfterClosed\n * Either the DOM node or the ID of the DOM node to focus when the\n * dialog closes.\n * @param focusFirst\n * Optional parameter containing either the DOM node or the ID of the\n * DOM node to focus when the dialog opens. If not specified, the\n * first focusable element in the dialog will receive focus.\n */\n aria.Dialog = function (dialogNode, focusAfterClosed, focusFirst, isFullScreen) {\n this.dialogNode = dialogNode;\n if (this.dialogNode === null) {\n throw new Error('No element found');\n }\n\n var validRoles = ['dialog', 'alertdialog'];\n var isDialog = (this.dialogNode.getAttribute('role') || '')\n .trim()\n .split(/\\s+/g)\n .some(function (token) {\n return validRoles.some(function (role) {\n return token === role;\n });\n });\n if (!isDialog) {\n throw new Error(\n 'Dialog() requires a DOM element with ARIA role of dialog or alertdialog.');\n }\n\n // Wrap in an individual backdrop element if one doesn't exist\n // Native <dialog> elements use the ::backdrop pseudo-element, which\n // works similarly.\n var backdropClass = 'content-overlay-background';\n if (this.dialogNode.parentNode.classList.contains(backdropClass)) {\n this.backdropNode = this.dialogNode.parentNode;\n }\n else {\n this.backdropNode = document.createElement('div');\n this.backdropNode.className = backdropClass;\n this.dialogNode.parentNode.insertBefore(this.backdropNode, this.dialogNode);\n this.backdropNode.appendChild(this.dialogNode);\n }\n this.backdropNode.classList.add('active');\n setTimeout(() => {\n this.backdropNode.classList.add('transition');\n }, 1);\n\n // Disable scroll on the body element\n this.isFullscreen = isFullScreen;\n if (isFullScreen) {\n document.body.classList.add(aria.Utils.dialogOpenClass);\n }\n\n if (typeof focusAfterClosed === 'string') {\n this.focusAfterClosed = document.getElementById(focusAfterClosed);\n }\n else if (typeof focusAfterClosed === 'object') {\n this.focusAfterClosed = focusAfterClosed;\n }\n else {\n throw new Error(\n 'the focusAfterClosed parameter is required for the aria.Dialog constructor.');\n }\n\n if (typeof focusFirst === 'string') {\n this.focusFirst = document.getElementById(focusFirst);\n }\n else if (typeof focusFirst === 'object') {\n this.focusFirst = focusFirst;\n }\n else {\n this.focusFirst = null;\n }\n\n // Bracket the dialog node with two invisible, focusable nodes.\n // While this dialog is open, we use these to make sure that focus never\n // leaves the document even if dialogNode is the first or last node.\n var preDiv = document.createElement('div');\n this.preNode = this.dialogNode.parentNode.insertBefore(preDiv,\n this.dialogNode);\n this.preNode.tabIndex = 0;\n var postDiv = document.createElement('div');\n this.postNode = this.dialogNode.parentNode.insertBefore(postDiv,\n this.dialogNode.nextSibling);\n this.postNode.tabIndex = 0;\n\n // If this modal is opening on top of one that is already open,\n // get rid of the document focus listener of the open dialog.\n if (aria.OpenDialogList.length > 0) {\n aria.getCurrentDialog().removeListeners();\n }\n\n if (isFullScreen) {\n this.addListeners();\n }\n aria.OpenDialogList.push(this);\n this.dialogNode.className = 'content-overlay-dialog'; // make visible\n\n if (this.focusFirst) {\n this.focusFirst.focus();\n }\n else {\n aria.Utils.focusFirstDescendant(this.dialogNode);\n }\n\n this.lastFocus = document.activeElement;\n }; // end Dialog constructor\n\n\n /**\n * @desc\n * Hides the current top dialog,\n * removes listeners of the top dialog,\n * restore listeners of a parent dialog if one was open under the one that just closed,\n * and sets focus on the element specified for focusAfterClosed.\n */\n aria.Dialog.prototype.close = function () {\n aria.OpenDialogList.pop();\n this.removeListeners();\n aria.Utils.remove(this.preNode);\n aria.Utils.remove(this.postNode);\n this.dialogNode.className = 'hidden';\n this.backdropNode.classList.remove('active');\n this.backdropNode.classList.remove('transition');\n this.focusAfterClosed.focus();\n\n // If a dialog was open underneath this one, restore its listeners.\n if (aria.OpenDialogList.length > 0 && aria.OpenDialogList.filter(dialog => dialog.isFullscreen === true).length) {\n aria.getCurrentDialog().addListeners();\n }\n else {\n document.body.classList.remove(aria.Utils.dialogOpenClass);\n }\n this.dialogNode.dispatchEvent(new CustomEvent(\"ariaDialog.closed\", {\n bubbles: true,\n \"detail\": {}\n }));\n }; // end close\n\n /**\n * @desc\n * Hides the current dialog and replaces it with another.\n *\n * @param newDialogId\n * ID of the dialog that will replace the currently open top dialog.\n * @param newFocusAfterClosed\n * Optional ID or DOM node specifying where to place focus when the new dialog closes.\n * If not specified, focus will be placed on the element specified by the dialog being replaced.\n * @param newFocusFirst\n * Optional ID or DOM node specifying where to place focus in the new dialog when it opens.\n * If not specified, the first focusable element will receive focus.\n */\n aria.Dialog.prototype.replace = function (newDialogId, newFocusAfterClosed,\n newFocusFirst) {\n // var closedDialog = aria.getCurrentDialog();\n aria.OpenDialogList.pop();\n this.removeListeners();\n aria.Utils.remove(this.preNode);\n aria.Utils.remove(this.postNode);\n this.dialogNode.className = 'hidden';\n this.backdropNode.classList.remove('active');\n this.backdropNode.classList.remove('transition');\n\n var focusAfterClosed = newFocusAfterClosed || this.focusAfterClosed;\n new aria.Dialog(newDialogId, focusAfterClosed, newFocusFirst);\n // var dialog = new aria.Dialog(newDialogId, focusAfterClosed, newFocusFirst);\n }; // end replace\n\n aria.Dialog.prototype.addListeners = function () {\n document.addEventListener('focus', this.trapFocus, true);\n }; // end addListeners\n\n aria.Dialog.prototype.removeListeners = function () {\n document.removeEventListener('focus', this.trapFocus, true);\n }; // end removeListeners\n\n aria.Dialog.prototype.trapFocus = function (event) {\n if (aria.Utils.IgnoreUtilFocusChanges) {\n return;\n }\n var currentDialog = aria.getCurrentDialog();\n if (currentDialog.dialogNode.contains(event.target)) {\n currentDialog.lastFocus = event.target;\n }\n else {\n aria.Utils.focusFirstDescendant(currentDialog.dialogNode);\n if (currentDialog.lastFocus == document.activeElement) {\n aria.Utils.focusLastDescendant(currentDialog.dialogNode);\n }\n currentDialog.lastFocus = document.activeElement;\n }\n }; // end trapFocus\n\n aria.closeDialog = function (closeButton) {\n var topDialog = aria.getCurrentDialog();\n if (topDialog.dialogNode.contains(closeButton)) {\n topDialog.close();\n }\n }; // end closeDialog\n\n aria.replaceDialog = function (newDialogId, newFocusAfterClosed,\n newFocusFirst) {\n var topDialog = aria.getCurrentDialog();\n if (topDialog.dialogNode.contains(document.activeElement)) {\n topDialog.replace(newDialogId, newFocusAfterClosed, newFocusFirst);\n }\n }; // end replaceDialog\n\n window.aria = aria;",".content-overlay-open {\n overflow: hidden;\n}\n.content-block-overlay-container {\n position: relative;\n display: block;\n width: 100%;\n height: 100%;\n}\ncontent-overlay {\n display: none;\n position: relative;\n flex: 0;\n .content-overlay__content>*[slot=\"content\"] {\n height: 100%;\n overflow: auto;\n }\n &.content-overlay-active {\n display: flex;\n }\n &[vertical=\"left\"] {\n align-items: flex-start;\n }\n &[vertical=\"center\"] {\n align-items: center;\n }\n &[vertical=\"right\"] {\n align-items: flex-end;\n }\n \n &[vertical=\"top\"] {\n justify-content: flex-start;\n top: 0;\n }\n &[vertical=\"center\"] {\n justify-content: center;\n }\n &[vertical=\"bottom\"] {\n justify-content: flex-end;\n bottom: 0;\n }\n \n .content-overlay-background {\n background: rgba(255,255,255,.6);\n bottom: 0;\n display: none;\n top: 0;\n z-index: 100000;\n right: 0;\n left: 0;\n width: 100%;\n &.active {\n display: block;\n }\n }\n .content-overlay__header {\n display: flex;\n align-items: center;\n }\n .content-overlay__close {\n order: 2;\n margin-left: auto;\n cursor: pointer;\n z-index: 1;\n appearance: none;\n background: none;\n border: none;\n min-width: 40px;\n // color: white;\n // &:after {\n // content: \"\\00d7\";\n // font-size: 2.5rem;\n // }\n }\n\n &[position=\"fixed\"] {\n .content-overlay-background {\n position: fixed;\n }\n }\n\n &[position=\"absolute\"] {\n position: absolute;\n box-sizing: border-box;\n z-index: 100000;\n height: 100%;\n width: 100%;\n left: 0;\n .content-overlay-background {\n position: static;\n }\n }\n\n &[position=\"absolute\"],\n &[position=\"fixed\"] {\n .content-overlay__content {\n flex: 1;\n overflow: auto;\n }\n }\n\n [role=\"dialog\"] {\n display: flex;\n flex-direction: column;\n height: 100%;\n justify-content: flex-start;\n &.hidden {\n display: none;\n }\n }\n &[full-screen=\"true\"] {\n height: 100%;\n .content-overlay-background { \n height: 100%;\n }\n }\n}\n\n/* this is added to the body when a dialog is open */\nbody.has-dialog {\n overflow: hidden;\n}\n// .content-overlay--no-fullscreen {\n// position: relative;\n// .content-overlay-background {\n// position: static;\n// }\n// [role=\"dialog\"] {\n// top: 0;\n// bottom: 0;\n// left: 0;\n// right: 0;\n// position: absolute;\n// width: 100%;\n// height: 100%;\n// transform: none;\n// }\n// }\n","import { Component, Host, h, Prop, State, Listen, Element } from '@stencil/core';\nimport { Event, EventEmitter, HTMLStencilElement, Method } from '@stencil/core/internal';\nimport { WindowResizeService } from '../../services/window-resize-service';\nimport { ContentLineTextAlignOptions, ContentVerticalAlignments, ResponsiveBoolean, ResponsiveString } from '../../typings';\nimport * as focusTrap from 'focus-trap';\nimport './libraries/aria-utilities';\nimport './libraries/aria-dialog';\n/**\n * @slot closeButton - Contents of the overlay close button.\n * @slot header - This is adjacent to the close button, usually a header or title for the overlay.\n * @slot content - Contents that sit inside the overlay.\n */\n@Component({\n tag: 'content-overlay',\n styleUrl: 'content-overlay.scss',\n shadow: false,\n})\nexport class ContentOverlay {\n @Element() hostElement: HTMLStencilElement;\n /**\n * @type String\n * @responsive\n */\n @Prop() target: string;\n\n /**\n * @type Boolean\n * @responsive\n */\n @Prop({\n mutable: true,\n reflect: true,\n })\n open: ResponsiveBoolean = 'false';\n /**\n * @type Boolean\n * @responsive\n */\n @Prop({\n mutable: true,\n reflect: true,\n })\n fullScreen: ResponsiveBoolean = 'true';\n /**\n * @type String\n * @responsive\n */\n @Prop() classes: ResponsiveString;\n /**\n * A pipe delimited setting for horizontal alignment. This only applies when fullscreen mode is activated.\n * @type Select\n * @options default\n * @options left\n * @options center\n * @options right\n * @responsive\n */\n @Prop({\n reflect: true,\n mutable: true,\n })\n horizontal: ContentLineTextAlignOptions = 'center';\n /**\n * A pipe delimited setting for vertical alignment. This only applies when fullscreen mode is activated.\n * @type Select\n * @options top\n * @options center\n * @options bottom\n */\n @Prop({\n reflect: true,\n mutable: true,\n })\n vertical: ContentVerticalAlignments = 'center';\n\n /**\n * Title attribute value for the close button.\n * @type String\n */\n @Prop() closeTitle: string = 'Close Overlay';\n /**\n * Position of the overlay.\n * @type Select\n * @options absolute\n * @options fixed\n * @options static\n * @options sticky\n */\n @Prop({\n reflect: true,\n mutable: true,\n })\n position: ResponsiveString = 'fixed';\n @State() isActive: boolean = false;\n @State() activeClass: string = '';\n @State() classString: string = '';\n @Event({\n bubbles: true,\n })\n contentOverlayActivated: EventEmitter<HTMLElement>;\n\n @State() contentSlot: HTMLElement;\n\n dialogElement: HTMLDivElement;\n contentElement: HTMLDivElement;\n\n @State() isFullScreen: boolean = false;\n @State() hasCloseButton: boolean = false;\n @State() originalMarkup: string;\n ariaDialog;\n focusTrap;\n @Listen('toggle')\n onContentBlockToggle(event: CustomEvent) {\n if (this.hostElement.getAttribute('id') === event.detail.getAttribute('id')) {\n event.preventDefault();\n if (!this.isActive) {\n this.openOverlay();\n } else {\n this.closeOverlay();\n }\n }\n }\n @Listen('open')\n onContentBlockActivated(event: CustomEvent) {\n if (this.hostElement.getAttribute('id') === event.detail.getAttribute('id')) {\n event.preventDefault();\n this.openOverlay();\n }\n }\n @Listen('close')\n onContentBlockDeactivated(event: CustomEvent) {\n if (this.hostElement.getAttribute('id') === event.detail.getAttribute('id')) {\n event.preventDefault();\n this.closeOverlay();\n }\n }\n\n @Method()\n async openOverlay() {\n this.isActive = true;\n document.body.classList.add('content-overlay-open');\n document.body.classList.remove('content-overlay-close');\n if (!this.originalMarkup) {\n this.originalMarkup = this.contentSlot.innerHTML;\n }\n if (this.target) {\n let targetElement = document.querySelector(this.target);\n if (targetElement) {\n targetElement.classList.add('content-block-overlay-container');\n targetElement.appendChild(this.hostElement);\n }\n // } else if (this.isFullScreen) {\n // if (document.querySelectorAll(`#${this.hostElement.getAttribute('id')}`).length === 1) {\n // document.body.appendChild(this.hostElement);\n // }\n }\n\n if (this.originalMarkup) {\n this.contentSlot.innerHTML = this.originalMarkup;\n if (this.contentSlot.children[0] === this.contentSlot.querySelector('script[slot=\"content\"][type=\"text/template\"]')) {\n this.contentSlot.innerHTML = this.contentSlot.children[0].innerHTML;\n }\n this.setComputedActiveClass();\n this.focusTrap = focusTrap.createFocusTrap(this.hostElement, {\n fallbackFocus: this.hostElement,\n allowOutsideClick: true,\n clickOutsideDeactivates: true,\n onDeactivate: () => {\n this.isActive = false;\n document.body.classList.add('content-overlay-close');\n document.body.classList.remove('content-overlay-open');\n this.activeClass = '';\n this.setComputedActiveClass();\n this.contentSlot.innerHTML = '';\n },\n });\n }\n this.contentOverlayActivated.emit(this.hostElement);\n }\n\n @Method()\n async closeOverlay() {\n if (this.focusTrap) {\n try {\n this.focusTrap.deactivate();\n } catch (e) {\n console.log(e);\n }\n }\n }\n\n setComputedActiveClass() {\n this.activeClass = `content-overlay ${this.isActive ? 'content-overlay-active' : 'content-overlay-inactive'} content-overlay--${this.position}`;\n }\n\n componentWillLoad() {\n WindowResizeService.registerProp(this.classes).subscribe(newValue => (this.classString = `${newValue}`));\n WindowResizeService.registerProp(this.position).subscribe(newValue => (this.position = newValue as string));\n WindowResizeService.registerProp(this.horizontal).subscribe(newValue => this.hostElement.setAttribute('horizontal', newValue as ContentLineTextAlignOptions));\n WindowResizeService.registerProp(this.vertical).subscribe(newValue => this.hostElement.setAttribute('vertical', newValue as ContentVerticalAlignments));\n WindowResizeService.registerProp(this.fullScreen).subscribe(newValue => {\n this.fullScreen = newValue as string;\n this.isFullScreen = (newValue as string) === 'true';\n });\n WindowResizeService.registerProp(this.open).subscribe(newValue => {\n this.hostElement.setAttribute('open', newValue as string);\n });\n this.hasCloseButton = !!this.hostElement.querySelector('[slot=\"closeButton\"]');\n }\n\n closeOverlayButtonClicked(event) {\n event.preventDefault();\n this.closeOverlay();\n }\n\n render() {\n return (\n <Host class={`${this.activeClass} ${this.classString}`} position={this.position}>\n <div class=\"content-block-overlay-container\">\n <div class={`content-overlay-background ${this.isActive ? 'active' : ''}`}>\n <div ref={element => (this.dialogElement = element)} role=\"dialog\" aria-modal=\"true\" class={this.isActive ? 'active' : 'hidden'} aria-expanded={this.isActive}>\n <div class=\"content-overlay__header\">\n <button\n onClick={e => {\n this.closeOverlayButtonClicked(e);\n }}\n class=\"content-overlay__close\"\n title={this.closeTitle}\n >\n {!this.hasCloseButton && (\n <svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 24 24\" stroke-width=\"1.5\" stroke=\"currentColor\">\n <path stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M6 18 18 6M6 6l12 12\" />\n </svg>\n )}\n <slot name=\"closeButton\"></slot>\n </button>\n <slot name=\"header\"></slot>\n </div>\n <div class=\"content-overlay__content\" ref={(el: HTMLDivElement) => (this.contentSlot = el)}>\n <slot name=\"content\"></slot>\n <slot></slot>\n </div>\n </div>\n </div>\n </div>\n </Host>\n );\n }\n\n componentDidRender() {\n if (this.open === 'true') {\n this.openOverlay();\n }\n if (this.isActive && this.focusTrap && !this.focusTrap.active) {\n try {\n this.focusTrap.activate();\n } catch (e) {\n console.log(e);\n }\n }\n }\n}\n","content-spacer {\n display: block;\n width: 100%;\n height: auto;\n .content-spacer__content {\n width: 100%;\n }\n &[full-height=\"true\"] {\n height: 100%;\n }\n &[text-align=\"left\"] {\n text-align: left;\n }\n &[text-align=\"center\"] {\n text-align: center;\n }\n &[text-align=\"right\"] {\n text-align: right;\n }\n &[horizontal=\"left\"] {\n margin-left: 0;\n margin-right: auto;\n }\n &[horizontal=\"center\"] {\n margin-left: auto;\n margin-right: auto;\n }\n &[horizontal=\"right\"] {\n margin-left: auto;\n margin-right: 0;\n }\n\n &[vertical] {\n display: flex;\n // flex-direction: column;\n }\n\n &[vertical=\"top\"] {\n align-items: flex-start;\n }\n &[vertical=\"center\"] {\n align-items: center;\n }\n &[vertical=\"bottom\"] {\n align-items: flex-end;\n }\n}","import { Component, h, Prop, State, Host } from '@stencil/core';\nimport { WindowResizeService } from '../../services/window-resize-service';\nimport { ContentLineTextAlignOptions, ContentVerticalAlignments, ResponsiveBoolean, ResponsiveNumber, ResponsiveString } from '../../typings';\n\n/**\n * @slot content - Inner contents of spacing wrapper, can be anything.\n * @slot - Default slot, same as content slot.\n */\n@Component({\n tag: 'content-spacer',\n styleUrls: ['content-spacer.scss'],\n shadow: false,\n})\nexport class ContentSpacingWrapper {\n /**\n * @type String\n * @responsive\n */\n @Prop() classes: ResponsiveString;\n @State() classString;\n /**\n * Pipe separated list of max width numbers. You can also use units such as \"px\" and \"vw\".\n * @type String\n * @responsive\n */\n @Prop() maxWidth: ResponsiveNumber = '100';\n\n /**\n * Pipe separated boolean values for full height. Typically, this is used if you have a hero block and you want a footer that aligns with the text layer. This is a niche case, but a valid one.\n * @type Boolean\n * @responsive\n */\n @Prop({\n reflect: true,\n mutable: true,\n })\n fullHeight: ResponsiveBoolean = 'false';\n\n /**\n * Pipe separated list of ContentLineTextAlignOptions for text alignment.\n * @type Select\n * @options default\n * @options left\n * @options center\n * @options right\n * @responsive\n */\n @Prop({\n reflect: true,\n mutable: true,\n })\n textAlign: ContentLineTextAlignOptions = 'default';\n\n /**\n * Pipe separated list of ContentLineTextAlignOptions for where to place text box when a max width is specified.\n * @type Select\n * @options default\n * @options left\n * @options center\n * @options right\n * @responsive\n */\n @Prop({\n reflect: true,\n mutable: true,\n })\n horizontal: ContentLineTextAlignOptions = 'default';\n\n /**\n * Pipe separated list of ContentVerticalAlignments for text box placement.\n * @type Select\n * @options top\n * @options center\n * @options bottom\n * @options default\n * @responsive\n */\n @Prop({\n mutable: true,\n reflect: true,\n })\n vertical: ResponsiveString | ContentVerticalAlignments = '';\n\n /**\n * Pipe separated numbers between 0 and 100. Units without values are assumed to be %.\n * @type Number\n * @string\n * @responsive\n */\n @Prop() topOffset: ResponsiveNumber = '0';\n\n /**\n * Pipe separated numbers between 0 and 100. Units without values are assumed to be %.\n * @type Number\n * @string\n * @responsive\n */\n @Prop() bottomOffset: ResponsiveNumber = '0';\n\n /**\n * Pipe separated numbers between 0 and 100. Units without values are assumed to be %.\n * @type Number\n * @string\n * @responsive\n */\n @Prop() leftOffset: ResponsiveNumber = '0';\n\n /**\n * Pipe separated numbers between 0 and 100. Units without values are assumed to be %.\n * @type Number\n * @string\n * @responsive\n */\n @Prop() rightOffset: ResponsiveNumber = '0';\n\n @State() inlineStyle?: { [key: string]: string } = {};\n\n componentWillLoad() {\n WindowResizeService.registerProp(this.fullHeight).subscribe(newValue => (this.fullHeight = newValue as string));\n WindowResizeService.registerProp(this.textAlign).subscribe(newValue => (this.textAlign = newValue as ContentLineTextAlignOptions));\n WindowResizeService.registerProp(this.horizontal).subscribe(newValue => (this.horizontal = newValue as ContentLineTextAlignOptions));\n WindowResizeService.registerProp(this.vertical).subscribe(newValue => (this.vertical = newValue as ContentVerticalAlignments));\n WindowResizeService.registerProp(this.maxWidth).subscribe(newValue => {\n this.inlineStyle = { ...this.inlineStyle, 'max-width': isNaN(newValue as any) ? (newValue as string) : newValue + '%' };\n });\n WindowResizeService.registerProp(this.topOffset).subscribe(newValue => {\n this.inlineStyle = { ...this.inlineStyle, 'padding-top': isNaN(newValue as any) ? (newValue as string) : newValue + '%' };\n });\n WindowResizeService.registerProp(this.bottomOffset).subscribe(newValue => {\n this.inlineStyle = { ...this.inlineStyle, 'padding-bottom': isNaN(newValue as any) ? (newValue as string) : newValue + '%' };\n });\n WindowResizeService.registerProp(this.leftOffset).subscribe(newValue => {\n this.inlineStyle = { ...this.inlineStyle, 'padding-left': isNaN(newValue as any) ? (newValue as string) : newValue + '%' };\n });\n WindowResizeService.registerProp(this.rightOffset).subscribe(newValue => {\n this.inlineStyle = { ...this.inlineStyle, 'padding-right': isNaN(newValue as any) ? (newValue as string) : newValue + '%' };\n });\n WindowResizeService.registerProp(this.classes).subscribe(newValue => (this.classString = newValue as string));\n }\n\n render() {\n return (\n <Host class={this.classString} style={this.inlineStyle}>\n <div class=\"content-spacer__content\">\n <slot name=\"content\"></slot>\n <slot></slot>\n </div>\n </Host>\n );\n }\n}\n","content-text-block {\n display: block;\n width: 100%;\n // height: 100%; // for content-block-tout mediaContent button positioning\n text-align: initial;\n // content-hero-block &,\n // content-grid-formatter & {\n // height: auto;\n // &[vertical=\"bottom\"],\n // &[vertical=\"center\"] {\n // height: 100%;\n // }\n // }\n \n &[full-height=\"true\"] {\n height: 100%;\n }\n > *[slot=\"footer\"] {\n margin-top: auto;\n margin-bottom: 0;\n width: 100%;\n padding-top: 1rem;\n height: auto;\n // @media #{$tablet-landscape-up} {\n // margin-top: auto;\n // margin-bottom: 0;\n // width: 100%;\n // }\n }\n &[vertical=\"bottom\"] > [slot=\"footer\"] {\n position: static;\n height: auto;\n }\n &[vertical] {\n display: flex;\n flex-direction: column;\n }\n\n &[vertical=\"top\"] {\n justify-content: flex-start;\n }\n &[vertical=\"center\"] {\n justify-content: center;\n &[footer=\"true\"] {\n .content-text-block__content {\n margin-top: auto;\n margin-bottom: 0;\n }\n }\n }\n &[vertical=\"bottom\"] {\n justify-content: flex-end;\n &[footer=\"true\"] {\n .content-text-block__content {\n margin-top: auto;\n margin-bottom: 0;\n }\n > [slot=\"footer\"] {\n margin-top: 0;\n }\n }\n }\n\n &[text-align=\"left\"] {\n text-align: left;\n }\n &[text-align=\"center\"] {\n text-align: center;\n }\n &[text-align=\"right\"] {\n text-align: right;\n }\n}","import { Component, h, Host, Element, State } from '@stencil/core';\nimport { HTMLStencilElement, Prop } from '@stencil/core/internal';\nimport { WindowResizeService } from '../../services/window-resize-service';\nimport { ContentVerticalAlignments, ResponsiveString, ContentLineTextAlignOptions } from '../../typings';\nimport { objectToCssString } from '../../utils/utils';\n\n/**\n * @slot content - This slot will usually serve a text block.\n * @slot footer - This slot is placed below the content slot\n * @slot - Default slot, same as content slot\n */\n@Component({\n tag: 'content-text-block',\n styleUrl: 'content-text-block.scss',\n shadow: false,\n})\nexport class ContentTextBlock {\n /**\n * This is a pipe separated string representing the style class.\n * @type String\n * @responsive\n */\n @Prop() classes: ResponsiveString;\n @State() classString;\n\n /**\n * This is a pipe separated string representing the minimum height. Units without values default to pixels.\n * @type String\n * @responsive\n */\n @Prop({\n mutable: true,\n reflect: true,\n })\n minHeight: ResponsiveString;\n\n /**\n * Pipe separated list of ContentVerticalAlignments for text box placement.\n * @type Select\n * @options top\n * @options center\n * @options bottom\n * @responsive\n */\n @Prop({\n mutable: true,\n reflect: true,\n })\n vertical: ContentVerticalAlignments = 'top';\n\n /**\n * @type Boolean\n * @responsive\n */\n @Prop({\n mutable: true,\n reflect: true,\n })\n fullHeight: ResponsiveString = 'false';\n\n /**\n * Pipe separated list of ContentLineTextAlignOptions for text alignment.\n * @type Select\n * @options default\n * @options left\n * @options center\n * @options right\n * @responsive\n */\n @Prop({\n mutable: true,\n reflect: true,\n })\n textAlign: ContentLineTextAlignOptions = 'default';\n @Element() hostElement: HTMLStencilElement;\n @State() inlineStyle?: { [key: string]: string } = {};\n componentWillLoad() {\n if (!!this.hostElement.querySelector('[slot=\"footer\"]')) {\n this.hostElement.setAttribute('footer', 'true');\n }\n WindowResizeService.registerProp(this.minHeight).subscribe(newValue => {\n this.inlineStyle = { ...this.inlineStyle, 'min-height': isNaN(newValue as any) ? (newValue as string) : newValue + 'px' };\n });\n WindowResizeService.registerProp(this.textAlign).subscribe(newValue => this.hostElement.setAttribute('text-align', newValue as ContentLineTextAlignOptions));\n WindowResizeService.registerProp(this.vertical).subscribe(newValue => this.hostElement.setAttribute('vertical', newValue as ContentVerticalAlignments));\n WindowResizeService.registerProp(this.fullHeight).subscribe(newValue => {\n this.hostElement.setAttribute('full-height', newValue as string);\n });\n WindowResizeService.registerProp(this.classes).subscribe(newValue => (this.classString = newValue as string));\n }\n render() {\n return (\n <Host class={this.classString} style={this.inlineStyle}>\n <div class=\"content-text-block__content\">\n <slot name=\"content\"></slot>\n <slot></slot>\n </div>\n <slot name=\"footer\"></slot>\n </Host>\n );\n }\n}\n","content-tout-block {\n .content-tout-block__media {\n position: relative;\n }\n .content-tout-block__media-content {\n position: absolute;\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n overflow: hidden;\n [slot=\"mediaContent\"] {\n height: 100%;\n width: 100%;\n }\n }\n\n &[hover=\"true\"] {\n .content-tout-block__media-content {\n transition: opacity .3s;\n @media (hover: hover) {\n opacity: 0;\n &:hover,\n &:focus,\n &:focus-within {\n opacity: 1;\n }\n }\n }\n }\n}","import { Component, h, Host, Element } from '@stencil/core';\nimport { HTMLStencilElement, Prop, State } from '@stencil/core/internal';\nimport { WindowResizeService } from '../../services/window-resize-service';\nimport { ResponsiveBoolean, ResponsiveString } from '../../typings';\n\n/**\n * @slot media - This slot is usually a video or image component.\n * @slot mediaContent - This is a layer that floats the media layer and is revealed on hover.\n * @slot content - This slot will usually serve a text block.\n * @slot - Default slot, same as content slot.\n */\n@Component({\n tag: 'content-tout-block',\n styleUrl: 'content-tout-block.scss',\n shadow: false,\n})\nexport class ContentToutBlock {\n /**\n * If true, the media content will show only on hover\n * @type Boolean\n * @responsive\n */\n @Prop({\n mutable: true,\n reflect: true,\n })\n hover: ResponsiveBoolean = 'false|true';\n\n /**\n * @type String\n * @responsive\n */\n @Prop() classes: ResponsiveString;\n @State() classString;\n\n @Element() hostElement: HTMLStencilElement;\n hasMediaContent: boolean;\n\n @State() hasHoverContent: boolean = false;\n\n componentWillLoad() {\n this.hasMediaContent = !!this.hostElement.querySelector('[slot=\"mediaContent\"]');\n WindowResizeService.registerProp(this.hover).subscribe(newValue => (this.hover = newValue as string));\n WindowResizeService.registerProp(this.classes).subscribe(newValue => (this.classString = newValue as string));\n }\n\n render() {\n return (\n <Host hover={this.hover} class={this.classString}>\n <div class=\"content-tout-block__media\">\n <slot name=\"media\"></slot>\n {this.hasMediaContent && (\n <div class=\"content-tout-block__media-content\">\n <slot name=\"mediaContent\"></slot>\n </div>\n )}\n </div>\n <div class=\"content-tout-block__content\">\n <slot name=\"content\"></slot>\n <slot></slot>\n </div>\n </Host>\n );\n }\n}\n","@import \"'~video.js/dist/video-js.min.css\";\ncontent-video {\n display: block;\n width: 100%;\n position: relative;\n // &.hydrated {\n // height: 100%;\n // &.content-video--fit-container {\n // .video-js.vjs-fluid {\n // height: 100%;\n // padding: 0; // remove padding aspect ratio hack\n // }\n // }\n // }\n\n &.content-video--fit-container {\n .video-js.vjs-fluid {\n height: 100%;\n padding: 0; // remove padding aspect ratio hack\n }\n }\n \n &[fit-container='true'] {\n height: 100%;\n }\n\n .content-video__content {\n display: block;\n width: 100%;\n height: 100%;\n }\n\n .content-video__poster {\n position: relative;\n }\n .content-video__play {\n display: none;\n }\n // .content-video__play {\n // cursor: pointer;\n // appearance: none;\n // border: none;\n // background: transparent;\n // position: absolute;\n // top: 0;\n // left: 0;\n // width: 100%;\n // height: 100%;\n // display: flex;\n // align-items: center;\n // justify-content: center;\n // z-index: 1;\n\n // &:before {\n // content: '\\25BA';\n // font-size: 100px;\n // }\n // }\n\n .vjs-content-block-theme {\n &.video-js {\n width: 100%;\n height: 100%;\n\n video.vjs-tech {\n position: static;\n }\n }\n &.vjs-ended,\n &.vjs-waiting {\n .vjs-loading-spinner {\n display: none;\n }\n }\n &:hover,\n &:focus {\n &:not(:focus-visible) {\n // background: transparent;\n }\n .vjs-big-play-button {\n background-color: transparent;\n }\n }\n .vjs-big-play-button {\n position: absolute;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n border: none;\n background: transparent;\n .vjs-icon-placeholder {\n display: block;\n width: 100%;\n height: 100%;\n &:before {\n display: none;\n }\n }\n }\n }\n\n .vjs-poster {\n display: none;\n }\n}\n","import { Component, h, Host } from '@stencil/core';\nimport { Element, HTMLStencilElement, Prop, State } from '@stencil/core/internal';\nimport { WindowResizeService } from '../../services/window-resize-service';\nimport { ResponsiveString } from '../../typings';\nimport { getCurrentValue, getHydratedClassString } from '../../utils/utils';\nexport type SupportedVideoMethods = 'html5' | 'youtube';\n\n/**\n * @slot poster - Poster shown before video is played.\n * @slot playButton - Play button contents.\n * @slot no-js-message - Contents of no JS message.\n * @slot content - Adjacent to no-js message for video. Usually not needed.\n * @slot - Default slot, same as content slot.\n */\n@Component({\n tag: 'content-video',\n styleUrls: ['content-video.scss'],\n shadow: false,\n})\nexport class ContentVideo {\n public player: any;\n videoElement!: HTMLVideoElement;\n @Element() hostElement: HTMLStencilElement;\n /**\n * @type Select\n * @options youtube\n * @options html5\n */\n @Prop() method: SupportedVideoMethods = 'youtube';\n /**\n * If you're using this inside a content-overlay for example, you may want the video to play immediately on launch.\n * @type Boolean\n */\n @Prop() autoplay: boolean = false;\n /**\n * Supports YouTube and self hosted URLs.\n * @type String\n */\n @Prop() src: string = '';\n /**\n * @type Number\n */\n @Prop() width: number = 16;\n /**\n * @type Number\n */\n @Prop() height: number = 9;\n /**\n * @type String\n */\n @Prop() type: string = 'video/mp4';\n /**\n * @type String\n */\n @Prop() playButtonAriaLabel: string = 'Play';\n /**\n * @type String\n * @responsive\n */\n @Prop({\n mutable: true,\n reflect: true,\n })\n classes: ResponsiveString;\n @State() classString;\n /**\n * @type Boolean\n */\n @Prop() controls: boolean = true;\n /**\n * @type String\n */\n @Prop() preload: string = 'metadata';\n /**\n * Fit the container this video is placed in. When the video is used in an overlay or another place where the video will takeover the existing height, it is recommended to enable this option.\n * @responsive\n * @type String\n */\n @Prop({\n mutable: true,\n reflect: true,\n })\n fitContainer: ResponsiveString = 'false';\n @State() isLoaded: boolean = false;\n @State() hasPoster: boolean = false;\n @State() isPlayed: boolean = false;\n\n computedVideoConfig() {\n let videoConfig = {};\n videoConfig = {\n fill: getCurrentValue(this.fitContainer) === 'true',\n fluid: getCurrentValue(this.fitContainer) === 'false',\n autoplay: this.autoplay === true ? 'muted' : false,\n techOrder: ['youtube'],\n src: this.src,\n sources: [\n {\n type: 'video/youtube',\n src: this.src,\n },\n ],\n youtube: {\n showinfo: 0,\n rel: 0,\n modestbranding: 1,\n },\n };\n return videoConfig;\n }\n\n initVideo() {\n this.isLoaded = true;\n }\n\n componentWillLoad() {\n WindowResizeService.registerProp(this.classes).subscribe(newValue => (this.classString = newValue));\n }\n\n componentDidLoad() {\n let self = this;\n let options = {\n root: null,\n rootMargin: '0px',\n threshold: 0.1,\n };\n\n let observer = new IntersectionObserver(entries => {\n let videojs;\n entries.forEach(async entry => {\n if (entry.isIntersecting) {\n if (!videojs) {\n videojs = await import('video.js');\n await import('videojs-youtube/dist/Youtube.js');\n }\n this.hasPoster = !!this.hostElement.querySelector('[slot=\"poster\"]');\n if (this.videoElement && !this.player) {\n this.player = videojs.default(this.videoElement, this.computedVideoConfig(), function onPlayerReady() {\n self.initVideo();\n if (self.hasPoster || self.autoplay) {\n self.isPlayed = true;\n setTimeout(() => this.play(), 1);\n }\n });\n }\n }\n });\n }, options);\n observer.observe(this.hostElement);\n }\n\n onClickHandler(event: MouseEvent) {\n event.preventDefault();\n if (!this.isLoaded) {\n return false;\n }\n this.initVideo();\n this.isPlayed = true;\n this.player.play();\n if (this.method === 'html5') {\n this.videoElement.play();\n }\n }\n\n render() {\n let showPlayButton = !this.autoplay && ((this.hasPoster && !this.isPlayed) || !this.isPlayed);\n return (\n <Host class={this.classString}>\n {this.hasPoster && !this.isLoaded && (\n <div class=\"content-video__poster\">\n <slot name=\"poster\"></slot>\n </div>\n )}\n {showPlayButton && (\n <button class=\"content-video__play\" aria-label={this.playButtonAriaLabel} onClick={ev => this.onClickHandler(ev)}>\n <slot name=\"playButton\"></slot>\n </button>\n )}\n <div class=\"content-video__content\">\n {(!this.hasPoster || this.isLoaded) && (\n <video\n ref={element => (this.videoElement = element)}\n class=\"video-js vjs-content-block-theme\"\n controls={this.controls}\n preload={this.preload}\n width={this.width}\n height={this.height}\n crossorigin=\"anonymous\"\n data-setup={this.computedVideoConfig()}\n >\n <slot name=\"no-js-message\"></slot>\n <slot name=\"content\"></slot>\n <slot></slot>\n </video>\n )}\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
@@ -17,7 +17,7 @@ const patchBrowser = () => {
|
|
|
17
17
|
};
|
|
18
18
|
|
|
19
19
|
patchBrowser().then(options => {
|
|
20
|
-
return index.bootstrapLazy([["content-split-block.cjs",[[4,"content-split-block",{"reverse":[1544],"columns":[1],"classes":[1537],"classString":[32]}]]],["content-carousel.cjs",[[4,"content-carousel",{"initMethod":[1,"init-method"],"swiperOptions":[1,"swiper-options"]},[[0,"setSwiperOptions","setSwiperOptionsCallback"]]]]],["content-navigation-block.cjs",[[4,"content-navigation-block",{"hamburger":[1537],"classes":[1537],"classString":[32],"ariaExpanded":[32],"bodyToggle":[32],"skipAccessibilityMessage":[32],"hasOpenButton":[32],"hasCloseButton":[32],"openButton":[32],"closeButton":[32],"contentSlot":[32]}]]],["content-tabs.cjs",[[4,"content-tabs",{"classes":[1537],"classString":[32]}]]],["content-accordion_11.cjs",[[4,"content-accordion",{"open":[1],"animationStart":[1,"animation-start"],"animationEnd":[1,"animation-end"],"animationTime":[2,"animation-time"],"revealElement":[32],"isOpen":[32],"randomID":[32],"classString":[32]}],[4,"content-button",{"href":[1537],"target":[1],"classes":[1],"clickableBlock":[4,"clickable-block"],"expanded":[1537],"controls":[1],"linkLabel":[1,"link-label"],"linkClass":[1537,"link-class"],"classString":[32],"hasContentToActivate":[32]}],[4,"content-hero-block",{"contentPosition":[1537,"content-position"],"classes":[1],"hasBackground":[32],"classString":[32],"revealHiddenContent":[32]},[[8,"
|
|
20
|
+
return index.bootstrapLazy([["content-split-block.cjs",[[4,"content-split-block",{"reverse":[1544],"columns":[1],"classes":[1537],"classString":[32]}]]],["content-carousel.cjs",[[4,"content-carousel",{"initMethod":[1,"init-method"],"swiperOptions":[1,"swiper-options"]},[[0,"setSwiperOptions","setSwiperOptionsCallback"]]]]],["content-navigation-block.cjs",[[4,"content-navigation-block",{"hamburger":[1537],"classes":[1537],"classString":[32],"ariaExpanded":[32],"bodyToggle":[32],"skipAccessibilityMessage":[32],"hasOpenButton":[32],"hasCloseButton":[32],"openButton":[32],"closeButton":[32],"contentSlot":[32]}]]],["content-tabs.cjs",[[4,"content-tabs",{"classes":[1537],"classString":[32]}]]],["content-accordion_11.cjs",[[4,"content-accordion",{"open":[1],"animationStart":[1,"animation-start"],"animationEnd":[1,"animation-end"],"animationTime":[2,"animation-time"],"revealElement":[32],"isOpen":[32],"randomID":[32],"classString":[32]}],[4,"content-button",{"href":[1537],"target":[1],"classes":[1],"clickableBlock":[4,"clickable-block"],"expanded":[1537],"controls":[1],"linkLabel":[1,"link-label"],"linkClass":[1537,"link-class"],"classString":[32],"hasContentToActivate":[32]}],[4,"content-hero-block",{"contentPosition":[1537,"content-position"],"classes":[1],"hasBackground":[32],"classString":[32],"revealHiddenContent":[32]},[[8,"open","contentBlockActivationHandler"]]],[4,"content-image",{"classes":[1537],"lazyLoad":[4,"lazy-load"],"src":[1025],"alt":[1537],"width":[1025],"height":[1025],"aspectRatio":[1025,"aspect-ratio"],"type":[1],"videoType":[1,"video-type"],"showContent":[1537,"show-content"],"activeSrc":[32],"lazyLoadIsComplete":[32],"showVideoAsGif":[32],"activeLazyLoadClass":[32],"classString":[32],"inlineStyle":[32],"hasMediaContent":[32],"pictureImageSrc":[32]},null,{"lazyLoadIsComplete":["watchLazyLoadIsComplete"]}],[4,"content-line",{"tag":[1],"textAlign":[1,"text-align"],"classes":[8],"maxWidth":[1,"max-width"],"classString":[32],"inlineStyle":[32]}],[4,"content-overlay",{"target":[1],"open":[1537],"fullScreen":[1537,"full-screen"],"classes":[1],"horizontal":[1537],"vertical":[1537],"closeTitle":[1,"close-title"],"position":[1537],"isActive":[32],"activeClass":[32],"classString":[32],"contentSlot":[32],"isFullScreen":[32],"hasCloseButton":[32],"originalMarkup":[32],"openOverlay":[64],"closeOverlay":[64]},[[0,"toggle","onContentBlockToggle"],[0,"open","onContentBlockActivated"],[0,"close","onContentBlockDeactivated"]]],[4,"content-spacer",{"classes":[1],"maxWidth":[1,"max-width"],"fullHeight":[1537,"full-height"],"textAlign":[1537,"text-align"],"horizontal":[1537],"vertical":[1537],"topOffset":[1,"top-offset"],"bottomOffset":[1,"bottom-offset"],"leftOffset":[1,"left-offset"],"rightOffset":[1,"right-offset"],"classString":[32],"inlineStyle":[32]}],[4,"content-text-block",{"classes":[1],"minHeight":[1537,"min-height"],"vertical":[1537],"fullHeight":[1537,"full-height"],"textAlign":[1537,"text-align"],"classString":[32],"inlineStyle":[32]}],[4,"content-tout-block",{"hover":[1537],"classes":[1],"classString":[32],"hasHoverContent":[32]}],[4,"content-video",{"method":[1],"autoplay":[4],"src":[1],"width":[2],"height":[2],"type":[1],"playButtonAriaLabel":[1,"play-button-aria-label"],"classes":[1537],"controls":[4],"preload":[1],"fitContainer":[1537,"fit-container"],"classString":[32],"isLoaded":[32],"hasPoster":[32],"isPlayed":[32]}],[4,"content-grid-formatter",{"classes":[1],"type":[1537],"flexGrow":[1537,"flex-grow"],"flexShrink":[1537,"flex-shrink"],"vertical":[1537],"horizontal":[1537],"columns":[1537],"columnGap":[1537,"column-gap"],"rowGap":[1537,"row-gap"],"classString":[32],"activeClassString":[32],"inlineStyle":[32]}]]]], options);
|
|
21
21
|
});
|
|
22
22
|
|
|
23
23
|
exports.setNonce = index.setNonce;
|