(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 LogoGithub32 = /** @class */ (function () {
        function LogoGithub32(elementRef) {
            this.elementRef = elementRef;
        }
        LogoGithub32.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;
                LogoGithub32.titleIdCounter++;
                title.setAttribute("id", "logo-github32-" + LogoGithub32.titleIdCounter);
                svg.appendChild(title);
                svg.setAttribute("aria-labelledby", "logo-github32-" + LogoGithub32.titleIdCounter);
            }
        };
        LogoGithub32.titleIdCounter = 0;
        LogoGithub32.decorators = [
            { type: core.Component, args: [{
                        selector: "ibm-icon-logo-github32",
                        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 fill-rule=\"evenodd\" d=\"M16 2a14 14 0 0 0-4.43 27.28c.7.13 1-.3 1-.67v-2.38c-3.89.84-4.71-1.88-4.71-1.88a3.71 3.71 0 0 0-1.62-2.05c-1.27-.86.1-.85.1-.85a2.94 2.94 0 0 1 2.14 1.45 3 3 0 0 0 4.08 1.16 2.93 2.93 0 0 1 .88-1.87c-3.1-.36-6.37-1.56-6.37-6.92a5.4 5.4 0 0 1 1.44-3.76 5 5 0 0 1 .14-3.7s1.17-.38 3.85 1.43a13.3 13.3 0 0 1 7 0c2.67-1.81 3.84-1.43 3.84-1.43a5 5 0 0 1 .14 3.7 5.4 5.4 0 0 1 1.44 3.76c0 5.38-3.27 6.56-6.39 6.91a3.33 3.33 0 0 1 .95 2.59v3.84c0 .46.25.81 1 .67A14 14 0 0 0 16 2z\"></path></svg>"
                    },] },
        ];
        /** @nocollapse */
        LogoGithub32.ctorParameters = function () { return [
            { type: core.ElementRef }
        ]; };
        LogoGithub32.propDecorators = {
            ariaLabel: [{ type: core.Input }],
            ariaLabelledby: [{ type: core.Input }],
            ariaHidden: [{ type: core.Input }],
            title: [{ type: core.Input }],
            focusable: [{ type: core.Input }]
        };
        return LogoGithub32;
    }());
    var LogoGithub32Module = /** @class */ (function () {
        function LogoGithub32Module() {
        }
        LogoGithub32Module.decorators = [
            { type: core.NgModule, args: [{
                        declarations: [
                            LogoGithub32
                        ],
                        exports: [
                            LogoGithub32
                        ]
                    },] },
        ];
        return LogoGithub32Module;
    }());

    exports.LogoGithub32 = LogoGithub32;
    exports.LogoGithub32Module = LogoGithub32Module;

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

})));
