google.maps.__gjsload__('overlay', function(_){var eu=function(a){this.g=a},Ala=function(){},fu=function(a){a.Fp=a.Fp||new Ala;return a.Fp},Bla=function(a){this.Oa=new _.bi(function(){var b=a.Fp;if(a.getPanes()){if(a.getProjection()){if(!b.Bo&&a.onAdd)a.onAdd();b.Bo=!0;a.draw()}}else{if(b.Bo)if(a.onRemove)a.onRemove();else a.remove();b.Bo=!1}},0)},Cla=function(a,b){function c(){return _.ci(e.Oa)}var d=fu(a),e=d.jn;e||(e=d.jn=new Bla(a));_.rb(d.fb||[],_.K.removeListener);var f=d.eb=d.eb||new _.gs,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.vt=d.vt||new eu(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.fb=[_.K.addListener(a,"panes_changed",c),_.K.addListener(g,"zoom_changed",c),_.K.addListener(g,"offset_changed",c),_.K.addListener(b,"projection_changed",c),_.K.addListener(g,"projectioncenterq_changed",c)];c();b instanceof
_.of&&(_.O(b,"Ox"),_.N(b,148440))},Gla=function(a){if(a){var b=a.getMap();if(Dla(a)!==b&&b&&b instanceof _.of){var c=b.__gm;c.overlayLayer?a.__gmop=new Ela(b,a,c.overlayLayer):c.g.then(function(d){d=d.Pa;var e=new gu(b,d);d.nb(e);c.overlayLayer=e;Fla(a);Gla(a)})}}},Fla=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.rg(b),b.h&&(b.h=!1,b.g.onRemove?b.g.onRemove():b.g.remove()))}},Dla=function(a){return(a=a.__gmop)?a.map:null},
Ela=function(a,b,c){this.map=a;this.g=b;this.j=c;this.h=!1;_.O(this.map,"Ox");_.N(this.map,148440);c.Bf(this)},Hla=function(a,b){a.g.get("projection")!=b&&(a.g.bindTo("panes",a.map.__gm),a.g.set("projection",b))},gu=function(a,b){this.m=a;this.j=b;this.g=null;this.h=[]};_.D(eu,_.L);
eu.prototype.changed=function(a){"outProjection"!=a&&(a=!!(this.get("offset")&&this.get("projectionTopLeft")&&this.get("projection")&&_.ge(this.get("zoom"))),a==!this.get("outProjection")&&this.set("outProjection",a?this.g:null))};var hu={};_.D(Bla,_.L);hu.Bf=function(a){if(a){var b=a.getMap();(fu(a).Zs||null)!==b&&(b&&Cla(a,b),fu(a).Zs=b)}};hu.rg=function(a){var b=fu(a),c=b.eb;c&&c.unbindAll();(c=b.vt)&&c.unbindAll();a.unbindAll();a.set("panes",null);a.set("projection",null);b.fb&&_.rb(b.fb,_.K.removeListener);b.fb=null;b.jn&&(b.jn.Oa.Sd(),b.jn=null);delete fu(a).Zs};var iu={};Ela.prototype.draw=function(){this.h||(this.h=!0,this.g.onAdd&&this.g.onAdd());this.g.draw&&this.g.draw()};gu.prototype.dispose=function(){};gu.prototype.Qc=function(a,b,c,d,e,f,g,h){var k=this.g=this.g||new _.Mp(this.m,this.j,function(){});k.Qc(a,b,c,d,e,f,g,h);a=_.A(this.h);for(b=a.next();!b.done;b=a.next())b=b.value,Hla(b,k),b.draw()};gu.prototype.Bf=function(a){this.h.push(a);this.g&&Hla(a,this.g);this.j.refresh()};gu.prototype.rg=function(a){_.xb(this.h,a)};iu.Bf=Gla;iu.rg=Fla;_.Xe("overlay",{Tq:function(a){if(a){(0,hu.rg)(a);(0,iu.rg)(a);var b=a.getMap();b&&(b instanceof _.of?(0,iu.Bf)(a):(0,hu.Bf)(a))}},preventMapHitsFrom:function(a){_.tq(a,{onClick:function(b){_.vl(b.event.Ya)},Bd:function(b){return _.Tp(b)},xi:function(b){return _.Up(b)},oe:function(b){return _.Up(b)},Hd:function(b){return _.Vp(b)}}).tj(!0)},preventMapHitsAndGesturesFrom:function(a){a.addEventListener("click",_.af);a.addEventListener("contextmenu",_.af);a.addEventListener("dblclick",_.af);a.addEventListener("mousedown",
_.af);a.addEventListener("mousemove",_.af);a.addEventListener("MSPointerDown",_.af);a.addEventListener("pointerdown",_.af);a.addEventListener("touchstart",_.af);a.addEventListener("wheel",_.af)}});});
