/**
 * @fileoverview added by tsickle
 * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
 */
import { Component, Input } from '@angular/core';
var ContentViewsComponent = /** @class */ (function () {
    function ContentViewsComponent() {
        this.text = 'visitas';
    }
    /**
     * @return {?}
     */
    ContentViewsComponent.prototype.ngOnInit = /**
     * @return {?}
     */
    function () {
        if (this.views === 1) {
            this.text = 'visita';
        }
    };
    ContentViewsComponent.decorators = [
        { type: Component, args: [{
                    selector: 'bidi-content-views',
                    template: "<div class=\"views-content is-blue\">\n\t\n\t<svg 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\t\t width=\"10px\" height=\"15px\" viewBox=\"0 0 10 15\" style=\"enable-background:new 0 0 10 15;\" xml:space=\"preserve\" style=\"float: left; margin-right: 5px;\">\n\t<style type=\"text/css\">\n\t\t.st0{fill:#00CEFA;}\n\t\t.st1{fill:none;}\n\t</style>\n\t<path class=\"st0\" d=\"M5,0.4c-2.7,0-4.9,2.2-4.9,4.9c0,3.7,4.9,9.2,4.9,9.2s4.9-5.5,4.9-9.2C9.9,2.6,7.7,0.4,5,0.4z M5,7.1\n\t\tc-1,0-1.8-0.8-1.8-1.8S4,3.6,5,3.6s1.8,0.8,1.8,1.8S6,7.1,5,7.1z\"/>\n\t<path class=\"st1\" d=\"M-7-4.5h24v24H-7V-4.5z\"/>\n\t</svg>\n\n    <span class=\"number-views\" *ngIf=\"views; else whitoutViews\">{{views}} </span>\n    <ng-template #whitoutViews>\n        <span class=\"number-views\">0 </span>\n    </ng-template>\n    <p>{{text}}</p>\n</div>\n",
                    styles: [".views-content{font-family:latobold}.views-content span{float:left;margin-right:3px}.views-content p{float:left}"]
                }] }
    ];
    /** @nocollapse */
    ContentViewsComponent.ctorParameters = function () { return []; };
    ContentViewsComponent.propDecorators = {
        views: [{ type: Input }]
    };
    return ContentViewsComponent;
}());
export { ContentViewsComponent };
if (false) {
    /** @type {?} */
    ContentViewsComponent.prototype.views;
    /** @type {?} */
    ContentViewsComponent.prototype.text;
}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29udGVudC12aWV3cy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYmlkaS9jb21tb24tY29tcG9uZW50cy8iLCJzb3VyY2VzIjpbImxpYi9tb2R1bGVzL2NvbnRlbnQtdmlld3MvY29udGVudC12aWV3cy5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7OztBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQWdCLEtBQUssRUFBa0IsTUFBTSxlQUFlLENBQUM7QUFFL0U7SUFRRTtRQURBLFNBQUksR0FBRyxTQUFTLENBQUM7SUFDRCxDQUFDOzs7O0lBRWpCLHdDQUFROzs7SUFBUjtRQUNFLElBQUksSUFBSSxDQUFDLEtBQUssS0FBSyxDQUFDLEVBQUU7WUFDcEIsSUFBSSxDQUFDLElBQUksR0FBRyxRQUFRLENBQUM7U0FDdEI7SUFDSCxDQUFDOztnQkFkRixTQUFTLFNBQUM7b0JBQ1QsUUFBUSxFQUFFLG9CQUFvQjtvQkFDOUIsbzZCQUE2Qzs7aUJBRTlDOzs7Ozt3QkFFRSxLQUFLOztJQVNSLDRCQUFDO0NBQUEsQUFmRCxJQWVDO1NBVlkscUJBQXFCOzs7SUFDaEMsc0NBQWU7O0lBQ2YscUNBQWlCIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQ29tcG9uZW50LCBFdmVudEVtaXR0ZXIsIElucHV0LCBPbkluaXQsIE91dHB1dCB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuXG5AQ29tcG9uZW50KHtcbiAgc2VsZWN0b3I6ICdiaWRpLWNvbnRlbnQtdmlld3MnLFxuICB0ZW1wbGF0ZVVybDogJy4vY29udGVudC12aWV3cy5j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