import { BreakpointObserver } from '@angular/cdk/layout';
import { Injectable } from '@angular/core';
import * as i0 from "@angular/core";
import * as i1 from "@angular/cdk/layout";
export class RLayoutService {
    constructor(breakpointObserver) {
        this.breakpointObserver = breakpointObserver;
    }
    get isMobile() {
        return this.breakpointObserver.isMatched('(max-width: 768px)');
    }
}
RLayoutService.ɵprov = i0.ɵɵdefineInjectable({ factory: function RLayoutService_Factory() { return new RLayoutService(i0.ɵɵinject(i1.BreakpointObserver)); }, token: RLayoutService, providedIn: "root" });
RLayoutService.decorators = [
    { type: Injectable, args: [{ providedIn: 'root' },] }
];
RLayoutService.ctorParameters = () => [
    { type: BreakpointObserver }
];
//# sourceMappingURL=layout.service.js.map