import { h } from "@stencil/core";
import { randomIdGenerator } from "../../../global/utils/randomIdGenerator";
export class IconMediaPodcast {
    constructor() {
        this.afTitle = undefined;
        this.afDesc = undefined;
        this.afSvgAriaHidden = true;
        this.afSvgAriaLabelledby = undefined;
        this.titleId = randomIdGenerator('icontitle');
    }
    render() {
        return (h("svg", { key: '7b94e942be7ddea8b8ac79cdcd661253178c2ed2', class: "digi-icon-media-podcast", 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: '61d922cf36c043fbc17f522b4a2e2b8faea3fd45', id: this.titleId }, this.afTitle), this.afDesc && h("desc", { key: '073fac2cccb60ad4aa68b99b16f6dff0ec4b646c' }, this.afDesc), h("path", { key: 'b185e9e3ea0092716edef1ad766c1d23b97d4982', class: "digi-icon-media-podcast__shape", d: "M24,3 C10.73625,3 0,13.5150306 0,26.5102041 L0,31.0757755 C0,31.8752729 0.441953143,32.6120853 1.15490625,33.0012245 L3.00196875,34.0093163 C3.085125,39.6197143 7.7529375,44.1428571 13.5,44.1428571 L15.75,44.1428571 C16.9926563,44.1428571 18,43.1560714 18,41.9387755 L18,25.7755102 C18,24.5582143 16.9926563,23.5714286 15.75,23.5714286 L13.5,23.5714286 C9.68025,23.5714286 6.3373125,25.5696122 4.5,28.5569694 L4.5,26.5102041 C4.5,15.9773571 13.2477188,7.40816327 24,7.40816327 C34.7522813,7.40816327 43.5,15.9773571 43.5,26.5102041 L43.5,28.5569694 C41.6626875,25.5696122 38.31975,23.5714286 34.5,23.5714286 L32.25,23.5714286 C31.0073438,23.5714286 30,24.5582143 30,25.7755102 L30,41.9387755 C30,43.1560714 31.0073438,44.1428571 32.25,44.1428571 L34.5,44.1428571 C40.2470625,44.1428571 44.914875,39.6197143 44.9980313,34.0092245 L46.8450938,33.0011327 C47.5580469,32.6119935 48,31.8751811 48,31.0756837 L48,26.5102041 C48,13.5171429 37.2659063,3 24,3 L24,3 Z M13.5,27.9795918 L13.5,39.7346939 C10.1915625,39.7346939 7.5,37.0980612 7.5,33.8571429 C7.5,30.6162245 10.1915625,27.9795918 13.5,27.9795918 Z M34.5,39.7346939 L34.5,27.9795918 C37.8084375,27.9795918 40.5,30.6162245 40.5,33.8571429 C40.5,37.0980612 37.8084375,39.7346939 34.5,39.7346939 Z", fill: "currentColor", "fill-rule": "nonzero" })));
    }
    static get is() { return "digi-icon-media-podcast"; }
    static get encapsulation() { return "scoped"; }
    static get originalStyleUrls() {
        return {
            "$": ["icon-media-podcast.scss"]
        };
    }
    static get styleUrls() {
        return {
            "$": ["icon-media-podcast.css"]
        };
    }
    static get properties() {
        return {
            "afTitle": {
                "type": "string",
                "mutable": false,
                "complexType": {
                    "original": "string",
                    "resolved": "string",
                    "references": {}
                },
                "required": false,
                "optional": false,
                "docs": {
                    "tags": [{
                            "name": "en",
                            "text": "Adds a title element inside the svg"
                        }],
                    "text": "L\u00E4gger till ett titleelement i svg:n"
                },
                "getter": false,
                "setter": false,
                "attribute": "af-title",
                "reflect": false
            },
            "afDesc": {
                "type": "string",
                "mutable": false,
                "complexType": {
                    "original": "string",
                    "resolved": "string",
                    "references": {}
                },
                "required": false,
                "optional": false,
                "docs": {
                    "tags": [{
                            "name": "en",
                            "text": "Adds a desc element inside the svg"
                        }],
                    "text": "L\u00E4gger till ett descelement i svg:n"
                },
                "getter": false,
                "setter": false,
                "attribute": "af-desc",
                "reflect": false
            },
            "afSvgAriaHidden": {
                "type": "boolean",
                "mutable": false,
                "complexType": {
                    "original": "boolean",
                    "resolved": "boolean",
                    "references": {}
                },
                "required": false,
                "optional": false,
                "docs": {
                    "tags": [{
                            "name": "en",
                            "text": "Hides the icon for screen readers. Default is set to true."
                        }],
                    "text": "F\u00F6r att d\u00F6lja ikonen f\u00F6r sk\u00E4rml\u00E4sare. Default \u00E4r satt till true."
                },
                "getter": false,
                "setter": false,
                "attribute": "af-svg-aria-hidden",
                "reflect": false,
                "defaultValue": "true"
            },
            "afSvgAriaLabelledby": {
                "type": "string",
                "mutable": false,
                "complexType": {
                    "original": "string",
                    "resolved": "string",
                    "references": {}
                },
                "required": false,
                "optional": false,
                "docs": {
                    "tags": [{
                            "name": "en",
                            "text": "Reference other elements on the page to define an accessible name."
                        }],
                    "text": "Referera till andra element p\u00E5 sidan f\u00F6r att definiera ett tillg\u00E4ngligt namn."
                },
                "getter": false,
                "setter": false,
                "attribute": "af-svg-aria-labelledby",
                "reflect": false
            }
        };
    }
    static get states() {
        return {
            "titleId": {}
        };
    }
}
