(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 Fade32 = /** @class */ (function () {
        function Fade32(elementRef) {
            this.elementRef = elementRef;
        }
        Fade32.prototype.ngAfterViewInit = function () {
            var svg = this.elementRef.nativeElement.querySelector("svg");
            var attributes = iconHelpers.getAttributes({
                width: 32,
                height: 32,
                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;
                Fade32.titleIdCounter++;
                title.setAttribute("id", "fade32-" + Fade32.titleIdCounter);
                svg.appendChild(title);
                svg.setAttribute("aria-labelledby", "fade32-" + Fade32.titleIdCounter);
            }
        };
        Fade32.titleIdCounter = 0;
        Fade32.decorators = [
            { type: core.Component, args: [{
                        selector: "ibm-icon-fade32",
                        template: "<svg focusable=\"false\" preserveAspectRatio=\"xMidYMid meet\" style=\"will-change: transform;\" xmlns=\"http://www.w3.org/2000/svg\" width=\"32\" height=\"32\" viewBox=\"0 0 32 32\" aria-hidden=\"true\"><path d=\"M8.24 25.14L7 26.67a13.79 13.79 0 0 0 4.18 2.44l.69-1.87a12 12 0 0 1-3.63-2.1zM4.19 18l-2 .41A14.09 14.09 0 0 0 3.86 23l1.73-1a12.44 12.44 0 0 1-1.4-4zm7.63-13.24l-.69-1.87A13.79 13.79 0 0 0 7 5.33l1.24 1.53a12 12 0 0 1 3.58-2.1zM5.59 10L3.86 9a14.37 14.37 0 0 0-1.64 4.59l2 .34A12.05 12.05 0 0 1 5.59 10zM16 2v2a12 12 0 0 1 0 24v2a14 14 0 0 0 0-28z\"></path></svg>"
                    },] },
        ];
        /** @nocollapse */
        Fade32.ctorParameters = function () { return [
            { type: core.ElementRef }
        ]; };
        Fade32.propDecorators = {
            ariaLabel: [{ type: core.Input }],
            ariaLabelledby: [{ type: core.Input }],
            ariaHidden: [{ type: core.Input }],
            title: [{ type: core.Input }],
            focusable: [{ type: core.Input }]
        };
        return Fade32;
    }());
    var Fade32Module = /** @class */ (function () {
        function Fade32Module() {
        }
        Fade32Module.decorators = [
            { type: core.NgModule, args: [{
                        declarations: [
                            Fade32
                        ],
                        exports: [
                            Fade32
                        ]
                    },] },
        ];
        return Fade32Module;
    }());

    exports.Fade32 = Fade32;
    exports.Fade32Module = Fade32Module;

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

})));
