(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 Idea24 = /** @class */ (function () {
        function Idea24(elementRef) {
            this.elementRef = elementRef;
        }
        Idea24.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;
                Idea24.titleIdCounter++;
                title.setAttribute("id", "idea24-" + Idea24.titleIdCounter);
                svg.appendChild(title);
                svg.setAttribute("aria-labelledby", "idea24-" + Idea24.titleIdCounter);
            }
        };
        Idea24.titleIdCounter = 0;
        Idea24.decorators = [
            { type: core.Component, args: [{
                        selector: "ibm-icon-idea24",
                        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=\"M11 24h10v2H11zm2 4h6v2h-6zm3-26A10 10 0 0 0 6 12a9.19 9.19 0 0 0 3.46 7.62c1 .93 1.54 1.46 1.54 2.38h2c0-1.84-1.11-2.87-2.19-3.86A7.2 7.2 0 0 1 8 12a8 8 0 0 1 16 0 7.2 7.2 0 0 1-2.82 6.14c-1.07 1-2.18 2-2.18 3.86h2c0-.92.53-1.45 1.54-2.39A9.18 9.18 0 0 0 26 12 10 10 0 0 0 16 2z\"></path></svg>"
                    },] },
        ];
        /** @nocollapse */
        Idea24.ctorParameters = function () { return [
            { type: core.ElementRef }
        ]; };
        Idea24.propDecorators = {
            ariaLabel: [{ type: core.Input }],
            ariaLabelledby: [{ type: core.Input }],
            ariaHidden: [{ type: core.Input }],
            title: [{ type: core.Input }],
            focusable: [{ type: core.Input }]
        };
        return Idea24;
    }());
    var Idea24Module = /** @class */ (function () {
        function Idea24Module() {
        }
        Idea24Module.decorators = [
            { type: core.NgModule, args: [{
                        declarations: [
                            Idea24
                        ],
                        exports: [
                            Idea24
                        ]
                    },] },
        ];
        return Idea24Module;
    }());

    exports.Idea24 = Idea24;
    exports.Idea24Module = Idea24Module;

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

})));
