import { h } from "@stencil/core";
import { randomIdGenerator } from "../../../global/utils/randomIdGenerator";
export class IconGlobe {
    constructor() {
        this.afTitle = undefined;
        this.afDesc = undefined;
        this.afSvgAriaHidden = true;
        this.afSvgAriaLabelledby = undefined;
        this.titleId = randomIdGenerator('icontitle');
    }
    render() {
        return (h("svg", { key: '431cc83ce44e56a7ccadd367048b46f6248d50e2', class: "digi-icon-globe", width: "25", height: "25", viewBox: "0 0 25 25", "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: '2f402f84364279ff201c1ca9eb1b1cd0daaaeb5a', id: this.titleId }, this.afTitle), this.afDesc && h("desc", { key: '85683a2eddfb224a05115d542ae8c3ac71eea53b' }, this.afDesc), h("path", { key: '0a8318f51e224f2ef3191ede8cc78e019355c310', class: "digi-icon-globe__shape", d: "M12.5 0C5.596 0 0 5.596 0 12.5S5.596 25 12.5 25 25 19.404 25 12.5 19.404 0 12.5 0zm9.057 8.065h-4.24c-.37-1.886-.973-3.646-1.781-5.182a10.127 10.127 0 016.021 5.182zm.823 6.451h-4.724c.11-1.306.118-2.647 0-4.032h4.724a10.22 10.22 0 010 4.032zm-12.605 0a21.098 21.098 0 01-.002-4.032h5.454a21.098 21.098 0 01-.002 4.032h-5.45zm5.068 2.42c-.472 2.12-1.275 4.027-2.343 5.506-1.068-1.479-1.871-3.387-2.343-5.507h4.686zM2.62 10.483h4.724a23.69 23.69 0 000 4.032H2.62a10.22 10.22 0 010-4.032zm7.53-2.42c.468-2.115 1.27-4.014 2.35-5.507 1.08 1.493 1.882 3.392 2.35 5.508h-4.7zm-.686-5.181c-.808 1.536-1.412 3.296-1.781 5.182h-4.24a10.127 10.127 0 016.02-5.182zM3.443 16.935h4.236c.368 1.89.97 3.645 1.78 5.18a10.127 10.127 0 01-6.016-5.18zm12.099 5.18c.81-1.535 1.411-3.29 1.78-5.18h4.235a10.127 10.127 0 01-6.015 5.18z", fill: "currentColor", "fill-rule": "nonzero" })));
    }
    static get is() { return "digi-icon-globe"; }
    static get encapsulation() { return "scoped"; }
    static get originalStyleUrls() {
        return {
            "$": ["icon-globe.scss"]
        };
    }
    static get styleUrls() {
        return {
            "$": ["icon-globe.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": {}
        };
    }
}
