(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 ThumbsDown32 = /** @class */ (function () {
        function ThumbsDown32(elementRef) {
            this.elementRef = elementRef;
        }
        ThumbsDown32.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;
                ThumbsDown32.titleIdCounter++;
                title.setAttribute("id", "thumbs-down32-" + ThumbsDown32.titleIdCounter);
                svg.appendChild(title);
                svg.setAttribute("aria-labelledby", "thumbs-down32-" + ThumbsDown32.titleIdCounter);
            }
        };
        ThumbsDown32.titleIdCounter = 0;
        ThumbsDown32.decorators = [
            { type: core.Component, args: [{
                        selector: "ibm-icon-thumbs-down32",
                        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.76 21A3.64 3.64 0 0 0 30 17v-6c0-3.65-1.56-8-9-8H2v14h6.46L12 22.37l1 6.34v.12A1.51 1.51 0 0 0 14.43 30H16a3.22 3.22 0 0 0 .76 0A3.64 3.64 0 0 0 20 26v-5h6a3.22 3.22 0 0 0 .76 0zM8 15H4V5h4zm20 2c0 1.44-.56 2-2 2h-8v7c0 1.44-.56 2-2 2h-1.13l-.14-1-.73-5.37-4-5.93V5h11c4.78 0 7 1.91 7 6z\"></path></svg>"
                    },] },
        ];
        /** @nocollapse */
        ThumbsDown32.ctorParameters = function () { return [
            { type: core.ElementRef }
        ]; };
        ThumbsDown32.propDecorators = {
            ariaLabel: [{ type: core.Input }],
            ariaLabelledby: [{ type: core.Input }],
            ariaHidden: [{ type: core.Input }],
            title: [{ type: core.Input }],
            focusable: [{ type: core.Input }]
        };
        return ThumbsDown32;
    }());
    var ThumbsDown32Module = /** @class */ (function () {
        function ThumbsDown32Module() {
        }
        ThumbsDown32Module.decorators = [
            { type: core.NgModule, args: [{
                        declarations: [
                            ThumbsDown32
                        ],
                        exports: [
                            ThumbsDown32
                        ]
                    },] },
        ];
        return ThumbsDown32Module;
    }());

    exports.ThumbsDown32 = ThumbsDown32;
    exports.ThumbsDown32Module = ThumbsDown32Module;

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

})));
