import { h } from "@stencil/core";
import { randomIdGenerator } from "../../../global/utils/randomIdGenerator";
export class IconHeadphones {
    constructor() {
        this.afTitle = undefined;
        this.afDesc = undefined;
        this.afSvgAriaHidden = true;
        this.afSvgAriaLabelledby = undefined;
        this.titleId = randomIdGenerator('icontitle');
    }
    render() {
        return (h("svg", { key: '50650bcfe0e11c9f516be9b1691e8b6aea508602', class: "digi-icon-headphones", width: "26", height: "22", viewBox: "0 0 26 22", 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: '0416d5351ee06db155e78a328b4ae1ce99ed7416', id: this.titleId }, this.afTitle), this.afDesc && h("desc", { key: 'ebf44ae9ccecb40996c3ecf5fde92b5de3f592fa' }, this.afDesc), h("path", { key: '6718efbabfe3dff93fce25c9bb07fa0ecbf71a10', class: "digi-icon-headphones__shape", d: "M13 0C5.815 0 0 5.623 0 12.571v2.358c0 .595.348 1.139.898 1.405l.73.353C1.732 19.638 4.237 22 7.313 22h1.22c.672 0 1.218-.528 1.218-1.179V12.18c0-.651-.546-1.179-1.219-1.179H7.312c-1.591 0-3.03.632-4.062 1.651v-.08c0-5.198 4.374-9.428 9.75-9.428s9.75 4.23 9.75 9.428v.08A5.766 5.766 0 0018.687 11H17.47c-.673 0-1.219.528-1.219 1.179v8.642c0 .651.546 1.179 1.219 1.179h1.218c3.077 0 5.582-2.362 5.684-5.313l.73-.353c.551-.266.899-.81.899-1.405V12.57C26 5.624 20.186 0 13 0z", fill: "currentColor", "fill-rule": "nonzero" })));
    }
    static get is() { return "digi-icon-headphones"; }
    static get encapsulation() { return "scoped"; }
    static get originalStyleUrls() {
        return {
            "$": ["icon-headphones.scss"]
        };
    }
    static get styleUrls() {
        return {
            "$": ["icon-headphones.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": {}
        };
    }
}
