/**
 * @fileoverview added by tsickle
 * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
 */
import { Component } from '@angular/core';
import { NotificationService } from '../notification.service';
var NotificationLauncherComponent = /** @class */ (function () {
    function NotificationLauncherComponent(notifications) {
        this.notifications = notifications;
    }
    /**
     * @return {?}
     */
    NotificationLauncherComponent.prototype.ngOnInit = /**
     * @return {?}
     */
    function () {
        this.unread$ = this.notifications.unread$;
    };
    NotificationLauncherComponent.decorators = [
        { type: Component, args: [{
                    selector: 'bidi-notification-launcher',
                    template: "<div class=\"is-relative\">\n  <a>\n    <!--<svg class=\"icon-tt-new-notifications icon has-text-dark\" style=\"height: 2.4rem;width: 2.4rem;\">\n      <use xlink:href=\"#icon-tt-new-notifications\"></use>\n    </svg>-->\n    <svg class=\"icons-tt\" version=\"1.1\" id=\"Layer_1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" x=\"0px\" y=\"0px\"\n        viewBox=\"0 0 512.001 512.001\" style=\"enable-background:new 0 0 512.001 512.001;\" xml:space=\"preserve\">\n        <g>\n          <g>\n            <path d=\"M504.45,365.901c-60.22-60.237-69.282-90.462-69.282-186.701c0-98.97-80.213-179.2-179.166-179.2\n              S76.836,80.231,76.836,179.2c0,51.891-1.382,71.262-8.525,95.044c-8.883,29.628-27.119,57.993-60.766,91.657\n              C-8.574,382.029,2.844,409.6,25.645,409.6h142.054l-1.289,12.8c0,49.485,40.107,89.6,89.583,89.6\n              c49.476,0,89.583-40.115,89.583-89.6l-1.289-12.8h142.063C509.16,409.6,520.578,382.029,504.45,365.901z M256.01,486.4\n              c-35.337,0-63.991-28.663-63.991-64l1.289-12.8h125.389l1.306,12.8C320.002,457.737,291.347,486.4,256.01,486.4z M25.653,384\n              c76.783-76.8,76.783-128,76.783-204.8c0-84.821,68.753-153.6,153.566-153.6s153.566,68.779,153.574,153.6\n              c0,76.8,0,128,76.783,204.8H25.653z\"/>\n          </g>\n        </g>\n    </svg>\n    <span *ngIf=\"unread$ | async as unread\">{{ unread }}</span>\n  </a>\n  <p class=\"is-size-7\">Notif.</p>\n</div>\n",
                    styles: ["div{position:relative;margin-bottom:7px}div span{background:red;color:#fff;text-align:center;position:absolute;top:-7px;left:16px;font-size:.7rem;border-radius:50%;min-width:16px;height:16px;font-weight:600}.icons-tt{height:1.51rem;width:1.5rem;fill:#555;-webkit-transform:rotate(336deg);transform:rotate(336deg)}"]
                }] }
    ];
    /** @nocollapse */
    NotificationLauncherComponent.ctorParameters = function () { return [
        { type: NotificationService }
    ]; };
    return NotificationLauncherComponent;
}());
export { NotificationLauncherComponent };
if (false) {
    /** @type {?} */
    NotificationLauncherComponent.prototype.unread$;
    /**
     * @type {?}
     * @private
     */
    NotificationLauncherComponent.prototype.notifications;
}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibm90aWZpY2F0aW9uLWxhdW5jaGVyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BiaWRpL2NvbW1vbi1jb21wb25lbnRzLyIsInNvdXJjZXMiOlsibGliL21vZHVsZXMvbm90aWZpY2F0aW9uL25vdGlmaWNhdGlvbi1sYXVuY2hlci9ub3RpZmljYXRpb24tbGF1bmNoZXIuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7QUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFpQixNQUFNLGVBQWUsQ0FBQztBQUN6RCxPQUFPLEVBQUUsbUJBQW1CLEVBQUUsTUFBTSx5QkFBeUIsQ0FBQztBQUc5RDtJQVFFLHVDQUFxQixhQUFrQztRQUFsQyxrQkFBYSxHQUFiLGFBQWEsQ0FBcUI7SUFDdkQsQ0FBQzs7OztJQUVELGdEQUFROzs7SUFBUjtRQUNFLElBQUksQ0FBQyxPQUFPLEdBQUcsSUFBSSxDQUFDLGFBQWEsQ0FBQyxPQUFPLENBQUM7SUFDNUM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