(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 Notification24 = /** @class */ (function () {
        function Notification24(elementRef) {
            this.elementRef = elementRef;
        }
        Notification24.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;
                Notification24.titleIdCounter++;
                title.setAttribute("id", "notification24-" + Notification24.titleIdCounter);
                svg.appendChild(title);
                svg.setAttribute("aria-labelledby", "notification24-" + Notification24.titleIdCounter);
            }
        };
        Notification24.titleIdCounter = 0;
        Notification24.decorators = [
            { type: core.Component, args: [{
                        selector: "ibm-icon-notification24",
                        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=\"M28.7 20.3L26 17.6V13a10.07 10.07 0 0 0-9-10V1h-2v2a10.15 10.15 0 0 0-9 10v4.6l-2.7 2.7a.91.91 0 0 0-.3.7v3a.94.94 0 0 0 1 1h7a5 5 0 0 0 10 0h7a.94.94 0 0 0 1-1v-3a.91.91 0 0 0-.3-.7zM16 28a3 3 0 0 1-3-3h6a3 3 0 0 1-3 3zm11-5H5v-1.6l2.7-2.7A.91.91 0 0 0 8 18v-5a8 8 0 0 1 16 0v5a.91.91 0 0 0 .3.7l2.7 2.7z\"></path></svg>"
                    },] },
        ];
        /** @nocollapse */
        Notification24.ctorParameters = function () { return [
            { type: core.ElementRef }
        ]; };
        Notification24.propDecorators = {
            ariaLabel: [{ type: core.Input }],
            ariaLabelledby: [{ type: core.Input }],
            ariaHidden: [{ type: core.Input }],
            title: [{ type: core.Input }],
            focusable: [{ type: core.Input }]
        };
        return Notification24;
    }());
    var Notification24Module = /** @class */ (function () {
        function Notification24Module() {
        }
        Notification24Module.decorators = [
            { type: core.NgModule, args: [{
                        declarations: [
                            Notification24
                        ],
                        exports: [
                            Notification24
                        ]
                    },] },
        ];
        return Notification24Module;
    }());

    exports.Notification24 = Notification24;
    exports.Notification24Module = Notification24Module;

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

})));
