(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 Rss24 = /** @class */ (function () {
        function Rss24(elementRef) {
            this.elementRef = elementRef;
        }
        Rss24.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;
                Rss24.titleIdCounter++;
                title.setAttribute("id", "rss24-" + Rss24.titleIdCounter);
                svg.appendChild(title);
                svg.setAttribute("aria-labelledby", "rss24-" + Rss24.titleIdCounter);
            }
        };
        Rss24.titleIdCounter = 0;
        Rss24.decorators = [
            { type: core.Component, args: [{
                        selector: "ibm-icon-rss24",
                        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=\"M8 18c-3.3 0-6 2.7-6 6s2.7 6 6 6 6-2.7 6-6-2.7-6-6-6zm0 10c-2.2 0-4-1.8-4-4s1.8-4 4-4 4 1.8 4 4-1.8 4-4 4zm22-4h-2C28 13 19 4 8 4V2c12.1 0 22 9.9 22 22z\"></path><path d=\"M22 24h-2c0-6.6-5.4-12-12-12v-2c7.7 0 14 6.3 14 14z\"></path></svg>"
                    },] },
        ];
        /** @nocollapse */
        Rss24.ctorParameters = function () { return [
            { type: core.ElementRef }
        ]; };
        Rss24.propDecorators = {
            ariaLabel: [{ type: core.Input }],
            ariaLabelledby: [{ type: core.Input }],
            ariaHidden: [{ type: core.Input }],
            title: [{ type: core.Input }],
            focusable: [{ type: core.Input }]
        };
        return Rss24;
    }());
    var Rss24Module = /** @class */ (function () {
        function Rss24Module() {
        }
        Rss24Module.decorators = [
            { type: core.NgModule, args: [{
                        declarations: [
                            Rss24
                        ],
                        exports: [
                            Rss24
                        ]
                    },] },
        ];
        return Rss24Module;
    }());

    exports.Rss24 = Rss24;
    exports.Rss24Module = Rss24Module;

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

})));
