(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 MacShift20 = /** @class */ (function () {
        function MacShift20(elementRef) {
            this.elementRef = elementRef;
        }
        MacShift20.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;
                MacShift20.titleIdCounter++;
                title.setAttribute("id", "mac-shift20-" + MacShift20.titleIdCounter);
                svg.appendChild(title);
                svg.setAttribute("aria-labelledby", "mac-shift20-" + MacShift20.titleIdCounter);
            }
        };
        MacShift20.titleIdCounter = 0;
        MacShift20.decorators = [
            { type: core.Component, args: [{
                        selector: "ibm-icon-mac-shift20",
                        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=\"M21 28H11a2 2 0 0 1-2-2V16H4a1 1 0 0 1-.92-.62 1 1 0 0 1 .21-1.09l12-12a1 1 0 0 1 1.42 0l12 12a1 1 0 0 1 .21 1.09A1 1 0 0 1 28 16h-5v10a2 2 0 0 1-2 2zM6.41 14H10a1 1 0 0 1 1 1v11h10V15a1 1 0 0 1 1-1h3.59L16 4.41z\"></path></svg>"
                    },] },
        ];
        /** @nocollapse */
        MacShift20.ctorParameters = function () { return [
            { type: core.ElementRef }
        ]; };
        MacShift20.propDecorators = {
            ariaLabel: [{ type: core.Input }],
            ariaLabelledby: [{ type: core.Input }],
            ariaHidden: [{ type: core.Input }],
            title: [{ type: core.Input }],
            focusable: [{ type: core.Input }]
        };
        return MacShift20;
    }());
    var MacShift20Module = /** @class */ (function () {
        function MacShift20Module() {
        }
        MacShift20Module.decorators = [
            { type: core.NgModule, args: [{
                        declarations: [
                            MacShift20
                        ],
                        exports: [
                            MacShift20
                        ]
                    },] },
        ];
        return MacShift20Module;
    }());

    exports.MacShift20 = MacShift20;
    exports.MacShift20Module = MacShift20Module;

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

})));
