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

const iconArchiveCss = ".sc-digi-icon-archive-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-archive-h svg.sc-digi-icon-archive{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 DigiIconArchiveStyle0 = iconArchiveCss;

const IconArchive = /*@__PURE__*/ proxyCustomElement(class IconArchive 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: '1bbc880f0c9a23f0c9c7ab87022db1432c763e0c', class: "digi-icon-archive", width: "26", height: "22", viewBox: "0 0 26 22", "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: '7648b343b501c1a9f742f0e1af5f40c8bc176e95', id: this.titleId }, this.afTitle), this.afDesc && h("desc", { key: 'cd59e251a9a4c6a47e02d41a15a5fb92b1f60faf' }, this.afDesc), h("path", { key: '62281e8a8dfaf2110e64abdda6f10fb6708e4aab', class: "digi-icon-archive__shape", d: "M24.781 4.714H1.22C.546 4.714 0 4.187 0 3.536V1.179C0 .528.546 0 1.219 0H24.78C25.454 0 26 .528 26 1.179v2.357c0 .65-.546 1.178-1.219 1.178zm-.406 16.107V7.464c0-.65-.546-1.178-1.219-1.178H2.844c-.673 0-1.219.527-1.219 1.178v13.357c0 .651.546 1.179 1.219 1.179h20.312c.673 0 1.219-.528 1.219-1.179zM15.641 11h-5.282a.6.6 0 01-.609-.59v-.392a.6.6 0 01.61-.59h5.28a.6.6 0 01.61.59v.393a.6.6 0 01-.61.589z", fill: "currentColor", "fill-rule": "nonzero" })));
    }
    static get style() { return DigiIconArchiveStyle0; }
}, [2, "digi-icon-archive", {
        "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-archive"];
    components.forEach(tagName => { switch (tagName) {
        case "digi-icon-archive":
            if (!customElements.get(tagName)) {
                customElements.define(tagName, IconArchive);
            }
            break;
    } });
}

const DigiIconArchive = IconArchive;
const defineCustomElement = defineCustomElement$1;

export { DigiIconArchive, defineCustomElement };
