(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 LogoDigg32 = /** @class */ (function () {
        function LogoDigg32(elementRef) {
            this.elementRef = elementRef;
        }
        LogoDigg32.prototype.ngAfterViewInit = function () {
            var svg = this.elementRef.nativeElement.querySelector("svg");
            var attributes = iconHelpers.getAttributes({
                width: 32,
                height: 32,
                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;
                LogoDigg32.titleIdCounter++;
                title.setAttribute("id", "logo-digg32-" + LogoDigg32.titleIdCounter);
                svg.appendChild(title);
                svg.setAttribute("aria-labelledby", "logo-digg32-" + LogoDigg32.titleIdCounter);
            }
        };
        LogoDigg32.titleIdCounter = 0;
        LogoDigg32.decorators = [
            { type: core.Component, args: [{
                        selector: "ibm-icon-logo-digg32",
                        template: "<svg focusable=\"false\" preserveAspectRatio=\"xMidYMid meet\" style=\"will-change: transform;\" xmlns=\"http://www.w3.org/2000/svg\" width=\"32\" height=\"32\" viewBox=\"0 0 32 32\" aria-hidden=\"true\"><path d=\"M6.48 7.6v3.92H2V21h7.28V7.6zm0 11.2H4.8v-5h1.68zm3.92-7.28h2.8v9.52h-2.8zm0-3.92h2.8v2.8h-2.8zm3.92 3.92V21h4.48v1.12h-4.48v2.28h7.28V11.52zm4.48 7.28h-1.68v-5h1.68zm3.92-7.28V21h4.48v1.12h-4.48v2.28H30V11.52zm4.48 7.28h-1.68v-5h1.68z\"></path></svg>"
                    },] },
        ];
        /** @nocollapse */
        LogoDigg32.ctorParameters = function () { return [
            { type: core.ElementRef }
        ]; };
        LogoDigg32.propDecorators = {
            ariaLabel: [{ type: core.Input }],
            ariaLabelledby: [{ type: core.Input }],
            ariaHidden: [{ type: core.Input }],
            title: [{ type: core.Input }],
            focusable: [{ type: core.Input }]
        };
        return LogoDigg32;
    }());
    var LogoDigg32Module = /** @class */ (function () {
        function LogoDigg32Module() {
        }
        LogoDigg32Module.decorators = [
            { type: core.NgModule, args: [{
                        declarations: [
                            LogoDigg32
                        ],
                        exports: [
                            LogoDigg32
                        ]
                    },] },
        ];
        return LogoDigg32Module;
    }());

    exports.LogoDigg32 = LogoDigg32;
    exports.LogoDigg32Module = LogoDigg32Module;

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

})));
