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

const iconFileDocumentCss = ".sc-digi-icon-file-document-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-file-document-h svg.sc-digi-icon-file-document{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 DigiIconFileDocumentStyle0 = iconFileDocumentCss;

const IconFileDocument = /*@__PURE__*/ proxyCustomElement(class IconFileDocument 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: '6b7a5afe737cfcd9f557b92e94abba66a21dca83', class: "digi-icon-file-document", width: "48", height: "48", viewBox: "0 0 48 48", "aria-hidden": this.afSvgAriaHidden ? 'true' : 'false', "aria-labelledby": this.afSvgAriaLabelledby
                ? this.afSvgAriaLabelledby
                : this.afTitle
                    ? this.titleId
                    : undefined, xmlns: "http://www.w3.org/2000/svg" }, this.afTitle && h("title", { key: '673cba346105d8200de4e1a74a6f7b90e6c29636', id: this.titleId }, this.afTitle), this.afDesc && h("desc", { key: '6870a2fe26b000854d14dfd9e8afbfe81a5d0962' }, this.afDesc), h("path", { key: '80993b229093c24a76174c155fc5398d444901d7', class: "digi-icon-file-document__shape", d: "M27.16,12.75 L27.16,0 L9.16,0 C7.963,0 7,1.003125 7,2.25 L7,45.75 C7,46.996875 7.963,48 9.16,48 L39.4,48 C40.597,48 41.56,46.996875 41.56,45.75 L41.56,15 L29.32,15 C28.132,15 27.16,13.9875 27.16,12.75 Z M32.92,34.875 C32.92,35.49375 32.434,36 31.84,36 L16.72,36 C16.126,36 15.64,35.49375 15.64,34.875 L15.64,34.125 C15.64,33.50625 16.126,33 16.72,33 L31.84,33 C32.434,33 32.92,33.50625 32.92,34.125 L32.92,34.875 Z M32.92,28.875 C32.92,29.49375 32.434,30 31.84,30 L16.72,30 C16.126,30 15.64,29.49375 15.64,28.875 L15.64,28.125 C15.64,27.50625 16.126,27 16.72,27 L31.84,27 C32.434,27 32.92,27.50625 32.92,28.125 L32.92,28.875 Z M32.92,22.125 L32.92,22.875 C32.92,23.49375 32.434,24 31.84,24 L16.72,24 C16.126,24 15.64,23.49375 15.64,22.875 L15.64,22.125 C15.64,21.50625 16.126,21 16.72,21 L31.84,21 C32.434,21 32.92,21.50625 32.92,22.125 Z M41.56,11.428125 L41.56,12 L30.04,12 L30.04,0 L30.589,0 C31.165,0 31.714,0.234375 32.119,0.65625 L40.93,9.84375 C41.335,10.265625 41.56,10.8375 41.56,11.428125 Z", fill: "currentColor", "fill-rule": "nonzero" })));
    }
    static get style() { return DigiIconFileDocumentStyle0; }
}, [2, "digi-icon-file-document", {
        "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-file-document"];
    components.forEach(tagName => { switch (tagName) {
        case "digi-icon-file-document":
            if (!customElements.get(tagName)) {
                customElements.define(tagName, IconFileDocument);
            }
            break;
    } });
}

const DigiIconFileDocument = IconFileDocument;
const defineCustomElement = defineCustomElement$1;

export { DigiIconFileDocument, defineCustomElement };
