(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 LogoYoutube24 = /** @class */ (function () {
        function LogoYoutube24(elementRef) {
            this.elementRef = elementRef;
        }
        LogoYoutube24.prototype.ngAfterViewInit = function () {
            var svg = this.elementRef.nativeElement.querySelector("svg");
            var attributes = iconHelpers.getAttributes({
                width: 24,
                height: 24,
                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;
                LogoYoutube24.titleIdCounter++;
                title.setAttribute("id", "logo-youtube24-" + LogoYoutube24.titleIdCounter);
                svg.appendChild(title);
                svg.setAttribute("aria-labelledby", "logo-youtube24-" + LogoYoutube24.titleIdCounter);
            }
        };
        LogoYoutube24.titleIdCounter = 0;
        LogoYoutube24.decorators = [
            { type: core.Component, args: [{
                        selector: "ibm-icon-logo-youtube24",
                        template: "<svg focusable=\"false\" preserveAspectRatio=\"xMidYMid meet\" style=\"will-change: transform;\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 32 32\" aria-hidden=\"true\"><path d=\"M29.41 9.26a3.5 3.5 0 0 0-2.47-2.47C24.76 6.2 16 6.2 16 6.2s-8.76 0-10.94.59a3.5 3.5 0 0 0-2.47 2.47A36.13 36.13 0 0 0 2 16a36.13 36.13 0 0 0 .59 6.74 3.5 3.5 0 0 0 2.47 2.47c2.18.59 10.94.59 10.94.59s8.76 0 10.94-.59a3.5 3.5 0 0 0 2.47-2.47A36.13 36.13 0 0 0 30 16a36.13 36.13 0 0 0-.59-6.74zM13.2 20.2v-8.4l7.27 4.2z\"></path></svg>"
                    },] },
        ];
        /** @nocollapse */
        LogoYoutube24.ctorParameters = function () { return [
            { type: core.ElementRef }
        ]; };
        LogoYoutube24.propDecorators = {
            ariaLabel: [{ type: core.Input }],
            ariaLabelledby: [{ type: core.Input }],
            ariaHidden: [{ type: core.Input }],
            title: [{ type: core.Input }],
            focusable: [{ type: core.Input }]
        };
        return LogoYoutube24;
    }());
    var LogoYoutube24Module = /** @class */ (function () {
        function LogoYoutube24Module() {
        }
        LogoYoutube24Module.decorators = [
            { type: core.NgModule, args: [{
                        declarations: [
                            LogoYoutube24
                        ],
                        exports: [
                            LogoYoutube24
                        ]
                    },] },
        ];
        return LogoYoutube24Module;
    }());

    exports.LogoYoutube24 = LogoYoutube24;
    exports.LogoYoutube24Module = LogoYoutube24Module;

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

})));
