(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 SendAlt20 = /** @class */ (function () {
        function SendAlt20(elementRef) {
            this.elementRef = elementRef;
        }
        SendAlt20.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;
                SendAlt20.titleIdCounter++;
                title.setAttribute("id", "send-alt20-" + SendAlt20.titleIdCounter);
                svg.appendChild(title);
                svg.setAttribute("aria-labelledby", "send-alt20-" + SendAlt20.titleIdCounter);
            }
        };
        SendAlt20.titleIdCounter = 0;
        SendAlt20.decorators = [
            { type: core.Component, args: [{
                        selector: "ibm-icon-send-alt20",
                        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.71 4.29a1 1 0 0 0-1.05-.23l-22 8a1 1 0 0 0 0 1.87l9.6 3.84 3.84 9.6a1 1 0 0 0 .9.63 1 1 0 0 0 .92-.66l8-22a1 1 0 0 0-.21-1.05zM19 24.2l-2.79-7L21 12.41 19.59 11l-4.83 4.83L7.8 13l17.53-6.33z\"></path></svg>"
                    },] },
        ];
        /** @nocollapse */
        SendAlt20.ctorParameters = function () { return [
            { type: core.ElementRef }
        ]; };
        SendAlt20.propDecorators = {
            ariaLabel: [{ type: core.Input }],
            ariaLabelledby: [{ type: core.Input }],
            ariaHidden: [{ type: core.Input }],
            title: [{ type: core.Input }],
            focusable: [{ type: core.Input }]
        };
        return SendAlt20;
    }());
    var SendAlt20Module = /** @class */ (function () {
        function SendAlt20Module() {
        }
        SendAlt20Module.decorators = [
            { type: core.NgModule, args: [{
                        declarations: [
                            SendAlt20
                        ],
                        exports: [
                            SendAlt20
                        ]
                    },] },
        ];
        return SendAlt20Module;
    }());

    exports.SendAlt20 = SendAlt20;
    exports.SendAlt20Module = SendAlt20Module;

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

})));
