System.register(["@angular/core","@angular/cdk/coercion","rxjs","rxjs/operators","@angular/cdk/platform"],function(t){"use strict";var e,n,a,i,r,o,s,d,c,p,h,m,u;return{setters:[function(t){e=t,t.NgModule,t.Injectable},function(t){n=t.coerceArray},function(t){a=t.Subject,i=t.combineLatest,r=t.concat,o=t.Observable},function(t){s=t.take,d=t.skip,c=t.debounceTime,p=t.map,h=t.startWith,m=t.takeUntil},function(t){u=t}],execute:function(){class l{}t("LayoutModule",l),l.\u0275fac=function(t){return new(t||l)},l.\u0275mod=e.\u0275\u0275defineNgModule({type:l}),l.\u0275inj=e.\u0275\u0275defineInjector({});const x=new Set;let w;class f{constructor(t){this._platform=t,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):b}matchMedia(t){return(this._platform.WEBKIT||this._platform.BLINK)&&function(t){if(x.has(t))return;try{w||(w=document.createElement("style"),w.setAttribute("type","text/css"),document.head.appendChild(w)),w.sheet&&(w.sheet.insertRule(`@media ${t} {body{ }}`,0),x.add(t))}catch(t){console.error(t)}}(t),this._matchMedia(t)}}function b(t){return{matches:"all"===t||""===t,media:t,addListener:()=>{},removeListener:()=>{}}}t("MediaMatcher",f),f.\u0275fac=function(t){return new(t||f)(e.\u0275\u0275inject(u.Platform))},f.\u0275prov=e.\u0275\u0275defineInjectable({token:f,factory:f.\u0275fac,providedIn:"root"});class _{constructor(t,e){this._mediaMatcher=t,this._zone=e,this._queries=new Map,this._destroySubject=new a}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(t){return y(n(t)).some(t=>this._registerQuery(t).mql.matches)}observe(t){const e=y(n(t)).map(t=>this._registerQuery(t).observable);let a=i(e);return a=r(a.pipe(s(1)),a.pipe(d(1),c(0))),a.pipe(p(t=>{const e={matches:!1,breakpoints:{}};return t.forEach(({matches:t,query:n})=>{e.matches=e.matches||t,e.breakpoints[n]=t}),e}))}_registerQuery(t){if(this._queries.has(t))return this._queries.get(t);const e=this._mediaMatcher.matchMedia(t),n={observable:new o(t=>{const n=e=>this._zone.run(()=>t.next(e));return e.addListener(n),()=>{e.removeListener(n)}}).pipe(h(e),p(({matches:e})=>({query:t,matches:e})),m(this._destroySubject)),mql:e};return this._queries.set(t,n),n}}function y(t){return t.map(t=>t.split(",")).reduce((t,e)=>t.concat(e)).map(t=>t.trim())}t("BreakpointObserver",_),_.\u0275fac=function(t){return new(t||_)(e.\u0275\u0275inject(f),e.\u0275\u0275inject(e.NgZone))},_.\u0275prov=e.\u0275\u0275defineInjectable({token:_,factory:_.\u0275fac,providedIn:"root"});t("Breakpoints",{XSmall:"(max-width: 599.98px)",Small:"(min-width: 600px) and (max-width: 959.98px)",Medium:"(min-width: 960px) and (max-width: 1279.98px)",Large:"(min-width: 1280px) and (max-width: 1919.98px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.98px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"})}}});
