google.maps.__gjsload__('search', function(_){var Wva=function(a){const b=[];a.data.forEach(c=>{b.push(...Vva(c))});return b},Vva=function(a){let b=_.ap,c=-1;a.tiles.forEach(e=>{e.zoom>c&&(b=e.ti,c=e.zoom)});if(c===-1)return[];const d=[];a.Bv().forEach(e=>{e.a&&e.a.length>=2&&d.push(new Xva(e,b,c))});return d},Yva=class extends _.On{};var Zva={["1"]:{}},Xva=class{constructor(a,b,c){this.Kn=b;this.zoom=c;this.bounds=this.anchor=null;this.Cg=Zva;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},_.op(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{this.setValues(b)};_.Hl("search_impl")}changed(){const a=this;var b=this.get("map");let c=null;b&&(c=b.__gm,b=Number(c.get("blockingLayerCount"))||0,c.set("blockingLayerCount",b+1),c.set("disableLabelingHysteresis",this.get("disableLabelingHysteresis")),c.set("tilePrefetchEnabled",this.get("tilePrefetchEnabled")));_.Hl("search_impl").then(d=>{d.Cg(a);c&&(d=Number(c.get("blockingLayerCount"))||0,c.set("blockingLayerCount", d-1))})}static enableFeatureMapEventsRasterOnly(a){if(_.Vq[15]){var b=a.__gm.Xg;if(!$va.has(a)){$va.add(a);var c=[],d=(f,g)=>{f=Vva(f);f.length&&_.Kn(a,g,f)},e=()=>{for(;c.length>0;)c.pop().remove();b.forEach(f=>{if(f=f.data)c.push(_.un(f,"insert",g=>{d(g,"addfeatures")})),c.push(_.un(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(...Wva(g))});f.length&&_.Kn(a,"addfeatures",f)})()}}}; BH.enableFeatureMapEventsRasterOnly=BH.enableFeatureMapEventsRasterOnly;_.qo(BH.prototype,{map:_.ot});_.pa.google.maps.search={GoogleLayer:BH};_.Il("search",{});});