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

const iconLanguageCss = ".sc-digi-icon-language-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-language-h svg.sc-digi-icon-language{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 DigiIconLanguageStyle0 = iconLanguageCss;

const IconLanguage = /*@__PURE__*/ proxyCustomElement(class IconLanguage 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: '2f66d82c81260e3ab174816d9a8d0fef03fcf855', class: "digi-icon-language", width: "26", height: "20", viewBox: "0 0 26 20", 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: '4c2d8087c6b7031baef20e286bfc6c3da2e731f3', id: this.titleId }, this.afTitle), this.afDesc && h("desc", { key: '66951daf59c464fff86f93f21a56098c6348f78e' }, this.afDesc), h("g", { key: 'fdb4ec09775b7e65b84c114eee481042618c19bd', class: "digi-icon-language__shape", fill: "none", "fill-rule": "evenodd" }, h("path", { key: 'b7315211081a604b4a97e67975b03c66cb6d25a2', d: "M25.025 0H.975C.437 0 0 .672 0 1.5v17c0 .828.437 1.5.975 1.5h24.05c.538 0 .975-.672.975-1.5v-17c0-.828-.437-1.5-.975-1.5z", fill: "currentColor", "fill-rule": "nonzero" }), h("path", { key: '928c81042fd78c86c0ea150b7a2bb2f6156052f1', d: "M13 8.708v-.416c0-.345.28-.625.625-.625h3.542V6.625c0-.345.28-.625.625-.625h.416c.345 0 .625.28.625.625v1.042h3.542c.345 0 .625.28.625.625v.416c0 .345-.28.625-.625.625h-.818c-.39 1.292-1.22 2.654-2.338 3.898.522.473 1.066.9 1.61 1.255.277.18.365.545.2.832l-.207.364a.626.626 0 01-.885.213 14.327 14.327 0 01-1.904-1.485 15.261 15.261 0 01-1.979 1.494.624.624 0 01-.875-.22l-.206-.362a.627.627 0 01.211-.84 13.68 13.68 0 001.68-1.262 16.118 16.118 0 01-1.339-1.72.626.626 0 01.198-.886l.358-.214a.624.624 0 01.838.188c.332.496.715.986 1.13 1.455.781-.882 1.39-1.818 1.746-2.71h-6.17A.625.625 0 0113 8.708zM8.138 3c.291 0 .551.184.648.46l3.39 9.624a.688.688 0 01-.65.916h-.592a.688.688 0 01-.653-.472l-.774-2.348H5.65l-.774 2.348a.688.688 0 01-.653.472H3.63a.687.687 0 01-.648-.916l3.39-9.625A.688.688 0 017.02 3zm-.536 1.906H7.57S7.323 5.99 7.106 6.61L6.13 9.554h2.882L8.036 6.61c-.202-.62-.434-1.704-.434-1.704z", fill: "#fff" }))));
    }
    static get style() { return DigiIconLanguageStyle0; }
}, [2, "digi-icon-language", {
        "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-language"];
    components.forEach(tagName => { switch (tagName) {
        case "digi-icon-language":
            if (!customElements.get(tagName)) {
                customElements.define(tagName, IconLanguage);
            }
            break;
    } });
}

const DigiIconLanguage = IconLanguage;
const defineCustomElement = defineCustomElement$1;

export { DigiIconLanguage, defineCustomElement };
