text: "function"==typeof jQuery&&jQuery(document).ready(function(o){var t,a,i,r,p,d;function s(){!1!==p?(a=new google.maps.LatLng(p[0],p[1]),g()):(new google.maps.Geocoder).geocode({address:r},function(e,n){n==google.maps.GeocoderStatus.OK&&(a=e[0].geometry.location,g())})}function g(){var e={zoom:parseInt(tribeEventsSingleMap.zoom),center:a,mapTypeId:google.maps.MapTypeId.ROADMAP};i.map=new google.maps.Map(t,e);var n={map:i.map,title:d,position:a};o("body").trigger("map-created.tribe",[i.map,t,e]),"undefined"!==tribeEventsSingleMap.pin_url&&tribeEventsSingleMap.pin_url&&(n.icon=tribeEventsSingleMap.pin_url),new google.maps.Marker(n)}"undefined"!=typeof tribeEventsSingleMap&&o.each(tribeEventsSingleMap.addresses,function(e,n){null!==(t=document.getElementById("tribe-events-gmap-"+e))&&(i=void 0!==n?n:{},r=void 0!==n.address&&n.address,p=void 0!==n.coords&&n.coords,d=n.title,s())})});