google.maps.__gjsload__('overlay', function(_){var Ky=function(a){this.g=a},Loa=function(){},Ly=function(a){a.Rq=a.Rq||new Loa;return a.Rq},Moa=function(a){this.Ca=new _.Ji(function(){var b=a.Rq;if(a.getPanes()){if(a.getProjection()){if(!b.mp&&a.onAdd)a.onAdd();b.mp=!0;a.draw()}}else{if(b.mp)if(a.onRemove)a.onRemove();else a.remove();b.mp=!1}},0)},Noa=function(a,b){function c(){return _.Ki(e.Ca)}var d=Ly(a),e=d.bo;e||(e=d.bo=new Moa(a));_.pb(d.Pa||[],_.hf);var f=d.Xa=d.Xa||new _.lw,g=b.__gm;f.bindTo("zoom",g);f.bindTo("offset",g);f.bindTo("center", g,"projectionCenterQ");f.bindTo("projection",b);f.bindTo("projectionTopLeft",g);f=d.Nv=d.Nv||new Ky(f);f.bindTo("zoom",g);f.bindTo("offset",g);f.bindTo("projection",b);f.bindTo("projectionTopLeft",g);a.bindTo("projection",f,"outProjection");a.bindTo("panes",g);d.Pa=[_.M(a,"panes_changed",c),_.M(g,"zoom_changed",c),_.M(g,"offset_changed",c),_.M(b,"projection_changed",c),_.M(g,"projectioncenterq_changed",c)];c();b instanceof _.Bf?(_.Q(b,"Ox"),_.P(b,148440)):b instanceof _.jh&&(_.Q(b,"Oxs"),_.P(b,181451))}, Roa=function(a){if(a){var b=a.getMap();if(Ooa(a)!==b&&b&&b instanceof _.Bf){var c=b.__gm;c.overlayLayer?a.__gmop=new Poa(b,a,c.overlayLayer):c.h.then(function(d){d=d.la;var e=new My(b,d);d.vb(e);c.overlayLayer=e;Qoa(a);Roa(a)})}}},Qoa=function(a){if(a){var b=a.__gmop;b&&(a.__gmop=null,b.g.unbindAll(),b.g.set("panes",null),b.g.set("projection",null),b.j.Gd(b),b.h&&(b.h=!1,b.g.onRemove?b.g.onRemove():b.g.remove()))}},Ooa=function(a){return(a=a.__gmop)?a.map:null},Poa=function(a,b,c){this.map=a;this.g= b;this.j=c;this.h=!1;_.Q(this.map,"Ox");_.P(this.map,148440);c.pd(this)},Soa=function(a,b){a.g.get("projection")!=b&&(a.g.bindTo("panes",a.map.__gm),a.g.set("projection",b))},My=function(a,b){this.o=a;this.j=b;this.g=null;this.h=[]};_.Va(Ky,_.O);Ky.prototype.changed=function(a){"outProjection"!=a&&(a=!!(this.get("offset")&&this.get("projectionTopLeft")&&this.get("projection")&&_.Yd(this.get("zoom"))),a==!this.get("outProjection")&&this.set("outProjection",a?this.g:null))};var Ny={};_.Va(Moa,_.O);Ny.pd=function(a){if(a){var b=a.getMap();(Ly(a).vv||null)!==b&&(b&&Noa(a,b),Ly(a).vv=b)}};Ny.Gd=function(a){var b=Ly(a),c=b.Xa;c&&c.unbindAll();(c=b.Nv)&&c.unbindAll();a.unbindAll();a.set("panes",null);a.set("projection",null);b.Pa&&_.pb(b.Pa,_.hf);b.Pa=null;b.bo&&(b.bo.Ca.xc(),b.bo=null);delete Ly(a).vv};var Oy={};Poa.prototype.draw=function(){this.h||(this.h=!0,this.g.onAdd&&this.g.onAdd());this.g.draw&&this.g.draw()};My.prototype.dispose=function(){};My.prototype.Kb=function(a,b,c,d,e,f,g,h){var k=this.g=this.g||new _.or(this.o,this.j,function(){});k.Kb(a,b,c,d,e,f,g,h);a=_.A(this.h);for(b=a.next();!b.done;b=a.next())b=b.value,Soa(b,k),b.draw()};My.prototype.pd=function(a){this.h.push(a);this.g&&Soa(a,this.g);this.j.refresh()};My.prototype.Gd=function(a){_.sb(this.h,a)};Oy.pd=Roa;Oy.Gd=Qoa;_.Ve("overlay",{Js:function(a){if(a){(0,Ny.Gd)(a);(0,Oy.Gd)(a);var b=a.getMap();b&&(b instanceof _.Bf?(0,Oy.pd)(a):(0,Ny.pd)(a))}},preventMapHitsFrom:function(a){_.Rr(a,{Ad:function(b){_.mn(b.event.Fa)},yc:function(b){return _.wr(b)},Nh:function(b){return _.xr(b)},gd:function(b){return _.xr(b)},Ec:function(b){return _.yr(b)}}).bj(!0)},preventMapHitsAndGesturesFrom:function(a){a.addEventListener("click",_.df);a.addEventListener("contextmenu",_.df);a.addEventListener("dblclick",_.df);a.addEventListener("mousedown", _.df);a.addEventListener("mousemove",_.df);a.addEventListener("MSPointerDown",_.df);a.addEventListener("pointerdown",_.df);a.addEventListener("touchstart",_.df);a.addEventListener("wheel",_.df)}});});