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

const iconFilePdfCss = ".sc-digi-icon-file-pdf-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-pdf-h svg.sc-digi-icon-file-pdf{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 DigiIconFilePdfStyle0 = iconFilePdfCss;

const IconFilePdf = /*@__PURE__*/ proxyCustomElement(class IconFilePdf 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: '8f61b226b97b4fcc0996efb2b460b751144cb69c', class: "digi-icon-file-pdf", width: "19", height: "26", viewBox: "0 0 19 26", "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: '26811907aa0471f4c5f2267dc5960359ca724266', id: this.titleId }, this.afTitle), this.afDesc && h("desc", { key: '713b0ec2de0a6e858cef7165a4b3d7a6a41351f8' }, this.afDesc), h("path", { key: '4a1cf0846ab0f4bf82c1fe66f2f24c23b4aa499d', class: "digi-icon-file-pdf__shape", d: "M9 13.005c-.247-.812-.242-2.382-.099-2.382.416 0 .376 1.874.1 2.382zm-.084 2.397c-.38 1.026-.856 2.199-1.405 3.184.905-.356 1.93-.873 3.112-1.112-.628-.488-1.232-1.188-1.707-2.072zM4.26 21.739c0 .041.653-.274 1.727-2.041-.332.32-1.44 1.244-1.727 2.041zm8.01-13.614H19v16.656c0 .676-.53 1.219-1.188 1.219H1.188C.53 26 0 25.457 0 24.781V1.22C0 .543.53 0 1.188 0h9.895v6.906c0 .67.535 1.219 1.188 1.219zm-.395 8.724c-.99-.62-1.648-1.472-2.113-2.732.223-.94.574-2.366.307-3.26-.233-1.493-2.098-1.346-2.365-.345-.247.929-.02 2.24.4 3.91-.573 1.401-1.42 3.28-2.018 4.357-.005 0-.005.005-.01.005-1.34.706-3.642 2.26-2.697 3.453.278.35.792.508 1.064.508.886 0 1.767-.914 3.023-3.138 1.277-.432 2.677-.97 3.91-1.178 1.073.599 2.33.99 3.166.99 1.445 0 1.544-1.625.975-2.204-.688-.69-2.687-.493-3.642-.366zm6.779-11.517L13.804.355a1.171 1.171 0 00-.84-.355h-.297v6.5H19v-.31c0-.32-.124-.63-.346-.858zm-3.667 12.964c.203-.137-.123-.604-2.117-.457 1.835.803 2.117.457 2.117.457z", fill: "currentColor", "fill-rule": "nonzero" })));
    }
    static get style() { return DigiIconFilePdfStyle0; }
}, [2, "digi-icon-file-pdf", {
        "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-pdf"];
    components.forEach(tagName => { switch (tagName) {
        case "digi-icon-file-pdf":
            if (!customElements.get(tagName)) {
                customElements.define(tagName, IconFilePdf);
            }
            break;
    } });
}

const DigiIconFilePdf = IconFilePdf;
const defineCustomElement = defineCustomElement$1;

export { DigiIconFilePdf, defineCustomElement };
