(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 FlashFilled20 = /** @class */ (function () {
        function FlashFilled20(elementRef) {
            this.elementRef = elementRef;
        }
        FlashFilled20.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;
                FlashFilled20.titleIdCounter++;
                title.setAttribute("id", "flash-filled20-" + FlashFilled20.titleIdCounter);
                svg.appendChild(title);
                svg.setAttribute("aria-labelledby", "flash-filled20-" + FlashFilled20.titleIdCounter);
            }
        };
        FlashFilled20.titleIdCounter = 0;
        FlashFilled20.decorators = [
            { type: core.Component, args: [{
                        selector: "ibm-icon-flash-filled20",
                        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=\"M11.61 29.92a1 1 0 0 1-.6-1.07L12.83 17H8a1 1 0 0 1-1-1.23l3-13A1 1 0 0 1 11 2h10a1 1 0 0 1 .78.37 1 1 0 0 1 .2.85L20.25 11H25a1 1 0 0 1 .9.56 1 1 0 0 1-.11 1l-13 17A1 1 0 0 1 12 30a1.09 1.09 0 0 1-.39-.08z\"></path></svg>"
                    },] },
        ];
        /** @nocollapse */
        FlashFilled20.ctorParameters = function () { return [
            { type: core.ElementRef }
        ]; };
        FlashFilled20.propDecorators = {
            ariaLabel: [{ type: core.Input }],
            ariaLabelledby: [{ type: core.Input }],
            ariaHidden: [{ type: core.Input }],
            title: [{ type: core.Input }],
            focusable: [{ type: core.Input }]
        };
        return FlashFilled20;
    }());
    var FlashFilled20Module = /** @class */ (function () {
        function FlashFilled20Module() {
        }
        FlashFilled20Module.decorators = [
            { type: core.NgModule, args: [{
                        declarations: [
                            FlashFilled20
                        ],
                        exports: [
                            FlashFilled20
                        ]
                    },] },
        ];
        return FlashFilled20Module;
    }());

    exports.FlashFilled20 = FlashFilled20;
    exports.FlashFilled20Module = FlashFilled20Module;

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

})));
