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

const iconUploadCss = ".sc-digi-icon-upload-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-upload-h svg.sc-digi-icon-upload{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 DigiIconUploadStyle0 = iconUploadCss;

const IconUpload = /*@__PURE__*/ proxyCustomElement(class IconUpload 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: 'd0ca550ff128779c3d6d83edba5a518ca0261047', class: "digi-icon-upload", width: "48", height: "48", viewBox: "0 0 48 48", 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: '71aedb09a573b3e9dea36dd15da2eb2fffb50bef', id: this.titleId }, this.afTitle), this.afDesc && h("desc", { key: '19b78ed73b58aed275b1be09486b2f0164dc203e' }, this.afDesc), h("path", { key: '23f40534248306d3160659080718bdc1950f79ae', class: "digi-icon-upload__shape", d: "M15.66675,33 L15.66675,34.0725 C15.66675,37.25025 17.8515,38.208 19.01925,38.208 L28.971,38.208 C30.8475,38.14575 32.25,37.2645 32.25,34.0725 L32.25,33 L45.75,33 C46.9965,33 48,34.00275 48,35.25 L48,45.75 C48,46.9965 46.9965,48 45.75,48 L2.25,48 C1.00275,48 0,46.9965 0,45.75 L0,35.25 C0,34.00275 1.00275,33 2.25,33 L15.66675,33 Z M41,41 C39.9,41 39,41.9 39,43 C39,44.1 39.9,45 41,45 C42.1,45 43,44.1 43,43 C43,41.9 42.1,41 41,41 Z M35,41 C33.9,41 33,41.9 33,43 C33,44.1 33.9,45 35,45 C36.1,45 37,44.1 37,43 C37,41.9 36.1,41 35,41 Z M22.7062855,0.527625824 C23.4090366,-0.175875275 24.5625384,-0.175875275 25.2652895,0.527625824 L39.5438118,14.7956481 C40.7250636,15.9769 39.8903123,17.9929031 38.2223097,17.9929031 L29.9902969,17.9929031 L29.9902969,33.7429277 C29.9902969,34.9901797 28.9875453,35.9929312 27.7402933,35.9929312 L20.2402816,35.9929312 C18.9937797,35.9929312 17.9902781,34.9901797 17.9902781,33.7429277 L17.9902781,17.9929031 L9.76876526,17.9929031 C8.10001266,17.9929031 7.26526135,15.9769 8.4465132,14.7956481 Z", fill: "currentColor", "fill-rule": "nonzero" })));
    }
    static get style() { return DigiIconUploadStyle0; }
}, [2, "digi-icon-upload", {
        "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-upload"];
    components.forEach(tagName => { switch (tagName) {
        case "digi-icon-upload":
            if (!customElements.get(tagName)) {
                customElements.define(tagName, IconUpload);
            }
            break;
    } });
}

const DigiIconUpload = IconUpload;
const defineCustomElement = defineCustomElement$1;

export { DigiIconUpload, defineCustomElement };
