1function initMap(){console.log("Google API Loaded")}jQuery(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/premium-addon-maps.default",function(I,x){var e,z,M=null,m=I.find(".premium_maps_map_height"),n=getComputedStyle(I[0]),d=m.data("settings"),o=m.data("style"),L=[],O=[];function t(h,e,n){var o=e.scrollwheel,t=e.streetViewControl,a=e.fullScreen,r=e.zoomControl,i=e.typeControl,l=JSON.parse(e.centerlat),s=JSON.parse(e.centerlong),w=e.automaticOpen,k=e.hoverOpen,y=e.hoverClose,C={mapId:e.mapId||"",zoom:e.zoom,mapTypeId:e.maptype,center:{lat:l,lng:s},scrollwheel:o,streetViewControl:t,fullscreenControl:a,zoomControl:r,mapTypeControl:i},l=(!C.mapId&&n&&(C.styles=n),"yes"===d.drag&&(C.gestureHandling="none"),h.find(".premium-pin")),h=new google.maps.Map(h[0],C);return m.removeClass("premium-addons__v-hidden"),h.markers=[],M=e.linkedCarouselId?x("#"+e.linkedCarouselId+" .premium-carousel-wrapper"):[],l.each(function(e){var n,o,t,a,r=jQuery(this),i=h,l=w,s=k,m=y,d=C.mapId,p=new google.maps.LatLng(r.data("lat"),r.data("lng")),c=r.data("icon"),u=r.data("max-width"),g=r.data("id"),f=r.data("activated"),v=parseInt(r.data("icon-size"));o=d?(c&&(a=document.createElement("div"),(d=document.createElement("img")).src=c,d.width=v||50,d.height=v||50,d.style.display="block",d.alt="",a.appendChild(d)),new google.maps.marker.AdvancedMarkerElement({position:p,map:i,zIndex:e,content:a})):(c&&(n={url:c},v)&&(n.scaledSize=new google.maps.Size(v,v),n.origin=new google.maps.Point(0,0),n.anchor=new google.maps.Point(v/2,v)),new google.maps.Marker({position:p,map:i,icon:n,zIndex:e})),g&&google.maps.event.addListener(o,"click",function(){var e;0<M.length&&(e=M.data("settings")).navigation&&-1!=e.navigation.indexOf("#"+g)&&(e=e.navigation.indexOf("#"+g),M.find(".premium-carousel-inner").slick("slickGoTo",e))}),(r.find(".premium-maps-info-title").html()||r.find(".premium-maps-info-desc").html())&&(t=new google.maps.InfoWindow({maxWidth:u,content:r.html()}),(l||f)&&t.open(i,o),s&&(d=(()=>{var e=elementorFrontend.getCurrentDeviceMode();return!["desktop","widescreen","laptop"].includes(e)})(),a=d?"click":"mouseover",google.maps.event.addListener(o,a,function(){z&&z.close(),(z=t).open(i,o)}),m)&&!d&&google.maps.event.addListener(o,"mouseout",function(){t.close(i,o)}),google.maps.event.addListener(o,"click",function(){var e;z&&z.close(),g&&M.length&&(e=M.data("settings")).navigation&&-1!=e.navigation.indexOf("#"+g)&&(e=e.navigation.indexOf("#"+g),M.find(".premium-carousel-inner").slick("slickGoTo",e)),(z=t).open(i,o)}),t.addListener("visible",function(){0<r.find(".advanced-pin").length&&x(".gm-ui-hover-effect").remove(),I.find(".premium-maps-info-close").on("click",function(){t.close(i,o)})}),0<M.length)&&O.push(t),i.markers.push(o),L.push(o)}),0<M.length&&M.find(".premium-carousel-inner").on("afterChange",function(e,n,o){O.map(function(e,n){e.close()}),O[o]&&O[o].open(h,h.markers[o])}),d.cluster&&window.markerClusterer&&C.mapId&&new markerClusterer.MarkerClusterer({map:h,markers:L,renderer:{render:function(e){var n=e.count,e=e.position,o=document.createElement("div"),t=d.cluster_icon_size||50,a=d.cluster_icon||"https://developers.google.com/maps/documentation/javascript/examples/markerclusterer/m1.png";return o.innerHTML='<img src="'+a+'" width="'+t+'" height="'+t+'" style="position: absolute; transform: translate(-50%, -50%);"><div style="position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); color: white; font-weight: bold; font-size: 11px;">'+n+"</div>",new google.maps.marker.AdvancedMarkerElement({position:e,content:o})}}}),h}d&&(d.zoom=parseFloat(n.getPropertyValue("--pa-map-zoom")),e=setInterval(function(){"undefined"!=typeof google&&void 0!==google.maps&&"function"==typeof google.maps.Map&&(clearInterval(e),setTimeout(function(){var e,n;d.loadScroll?(e=I.closest(".elementor-top-section, .e-con"),(n=new IntersectionObserver(function(e){e.forEach(function(e){e.isIntersecting&&(premiumMap=t(m,d,o),n.unobserve(e.target))})},{rootMargin:"-70% 0px 0px 0px"})).observe(e[0])):premiumMap=t(m,d,o)},150))},100),z=null)})});
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.