(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 WatsonHealthWindowAuto32 = /** @class */ (function () {
        function WatsonHealthWindowAuto32(elementRef) {
            this.elementRef = elementRef;
        }
        WatsonHealthWindowAuto32.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;
                WatsonHealthWindowAuto32.titleIdCounter++;
                title.setAttribute("id", "watson-health-window-auto32-" + WatsonHealthWindowAuto32.titleIdCounter);
                svg.appendChild(title);
                svg.setAttribute("aria-labelledby", "watson-health-window-auto32-" + WatsonHealthWindowAuto32.titleIdCounter);
            }
        };
        WatsonHealthWindowAuto32.titleIdCounter = 0;
        WatsonHealthWindowAuto32.decorators = [
            { type: core.Component, args: [{
                        selector: "ibm-icon-watson-health-window-auto32",
                        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=\"M15 4h2v3h-2zm10 11h3v2h-3zM15 25h2v3h-2zM4 15h3v2H4zm2.777-6.811L8.19 6.775l2.121 2.12-1.414 1.415zm14.91.711l2.121-2.12 1.414 1.414-2.12 2.121zm-.001 14.197l1.414-1.415 2.121 2.122-1.414 1.414zM6.78 23.8l2.12-2.122 1.414 1.414-2.121 2.122zM4 30h24v2H4zM4 0h24v2H4zm12 10a6 6 0 1 0 6 6 6 6 0 0 0-6-6zm-4 6a4 4 0 0 1 4-4v8a4 4 0 0 1-4-4z\"></path></svg>"
                    },] },
        ];
        /** @nocollapse */
        WatsonHealthWindowAuto32.ctorParameters = function () { return [
            { type: core.ElementRef }
        ]; };
        WatsonHealthWindowAuto32.propDecorators = {
            ariaLabel: [{ type: core.Input }],
            ariaLabelledby: [{ type: core.Input }],
            ariaHidden: [{ type: core.Input }],
            title: [{ type: core.Input }],
            focusable: [{ type: core.Input }]
        };
        return WatsonHealthWindowAuto32;
    }());
    var WatsonHealthWindowAuto32Module = /** @class */ (function () {
        function WatsonHealthWindowAuto32Module() {
        }
        WatsonHealthWindowAuto32Module.decorators = [
            { type: core.NgModule, args: [{
                        declarations: [
                            WatsonHealthWindowAuto32
                        ],
                        exports: [
                            WatsonHealthWindowAuto32
                        ]
                    },] },
        ];
        return WatsonHealthWindowAuto32Module;
    }());

    exports.WatsonHealthWindowAuto32 = WatsonHealthWindowAuto32;
    exports.WatsonHealthWindowAuto32Module = WatsonHealthWindowAuto32Module;

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

})));
