(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 Plane20 = /** @class */ (function () {
        function Plane20(elementRef) {
            this.elementRef = elementRef;
        }
        Plane20.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;
                Plane20.titleIdCounter++;
                title.setAttribute("id", "plane20-" + Plane20.titleIdCounter);
                svg.appendChild(title);
                svg.setAttribute("aria-labelledby", "plane20-" + Plane20.titleIdCounter);
            }
        };
        Plane20.titleIdCounter = 0;
        Plane20.decorators = [
            { type: core.Component, args: [{
                        selector: "ibm-icon-plane20",
                        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=\"M29.37 14.75L20 10V6a4 4 0 0 0-8 0v4l-9.37 4.75a1 1 0 0 0-.63.93v5a1 1 0 0 0 1 1 1 1 0 0 0 .29-.05L12 18v5l-3.45 1.72a1 1 0 0 0-.55.9V29a1 1 0 0 0 1 1 .9.9 0 0 0 .28 0L16 28l6.72 2a.9.9 0 0 0 .28 0 1 1 0 0 0 1-1v-3.38a1 1 0 0 0-.55-.9L20 23v-5l8.71 3.61a1 1 0 0 0 .29.05 1 1 0 0 0 1-1v-5a1 1 0 0 0-.63-.91zM28 19.15L18 15v9.24l4 2v1.43l-6-1.75-6 1.75v-1.43l4-2V15L4 19.15V16.3l10-5.07V6a2 2 0 0 1 4 0v5.23l10 5.07z\"></path></svg>"
                    },] },
        ];
        /** @nocollapse */
        Plane20.ctorParameters = function () { return [
            { type: core.ElementRef }
        ]; };
        Plane20.propDecorators = {
            ariaLabel: [{ type: core.Input }],
            ariaLabelledby: [{ type: core.Input }],
            ariaHidden: [{ type: core.Input }],
            title: [{ type: core.Input }],
            focusable: [{ type: core.Input }]
        };
        return Plane20;
    }());
    var Plane20Module = /** @class */ (function () {
        function Plane20Module() {
        }
        Plane20Module.decorators = [
            { type: core.NgModule, args: [{
                        declarations: [
                            Plane20
                        ],
                        exports: [
                            Plane20
                        ]
                    },] },
        ];
        return Plane20Module;
    }());

    exports.Plane20 = Plane20;
    exports.Plane20Module = Plane20Module;

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

})));
