(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 LogoGooglePlus20 = /** @class */ (function () {
        function LogoGooglePlus20(elementRef) {
            this.elementRef = elementRef;
        }
        LogoGooglePlus20.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;
                LogoGooglePlus20.titleIdCounter++;
                title.setAttribute("id", "logo-google-plus20-" + LogoGooglePlus20.titleIdCounter);
                svg.appendChild(title);
                svg.setAttribute("aria-labelledby", "logo-google-plus20-" + LogoGooglePlus20.titleIdCounter);
            }
        };
        LogoGooglePlus20.titleIdCounter = 0;
        LogoGooglePlus20.decorators = [
            { type: core.Component, args: [{
                        selector: "ibm-icon-logo-google-plus20",
                        template: "<svg focusable=\"false\" preserveAspectRatio=\"xMidYMid meet\" style=\"transform: translate3d(0, 0, 0);\" xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\" viewBox=\"0 0 32 32\" aria-hidden=\"true\"><path d=\"M16 2a14 14 0 1 0 14 14A14 14 0 0 0 16 2zm1 17.93a5.67 5.67 0 0 1-6.22 1.65 5.77 5.77 0 0 1 1.58-11.22 5.82 5.82 0 0 1 4.14 1.43c-.47.51-.95 1-1.46 1.51a4 4 0 0 0-3.41-.67 3.65 3.65 0 1 0 2.45 6.86A3.17 3.17 0 0 0 16 17.3h-3.31v-2h5.52A6.57 6.57 0 0 1 17 19.93zM25 17h-1.61v1.65h-1.65V17h-1.66v-1.69h1.65v-1.64h1.64v1.65H25z\"></path></svg>"
                    },] },
        ];
        /** @nocollapse */
        LogoGooglePlus20.ctorParameters = function () { return [
            { type: core.ElementRef }
        ]; };
        LogoGooglePlus20.propDecorators = {
            ariaLabel: [{ type: core.Input }],
            ariaLabelledby: [{ type: core.Input }],
            ariaHidden: [{ type: core.Input }],
            title: [{ type: core.Input }],
            focusable: [{ type: core.Input }]
        };
        return LogoGooglePlus20;
    }());
    var LogoGooglePlus20Module = /** @class */ (function () {
        function LogoGooglePlus20Module() {
        }
        LogoGooglePlus20Module.decorators = [
            { type: core.NgModule, args: [{
                        declarations: [
                            LogoGooglePlus20
                        ],
                        exports: [
                            LogoGooglePlus20
                        ]
                    },] },
        ];
        return LogoGooglePlus20Module;
    }());

    exports.LogoGooglePlus20 = LogoGooglePlus20;
    exports.LogoGooglePlus20Module = LogoGooglePlus20Module;

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

})));
