import { p as proxyCustomElement, H, h } from './p-a53686b3.js';
import { r as randomIdGenerator } from './p-ffe5c0e8.js';

const iconDownloadCss = ".sc-digi-icon-download-h{--digi--icon--color:var(--digi--color--icon--primary);--digi--icon--width:initial;--digi--icon--height:auto;display:flex;min-height:1.4em;align-items:center}.sc-digi-icon-download-h svg.sc-digi-icon-download{color:var(--digi--icon--color);max-width:var(--digi--icon--width);max-height:var(--digi--icon--height);width:var(--digi--icon--width, auto);height:var(--digi--icon--height, auto)}";
const DigiIconDownloadStyle0 = iconDownloadCss;

const IconDownload = /*@__PURE__*/ proxyCustomElement(class IconDownload extends H {
    constructor() {
        super();
        this.__registerHost();
        this.afTitle = undefined;
        this.afDesc = undefined;
        this.afSvgAriaHidden = true;
        this.afSvgAriaLabelledby = undefined;
        this.titleId = randomIdGenerator('icontitle');
    }
    render() {
        return (h("svg", { key: '44373c0b1e4136f5c317600fa53c2aa22f0bc3a0', class: "digi-icon-download", width: "48", height: "48", viewBox: "0 0 48 48", xmlns: "http://www.w3.org/2000/svg", "aria-hidden": this.afSvgAriaHidden ? 'true' : 'false', "aria-labelledby": this.afSvgAriaLabelledby
                ? this.afSvgAriaLabelledby
                : this.afTitle
                    ? this.titleId
                    : undefined }, this.afTitle && h("title", { key: '6b05e12e16a81725fb05dc27256229f45cb3519f', id: this.titleId }, this.afTitle), this.afDesc && h("desc", { key: '40af0924c33eef8555b7a1f032918d9142e677a7' }, this.afDesc), h("path", { key: '9f191b3f16d11451a14c4062db7396fbfa490763', class: "digi-icon-download__shape", d: "M20.25,0 L27.75,0 C28.996875,0 30,1.003125 30,2.25 L30,18 L38.221875,18 C39.890625,18 40.725,20.015625 39.54375,21.196875 L25.284375,35.465625 C24.58125,36.16875 23.428125,36.16875 22.725,35.465625 L8.446875,21.196875 C7.265625,20.015625 8.1,18 9.76875,18 L18,18 L18,2.25 C18,1.003125 19.003125,0 20.25,0 Z M48,35.25 L48,45.75 C48,46.996875 46.996875,48 45.75,48 L2.25,48 C1.003125,48 0,46.996875 0,45.75 L0,35.25 C0,34.003125 1.003125,33 2.25,33 L16.003125,33 L20.596875,37.59375 C22.48125,39.478125 25.51875,39.478125 27.403125,37.59375 L31.996875,33 L45.75,33 C46.996875,33 48,34.003125 48,35.25 Z M36.375,43.5 C36.375,42.46875 35.53125,41.625 34.5,41.625 C33.46875,41.625 32.625,42.46875 32.625,43.5 C32.625,44.53125 33.46875,45.375 34.5,45.375 C35.53125,45.375 36.375,44.53125 36.375,43.5 Z M42.375,43.5 C42.375,42.46875 41.53125,41.625 40.5,41.625 C39.46875,41.625 38.625,42.46875 38.625,43.5 C38.625,44.53125 39.46875,45.375 40.5,45.375 C41.53125,45.375 42.375,44.53125 42.375,43.5 Z", fill: "currentColor", "fill-rule": "nonzero" })));
    }
    static get style() { return DigiIconDownloadStyle0; }
}, [2, "digi-icon-download", {
        "afTitle": [1, "af-title"],
        "afDesc": [1, "af-desc"],
        "afSvgAriaHidden": [4, "af-svg-aria-hidden"],
        "afSvgAriaLabelledby": [1, "af-svg-aria-labelledby"],
        "titleId": [32]
    }]);
function defineCustomElement$1() {
    if (typeof customElements === "undefined") {
        return;
    }
    const components = ["digi-icon-download"];
    components.forEach(tagName => { switch (tagName) {
        case "digi-icon-download":
            if (!customElements.get(tagName)) {
                customElements.define(tagName, IconDownload);
            }
            break;
    } });
}

const DigiIconDownload = IconDownload;
const defineCustomElement = defineCustomElement$1;

export { DigiIconDownload, defineCustomElement };
