google.maps.__gjsload__('search', function(_){var Wua=function(){},hB=function(a){this.setValues(a);_.ej("search_impl")},Yua=function(a){let b=_.Il,c=-1;a.tiles.forEach(e=>{e.zoom>c&&(b=e.mi,c=e.zoom)});if(c===-1)return[];const d=[];a.Vu().forEach(e=>{e.a&&e.a.length>=2&&d.push(new Xua(e,b,c))});return d},Zua=function(a){const b=[];a.data.forEach(c=>{b.push(...Yua(c))});return b};_.Fa(Wua,_.Gk);var $ua={["1"]:{}},Xua=class{constructor(a,b,c){this.qn=b;this.zoom=c;this.bounds=this.anchor=null;this.Eg=$ua;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},_.jm(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.lH(a);c&&(d=c.get("blockingLayerCount")||0,c.set("blockingLayerCount",d-1))})}; hB.enableFeatureMapEventsRasterOnly=function(a){if(_.Wm[15]){var b=a.__gm.Xg;if(!ava.has(a)){ava.add(a);var c=[],d=(f,g)=>{f=Yua(f);f.length&&_.Dk(a,g,f)},e=()=>{for(;c.length>0;)c.pop().remove();b.forEach(f=>{if(f=f.data)c.push(_.rk(f,"insert",g=>d(g,"addfeatures"))),c.push(_.rk(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(...Zua(g))});f.length&&_.Dk(a,"addfeatures",f)})()}}; _.Da("module$contents$mapsapi$onionLayers$search$googleLayer_GoogleLayer.enableFeatureMapEventsRasterOnly",hB.enableFeatureMapEventsRasterOnly);_.el(hB.prototype,{map:_.bp});_.la.google.maps.search={GoogleLayer:hB};_.fj("search",{});});