!function(){var t={793:function(){var t=function(t,e){if(window.google){var i=e("#"+t.find(".ekit-google-map").attr("id")),n=i.data("id"),o=i.data("api_key"),s=i.data("map_type"),r=i.data("map_address_type"),a=i.data("map_lat")||23.7808875,h=i.data("map_lng")||90.2792373,l=i.data("map_addr"),c=i.data("map_basic_marker_title"),u=i.data("map_basic_marker_content"),d=i.data("map_basic_marker_icon_enable"),f=i.data("map_basic_marker_icon"),p=i.data("map_basic_marker_icon_width"),m=i.data("map_basic_marker_icon_height"),g=i.data("map_zoom")||14,v=i.data("map_markers"),y=i.data("map_static_width"),_=i.data("map_static_height"),w=i.data("map_polylines"),b=i.data("map_stroke_color"),x=i.data("map_stroke_opacity"),E=i.data("map_stroke_weight"),C=i.data("map_stroke_fill_color"),S=i.data("map_stroke_fill_opacity"),I=i.data("map_overlay_content"),T=i.data("map_routes_origin_lat"),k=i.data("map_routes_origin_lng"),z=i.data("map_routes_dest_lat"),L=i.data("map_routes_dest_lng"),O=i.data("map_routes_travel_mode"),P=i.data("map_panorama_lat"),M=i.data("map_panorama_lng"),W=JSON.parse(decodeURIComponent((i.data("map_theme")+"").replace(/\+/g,"%20"))),D=i.data("map_streeview_control"),R=i.data("map_type_control"),A=i.data("map_zoom_control"),F=i.data("map_fullscreen_control"),B=i.data("map_scroll_zoom"),j={};if("static"!==s&&(j=new GMaps({el:"#ekit-google-map-"+n,lat:a,lng:h,zoom:g,streetViewControl:D,mapTypeControl:R,zoomControl:A,fullscreenControl:F,scrollwheel:B})),""!=W&&(j.addStyle({styledMapName:"Styled Map",styles:JSON.parse(W),mapTypeId:"map_style"}),j.setStyle("map_style")),"basic"==s){var N=""!=u?{content:u}:"";if("yes"==d)var Y={url:f,scaledSize:new google.maps.Size(p,m)};else Y=null;"address"==r?GMaps.geocode({address:l,callback:function(t,e){if("OK"==e){var i=t[0].geometry.location;j.setCenter(i.lat()||0,i.lng()||0),j.addMarker({lat:i.lat(),lng:i.lng(),title:c,infoWindow:N,icon:Y})}}}):"coordinates"==r&&j.addMarker({lat:a,lng:h,title:c,infoWindow:N,icon:Y})}if("marker"==s)if((X=JSON.parse(decodeURIComponent((v+"").replace(/\+/g,"%20")))).length>0){var H=new GMaps({el:"#ekit-google-map-"+n,lat:X[0].map_marker_lat,lng:X[0].map_marker_lng,zoom:g,streetViewControl:D,mapTypeControl:R,zoomControl:A,fullscreenControl:F,scrollwheel:B});H.setCenter(X[0].map_marker_lat||0,X[0].map_marker_lng||0),""!=W&&(H.addStyle({styledMapName:"Styled Map",styles:JSON.parse(W),mapTypeId:"map_style"}),H.setStyle("map_style")),X.forEach((function(t){if(""!=t.map_marker_content)var e={content:t.map_marker_content};else e="";if("yes"==t.map_marker_icon_enable)var i={url:t.map_marker_icon.url,scaledSize:new google.maps.Size(t.map_marker_icon_width,t.map_marker_icon_height)};else i="";H.addMarker({lat:parseFloat(t.map_marker_lat),lng:parseFloat(t.map_marker_lng),title:t.map_marker_title,infoWindow:e,icon:i})}))}if("static"==s){var X=JSON.parse(decodeURIComponent((v+"").replace(/\+/g,"%20"))),Q=[];X.length>0&&X.forEach((function(t){Q.push({lat:parseFloat(t.map_marker_lat),lng:parseFloat(t.map_marker_lng),color:t.ekit_google_map_marker_icon_color})}));var q=GMaps.staticMapURL({zoom:g,size:[y,_],markers:Q});e("").attr({width:y,height:_,src:q+"&key="+o}).appendTo("#ekit-google-map-"+n)}if("polyline"==s){var G=JSON.parse(decodeURIComponent((w+"").replace(/\+/g,"%20"))),X=JSON.parse(decodeURIComponent((v+"").replace(/\+/g,"%20"))),U=[];G.forEach((function(t){U.push([parseFloat(t.map_polyline_lat),parseFloat(t.map_polyline_lng)])}));var $=JSON.parse(JSON.stringify(U));j.drawPolyline({path:$,strokeColor:b.toString(),strokeOpacity:x,strokeWeight:E}),X.forEach((function(t){if(""!=t.map_marker_content)var e={content:t.map_marker_content};else e="";if("yes"==t.map_marker_icon_enable)var i={url:t.map_marker_icon.url,scaledSize:new google.maps.Size(t.map_marker_icon_width,t.map_marker_icon_height)};else i="";j.addMarker({lat:t.map_marker_lat,lng:t.map_marker_lng,title:t.map_marker_title,infoWindow:e,icon:i})})),""!=W&&(j.addStyle({styledMapName:"Styled Map",styles:JSON.parse(W),mapTypeId:"polyline_map_style"}),j.setStyle("polyline_map_style"))}if("polygon"==s){X=JSON.parse(decodeURIComponent((w+"").replace(/\+/g,"%20")));var J=[];X.forEach((function(t){J.push([parseFloat(t.map_polyline_lat),parseFloat(t.map_polyline_lng)])}));$=JSON.parse(JSON.stringify(J));j.drawPolygon({paths:$,strokeColor:b.toString(),strokeOpacity:x,strokeWeight:E,fillColor:C.toString(),fillOpacity:S})}if("overlay"==s){if(""!=I)var K='
'+I+"
";else K="";j.drawOverlay({lat:a,lng:h,content:K})}if("routes"==s)j.drawRoute({origin:[T,k],destination:[z,L],travelMode:O.toString(),strokeColor:b.toString(),strokeOpacity:x,strokeWeight:E}),(X=JSON.parse(decodeURIComponent((v+"").replace(/\+/g,"%20")))).length>0&&X.forEach((function(t){if(""!=t.map_marker_content)var e={content:t.map_marker_content};else e="";if("yes"==t.map_marker_icon_enable)var i={url:t.map_marker_icon.url,scaledSize:new google.maps.Size(t.map_marker_icon_width,t.map_marker_icon_height)};else i="";j.addMarker({lat:t.map_marker_lat,lng:t.map_marker_lng,title:t.map_marker_title,infoWindow:e,icon:i})}));if("panorama"==s)GMaps.createPanorama({el:"#ekit-google-map-"+n,lat:P,lng:M})}};jQuery(window).on("elementor/frontend/init",(function(){elementorFrontend.hooks.addAction("frontend/element_ready/elementskit-google-map.default",t)}))},412:function(t,e,i){var n,o,s,r;function a(t){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},a(t)}"undefined" /*! * imagesLoaded PACKAGED v4.1.4 * JavaScript is all like "You images are done yet or what?" * MIT License */ !=typeof window&&window,"function"==typeof(o=function(){function t(){}var e=t.prototype;return e.on=function(t,e){if(t&&e){var i=this._events=this._events||{},n=i[t]=i[t]||[];return-1==n.indexOf(e)&&n.push(e),this}},e.once=function(t,e){if(t&&e){this.on(t,e);var i=this._onceEvents=this._onceEvents||{};return(i[t]=i[t]||{})[e]=!0,this}},e.off=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){var n=i.indexOf(e);return-1!=n&&i.splice(n,1),this}},e.emitEvent=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){i=i.slice(0),e=e||[];for(var n=this._onceEvents&&this._onceEvents[t],o=0;o