(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 Industry20 = /** @class */ (function () {
        function Industry20(elementRef) {
            this.elementRef = elementRef;
        }
        Industry20.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;
                Industry20.titleIdCounter++;
                title.setAttribute("id", "industry20-" + Industry20.titleIdCounter);
                svg.appendChild(title);
                svg.setAttribute("aria-labelledby", "industry20-" + Industry20.titleIdCounter);
            }
        };
        Industry20.titleIdCounter = 0;
        Industry20.decorators = [
            { type: core.Component, args: [{
                        selector: "ibm-icon-industry20",
                        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.53 6.15a1 1 0 0 0-1 0L20 10.38V7a1 1 0 0 0-1.45-.89L10 10.38V3a1 1 0 0 0-1-1H3a1 1 0 0 0-1 1v25h28V7a1 1 0 0 0-.47-.85zM22 26h-4v-7h4zm6 0h-4v-8a1 1 0 0 0-1-1h-6a1 1 0 0 0-1 1v8H4V4h4v9.62l10-5v5l10-5z\"></path></svg>"
                    },] },
        ];
        /** @nocollapse */
        Industry20.ctorParameters = function () { return [
            { type: core.ElementRef }
        ]; };
        Industry20.propDecorators = {
            ariaLabel: [{ type: core.Input }],
            ariaLabelledby: [{ type: core.Input }],
            ariaHidden: [{ type: core.Input }],
            title: [{ type: core.Input }],
            focusable: [{ type: core.Input }]
        };
        return Industry20;
    }());
    var Industry20Module = /** @class */ (function () {
        function Industry20Module() {
        }
        Industry20Module.decorators = [
            { type: core.NgModule, args: [{
                        declarations: [
                            Industry20
                        ],
                        exports: [
                            Industry20
                        ]
                    },] },
        ];
        return Industry20Module;
    }());

    exports.Industry20 = Industry20;
    exports.Industry20Module = Industry20Module;

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

})));
