(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 WatsonHealth3DMprToggle32 = /** @class */ (function () {
        function WatsonHealth3DMprToggle32(elementRef) {
            this.elementRef = elementRef;
        }
        WatsonHealth3DMprToggle32.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;
                WatsonHealth3DMprToggle32.titleIdCounter++;
                title.setAttribute("id", "watson-health3-d-mpr-toggle32-" + WatsonHealth3DMprToggle32.titleIdCounter);
                svg.appendChild(title);
                svg.setAttribute("aria-labelledby", "watson-health3-d-mpr-toggle32-" + WatsonHealth3DMprToggle32.titleIdCounter);
            }
        };
        WatsonHealth3DMprToggle32.titleIdCounter = 0;
        WatsonHealth3DMprToggle32.decorators = [
            { type: core.Component, args: [{
                        selector: "ibm-icon-watson-health3-d-mpr-toggle32",
                        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=\"M11 2H2v9h2V4h7V2zM2 21v9h9v-2H4v-7H2zm28-10V2h-9v2h7v7h2zm-9 19h9v-9h-2v7h-7v2zm4.49-19.87l-9-5a1 1 0 0 0-1 0l-9 5A1 1 0 0 0 6 11v10a1 1 0 0 0 .51.87l9 5a1 1 0 0 0 1 0l9-5A1 1 0 0 0 26 21V11a1 1 0 0 0-.51-.87zM16 7.14L22.94 11 16 14.86 9.06 11zM8 12.7l7 3.89v7.71l-7-3.89zm9 11.6v-7.71l7-3.89v7.71z\"></path></svg>"
                    },] },
        ];
        /** @nocollapse */
        WatsonHealth3DMprToggle32.ctorParameters = function () { return [
            { type: core.ElementRef }
        ]; };
        WatsonHealth3DMprToggle32.propDecorators = {
            ariaLabel: [{ type: core.Input }],
            ariaLabelledby: [{ type: core.Input }],
            ariaHidden: [{ type: core.Input }],
            title: [{ type: core.Input }],
            focusable: [{ type: core.Input }]
        };
        return WatsonHealth3DMprToggle32;
    }());
    var WatsonHealth3DMprToggle32Module = /** @class */ (function () {
        function WatsonHealth3DMprToggle32Module() {
        }
        WatsonHealth3DMprToggle32Module.decorators = [
            { type: core.NgModule, args: [{
                        declarations: [
                            WatsonHealth3DMprToggle32
                        ],
                        exports: [
                            WatsonHealth3DMprToggle32
                        ]
                    },] },
        ];
        return WatsonHealth3DMprToggle32Module;
    }());

    exports.WatsonHealth3DMprToggle32 = WatsonHealth3DMprToggle32;
    exports.WatsonHealth3DMprToggle32Module = WatsonHealth3DMprToggle32Module;

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

})));
