(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 TextKerning32 = /** @class */ (function () {
        function TextKerning32(elementRef) {
            this.elementRef = elementRef;
        }
        TextKerning32.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;
                TextKerning32.titleIdCounter++;
                title.setAttribute("id", "text-kerning32-" + TextKerning32.titleIdCounter);
                svg.appendChild(title);
                svg.setAttribute("aria-labelledby", "text-kerning32-" + TextKerning32.titleIdCounter);
            }
        };
        TextKerning32.titleIdCounter = 0;
        TextKerning32.decorators = [
            { type: core.Component, args: [{
                        selector: "ibm-icon-text-kerning32",
                        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=\"M30 24H18.83l2.29-2.29-1.41-1.42L15 25l4.71 4.71 1.41-1.42L18.83 26H30v-2zm-16-3l6-17h-2l-6 17h2zM13 4L9 16 5 4H3l5 14h2l5-14h-2zm15 14h2L25 4h-2l-5 14h2l1-3h6zm-6.33-5L24 6l2.33 7z\"></path></svg>"
                    },] },
        ];
        /** @nocollapse */
        TextKerning32.ctorParameters = function () { return [
            { type: core.ElementRef }
        ]; };
        TextKerning32.propDecorators = {
            ariaLabel: [{ type: core.Input }],
            ariaLabelledby: [{ type: core.Input }],
            ariaHidden: [{ type: core.Input }],
            title: [{ type: core.Input }],
            focusable: [{ type: core.Input }]
        };
        return TextKerning32;
    }());
    var TextKerning32Module = /** @class */ (function () {
        function TextKerning32Module() {
        }
        TextKerning32Module.decorators = [
            { type: core.NgModule, args: [{
                        declarations: [
                            TextKerning32
                        ],
                        exports: [
                            TextKerning32
                        ]
                    },] },
        ];
        return TextKerning32Module;
    }());

    exports.TextKerning32 = TextKerning32;
    exports.TextKerning32Module = TextKerning32Module;

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

})));
