(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 Rotate20 = /** @class */ (function () {
        function Rotate20(elementRef) {
            this.elementRef = elementRef;
        }
        Rotate20.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;
                Rotate20.titleIdCounter++;
                title.setAttribute("id", "rotate20-" + Rotate20.titleIdCounter);
                svg.appendChild(title);
                svg.setAttribute("aria-labelledby", "rotate20-" + Rotate20.titleIdCounter);
            }
        };
        Rotate20.titleIdCounter = 0;
        Rotate20.decorators = [
            { type: core.Component, args: [{
                        selector: "ibm-icon-rotate20",
                        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=\"M17.91 26.82l.35 2a12.9 12.9 0 0 0 4.24-1.54l-1-1.73a10.88 10.88 0 0 1-3.59 1.27zm6.51-3.75L26 24.35a13 13 0 0 0 2.24-3.91l-1.87-.68a11 11 0 0 1-1.95 3.31zM9.5 27.25a12.9 12.9 0 0 0 4.24 1.54l.35-2a10.88 10.88 0 0 1-3.59-1.3zm-3.83-7.49l-1.87.68A13 13 0 0 0 6 24.35l.32-.26 1.22-1a11 11 0 0 1-1.91-3.31zM29 16a12.85 12.85 0 0 0-.8-4.44l-1.87.68A11.18 11.18 0 0 1 27 16zm-3-8.35a13 13 0 0 0-20 0V4H4v8h8v-2H6.81a11 11 0 0 1 17.61-1.07z\"></path></svg>"
                    },] },
        ];
        /** @nocollapse */
        Rotate20.ctorParameters = function () { return [
            { type: core.ElementRef }
        ]; };
        Rotate20.propDecorators = {
            ariaLabel: [{ type: core.Input }],
            ariaLabelledby: [{ type: core.Input }],
            ariaHidden: [{ type: core.Input }],
            title: [{ type: core.Input }],
            focusable: [{ type: core.Input }]
        };
        return Rotate20;
    }());
    var Rotate20Module = /** @class */ (function () {
        function Rotate20Module() {
        }
        Rotate20Module.decorators = [
            { type: core.NgModule, args: [{
                        declarations: [
                            Rotate20
                        ],
                        exports: [
                            Rotate20
                        ]
                    },] },
        ];
        return Rotate20Module;
    }());

    exports.Rotate20 = Rotate20;
    exports.Rotate20Module = Rotate20Module;

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

})));
