PageSourceSearch

https://www.leonardo-hotels.pl/chunk-CMXAI4RC.js

js leonardo-hotels.pl collected 2026-10-04 08:01:59 UTC 49,487 bytes, 1 lines download raw bytes

1import{b as Ke}from"./chunk-4BNDLF4Q.js";import{h as qe}from"./chunk-FKPR3LAI.js";import{b as $e}from"./chunk-FE6PUOCS.js";import{c as Ge,w as Ue}from"./chunk-EORWGWNX.js";import{a as Qe}from"./chunk-OIPCR3UO.js";import{p as je}from"./chunk-GWRRF45W.js";import{a as He}from"./chunk-ERAHZDYO.js";import{a as X}from"./chunk-DL4MVPKO.js";import{b as Ve}from"./chunk-2J5KWTT3.js";import{a as Fe}from"./chunk-GFO3QNEP.js";import{d as Be,t as J,u as Ne}from"./chunk-OMKW2JB5.js";import{a as We,b as Ze}from"./chunk-M36GUI2X.js";import{$b as Ae,Ab as Ee,Bb as Pe,Cb as H,Db as j,E as V,Ga as O,Ja as A,La as ne,Mb as u,N as be,Nb as b,O as ze,Ob as B,Oc as Te,P,Pb as de,Pc as Y,W as ke,Wa as xe,Xa as m,Xc as W,Y as y,Ya as De,Za as _,_a as oe,aa as f,ab as ae,b as we,ba as M,bb as re,c as N,cb as w,d as T,db as d,eb as l,fb as I,ha as R,ia as L,ib as Le,ic as C,ja as p,jc as v,ka as Ie,l as Q,la as $,lb as Oe,m as K,oa as te,pb as z,qa as q,rc as Se,sc as S,tc as h,td as Re,ua as ie,vb as k,xb as r,xc as ce,ya as a,yb as se,zb as le}from"./chunk-CXBPM7YT.js";import{a as x,b as D}from"./chunk-IM5V7DCU.js";var tt=["*"],Z=class{_ngZone;_pending=[];_listeners=[];_targetStream=new T(void 0);_clearListeners(){for(let s of this._listeners)s.remove();this._listeners=[]}constructor(s){this._ngZone=s}getLazyEmitter(s,e){return this._targetStream.pipe(ze(t=>{let n=new we(o=>{if(!t){this._pending.push({observable:n,observer:o});return}let c,g=E=>{this._ngZone.run(()=>o.next(E))};if(e==="native"?(t.addEventListener(s,g),c={remove:()=>t.removeEventListener(s,g)}):c=t.addListener(s,g),!c){o.complete();return}return this._listeners.push(c),()=>c.remove()});return n}))}setTarget(s){let e=this._targetStream.value;s!==e&&(e&&(this._clearListeners(),this._pending=[]),this._targetStream.next(s),this._pending.forEach(t=>t.observable.subscribe(t.observer)),this._pending=[])}destroy(){this._clearListeners(),this._pending=[],this._targetStream.complete()}},G={center:{lat:37.421995,lng:-122.084092},zoom:17,mapTypeId:"roadmap"},Ye="500px",Je="500px",U=(()=>{class i{_elementRef=y(te);_ngZone=y(L);_eventManager=new Z(y(L));_mapEl;_existingAuthFailureCallback;googleMap;_isBrowser;height=Ye;width=Je;mapId;mapTypeId;set center(e){this._center=e}_center;set zoom(e){this._zoom=e}_zoom;set options(e){this._options=e||G}_options=G;mapInitialized=new R;authFailure=new R;boundsChanged=this._eventManager.getLazyEmitter("bounds_changed");centerChanged=this._eventManager.getLazyEmitter("center_changed");mapClick=this._eventManager.getLazyEmitter("click");mapDblclick=this._eventManager.getLazyEmitter("dblclick");mapDrag=this._eventManager.getLazyEmitter("drag");mapDragend=this._eventManager.getLazyEmitter("dragend");mapDragstart=this._eventManager.getLazyEmitter("dragstart");headingChanged=this._eventManager.getLazyEmitter("heading_changed");idle=this._eventManager.getLazyEmitter("idle");maptypeidChanged=this._eventManager.getLazyEmitter("maptypeid_changed");mapMousemove=this._eventManager.getLazyEmitter("mousemove");mapMouseout=this._eventManager.getLazyEmitter("mouseout");mapMouseover=this._eventManager.getLazyEmitter("mouseover");projectionChanged=this._eventManager.getLazyEmitter("projection_changed");mapRightclick=this._eventManager.getLazyEmitter("rightclick");tilesloaded=this._eventManager.getLazyEmitter("tilesloaded");tiltChanged=this._eventManager.getLazyEmitter("tilt_changed");zoomChanged=this._eventManager.getLazyEmitter("zoom_changed");constructor(){let e=y(q);if(this._isBrowser=W(e),this._isBrowser){let t=window;t.google,this._existingAuthFailureCallback=t.gm_authFailure,t.gm_authFailure=()=>{this._existingAuthFailureCallback&&this._existingAuthFailureCallback(),this.authFailure.emit()}}}ngOnChanges(e){(e.height||e.width)&&this._setSize();let t=this.googleMap;t&&(e.options&&t.setOptions(this._combineOptions()),e.center&&this._center&&t.setCenter(this._center),e.zoom&&this._zoom!=null&&t.setZoom(this._zoom),e.mapTypeId&&this.mapTypeId&&t.setMapTypeId(this.mapTypeId)
1)}ngOnInit(){this._isBrowser&&(this._mapEl=this._elementRef.nativeElement.querySelector(".map-container"),this._setSize(),google.maps.Map?this._initialize(google.maps.Map):this._ngZone.runOutsideAngular(()=>{google.maps.importLibrary("maps").then(e=>this._initialize(e.Map))}))}_initialize(e){this._ngZone.runOutsideAngular(()=>{this.googleMap=new e(this._mapEl,this._combineOptions()),this._eventManager.setTarget(this.googleMap),this.mapInitialized.emit(this.googleMap)})}ngOnDestroy(){if(this.mapInitialized.complete(),this._eventManager.destroy(),this._isBrowser){let e=window;e.gm_authFailure=this._existingAuthFailureCallback}}fitBounds(e,t){this._assertInitialized(),this.googleMap.fitBounds(e,t)}panBy(e,t){this._assertInitialized(),this.googleMap.panBy(e,t)}panTo(e){this._assertInitialized(),this.googleMap.panTo(e)}panToBounds(e,t){this._assertInitialized(),this.googleMap.panToBounds(e,t)}getBounds(){return this._assertInitialized(),this.googleMap.getBounds()||null}getCenter(){return this._assertInitialized(),this.googleMap.getCenter()}getClickableIcons(){return this._assertInitialized(),this.googleMap.getClickableIcons()}getHeading(){return this._assertInitialized(),this.googleMap.getHeading()}getMapTypeId(){return this._assertInitialized(),this.googleMap.getMapTypeId()}getProjection(){return this._assertInitialized(),this.googleMap.getProjection()||null}getStreetView(){return this._assertInitialized(),this.googleMap.getStreetView()}getTilt(){return this._assertInitialized(),this.googleMap.getTilt()}getZoom(){return this._assertInitialized(),this.googleMap.getZoom()}get controls(){return this._assertInitialized(),this.googleMap.controls}get data(){return this._assertInitialized(),this.googleMap.data}get mapTypes(){return this._assertInitialized(),this.googleMap.mapTypes}get overlayMapTypes(){return this._assertInitialized(),this.googleMap.overlayMapTypes}_resolveMap(){return this.googleMap?Promise.resolve(this.googleMap):this.mapInitialized.pipe(V(1)).toPromise()}_setSize(){if(this._mapEl){let e=this._mapEl.style;e.height=this.height===null?"":Xe(this.height)||Ye,e.width=this.width===null?"":Xe(this.width)||Je}}_combineOptions(){let e=this._options||{};return D(x({},e),{center:this._center||e.center||G.center,zoom:this._zoom??e.zoom??G.zoom,mapTypeId:this.mapTypeId||e.mapTypeId||G.mapTypeId,mapId:this.mapId||e.mapId})}_assertInitialized(){this.googleMap}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=A({type:i,selectors:[["google-map"]],inputs:{height:"height",width:"width",mapId:"mapId",mapTypeId:"mapTypeId",center:"center",zoom:"zoom",options:"options"},outputs:{mapInitialized:"mapInitialized",authFailure:"authFailure",boundsChanged:"boundsChanged",centerChanged:"centerChanged",mapClick:"mapClick",mapDblclick:"mapDblclick",mapDrag:"mapDrag",mapDragend:"mapDragend",mapDragstart:"mapDragstart",headingChanged:"headingChanged",idle:"idle",maptypeidChanged:"maptypeidChanged",mapMousemove:"mapMousemove",mapMouseout:"mapMouseout",mapMouseover:"mapMouseover",projectionChanged:"projectionChanged",mapRightclick:"mapRightclick",tilesloaded:"tilesloaded",tiltChanged:"tiltChanged",zoomChanged:"zoomChanged"},exportAs:["googleMap"],features:[$],ngContentSelectors:tt,decls:2,vars:0,consts:[[1,"map-container"]],template:function(t,n){t&1&&(se(),Le(0,"div",0),le(1))},encapsulation:2,changeDetection:0})}return i})(),ot=/([A-Za-z%]+)$/;function Xe(i){return i==null?"":ot.test(i)?i:`${i}px`}var it=(()=>{class i{_googleMap=y(U);_elementRef=y(te);_ngZone=y(L);_eventManager=new Z(y(L));_options=new T({});_position=new T(void 0);_destroy=new N;infoWindow;set options(e){this._options.next(e||{})}set position(e){this._position.next(e)}closeclick=this._eventManager.getLazyEmitter("closeclick");contentChanged=this._eventManager.getLazyEmitter("content_changed");domready=this._eventManager.getLazyEmitter("domready");positionChanged=this._eventManager.getLazyEmitter("position_changed");zindexChanged=this._eventManager.getLazyEmitter("zindex_changed");infoWindowInitialized=new R;constructor(){}ngOnInit(){this._googleMap._isBrowser&&this._combineOptions().pipe(V(1)).subscribe(e=>{google.maps.InfoWindow?this._initialize(google.maps.InfoWindow,e):this._ngZone.runOutsideAngular(()=>{google.maps.importLibrary("maps").then(t=>{this._initialize(t.InfoWindow,e)})})})}_initialize(e,t){this._ngZone.runOutsideAngular(()=>{this.infoWindow=new e(t),this._eventManager.setTarget(this.infoWindow),this.infoWindowInitialized.emit(this.infoWindow),this._watchForOptionsChanges(),this._watchForPositionChanges()})}ngOnDestroy(){this._eventManager.destroy(),this._destroy.next(),this._destroy.complete(),this.infoWindow&&this.close()}close(){this._assertInitialized(),this.infoWindow.close()}getContent(){return this._assertInitialized(),this.infoWindow.getContent()||null}getPosition(){return this._assertInitialized(),this.infoWindow.getPosition()||null}getZIndex(){return this._assertInitialized(),this.infoWindow.getZIndex()}openAdvancedMarkerElement(e,t){this.open({getAnchor:()=>e},void 0,t)}open(e,t,n){this._assertInitialized();let o=e?e.getAnchor():void 0;(this.infoWindow.get("anchor")!==o||!o)&&(this._elementRef.nativeElement.style.display=n?"none":"",n&&this.infoWindow.setContent(n),this.infoWindow.open({map:this._googleMap.googleMap,anchor:o,shouldFocus:t}))}_combineOptions(){return K([this._options,this._position]).pipe(Q(([e,t])=>D(x({},e),{position:t||e.position,content:this._elementRef.nativeElement})))}_watchForOptionsChanges(){this._options.pipe(P(this._destroy)).subscribe(e=>{this._assertInitialized(),this.infoWindow.setOptions(e)})}_watchForPositionChanges(){this._position.pipe(P(this._destroy)).subscribe(e=>{e&&(this._assertInitialized(),this.infoWindow.setPosition(e))})}_assertInitialized(){}static \u0275fac=function(t){return new(t||i)};static \u0275dir=ne({type:i,selectors:[["map-info-window"]],hostAttrs:[2,"display","none"],inputs:{options:"options",position:"position"},outputs:{closeclick:"closeclick",contentChanged:"contentChanged",domready:"domready",positionChanged:"positionChanged",zindexChanged:"zindexChanged",infoWindowInitialized:"infoWindowInitialized"},exportAs:["mapInfoWindow"]})}return i})();var at=new ke("MAP_MARKER"),rt={position:{lat:37.421995,lng:-122.084092}},ee=(()=>{class i{_googleMap=y(U);_ngZone=y(L);_eventManager=new Z(y(L));set title(e){this._title=e}_title;set position(e){this._position=e}_position;set label(e){this._label=e}_label;set clickable(e){this._clickable=e}_clickable;set options(e){this._options=e}_options;set icon(e){this._icon=e}_icon;set visible(e){this._visible=e}_visible;animationChanged=this._eventManager.getLazyEmitter("animation_changed");mapClick=this._eventManager.getLazyEmitter("click");clickableChanged=this._eventManager.getLazyEmitter("clickable_changed");cursorChanged=this._eventManager.getLazyEmitter("cursor_changed");mapDblclick=this._eventManager.getLazyEmitter("dblclick");mapDrag=this._eventManager.getLazyEmitter("drag");mapDragend=this._eventManager.getLazyEmitter("dragend");draggableChanged=this._eventManager.getLazyEmitter("draggable_changed");mapDragstart=this._eventManager.getLazyEmitter("dragstart");flatChanged=this._eventManager.getLazyEmitter("flat_changed");iconChanged=this._eventManager.getLazyEmitter("icon_changed");mapMousedown=this._eventManager.getLazyEmitter("mousedown");mapMouseout=this._eventManager.getLazyEmitter("mouseout");mapMouseover=this._eventManager.getLazyEmitter("mouseover");mapMouseup=this._eventManager.getLazyEmitter("mouseup");positionChanged=this._eventManager.getLazyEmitter("position_changed");mapRightclick=this._eventManager.getLazyEmitter("rightclick");shapeChanged=this._eventManager.getLazyEmitter("shape_changed");titleChanged=this._eventManager.getLazyEmitter("title_changed");visibleChanged=this._eventManager.getLazyEmitter("visible_changed");zindexChanged=this._eventManager.getLazyEmitter("zindex_changed");markerInitialized=new R;marker;constructor(){}ngOnInit(){this._googleMap._isBrowser&&(google.maps.Marker&&this._googleMap.googleMap?this._initialize(this._googleMap.googleMap,google.maps.Marker):this._ngZone.runOutsideAngular(()=>{Promise.all([this._googleMap._resolveMap(),google.maps.importLibrary("marker")]).then(([e,t])=>{this._initialize(e,t.Marker)})}))}_initialize(e,t){this._ngZone.runOutsideAngular(()=>{this.marker=new t(this._combineOptions()),this._assertInitialized(),this.marker.setMap(e),this._eventManager.setTarget(this.marker),this.markerInitialized.next(this.marker)})}ngOnChanges(e){let{marker:t,_title:n,_position:o,_label:c,_clickable:g,_icon:E,_visible:F}=this;t&&(e.options&&t.setOptions(this._combineOptions()),e.title&&n!==void 0&&t.setTitle(n),e.position&&o&&t.setPosition(o),e.label&&c!==void 0&&t.setLabel(c),e.clickable&&g!==void 0&&t.setClickable(g),e.icon&&E&&t.setIcon(E),e.visible&&F!==void 0&&t.setVisible(F))}ngOnDestroy(){this.markerInitialized.complete(),this._eventManager.destroy(),this.marker?.setMap(null)}getAnimation(){return this._assertInitialized(),this.marker.getAnimation()||null}getClickable(){return this._assertInitialized(),this.marker.getClickable()}getCursor(){return this._assertInitialized(),this.marker.getCursor()||null}getDraggable(){return this._assertInitialized(),!!this.marker.getDraggable()}getIcon(){return this._assertInitialized(),this.marker.getIcon()||null}getLabel(){return this._assertInitialized(),this.marker.getLabel()||null}getOpacity(){return this._assertInitialized(),this.marker.getOpacity()||null}getPosition(){return this._assertInitialized(),this.marker.getPosition()||null}getShape(){return this._assertInitialized(),this.marker.getShape()||null}getTitle(){return this._assertInitialized(),this.marker.getTitle()||null}getVisible(){return this._assertInitialized(),this.marker.getVisible()}getZIndex(){return this._assertInitialized(),this.marker.getZIndex()||null}getAnchor(){return this._assertInitialized(),this.marker}_resolveMarker(){return this.marker?Promise.resolve(this.marker):this.markerInitialized.pipe(V(1)).toPromise()}_combineOptions(){let e=this._options||rt;return D(x({},e),{title:this._title||e.title,position:this._position||e.position,label:this._label||e.label,clickable:this._clickable??e.clickable,map:this._googleMap.googleMap,icon:this._icon||e.icon,visible:this._visible??e.visible})}_assertInitialized(){}static \u0275fac=function(t){return new(t||i)};static \u0275dir=ne({type:i,selectors:[["map-marker"]],inputs:{title:"title",position:"position",label:"label",clickable:"clickable",options:"options",icon:"icon",visible:"visible"},outputs:{animationChanged:"animationChanged",mapClick:"mapClick",clickableChanged:"clickableChanged",cursorChanged:"cursorChanged",mapDblclick:"mapDblclick",mapDrag:"mapDrag",mapDragend:"mapDragend",draggableChanged:"draggableChanged",mapDragstart:"mapDragstart",flatChanged:"flatChanged",iconChanged:"iconChanged",mapMousedown:"mapMousedown",mapMouseout:"mapMouseout",mapM
1ouseover:"mapMouseover",mapMouseup:"mapMouseup",positionChanged:"positionChanged",mapRightclick:"mapRightclick",shapeChanged:"shapeChanged",titleChanged:"titleChanged",visibleChanged:"visibleChanged",zindexChanged:"zindexChanged",markerInitialized:"markerInitialized"},exportAs:["mapMarker"],features:[Ae([{provide:at,useExisting:i}]),$]})}return i})(),st={},nt=(()=>{class i{_googleMap=y(U);_ngZone=y(L);_currentMarkers=new Set;_eventManager=new Z(y(L));_destroy=new N;_canInitialize=this._googleMap._isBrowser;ariaLabelFn=()=>"";set averageCenter(e){this._averageCenter=e}_averageCenter;batchSize;set batchSizeIE(e){this._batchSizeIE=e}_batchSizeIE;set calculator(e){this._calculator=e}_calculator;set clusterClass(e){this._clusterClass=e}_clusterClass;set enableRetinaIcons(e){this._enableRetinaIcons=e}_enableRetinaIcons;set gridSize(e){this._gridSize=e}_gridSize;set ignoreHidden(e){this._ignoreHidden=e}_ignoreHidden;set imageExtension(e){this._imageExtension=e}_imageExtension;set imagePath(e){this._imagePath=e}_imagePath;set imageSizes(e){this._imageSizes=e}_imageSizes;set maxZoom(e){this._maxZoom=e}_maxZoom;set minimumClusterSize(e){this._minimumClusterSize=e}_minimumClusterSize;set styles(e){this._styles=e}_styles;set title(e){this._title=e}_title;set zIndex(e){this._zIndex=e}_zIndex;set zoomOnClick(e){this._zoomOnClick=e}_zoomOnClick;set options(e){this._options=e}_options;clusteringbegin=this._eventManager.getLazyEmitter("clusteringbegin");clusteringend=this._eventManager.getLazyEmitter("clusteringend");clusterClick=this._eventManager.getLazyEmitter("click");_markers;markerClusterer;markerClustererInitialized=new R;constructor(){}ngOnInit(){this._canInitialize&&this._ngZone.runOutsideAngular(()=>{this._googleMap._resolveMap().then(e=>{this.markerClusterer=this._ngZone.runOutsideAngular(()=>new MarkerClusterer(e,[],this._combineOptions())),this._assertInitialized(),this._eventManager.setTarget(this.markerClusterer),this.markerClustererInitialized.emit(this.markerClusterer)})})}ngAfterContentInit(){this._canInitialize&&(this.markerClusterer?this._watchForMarkerChanges():this.markerClustererInitialized.pipe(V(1),P(this._destroy)).subscribe(()=>this._watchForMarkerChanges()))}ngOnChanges(e){let{markerClusterer:t,ariaLabelFn:n,_averageCenter:o,_batchSizeIE:c,_calculator:g,_styles:E,_clusterClass:F,_enableRetinaIcons:ge,_gridSize:pe,_ignoreHidden:he,_imageExtension:me,_imagePath:_e,_imageSizes:ue,_maxZoom:fe,_minimumClusterSize:Me,_title:Ce,_zIndex:ve,_zoomOnClick:ye}=this;t&&(e.options&&t.setOptions(this._combineOptions()),e.ariaLabelFn&&(t.ariaLabelFn=n),e.averageCenter&&o!==void 0&&t.setAverageCenter(o),e.batchSizeIE&&c!==void 0&&t.setBatchSizeIE(c),e.calculator&&g&&t.setCalculator(g),e.clusterClass&&F!==void 0&&t.setClusterClass(F),e.enableRetinaIcons&&ge!==void 0&&t.setEnableRetinaIcons(ge),e.gridSize&&pe!==void 0&&t.setGridSize(pe),e.ignoreHidden&&he!==void 0&&t.setIgnoreHidden(he),e.imageExtension&&me!==void 0&&t.setImageExtension(me),e.imagePath&&_e!==void 0&&t.setImagePath(_e),e.imageSizes&&ue&&t.setImageSizes(ue),e.maxZoom&&fe!==void 0&&t.setMaxZoom(fe),e.minimumClusterSize&&Me!==void 0&&t.setMinimumClusterSize(Me),e.styles&&E&&t.setStyles(E),e.title&&Ce!==void 0&&t.setTitle(Ce),e.zIndex&&ve!==void 0&&t.setZIndex(ve),e.zoomOnClick&&ye!==void 0&&t.setZoomOnClick(ye))}ngOnDestroy(){this._destroy.next(),this._destroy.complete(),this._eventManager.destroy(),this.markerClusterer?.setMap(null)}fitMapToMarkers(e){this._assertInitialized(),this.markerClusterer.fitMapToMarkers(e)}getAverageCenter(){return this._assertInitialized(),this.markerClusterer.getAverageCenter()}getBatchSizeIE(){return this._assertInitialized(),this.markerClusterer.getBatchSizeIE()}getCalculator(){return this._assertInitialized(),this.markerClusterer.getCalculator()}getClusterClass(){return this._assertInitialized(),this.markerClusterer.getClusterClass()}getClusters(){return this._assertInitialized(),this.markerClusterer.getClusters()}getEnableRetinaIcons(){return this._assertInitialized(),this.markerClusterer.getEnableRetinaIcons()}getGridSize(){return this._assertInitialized(),this.markerClusterer.getGridSize()}getIgnoreHidden(){return this._assertInitialized(),this.markerClusterer.getIgnoreHidden()}getImageExtension(){return this._assertInitialized(),this.markerClusterer.getImageExtension()}getImagePath(){return this._assertInitialized(),this.markerClusterer.getImagePath()}getImageSizes(){return this._assertInitialized(),this.markerClusterer.getImageSizes()}getMaxZoom(){return this._assertInitialized(),this.markerClusterer.getMaxZoom()}getMinimumClusterSize(){return this._assertInitialized(),this.markerClusterer.getMinimumClusterSize()}getStyles(){return this._assertInitialized(),this.markerClusterer.getStyles()}getTitle(){return this._assertInitialized(),this.markerClusterer.getTitle()}getTotalClusters(){return this._assertInitialized(),this.markerClusterer.getTotalClusters()}getTotalMarkers(){return this._assertInitialized(),this.markerClusterer.getTotalMarkers()}getZIndex(){return this._assertInitialized(),this.markerClusterer.getZIndex()}getZoomOnClick(){return this._assertInitialized(),this.markerClusterer.getZoomOnClick()}
1_combineOptions(){let e=this._options||st;return D(x({},e),{ariaLabelFn:this.ariaLabelFn??e.ariaLabelFn,averageCenter:this._averageCenter??e.averageCenter,batchSize:this.batchSize??e.batchSize,batchSizeIE:this._batchSizeIE??e.batchSizeIE,calculator:this._calculator??e.calculator,clusterClass:this._clusterClass??e.clusterClass,enableRetinaIcons:this._enableRetinaIcons??e.enableRetinaIcons,gridSize:this._gridSize??e.gridSize,ignoreHidden:this._ignoreHidden??e.ignoreHidden,imageExtension:this._imageExtension??e.imageExtension,imagePath:this._imagePath??e.imagePath,imageSizes:this._imageSizes??e.imageSizes,maxZoom:this._maxZoom??e.maxZoom,minimumClusterSize:this._minimumClusterSize??e.minimumClusterSize,styles:this._styles??e.styles,title:this._title??e.title,zIndex:this._zIndex??e.zIndex,zoomOnClick:this._zoomOnClick??e.zoomOnClick})}_watchForMarkerChanges(){this._assertInitialized(),this._ngZone.runOutsideAngular(()=>{this._getInternalMarkers(this._markers).then(e=>{let t=[];for(let n of e)this._currentMarkers.add(n),t.push(n);this.markerClusterer.addMarkers(t)})}),this._markers.changes.pipe(P(this._destroy)).subscribe(e=>{this._assertInitialized(),this._ngZone.runOutsideAngular(()=>{this._getInternalMarkers(e).then(t=>{let n=new Set(t),o=[],c=[];for(let g of Array.from(n))this._currentMarkers.has(g)||(this._currentMarkers.add(g),o.push(g));for(let g of Array.from(this._currentMarkers))n.has(g)||c.push(g);this.markerClusterer.addMarkers(o,!0),this.markerClusterer.removeMarkers(c,!0),this.markerClusterer.repaint();for(let g of c)this._currentMarkers.delete(g)})})})}_getInternalMarkers(e){return Promise.all(e.map(t=>t._resolveMarker()))}_assertInitialized(){}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=A({type:i,selectors:[["deprecated-map-marker-clusterer"]],contentQueries:function(t,n,o){if(t&1&&Ee(o,ee,5),t&2){let c;H(c=j())&&(n._markers=c)}},inputs:{ariaLabelFn:"ariaLabelFn",averageCenter:"averageCenter",batchSize:"batchSize",batchSizeIE:"batchSizeIE",calculator:"calculator",clusterClass:"clusterClass",enableRetinaIcons:"enableRetinaIcons",gridSize:"gridSize",ignoreHidden:"ignoreHidden",imageExtension:"imageExtension",imagePath:"imagePath",imageSizes:"imageSizes",maxZoom:"maxZoom",minimumClusterSize:"minimumClusterSize",styles:"styles",title:"title",zIndex:"zIndex",zoomOnClick:"zoomOnClick",options:"options"},outputs:{clusteringbegin:"clusteringbegin",clusteringend:"clusteringend",clusterClick:"clusterClick",markerClustererInitialized:"markerClustererInitialized"},exportAs:["mapMarkerClusterer"],features:[$],ngContentSelectors:tt,decls:1,vars:0,template:function(t,n){t&1&&(se(),le(0))},encapsulation:2,changeDetection:0})}return i})();var lt=["poiInfoWindowRef"],dt=["poiMarker"];function ct(i,s){if(i&1){let e=z();d(0,"div",6),k("mouseenter",function(){f(e);let n=r();return M(n.toggleInfoWindowHovered(!0))})("mouseleave",function(){f(e);let n=r();return M(n.toggleInfoWindowHovered(!1))}),Oe(1,7),l()}if(i&2){let e=r();a(),w("ngTemplateOutlet",e.infoWindow())("ngTemplateOutletContext",e.fullInfoWindowContext())}}function gt(i,s){i&1&&I(0,"div",4)}function pt(i,s){if(i&1){let e=z();d(0,"map-marker",11),k("mapClick",function(){let n=f(e),o=n.$implicit,c=n.$index,g=r(2);return M(g.onHotelMarkerClick(o,c))})("mapMouseover",function(){let n=f(e),o=n.$implicit,c=n.$index,g=r(2);return M(g.onHotelMarkerHover(o,c))})("mapMouseout",function(){f(e);let n=r(2);return M(n.closeHotelInfoWindow())}),l()}if(i&2){let e=s.$implicit,t=r(2);w("icon",t.getMarkerIcon(e))("position",t.getCoordsPosition(e.coordinates))}}function ht(i,s){if(i&1){let e=z();d(0,"map-marker",11,0),k("mapClick",function(){let n=f(e),o=n.$implicit,c=n.$index,g=r(2);return M(g.onPoiMarkerClick(o,c))})("mapMouseover",function(){let n=f(e),o=n.$implicit,c=n.$index,g=r(2);return M(g.onPoiMarkerHover(o,c))})("mapMouseout",function(){f(e);let n=r(2);return M(n.onPoiMarkerLeave())}),l()}if(i&2){let e=s.$implicit,t=r(2);w("icon",t.getPoiIcon(e))("position",t.getCoordsPosition(e.coordinates))}}function mt(i,s){if(i&1&&(d(0,"map-info-window",null,1)(2,"div",12)(3,"div",13),u(4),l(),d(5,"div",14),u(6),l()()()),i&2){let e,t,n=r(2);a(4),b((e=n.activePoi())==null?null:e.text),a(2),b((t=n.activePoi())==null?null:t.distance)}}
1function _t(i,s){if(i&1){let e=z();d(0,"google-map",8),k("mapClick",function(){f(e);let n=r();return M(n.onMapClick())})("boundsChanged",function(){f(e);let n=r();return M(n.onBoundsChange())})("maptypeidChanged",function(){f(e);let n=r();return M(n.changeMaxZoom())})("zoomChanged",function(){f(e);let n=r();return M(n.onZoomChange())})("mapInitialized",function(n){f(e);let o=r();return M(o.onMapInitiated(n))}),d(1,"deprecated-map-marker-clusterer",9),C(2,"layout"),C(3,"async"),ae(4,pt,1,2,"map-marker",10,oe),l(),ae(6,ht,2,2,"map-marker",10,oe),m(8,mt,7,2,"map-info-window"),l()}if(i&2){let e,t=r();w("zoom",t.zoom())("center",t.center())("width","100%")("height","100%")("options",t.mapOptions()),a(),w("styles",t.clusterStyle())("minimumClusterSize",2)("averageCenter",!0)("maxZoom",v(3,13,v(2,11,t.Layout.mobile))?16:15)("gridSize",45),a(3),re(t.markers()),a(2),re(t.pois()),a(2),_((e=t.activePoi())!=null&&e.coordinates&&t.activePoi().coordinates.lat&&t.activePoi().coordinates.lng?8:-1)}}var vi=(()=>{class i{platformId;screenMatchMediaService;translateService;markerIcon=p(void 0);markerIconActive=p(void 0);poiIcon=p(void 0);poiIconActive=p(void 0);activeMarker=p(void 0);openedMarker=p(void 0);clusterStyle=p([{url:"https://static.leonardo-hotels.com/assets/icons/map-cluster.svg",width:32,height:32,textColor:"white",textSize:16,anchorIcon:[32,16],anchorText:[5,0],fontWeight:"bold"}]);actualFitBounds=p(void 0);directionsMarkerIcons=p(void 0);Layout=J;hotelInfoHovered=p(!1);fixedInfo=p(!1);poiPinned=p(!1);directionOptions;isMapLoaded=p(!1);poisSubject=new T([]);ngOnDestroySubject=new N;mapBounds=p(void 0);markersInit=p(!1);boundsInit=p(!1);mapOptions=p({});markerAlwaysActive=h(!1);poiAlwaysActive=h(!1);markers=h([]);activePoi=ce();pois=h([],{transform:e=>(e.length>0&&this.poisSubject.next(e),e)});zoom=ce(0);zoomControl=h(!0);streetViewControl=h(!1);fitBounds=h(!0);fitPois=h(!0);center=h();showInfoWindow=h(!0);infoWindow=h();directions=h(!1);origin=h();destination=h();travelMode=h();hotelPage=h(!1);theme=h();infoWindowContext=h();mapTypeControl=h(!0);fullscreenControl=h(null);fixedZoom=h(!1);poiClick=S();hotelClick=S();map=p(void 0);poiInfoWindow;poiMarkers;recenterBtnAdded=p(!1);get latitude(){return this.center()?this.center().lat:null}get longitude(){return this.center()?this.center().lng:null}get isPlatformBrowser(){return W(this.platformId)}fullInfoWindowContext=Se(()=>({$implicit:this.infoWindowContext(),marker:this.activeMarker(),onClose:()=>{this.activeMarker.set(null),this.fixedInfo.set(!1),this.hotelInfoHovered.set(!1)}}));constructor(e,t,n){this.platformId=e,this.screenMatchMediaService=t,this.translateService=n,Ie(()=>{!this.markersInit()&&this.map()&&this.markers().length>0&&(this.map().fitBounds(this.prepareBounds(this.markers())),this.markersInit.set(!0))}),Be(this.activePoi).subscribe(o=>{o?setTimeout(()=>{let c=this.pois()?.indexOf(o),g=c>=0?this.poiMarkers.get(c):null;g&&this.openPoiInfoWindow(o,g)}):this.closePoiInfoWindow()})}isIphone=p(!1);ngOnInit(){W(this.platformId)&&(typeof navigator<"u"&&this.isIphone.set(/iPhone|iPad|iPod/i.test(navigator.userAgent)),Ke("maps").then(()=>{this.isMapLoaded.set(!0),this.markerIcon.set({url:"https://s3.eu-central-1.amazonaws.com/static.leonardo-hotels.com/images/map-cluster-one-1.png",scaledSize:new google.maps.Size(32,32)}),this.hotelPage()?this.markerIconActive.set(D(x({},this.markerIcon()),{url:this.theme()=="master"?"/assets/icons/master-pin.svg":"https://static.leonardo-hotels.com/image/lh-final-3_a8c06d0cb3c2a536a92c3d730e0c359a.png",scaledSize:new google.maps.Size(65,65)})):this.markerIconActive.set(D(x({},this.markerIcon()),{url:"https://static.leonardo-hotels.com/assets/icons/map-pointer-active.svg",scaledSize:new google.maps.Size(37,37)})),this.poiIcon.set({url:"https://static.leonardo-hotels.com/assets/icons/map-highlight-disabled.svg",scaledSize:new google.maps.Size(47,47)}),this.poiIconActive.set(D(x({},this.poiIcon()),{url:"https://static.leonardo-hotels.com/assets/icons/map-highlight-enabled.svg"})),this.directionsMarkerIcons.set({origin:{icon:x({},this.markerIconActive())}}),this.mapOptions.set({minZoom:3,maxZoom:17,scrollwheel:null,gestureHandling:this.isIphone()?"greedy":"cooperative",streetViewControl:this.streetViewControl(),zoomControl:this.zoomControl(),clickableIcons:!1,rotateControl:!0,cameraControl:!1,tilt:0,mapTypeControl:this.mapTypeControl(),fullscreenControl:this.fullscreenControl(),mapTypeControlOptions:{position:google.maps.ControlPosition.BOTTOM_CENTER},rotateControlOptions:{position:google.maps.ControlPosition.LEFT_BOTTOM}})}))}onMapInitiated(e){this.map.set(e),this.setupRecenterControl()}setupRecenterControl(){if(this.recenterBtnAdded()||!this.map()||!this.hotelPage())return;this.recenterBtnAdded.set(!0);let e=this.translateService.instant(this.theme()=="master"?"back-to-property":"back-to-hotel"),t=this.map(),n=document.createElement("button");n.type="button",n.className="map-recenter-btn",n.setAttribute("aria-label",e),n.title=e;let o=document.createElement("img");o.src="/assets/icons/map-recenter.svg",o.alt="",n.appendChild(o),n.addEventListener("click",()=>this.recenter()),t.controls[google.maps.ControlPosition.INLINE_END_BLOCK_END].push(n)}recenter(){!this.map()||!this.center()||(this.map().panTo(this.center()),this.zoom()!=null&&this.map().setZoom(this.zoom()))}onMapReady(){setTimeout(()=>{this.zoom()>0&&!this.screenMatchMediaService.isMobileDevice&&this.zoom.set(this.zoom()+1),this.fixedZoom()&&(this.zoom.set(13),this.map().setZoom(this.zoom()),this.map().setCenter(this.center()))},1e3)}ngAfterViewInit(){this.isMapLoaded()&&K([this.poisSubject.asObservable()]).pipe(P(this.ngOnDestroySubject),be([]),Q(([e])=>{let t;return this.fitPois()&&e&&e.length>0?t=this.prepareBounds(e):t=new google.maps.LatLngBounds,t})).subscribe(e=>{W(this.platformId)&&setTimeout(()=>{this.fitBounds()&&this.actualFitBounds.set(e)})})}first=p(!0);prepareBounds(e){let t;return this.mapBounds()?t=new google.maps.LatLngBounds(this.mapBounds().getSouthWest
1(),this.mapBounds().getNorthEast()):t=new google.maps.LatLngBounds,this.first()&&e&&e.length>0&&(this.first.set(!1),t=new google.maps.LatLngBounds),e.forEach(n=>{let o=new google.maps.LatLng(n.coordinates.lat,n.coordinates.lng);t.contains(o)||t.extend(o)}),this.pois()&&this.pois().forEach(n=>{let o=new google.maps.LatLng(n.coordinates.lat,n.coordinates.lng);!t.contains(o)&&n.coordinates.lat&&n.coordinates.lng&&t.extend(o)}),t}ngOnDestroy(){this.ngOnDestroySubject.next(),this.ngOnDestroySubject.complete()}onBoundsChange(){this.boundsInit()?this.mapBounds.set(this.map().getBounds()):this.boundsInit.set(!0)}onMarkerClick(e){this.fixedInfo.set(!0),this.openedMarker.set(e),this.openMarker(e)}openMarker(e){this.activeMarker.set(e),this.poiClick.emit(null),this.hotelClick.emit(this.activeMarker())}onHotelMarkerClick(e,t){this.onMarkerClick(e)}onHotelMarkerHover(e,t){this.fixedInfo()||this.openMarker(e)}closeHotelInfoWindow(){this.fixedInfo()||setTimeout(()=>{this.hotelInfoHovered()||this.activeMarker.set(null)})}onPoiClick(e){this.activePoi.set(e),this.poiClick.emit(this.activePoi()),this.hotelClick.emit(null)}onPoiMarkerClick(e,t){this.onPoiClick(e),this.poiPinned.set(!0);let n=this.poiMarkers?.get(t);n&&this.openPoiInfoWindow(e,n)}onPoiMarkerHover(e,t){if(this.poiPinned())return;let n=this.poiMarkers?.get(t);n&&this.openPoiInfoWindow(e,n)}onPoiMarkerLeave(){this.poiPinned()||this.closePoiInfoWindow()}onMapClick(){this.activeMarker.set(null),this.activePoi.set(null),this.fixedInfo.set(!1),this.poiPinned.set(!1),this.closePoiInfoWindow(),this.poiClick.emit(this.activePoi()),this.hotelClick.emit(this.activeMarker())}getMarkerIcon(e){return this.markerAlwaysActive()||e===this.activeMarker()?this.markerIconActive():this.markerIcon()}getCoordsPosition(e){return new google.maps.LatLng(e.lat,e.lng)}getPoiIcon(e){return this.poiAlwaysActive()||e===this.activeMarker()?this.poiIconActive():this.poiIcon()}openPoiInfoWindow(e,t){!this.hotelPage()||this.screenMatchMediaService.isMobileDevice||(this.activePoi.set(e),setTimeout(()=>{this.poiInfoWindow&&this.poiInfoWindow.open(t)}))}closePoiInfoWindow(){this.activePoi.set(null),this.poiInfoWindow&&this.poiInfoWindow.close()}changeMaxZoom(){let e=this.map().getMapTypeId(),t;switch(e){case google.maps.MapTypeId.SATELLITE:case google.maps.MapTypeId.HYBRID:t=18;break;default:t=17}this.map().setOptions({maxZoom:t}),this.zoom.set(Math.min(this.zoom(),t))}firstZoom=p(!0);onZoomChange(){this.setupRecenterControl(),this.firstZoom()&&this.fixedZoom()&&this.zoom()&&(this.onMapReady(),this.firstZoom.set(!1));let e=this.map().getZoom(),t;e>4?this.markerIcon.set({url:"https://static.leonardo-hotels.com/assets/icons/map-pointer.svg",scaledSize:new google.maps.Size(37,37)}):this.markerIcon.set({url:"https://s3.eu-central-1.amazonaws.com/static.leonardo-hotels.com/images/map-cluster-one-1.png",scaledSize:new google.maps.Size(32,32)}),e>=18?t=45:t=0,this.map().setTilt(t)}closeInfoWindow(){this.fixedInfo()===!1?setTimeout(()=>{this.hotelInfoHovered()||this.activeMarker.set(null)},0):this.activeMarker.set(this.openedMarker())}toggleInfoWindowHovered(e=void 0){this.hotelInfoHovered.set(e??!this.hotelInfoHovered()),this.closeInfoWindow()}static \u0275fac=function(t){return new(t||i)(O(q),O(Ne),O(We))};static \u0275cmp=A({type:i,selectors:[["app-map"]],viewQuery:function(t,n){if(t&1&&Pe(lt,5)(dt,5,ee),t&2){let o;H(o=j())&&(n.poiInfoWindow=o.first),H(o=j())&&(n.poiMarkers=o)}},inputs:{markerAlwaysActive:[1,"markerAlwaysActive"],poiAlwaysActive:[1,"poiAlwaysActive"],markers:[1,"markers"],activePoi:[1,"activePoi"],pois:[1,"pois"],zoom:[1,"zoom"],zoomControl:[1,"zoomControl"],streetViewControl:[1,"streetViewControl"],fitBounds:[1,"fitBounds"],fitPois:[1,"fitPois"],center:[1,"center"],showInfoWindow:[1,"showInfoWindow"],infoWindow:[1,"infoWindow"],directions:[1,"directions"],origin:[1,"origin"],destination:[1,"destination"],travelMode:[1,"travelMode"],hotelPage:[1,"hotelPage"],theme:[1,"theme"],infoWindowContext:[1,"infoWindowContext"],mapTypeControl:[1,"mapTypeControl"],fullscreenControl:[1,"fullscreenControl"],fixedZoom:[1,"f
1ixedZoom"]},outputs:{activePoi:"activePoiChange",zoom:"zoomChange",poiClick:"poiClick",hotelClick:"hotelClick"},decls:4,vars:3,consts:[["poiMarker",""],["poiInfoWindowRef","mapInfoWindow"],[1,"map"],[1,"map__info-window"],[1,"map__placeholder"],[1,"map__agm",3,"zoom","center","width","height","options"],[1,"map__info-window",3,"mouseenter","mouseleave"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"map__agm",3,"mapClick","boundsChanged","maptypeidChanged","zoomChanged","mapInitialized","zoom","center","width","height","options"],[3,"styles","minimumClusterSize","averageCenter","maxZoom","gridSize"],[3,"icon","position"],[3,"mapClick","mapMouseover","mapMouseout","icon","position"],[1,"poi-info-window"],[1,"poi-info-window__name"],[1,"poi-info-window__distance"]],template:function(t,n){t&1&&(d(0,"div",2),m(1,ct,2,2,"div",3),m(2,gt,1,0,"div",4),m(3,_t,9,15,"google-map",5),l()),t&2&&(a(),_(n.showInfoWindow()&&n.infoWindow()&&n.activeMarker()?1:-1),a(),_(n.isPlatformBrowser?-1:2),a(),_(n.isPlatformBrowser&&n.isMapLoaded()?3:-1))},dependencies:[Te,U,nt,ee,it,Y,X],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;flex-grow:1;height:100%;width:100%}.map[_ngcontent-%COMP%]{height:100%;width:100%;flex-grow:1;position:relative}.map__info-window[_ngcontent-%COMP%]{position:absolute;z-index:1050;inset-block-start:20px;inset-inline-start:30px}@media(min-width:992px){.map__info-window[_ngcontent-%COMP%]{z-index:1018}}.map__placeholder[_ngcontent-%COMP%], .map__agm[_ngcontent-%COMP%]{position:absolute;inset:0}@supports (-webkit-touch-callout: none){.map__placeholder[_ngcontent-%COMP%], .map__agm[_ngcontent-%COMP%]{touch-action:none;-webkit-user-select:none;-webkit-touch-callout:none}}.map__placeholder[_ngcontent-%COMP%]{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIAAQMAAADOtka5AAAABlBMVEX///////9VfPVsAAAACXBIWXMAAA7EAAAOxAGVKw4bAAACKUlEQVR4nO3WQY6UQBSA4VdiaBfIuGRBbI/AyvTCZDwKR+AGkngQr+ARKp6EeIJx1wszSL0qpqkMsYpx4+L/MoFOD/xU0wW0CAAAAAAAAAAAAAAAAAAAAAAAAAAAAID/yhf7/L3iMb3fPD+I1Mu2bh2c5nkUGUTObp2gx32/bCufnt4rdbkEr2bKC3wUadwwtgHz3f1zyAv81IHHgdM7t7xkBcwP96qIA7UGmqxA8UrHPEaBRgNVVqDcC3QHAu1eYDoQuOwEjD0Q6PYC44GA7H0EeVFgmTfdwcAYBZZ504u8fnmg1SH9Q6DW5ZGA+fp7DbipfNJldZ7WQHIqm2/zNlCM7gRW8zU/8GBsCPjp48Z8N9ZroEsGrEybgEzukLVe2nkBv40G9HwNfg93KjXQZwSaEGjd4hL2sCEwHQjo+WptHLAZgTchoIO/G/2bn33gdn38RRUCvVusN8beB4r9XfYDOtrTGAXKAwE/2rc2CqQvhVug0EAzRYH2QMB/+m6IAunHwi3gH0z9JQqkH0y3gB+tbaPAdCCghzZjvQ24Cy070LvXxToRfCBrGqxTWQ9Whi8jTOWsaRACfhpU66h9IGsahMu5WGOTW4fLOf1sdgYNlGtMv7nCB3JuJxLuSH60H/RP1jtSn97b2MJqYDvnavejaQlkfYuP96KB+3l+2vz0y9+VzTynf+edr88Doi8zAwAAAAAAAAAAAAAAAAAAAAAAAAAAAACy/AFZMWzNukXDCgAAAABJRU5ErkJggg==)}.poi-info-window[_ngcontent-%COMP%]{text-align:left;padding-top:.5rem}[dir=rtl][_nghost-%COMP%]   .poi-info-window[_ngcontent-%COMP%], [dir=rtl]   [_nghost-%COMP%]   .poi-info-window[_ngcontent-%COMP%]{text-align:right}.poi-info-window__name[_ngcontent-%COMP%]{font-weight:600;margin-bottom:.25rem}.poi-info-window__distance[_ngcontent-%COMP%]{color:#666;font-size:.9em}  .map-recenter-btn{display:flex;align-items:center;justify-content:center;width:40px;height:40px;margin-right:10px;padding:0;background:#fff;border:none;border-radius:2px;box-shadow:0 1px 4px -1px #0000004d;cursor:pointer}@media(min-width:992px){  .map-recenter-btn{margin-bottom:-10px;border-bottom:1px solid rgba(0,0,0,.1)}}  .map-recenter-btn img{width:20px;height:20px}  .gm-style-iw-c{display:flex!important;flex-direction:row-reverse!important;align-items:flex-start!important;justify-content:space-between!important;max-width:240px!important;min-width:240px!important;padding:0!important}  .gm-style-iw-c>.gm-style-iw-d{overflow:hidden!important;padding:.75rem!important;flex:1!important}  .gm-style-iw-c>button.gm-ui-hover-effect{position:static!important;flex-shrink:0;align-self:center}"],changeDetection:0})}return i})();function ut(i,s){i&1&&I(0,"app-loader-small",5)}function ft(i,s){if(i&1&&I(0,"div",6),i&2){let e=r(3);w("appGalleryCarousel",e.hotel().gallery)("withIcon",!0)}}function Mt(i,s){if(i&1&&I(0,"app-image",7),i&2){let e=r(3);w("image",e.marker().image)}}
1function Ct(i,s){if(i&1&&(d(0,"div",10)(1,"span",14),u(2),l(),d(3,"span",15),u(4),C(5,"translate"),l()()),i&2){let e,t,n=r(3);a(2),b((e=n.hotel().review)==null?null:e.score),a(2),de("(",(t=n.hotel().review)==null?null:t.count," ",v(5,3,"reviews"),")")}}function vt(i,s){if(i&1&&(d(0,"div",12),u(1),l()),i&2){let e=r(3);a(),b(e.marker().description)}}function yt(i,s){i&1&&(d(0,"div"),u(1),C(2,"translate"),l()),i&2&&(a(),b(v(2,1,"price-including-vat")))}function wt(i,s){if(i&1&&(d(0,"div",13)(1,"div",16),u(2),C(3,"translate"),l(),d(4,"div",17),I(5,"app-price",18),l(),d(6,"div"),u(7),C(8,"translate"),l(),m(9,yt,3,3,"div"),l()),i&2){let e=r(3);a(2),b(v(3,6,"from")),a(3),w("price",e.preparePrice(e.hotel().minPrice))("currencyCode",e.hotel().currencyCode)("roundPrice",!0),a(2),b(v(8,8,"per-one-night")),a(2),_(e.hotel().vatPercentage?9:-1)}}function bt(i,s){if(i&1){let e=z();d(0,"button",21),k("click",function(){f(e);let n=r(4);return M(n.openDatepicker())}),u(1),C(2,"translate"),l()}i&2&&(a(),B(" ",v(2,1,"check-rates")," "))}function zt(i,s){if(i&1){let e=z();d(0,"a",22),k("click",function(){f(e);let n=r(4);return M(n.redirect())}),u(1),C(2,"translate"),l()}if(i&2){let e=r(4);w("href",e.url,ie),a(),B(" ",v(2,2,"more-info")," ")}}function kt(i,s){if(i&1&&m(0,bt,3,3,"button",19)(1,zt,3,4,"a",20),i&2){let e=r(3);_(e.showBookNow()?0:1)}}function It(i,s){if(i&1){let e=z();d(0,"div",1)(1,"div",2)(2,"app-icon",3),k("click",function(){f(e);let n=r(2);return M(n.close())}),l()()(),d(3,"section",4),m(4,ut,1,0,"app-loader-small",5),m(5,ft,1,2,"div",6)(6,Mt,1,1,"app-image",7),d(7,"div",8)(8,"span",9),u(9),l(),m(10,Ct,6,5,"div",10),I(11,"div",11),m(12,vt,2,1,"div",12),m(13,wt,10,10,"div",13),m(14,kt,2,1),l()()}if(i&2){let e=r(2);a(4),_(e.loading()?4:-1),a(),_(!e.comingSoon()&&e.hotel()&&e.hotel().gallery.items.length?5:6),a(4),b(e.comingSoon()?e.marker().name:e.hotel().name),a(),_(!e.comingSoon()&&e.showReviews()&&e.hotel().review?10:-1),a(2),_(e.comingSoon()?12:-1),a(),_(!e.comingSoon()&&e.hotel().minPrice>0?13:-1),a(),_(e.marker().externalLink||!e.comingSoon()?14:-1)}}function xt(i,s){if(i&1&&I(0,"div",25),i&2){let e,t=r(3);w("medium",(e=t.hotel().gallery)==null||e.thumbnail==null?null:e.thumbnail.image)("isBanner",!0)}}function Dt(i,s){if(i&1&&I(0,"app-image",30),i&2){let e=r(4);w("image",e.marker().image)}}function Lt(i,s){if(i&1&&m(0,Dt,1,1,"app-image",30),i&2){let e=r(3);_(e.comingSoon()?0:-1)}}function Ot(i,s){if(i&1&&(d(0,"div",10)(1,"span",14),u(2),l(),d(3,"span",15),u(4),C(5,"translate"),l()()),i&2){let e,t,n=r(3);a(2),b((e=n.hotel().review)==null?null:e.score),a(2),de("(",(t=n.hotel().review)==null?null:t.count," ",v(5,3,"reviews"),")")}}function Et(i,s){i&1&&(d(0,"div"),u(1),C(2,"translate"),l()),i&2&&(a(),b(v(2,1,"price-including-vat")))}function Pt(i,s){if(i&1&&(d(0,"div",29)(1,"div",16),u(2),C(3,"translate"),l(),d(4,"div",31),I(5,"app-price",18),l(),d(6,"div",32),u(7),C(8,"translate"),l(),m(9,Et,3,3,"div"),l()),i&2){let e=r(3);a(2),b(v(3,6,"from")),a(3),w("price",e.preparePrice(e.hotel().minPrice))("currencyCode",e.hotel().currencyCode)("roundPrice",!0),a(2),b(v(8,8,"per-one-night")),a(2),_(e.hotel().vatPercentage?9:-1)}}function At(i,s){if(i&1&&(d(0,"div",29),u(1),l()),i&2){let e=r(3);a(),B(" ",e.marker().description," ")}}function St(i,s){if(i&1){let e=z();d(0,"button",35),k("click",function(){f(e);let n=r(4);return M(n.openDatepicker())}),u(1),C(2,"translate"),l()}i&2&&(a(),B(" ",v(2,1,"check-rates")," "))}function Tt(i,s){if(i&1){let e=z();d(0,"a",36),k("click",function(){f(e);let n=r(4);return M(n.redirect())}),u(1),C(2,"translate"),l()}if(i&2){let e=r(4);w("href",e.url,ie),a(),B(" ",v(2,2,"more-info")," ")}}function Rt(i,s){if(i&1&&m(0,St,3,3,"button",33)(1,Tt,3,4,"a",34),i&2){let e=r(3);_(e.showBookNow()?0:1)}}function Bt(i,s){if(i&1){let e=z();d(0,"div",0)(1,"div",23)(2,"app-icon",24),k("click",function(){f(e);let n=r(2);return M(n.close())}),l()(),m(3,xt,1,2,"div",25)(4,Lt,1,1),d(5,"div",26)(6,"div",27),u(7),l(),m(8,Ot,6,5,"div",10),d(9,"div",28),m(10,Pt,10,10,"div",29),m(11,At,2,1,"div",29),m(12,Rt,2,1),l()()()}if(i&2){let e=r(2);a(3),_(e.comingSoon()?4:3),a(4),b(e.comingSoon()?e.marker().name:e.hotel().name),a(),_(!e.comingSoon()&&e.showReviews()&&e.hotel().review?8:-1),a(2),_(!e.comingSoon()&&e.hotel().minPrice>0?10:-1),a(),_(e.comingSoon()?11:-1),a(),_(e.marker().externalLink||!e.comingSoon()?12:-1)}}
1function Wt(i,s){if(i&1&&(m(0,It,15,7),C(1,"layout"),C(2,"async"),De(3,Bt,13,6,"div",0)),i&2){let e=r();_(v(2,3,v(1,1,e.Layout.desktop))?0:3)}}var Fi=(()=>{class i{destinationsService;currencyService;router;datepickerMessageService;hotel=p(void 0);Layout=J;loading=p(!1);comingSoon=p(!1);marker=h.required({transform:e=>(e.slug?(this.comingSoon.set(!1),this.fetchHotel(e)):this.comingSoon.set(!0),e)});showBookNow=h(!1);showReviews=h(!1);onClose=S();onRedirect=S();onSearch=S();constructor(e,t,n,o){this.destinationsService=e,this.currencyService=t,this.router=n,this.datepickerMessageService=o}close(){this.onClose.emit()}redirect(){this.onRedirect.emit()}search(){this.destinationsService.searchModel(this.hotel().slug,"hotel").then(e=>{this.onSearch.emit(e),this.loading.set(!1),this.close()}).catch(()=>{this.loading.set(!1)})}fetchHotel(e){this.loading.set(!0),this.destinationsService.hotelPreview(e.slug).then(t=>{this.hotel.set(t),!this.hotel().review&&e.review&&(this.hotel().review=e.review),this.loading.set(!1)}).catch(()=>{this.loading.set(!1)})}preparePrice(e){return this.hotel().vatPercentage?this.currencyService.addPercentage(e,this.hotel().vatPercentage):e}get url(){return this.comingSoon()?this.marker().externalLink:this.hotel().externalLink??this.router.createUrlTree(["/",this.hotel().citySlug,this.hotel().slug]).toString()}openDatepicker(){this.datepickerMessageService.sendOpenDatepickerMessage(!1,null)}static \u0275fac=function(t){return new(t||i)(O(Ue),O(je),O(Re),O(Ge))};static \u0275cmp=A({type:i,selectors:[["app-destinations-info-window"]],hostVars:1,hostBindings:function(t,n){if(t&2){let o;xe("data-theme",(o=n.hotel())==null?null:o.theme)}},inputs:{marker:[1,"marker"],showBookNow:[1,"showBookNow"],showReviews:[1,"showReviews"]},outputs:{onClose:"onClose",onRedirect:"onRedirect",onSearch:"onSearch"},decls:1,vars:1,consts:[[1,"dest-info-window-mobile","g-0"],[1,"row","justify-content-end"],[1,"col","col-auto"],["name","close",1,"dest-info-window__close","cursor-pointer",3,"click"],[1,"card","card--shadow","dest-info-window","position-relative"],[1,"bg-white"],["sizes","350px",1,"dest-info-window__image",3,"appGalleryCarousel","withIcon"],[1,"dest-info-window__image",3,"image"],[1,"container","py-3","px-3"],[1,"dest-info-window__name","mb-3"],[1,"mt-1"],[1,"mt-3","mb-4"],[1,"dest-info-window__price-description","fs-5"],[1,"dest-info-window__price-description"],[1,"badge","text-bg-info"],[1,"mx-1"],[1,"mb-1"],[1,"dest-info-window__price"],[3,"price","currencyCode","roundPrice"],[1,"dest-info-window__btn","btn","btn-sm","btn-primary","mt-2"],["target","_blank","rel","noopener noreferrer",1,"dest-info-window__btn","btn","btn-sm","btn-primary","mt-2",3,"href"],[1,"dest-info-window__btn","btn","btn-sm","btn-primary","mt-2",3,"click"],["target","_blank","rel","noopener noreferrer",1,"dest-info-window__btn","btn","btn-sm","btn-primary","mt-2",3,"click","href"],[1,"dest-info-window-mobile__close","justify-content-end"],["name","close",1,"cursor-pointer",3,"click"],["app-background-image","","sizes","200px",3,"medium","isBanner"],[1,"col-8","col-sm-9","p-2","p-sm-3","justify-content-center","flex-column","d-flex"],[1,"dest-info-window-mobile__name"],[1,"dest-info-window-mobile__info","d-flex","justify-content-between","align-items-end","pt-1"],[1,"dest-info-window-mobile__price-description"],[3,"image"],[1,"dest-info-window-mobile__price"],[1,"text-nowrap"],[1,"dest-info-window-mobile__btn","btn","btn-sm","btn-primary"],["target","_blank","rel","noopener noreferrer",1,"dest-info-window-mobile__btn","btn","btn-sm","btn-primary",3,"href"],[1,"dest-info-window-mobile__btn","btn","btn-sm","btn-primary",3,"click"],["target","_blank","rel","noopener noreferrer",1,"dest-info-window-mobile__btn","btn","btn-sm","btn-primary",3,"click","href"]],template:function(t,n){t&1&&m(0,Wt,4,5),t&2&&_(n.hotel()||n.comingSoon()?0:-1)},dependencies:[Fe,He,qe,$e,Qe,Ve,Y,Ze,X],styles:['.dest-info-window[_ngcontent-%COMP%]{width:280px}.dest-info-window__name[_ngcontent-%COMP%]{font-weight:500;font-size:1.25rem}.dest-info-window__image[_ngcontent-%COMP%]{height:200px;width:280px}.dest-info-window__image[_ngcontent-%COMP%]     img{-o-object-fit:cover;object-fit:cover;font-family:"object-fit: cover";width:100%;height:100%}.dest-info-window__close[_ngcontent-%COMP%]   .icon__container[_ngcontent-%COMP%], .dest-info-window__close.icon__container[_ngcontent-%COMP%]{height:20px;width:20px}.dest-info-window__close[_ngcontent-%COMP%]   .icon__container[_ngcontent-%COMP%]     .icon, .dest-info-window__close.icon__container[_ngcontent-%COMP%]     .icon{height:20px;width:20px}.dest-info-window__price-description[_ngcontent-%COMP%]{color:#616677;font-size:.8125rem}.dest-info-window__price[_ngcontent-%COMP%]{color:#b5003b;font-size:1.375rem;line-height:1;font-weight:500}.dest-info-window__btn[_ngcontent-%COMP%]{min-width:170px}.dest-info-window-mobile[_ngcontent-%COMP%]{display:flex;position:fixed;bottom:0;left:0;background:#fff;width:100%}.dest-info-window-mobile__name[_ngcontent-%COMP%]{font-size:1.125rem;font-weight:500;line-height:1.25;width:calc(100% - 30px)}.dest-info-window-mobile__price-description[_ngcontent-%COMP%]{color:#616677;font-size:.8125rem;margin-inline-end:1rem}.dest-info-window-mobile__price[_ngcontent-%COMP%]{color:#b5003b;font-size:1.375rem;line-height:1;font-weight:500}.dest-info-window-mobile__close[_ngcontent-%COMP%]{position:absolute;top:0;right:0;padding:5px;z-index:1}.dest-info-window-mobile__close[_ngcontent-%COMP%]   .icon__container[_ngcontent-%COMP%], .dest-info-window-mobile__close.icon__container[_ngcontent-%COMP%]{height:20px;width:20px}.dest-info-window-mobile__close[_ngcontent-%COMP%]   .icon__container[_ngcontent-%COMP%]     .icon, .dest-info-window-mobile__close.icon__container[_ngcontent-%COMP%]     .icon{height:20px;width:20px}.dest-info-window-mobile[_ngcontent-%COMP%]     .image img{position:static;transform:none;-o-object-fit:cover;object-fit:cover;font-family:"object-fit: cover";width:100%;height:100%}[data-theme=master][_nghost-%COMP%]   .dest-info-window__price[_ngcontent-%COMP%], [data-theme=master][_nghost-%COMP%]   .dest-info-window-mobile__price[_ngcontent-%COMP%]{color:#003319}[data-theme=master][_nghost-%COMP%]   .dest-info-window__btn[_ngcontent-%COMP%], [data-theme=master][_nghost-%COMP%]   .dest-info-window-mobile__btn[_ngcontent-%COMP%]{background-color:#003319;border:0}'],changeDetection:0})}return i})();export{vi as a,Fi as b};

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.