(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 Redo20 = /** @class */ (function () {
        function Redo20(elementRef) {
            this.elementRef = elementRef;
        }
        Redo20.prototype.ngAfterViewInit = function () {
            var svg = this.elementRef.nativeElement.querySelector("svg");
            var attributes = iconHelpers.getAttributes({
                width: 20,
                height: 20,
                viewBox: "0 0 20 20",
                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;
                Redo20.titleIdCounter++;
                title.setAttribute("id", "redo20-" + Redo20.titleIdCounter);
                svg.appendChild(title);
                svg.setAttribute("aria-labelledby", "redo20-" + Redo20.titleIdCounter);
            }
        };
        Redo20.titleIdCounter = 0;
        Redo20.decorators = [
            { type: core.Component, args: [{
                        selector: "ibm-icon-redo20",
                        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 20 20\" aria-hidden=\"true\"><path d=\"M5 9.3c-1.5 0-2.8 1.3-2.8 2.7 0 1.5 1.3 2.7 2.8 2.7h4V16H5c-2.3 0-4-1.7-4-4 0-2.2 1.8-4 4-4h11.6l-2.5-2.5.9-.9 4 4-4 4-.9-.9 2.5-2.5H5z\"></path></svg>"
                    },] },
        ];
        /** @nocollapse */
        Redo20.ctorParameters = function () { return [
            { type: core.ElementRef }
        ]; };
        Redo20.propDecorators = {
            ariaLabel: [{ type: core.Input }],
            ariaLabelledby: [{ type: core.Input }],
            ariaHidden: [{ type: core.Input }],
            title: [{ type: core.Input }],
            focusable: [{ type: core.Input }]
        };
        return Redo20;
    }());
    var Redo20Module = /** @class */ (function () {
        function Redo20Module() {
        }
        Redo20Module.decorators = [
            { type: core.NgModule, args: [{
                        declarations: [
                            Redo20
                        ],
                        exports: [
                            Redo20
                        ]
                    },] },
        ];
        return Redo20Module;
    }());

    exports.Redo20 = Redo20;
    exports.Redo20Module = Redo20Module;

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

})));
