import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
import { g as getAssetPath } from './assetPath.js';
import { d as defineCustomElement$8 } from './ecl-description-list2.js';
import { d as defineCustomElement$7 } from './ecl-description-list-definition2.js';
import { d as defineCustomElement$6 } from './ecl-description-list-term2.js';
import { d as defineCustomElement$5 } from './ecl-icon2.js';
import { d as defineCustomElement$4 } from './ecl-label2.js';
import { d as defineCustomElement$3 } from './ecl-link2.js';
import { d as defineCustomElement$2 } from './ecl-picture2.js';

const eclFileEcCss = ".ecl-file.sc-ecl-file-ec{border-radius:0;margin:0;max-width:823px;overflow:hidden}.ecl-file__container.sc-ecl-file-ec{align-items:center;background-color:#f5f5f5;border:1px solid #cfcfcf;display:flex;flex-wrap:wrap;padding:1.5rem}.ecl-file__icon.sc-ecl-file-ec{align-self:center;fill:#9f9f9f}.ecl-file__info.sc-ecl-file-ec{display:flex;flex-basis:50%;flex-grow:1;flex-wrap:wrap;margin-inline-start:1rem}.ecl-file__title.sc-ecl-file-ec{color:#404040;font:normal normal 400 1rem/1.25rem arial, sans-serif;font-weight:700;width:100%}.ecl-file__language.sc-ecl-file-ec{color:#404040;font:normal normal 400 0.875rem/1rem arial, sans-serif;font-weight:700;margin-inline-end:0.5rem;margin-top:0.25rem}.ecl-file__meta.sc-ecl-file-ec{color:#404040;font:normal normal 400 0.875rem/1rem arial, sans-serif;margin-top:0.25rem}.ecl-file__detail.sc-ecl-file-ec{border-bottom:1px solid #d9d9d9;display:flex;flex-direction:column;margin-bottom:1rem;padding-bottom:1rem;width:100%}.ecl-file__detail-meta.sc-ecl-file-ec{color:#707070;display:flex;font:normal normal 400 0.875rem/1rem arial, sans-serif;margin-bottom:0.5rem}.ecl-file__detail-meta-item.sc-ecl-file-ec{margin-inline-start:1rem}.ecl-file__detail-meta-item.sc-ecl-file-ec::before{color:#004494;content:\"|\";margin-inline-end:1rem}.ecl-file__detail-meta-item.sc-ecl-file-ec:first-of-type{margin-inline-start:0;text-transform:uppercase}.ecl-file__detail-meta-item.sc-ecl-file-ec:first-of-type::before{display:none}.ecl-file__description.sc-ecl-file-ec{color:#404040;font:normal normal 400 1rem/1.5rem arial, sans-serif;margin-top:0.5rem;max-width:80ch;white-space:pre-wrap}.ecl-file__image.sc-ecl-file-ec{display:block;margin-top:1rem;max-width:13.125rem}.ecl-file__taxonomy.sc-ecl-file-ec{border-bottom:1px solid #d9d9d9;margin-bottom:1rem;padding-bottom:1rem;width:100%}.ecl-file__label.sc-ecl-file-ec{display:inline-flex;flex-basis:100%;margin-bottom:1rem;margin-inline-end:0.5rem}.ecl-file__translation-language.sc-ecl-file-ec{color:#404040;font:normal normal 400 0.875rem/1rem arial, sans-serif;font-weight:700}.ecl-file__translation-container.sc-ecl-file-ec{border:0;border-end-start-radius:0;border-end-end-radius:0;border-top:0;display:flex;flex-direction:column;padding-inline-start:1.5rem;padding-inline-end:1.5rem}.ecl-file__translation-toggle.sc-ecl-file-ec{align-self:flex-end;border:0;font:normal normal 400 1rem/1.25rem arial, sans-serif;font-weight:400;margin-bottom:0.25rem;margin-inline-end:-1rem;margin-top:0.25rem;padding:0.75rem 1rem}.ecl-file__translation-toggle.sc-ecl-file-ec:focus-visible{outline-offset:-5px}.no-js.sc-ecl-file-ec .ecl-file__translation-toggle.sc-ecl-file-ec{display:none}.ecl-file__translation-list.sc-ecl-file-ec{display:none;list-style:none;margin:0;padding-inline-start:0}.no-js.sc-ecl-file-ec .ecl-file__translation-list.sc-ecl-file-ec{display:block}.ecl-file__translation-item.sc-ecl-file-ec{border-top:1px solid #d9d9d9;display:flex;flex-direction:column;justify-content:space-between;padding-bottom:1rem;padding-top:1rem}.ecl-file__translation-item.sc-ecl-file-ec:last-child{padding-bottom:0}.ecl-file__translation-item.sc-ecl-file-ec:first-child{border-top-width:0}.ecl-file__translation-item.sc-ecl-file-ec>span[class*=wt].sc-ecl-file-ec{align-self:center}.ecl-file__translation-info.sc-ecl-file-ec{display:flex;flex-direction:column;flex-grow:1;flex-wrap:wrap}.ecl-file__translation-title.sc-ecl-file-ec{color:#404040;font:normal normal 400 1rem/1.25rem arial, sans-serif;font-weight:700}.ecl-file__translation-meta.sc-ecl-file-ec{color:#404040;font:normal normal 400 0.875rem/1rem arial, sans-serif;margin-top:0.25rem}.ecl-file__download.sc-ecl-file-ec,.ecl-file__translation-download.sc-ecl-file-ec{align-self:center;font:normal normal 400 1rem/1.25rem arial, sans-serif;margin-top:1.5rem;width:100%}.ecl-file__translation-description.sc-ecl-file-ec{color:#404040;display:block;font:normal normal 400 1rem/1.25rem arial, sans-serif;max-width:80ch}.ecl-file__translation-container[aria-expanded=true].sc-ecl-file-ec .ecl-file__translation-list.sc-ecl-file-ec{display:block}.ecl-file__translation-container[aria-expanded=true].sc-ecl-file-ec .ecl-file__translation-toggle.sc-ecl-file-ec .ecl-button__icon.sc-ecl-file-ec{transform:rotate(0)}@media (min-width: 480px){.ecl-file__download.sc-ecl-file-ec,.ecl-file__translation-download.sc-ecl-file-ec{margin-top:0;width:auto}.ecl-file__info.sc-ecl-file-ec{margin-inline-end:1rem}.ecl-file__translation-item.sc-ecl-file-ec{flex-direction:row;max-width:100%}}@media (min-width: 768px){.ecl-file__translation-container.sc-ecl-file-ec{padding-inline-start:5.5rem}.ecl-file__detail.sc-ecl-file-ec{flex-direction:row}.ecl-file__detail-info.sc-ecl-file-ec{flex-grow:1}.ecl-file__download.sc-ecl-file-ec{align-self:center;margin-top:0}.ecl-file__image.sc-ecl-file-ec{align-self:flex-start;margin-inline-start:2rem;margin-inline-end:0;margin-top:0}.ecl-file__taxonomy.sc-ecl-file-ec{margin-bottom:1rem;padding-bottom:1rem}}.ecl-file--thumbnail.sc-ecl-file-ec .ecl-file__container.sc-ecl-file-ec{padding-bottom:1.5rem}.ecl-file--thumbnail.sc-ecl-file-ec .ecl-file__info.sc-ecl-file-ec{margin-inline-start:0}.ecl-file--thumbnail.sc-ecl-file-ec .ecl-file__title.sc-ecl-file-ec{font:normal normal 400 1rem/1.5rem arial, sans-serif;font-weight:700}.ecl-file--thumbnail.sc-ecl-file-ec .ecl-file__language.sc-ecl-file-ec,.ecl-file--thumbnail.sc-ecl-file-ec .ecl-file__meta.sc-ecl-file-ec{margin-top:0}.ecl-file--thumbnail.sc-ecl-file-ec .ecl-file__translation-container.sc-ecl-file-ec{padding-inline-start:1.5rem}.ecl-file--thumbnail.sc-ecl-file-ec .ecl-file__translation-item.sc-ecl-file-ec{flex-direction:row;flex-wrap:wrap}.ecl-file--thumbnail.sc-ecl-file-ec .ecl-file__translation-item.sc-ecl-file-ec:first-of-type{border-top-width:0;padding-top:0}.ecl-file--thumbnail.sc-ecl-file-ec .ecl-file__translation-detail.sc-ecl-file-ec{flex-basis:100%;margin-bottom:0.5rem}.ecl-file--thumbnail.sc-ecl-file-ec .ecl-file__translation-info.sc-ecl-file-ec{align-items:center;flex-direction:row}.ecl-file--thumbnail.sc-ecl-file-ec .ecl-file__translation-title.sc-ecl-file-ec{font:normal normal 400 1rem/1.5rem arial, sans-serif;font-weight:700;margin-bottom:0.5rem}.ecl-file--thumbnail.sc-ecl-file-ec .ecl-file__translation-meta.sc-ecl-file-ec{margin-inline-start:0.25rem;margin-top:0}.ecl-file__icon.sc-ecl-file-ec{fill:#9f9f9f !important}.ecl-link__icon--after.sc-ecl-file-ec .ecl-link__icon.sc-ecl-file-ec{margin-inline-start:0.5rem !important}.ecl-file.sc-ecl-file-ec .ecl-button.ecl-file__translation-toggle.sc-ecl-file-ec{margin:0.25rem -1rem 0.25rem 0}.ecl-file__description.sc-ecl-file-ec{white-space:normal}.ecl-file__taxonomy.sc-ecl-file-ec *.sc-ecl-file-ec{margin-top:0 !important}";

const eclFileEuCss = ".ecl-file.sc-ecl-file-eu{border-radius:4px;margin:0;max-width:823px;overflow:hidden}.ecl-file__container.sc-ecl-file-eu{align-items:center;background-color:#f3f6fc;border:none;display:flex;flex-wrap:wrap;padding:1.5rem}.ecl-file__icon.sc-ecl-file-eu{align-self:flex-start;fill:#0e47cb}.ecl-file__info.sc-ecl-file-eu{display:flex;flex-basis:50%;flex-grow:1;flex-wrap:wrap;margin-inline-start:0.5rem}.ecl-file__title.sc-ecl-file-eu{color:#515560;font:normal normal 400 1rem/1.25rem arial, sans-serif;font-weight:700;width:100%}.ecl-file__language.sc-ecl-file-eu{color:#515560;font:normal normal 400 0.875rem/1rem arial, sans-serif;font-weight:700;margin-inline-end:0.5rem;margin-top:0.25rem}.ecl-file__meta.sc-ecl-file-eu{color:#515560;font:normal normal 400 0.875rem/1rem arial, sans-serif;margin-top:0.25rem}.ecl-file__detail.sc-ecl-file-eu{border-bottom:1px solid #cfdaf5;display:flex;flex-direction:column;margin-bottom:1rem;padding-bottom:1rem;width:100%}.ecl-file__detail-meta.sc-ecl-file-eu{display:flex;font:normal normal 400 0.875rem/1rem arial, sans-serif;margin-bottom:0.5rem}.ecl-file__detail-meta-item.sc-ecl-file-eu{margin-inline-start:1rem}.ecl-file__detail-meta-item.sc-ecl-file-eu::before{color:#0e47cb;content:\"|\";margin-inline-end:1rem}.ecl-file__detail-meta-item.sc-ecl-file-eu:first-of-type{margin-inline-start:0;text-transform:uppercase}.ecl-file__detail-meta-item.sc-ecl-file-eu:first-of-type::before{display:none}.ecl-file__description.sc-ecl-file-eu{color:#515560;font:normal normal 400 1rem/1.5rem arial, sans-serif;margin-top:0.5rem;max-width:80ch;white-space:pre-wrap}.ecl-file__image.sc-ecl-file-eu{display:block;margin-top:1rem;max-width:13.313rem}.ecl-file__taxonomy.sc-ecl-file-eu{border-bottom:1px solid #cfdaf5;margin-bottom:1.5rem;padding-bottom:1.5rem;width:100%}.ecl-file__label.sc-ecl-file-eu{display:inline-flex;flex-basis:100%;margin-bottom:1rem;margin-inline-end:0.5rem}.ecl-file__translation-language.sc-ecl-file-eu{color:#515560;font:normal normal 400 0.875rem/1rem arial, sans-serif;font-weight:700}.ecl-file__translation-container.sc-ecl-file-eu{border:2px solid #e7edfa;border-end-start-radius:4px;border-end-end-radius:4px;border-top:0;display:flex;flex-direction:column;padding-inline-start:1.5rem;padding-inline-end:1.5rem}.ecl-file__translation-toggle.sc-ecl-file-eu{align-self:flex-end;border:2px solid #0e47cb;font:normal normal 400 1rem/1.25rem arial, sans-serif;font-weight:400;margin-bottom:0.75rem;margin-inline-end:-1rem;margin-top:0.75rem;padding:calc(0.75rem - 2px) calc(1rem - 2px)}.ecl-file__translation-toggle.sc-ecl-file-eu:focus-visible{outline-offset:-5px}.no-js.sc-ecl-file-eu .ecl-file__translation-toggle.sc-ecl-file-eu{display:none}.ecl-file__translation-list.sc-ecl-file-eu{display:none;list-style:none;margin:0;padding-inline-start:0}.no-js.sc-ecl-file-eu .ecl-file__translation-list.sc-ecl-file-eu{display:block}.ecl-file__translation-item.sc-ecl-file-eu{border-top:1px solid #cfdaf5;display:flex;flex-direction:column;justify-content:space-between;padding-bottom:1.5rem;padding-top:1.5rem}.ecl-file__translation-item.sc-ecl-file-eu:last-child{padding-bottom:1.5rem}.ecl-file__translation-item.sc-ecl-file-eu:first-child{border-top-width:0}.ecl-file__translation-item.sc-ecl-file-eu>span[class*=wt].sc-ecl-file-eu{align-self:center}.ecl-file__translation-info.sc-ecl-file-eu{display:flex;flex-direction:column;flex-grow:1;flex-wrap:wrap}.ecl-file__translation-title.sc-ecl-file-eu{color:#515560;font:normal normal 400 1rem/1.25rem arial, sans-serif;font-weight:700}.ecl-file__translation-meta.sc-ecl-file-eu{color:#515560;font:normal normal 400 0.875rem/1rem arial, sans-serif;margin-top:0.25rem}.ecl-file__download.sc-ecl-file-eu,.ecl-file__translation-download.sc-ecl-file-eu{align-self:center;font:normal normal 400 1rem/1.25rem arial, sans-serif;margin-top:1.5rem;width:100%}.ecl-file__translation-description.sc-ecl-file-eu{color:#515560;display:block;font:normal normal 400 1rem/1.25rem arial, sans-serif;max-width:80ch}.ecl-file__translation-container[aria-expanded=true].sc-ecl-file-eu .ecl-file__translation-list.sc-ecl-file-eu{display:block}.ecl-file__translation-container[aria-expanded=true].sc-ecl-file-eu .ecl-file__translation-toggle.sc-ecl-file-eu .ecl-button__icon.sc-ecl-file-eu{transform:rotate(0)}@media (min-width: 480px){.ecl-file__download.sc-ecl-file-eu,.ecl-file__translation-download.sc-ecl-file-eu{margin-top:0;width:auto}.ecl-file__info.sc-ecl-file-eu{margin-inline-end:1rem}.ecl-file__translation-item.sc-ecl-file-eu{flex-direction:row;max-width:100%}}@media (min-width: 768px){.ecl-file__translation-container.sc-ecl-file-eu{padding-inline-start:1.5rem}.ecl-file__detail.sc-ecl-file-eu{flex-direction:row-reverse}.ecl-file__detail-info.sc-ecl-file-eu{flex-grow:1}.ecl-file__download.sc-ecl-file-eu{align-self:center;margin-top:0}.ecl-file__image.sc-ecl-file-eu{align-self:flex-start;margin-inline-start:0;margin-inline-end:2rem;margin-top:0}.ecl-file__taxonomy.sc-ecl-file-eu{margin-bottom:1rem;padding-bottom:1rem}}.ecl-file--thumbnail.sc-ecl-file-eu .ecl-file__container.sc-ecl-file-eu{padding-bottom:1.5rem}.ecl-file--thumbnail.sc-ecl-file-eu .ecl-file__info.sc-ecl-file-eu{margin-inline-start:0}.ecl-file--thumbnail.sc-ecl-file-eu .ecl-file__title.sc-ecl-file-eu{font:normal normal 400 1rem/1.5rem arial, sans-serif;font-weight:700}.ecl-file--thumbnail.sc-ecl-file-eu .ecl-file__language.sc-ecl-file-eu,.ecl-file--thumbnail.sc-ecl-file-eu .ecl-file__meta.sc-ecl-file-eu{margin-top:0}.ecl-file--thumbnail.sc-ecl-file-eu .ecl-file__translation-container.sc-ecl-file-eu{padding-inline-start:1.5rem}.ecl-file--thumbnail.sc-ecl-file-eu .ecl-file__translation-item.sc-ecl-file-eu{flex-direction:row;flex-wrap:wrap}.ecl-file--thumbnail.sc-ecl-file-eu .ecl-file__translation-item.sc-ecl-file-eu:first-of-type{border-top-width:0;padding-top:0}.ecl-file--thumbnail.sc-ecl-file-eu .ecl-file__translation-detail.sc-ecl-file-eu{flex-basis:100%;margin-bottom:1.5rem}.ecl-file--thumbnail.sc-ecl-file-eu .ecl-file__translation-info.sc-ecl-file-eu{align-items:center;flex-direction:row}.ecl-file--thumbnail.sc-ecl-file-eu .ecl-file__translation-title.sc-ecl-file-eu{font:normal normal 400 1rem/1.5rem arial, sans-serif;font-weight:700;margin-bottom:0.75rem}.ecl-file--thumbnail.sc-ecl-file-eu .ecl-file__translation-meta.sc-ecl-file-eu{margin-inline-start:0.25rem;margin-top:0}.ecl-file__icon.sc-ecl-file-eu{fill:#0e47cb !important}.ecl-file__taxonomy.sc-ecl-file-eu *.sc-ecl-file-eu{margin-top:0 !important}.ecl-file__container.sc-ecl-file-eu>*.sc-ecl-file-eu:first-child{align-self:start !important}.ecl-link__icon--after.sc-ecl-file-eu{margin-inline-start:0.5rem !important}.ecl-file__translation-container.sc-ecl-file-eu>*.sc-ecl-file-eu:first-child{align-self:flex-end}.ecl-link--icon-after.sc-ecl-file-eu .ecl-icon.sc-ecl-icon-eu.sc-ecl-file-eu{margin-inline-start:0.5rem}.ecl-file.sc-ecl-file-eu .ecl-button.ecl-file__translation-toggle.sc-ecl-file-eu{border:2px solid #0e47cb;margin:0.75rem -1rem 0.75rem 0}.ecl-file__description.sc-ecl-file-eu{white-space:normal}";

const EclFile$1 = /*@__PURE__*/ proxyCustomElement(class EclFile extends HTMLElement {
    constructor() {
        super();
        this.__registerHost();
        this.theme = 'ec';
        this.styleClass = undefined;
        this.variant = 'default';
        this.downloadLabel = undefined;
        this.downloadLink = undefined;
        this.fileTitle = undefined;
        this.detailMeta = undefined;
        this.language = undefined;
        this.meta = undefined;
        this.image = undefined;
        this.imageAlt = undefined;
        this.ariaLabel = undefined;
        this.labels = undefined;
        this.taxonomies = undefined;
        this.taxonomiesLabel = undefined;
        this.eclScript = false;
    }
    getClass() {
        const styleClasses = [
            `ecl-file`,
            `ecl-file--${this.variant}`,
            this.styleClass
        ];
        return styleClasses.join(' ');
    }
    componentDidRender() {
        if (this.el.querySelector('.ecl-file__translation-list') && this.eclScript) {
            // Clean the html so that the script finds what it expects.
            const translations = this.el.querySelectorAll('.ecl-file__translation-item');
            this.el.querySelector('.ecl-file__translation-list').innerHTML = '';
            this.el.querySelector('.ecl-file__translation-list').append(...translations);
            // Load the ECL vanilla js if not already present.
            const src = getAssetPath('./build/scripts/ecl-file-vanilla.js');
            if (document.querySelector(`script[src="${src}"]`)) {
                document.querySelector(`script[src="${src}"]`).remove();
            }
            const script = document.createElement('script');
            script.src = src;
            script.onload = () => {
                const file = new ECL.FileDownload(this.el.firstElementChild);
                file.init();
            };
            document.body.appendChild(script);
        }
    }
    getLabels() {
        const labelsArray = this.labels ? JSON.parse(this.labels) : '';
        let labelsMarkup = '';
        if (labelsArray) {
            labelsMarkup = labelsArray.map((label) => (h("div", { class: "ecl-file__label" }, h("ecl-label", { variant: label.variant, theme: this.theme }, label.label))));
        }
        return labelsMarkup;
    }
    getMeta() {
        return h("div", { class: "ecl-file__meta" }, this.meta);
    }
    getDetailedMeta() {
        const detailMetaArray = this.detailMeta ? JSON.parse(this.detailMeta) : '';
        let detailMetaMarkup = '';
        if (detailMetaArray) {
            detailMetaMarkup =
                h("div", { class: "ecl-file__detail-meta" }, detailMetaArray.map((meta) => (h("span", { class: "ecl-file__detail-meta-item" }, meta))));
        }
        return detailMetaMarkup;
    }
    getTitle() {
        return h("div", { class: "ecl-file__title" }, this.fileTitle);
    }
    getLanguage() {
        return h("div", { class: "ecl-file__language" }, this.language);
    }
    getDownload() {
        const downloadMarkup = h("ecl-link", { path: this.downloadLink, variant: "standalone", "aria-label": this.ariaLabel }, this.downloadLabel, h("ecl-icon", { theme: this.theme, icon: "download", size: "fluid", slot: "icon-after" }));
        return downloadMarkup;
    }
    render() {
        const isDefault = this.variant == 'default';
        return (h("div", { class: this.getClass(), "data-ecl-file": true }, h("div", { class: "ecl-file__container" }, isDefault ?
            h("ecl-icon", { icon: "file", size: this.theme === 'ec' ? '2xl' : 'm', styleClass: `ecl-file__icon sc-ecl-file-${this.theme}`, theme: this.theme }) :
            h("div", { class: "ecl-file__detail" }, h("div", { class: "ecl-file__detail-info" }, this.getLabels(), this.getDetailedMeta(), this.getTitle(), h("div", { class: "ecl-file__description" }, h("slot", null))), this.image ?
                h("ecl-picture", { image: this.image, imageAlt: this.imageAlt, imgClass: `ecl-file__image sc-ecl-file-${this.theme}`, styleClass: `ecl-file__picture sc-ecl-file-${this.theme}` }, h("slot", { name: "sources" })) : ''), this.taxonomies ?
            h("div", { class: "ecl-file__taxonomy" }, h("ecl-description-list", { theme: this.theme, variant: "horizontal" }, h("ecl-description-list-term", { theme: this.theme, "style-class": `sc-ecl-file-${this.theme}` }, this.taxonomiesLabel), h("ecl-description-list-definition", { theme: this.theme, items: this.taxonomies, type: "taxonomy", "style-class": `sc-ecl-file-${this.theme}` }))) : '', isDefault ?
            h("div", { class: "ecl-file__info" }, this.getLabels(), this.getDetailedMeta(), this.getTitle(), this.getLanguage(), this.getMeta()) :
            h("div", { class: "ecl-file__info" }, this.getLanguage(), this.getMeta()), this.getDownload()), h("slot", { name: "file-translations" })));
    }
    static get assetsDirs() { return ["./build"]; }
    get el() { return this; }
    static get style() { return {
        ec: eclFileEcCss,
        eu: eclFileEuCss
    }; }
}, [38, "ecl-file", {
        "theme": [1],
        "styleClass": [1, "style-class"],
        "variant": [1],
        "downloadLabel": [1, "download-label"],
        "downloadLink": [1, "download-link"],
        "fileTitle": [1, "file-title"],
        "detailMeta": [1, "detail-meta"],
        "language": [1],
        "meta": [1],
        "image": [1],
        "imageAlt": [1, "image-alt"],
        "ariaLabel": [1, "aria-label"],
        "labels": [1],
        "taxonomies": [1],
        "taxonomiesLabel": [1, "taxonomies-label"],
        "eclScript": [4, "ecl-script"]
    }]);
function defineCustomElement$1() {
    if (typeof customElements === "undefined") {
        return;
    }
    const components = ["ecl-file", "ecl-description-list", "ecl-description-list-definition", "ecl-description-list-term", "ecl-icon", "ecl-label", "ecl-link", "ecl-picture"];
    components.forEach(tagName => { switch (tagName) {
        case "ecl-file":
            if (!customElements.get(tagName)) {
                customElements.define(tagName, EclFile$1);
            }
            break;
        case "ecl-description-list":
            if (!customElements.get(tagName)) {
                defineCustomElement$8();
            }
            break;
        case "ecl-description-list-definition":
            if (!customElements.get(tagName)) {
                defineCustomElement$7();
            }
            break;
        case "ecl-description-list-term":
            if (!customElements.get(tagName)) {
                defineCustomElement$6();
            }
            break;
        case "ecl-icon":
            if (!customElements.get(tagName)) {
                defineCustomElement$5();
            }
            break;
        case "ecl-label":
            if (!customElements.get(tagName)) {
                defineCustomElement$4();
            }
            break;
        case "ecl-link":
            if (!customElements.get(tagName)) {
                defineCustomElement$3();
            }
            break;
        case "ecl-picture":
            if (!customElements.get(tagName)) {
                defineCustomElement$2();
            }
            break;
    } });
}

const EclFile = EclFile$1;
const defineCustomElement = defineCustomElement$1;

export { EclFile, defineCustomElement };

//# sourceMappingURL=ecl-file.js.map