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

const iconFilterCss = ".sc-digi-icon-filter-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-filter-h svg.sc-digi-icon-filter{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 DigiIconFilterStyle0 = iconFilterCss;

const IconFilter = /*@__PURE__*/ proxyCustomElement(class IconFilter 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: 'c73508a4525cb9121f1ee1cb311b8737fd9a1eea', class: "digi-icon-filter", 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: 'fe1f8c98465f1f640f7955b0ec6d1b9d077b61b2', id: this.titleId }, this.afTitle), this.afDesc && h("desc", { key: '9bc900282f1685f9007d046f9f9adc9d93b08635' }, this.afDesc), h("path", { key: '9828ffa3c9030faaaf8b881a17f730092fbcb30f', class: "digi-icon-filter__shape", d: "M45.7477312,0 L2.25261458,0 C0.254052465,0 -0.754416092,2.4249367 0.661677387,3.84102998 L17.9999866,21.1819618 L17.9999866,40.4999866 C17.9999866,41.2341426 18.3582052,41.9221737 18.9597051,42.3432985 L26.4597037,47.5914218 C27.9393597,48.6271714 29.9999843,47.577453 29.9999843,45.7481099 L29.9999843,21.1819618 L47.3387622,3.84102998 C48.7519494,2.4277492 47.7504184,0 45.7477312,0 Z", fill: "currentColor", "fill-rule": "nonzero" })));
    }
    static get style() { return DigiIconFilterStyle0; }
}, [2, "digi-icon-filter", {
        "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-filter"];
    components.forEach(tagName => { switch (tagName) {
        case "digi-icon-filter":
            if (!customElements.get(tagName)) {
                customElements.define(tagName, IconFilter);
            }
            break;
    } });
}

const DigiIconFilter = IconFilter;
const defineCustomElement = defineCustomElement$1;

export { DigiIconFilter, defineCustomElement };
