google.maps.__gjsload__('search', function(_){var fza=function(a){var b=[];a.data.forEach(c=>{b.push(...eza(c))});return b},eza=function(a){var b=_.gp,c=-1;a.tiles.forEach(e=>{e.zoom>c&&(b=e.fj,c=e.zoom)});if(c===-1)return[];var d=[];a.hw().forEach(e=>{e.a&&e.a.length>=2&&d.push(new gza(e,b,c))});return d},hza=class extends _.go{};var iza={["1"]:{}},gza=class{constructor(a,b,c){this.Jo=b;this.zoom=c;this.bounds=this.anchor=null;this.mh=iza;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){let a=1<{a.extendByBounds(b);return a},_.vp(0,0,0,0))}getBounds(){if(this.bounds===null){this.bounds=[];let a=this.source.bb||[];if(a.length%4===0)for(let b=0;b{this.setValues(b)};_.Zl("search_impl")}changed(){var a=this,b=this.get("map"),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")));_.Zl("search_impl").then(d=>{d.mh(a);c&&(d=Number(c.get("blockingLayerCount"))||0,c.set("blockingLayerCount", d-1))})}static enableFeatureMapEventsRasterOnly(a){if(_.Dq[15]){var b=a.__gm.Kh;if(!jza.has(a)){jza.add(a);var c=[],d=(f,g)=>{f=eza(f);f.length&&_.bo(a,g,f)},e=()=>{for(;c.length>0;)c.pop().remove();b.forEach(f=>{if(f=f.data)c.push(_.Nn(f,"insert",g=>{d(g,"addfeatures")})),c.push(_.Nn(f,"remove",g=>{d(g,"removefeatures")}))})};b.addListener("insert_at",e);b.addListener("remove_at",e);b.addListener("set_at",e);e()}(()=>{var f=[];b.forEach(g=>{f.push(...fza(g))});f.length&&_.bo(a,"addfeatures",f)})()}}}; EH.enableFeatureMapEventsRasterOnly=EH.enableFeatureMapEventsRasterOnly;_.Io(EH.prototype,{map:_.et});_.ya.google.maps.search={GoogleLayer:EH};_.$l("search",{});});