(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 Debug20 = /** @class */ (function () {
        function Debug20(elementRef) {
            this.elementRef = elementRef;
        }
        Debug20.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;
                Debug20.titleIdCounter++;
                title.setAttribute("id", "debug20-" + Debug20.titleIdCounter);
                svg.appendChild(title);
                svg.setAttribute("aria-labelledby", "debug20-" + Debug20.titleIdCounter);
            }
        };
        Debug20.titleIdCounter = 0;
        Debug20.decorators = [
            { type: core.Component, args: [{
                        selector: "ibm-icon-debug20",
                        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.83 20l.34-2-5.17-.85v-4.38l5.06-1.36-.51-1.93-4.83 1.29A9 9 0 0 0 20 5V2h-2v2.23a8.81 8.81 0 0 0-4 0V2h-2v3a9 9 0 0 0-4.71 5.82L2.46 9.48 2 11.41l5 1.36v4.38L1.84 18l.32 2L7 19.18a8.9 8.9 0 0 0 .82 3.57l-4.53 4.54 1.42 1.42 4.19-4.2a9 9 0 0 0 14.2 0l4.19 4.2 1.42-1.42-4.54-4.54a8.9 8.9 0 0 0 .83-3.57zM15 25.92A7 7 0 0 1 9 19v-6h6zM9.29 11a7 7 0 0 1 13.42 0zM23 19a7 7 0 0 1-6 6.92V13h6z\"></path></svg>"
                    },] },
        ];
        /** @nocollapse */
        Debug20.ctorParameters = function () { return [
            { type: core.ElementRef }
        ]; };
        Debug20.propDecorators = {
            ariaLabel: [{ type: core.Input }],
            ariaLabelledby: [{ type: core.Input }],
            ariaHidden: [{ type: core.Input }],
            title: [{ type: core.Input }],
            focusable: [{ type: core.Input }]
        };
        return Debug20;
    }());
    var Debug20Module = /** @class */ (function () {
        function Debug20Module() {
        }
        Debug20Module.decorators = [
            { type: core.NgModule, args: [{
                        declarations: [
                            Debug20
                        ],
                        exports: [
                            Debug20
                        ]
                    },] },
        ];
        return Debug20Module;
    }());

    exports.Debug20 = Debug20;
    exports.Debug20Module = Debug20Module;

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

})));
