(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 LetterGg24 = /** @class */ (function () {
        function LetterGg24(elementRef) {
            this.elementRef = elementRef;
        }
        LetterGg24.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;
                LetterGg24.titleIdCounter++;
                title.setAttribute("id", "letter-gg24-" + LetterGg24.titleIdCounter);
                svg.appendChild(title);
                svg.setAttribute("aria-labelledby", "letter-gg24-" + LetterGg24.titleIdCounter);
            }
        };
        LetterGg24.titleIdCounter = 0;
        LetterGg24.decorators = [
            { type: core.Component, args: [{
                        selector: "ibm-icon-letter-gg24",
                        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=\"M19 13a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h4v2h-5v2h5a2 2 0 0 0 2-2V13zm4 8h-4v-6h4zm-8 2H9a2 2 0 0 1-2-2V11a2 2 0 0 1 2-2h6v2H9v10h4v-4h-2v-2h4z\"></path></svg>"
                    },] },
        ];
        /** @nocollapse */
        LetterGg24.ctorParameters = function () { return [
            { type: core.ElementRef }
        ]; };
        LetterGg24.propDecorators = {
            ariaLabel: [{ type: core.Input }],
            ariaLabelledby: [{ type: core.Input }],
            ariaHidden: [{ type: core.Input }],
            title: [{ type: core.Input }],
            focusable: [{ type: core.Input }]
        };
        return LetterGg24;
    }());
    var LetterGg24Module = /** @class */ (function () {
        function LetterGg24Module() {
        }
        LetterGg24Module.decorators = [
            { type: core.NgModule, args: [{
                        declarations: [
                            LetterGg24
                        ],
                        exports: [
                            LetterGg24
                        ]
                    },] },
        ];
        return LetterGg24Module;
    }());

    exports.LetterGg24 = LetterGg24;
    exports.LetterGg24Module = LetterGg24Module;

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

})));
