(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 LogoGoogle24 = /** @class */ (function () {
        function LogoGoogle24(elementRef) {
            this.elementRef = elementRef;
        }
        LogoGoogle24.prototype.ngAfterViewInit = function () {
            var svg = this.elementRef.nativeElement.querySelector("svg");
            var attributes = iconHelpers.getAttributes({
                width: 24,
                height: 24,
                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;
                LogoGoogle24.titleIdCounter++;
                title.setAttribute("id", "logo-google24-" + LogoGoogle24.titleIdCounter);
                svg.appendChild(title);
                svg.setAttribute("aria-labelledby", "logo-google24-" + LogoGoogle24.titleIdCounter);
            }
        };
        LogoGoogle24.titleIdCounter = 0;
        LogoGoogle24.decorators = [
            { type: core.Component, args: [{
                        selector: "ibm-icon-logo-google24",
                        template: "<svg focusable=\"false\" preserveAspectRatio=\"xMidYMid meet\" style=\"will-change: transform;\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 32 32\" aria-hidden=\"true\"><path d=\"M27.39 13.82H16.21v4.63h6.44c-.6 2.95-3.11 4.64-6.44 4.64a7.09 7.09 0 0 1 0-14.18 7 7 0 0 1 4.42 1.58L24.12 7a12 12 0 1 0-7.91 21c6 0 11.45-4.36 11.45-12a9.56 9.56 0 0 0-.27-2.18z\"></path></svg>"
                    },] },
        ];
        /** @nocollapse */
        LogoGoogle24.ctorParameters = function () { return [
            { type: core.ElementRef }
        ]; };
        LogoGoogle24.propDecorators = {
            ariaLabel: [{ type: core.Input }],
            ariaLabelledby: [{ type: core.Input }],
            ariaHidden: [{ type: core.Input }],
            title: [{ type: core.Input }],
            focusable: [{ type: core.Input }]
        };
        return LogoGoogle24;
    }());
    var LogoGoogle24Module = /** @class */ (function () {
        function LogoGoogle24Module() {
        }
        LogoGoogle24Module.decorators = [
            { type: core.NgModule, args: [{
                        declarations: [
                            LogoGoogle24
                        ],
                        exports: [
                            LogoGoogle24
                        ]
                    },] },
        ];
        return LogoGoogle24Module;
    }());

    exports.LogoGoogle24 = LogoGoogle24;
    exports.LogoGoogle24Module = LogoGoogle24Module;

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

})));
