(function (global, factory) {
    typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@carbon/icon-helpers')) :
    typeof define === 'function' && define.amd ? define(['exports', '@angular/core', '@carbon/icon-helpers'], factory) :
    (factory((global.CarbonIconsAngular = {}),global.ng.Core,global.CarbonIconHelpers));
}(this, (function (exports,core,iconHelpers) { 'use strict';

    var Globe20 = /** @class */ (function () {
        function Globe20(elementRef) {
            this.elementRef = elementRef;
        }
        Globe20.prototype.ngAfterViewInit = function () {
            var svg = this.elementRef.nativeElement.querySelector("svg");
            var attributes = iconHelpers.getAttributes({
                width: 20,
                height: 20,
                viewBox: "0 0 32 32",
                title: this.title,
                "aria-label": this.ariaLabel,
                "aria-labelledby": this.ariaLabelledby,
                "aria-hidden": this.ariaHidden,
                focusable: this.focusable
            });
            var attrKeys = Object.keys(attributes);
            for (var i = 0; i < attrKeys.length; i++) {
                var key = attrKeys[i];
                var value = attributes[key];
                if (key === "title") {
                    continue;
                }
                if (value) {
                    svg.setAttribute(key, value);
                }
            }
            if (attributes.title) {
                var title = document.createElement("title");
                title.textContent = attributes.title;
                Globe20.titleIdCounter++;
                title.setAttribute("id", "globe20-" + Globe20.titleIdCounter);
                svg.appendChild(title);
                svg.setAttribute("aria-labelledby", "globe20-" + Globe20.titleIdCounter);
            }
        };
        Globe20.titleIdCounter = 0;
        Globe20.decorators = [
            { type: core.Component, args: [{
                        selector: "ibm-icon-globe20",
                        template: "<svg focusable=\"false\" preserveAspectRatio=\"xMidYMid meet\" style=\"will-change: transform;\" xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\" viewBox=\"0 0 32 32\" aria-hidden=\"true\"><path d=\"M14 4a7 7 0 1 1-7 7 7 7 0 0 1 7-7m0-2a9 9 0 1 0 9 9 9 9 0 0 0-9-9z\"></path><path d=\"M28 11a13.92 13.92 0 0 0-4.11-9.89l-1.41 1.41a12 12 0 0 1-16.92 17l-1.45 1.37A13.92 13.92 0 0 0 14 25v3h-4v2h10v-2h-4v-3.16A14 14 0 0 0 28 11z\"></path></svg>"
                    },] },
        ];
        /** @nocollapse */
        Globe20.ctorParameters = function () { return [
            { type: core.ElementRef }
        ]; };
        Globe20.propDecorators = {
            ariaLabel: [{ type: core.Input }],
            ariaLabelledby: [{ type: core.Input }],
            ariaHidden: [{ type: core.Input }],
            title: [{ type: core.Input }],
            focusable: [{ type: core.Input }]
        };
        return Globe20;
    }());
    var Globe20Module = /** @class */ (function () {
        function Globe20Module() {
        }
        Globe20Module.decorators = [
            { type: core.NgModule, args: [{
                        declarations: [
                            Globe20
                        ],
                        exports: [
                            Globe20
                        ]
                    },] },
        ];
        return Globe20Module;
    }());

    exports.Globe20 = Globe20;
    exports.Globe20Module = Globe20Module;

    Object.defineProperty(exports, '__esModule', { value: true });

})));
