(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 Touch_232 = /** @class */ (function () {
        function Touch_232(elementRef) {
            this.elementRef = elementRef;
        }
        Touch_232.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;
                Touch_232.titleIdCounter++;
                title.setAttribute("id", "touch-232-" + Touch_232.titleIdCounter);
                svg.appendChild(title);
                svg.setAttribute("aria-labelledby", "touch-232-" + Touch_232.titleIdCounter);
            }
        };
        Touch_232.titleIdCounter = 0;
        Touch_232.decorators = [
            { type: core.Component, args: [{
                        selector: "ibm-icon-touch-232",
                        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=\"M29 15h-2a11 11 0 0 0-22 0H3a13 13 0 0 1 26 0z\"></path><path d=\"M25 28h-2V15a7 7 0 1 0-14 0v13H7V15a9 9 0 0 1 18 0z\"></path><path d=\"M21 20H11v-5a5 5 0 0 1 10 0zm-8-2h6v-3a3 3 0 0 0-6 0z\"></path></svg>"
                    },] },
        ];
        /** @nocollapse */
        Touch_232.ctorParameters = function () { return [
            { type: core.ElementRef }
        ]; };
        Touch_232.propDecorators = {
            ariaLabel: [{ type: core.Input }],
            ariaLabelledby: [{ type: core.Input }],
            ariaHidden: [{ type: core.Input }],
            title: [{ type: core.Input }],
            focusable: [{ type: core.Input }]
        };
        return Touch_232;
    }());
    var Touch_232Module = /** @class */ (function () {
        function Touch_232Module() {
        }
        Touch_232Module.decorators = [
            { type: core.NgModule, args: [{
                        declarations: [
                            Touch_232
                        ],
                        exports: [
                            Touch_232
                        ]
                    },] },
        ];
        return Touch_232Module;
    }());

    exports.Touch_232 = Touch_232;
    exports.Touch_232Module = Touch_232Module;

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

})));
