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

const iconCaretLeftCss = ".sc-digi-icon-caret-left-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-caret-left-h svg.sc-digi-icon-caret-left{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 DigiIconCaretLeftStyle0 = iconCaretLeftCss;

const IconCaretLeft = /*@__PURE__*/ proxyCustomElement(class IconCaretLeft 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: '8e6c37b0dee27f63cd1e7d3d861b01253fa0b652', class: "digi-icon-caret-left", width: "7", height: "13", viewBox: "0 0 7 13", 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: '9833a58f505b1ec1e3c1d8223d2d2cf9c4aa75e8', id: this.titleId }, this.afTitle), this.afDesc && h("desc", { key: 'c637e80da3ec5741e280d6c64835bd9705ccf652' }, this.afDesc), h("path", { key: '243375a44df26cda13cd34c471ca656207c14ea1', class: "digi-icon-caret-left__shape", d: "M6.786 1.607v10.5a.768.768 0 01-.198.527.608.608 0 01-.469.223.608.608 0 01-.469-.223L.984 7.384a.768.768 0 01-.198-.527c0-.203.066-.379.198-.527L5.65 1.08A.608.608 0 016.12.857c.18 0 .337.074.469.223a.768.768 0 01.198.527z", fill: "currentColor", "fill-rule": "evenodd" })));
    }
    static get style() { return DigiIconCaretLeftStyle0; }
}, [2, "digi-icon-caret-left", {
        "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-caret-left"];
    components.forEach(tagName => { switch (tagName) {
        case "digi-icon-caret-left":
            if (!customElements.get(tagName)) {
                customElements.define(tagName, IconCaretLeft);
            }
            break;
    } });
}

const DigiIconCaretLeft = IconCaretLeft;
const defineCustomElement = defineCustomElement$1;

export { DigiIconCaretLeft, defineCustomElement };
