(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 WatsonHealthHangingProtocol32 = /** @class */ (function () {
        function WatsonHealthHangingProtocol32(elementRef) {
            this.elementRef = elementRef;
        }
        WatsonHealthHangingProtocol32.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;
                WatsonHealthHangingProtocol32.titleIdCounter++;
                title.setAttribute("id", "watson-health-hanging-protocol32-" + WatsonHealthHangingProtocol32.titleIdCounter);
                svg.appendChild(title);
                svg.setAttribute("aria-labelledby", "watson-health-hanging-protocol32-" + WatsonHealthHangingProtocol32.titleIdCounter);
            }
        };
        WatsonHealthHangingProtocol32.titleIdCounter = 0;
        WatsonHealthHangingProtocol32.decorators = [
            { type: core.Component, args: [{
                        selector: "ibm-icon-watson-health-hanging-protocol32",
                        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=\"M26.37 20.52L17 15.41v-1.55A4 4 0 1 0 12 10h2a2 2 0 1 1 4 .34A2.08 2.08 0 0 1 15.89 12a.89.89 0 0 0-.89.89v2.52l-9.37 5.11A3.1 3.1 0 0 0 4.25 22a2.83 2.83 0 0 0 2.56 4h18.38a2.83 2.83 0 0 0 2.56-4 3.1 3.1 0 0 0-1.38-1.48zM25.19 24H6.81a.81.81 0 0 1-.81-.81 1 1 0 0 1 .52-.88L16 17.14l9.48 5.17a1 1 0 0 1 .52.88.81.81 0 0 1-.81.81z\"></path></svg>"
                    },] },
        ];
        /** @nocollapse */
        WatsonHealthHangingProtocol32.ctorParameters = function () { return [
            { type: core.ElementRef }
        ]; };
        WatsonHealthHangingProtocol32.propDecorators = {
            ariaLabel: [{ type: core.Input }],
            ariaLabelledby: [{ type: core.Input }],
            ariaHidden: [{ type: core.Input }],
            title: [{ type: core.Input }],
            focusable: [{ type: core.Input }]
        };
        return WatsonHealthHangingProtocol32;
    }());
    var WatsonHealthHangingProtocol32Module = /** @class */ (function () {
        function WatsonHealthHangingProtocol32Module() {
        }
        WatsonHealthHangingProtocol32Module.decorators = [
            { type: core.NgModule, args: [{
                        declarations: [
                            WatsonHealthHangingProtocol32
                        ],
                        exports: [
                            WatsonHealthHangingProtocol32
                        ]
                    },] },
        ];
        return WatsonHealthHangingProtocol32Module;
    }());

    exports.WatsonHealthHangingProtocol32 = WatsonHealthHangingProtocol32;
    exports.WatsonHealthHangingProtocol32Module = WatsonHealthHangingProtocol32Module;

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

})));
