(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 Launch16 = /** @class */ (function () {
        function Launch16(elementRef) {
            this.elementRef = elementRef;
        }
        Launch16.prototype.ngAfterViewInit = function () {
            var svg = this.elementRef.nativeElement.querySelector("svg");
            var attributes = iconHelpers.getAttributes({
                width: 16,
                height: 16,
                viewBox: "0 0 16 16",
                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;
                Launch16.titleIdCounter++;
                title.setAttribute("id", "launch16-" + Launch16.titleIdCounter);
                svg.appendChild(title);
                svg.setAttribute("aria-labelledby", "launch16-" + Launch16.titleIdCounter);
            }
        };
        Launch16.titleIdCounter = 0;
        Launch16.decorators = [
            { type: core.Component, args: [{
                        selector: "ibm-icon-launch16",
                        template: "<svg focusable=\"false\" preserveAspectRatio=\"xMidYMid meet\" style=\"will-change: transform;\" xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" aria-hidden=\"true\"><path d=\"M13 14H3c-.6 0-1-.4-1-1V3c0-.6.4-1 1-1h5v1H3v10h10V8h1v5c0 .6-.4 1-1 1z\"></path><path d=\"M10 1v1h3.3L9 6.3l.7.7L14 2.7V6h1V1z\"></path></svg>"
                    },] },
        ];
        /** @nocollapse */
        Launch16.ctorParameters = function () { return [
            { type: core.ElementRef }
        ]; };
        Launch16.propDecorators = {
            ariaLabel: [{ type: core.Input }],
            ariaLabelledby: [{ type: core.Input }],
            ariaHidden: [{ type: core.Input }],
            title: [{ type: core.Input }],
            focusable: [{ type: core.Input }]
        };
        return Launch16;
    }());
    var Launch16Module = /** @class */ (function () {
        function Launch16Module() {
        }
        Launch16Module.decorators = [
            { type: core.NgModule, args: [{
                        declarations: [
                            Launch16
                        ],
                        exports: [
                            Launch16
                        ]
                    },] },
        ];
        return Launch16Module;
    }());

    exports.Launch16 = Launch16;
    exports.Launch16Module = Launch16Module;

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

})));
