google.maps.__gjsload__('search', function(_){var nta=function(){},cB=function(a){this.setValues(a);_.kj("search_impl")},pta=function(a){let b=_.Kl,c=-1;a.tiles.forEach(e=>{e.zoom>c&&(b=e.ki,c=e.zoom)});if(c===-1)return[];const d=[];a.av().forEach(e=>{e.a&&e.a.length>=2&&d.push(new ota(e,b,c))});return d},qta=function(a){const b=[];a.data.forEach(c=>{b.push(...pta(c))});return b};_.Ia(nta,_.Ik);var rta={["1"]:{}},ota=class{constructor(a,b,c){this.wn=b;this.zoom=c;this.bounds=this.anchor=null;this.Eg=rta;this.source=a;this.featureId=this.source.id||"0";this.infoWindowOffset=(this.source.io||[]).length===2?new google.maps.Point(this.source.io[0],this.source.io[1]):null}getAnchor(){if(!this.anchor){const a=1<{a.extendByBounds(b);return a},_.pm(0,0,0,0))}getBounds(){if(this.bounds===null){this.bounds=[];const a=this.source.bb||[];if(a.length%4===0)for(let b=0;b{d.rH(a);c&&(d=c.get("blockingLayerCount")||0,c.set("blockingLayerCount",d-1))})}; cB.enableFeatureMapEventsRasterOnly=function(a){if(_.an[15]){var b=a.__gm.Xg;if(!sta.has(a)){sta.add(a);var c=[],d=(f,g)=>{f=pta(f);f.length&&_.Fk(a,g,f)},e=()=>{for(;c.length>0;)c.pop().remove();b.forEach(f=>{if(f=f.data)c.push(_.tk(f,"insert",g=>d(g,"addfeatures"))),c.push(_.tk(f,"remove",g=>d(g,"removefeatures")))})};b.addListener("insert_at",e);b.addListener("remove_at",e);b.addListener("set_at",e);e()}(()=>{const f=[];b.forEach(g=>{f.push(...qta(g))});f.length&&_.Fk(a,"addfeatures",f)})()}}; _.Fa("module$contents$mapsapi$onionLayers$search$googleLayer_GoogleLayer.enableFeatureMapEventsRasterOnly",cB.enableFeatureMapEventsRasterOnly);_.ml(cB.prototype,{map:_.hp});_.ra.google.maps.search={GoogleLayer:cB};_.lj("search",{});});