(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 WatsonHealthZoomPan20 = /** @class */ (function () {
        function WatsonHealthZoomPan20(elementRef) {
            this.elementRef = elementRef;
        }
        WatsonHealthZoomPan20.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;
                WatsonHealthZoomPan20.titleIdCounter++;
                title.setAttribute("id", "watson-health-zoom-pan20-" + WatsonHealthZoomPan20.titleIdCounter);
                svg.appendChild(title);
                svg.setAttribute("aria-labelledby", "watson-health-zoom-pan20-" + WatsonHealthZoomPan20.titleIdCounter);
            }
        };
        WatsonHealthZoomPan20.titleIdCounter = 0;
        WatsonHealthZoomPan20.decorators = [
            { type: core.Component, args: [{
                        selector: "ibm-icon-watson-health-zoom-pan20",
                        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=\"M27.01 12l-1.41 1.41L28.18 16l-2.59 2.59L27.01 20l4-4-4-4zm-20.6 1.42L5 12l-4 4 4 4 1.42-1.41L3.83 16l2.58-2.58zM16 28.17l-2.59-2.59L12 27l4 4 4-4-1.41-1.41L16 28.17zm0-24.34l2.58 2.58L20 5l-4-4-4 4 1.41 1.42L16 3.83zM22 16a6 6 0 1 0-2.53 4.89l3.82 3.82 1.42-1.42-3.82-3.82A6 6 0 0 0 22 16zm-6 4a4 4 0 1 1 4-4 4 4 0 0 1-4 4z\"></path></svg>"
                    },] },
        ];
        /** @nocollapse */
        WatsonHealthZoomPan20.ctorParameters = function () { return [
            { type: core.ElementRef }
        ]; };
        WatsonHealthZoomPan20.propDecorators = {
            ariaLabel: [{ type: core.Input }],
            ariaLabelledby: [{ type: core.Input }],
            ariaHidden: [{ type: core.Input }],
            title: [{ type: core.Input }],
            focusable: [{ type: core.Input }]
        };
        return WatsonHealthZoomPan20;
    }());
    var WatsonHealthZoomPan20Module = /** @class */ (function () {
        function WatsonHealthZoomPan20Module() {
        }
        WatsonHealthZoomPan20Module.decorators = [
            { type: core.NgModule, args: [{
                        declarations: [
                            WatsonHealthZoomPan20
                        ],
                        exports: [
                            WatsonHealthZoomPan20
                        ]
                    },] },
        ];
        return WatsonHealthZoomPan20Module;
    }());

    exports.WatsonHealthZoomPan20 = WatsonHealthZoomPan20;
    exports.WatsonHealthZoomPan20Module = WatsonHealthZoomPan20Module;

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

})));
