(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 Taxi24 = /** @class */ (function () {
        function Taxi24(elementRef) {
            this.elementRef = elementRef;
        }
        Taxi24.prototype.ngAfterViewInit = function () {
            var svg = this.elementRef.nativeElement.querySelector("svg");
            var attributes = iconHelpers.getAttributes({
                width: 24,
                height: 24,
                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;
                Taxi24.titleIdCounter++;
                title.setAttribute("id", "taxi24-" + Taxi24.titleIdCounter);
                svg.appendChild(title);
                svg.setAttribute("aria-labelledby", "taxi24-" + Taxi24.titleIdCounter);
            }
        };
        Taxi24.titleIdCounter = 0;
        Taxi24.decorators = [
            { type: core.Component, args: [{
                        selector: "ibm-icon-taxi24",
                        template: "<svg focusable=\"false\" preserveAspectRatio=\"xMidYMid meet\" style=\"will-change: transform;\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 32 32\" aria-hidden=\"true\"><path d=\"M29.39 16.08l-6.69-2.87-2.54-4.34-.08-.12A2 2 0 0 0 18.52 8h-8a2 2 0 0 0-1.67.89L5.46 14H3a1 1 0 0 0-1 1v9a1 1 0 0 0 1 1h2.14a4 4 0 0 0 7.72 0h6.28a4 4 0 0 0 7.72 0H29a1 1 0 0 0 1-1v-7a1 1 0 0 0-.61-.92zM9 26a2 2 0 1 1 2-2 2 2 0 0 1-2 2zm14 0a2 2 0 1 1 2-2 2 2 0 0 1-2 2zm5-3h-1.14a4 4 0 0 0-7.72 0h-6.28a4 4 0 0 0-7.72 0H4v-7h2a1 1 0 0 0 .83-.45L10.54 10h8l2.63 4.5a1 1 0 0 0 .47.42L28 17.66z\"></path></svg>"
                    },] },
        ];
        /** @nocollapse */
        Taxi24.ctorParameters = function () { return [
            { type: core.ElementRef }
        ]; };
        Taxi24.propDecorators = {
            ariaLabel: [{ type: core.Input }],
            ariaLabelledby: [{ type: core.Input }],
            ariaHidden: [{ type: core.Input }],
            title: [{ type: core.Input }],
            focusable: [{ type: core.Input }]
        };
        return Taxi24;
    }());
    var Taxi24Module = /** @class */ (function () {
        function Taxi24Module() {
        }
        Taxi24Module.decorators = [
            { type: core.NgModule, args: [{
                        declarations: [
                            Taxi24
                        ],
                        exports: [
                            Taxi24
                        ]
                    },] },
        ];
        return Taxi24Module;
    }());

    exports.Taxi24 = Taxi24;
    exports.Taxi24Module = Taxi24Module;

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

})));
