vendor: 23,911 bytes, lines 1-2
1import{a as D,b as gi,c as xi}from"./chunk-6UXXGQNW.js";import{a as mi,c as ee,d as _i,e as te}from"./chunk-KAQUW2KS.js";import{a as tt}from"./chunk-5RL3WJIZ.js";import{a as Ee,b as de,c as ci}from"./chunk-2UUDP47Z.js";import{a as li}from"./chunk-HM3B2G5E.js";import{a as fi}from"./chunk-FH5QQFV7.js";import{a as et}from"./chunk-LS6RV63D.js";import{a as di}from"./chunk-CGAFP7UG.js";import{a as si}from"./chunk-R7JF37N6.js";import{b as Re}from"./chunk-KAV2CEFD.js";import{a as oi}from"./chunk-A34FG2N7.js";import{e as hi}from"./chunk-OG77PGVB.js";import{a as pi}from"./chunk-M3YQMQCQ.js";import"./chunk-BYHQKVW3.js";import"./chunk-YWY72VGU.js";import{a as ti}from"./chunk-KJRI7CAC.js";import{a as Oe}from"./chunk-463ECGVC.js";import{a as ai}from"./chunk-ARIVOYVJ.js";import{b as ke,h as ye,m as Pe,v as De,w as Te}from"./chunk-GRUGAR3Z.js";import{b as ui,h as J,i as Je}from"./chunk-OMTU4VQ2.js";import{a as ri}from"./chunk-HG5CHN5K.js";import{a as K}from"./chunk-D7JWM35V.js";import"./chunk-XUUQ4HR5.js";import"./chunk-WUUDBKNO.js";import"./chunk-74PBRJ6U.js";import{a as Q}from"./chunk-B34YZ5TL.js";import{e as Se}from"./chunk-IHXTBLDK.js";import"./chunk-ZBNCHSP7.js";import{a as ii,b as ni}from"./chunk-A74Y5FCA.js";import"./chunk-DKTYVUZB.js";import"./chunk-V6XI2XV4.js";import"./chunk-VRDPEVAA.js";import"./chunk-QZZFAA7B.js";import{a as Qt,e as we}from"./chunk-6RAZMOAI.js";import"./chunk-XXBKD5JI.js";import"./chunk-E2VIPH2W.js";import{c as qt}from"./chunk-KA73TYOO.js";import{I as Xt,K as ve,y as Zt,z as Yt}from"./chunk-JVV5N27B.js";import{c as Kt,j as Jt}from"./chunk-GI65VDHJ.js";import"./chunk-UE6TEYQD.js";import{b as Gt,c as q,d as X}from"./chunk-W5YNDQA3.js";import{b as ei}from"./chunk-44UTOCO3.js";import{b as Me}from"./chunk-6UPYPU4G.js";import"./chunk-EFVQNVGF.js";import{a as be}from"./chunk-IWSPSW5O.js";import{b as U}from"./chunk-E3LR7YYD.js";import{g as Wt,h as Ht,j as Ut,n as G,o as jt,v as Qe,w as Ke,y as $t}from"./chunk-ERR6X27Y.js";import{$b as M,Ac as Tt,Bb as se,Bc as Et,C as ct,Ca as ge,Cc as Lt,Db as Ze,Dc as zt,Ea as gt,Eb as z,Ec as I,Fa as xt,Fb as Ye,Fc as y,G as Ne,Ga as Ct,I as fe,Ic as u,Ja as je,Jc as P,Kc as S,Lc as E,O as We,Oa as bt,Pc as $,Qb as Rt,Qc as Z,Rb as Ge,Rc as Y,Sc as Bt,T as dt,Tb as qe,Vc as Xe,W as pt,Wc as B,Xc as Ft,Y as He,Yc as It,Z as ut,Zb as w,_ as me,ac as N,ad as d,b as ue,bd as h,cc as W,cd as L,d as Ae,dc as H,dd as V,e as ot,ea as ht,ec as m,f as T,fa as Ue,fc as c,g as at,gc as l,gd as Vt,hc as f,i as st,ia as _e,ic as Ot,jb as o,jc as St,k as lt,ka as g,kc as kt,lc as le,mc as ce,nc as yt,o as re,pb as vt,q as he,qa as C,qb as wt,qc as R,ra as b,rb as $e,sb as xe,sd as Ce,tb as x,td as At,ua as ft,uc as O,va as mt,vb as Mt,wa as _t,wc as p,xc as Pt,xd as Nt,ya as oe,yc as Dt,za as ae,zb as F}from"./chunk-5UMF6ZTD.js";import"./chunk-EQDQRRRY.js";var ie=class{};var Le=class{};function Ci(n){return n&&typeof n.connect=="function"&&!(n instanceof ot)}var ze=class extends Le{_data;constructor(a){super(),this._data=a}connect(){return he(this._data)?this._data:re(this._data)}disconnect(){}},pe=(function(n){return n[n.REPLACED=0]="REPLACED",n[n.INSERTED=1]="INSERTED",n[n.MOVED=2]="MOVED",n[n.REMOVED=3]="REMOVED",n})(pe||{}),Be=class{viewCacheSize=20;_viewCache=[];applyChanges(a,e,i,t,r){a.forEachOperation((s,v,_)=>{let k,j;if(s.previousIndex==null){let Fe=()=>i(s,v,_);k=this._insertView(Fe,_,e,t(s)),j=k?pe.INSERTED:pe.REPLACED}else _==null?(this._detachAndCacheView(v,e),j=pe.REMOVED):(k=this._moveView(v,_,e,t(s)),j=pe.MOVED);r&&r({context:k?.context,operation:j,record:s})})}detach(){for(let a of this._viewCache)a.destroy();this._viewCache=[]}_insertView(a,e,i,t){let r=this._insertViewFromCache(e,i);if(r){r.context.$implicit=t;return}let s=a();return i.createEmbeddedView(s.templateRef,s.context,s.index)}_detachAndCacheView(a,e){let i=e.detach(a);this._maybeCacheView(i,e)}_moveView(a,e,i,t){let r=i.get(a);return i.move(r,e),r.context.$implicit=t,r}_maybeCacheView(a,e){if(this._viewCache.length<this.viewCacheSize)this._viewCache.push(a);else{let i=e.indexOf(a);i===-1?a.destroy():e.remove(i)}}_insertViewFromCache(a,e){let i=this._viewCache.pop();return i&&e.insert(i,a),i||null}};var Hi=["contentWrapper"],Ui=["*"],wi=new _e("VIRTUAL_SCROLL_STRATEGY"),it=class{_scrolledIndexChange=new T;scrolledIndexChange=this._scrolledIndexChange.pipe(We());_viewport=null;_itemSize;_minBufferPx;_maxBufferPx;constructor(a,e,i){this._itemSize=a,this._minBufferPx=e,this._maxBufferPx=i}attach(a){this._viewport=a,this._updateTotalContentSize(),this._updateRenderedRange()}detach(){this._scrolledIndexChange.complete(),this._viewport=null}updateItemAndBufferSize(a,e,i){i<e,this._itemSize=a,this._minBufferPx=e,this._maxBufferPx=i,this._updateTotalContentSize(),this._updateRenderedRange()}onContentScrolled(){this._updateRenderedRange()}onDataLengthChanged(){this._updateTotalContentSize(),this._updateRenderedRange()}onContentRendered(){}onRenderedOffsetChanged(){}scrollToIndex(a,e){this._viewport&&this._viewport.scrollToOffset(a*this._itemSize,e)}_updateTotalContentSize(){this._viewport&&this._viewport.setTotalContentSize(this._viewport.getDataLength()*this._itemSize)}_updateRenderedRange(){if(!this._viewport)return;let a=this._viewport.getRenderedRange(),e={start:a.start,end:a.end},i=this._viewport.getViewportSize(),t=this._viewport.getDataLength(),r=this._viewport.measureScrollOffset(),s=this._itemSize>0?r/this._itemSize:0;if(e.end>t){let _=Math.ceil(i/this._itemSize),k=Math.max(0,Math.min(s,t-_));s!=k&&(s=k,r=k*this._itemSize,e.start=Math.floor(s)),e.end=Math.max(0,Math.min(t,e.start+_))}let v=r-e.start*this._itemSize;if(v<this._minBufferPx&&e.start!=0){let _=Math.ceil((this._maxBufferPx-v)/this._itemSize);e.start=Math.max(0,e.start-_),e.end=Math.min(t,Math.ceil(s+(i+this._minBufferPx)/this._itemSize))}else{let _=e.end*this._itemSize-(r+i);if(_<this._minBufferPx&&e.end!=t){let k=Math.ceil((this._maxBufferPx-_)/this._itemSize);k>0&&(e.end=Math.min(t,e.end+k),e.start=Math.max(0,Math.floor(s-this._minBufferPx/this._itemSize)))}}this._viewport.setRenderedRange(e),this._viewport.setRenderedContentOffset(Math.round(this._itemSize*e.start)),this._scrolledIndexChange.next(Math.floor(s))}};function ji(n){return n._scrollStrategy}var Mi=(()=>{class n{get itemSize(){return this._itemSize}set itemSize(e){this._itemSize=de(e)}_itemSize=20;get minBufferPx(){return this._minBufferPx}set minBufferPx(e){this._minBufferPx=de(e)}_minBufferPx=100;get maxBufferPx(){return this._maxBufferPx}set maxBufferPx(e){this._maxBufferPx=de(e)}_maxBufferPx=200;_scrollStrategy=new it(this.itemSize,this.minBufferPx,this.maxBufferPx);ngOnChanges(){this._scrollStrategy.updateItemAndBufferSize(this.itemSize,this.minBufferPx,this.maxBufferPx)}static \u0275fac=function(i){return new(i||n)};static \u0275dir=se({type:n,selectors:[["cdk-virtual-scroll-viewport","itemSize",""]],inputs:{itemSize:"itemSize",minBufferPx:"minBufferPx",maxBufferPx:"maxBufferPx"},features:[Xe([{provide:wi,useFactory:ji,deps:[ht(()=>n)]}]),Ct]})}return n})(),$i=20,Zi=(()=>{class n{_ngZone=g(ae);_platform=g(Ee);_renderer=g($e).createRenderer(null,null);_cleanupGlobalListener;constructor(){}_scrolled=new T;_scrolledCount=0;scrollContainers=new Map;register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){let i=this.scrollContainers.get(e);i&&(i.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=$i){return this._platform.isBrowser?new Ae(i=>{this._cleanupGlobalListener||(this._cleanupGlobalListener=this._ngZone.runOutsideAngular(()=>this._renderer.listen("document","scroll",()=>this._scrolled.next())));let t=e>0?this._scrolled.pipe(fe(e)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{t.unsubscribe(),this._scrolledCount--,this._scrolledCount||(this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0)}}):re()}ngOnDestroy(){this._cleanupGlobalListener?.(),this._cleanupGlobalListener=void 0,this.scrollContainers.forEach((e,i)=>this.deregister(i)),this._scrolled.complete()}ancestorScrolled(e,i){let t=this.getAncestorScrollContainers(e);return this.scrolled(i).pipe(Ne(r=>!r||t.indexOf(r)>-1))}getAncestorScrollContainers(e){let i=[];return this.scrollContainers.forEach((t,r)=>{this._scrollableContainsElement(r,e)&&i.push(r)}),i}_scrollableContainsElement(e,i){let t=ci(i),r=e.getElementRef().nativeElement;do if(t==r)return!0;while(t=t.parentElement);return!1}static \u0275fac=function(i){return new(i||n)};static \u0275prov=Ue({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),Ri=(()=>{class n{elementRef=g(je);scrollDispatcher=g(Zi);ngZone=g(ae);dir=g(mi,{optional:!0});_scrollElement=this.elementRef.nativeElement;_destroyed=new T;_renderer=g(xe);_cleanupScroll;_elementScrolled=new T;constructor(){}ngOnInit(){this._cleanupScroll=this.ngZone.runOutsideAngular(()=>this._renderer.listen(this._scrollElement,"scroll",e=>this._elementScrolled.next(e))),this.scrollDispatcher.register(this)}ngOnDestroy(){this._cleanupScroll?.(),this._elementScrolled.complete(),this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}elementScrolled(){return this._elementScrolled}getElementRef(){return this.elementRef}scrollTo(e){let i=this.elementRef.nativeElement,t=this.dir&&this.dir.value=="rtl";e.left==null&&(e.left=t?e.end:e.start),e.right==null&&(e.right=t?e.start:e.end),e.bottom!=null&&(e.top=i.scrollHeight-i.clientHeight-e.bottom),t&&te()!=ee.NORMAL?(e.left!=null&&(e.right=i.scrollWidth-i.clientWidth-e.left),te()==ee.INVERTED?e.left=e.right:te()==ee.NEGATED&&(e.left=e.right?-e.right:e.right)):e.right!=null&&(e.left=i.scrollWidth-i.clientWidth-e.right),this._applyScrollToOptions(e)}_applyScrollToOptions(e){let i=this.elementRef.nativeElement;_i()?i.scrollTo(e):(e.top!=null&&(i.scrollTop=e.top),e.left!=null&&(i.scrollLeft=e.left))}measureScrollOffset(e){let i="left",t="right",r=this.elementRef.nativeElement;if(e=="top")return r.scrollTop;if(e=="bottom")return r.scrollHeight-r.clientHeight-r.scrollTop;let s=this.dir&&this.dir.value=="rtl";return e=="start"?e=s?t:i:e=="end"&&(e=s?i:t),s&&te()==ee.INVERTED?e==i?r.scrollWidth-r.clientWidth-r.scrollLeft:r.scrollLeft:s&&te()==ee.NEGATED?e==i?r.scrollLeft+r.scrollWidth-r.clientWidth:-r.scrollLeft:e==i?r.scrollLeft:r.scrollWidth-r.clientWidth-r.scrollLeft}static \u0275fac=function(i){return new(i||n)};static \u0275dir=se({type:n,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]})}return n})(),Yi=20,Gi=(()=>{class n{_platform=g(Ee);_listeners;_viewportSize=null;_change=new T;_document=g(mt);constructor(){let e=g(ae),i=g($e).createRenderer(null,null);e.runOutsideAngular(()=>{if(this._platform.isBrowser){let t=r=>this._change.next(r);this._listeners=[i.listen("window","resize",t),i.listen("window","orientationchange",t)]}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){this._listeners?.forEach(e=>e()),this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();let e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){let e=this.getViewportScrollPosition(),{width:i,height:t}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+t,right:e.left+i,height:t,width:i}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};let e=this._document,i=this._getWindow(),t=e.documentElement,r=t.getBoundingClientRect(),s=-r.top||e.body?.scrollTop||i.scrollY||t.scrollTop||0,v=-r.left||e.body?.scrollLeft||i.scrollX||t.scrollLeft||0;return{top:s,left:v}}change(e=Yi){return e>0?this._change.pipe(fe(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){let e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}static \u0275fac=function(i){return new(i||n)};static \u0275prov=Ue({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),bi=new _e("VIRTUAL_SCROLLABLE"),qi=(()=>{class n extends Ri{constructor(){super()}measureViewportSize(e){let i=this.elementRef.nativeElement;return e==="horizontal"?i.clientWidth:i.clientHeight}static \u0275fac=function(i){return new(i||n)};static \u0275dir=se({type:n,features:[Ze]})}return n})();function Xi(n,a){return n.start==a.start&&n.end==a.end}var Qi=typeof requestAnimationFrame<"u"?lt:st,Oi=new _e("CDK_VIRTUAL_SCROLL_VIEWPORT"),Si=(()=>{class n extends qi{elementRef=g(je);_changeDetectorRef=g(Ce);_scrollStrategy=g(wi,{optional:!0});scrollable=g(bi,{optional:!0});_platform=g(Ee);_detachedSubject=new T;_renderedRangeSubject=new T;_renderedContentOffsetSubject=new T;get orientation(){return this._orientation}set orientation(e){this._orientation!==e&&(this._orientation=e,this._calculateSpacerSize())}_orientation="vertical";appendOnly=!1;scrolledIndexChange=new Ae(e=>this._scrollStrategy.scrolledIndexChange.subscribe(i=>Promise.resolve().then(()=>this.ngZone.run(()=>e.next(i)))));_contentWrapper;renderedRangeStream=this._renderedRangeSubject;renderedContentOffset=this._renderedContentOffsetSubject.pipe(Ne(e=>e!==null),We());_totalContentSize=0;_totalContentWidth=ge("");_totalContentHeight=ge("");_renderedContentTransform;_renderedRange={start:0,end:0};_dataLength=0;_viewportSize=0;_forOf=null;_renderedContentOffset=0;_renderedContentOffsetNeedsRewrite=!1;_changeDetectionNeeded=ge(!1);_runAfterChangeDetection=[];_viewportChanges=ue.EMPTY;_injector=g(ft);_isDestroyed=!1;constructor(){super();let e=g(Gi);this._scrollStrategy,this._viewportChanges=e.change().subscribe(()=>{this.checkViewportSize()}),this.scrollable||(this.elementRef.nativeElement.classList.add("cdk-virtual-scrollable"),this.scrollable=this);let i=gt(()=>{this._changeDetectionNeeded()&&this._doChangeDetection()},{injector:g(Rt).injector});g(_t).onDestroy(()=>{i.destroy()})}ngOnInit(){this._platform.isBrowser&&(this.scrollable===this&&super.ngOnInit(),this.ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>{this._measureViewportSize(),this._scrollStrategy.attach(this),this.scrollable.elementScrolled().pipe(He(null),fe(0,Qi),me(this._destroyed)).subscribe(()=>this._scrollStrategy.onContentScrolled()),this._markChangeDetectionNeeded()})))}ngOnDestroy(){this.detach(),this._scrollStrategy.detach(),this._renderedRangeSubject.complete(),this._detachedSubject.complete(),this._viewportChanges.unsubscribe(),this._isDestroyed=!0,super.ngOnDestroy()}attach(e){this._forOf,this.ngZone.runOutsideAngular(()=>{this._forOf=e,this._forOf.dataStream.pipe(me(this._detachedSubject)).subscribe(i=>{let t=i.length;t!==this._dataLength&&(this._dataLength=t,this._scrollStrategy.onDataLengthChanged()),this._doChangeDetection()})})}detach(){this._forOf=null,this._detachedSubject.next()}getDataLength(){return this._dataLength}getViewportSize(){return this._viewportSize}getRenderedRange(){return this._renderedRange}measureBoundingClientRectWithScrollOffset(e){return this.getElementRef().nativeElement.getBoundingClientRect()[e]}setTotalContentSize(e){this._totalContentSize!==e&&(this._totalContentSize=e,this._calculateSpacerSize(),this._markChangeDetectionNeeded())}setRenderedRange(e){Xi(this._renderedRange,e)||(this.appendOnly&&(e={start:0,end:Math.max(this._renderedRange.end,e.end)}),this._renderedRangeSubject.next(this._renderedRange=e),this._markChangeDetectionNeeded(()=>this._scrollStrategy.onContentRendered()))}getOffsetToRenderedContentStart(){return this._renderedContentOffsetNeedsRewrite?null:this._renderedContentOffset}setRenderedContentOffset(e,i="to-start"){e=this.appendOnly&&i==="to-start"?0:e;let t=this.dir&&this.dir.value=="rtl",r=this.orientation=="horizontal",s=r?"X":"Y",_=`translate${s}(${Number((r&&t?-1:1)*e)}px)`;this._renderedContentOffset=e,i==="to-end"&&(_+=` translate${s}(-100%)`,this._renderedContentOffsetNeedsRewrite=!0),this._renderedContentTransform!=_&&(this._renderedContentTransform=_,this._markChangeDetectionNeeded(()=>{this._renderedContentOffsetNeedsRewrite?(this._renderedContentOffset-=this.measureRenderedContentSize(),this._renderedContentOffsetNeedsRewrite=!1,this.setRenderedContentOffset(this._renderedContentOffset)):this._scrollStrategy.onRenderedOffsetChanged()}))}scrollToOffset(e,i="auto"){let t={behavior:i};this.orientation==="horizontal"?t.start=e:t.top=e,this.scrollable.scrollTo(t)}scrollToIndex(e,i="auto"){this._scrollStrategy.scrollToIndex(e,i)}measureScrollOffset(e){let i;return this.scrollable==this?i=t=>super.measureScrollOffset(t):i=t=>this.scrollable.measureScrollOffset(t),Math.max(0,i(e??(this.orientation==="horizontal"?"start":"top"))-this.measureViewportOffset())}measureViewportOffset(e){let i,t="left",r="right",s=this.dir?.value=="rtl";e=="start"?i=s?r:t:e=="end"?i=s?t:r:e?i=e:i=this.orientation==="horizontal"?"left":"top";let v=this.scrollable.measureBoundingClientRectWithScrollOffset(i);return this.elementRef.nativeElement.getBoundingClientRect()[i]-v}measureRenderedContentSize(){let e=this._contentWrapper.nativeElement;return this.orientation==="horizontal"?e.offsetWidth:e.offsetHeight}measureRangeSize(e){return this._forOf?this._forOf.measureRangeSize(e,this.orientation):0}checkViewportSize(){this._measureViewportSize(),this._scrollStrategy.onDataLengthChanged()}_measureViewportSize(){this._viewportSize=this.scrollable.measureViewportSize(this.orientation)}_markChangeDetectionNeeded(e){e&&this._runAfterChangeDetection.push(e),!xt(this._changeDetectionNeeded)&&this.ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this.ngZone.run(()=>{this._changeDetectionNeeded.set(!0)})})})}_doChangeDetection(){this._isDestroyed||this.ngZone.run(()=>{this._changeDetectorRef.markForCheck(),this._contentWrapper.nativeElement.style.transform=this._renderedContentTransform,this._renderedContentOffsetSubject.next(this.getOffsetToRenderedContentStart()),vt(()=>{this._changeDetectionNeeded.set(!1);let e=this._runAfterChangeDetection;this._runAfterChangeDetection=[];for(let i of e)i()},{injector:this._injector})})}_calculateSpacerSize(){this._totalContentHeight.set(this.orientation==="horizontal"?"":`${this._totalContentSize}px`),this._totalContentWidth.set(this.orientation==="horizontal"?`${this._totalContentSize}px`:"")}static \u0275fac=function(i){return new(i||n)};static \u0275cmp=F({type:n,selectors:[["cdk-virtual-scroll-viewport"]],viewQuery:function(i,t){if(i&1&&Tt(Hi,7),i&2){let r;Et(r=Lt())&&(t._contentWrapper=r.first)}},hostAttrs:[1,"cdk-virtual-scroll-viewport"],hostVars:4,hostBindings:function(i,t){i&2&&y("cdk-virtual-scroll-orientation-horizontal",t.orientation==="horizontal")("cdk-virtual-scroll-orientation-vertical",t.orientation!=="horizontal")},inputs:{orientation:"orientation",appendOnly:[2,"appendOnly","appendOnly",Nt]},outputs:{scrolledIndexChange:"scrolledIndexChange"},features:[Xe([{provide:Ri,useFactory:()=>g(bi,{optional:!0})||g(n)},{provide:Oi,useExisting:n}]),Ze],ngContentSelectors:Ui,decls:4,vars:4,consts:[["contentWrapper",""],[1,"cdk-virtual-scroll-content-wrapper"],[1,"cdk-virtual-scroll-spacer"]],template:function(i,t){i&1&&(Pt(),Ot(0,"div",1,0),Dt(2),St(),kt(3,"div",2)),i&2&&(o(3),I("width",t._totalContentWidth())("height",t._totalContentHeight()))},styles:[`cdk-virtual-scroll-viewport{display:block;position:relative;transform:translateZ(0)}.cdk-virtual-scrollable{overflow:auto;will-change:scroll-position;contain:strict}.cdk-virtual-scroll-content-wrapper{position:absolute;top:0;left:0;contain:content}[dir=rtl] .cdk-virtual-scroll-content-wrapper{right:0;left:auto}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper{min-height:100%}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-left:0;padding-right:0;margin-left:0;margin-right:0;border-left-width:0;border-right-width:0;outline:none}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper{min-width:100%}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-top:0;padding-bottom:0;margin-top:0;margin-bottom:0;border-top-width:0;border-bottom-width:0;outline:none}.cdk-virtual-scroll-spacer{height:1px;transform-origin:0 0;flex:0 0 auto}[dir=rtl] .cdk-virtual-scroll-spacer{transform-origin:100% 0} 2`],encapsulation:2,changeDetection:0})}return n})();function vi(n,a,e){let i=e;if(!i.getBoundingClientRect)return 0;let t=i.getBoundingClientRect();return n==="horizontal"?a==="start"?t.left:t.right:a==="start"?t.top:t.bottom}var ki=(()=>{class n{_viewContainerRef=g(Mt);_template=g(wt);_differs=g(At);_viewRepeater=new Be;_viewport=g(Oi,{skipSelf:!0});viewChange=new T;_dataSourceChanges=new T;get cdkVirtualForOf(){return this._cdkVirtualForOf}set cdkVirtualForOf(e){this._cdkVirtualForOf=e,Ci(e)?this._dataSourceChanges.next(e):this._dataSourceChanges.next(new ze(he(e)?e:Array.from(e||[])))}_cdkVirtualForOf;get cdkVirtualForTrackBy(){return this._cdkVirtualForTrackBy}set cdkVirtualForTrackBy(e){this._needsUpdate=!0,this._cdkVirtualForTrackBy=e?(i,t)=>e(i+(this._renderedRange?this._renderedRange.start:0),t):void 0}_cdkVirtualForTrackBy;set cdkVirtualForTemplate(e){e&&(this._needsUpdate=!0,this._template=e)}get cdkVirtualForTemplateCacheSize(){return this._viewRepeater.viewCacheSize}set cdkVirtualForTemplateCacheSize(e){this._viewRepeater.viewCacheSize=de(e)}dataStream=this._dataSourceChanges.pipe(He(null),dt(),ut(([e,i])=>this._changeDataSource(e,i)),pt(1));_differ=null;_data=[];_renderedItems=[];_renderedRange={start:0,end:0};_needsUpdate=!1;_destroyed=new T;constructor(){let e=g(ae);this.dataStream.subscribe(i=>{this._data=i,this._onRenderedDataChange()}),this._viewport.renderedRangeStream.pipe(me(this._destroyed)).subscribe(i=>{this._renderedRange=i,this.viewChange.observers.length&&e.run(()=>this.viewChange.next(this._renderedRange)),this._onRenderedDataChange()}),this._viewport.attach(this)}measureRangeSize(e,i){if(e.start>=e.end)return 0;e.start<this._renderedRange.start||e.end>this._renderedRange.end;let t=e.start-this._renderedRange.start,r=e.end-e.start,s,v;for(let _=0;_<r;_++){let k=this._viewContainerRef.get(_+t);if(k&&k.rootNodes.length){s=v=k.rootNodes[0];break}}for(let _=r-1;_>-1;_--){let k=this._viewContainerRef.get(_+t);if(k&&k.rootNodes.length){v=k.rootNodes[k.rootNodes.length-1];break}}return s&&v?vi(i,"end",v)-vi(i,"start",s):0}ngDoCheck(){if(this._differ&&this._needsUpdate){let e=this._differ.diff(this._renderedItems);e?this._applyChanges(e):this._updateContext(),this._needsUpdate=!1}}ngOnDestroy(){this._viewport.detach(),this._dataSourceChanges.next(void 0),this._dataSourceChanges.complete(),this.viewChange.complete(),this._destroyed.next(),this._destroyed.complete(),this._viewRepeater.detach()}_onRenderedDataChange(){this._renderedRange&&(this._renderedItems=this._data.slice(this._renderedRange.start,this._renderedRange.end),this._differ||(this._differ=this._differs.find(this._renderedItems).create((e,i)=>this.cdkVirtualForTrackBy?this.cdkVirtualForTrackBy(e,i):i)),this._needsUpdate=!0)}_changeDataSource(e,i){return e&&e.disconnect(this),this._needsUpdate=!0,i?i.connect(this):re()}_updateContext(){let e=this._data.length,i=this._viewContainerRef.length;for(;i--;){let t=this._viewContainerRef.get(i);
2t.context.index=this._renderedRange.start+i,t.context.count=e,this._updateComputedContextProperties(t.context),t.detectChanges()}}_applyChanges(e){this._viewRepeater.applyChanges(e,this._viewContainerRef,(r,s,v)=>this._getEmbeddedViewArgs(r,v),r=>r.item),e.forEachIdentityChange(r=>{let s=this._viewContainerRef.get(r.currentIndex);s.context.$implicit=r.item});let i=this._data.length,t=this._viewContainerRef.length;for(;t--;){let r=this._viewContainerRef.get(t);r.context.index=this._renderedRange.start+t,r.context.count=i,this._updateComputedContextProperties(r.context)}}_updateComputedContextProperties(e){e.first=e.index===0,e.last=e.index===e.count-1,e.even=e.index%2===0,e.odd=!e.even}_getEmbeddedViewArgs(e,i){return{templateRef:this._template,context:{$implicit:e.item,cdkVirtualForOf:this._cdkVirtualForOf,index:-1,count:-1,first:!1,last:!1,odd:!1,even:!1},index:i}}static ngTemplateContextGuard(e,i){return!0}static \u0275fac=function(i){return new(i||n)};static \u0275dir=se({type:n,selectors:[["","cdkVirtualFor","","cdkVirtualForOf",""]],inputs:{cdkVirtualForOf:"cdkVirtualForOf",cdkVirtualForTrackBy:"cdkVirtualForTrackBy",cdkVirtualForTemplate:"cdkVirtualForTemplate",cdkVirtualForTemplateCacheSize:"cdkVirtualForTemplateCacheSize"}})}return n})();var en=()=>["pl","cz","hr","rs"];function tn(n,a){if(n&1&&(c(0,"span",2),u(1),l()),n&2){let e=p();o(),P(e.numberOfFilters)}}function nn(n,a){n&1&&f(0,"span",3)}function rn(n,a){n&1&&f(0,"span",4)}function on(n,a){if(n&1){let e=R();c(0,"label",11)(1,"input",12),Y("ngModelChange",function(t){C(e);let r=p().$implicit,s=p();return Z(s.filter[r],t)||(s.filter[r]=t),b(t)}),l(),u(2),d(3,"uppercase"),d(4,"translate"),f(5,"span",13),l()}if(n&2){let e=p(),i=e.$implicit,t=e.$index,r=p();y("disabled",r.disabledCategories[t]),o(),$("ngModel",r.filter[i]),m("disabled",r.disabledCategories[t]),o(),S(" ",h(4,7,"RESTAURANTS.FILTER_TITLES."+h(3,5,i))," ")}}function an(n,a){if(n&1){let e=R();c(0,"label",11)(1,"input",14),Y("ngModelChange",function(t){C(e);let r=p(2).$implicit,s=p();return Z(s.filter[r],t)||(s.filter[r]=t),b(t)}),l(),u(2),d(3,"uppercase"),d(4,"translate"),f(5,"span",13),l()}if(n&2){let e=p(2).$implicit,i=p();o(),$("ngModel",i.filter[e]),o(),S(" ",h(4,4,"RESTAURANTS.FILTER_TITLES."+h(3,2,e))," ")}}function sn(n,a){if(n&1&&(le(0),w(1,an,6,6,"label",11),ce()),n&2){let e=p().$index,i=p();o(),M(i.disabledCategories[e]?-1:1)}}function ln(n,a){n&1&&(c(0,"div"),z(1,on,6,9,"label",9)(2,sn,2,1,"ng-container",10),l()),n&2&&(o(),m("showByDomainDirective",B(2,en)),o(),m("showByDomainDirective","hu"))}function cn(n,a){if(n&1){let e=R();c(0,"kfc-linkButton",15),d(1,"translate"),O("click",function(){C(e);let t=p();return b(t.onClearFilters())}),l()}n&2&&(I("margin-left","1rem"),m("label",h(1,3,"SHARED.COMMON.CLEAR")))}var Pi=(()=>{class n{constructor(e){this._deviceDetector=e,this.filter=new ie,this.isMobile=this._deviceDetector.isMobile(),this.setMapBounds=new oe,this.addMarkersToMap=new oe,this.filterRestaurants=new oe,this.clearFilters=new oe}get anyFilterChosen(){for(let e of this.categories)if(this.filter[e])return!0;return!1}onFilterRestaurants(){this.filterRestaurants.emit(this.filter)}onClearFilters(){this.clearFilters.emit()}static{this.\u0275fac=function(i){return new(i||n)(x(Me))}}static{this.\u0275cmp=F({type:n,selectors:[["kfc-restaurants-filters"]],inputs:{showFilters:"showFilters",numberOfFilters:"numberOfFilters",categories:"categories",disabledCategories:"disabledCategories"},outputs:{setMapBounds:"setMapBounds",addMarkersToMap:"addMarkersToMap",filterRestaurants:"filterRestaurants",clearFilters:"clearFilters"},decls:14,vars:14,consts:[[1,"filters","text-end"],[1,"filter-button",3,"click"],[1,"badge"],[1,"icon-chevron-down"],[1,"icon-chevron-up"],[1,"filters-popup","text-start"],[1,"buttons-container","d-flex"],[3,"click","isDisabled","label"],[3,"label","margin-left"],["class","checkbox-container",3,"disabled",4,"showByDomainDirective"],[4,"showByDomainDirective"],[1,"checkbox-container"],["type","checkbox",3,"ngModelChange","ngModel","disabled"],[1,"checkmark"],["type","checkbox",3,"ngModelChange","ngModel"],[3,"click","label"]],template:function(i,t){i&1&&(c(0,"div",0)(1,"div",1),O("click",function(){return t.showFilters=!t.showFilters}),w(2,tn,2,1,"span",2),u(3),d(4,"translate"),w(5,nn,1,0,"span",3)(6,rn,1,0,"span",4),l(),c(7,"div",5),W(8,ln,3,3,"div",null,N),c(10,"div",6)(11,"kfc-button",7),d(12,"translate"),O("click",function(){return t.onFilterRestaurants()}),l(),w(13,cn,2,5,"kfc-linkButton",8),l()()()),i&2&&(o(2),M(t.numberOfFilters>0?2:-1),o(),S(" ",h(4,10,"RESTAURANTS.FILTERS")," "),o(2),M(t.showFilters?6:5),o(2),y("visible",t.showFilters),o(),H(t.categories),o(3),I("width","100%"),m("isDisabled",!t.anyFilterChosen)("label",h(12,12,"RESTAURANTS.APPLY_FILTERS")),o(2),M(t.numberOfFilters?13:-1))},dependencies:[Q,Te,ke,ye,De,Pe,X,K,oi,q,G],styles:['[_nghost-%COMP%] .filters{margin-bottom:16px;font-size:14px;font-weight:700;letter-spacing:.4px;line-height:20px;position:relative}@media screen and (max-width:767px){[_nghost-%COMP%] .filters{margin-bottom:0;color:#1c1210;display:flex;justify-content:flex-end;padding-right:16px}[_nghost-%COMP%] .filters .icon-filters{height:46px;width:48px;font-size:16px;line-height:48px}[_nghost-%COMP%] .filters .filters-popup.mobile{position:fixed;left:0;bottom:0;border-radius:8px 8px 0 0;width:100%;z-index:102!important}[_nghost-%COMP%] .filters .filters-popup.mobile .divider{display:block;width:calc(100% + 64px);height:1px;transform:translate(-32px);background-color:#ededed}[_nghost-%COMP%] .filters .filters-popup.mobile .checkbox-container{font-size:16px;margin-bottom:25px}[_nghost-%COMP%] .filters .filters-popup.mobile .checkmark{top:-3px!important}[_nghost-%COMP%] .filters .filters-popup.mobile .arrow-up-css{display:none}[_nghost-%COMP%] .filters .filters-popup.mobile .icon-close{font-size:20px;color:#000}[_nghost-%COMP%] .filters .filters-popup.mobile .title{font-size:18px;margin-bottom:28px}}[_nghost-%COMP%] .filters .filter-button{display:flex;align-items:flex-end;justify-content:flex-end;text-transform:uppercase;font-size:14px;line-height:18px;position:relative;cursor:pointer}@media screen and (max-width:767px){[_nghost-%COMP%] .filters .filter-button{padding:12px 20px;border-radius:8px;width:max-content;margin-bottom:8px;background-color:#fff}}[_nghost-%COMP%] .filters .filter-button .badge{color:#fff;padding:3px 0;background-color:#e4002b;border-radius:50%;width:20px;height:20px;margin-right:8px;font-size:14px;text-align:center;line-height:14px}[_nghost-%COMP%] .filters .filter-button .icon-chevron-up, [_nghost-%COMP%] .filters .filter-button .icon-chevron-down{position:absolute;bottom:2px;right:-18px}@media screen and (max-width:767px){[_nghost-%COMP%] .filters .filter-button .icon-chevron-up, [_nghost-%COMP%] .filters .filter-button .icon-chevron-down{position:unset;bottom:0;right:0}}[_nghost-%COMP%] .filters .filter-button .icon-chevron-up{color:#8ea604}[_nghost-%COMP%] .filters .filters-popup{color:#1c1210;display:none;padding:16px 24px}[_nghost-%COMP%] .filters .filters-popup .checkbox-container{display:block;position:relative;padding-left:36px;margin-bottom:16px;font-size:18px;line-height:26px;color:#000;font-weight:400;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}[_nghost-%COMP%] .filters .filters-popup .checkbox-container.disabled{cursor:default;color:#868686}[_nghost-%COMP%] .filters .filters-popup .checkbox-container input{position:absolute;opacity:0;cursor:pointer}[_nghost-%COMP%] .filters .filters-popup .checkbox-container .checkmark{position:absolute;top:0;left:0;height:24px;width:24px;background-color:#fff;border-radius:2px;border:1px solid #DBDBDB}[_nghost-%COMP%] .filters .filters-popup .checkbox-container .checkmark:after{content:"";position:absolute;display:none;left:9px;top:5px;width:5px;height:10px;border:solid white;border-width:0 3px 3px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}[_nghost-%COMP%] .filters .filters-popup .checkbox-container input:checked~.checkmark{background-color:#ce0a06}[_nghost-%COMP%] .filters .filters-popup .checkbox-container input:checked~.checkmark:after{display:block}[_nghost-%COMP%] .filters .filters-popup .buttons-container{align-items:center}@media screen and (max-width:767px){[_nghost-%COMP%] .filters .filters-popup .buttons-container{flex-direction:column}}[_nghost-%COMP%] .filters .filters-popup .title span{float:right}[_nghost-%COMP%] .filters .filters-popup .arrow-up-css{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-bottom:5px solid white;position:absolute;top:-5px;left:50%}[_nghost-%COMP%] .filters .filters-popup.visible{display:block;z-index:99}'],changeDetection:0})}}return n})();var _n=()=>["pl"],gn=n=>({$implicit:n}),xn=()=>["pl","hr","rs"],Cn=()=>["cz"],bn=()=>["hu"];function vn(n,a){n&1&&(c(0,"span",21),f(1,"br"),u(2),d(3,"translate"),l()),n&2&&(o(2),S(" ",h(3,1,"FOOTER.FIRST_ROW.CALL_COSTS_INFO")," "))}function wn(n,a){if(n&1){let e=R();c(0,"kfc-button",24),d(1,"translate"),O("click",function(){C(e);let t=p(2);return b(t.orderButtonClicked())}),l()}n&2&&m("label",h(1,2,"RESTAURANTS.BUTTON_ORDER"))("icon","icon-thin-arrow-right")}function Mn(n,a){if(n&1){let e=R();c(0,"kfc-button",25),d(1,"translate"),O("click",function(){C(e);let t=p(2);return b(t.orderButtonClicked())}),l()}n&2&&m("label",h(1,3,"RESTAURANTS.BUTTON_ORDER_CS"))("icon","icon-thin-arrow-right")("width","100%")}function Rn(n,a){if(n&1){let e=R();c(0,"kfc-button",25),d(1,"translate"),O("click",function(){C(e);let t=p(2);return b(t.orderButtonClicked())}),l()}n&2&&m("label",h(1,3,"RESTAURANTS.BUTTON_ORDER_HU"))("icon","icon-thin-arrow-right")("width","100%")}function On(n,a){n&1&&z(0,wn,2,4,"kfc-button",22)(1,Mn,2,5,"kfc-button",23)(2,Rn,2,5,"kfc-button",23),n&2&&(m("showByDomainDirective",B(3,xn)),o(),m("showByDomainDirective",B(4,Cn)),o(),m("showByDomainDirective",B(5,bn)))}function Sn(n,a){n&1&&yt(0)}function kn(n,a){if(n&1&&(c(0,"span"),u(1),d(2,"date"),d(3,"date"),f(4,"br"),l()),n&2){let e=a.$implicit;o(),E("",L(2,2,e==null?null:e.openFrom,"HH:mm")," - ",L(3,5,e==null?null:e.openTo,"HH:mm"))}}function yn(n,a){if(n&1&&(c(0,"div",26)(1,"div",27),W(2,kn,5,8,"span",null,N),l(),c(4,"div",28),u(5),d(6,"translate"),l()()),n&2){let e=a.$implicit;y("active",!(e!=null&&e.closeAllDay)&&(e==null||e.openHours==null?null:e.openHours.length)>0),o(2),H(e==null?null:e.openHours),o(3),P(h(6,3,"RESTAURANTS.CLOSED_NOW"))}}var Di=(()=>{class n{constructor(e,i,t,r,s,v){this._addressService=e,this._analyticsService=i,this._piwikService=t,this._restaurantService=r,this._routingHelper=s,this._browserRef
2=v,this.DayOfWeekEnum=ii,this.cdnUrl=U.cdnUrl,this.getRestaurantPath=_=>_?.name?`${Xt(_?.name)}-${_?.id}`:null}navigateToRestaurant(){let e=`https://maps.google.com/maps?daddr=${this.selectedRestaurant.restaurant.geoLat},${this.selectedRestaurant.restaurant.geoLng}`;this._browserRef.getWindow().open(e,"_blank")}orderButtonClicked(){this.selectedRestaurant.restaurant.deliveryAddressLat=this.deliveryLocation?this.deliveryLocation.lat:this.focusLatitude,this.selectedRestaurant.restaurant.deliveryAddressLng=this.deliveryLocation?this.deliveryLocation.lng:this.focusLongitude,this._restaurantService.setRestaurant(this.selectedRestaurant.restaurant),this._addressService.setLocation(this.deliveryLocation),this._analyticsService.e_addressViewPopup(Qt.RESTAURANT_MAP_ORDER_BUTTON),this._piwikService.pushAddressFormView(!0),this._routingHelper.goToStlOptionsPopup()}static{this.\u0275fac=function(i){return new(i||n)(x(Oe),x(we),x(Se),x(Re),x(ve),x(be))}}static{this.\u0275cmp=F({type:n,selectors:[["kfc-restaurant-details"]],inputs:{selectedRestaurant:"selectedRestaurant",deliveryLocation:"deliveryLocation",focusLongitude:"focusLongitude",focusLatitude:"focusLatitude"},decls:89,vars:118,consts:[["openHoursTemplate",""],[1,"restaurant-details-container"],[1,"restaurant-info-holder","restaurant-info-holder-details","mouse-disabled"],[1,"restaurant-address-info-container","d-flex"],[1,"restaurant-details-part"],["preventDefault","",1,"restaurant-name",3,"routerLink"],[1,"restaurant-address"],[1,"number-container"],["class","paragraph text-font-12 font-weight-500 phone-extra-info",4,"showByDomainDirective"],[1,"distance-container"],[1,"icon-distance","pe-2"],[1,"distance"],[3,"click","label","size","imgSrc","color"],[1,"divider"],[1,"restaurant-info-holder-row"],[1,"restaurant-open-hours-title"],[1,"restaurant-info-holder-row","restaurant-open-hours","today"],[1,"col-6","left-container"],[1,"col-6","right-container"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"restaurant-info-holder-row","restaurant-open-hours"],[1,"paragraph","text-font-12","font-weight-500","phone-extra-info"],["size","large",3,"label","icon","click",4,"showByDomainDirective"],["size","large",3,"label","icon","width","click",4,"showByDomainDirective"],["size","large",3,"click","label","icon"],["size","large",3,"click","label","icon","width"],[1,"restaurant-open-info","left"],[1,"openLabel"],[1,"closeLabel"]],template:function(i,t){if(i&1){let r=R();c(0,"div",1)(1,"div",2)(2,"div",3)(3,"div",4)(4,"a",5),d(5,"applyPure"),u(6),d(7,"uppercase"),l(),c(8,"p",6),u(9),f(10,"br"),u(11),l(),c(12,"div",7),u(13),z(14,vn,4,3,"span",8),l()(),c(15,"div",9),f(16,"span",10),c(17,"span",11),u(18),l()()(),c(19,"kfc-button",12),d(20,"translate"),O("click",function(){return C(r),b(t.navigateToRestaurant())}),l(),w(21,On,3,6),f(22,"div",13),c(23,"div",14)(24,"p",15),u(25),d(26,"translate"),l()(),c(27,"div",16)(28,"div",17),u(29),d(30,"translate"),f(31,"br"),l(),c(32,"div",18),z(33,Sn,1,0,"ng-container",19),d(34,"openHours"),z(35,yn,7,5,"ng-template",null,0,Vt),l()(),c(37,"div",20)(38,"div",17),u(39),d(40,"translate"),f(41,"br"),u(42),d(43,"translate"),f(44,"br"),u(45),d(46,"translate"),f(47,"br"),u(48),d(49,"translate"),f(50,"br"),u(51),d(52,"translate"),f(53,"br"),u(54),d(55,"translate"),f(56,"br"),u(57),d(58,"translate"),f(59,"br"),l(),c(60,"div",18),u(61),d(62,"dayOpenHours"),d(63,"dayOpenHours"),f(64,"br"),u(65),d(66,"dayOpenHours"),d(67,"dayOpenHours"),f(68,"br"),u(69),d(70,"dayOpenHours"),d(71,"dayOpenHours"),f(72,"br"),u(73),d(74,"dayOpenHours"),d(75,"dayOpenHours"),f(76,"br"),u(77),d(78,"dayOpenHours"),d(79,"dayOpenHours"),f(80,"br"),u(81),d(82,"dayOpenHours"),d(83,"dayOpenHours"),f(84,"br"),u(85),d(86,"dayOpenHours"),d(87,"dayOpenHours"),f(88,"br"),l()()()()}if(i&2){let r=zt(36);o(4),m("routerLink",L(5,39,t.selectedRestaurant==null?null:t.selectedRestaurant.details,t.getRestaurantPath)),o(2),S(" ",h(7,42,t.selectedRestaurant==null||t.selectedRestaurant.details==null?null:t.selectedRestaurant.details.name)," "),o(3),E(" ",t.selectedRestaurant==null||t.selectedRestaurant.details==null?null:t.selectedRestaurant.details.addressStreet," ",t.selectedRestaurant==null||t.selectedRestaurant.details==null?null:t.selectedRestaurant.details.addressStreet
2No),o(2),E(" ",t.selectedRestaurant==null||t.selectedRestaurant.details==null?null:t.selectedRestaurant.details.addressPostalCode,", ",t.selectedRestaurant==null||t.selectedRestaurant.details==null?null:t.selectedRestaurant.details.addressCity," "),o(2),S(" ",t.selectedRestaurant==null||t.selectedRestaurant.details==null?null:t.selectedRestaurant.details.phoneNo," "),o(),m("showByDomainDirective",B(115,_n)),o(4),S("",t.selectedRestaurant==null?null:t.selectedRestaurant.distance,"km"),o(),m("label",h(20,44,"RESTAURANTS.NAVIGATE_TO"))("size","large")("imgSrc",t.cdnUrl+"assets/img/common/navigate-to.svg")("color","secondary"),o(2),M(!(t.selectedRestaurant==null||t.selectedRestaurant.details==null)&&t.selectedRestaurant.details.dineIn?21:-1),o(4),P(h(26,46,"RESTAURANTS.OPEN_HOURS")),o(4),S("",h(30,48,"RESTAURANTS.TODAY"),":"),o(4),m("ngTemplateOutlet",r)("ngTemplateOutletContext",Ft(116,gn,h(34,50,t.selectedRestaurant==null?null:t.selectedRestaurant.details))),o(6),S(" ",h(40,52,"SHARED.COMMON.MONDAY"),":"),o(3),S(" ",h(43,54,"SHARED.COMMON.TUESDAY"),":"),o(3),S(" ",h(46,56,"SHARED.COMMON.WEDNESDAY"),":"),o(3),S(" ",h(49,58,"SHARED.COMMON.THURSDAY"),":"),o(3),S(" ",h(52,60,"SHARED.COMMON.FRIDAY"),":"),o(3),S(" ",h(55,62,"SHARED.COMMON.SATURDAY"),":"),o(3),S(" ",h(58,64,"SHARED.COMMON.SUNDAY"),":"),o(4),E(" ",L(62,66,t.selectedRestaurant==null?null:t.selectedRestaurant.details,t.DayOfWeekEnum.MON)," - ",V(63,69,t.selectedRestaurant==null?null:t.selectedRestaurant.details,t.DayOfWeekEnum.MON,"to")),o(4),E(" ",L(66,73,t.selectedRestaurant==null?null:t.selectedRestaurant.details,t.DayOfWeekEnum.TUE)," - ",V(67,76,t.selectedRestaurant==null?null:t.selectedRestaurant.details,t.DayOfWeekEnum.TUE,"to")),o(4),E(" ",L(70,80,t.selectedRestaurant==null?null:t.selectedRestaurant.details,t.DayOfWeekEnum.WED)," - ",V(71,83,t.selectedRestaurant==null?null:t.selectedRestaurant.details,t.DayOfWeekEnum.WED,"to")),o(4),E(" ",L(74,87,t.selectedRestaurant==null?null:t.selectedRestaurant.details,t.DayOfWeekEnum.THU)," - ",V(75,90,t.selectedRestaurant==null?null:t.selectedRestaurant.details,t.DayOfWeekEnum.THU,"to")),o(4),E(" ",L(78,94,t.selectedRestaurant==null?null:t.selectedRestaurant.details,t.DayOfWeekEnum.FRI)," - ",V(79,97,t.selectedRestaurant==null?null:t.selectedRestaurant.details,t.DayOfWeekEnum.FRI,"to")),o(4),E(" ",L(82,101,t.selectedRestaurant==null?null:t.selectedRestaurant.details,t.DayOfWeekEnum.SAT)," - ",V(83,104,t.selectedRestaurant==null?null:t.selectedRestaurant.details,t.DayOfWeekEnum.SAT,"to")),o(4),E(" ",L(86,108,t.selectedRestaurant==null?null:t.selectedRestaurant.details,t.DayOfWeekEnum.SUN)," - ",V(87,111,t.selectedRestaurant==null?null:t.selectedRestaurant.details,t.DayOfWeekEnum.SUN,"to"))}},dependencies:[ai,Yt,Q,Ut,X,K,G,jt,q,xi,gi,di],styles:[".restaurant-details-container[_ngcontent-%COMP%] .restaurant-info-holder[_ngcontent-%COMP%]{display:flex;flex-direction:column;margin:0!important;flex-wrap:wrap;padding:0 16px 0 32px!important}@media screen and (max-width:1169px){.restaurant-details-container[_ngcontent-%COMP%] .restaurant-info-holder[_ngcontent-%COMP%]{padding:24px!important}}.restaurant-details-container[_ngcontent-%COMP%] .restaurant-info-holder[_ngcontent-%COMP%] .restaurant-address-info-container[_ngcontent-%COMP%]{justify-content:space-between;width:100%}.restaurant-details-container[_ngcontent-%COMP%] .restaurant-info-holder[_ngcontent-%COMP%] .restaurant-details-part[_ngcontent-%COMP%]{width:75%}.restaurant-details-container[_ngcontent-%COMP%] .restaurant-info-holder[_ngcontent-%COMP%] .restaurant-details-part[_ngcontent-%COMP%] .restaurant-name[_ngcontent-%COMP%]{font-size:24px;line-height:28px;margin-bottom:16px;font-weight:600}.restaurant-details-container[_ngcontent-%COMP%] .restaurant-info-holder[_ngcontent-%COMP%] .restaurant-details-part[_ngcontent-%COMP%] .restaurant-address[_ngcontent-%COMP%]{font-size:18px;line-height:26px;margin-bottom:12px}.restaurant-details-container[_ngcontent-%COMP%] .restaurant-info-holder[_ngcontent-%COMP%] .restaurant-details-part[_ngcontent-%COMP%] .number-container[_ngcontent-%COMP%]{font-size:18px;line-height:22px;font-weight:600}.restaurant-details-container[_ngcontent-%COMP%] .restaurant-info-holder[_ngcontent-%COMP%] .distance-container[_ngcontent-%COMP%]{text-align:right;text-wrap:nowrap;font-size:24px!important;line-height:28px!important}.restaurant-details-container[_ngcontent-%COMP%] .restaurant-info-holder[_ngcontent-%COMP%] .distance-container[_ngcontent-%COMP%] .icon-distance[_ngcontent-%COMP%]{font-size:20px!important}.restaurant-details-container[_ngcontent-%COMP%] .restaurant-info-holder[_ngcontent-%COMP%] .restaurant-open-hours[_ngcontent-%COMP%]{font-size:14px;letter-spacing:.4px;line-height:28px;margin-top:12px}.restaurant-details-container[_ngcontent-%COMP%] .restaurant-info-holder[_ngcontent-%COMP%] .restaurant-open-hours[_ngcontent-%COMP%]:last-of-type{margin-top:32px}@media screen and (max-width:767px){.restaurant-details-container[_ngcontent-%COMP%] .restaurant-info-holder[_ngcontent-%COMP%] .restaurant-open-hours[_ngcontent-%COMP%]:last-of-type{margin-top:16px}}.restaurant-details-container[_ngcontent-%COMP%] .restaurant-info-holder[_ngcontent-%COMP%] .restaurant-open-hours[_ngcontent-%COMP%] .left-container[_ngcontent-%COMP%]{font-size:18px;line-height:34px;padding:0}@media screen and (max-width:767px){.restaurant-details-container[_ngcontent-%COMP%] .restaurant-info-holder[_ngcontent-%COMP%] .restaurant-open-hours[_ngcontent-%COMP%] .left-container[_ngcontent-%COMP%]{font-size:16px;line-height:32px}}.restaurant-details-container[_ngcontent-%COMP%] .restaurant-info-holder[_ngcontent-%COMP%] .restaurant-open-hours[_ngcontent-%COMP%] .right-container[_ngcontent-%COMP%]{color:#868686;text-align:right;font-size:18px;line-height:34px}@media screen and (max-width:767px){.restaurant-details-container[_ngcontent-%COMP%] .restaurant-info-holder[_ngcontent-%COMP%] .restaurant-open-hours[_ngcontent-%COMP%] .right-container[_ngcontent-%COMP%]{font-size:16px;line-height:32px}}.restaurant-details-container[_ngcontent-%COMP%] .restaurant-info-holder[_ngcontent-%COMP%] .restaurant-open-hours[_ngcontent-%COMP%] .right-container[_ngcontent-%COMP%] .restaurant-open-info[_ngcontent-%COMP%]{margin-top:0}.restaurant-details-container[_ngcontent-%COMP%] .restaurant-info-holder[_ngcontent-%COMP%] .restaurant-open-hours[_ngcontent-%COMP%] .right-container[_ngcontent-%COMP%] .restaurant-open-info[_ngcontent-%COMP%] .openLabel[_ngcontent-%COMP%]:before, .restaurant-details-container[_ngcontent-%COMP%] .restaurant-info-holder[_ngcontent-%COMP%] .restaurant-open-hours[_ngcontent-%COMP%] .right-container[_ngcontent-%COMP%] .restaurant-open-info[_ngcontent-%COMP%] .closeLabel[_ngcontent-%COMP%]:before{display:none}.restaurant-details-container[_ngcontent-%COMP%] .restaurant-info-holder[_ngcontent-%COMP%] .restaurant-open-hours.today[_ngcontent-%COMP%] .left-container[_ngcontent-%COMP%], .restaurant-details-container[_ngcontent-%COMP%] .restaurant-info-holder[_ngcontent-%COMP%] .restaurant-open-hours.today[_ngcontent-%COMP%] .right-container[_ngcontent-%COMP%]{color:#ce0a06!important;font-size:18px;line-height:26px;font-weight:500}@media screen and (max-width:767px){.restaurant-details-container[_ngcontent-%COMP%] .restaurant-info-holder[_ngcontent-%COMP%] .restaurant-open-hours.today[_ngcontent-%COMP%] .left-container[_ngcontent-%COMP%], .restaurant-details-container[_ngcontent-%COMP%] .restaurant-info-holder[_ngcontent-%COMP%] .restaurant-open-hours.today[_ngcontent-%COMP%] .right-container[_ngcontent-%COMP%]{font-size:16px;line-height:20px}}.restaurant-details-container[_ngcontent-%COMP%] .restaurant-info-holder[_ngcontent-%COMP%] .divider[_ngcontent-%COMP%]{margin:32px 0;display:block;height:1px;width:100%;background-color:#ededed}.restaurant-details-container[_ngcontent-%COMP%] .restaurant-info-holder[_ngcontent-%COMP%] .restaurant-info-holder-row[_ngcontent-%COMP%]{width:100%;display:flex;justify-content:space-between}.restaurant-details-container[_ngcontent-%COMP%] .restaurant-info-holder[_ngcontent-%COMP%] .restaurant-info-holder-row[_ngcontent-%COMP%] .restaurant-open-hours-title[_ngcontent-%COMP%]{font-size:18px;line-height:22px;letter-spacing:.3px;color:#797979}@media screen and (max-width:767px){.restaurant-details-container[_ngcontent-%COMP%]{padding:0;position:relative;z-index:99}}@media screen and (max-width:767px){.restaurant-details-container[_ngcontent-%COMP%] .restaurant-info-holder.restaurant-info-holder-details[_ngcontent-%COMP%]{margin:0;flex-direction:column}.restaurant-details-container[_ngcontent-%COMP%] .restaurant-info-holder[_ngcontent-%COMP%] .distance-container[_ngcontent-%COMP%]{position:unset;font-size:14px!important;line-height:18px!important;color:#797979}.restaurant-details-container[_ngcontent-%COMP%] .restaurant-info-holder[_ngcontent-%COMP%] .distance-container[_ngcontent-%COMP%] .icon-distance[_ngcontent-%COMP%]{position:unset!important;color:#e4002b;font-size:18px!important}}@media screen and (max-width:767px)and (max-width:767px){.restaurant-details-container[_ngcontent-%COMP%] .restaurant-info-holder[_ngcontent-%COMP%] .distance-container[_ngcontent-%COMP%] .icon-distance[_ngcontent-%COMP%]{position:absolute;
2left:-24px}}@media screen and (max-width:767px){.restaurant-details-container[_ngcontent-%COMP%] .restaurant-info-holder[_ngcontent-%COMP%] .divider[_ngcontent-%COMP%]{margin:32px 0;display:block;height:1px;width:100%;background-color:#ededed}.restaurant-details-container[_ngcontent-%COMP%] .restaurant-info-holder[_ngcontent-%COMP%] .restaurant-info-holder-row[_ngcontent-%COMP%]{width:100%;flex-basis:100%;display:flex;justify-content:space-between}.restaurant-details-container[_ngcontent-%COMP%] .restaurant-info-holder[_ngcontent-%COMP%] .restaurant-info-holder-row[_ngcontent-%COMP%] .restaurant-open-hours-title[_ngcontent-%COMP%]{font-size:18px;line-height:22px;letter-spacing:.3px;color:#797979;margin-bottom:0}.restaurant-details-container[_ngcontent-%COMP%] .restaurant-info-holder[_ngcontent-%COMP%] .restaurant-details-part[_ngcontent-%COMP%] .restaurant-name[_ngcontent-%COMP%]{font-size:14px;line-height:18px;margin-bottom:8px;font-weight:600;color:#000}.restaurant-details-container[_ngcontent-%COMP%] .restaurant-info-holder[_ngcontent-%COMP%] .restaurant-details-part[_ngcontent-%COMP%] .restaurant-address[_ngcontent-%COMP%]{font-size:18px;line-height:26px}.restaurant-details-container[_ngcontent-%COMP%] .restaurant-info-holder[_ngcontent-%COMP%] .restaurant-details-part[_ngcontent-%COMP%] .number-container[_ngcontent-%COMP%]{font-size:16px;line-height:22px;font-weight:600;margin-top:18px}}"]})}}return n})();var Ti=()=>[import("./chunk-KWXE4P6R.js").then(n=>n.MapComponent)],Pn=(n,a)=>({row:n,"place-for-info-popup":a}),Dn=()=>["pl","cz","hr","rs"],Tn=()=>({blur:!1});function En(n,a){if(n&1){let e=R();c(0,"app-map",8),O("onMapReady",function(t){C(e);let r=p(2);return b(r.onMapReady(t))}),l()}if(n&2){let e=p(2);m("mapCenter",e.mapCenter)("mapZoom",e.mapZoom)}}function Ln(n,a){n&1&&(c(0,"div",10),u(1),d(2,"translate"),l()),n&2&&(o(),S(" ",h(2,1,"SHARED.COMPONENTS.ADDRESS.NO_RESULTS")," "))}function zn(n,a){if(n&1){let e=R();c(0,"div",5)(1,"address-forms",9),O("geolocationHandler",function(t){C(e);let r=p(2);return b(r.geolocationHandler(t))}),l(),w(2,Ln,3,3,"div",10),l()}if(n&2){let e=p(2);o(),m("isPopup",!0)("deliveryLocation",e.deliveryLocation)("showAsterisk",!0)("isRestaurant",!0)("isMobile",e.isMobile)("statesListener",e.alertStateEmitter)("withoutFocusOnInit",!0),o(),M(e.addressNotFound?2:-1)}}function Bn(n,a){if(n&1&&(c(0,"span",13),u(1),l()),n&2){let e=p(3);o(),P(e.numberOfFilters)}}function Fn(n,a){n&1&&f(0,"span",14)}function In(n,a){n&1&&f(0,"span",15)}function Vn(n,a){if(n&1){let e=R();c(0,"label",28)(1,"input",29),Y("ngModelChange",function(t){C(e);let r=p().$implicit,s=p(3);return Z(s.filter[r],t)||(s.filter[r]=t),b(t)}),l(),u(2),d(3,"uppercase"),d(4,"translate"),f(5,"span",30),l()}if(n&2){let e=p(),i=e.$implicit,t=e.$index,r=p(3);y("disabled",r.disabledCategories[t]),o(),$("ngModel",r.filter[i]),m("disabled",r.disabledCategories[t]),o(),S(" ",h(4,7,"RESTAURANTS.FILTER_TITLES."+h(3,5,i))," ")}}function An(n,a){if(n&1){let e=R();c(0,"label",28)(1,"input",31),Y("ngModelChange",function(t){C(e);let r=p(2).$implicit,s=p(3);return Z(s.filter[r],t)||(s.filter[r]=t),b(t)}),l(),u(2),d(3,"uppercase"),d(4,"translate"),f(5,"span",30),l()}if(n&2){let e=p(2).$implicit,i=p(3);o(),$("ngModel",i.filter[e]),o(),S(" ",h(4,4,"RESTAURANTS.FILTER_TITLES."+h(3,2,e))," ")}}function Nn(n,a){if(n&1&&(le(0),w(1,An,6,6,"label",28),ce()),n&2){let e=p().$index,i=p(3);o(),M(i.disabledCategories[e]?-1:1)}}function Wn(n,a){n&1&&(c(0,"div"),z(1,Vn,6,9,"label",26)(2,Nn,2,1,"ng-container",27),l()),n&2&&(o(),m("showByDomainDirective",B(2,Dn)),o(),m("showByDomainDirective","hu"))}function Hn(n,a){if(n&1){let e=R();c(0,"span",32),O("click",function(){C(e);let t=p(3);return b(t.clearFilters())}),u(1),d(2,"translate"),l()}n&2&&(o(),P(h(2,1,"SHARED.COMMON.CLEAR")))}function Un(n,a){if(n&1){let e=R();c(0,"kfc-restaurant-card",33),O("click",function(){let t=C(e).$implicit,r=p(3);return b(r.restaurantSelected(t))}),l()}if(n&2){let e=a.$implicit,i=p(3);y("active",i.selectedRestaurant&&e.restaurant.id===i.selectedRestaurant.restaurant.id),m("viewModel",e)}
2}function jn(n,a){if(n&1){let e=R();c(0,"div",6)(1,"div",11)(2,"div",12),O("click",function(){C(e);let t=p(2);return b(t.showFilters=!t.showFilters)}),w(3,Bn,2,1,"span",13),u(4),d(5,"translate"),w(6,Fn,1,0,"span",14)(7,In,1,0,"span",15),l(),f(8,"div",16),c(9,"div",17),f(10,"div",18),c(11,"p",19),u(12),d(13,"translate"),d(14,"uppercase"),c(15,"span",20),O("click",function(){C(e);let t=p(2);return b(t.showFilters=!t.showFilters)}),l()(),f(16,"div",21),W(17,Wn,3,3,"div",null,N),c(19,"div",22)(20,"kfc-button",23),d(21,"translate"),O("click",function(){C(e);let t=p(2);return b(t.filterRestaurant(!0))}),l(),w(22,Hn,3,3,"span",24),l()()(),W(23,Un,1,3,"kfc-restaurant-card",25,N),l()}if(n&2){let e=p(2);o(3),M(e.numberOfFilters>0?3:-1),o(),S(" ",h(5,11,"RESTAURANTS.FILTERS")," "),o(2),M(e.showFilters?7:6),o(2),y("visible",e.showFilters),o(),y("visible",e.showFilters),o(3),S(" ",h(14,15,h(13,13,"RESTAURANTS.POPUP_TITLE"))," "),o(5),H(e.categories),o(3),m("label",h(21,17,"RESTAURANTS.APPLY_FILTERS"))("isDisabled",!e.anyFilterChosen),o(2),M(e.numberOfFilters?22:-1),o(),H(e.filteredRestaurantsWithDistance)}}function $n(n,a){if(n&1&&f(0,"kfc-restaurant-details",7),n&2){let e=p(2);m("selectedRestaurant",e.selectedRestaurant)("deliveryLocation",e.deliveryLocation)("focusLatitude",e.focusLatitude)("focusLongitude",e.focusLongitude)}}function Zn(n,a){if(n&1&&(c(0,"div",1),Ye(1,En,1,2),Ge(2,1,Ti),qe(),l(),c(4,"div",2)(5,"div",3)(6,"div",4),w(7,zn,3,8,"div",5),l()()(),w(8,jn,25,19,"div",6),w(9,$n,1,4,"kfc-restaurant-details",7)),n&2){let e=p();I("top",e.mapTop,"px"),y("mobileHideZoomGui",!e.receivedCoordinates&&!e.restaurantDetailsWithoutLocation||e.showDetails)("map-with-details",e.showDetails)("full-height-map",!e.receivedCoordinates),o(5),y("bg-white",e.showDetails),o(),y("color-primary",e.showDetails),o(),M(e.showDetails?-1:7),o(),M(!e.showDetails&&e.receivedCoordinates?8:-1),o(),M(e.showDetails?9:-1)}}function Yn(n,a){n&1&&(c(0,"div",42),u(1),d(2,"translate"),l()),n&2&&(o(),P(h(2,1,"RESTAURANTS.RESTAURANT_NOT_FOUND")))}function Gn(n,a){if(n&1){let e=R();c(0,"div",35)(1,"h1",39),u(2),d(3,"translate"),l(),c(4,"h2",40),u(5),d(6,"translate"),l(),c(7,"address-forms",41),O("geolocationHandler",function(t){C(e);let r=p(2);return b(r.geolocationHandler(t))}),l(),w(8,Yn,3,3,"div",42),l()}if(n&2){let e=p(2);o(2),P(h(3,10,"SHARED.COMPONENTS.MENU.MENU_NAVBAR.RESTAURANTS")),o(3),P(h(6,12,"RESTAURANTS.ENTER_ADDRESS")),o(2),m("isPopup",!1)("deliveryLocation",e.deliveryLocation)("showAsterisk",!0)("locateMeButtonVisible",!1)("isRestaurant",!0)("isMobile",e.isMobile)("statesListener",e.alertStateEmitter),o(),M(e.addressNotFound?8:-1)}}function qn(n,a){if(n&1&&(c(0,"div",36)(1,"div",43),f(2,"img",44),d(3,"translate"),l(),c(4,"span",45),u(5),d(6,"translate"),l()()),n&2){let e=p(2);o(2),m("alt",Bt(h(3,7,"SHARED.COMPONENTS.ORDER_FORM.FIND_RESTAURANT")))("ngSrc",e.cdnUrl+"assets/img/map/find-your-restaurant.svg")("fill",!0)("priority","high")("placeholderConfig",B(11,Tn)),o(3),P(h(6,9,"RESTAURANTS.FIND_YOUR_RESTAURANT"))}}function Xn(n,a){n&1&&(c(0,"div",10),u(1),d(2,"translate"),l()),n&2&&(o(),P(h(2,1,"SHARED.COMPONENTS.ADDRESS.NO_RESULTS")))}function Qn(n,a){if(n&1){let e=R();w(0,Xn,3,3,"div",10),c(1,"kfc-restaurants-filters",49),O("setMapBounds",function(){C(e);let t=p(3);return b(t.setMapBounds())})("addMarkersToMap",function(){C(e);let t=p(3);return b(t.addMarkersToMap())})("filterRestaurants",function(t){C(e);let r=p(3);return b(r.onFiltersChange(t))})("clearFilters",function(){C(e);let t=p(3);return b(t.clearFilters())}),l()}if(n&2){let e=p(3);M(e.addressNotFound?0:-1),o(),m("showFilters",e.showFilters)("numberOfFilters",e.numberOfFilters)("categories",e.categories)("disabledCategories",e.disabledCategories)}}function Kn(n,a){if(n&1){let e=R();c(0,"button",50),O("click",function(){C(e);let t=p(3);return b(t.backButtonClicked())}),f(1,"i",51),l()}}function Jn(n,a){if(n&1){let e=R();le(0),c(1,"kfc-restaurant-card",33),O("click",function(){let t=C(e).$implicit,r=p(4);return b(r.restaurantSelected(t))}),l(),ce()}if(n&2){let e=a.$implicit;o(),m("viewModel",e)}
2}function er(n,a){if(n&1&&(c(0,"cdk-virtual-scroll-viewport",48),z(1,Jn,2,1,"ng-container",52),l()),n&2){let e=p(3);o(),m("cdkVirtualForOf",e.filteredRestaurantsWithDistance)}}function tr(n,a){if(n&1&&f(0,"kfc-restaurant-details",7),n&2){let e=p(3);m("selectedRestaurant",e.selectedRestaurant)("deliveryLocation",e.deliveryLocation)("focusLatitude",e.focusLatitude)("focusLongitude",e.focusLongitude)}}function ir(n,a){if(n&1){let e=R();c(0,"div",3)(1,"div",4),w(2,Qn,2,5)(3,Kn,2,0,"button",46),l(),c(4,"div",47),O("scroll",function(t){C(e);let r=p(2);return b(r.onScroll(t))}),w(5,er,2,1,"cdk-virtual-scroll-viewport",48)(6,tr,1,4,"kfc-restaurant-details",7),l()()}if(n&2){let e=p(2);y("bg-white",e.showDetails)("full-height-container",e.showDetails),o(2),M(e.showDetails?3:2),o(3),M(e.showDetails?6:5)}}function nr(n,a){if(n&1){let e=R();c(0,"app-map",8),O("onMapReady",function(t){C(e);let r=p(2);return b(r.onMapReady(t))}),l()}if(n&2){let e=p(2);m("mapCenter",e.mapCenter)("mapZoom",e.mapZoom)}}function rr(n,a){if(n&1&&(c(0,"div",34),w(1,Gn,9,14,"div",35),w(2,qn,7,12,"div",36),w(3,ir,7,6,"div",37),l(),c(4,"div",38),Ye(5,nr,1,2),Ge(6,5,Ti),qe(),l()),n&2){let e=p();o(),M(e.showDetails?-1:1),o(),M(!e.receivedCoordinates&&!e.restaurantDetailsWithoutLocation?2:-1),o(),M(e.receivedCoordinates||e.restaurantDetailsWithoutLocation?3:-1),o(),I("top",e.mapTop,"px")}}var Ta=(()=>{class n{constructor(e,i,t,r,s,v,_,k,j,Fe,Ei,Li,zi,Bi,Fi,Ii,Vi,Ai,Ni){this._addressService=e,this._restaurantService=i,this._renderer=t,this._changeDetectorRef=r,this._bodyScrollService=s,this._mobileWidthDetectorService=v,this._analyticsService=_,this._localStorageService=k,this._routingHelper=j,this._topMenuService=Fe,this._location=Ei,this._piwikService=Li,this._router=zi,this._browserRef=Bi,this._seoService=Fi,this._translateService=Ii,this._informationPopupService=Vi,this._deviceDetectorService=Ai,this._platformId=Ni,this.isMobile=this._deviceDetectorService.isMobile()||this._deviceDetectorService.isTablet(),this.receivedCoordinates=!1,this.filter=new ie,this.addressNotFound=!1,this.disabledCategories=[!0,!1,!1,!1,!1,!1,!1,!1],this.categories=[D.delivery,D.driveThru,D.fillUp,D.garden,D.playground,D.dineIn,D.twentyFourHoursOpen,D.wifi],this.filteredRestaurantsWithDistance=[],this.mapZoom=12,this.mapTop="88px",this.alertStateEmitter=new at(null),this.informationPopupVisible=!1,this.cdnUrl=U.cdnUrl,this._subscriptions=new ue,this.mapReady=!1,this._loadedRestaurantsIndex=0,this._restaurantsMarkers={},this._restaurantsWithDistance=[],this._alertStates=new pi,this.activeIcon={iconSize:[46,46],iconUrl:`${U.cdnUrl}assets/img/icon-48px-kfc.svg`},this.inactiveIcon={iconSize:[30,30],iconUrl:`${U.cdnUrl}assets/img/icon-32px-map-kfc-inactive.svg`},this._domain=U.domain.toUpperCase(),this._customMenu=new tt("icon-thin-arrow-left","SHARED.COMPONENTS.MENU.MENU_NAVBAR.RESTAURANTS","display: flex;align-items:center;height:100%;","",()=>this._browserRef.getWindow().history.length>1?this._location.back():this._routingHelper.goToMain()),this._restaurantDetailsMenu=new tt("icon-thin-arrow-left","RESTAURANTS.RESTAURANT_DETAILS","display: flex;align-items:center;height:100%;","",()=>this.backButtonClicked()),this.onMarkerClick=Wi=>{let ne,Ie,Ve=+Wi?.target?.id,rt=this._restaurantsMarkers[Ve];if(this.selectedRestaurant?(Ie=this.selectedRestaurant?.restaurant?.id,ne=this._restaurantsMarkers[Ie]):ne=null,ne&&this._changeMarkerIcon(ne,this.inactiveIcon),(!this.selectedRestaurant||Ve!==this.selectedRestaurant.restaurant.id)&&(this.selectedRestaurant=Jt(this._restaurantsWithDistance,A=>A.restaurant.id===Ve),!this.deliveryLocation&&this.selectedRestaurant&&this._setDeliveryLocationFromSelectedRestaurant()),(!this.selectedRestaurant||!ne||this.selectedRestaurant?.restaurant?.id!==Ie)&&(this._restaurantsWithDistance.unshift(this.selectedRestaurant),this._subscriptions.add(this._restaurantService.getRestaurantDetails(this.selectedRestaurant.restaurant.id).subscribe({next:A=>{A?.details?(this.restaurantDetailsWithoutLocation=!this.receivedCoordinates,this.selectedRestaurant.details=A.details,this._restaurantDetailVisibility=!0,this.isMobile&&this._topMenuService.setCustomMenu(this._restaurantDetailsMenu),this._updateMapForRestaurantDetails()):this._restaurantDetailVisibility=!1},error:()=>this._restaurantDetailVisibility=!1})),this.setMapBounds()),this.isMobile&&this.selectedRestaurant.restaurant.id){let A=this._browserRef.getDocument().querySelector(`#rest_${this.selectedRestaurant.restaurant.id}`);A&&A.scrollIntoView({behavior:"smooth"})}this._previousMarker=rt,this._changeMarkerIcon(rt,this.activeIcon),this._changeDetectorRef.detectChanges()},Qe(this._platformId)&&(this.isBrowserApp=!0)}
2get showDetails(){return this._restaurantDetailVisibility}get anyFilterChosen(){for(let e of this.categories)if(this.filter[e])return!0;return!1}ngOnInit(){this.categories.forEach(e=>this.filter[e]=!1),this.isBrowserApp&&(this._setLocationMarker(),this._setDefaultLatLng()),this._subscriptions.add(this._mobileWidthDetectorService.isTabletWidth$.subscribe(e=>{this.isMobile=e,this.isMobile?this._topMenuService.setCustomMenu(this._customMenu):this._topMenuService.setCustomMenu(null)})),this._subscriptions.add(ct(this._browserRef.getWindow(),"resize").subscribe(e=>this._handleResizeEvent(e))),this._subscriptions.add(this._restaurantService.getAllRestaurants().subscribe(e=>this._setAllRestaurants(e))),this._subscriptions.add(this._addressService.deliveryLocation$.subscribe(e=>this._handleDeliveryLocationChange(e))),Ke(this._platformId)&&this._seoService.setPageMetaTags(this._routingHelper.getRestaurantsPath()),this._subscriptions.add(this._translateService.onLangChange.subscribe(()=>{Ke(this._platformId)&&this._seoService.setPageMetaTags(this._routingHelper.getRestaurantsPath())})),this._subscriptions.add(this._informationPopupService.infoPopupVisibility$.subscribe(e=>{this.informationPopupVisible=e})),this._analyticsService.e_orderTypeData(null,null,null),this._piwikService.pushVirtualPageView(this._router.url,"RestaurantMap"),this.isMobile&&this._topMenuService.setCustomMenu(this._customMenu)}ngAfterViewInit(){this.isBrowserApp&&(this._bodyScrollService.scrollToTop(),setTimeout(()=>{this._footerElement=this._browserRef.getDocument().querySelector("page-footer"),this._bodyElement=this._browserRef.getDocument().querySelector("body"),this._footerElement&&(this._footerElement.style.display="none"),this._bodyElement&&this._bodyElement.classList.add("restaurants")},500))}ngAfterViewChecked(){this._topMenuElement||(this._topMenuElement=this._browserRef.getDocument().getElementsByClassName("bms-tm-container")[0])}ngOnDestroy(){this._subscriptions.unsubscribe(),Qe(this._platformId)&&(this._bodyElement&&this._bodyElement.classList.remove("restaurants"),this._footerElement&&(this._footerElement.style.display="block"),this.isMobile&&this._topMenuService.setCustomMenu(null),this._resizeTimeout&&clearTimeout(this._resizeTimeout))}onMapReady(e){e&&(this._map=e,this._locationMarker&&this._locationMarker.addTo(this._map),Object.keys(this._restaurantsMarkers).length>0&&Object.keys(this._restaurantsMarkers).forEach(i=>this._restaurantsMarkers[i].addTo(this._map)),this.mapReady=!0)}clearFilters(){this.numberOfFilters=0,this.categories.forEach(e=>{this.filter[e]&&(this.filter[e]=!1)}),this.filterRestaurant(!0)}onFiltersChange(e){this.filter=e,this.filterRestaurant()}filterRestaurant(e=!1){this.numberOfFilters=0,this.filteredRestaurantsWithDistance=[],this.categories.forEach(i=>{this.filter[i]&&this.numberOfFilters++}),this.numberOfFilters>0?(this.filteredRestaurantsWithDistance.length=0,this._restaurantsWithDistance.forEach(i=>{let t=!0;this.categories.filter(r=>this.filter[r]).forEach(r=>{r===D.delivery||r===D.dineIn?this.filter[r]&&!i.restaurant[r]&&(t=!1):i.restaurant.filters.forEach(s=>{s.key===r&&!s.available&&(t=!1)})}),t&&this.filteredRestaurantsWithDistance.push(i)})):this._restaurantsWithDistance.forEach(i=>this.filteredRestaurantsWithDistance.push(i));for(let i=0;i<this.disabledCategories.length;i++)this.disabledCategories[i]=!0;this.filteredRestaurantsWithDistance.some(i=>{this.categories.forEach((t,r)=>{t===D.delivery||t===D.dineIn?i.restaurant[t]===!0&&(this.disabledCategories[r]=!1):i.restaurant.filters.forEach(s=>{s.key===t&&s.available&&(this.disabledCategories[r]=!1)})})}),this.mapReady&&(this.setMapBounds(),this.addMarkersToMap()),this.isMobile&&e&&(this.show
2Filters=!this.showFilters)}restaurantSelected(e){let i;this.selectedRestaurant?i=this._restaurantsMarkers[this.selectedRestaurant.restaurant?.id]:i=null,this.selectedRestaurant=JSON.parse(JSON.stringify(e));let t=this._restaurantsMarkers[this.selectedRestaurant.restaurant?.id];t&&this._changeMarkerIcon(t,this.activeIcon),i?.options?.title!==this.selectedRestaurant.restaurant.name&&this._changeMarkerIcon(i,this.inactiveIcon),this.deliveryLocation||this._setDeliveryLocationFromSelectedRestaurant(),this._subscriptions.add(this._restaurantService.getRestaurantDetails(e.restaurant.id).subscribe({next:r=>{r?.details?(this.selectedRestaurant.details=r.details,this._restaurantDetailVisibility=!0,this.isMobile&&this._topMenuService.setCustomMenu(this._restaurantDetailsMenu),this._updateMapForRestaurantDetails(),this.isMobile&&setTimeout(()=>{let s=this._browserRef.getDocument().querySelector(".map-container");s&&s.scrollIntoView({behavior:"smooth",block:"end"})},200)):this._restaurantDetailVisibility=!1},error:()=>this._restaurantDetailVisibility=!1})),this.setMapBounds()}backButtonClicked(){this._previousMarker=this._restaurantsMarkers[this.selectedRestaurant.restaurant?.id],this._previousMarker&&this._changeMarkerIcon(this._previousMarker,this.inactiveIcon),this.selectedRestaurant=null,this._restaurantDetailVisibility=!1,this.restaurantDetailsWithoutLocation=!1,this.setMapBounds(),this.isMobile&&this._topMenuService.setCustomMenu(this._customMenu),this.isMobile&&this._bodyScrollService.unblockBodyScroll()}onScroll(e){if(!this.isMobile||!e||!e.target)return;let i=e.target.scrollWidth,t=e.target.scrollLeft,r=e.target.offsetWidth,s=i/this._restaurantsWithDistance.length,v=this._loadedRestaurantsIndex+1;v*s<t+r&&(this._loadedRestaurantsIndex+=5,this._getDetails(v,5))}addMarkersToMap(){this.isBrowserApp&&(Object.keys(this._restaurantsMarkers).forEach(e=>this._restaurantsMarkers[e].remove()),this.filteredRestaurantsWithDistance.forEach(e=>{let i=this._restaurantsMarkers[e.restaurant?.id];if(!i&&this.isBrowserApp){let t=this._browserRef.getDocument().createElement("img");t.id=String(e?.restaurant?.id),t.className="marker",t.src=this.inactiveIcon?.iconUrl,t.setAttribute("title",e.restaurant.name),t.style.cursor="pointer",t.style.width=`${this.inactiveIcon.iconSize[0]}px`,t.style.height=`${this.inactiveIcon.iconSize[1]}px`,t.addEventListener("click",this.onMarkerClick),i=new ui({element:t,draggable:!1}).setLngLat([+e.restaurant.geoLng,+e.restaurant.geoLat]),this._restaurantsMarkers[e.restaurant?.id]=i}this._map&&i?.addTo(this._map)}))}setMapBounds(){if(!this._map||!this.isBrowserApp)return;let e={top:this.isMobile?32:50,left:this.isMobile?32:50,right:this.isMobile?32:50,bottom:this.isMobile?32:50};if(this.lat&&this.lng&&this.selectedRestaurant?.restaurant){let i=new J(+this.selectedRestaurant.restaurant.geoLng,+this.selectedRestaurant.restaurant.geoLat),t=new J(+this.lng,+this.lat),r=new Je().extend(t).extend(i);this._map.setPadding(e),this._map.fitBounds(r,{padding:e,maxZoom:14})}else setTimeout(()=>{let i=this.filteredRestaurantsWithDistance.slice(0,10).reduce((t,r)=>{let s=new J(r.restaurant.geoLng,r.restaurant.geoLat);return t.extend(s)},new Je(new J(this.lng,this.lat),new J(this.lng,this.lat)));this._map.setPadding(e),this._map.fitBounds(i,{padding:e,maxZoom:12})},0)}geolocationHandler(e){this._alertStates.clearAlerts(),this._alertStates.geolocationError=e,this.alertStateEmitter.next(this._alertStates)}_getDetails(e,i){if(this._restaurantsWithDistance&&this._restaurantsWithDistance.length>e)for(let t=e;t<e+i;t++)this._restaurantsWithDistance[t]?.restaurant?.id&&this._subscriptions.add(this._restaurantService.getRestaurantDetails(this._restaurantsWithDistance[t].restaurant.id).subscribe(r=>{r?.details&&(this._restaurantsWithDistance[t].details=r.details,this._changeDetectorRef.detectChanges())}))}_setDefaultLatLng(){switch(this._domain){case"HU":this.focusLatitude=47.501075,this.focusLongitude=19.032809;break;case"CZ":this.focusLatitude=50.076722,this.focusLongitude=14.439568;break;case"PL":this.focusLatitude=52.0729913,this.focusLongitude=19.4741022;break;case"HR":this.focusLatitude=45.815399,this.focusLongitude=15.966568;break;case"RS":this.focusLatitude=44.210767,this.focusLongitude=20.922417;break;default:this.focusLatitude=52.0729913,this.focusLongitude=19.4741022;break}}_updateMapForRestaurantDetails(){this._changeDetectorRef.detectChanges(),setTimeout(()=>{!this._map||!this._restaurantDetailVisibility||(this._map.resize(),this.setMapBounds())},0)}_handleDeliveryLocationChange(e){this._alertStates.clearAlerts(),this.isBrowserApp&&(e&&typeof e=="object"?e.lng&&e.lat?(this.numberOfFilters=0,this.categories.forEac
2h(i=>this.filter[i]=!1),this.deliveryLocation=Kt(this.deliveryLocation,e),this.lng=e.lng,this.lat=e.lat,this.isBrowserApp&&(this._locationMarker.setLngLat([this.lng,this.lat]),this._map&&this._locationMarker.addTo(this._map)),this.receivedCoordinates=!0,this.focusLatitude=this.lat,this.focusLongitude=this.lng,this._getDistance(Number(this.lng),Number(this.lat)),setTimeout(()=>this.mapCenter=[this.lng,this.lat],500),this.mapZoom=12,this._map&&this._map.resize(),this._renderer.listen(this._browserRef.getDocument().querySelector("main"),"scroll",()=>{requestAnimationFrame(()=>{let i=this._browserRef.getDocument().querySelector(".singleOrder");i&&(this._browserRef.getDocument().querySelector("main").scrollTop>=this._browserRef.getWindow().innerHeight-320?i.style.transform=`translateY(${this._browserRef.getWindow().innerHeight-320-this._browserRef.getDocument().querySelector("main").scrollTop}px)`:i.style.transform="translateY(0px)")})})):(this.addressNotFound=!0,this.isBrowserApp&&(this._locationMarker.setLngLat([this.focusLongitude,this.focusLatitude]),this._map&&this._locationMarker.addTo(this._map))):(this.deliveryLocation=null,this.receivedCoordinates=!1,this.mapZoom=8,this.lng=this.focusLongitude,this.lat=this.focusLatitude,this.mapCenter=[this.lng,this.lat],this._locationMarker.setLngLat(this.mapCenter),this._map&&this._locationMarker.addTo(this._map),this._getDistance(Number(this.lng),Number(this.lat))))}_updateLocalStorageData(e){if(this.isBrowserApp){let i=this._restaurantService.getRestaurantsAmount(e);this._localStorageService.set("restaurantsAmount",i)}}_changeMarkerIcon(e,i){this.isBrowserApp&&et.changeMarkerIcon(e,i)}_setLocationMarker(){this.isBrowserApp&&(this._locationMarker=et.prepareLocationMarker())}_setAllRestaurants(e){e&&(this._allRestaurants=e,this._getDistance(Number(this.lng),Number(this.lat)),this._updateLocalStorageData(this._allRestaurants.restaurants))}_handleResizeEvent(e){clearTimeout(this._resizeTimeout),e&&(this._resizeTimeout=setTimeout(()=>this._getDistance(Number(this.lng),Number(this.lat)),500))}_getDistance(e,i){if(this._restaurantsWithDistance=[],this._restaurantsWithDistance.push(...this._restaurantService.getDistance(e,i,this._allRestaurants?.restaurants)),this.receivedCoordinates&&this.isMobile){for(let t=0;t<this._restaurantsWithDistance.length;t++)if(this._restaurantsWithDistance[t].distance>10&&t>0){this._restaurantsWithDistance.length=t;break}}for(let t=0;t<10;t++)this._restaurantsWithDistance[t]?.restaurant?.id&&(this._loadedRestaurantsIndex=t,this._subscriptions.add(this._restaurantService.getRestaurantDetails(this._restaurantsWithDistance[t].restaurant.id).subscribe(r=>r?.details&&this._setRestaurantWithDistanceDetails(t,r))));if(this.isBrowserApp&&this.setMapBounds(),this.filterRestaurant(),this.addMarkersToMap(),this._selectedRestaurantId){let t=this._restaurantsWithDistance.find(r=>r.restaurant.id===parseInt(this._selectedRestaurantId,10));t&&this.restaurantSelected(t)}}_setRestaurantWithDistanceDetails(e,i){this._restaurantsWithDistance[e].details=i.details}_setDeliveryLocationFromSelectedRestaurant(){this.deliveryLocation=new ti,this.deliveryLocation.city=this.selectedRestaurant.restaurant.addressCity,this.deliveryLocation.street=this.selectedRestaurant.restaurant.addressStreet,this.deliveryLocation.houseNumber=this.selectedRestaurant.restaurant.addressStreetNo,this.deliveryLocation.lat=this.selectedRestaurant.restaurant.geoLat,this.deliveryLocation.lng=this.selectedRestaurant.restaurant.geoLng,this.deliveryLocation.zipCode=this.selectedRestaurant.restaurant.addressPostalCode}static{this.\u0275fac=function(i){return new(i||n)(x(Oe),x(Re),x(xe),x(Ce),x(ri),x(ei),x(we),x(qt),x(ve),x(li),x(Wt),x(Se),x(Zt),x(be),x(ni),x(Gt),x(si),x(Me),x(bt))}}static{this.\u0275cmp=F({type:n,selectors:[["kfc-restaurants"]],decls:3,vars:5,consts:[[1,"restaurants-section",3,"ngClass"],[1,"map-container"],[1,"container","restaurant-menu-container","mobile"],[1,"left-menu-container"],[1,"top-menu-header"],[1,"deliveryRange-mobile-gui","top"],[1,"restaurants-container"],[3,"selectedRestaurant","deliveryLocation","focusLatitude","focusLongitude"],[3,"onMapReady","mapCenter","mapZoom"],[1,"text-start",3,"geolocationHandler","isPopup","deliveryLocation","showAsterisk","isRestaurant","isMobile","statesListener","withoutFocusOnInit"],[1,"no-restaurant-found","text-center","bg-white"],[1,"filters"],[1,"filter-button",3,"click"],[1,"badge"],[1,"icon-chevron-down"],[1,"icon-chevron-up"],[1,"filters-blend"],[1,"filters-popup","mobile","bg-white","text-start"],[1,"arrow-up-css"],[1,"title"],[1,"icon-close",3,"click"],[1,"divi
2der"],[1,"buttons-container","d-flex"],[3,"click","label","isDisabled"],[1,"primary-link"],[3,"viewModel","active"],["class","checkbox-container",3,"disabled",4,"showByDomainDirective"],[4,"showByDomainDirective"],[1,"checkbox-container"],["type","checkbox",3,"ngModelChange","ngModel","disabled"],[1,"checkmark"],["type","checkbox",3,"ngModelChange","ngModel"],[1,"primary-link",3,"click"],[3,"click","viewModel"],[1,"container","restaurant-menu-container","desktop"],[1,"bg-white","localization-address","text-center"],[1,"find-restaurant-img"],[1,"left-menu-container",3,"bg-white","full-height-container"],[1,"map-container","desktop"],[1,"text-start","header"],[1,"text-start","subheader"],[1,"text-start",3,"geolocationHandler","isPopup","deliveryLocation","showAsterisk","locateMeButtonVisible","isRestaurant","isMobile","statesListener"],[1,"col-11","no-restaurant-found","text-center","bg-white"],[1,"image-container"],["placeholder","",3,"ngSrc","fill","alt","priority","placeholderConfig"],[1,"find-restaurant-img-text","text-font-16-line-20"],[1,"btn","btn-no-border-white","button-back"],[1,"bottom-menu-container",3,"scroll"],["itemSize","145",1,"cards-wrapper"],[3,"setMapBounds","addMarkersToMap","filterRestaurants","clearFilters","showFilters","numberOfFilters","categories","disabledCategories"],[1,"btn","btn-no-border-white","button-back",3,"click"],[1,"icon-thin-arrow-left"],[4,"cdkVirtualFor","cdkVirtualForOf"]],template:function(i,t){i&1&&(c(0,"div",0),w(1,Zn,10,15)(2,rr,8,5),l()),i&2&&(m("ngClass",It(2,Pn,!t.isMobile,t.informationPopupVisible)),o(),M(t.isMobile?1:2))},dependencies:[Ht,hi,Q,Te,ke,ye,De,Pe,fi,Di,$t,Pi,Si,Mi,ki,X,K,G,q],styles:['[_nghost-%COMP%] {margin-top:80px}@media screen and (max-width:1169px){[_nghost-%COMP%] {margin-top:68px}}[_nghost-%COMP%] {display:block}@media screen and (max-width:1169px){[_nghost-%COMP%] .localization-finder{display:none}}@media screen and (max-width:1169px){[_nghost-%COMP%] .singleOrder{position:fixed;top:100px;left:16px;width:calc(100% - 32px)!important;z-index:94}[_nghost-%COMP%] .singleOrder.add-margin-to-top{top:150px!important}}@media screen and (max-width:1169px){[_nghost-%COMP%] .add-margin-to-top .singleOrder{top:150px!important}}[_nghost-%COMP%] .button-back{text-transform:none;font-size:16px;font-weight:700;letter-spacing:.4px;line-height:20px;padding:0;width:100%;text-align:left;color:#000}@media screen and (max-width:1169px){[_nghost-%COMP%] .button-back{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;height:80px;position:fixed;padding:0 27px;top:0;left:0;right:0;background-color:#fff;z-index:101}}[_nghost-%COMP%] .button-back span{font-size:10px}@media screen and (max-width:1169px){[_nghost-%COMP%] .button-back span{margin-left:18px;font-size:24px;line-height:28px}}[_nghost-%COMP%] .restaurants-section{position:relative;margin:0;height:calc(100vh - 80px);border-top:1px solid #ededed}@media screen and (max-width:1169px){[_nghost-%COMP%] .restaurants-section.place-for-info-popup{height:calc(100vh - 64px)}[_nghost-%COMP%] .restaurants-section.place-for-info-popup .restaurants-container{margin-top:-156px}[_nghost-%COMP%] .restaurants-section.place-for-info-popup .singleOrder{top:256px!important}}@media screen and (max-width:1169px){[_nghost-%COMP%] .restaurants-section{height:calc(100vh - 68px)}}[_nghost-%COMP%] .restaurants-section .no-restaurant-found{font-size:15px;font-weight:700;letter-spacing:.3px;line-height:16px;color:#868686;-webkit-box-shadow:0 2px 20px 0 rgba(128,87,77,.2),0 2px 2px 0 rgba(128,87,77,.05),0 3px 10px 0 rgba(128,87,77,.1);-moz-box-shadow:0 2px 20px 0 rgba(128,87,77,.2),0 2px 2px 0 rgba(128,87,77,.05),0 3px 10px 0 rgba(128,87,77,.1);box-shadow:0 2px 20px #80574d33,0 2px 2px #80574d0d,0 3px 10px #80574d1a}@media screen and (-ms-high-contrast:active),(-ms-high-contrast:none){[_nghost-%COMP%] .restaurants-section .no-restaurant-found{-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;border:1px solid #ccc}}[_nghost-%COMP%] .restaurants-section .no-restaurant-found{padding:24px;position:absolute;width:calc(100% - 77px);margin-top:-10px;left:50%;-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translate(-50%)}[_nghost-%COMP%] .restaurants-section .filters-blend{display:none;position:fixed;inset:0;z-index:101;background-color:#1c1210;opacity:.8}[_nghost-%COMP%] .restaurants-section .filters-blend.visible{display:block}[_nghost-%COMP%] .restaurants-section .left-menu-container{height:100%;display:flex;flex-direction:column;overflow-y:auto;max-height:calc(100vh - 300px);scrollbar-color:#E4002B transparent}[_nghost-%COMP%] .restaurants-section .left-menu-container::-webkit-scrollbar{width:8px!important;height:8px!important}@media screen and (max-width:1169px){[_nghost-%COMP%] .restaurants-section .left-menu-container::-webkit-scrollbar{width:5px!important;height:5px!important}}[_nghost-%COMP%] .restaurants-section .left-menu-container::-webkit-scrollbar-thumb{border-radius:8px}@media screen and (min-width:1169px){[_nghost-%COMP%] .restaurants-section .left-menu-container::-webkit-scrollbar-thumb{background:#e4002b!important}}@media screen and (min-width:768px)and (max-width:1169px){[_nghost-%COMP%] .restaurants-section .left-menu-container::-webkit-scrollbar-thumb{background:#e4002b!important}}[_nghost-%COMP%] .restaurants-section .left-menu-container::-webkit-scrollbar-track{background:transparent!important;border-radius:0;box-shadow:none}[_nghost-%COMP%] .restaurants-section .left-menu-container .top-menu-header{padding:16px 48px 0 32px;position:relative}[_nghost-%COMP%] .restaurants-section .left-menu-container .top-menu-header.color-primary{background-color:#ce0a06}@media screen and (max-width:1169px){[_nghost-%COMP%] .restaurants-section .left-menu-container .top-menu-header{padding:0!important;background-color:transparent;left:0;top:0}}[_nghost-%COMP%] .restaurants-section .left-menu-container .bottom-menu
2-container{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1}[_nghost-%COMP%] .restaurants-section .left-menu-container .bottom-menu-container.offset-top{top:145px}[_nghost-%COMP%] .restaurants-section .left-menu-container .bottom-menu-container .restaurant-info-holder:hover .restaurant-name{color:#e4002b}[_nghost-%COMP%] .restaurants-section .left-menu-container .bottom-menu-container .restaurant-info-holder.active{border-color:#ce0a06!important}[_nghost-%COMP%] .restaurants-section .left-menu-container .bottom-menu-container .restaurant-info-holder.mouse-disabled{cursor:default}[_nghost-%COMP%] .restaurants-section .left-menu-container .bottom-menu-container .restaurant-info-holder p{margin:0}[_nghost-%COMP%] .restaurants-section .left-menu-container .bottom-menu-container .restaurant-info-holder .restaurant-name{margin-bottom:7px;cursor:pointer}[_nghost-%COMP%] .restaurants-section .left-menu-container .bottom-menu-container .restaurant-info-holder .restaurant-name:hover{text-decoration:none}@media screen and (max-width:1169px){[_nghost-%COMP%] .restaurants-section .left-menu-container .bottom-menu-container .restaurant-info-holder .restaurant-name{font-size:11px;line-height:16px;margin-bottom:0}}[_nghost-%COMP%] .restaurants-section .left-menu-container .bottom-menu-container .restaurant-info-holder .restaurant-address{color:#282828;font-size:18px;letter-spacing:.3px;line-height:26px;text-transform:capitalize}@media screen and (max-width:1169px){[_nghost-%COMP%] .restaurants-section .left-menu-container .bottom-menu-container .restaurant-info-holder .restaurant-address{color:#1c1210}}[_nghost-%COMP%] .restaurants-section .left-menu-container .bottom-menu-container .restaurant-info-holder .number-container{font-size:14px;font-weight:500;letter-spacing:.4px;line-height:20px;margin-top:8px}[_nghost-%COMP%] .restaurants-section .left-menu-container .bottom-menu-container .restaurant-info-holder .button-order{width:100%;margin-top:8px;height:48px}[_nghost-%COMP%] .restaurants-section .left-menu-container .bottom-menu-container .restaurant-info-holder .distance-container.mobile{float:none;margin-top:0;margin-bottom:8px}[_nghost-%COMP%] .restaurants-section .left-menu-container .bottom-menu-container .restaurant-info-holder .distance-container .icon-distance{color:#ce0a06;font-size:16px}[_nghost-%COMP%] .restaurants-section .map-container{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;width:calc(100vw - 500px);height:auto;padding:0;z-index:94}@media screen and (max-width:1169px){[_nghost-%COMP%] .restaurants-section .map-container.map-with-details{margin-top:0;height:200px!important;position:relative}}[_nghost-%COMP%] .restaurants-section .map-container.pickup-map{height:40%}[_nghost-%COMP%] .restaurants-section .map-container app-map .map{width:calc(100vw - 476px)!important}@media screen and (max-width:1169px){[_nghost-%COMP%] .restaurants-section .map-container app-map .map{width:100%!important}}[_nghost-%COMP%] .restaurants-section .restaurant-menu-container{display:flex;flex-direction:column;width:500px;max-width:40%;height:auto;padding:0;background-color:#f7f6f6;z-index:100}@media screen and (max-width:1169px){[_nghost-%COMP%] .restaurants-section .restaurant-menu-container.desktop{display:none}}[_nghost-%COMP%] .restaurants-section .restaurant-menu-container.mobile{display:none}@media screen and (max-width:1169px){[_nghost-%COMP%] .restaurants-section .restaurant-menu-container.mobile{display:flex}}@media screen and (max-width:1169px){[_nghost-%COMP%] .restaurants-section .restaurant-menu-container{position:fixed;z-index:999}}[_nghost-%COMP%] .restaurants-section .restaurant-menu-container .localization-address{-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px;pointer-events:all;padding:32px;position:relative}[_nghost-%COMP%] .restaurants-section .restaurant-menu-container .localization-address .break-text{color:#868686;font-size:12px;letter-spacing:.3px;margin:25px 0 7px}[_nghost-%COMP%] .restaurants-section .restaurant-menu-container .localization-address .singleOrder{padding:0}[_nghost-%COMP%] .restaurants-section .restaurant-menu-container .localization-address .btn-outline-primary, [_nghost-%COMP%] .restaurants-section .restaurant-menu-container .localization-address .btn-outline-primary:hover{background-color:#ce0a06!important;color:#fff!important}[_nghost-%COMP%] .restaurants-section .restaurant-menu-container .localization-address .btn-outline-primary.green, [_nghost-%COMP%] .restaurants-section .restaurant-menu-container .localization-address .btn-outline-primary:hover.green{background-color:#8ea604!important}[_nghost-%COMP%] .restaurants-section .restaurant-menu-container .find-restaurant-img{flex-grow:1;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:0 62px}[_nghost-%COMP%] .restaurants-section .restaurant-menu-container .find-restaurant-img .image-container{width:340px;height:138px;position:relative}[_nghost-%COMP%] .restaurants-section .restaurant-menu-container .find-restaurant-img img{width:100%}[_nghost-%COMP%] .restaurants-section .restaurant-menu-container .find-restaurant-img-text{color:#797979;transform:translateY(-20px)}@media screen and (max-width:1169px){[_nghost-%COMP%] .restaurants-section .restaurant-menu-container .find-restaurant-img{display:none}}[_nghost-%COMP%] .top-menu-header{padding:32px 7px;text-align:right}@media screen and (max-width:1169px){[_nghost-%COMP%] .top-menu-header .localization-finder .btn-outline-primary, [_nghost-%COMP%] .top-menu-header .localization-finder .btn-outline-primary:hover{background-color:#ce0a06!important;color:#fff!important}[_nghost-%COMP%] .top-menu-header .localization-finder .btn-outline-primary.green, [_nghost-%COMP%] .top-menu-header .localization-finder .btn-outline-primary:hover.green{background-color:#8ea604!important}}[_nghost-%COMP%] .header{font-size:24px;font-weight:600;letter-spacing:.25px;line-height:28px;color:#1c1210;text-transform:capitalize;margin-bottom:8px}[_nghost-%COMP%] .subheader{font-size:16px;font-weight:400;line-height:23px;letter-spacing:.3px;color:#797979;margin-bottom:16px}@media screen and (max-width:1169px){[_nghost-%COMP%] .subheader{-webkit-transition:margin .3s ease;-moz-transition:margin .3s ease;-o-transition:margin .3s ease;transition:margin .3s ease;font-size:32px;color:#fff;margin-top:29px;margin-bottom:34px}}[_nghost-%COMP%] .deliveryRange-mobile-gui.top #typeahead-city{width:calc(100% - 69px)}[_nghost-%COMP%] .deliveryRange-mobile-gui.top #street{width:70%}[_nghost-%COMP%] .deliveryRange-mobile-gui.top #house{width:30%}[_nghost-%COMP%] .deliveryRange-mobile-gui.top .no-restaurant-found{font-size:15px;font-weight:700;letter-spacing:.3px;line-height:16px;color:#868686;-webkit-box-shadow:0 2px 20px 0 rgba(128,87,77,.2),0 2px 2px 0 rgba(128,87,77,.05),0 3px 10px 0 rgba(128,87,77,.1);-moz-box-shadow:0 2px 20px 0 rgba(128,87,77,.2),0 2px 2px 0 rgba(128,87,77,.05),0 3px 10px 0 rgba(128,87,77,.1);box-shadow:0 2px 20px #80574d33,0 2px 2px #80574d0d,0 3px 10px #80574d1a}@media screen and (-ms-high-contrast:active),(-ms-high-contrast:none){[_nghost-%COMP%] .deliveryRange-mobile-gui.top .no-restaurant-found{-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;border:1px solid #ccc}}[_nghost-%COMP%] .deliveryRange-mobile-gui.top .no-restaurant-found{padding:24px;position:absolute;width:calc(100% - 49px);margin-top:-10px;left:50%;-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translate(-50%)}[_nghost-%COMP%] .deliveryRange-mobile-gui.top .deliveryRange-info{left:50%;-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translate(-50%);position:absolute;width:calc(100% - 49px);color:#fff;text-align:center;padding:15px 28px;font-size:14px;font-weight:500;letter-spacing:.4px;line-height:20px}[_nghost-%COMP%] .deliveryRange-mobile-gui.top .deliveryRange-info.success{background-color:#37c24f}[_nghost-%COMP%] .deliveryRange-mobile-gui.top .deliveryRange-info.failure{background-color:#ce0a06}[_nghost-%COMP%] .deliveryRange-mobile-gui.top .deliveryRange-info.failure .primary-link{color:#fff!important}[_nghost-%COMP%] .deliveryRange-mobile-gui.bottom{position:absolute;bottom:24px;left:50%;width:312px;
2height:48px;z-index:99;-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translate(-50%)}[_nghost-%COMP%] .deliveryRange-mobile-blend{position:absolute;top:0;left:0;right:0;width:100%;height:140px;background:linear-gradient(0deg,#1c121000,#1c1210);opacity:.36;z-index:98;margin-top:0!important}@media screen and (max-width:1169px){[_nghost-%COMP%] .ps-content{background-color:#fff;height:100%}[_nghost-%COMP%] .restaurant-more-divider{position:absolute;height:1px;background-color:#ededed;left:-36px;right:-36px;bottom:39px}[_nghost-%COMP%] .restaurant-more{letter-spacing:.4px;font-size:16px;color:#ce0a06;text-align:center;position:relative;font-weight:700;padding-top:33px;margin-bottom:-10px}[_nghost-%COMP%] .restaurants-section{max-height:calc(100vh - 68px);overflow-y:auto}[_nghost-%COMP%] .restaurants-section .left-menu-container{width:100%;display:block;height:auto;position:relative}[_nghost-%COMP%] .restaurants-section .left-menu-container .zipDdown .dropdown{padding:0 24px 0 35px}[_nghost-%COMP%] .restaurants-section .left-menu-container .bottom-menu-container{white-space:nowrap;z-index:94;width:100%;background:transparent!important}}@media screen and (max-width:1169px)and (max-width:1169px){[_nghost-%COMP%] .restaurants-section .left-menu-container .bottom-menu-container{display:flex;flex-direction:column;z-index:100}}@media screen and (max-width:1169px){[_nghost-%COMP%] .restaurants-section .left-menu-container .bottom-menu-container .restaurant-info-holder.inline-items{padding:24px;display:inline-block;border:1px solid #ededed;z-index:9;margin:15px;background-color:transparent}[_nghost-%COMP%] .restaurants-section .map-container{height:100%;width:100%;margin-top:0;position:absolute;top:0!important}[_nghost-%COMP%] .restaurants-section .map-container .map-copyrights{position:absolute}[_nghost-%COMP%] .restaurants-section .map-container.full-height-map{height:100%}}@media screen and (max-width:1169px)and (max-width:1169px){[_nghost-%COMP%] .restaurants-section .map-container.desktop{display:none}}[_nghost-%COMP%] .restaurant-open-info{letter-spacing:.4px;font-weight:500;font-size:18px;line-height:26px;color:#1c1210;position:relative;display:inline-block;margin-top:8px}@media screen and (max-width:1169px){[_nghost-%COMP%] .restaurant-open-info{float:none;margin-top:0}}[_nghost-%COMP%] .restaurant-open-info div:before{-webkit-border-radius:100%;-moz-border-radius:100%;border-radius:100%;content:"";left:-10px;width:8px;height:8px;display:inline-block;margin-bottom:2px;margin-right:7px}[_nghost-%COMP%] .restaurant-open-info .openLabel{display:none}[_nghost-%COMP%] .restaurant-open-info .openLabel:before{background-color:#37c24f}[_nghost-%COMP%] .restaurant-open-info .closeLabel{display:block}[_nghost-%COMP%] .restaurant-open-info .closeLabel:before{background-color:#ce0a06}[_nghost-%COMP%] .restaurant-open-info.active .openLabel{display:block}[_nghost-%COMP%] .restaurant-open-info.active .closeLabel{display:none}[_nghost-%COMP%] .map-copyrights{display:block;position:fixed;bottom:0;right:0;font-size:13px;padding:2px 5px;z-index:98;background:#ffffff7a}@media screen and (max-width:1169px){[_nghost-%COMP%] .map-copyrights{font-size:11px;padding:2px}}[_nghost-%COMP%] .full-height-container{max-height:calc(100vh - 80px)!important;margin-right:0!important}@media screen and (max-width:1169px){[_nghost-%COMP%] .btn-shopping-path{line-height:44px}}[_nghost-%COMP%] .filters{margin-bottom:16px;font-size:14px;font-weight:700;letter-spacing:.4px;line-height:20px;position:relative}@media screen and (max-width:1169px){[_nghost-%COMP%] .filters{margin-bottom:0;color:#1c1210;display:flex;justify-content:flex-end;padding-right:16px}[_nghost-%COMP%] .filters .icon-filters{height:46px;width:48px;font-size:16px;line-height:48px}[_nghost-%COMP%] .filters .filters-popup.mobile{position:fixed;left:0;bottom:0;border-radius:8px 8px 0 0;width:100%;z-index:102!important}[_nghost-%COMP%] .filters .filters-popup.mobile .divider{display:block;width:calc(100% + 64px);height:1px;transform:translate(-32px);background-color:#ededed}[_nghost-%COMP%] .filters .filters-popup.mobile .checkbox-container{font-size:16px;margin-bottom:25px}[_nghost-%COMP%] .filters .filters-popup.mobile .checkmark{top:-3px!important}[_nghost-%COMP%] .filters .filters-popup.mobile .arrow-up-css{display:none}[_nghost-%COMP%] .filters .filters-popup.mobile .icon-close{font-size:20px;color:#000}[_nghost-%COMP%] .filters .filters-popup.mobile .title{font-size:18px;margin-bottom:28px}}[_nghost-%COMP%] .filters .filter-button{display:flex;align-items:flex-end;justify-content:flex-end;text-transform:uppercase;font-size:14px;line-height:18px;position:relative;cursor:pointer}@media screen and (max-width:1169px){[_nghost-%COMP%] .filters .filter-button{padding:12px 20px;border-radius:8px;width:max-content;margin-bottom:8px;background-color:#fff}}[_nghost-%COMP%] .filters .filter-button .badge{color:#fff;padding:3px 0;background-color:#e4002b;border-radius:50%;width:20px;height:20px;margin-right:8px;font-size:14px;text-align:center;line-height:14px}[_nghost-%COMP%] .filters .filter-button .icon-chevron-up, [_nghost-%COMP%] .filters .filter-button .icon-chevron-down{position:absolute;bottom:2px;right:-18px}@media screen and (max-width:1169px){[_nghost-%COMP%] .filters .filter-button .icon-chevron-up, [_nghost-%COMP%] .filters .filter-button .icon-chevron-down{position:unset;bottom:0;right:0}}[_nghost-%COMP%] .filters .filter-button .icon-chevron-up{color:#8ea604}[_nghost-%COMP%] .filters .filters-popup{color:#1c1210;display:none;padding:16px 24px}[_nghost-%COMP%] .filters .filters-popup .checkbox-container{display:block;position:relative;padding-left:36px;margin-bottom:16px;font-size:18px;line-height:26px;color:#000;font-weight:400;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}[_nghost-%COMP%] .filters .filters-popup .checkbox-container.disabled{cursor:default;color:#868686}[_nghost-%COMP%] .filters .filters-popup .checkbox-container input{position:absolute;opacity:0;cursor:pointer}[_nghost-%COMP%] .filters .filters-popup .checkbox-container .checkmark{position:absolute;top:0;left:0;height:24px;width:24px;background-color:#fff;border-radius:2px;border:1px solid #DBDBDB}[_nghost-%COMP%] .filters .filters-popup .checkbox-container .checkmark:after{content:"";position:absolute;display:none;left:9px;top:5px;width:5px;height:10px;border:solid white;border-width:0 3px 3px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}[_nghost-%COMP%] .filters .filters-popup .checkbox-container input:checked~.checkmark{background-color:#ce0a06}[_nghost-%COMP%] .filters .filters-popup .checkbox-container input:checked~.checkmark:after{display:block}[_nghost-%COMP%] .filters .filters-popup .buttons-container{align-items:center}@media screen and (max-width:1169px){[_nghost-%COMP%] .filters .filters-popup .buttons-container{flex-direction:column}}[_nghost-%COMP%] .filters .filters-popup .buttons-container .btn{width:100%}@media screen and (max-width:1169px){[_nghost-%COMP%] .filters .filters-popup .buttons-container .btn:hover{color:#fff}}[_nghost-%COMP%] .filters .filters-popup .buttons-container .primary-link{height:22px;margin-left:38px;font-size:14px}@media screen and (max-width:1169px){[_nghost-%COMP%] .filters .filters-popup .buttons-container .primary-link{margin-left:0;margin-top:16px}}[_nghost-%COMP%] .filters .filters-popup .title span{float:right}[_nghost-%COMP%] .filters .filters-popup .arrow-up-css{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-bottom:5px solid white;position:absolute;top:-5px;left:50%}[_nghost-%COMP%] .filters .filters-popup.visible{display:block;z-index:99}@media screen and (max-width:1169px){[_nghost-%COMP%] .restaurants-container{position:absolute;top:calc(100% - 150px);width:100%;z-index:94}[_nghost-%COMP%] .restaurants-container.restaurants-container-pickup-flow{top:40%;background-color:#f7f6f6;padding-bottom:100px}[_nghost-%COMP%] .restaurants-container.restaurants-container-pickup-flow .subheader{font-size:16px;line-height:23px;color:#000;margin:24px 16px 12px!important;font-weight:500}[_nghost-%COMP%] .restaurants-container.restaurants-container-pickup-flow .restaurant-info-holder.active{border:1px solid #8EA604}}@media screen and (max-width:1169px){[_nghost-%COMP%] .pickup-flow-btn-wrapper{height:100px;background:linear-gradient(0deg,#f7f6f6 58.99%,#fff0);position:fixed;bottom:0;width:100%;padding:25px 32px}}[_nghost-%COMP%] .contact-form-header{position:fixed;top:0;left:0;width:100%;height:124px;background-color:#f7f6f6;z-index:999}[_nghost-%COMP%] .contact-form-header .contact-page-title{padding:20px 24px;background-color:#fff}[_nghost-%COMP%] .contact-form-header .stepper-prev-button{background-color:transparent;border:none;display:flex;align-items:center;gap:8px;padding:0;margin-bottom:18px}[_nghost-%COMP%] .contact-form-header .stepper-prev-button i{display:flex;align-items:center;justify-content:center;width:32px;height:56px;background-color:transparent;border-radius:4px;color:#728503;font-size:14px}.cards-wrapper[_ngcontent-%COMP%]{height:100%}']})}}return n})();export{Ta as RestaurantsComponent};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.