google.maps.__gjsload__('search', function(_){var bva=function(){},nB=function(a){this.setValues(a);_.Yi("search_impl")},dva=function(a){let b=_.Bl,c=-1;a.tiles.forEach(e=>{e.zoom>c&&(b=e.ni,c=e.zoom)});if(c===-1)return[];const d=[];a.Zu().forEach(e=>{e.a&&e.a.length>=2&&d.push(new cva(e,b,c))});return d},eva=function(a){const b=[];a.data.forEach(c=>{b.push(...dva(c))});return b};_.Ea(bva,_.xk);var fva={["1"]:{}},cva=class{constructor(a,b,c){this.sn=b;this.zoom=c;this.bounds=this.anchor=null;this.Eg=fva;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},_.em(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.Eg(a);c&&(d=c.get("blockingLayerCount")||0,c.set("blockingLayerCount",d-1))})}; nB.enableFeatureMapEventsRasterOnly=function(a){if(_.Rm[15]){var b=a.__gm.Xg;if(!gva.has(a)){gva.add(a);var c=[],d=(f,g)=>{f=dva(f);f.length&&_.P(a,g,f)},e=()=>{for(;c.length>0;)c.pop().remove();b.forEach(f=>{if(f=f.data)c.push(_.jk(f,"insert",g=>d(g,"addfeatures"))),c.push(_.jk(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(...eva(g))});f.length&&_.P(a,"addfeatures",f)})()}}; _.ya("module$contents$mapsapi$onionLayers$search$googleLayer_GoogleLayer.enableFeatureMapEventsRasterOnly",nB.enableFeatureMapEventsRasterOnly);_.Xk(nB.prototype,{map:_.Yo});_.ja.google.maps.search={GoogleLayer:nB};_.Zi("search",{});});