(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 MacCommand24 = /** @class */ (function () {
        function MacCommand24(elementRef) {
            this.elementRef = elementRef;
        }
        MacCommand24.prototype.ngAfterViewInit = function () {
            var svg = this.elementRef.nativeElement.querySelector("svg");
            var attributes = iconHelpers.getAttributes({
                width: 24,
                height: 24,
                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;
                MacCommand24.titleIdCounter++;
                title.setAttribute("id", "mac-command24-" + MacCommand24.titleIdCounter);
                svg.appendChild(title);
                svg.setAttribute("aria-labelledby", "mac-command24-" + MacCommand24.titleIdCounter);
            }
        };
        MacCommand24.titleIdCounter = 0;
        MacCommand24.decorators = [
            { type: core.Component, args: [{
                        selector: "ibm-icon-mac-command24",
                        template: "<svg focusable=\"false\" preserveAspectRatio=\"xMidYMid meet\" style=\"will-change: transform;\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 32 32\" aria-hidden=\"true\"><path d=\"M24 13a4 4 0 0 0 4-4V8a4 4 0 0 0-4-4h-1a4 4 0 0 0-4 4v3h-6V8a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v1a4 4 0 0 0 4 4h3v6H8a4 4 0 0 0-4 4v1a4 4 0 0 0 4 4h1a4 4 0 0 0 4-4v-3h6v3a4 4 0 0 0 4 4h1a4 4 0 0 0 4-4v-1a4 4 0 0 0-4-4h-3v-6zm-3-5a2 2 0 0 1 2-2h1a2 2 0 0 1 2 2v1a2 2 0 0 1-2 2h-3zM8 11a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h1a2 2 0 0 1 2 2v3H8zm3 13a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2v-1a2 2 0 0 1 2-2h3zm8-5h-6v-6h6zm2 2h3a2 2 0 0 1 2 2v1a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2z\"></path></svg>"
                    },] },
        ];
        /** @nocollapse */
        MacCommand24.ctorParameters = function () { return [
            { type: core.ElementRef }
        ]; };
        MacCommand24.propDecorators = {
            ariaLabel: [{ type: core.Input }],
            ariaLabelledby: [{ type: core.Input }],
            ariaHidden: [{ type: core.Input }],
            title: [{ type: core.Input }],
            focusable: [{ type: core.Input }]
        };
        return MacCommand24;
    }());
    var MacCommand24Module = /** @class */ (function () {
        function MacCommand24Module() {
        }
        MacCommand24Module.decorators = [
            { type: core.NgModule, args: [{
                        declarations: [
                            MacCommand24
                        ],
                        exports: [
                            MacCommand24
                        ]
                    },] },
        ];
        return MacCommand24Module;
    }());

    exports.MacCommand24 = MacCommand24;
    exports.MacCommand24Module = MacCommand24Module;

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

})));
