(function(a){function b(d){if(c[d])return c[d].exports;var e=c[d]={i:d,l:!1,exports:{}};return a[d].call(e.exports,e,e.exports,b),e.l=!0,e.exports}var c={};return b.m=a,b.c=c,b.d=function(a,c,d){b.o(a,c)||Object.defineProperty(a,c,{configurable:!1,enumerable:!0,get:d})},b.n=function(a){var c=a&&a.__esModule?function(){return a['default']}:function(){return a};return b.d(c,'a',c),c},b.o=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)},b.p='',b(b.s=4)})({4:function(){function a(a){return`<div class="gutentor-map-overview"><h6 class="gutentor-map-overview-title">${a.title}</h6><div class="gutentor-map-overview-content">${a.description?`<p>${a.description}</p>`:''}</div></div>`}window.initMapScript=()=>{let b=[];b=window.gutentorGoogleMaps,b&&b.forEach((b)=>{const c=new google.maps.Map(document.getElementById(b.container),{center:{lat:+b.attributes.latitude,lng:+b.attributes.longitude},gestureHandling:'cooperative',zoom:b.attributes.zoom,mapTypeId:b.attributes.type,draggable:b.attributes.draggable,mapTypeControl:b.attributes.mapTypeControl,zoomControl:b.attributes.zoomControl,fullscreenControl:b.attributes.fullscreenControl,streetViewControl:b.attributes.streetViewControl});if(!b.attributes.id&&b.attributes.location){const a={query:b.attributes.location,fields:['name','geometry']},d=new google.maps.places.PlacesService(c);d.findPlaceFromQuery(a,(a,b)=>{b===google.maps.places.PlacesServiceStatus.OK&&0<a.length&&c.setCenter(a[0].geometry.location)})}b.attributes.markers&&0<b.attributes.markers.length&&b.attributes.markers.forEach((b)=>{let d=b.hasOwnProperty('e4Lat')?new google.maps.LatLng(b.e4Lat,b.e4Lon):new google.maps.LatLng(b.latitude,b.longitude);const e=new google.maps.Marker({position:d,map:c,title:b.title});(b.title||b.description)&&(!window.infoWindow&&(window.infoWindow=new google.maps.InfoWindow),e.addListener('click',()=>{window.infoWindow&&(window.infoWindow.setContent(a(b)),window.infoWindow.open(c,e))}))})})}}});