google.maps.__gjsload__('marker', function(_){var aVa=function(a,b){const c=_.Da(b);a.Eg.set(c,b);_.zq(a.Fg)},bVa=function(a,b){if(a.Fg.has(b)){_.In(b,"UPDATE_BASEMAP_COLLISION");_.In(b,"UPDATE_MARKER_COLLISION");_.In(b,"REMOVE_COLLISION");a.Fg.delete(b);var c=a.Gg;const d=_.Da(b);c.Eg.has(d)&&(c.Eg.delete(d),b.oo=null,_.zq(c.Fg));_.oca(a.Eg,b)}},cVa=function(a,b){a.Fg.has(b)||(a.Fg.add(b),_.En(b,"UPDATE_BASEMAP_COLLISION",()=>{a.Hg.add(b);a.Ig.up()}),_.En(b,"UPDATE_MARKER_COLLISION",()=>{a.Ig.up()}),_.En(b,"REMOVE_COLLISION",()=>{bVa(a,b)}), aVa(a.Gg,b),_.nca(a.Eg,b))},dVa=function(a){return`${_.Jm(a)}-internal-${a}`},eVa=function(a,b){b=(a=a.__e3_)&&a[b];return!!b&&Object.values(b).some(c=>c.EC)},fVa=function(a,b,c){return new _.Dn(a,`${b}${"_removed"}`,c,0,!1)},gVa=function(a,b,c){return new _.Dn(a,`${b}${"_added"}`,c,0,!1)},CR=function(a){return a?_.nr.has(a)?_.nr.get(a):a instanceof ShadowRoot?CR(a.host):CR(a.parentNode):null},hVa=function(a){var b=1;return()=>{--b||a()}},DR=function(a){return a instanceof _.lC},ER=function(a){return DR(a)? a.getSize():a.size},iVa=function(a,b){if(!(a&&b&&a.isConnected&&b.isConnected))return!1;a=a.getBoundingClientRect();b=b.getBoundingClientRect();return b.x+b.widtha.x+a.width+0||b.y+b.heighta.y+a.height+0?!1:!0},jVa=function(a,b){_.RI().Eg.load(new _.qL(a),c=>{b(c&&c.size)})},kVa=function(a,b){a=a.getBoundingClientRect();b=b instanceof Element?b.getBoundingClientRect():a;return{offset:new _.Go(b.x-a.x,b.y-a.y),size:new _.Ko(b.width,b.height)}},FR=function(a){a=new DOMMatrixReadOnly(a.transform); return{offsetX:a.m41,offsetY:a.m42}},GR=function(a){const b=window.devicePixelRatio||1;return Math.round(a*b)/b},lVa=function(a,{clientX:b,clientY:c}){const {height:d,left:e,top:f,width:g}=a.getBoundingClientRect();return{kh:GR(b-(e+g/2)),nh:GR(c-(f+d/2))}},mVa=function(a,b){if(!a||!b)return null;a=a.getProjection();return _.Kx(b,a)},nVa=function(a,b){const c=_.WL(a);if(!b||!c)return!1;a=Math.abs(c.clientX-b.clientX);b=Math.abs(c.clientY-b.clientY);return a*a+b*b>=4},oVa=function(a,b){const c=[]; c.push("@-webkit-keyframes ",b," {\n");_.Kb(a.frames,d=>{c.push(d.time*100+"% { ");c.push("-webkit-transform: translate3d("+d.translate[0]+"px,",d.translate[1]+"px,0); ");c.push("-webkit-animation-timing-function: ",d.Jm,"; ");c.push("}\n")});c.push("}\n");return c.join("")},pVa=function(a,b){for(let c=0;c=a.frames[c].time&&b"stylers"in e)&&_.N(a,174113);rVa(b)&&_.N(a,149062);b.get("anchorPoint")&&_.N(a,149064);c=b.get("animation");c===1&&_.N(a,149065);c===2&&_.N(a,149066);b.get("clickable")===!1&&(_.N(a,149091),b.get("title")&&_.N(a,149063));b.get("draggable")&&(_.N(a,149069),b.get("clickable")===!1&&_.N(a,149070));b.get("visible")===!1&&_.N(a,149081);b.get("crossOnDrag")&&_.N(a,149067);b.get("cursor")&&_.N(a,149068);b.get("label")&&_.N(a,149080);b.get("title")&&_.N(a,149090);b.get("opacity")!= null&&_.N(a,149082);b.get("optimized")===!0?_.N(a,149085):b.get("optimized")===!1&&_.N(a,149071);b.get("zIndex")!=null&&_.N(a,149092);c=b.get("icon");var d=new IR;(d=!c||c===d.icon.url||c.url===d.icon.url)?_.N(a,173084):_.N(a,173083);typeof c==="string"?_.N(a,149079):c&&c.url!=null?(c.anchor&&_.N(a,149074),c.labelOrigin&&_.N(a,149075),c.origin&&_.N(a,149076),c.scaledSize&&_.N(a,149077),c.size&&_.N(a,149078)):c&&c.path!=null?(c=c.path,c===0?_.N(a,149088):c===1?_.N(a,149072):c===2?_.N(a,149073):c=== 3?_.N(a,149086):c===4?_.N(a,149087):_.N(a,149089)):DR(c)&&_.N(a,149083);b.get("shape")&&(_.N(a,149084),d&&_.N(a,162762));if(c=b.get("place"))c.placeId?_.N(a,149093):_.N(a,149094),b.get("attribution")&&_.N(a,149061)}},uVa=function(a,b,c){tVa(a,c,d=>{a.set(b,d);const e=d?ER(d):null;b==="viewIcon"&&d&&e&&a.Eg&&a.Eg(e,d.anchor,d.labelOrigin);d=a.get("modelLabel");a.set("viewLabel",d?{text:d.text||d,color:_.xm(d.color,"#000000"),fontWeight:_.xm(d.fontWeight,""),fontSize:_.xm(d.fontSize,"14px"),fontFamily:_.xm(d.fontFamily, "Roboto,Arial,sans-serif"),className:d.className||""}:null)})},tVa=function(a,b,c){b?DR(b)?c(b):b.path!=null?c(a.Fg(b)):(_.zm(b)||(b.size=b.size||b.scaledSize),b.size?c(b):(b.url||(b={url:b}),jVa(b.url,d=>{b.size=d||new _.Ko(24,24);c(b)}))):c(null)},vVa=function(a){const b=a.get("mapPixelBoundsQ");var c=a.get("icon");const d=a.get("position");if(!b||!c||!d)return a.get("visible")!==!1;const e=c.anchor||_.$o,f=c.size.width+Math.abs(e.x);c=c.size.height+Math.abs(e.y);return d.x>b.minX-f&&d.y>b.minY- c&&d.x{a.style.webkitAnimationDuration=c.duration?c.duration+"ms":"";a.style.webkitAnimationIterationCount=`${c.Em}`;a.style.webkitAnimationName=b||""})},yVa=function(){const a=[];for(let b=0;b{}});a.Eg=RR(a,b,a.Eg,c,e);EVa(a,c,SR(a))}},JVa=function(a){var b=a.getLabel();if(b){if(!a.Ig){const e=a.Ig=new GVa(a.getPanes(),b,a.get("opacity"),a.get("visible"),a.Jh);a.oh=[_.En(a,"label_changed",()=>{e.setLabel(a.get("label"))}),_.En(a,"opacity_changed",()=>{e.setOpacity(a.get("opacity"))}), _.En(a,"panes_changed",()=>{var f=a.get("panes");e.Ol=f;JR(e);_.zq(e.Fg)}),_.En(a,"visible_changed",()=>{e.setVisible(a.get("visible"))})]}if(b=a.getIcon()){var c=a.Eg,d=SR(a);c=HVa(a,b,d,MR(c)||_.$o);d=ER(b);d=b.labelOrigin||new _.Go(d.width/2,d.height/2);DR(b)&&(b=b.getSize().width,d=new _.Go(b/2,b/2));wVa(a.Ig,new _.Go(c.x+d.x,c.y+d.y));a.Ig.setZIndex(IVa(a));_.Aq(a.Ig.Fg)}}},LVa=function(a){if(!a.Qg){a.Gg&&(a.Mg&&_.Gn(a.Mg),a.Gg.cancel(),a.Gg=null);var b=a.get("animation");if(b=KVa[b]){var c= b.options;a.Eg&&(a.Qg=!0,a.set("animating",!0),b=DVa(a.Eg,b.icon,c),a.Gg=b,a.Mg=_.Pn(b,"done",()=>{a.set("animating",!1);a.Gg=null;a.set("animation",null)}))}}},NR=function(a){if(a)for(let b=0,c=a.length;b{a.Rg=!1;OR(a);_.Aq(a.Jg)},0);_.by(c);_.Tn(a,"mouseup",c.Eg)},Ck:({event:c,Up:d})=>{if(a.get("clickable")!==!1||a.getDraggable())_.ex(c.Eg),c.button===3?d||c.button===3&&_.Tn(a,"rightclick",c.Eg):d?_.Tn(a,"dblclick",c.Eg):(_.Tn(a,"click",c.Eg),_.N(window,171150))},cu:c=>{_.cy(c);_.Tn(a,"contextmenu",c.Eg)}}),a.Lg=new _.OB(b,b,{Ks(c){_.Tn(a,"mouseout", c)},Ls(c){_.Tn(a,"mouseover",c)}}))},MVa=function(a,b,c,d){c=c||_.zx("div",b);_.jr(c);b===a.getPanes().overlayMouseTarget?(b=d.element.cloneNode(!0),_.aJ(b,0),c.appendChild(b)):c.appendChild(d.element);b=d.getSize();c.style.width=_.Io(b);c.style.height=_.Jo(b);c.style.pointerEvents="none";c.style.userSelect="none";_.Pn(d,"changed",()=>{a.Fg()});return c},UR=function(a){const b=a.marker.get("place");a=a.marker.get("position");return b&&b.location||a},VR=function(a,b){a.Hg&&a.Hg.has(b)&&({marker:a}= a.Hg.get(b),b.Mm=OVa(a),b.Mm&&(b=a.getMap())&&_.N(b,184438))},QVa=function(a,b){if(a.Hg){var {PE:c,marker:d}=a.Hg.get(b);for(const e of PVa)c.push(gVa(d,e,()=>{VR(a,b)})),c.push(fVa(d,e,()=>{!OVa(d)&&b.Mm&&VR(a,b)}))}},RVa=function(a){const b=a.Fg.__gm;a.Eg.bindTo("mapPixelBounds",b,"pixelBounds");a.Eg.bindTo("panningEnabled",a.Fg,"draggable");a.Eg.bindTo("panes",b)},SVa=function(a){const b=a.Fg.__gm;_.En(a.Mg,"dragging_changed",()=>{b.set("markerDragging",a.marker.get("dragging"))});b.set("markerDragging", b.get("markerDragging")||a.marker.get("dragging"))},UVa=function(a){a.Jg.push(_.Sn(a.Eg,"panbynow",a.Fg.__gm));TVa.forEach(b=>{a.Jg.push(_.En(a.Eg,b,c=>{const d=a.Ng?UR(a):a.marker.get("internalPosition");c=new _.PB(d,c,a.Eg.get("position"));_.Tn(a.marker,b,c)}))})},VVa=function(a){const b=()=>{a.marker.get("place")?a.Eg.set("draggable",!1):a.Eg.set("draggable",!!a.marker.get("draggable"))};a.Jg.push(_.En(a.Mg,"draggable_changed",b));a.Jg.push(_.En(a.Mg,"place_changed",b));b()},WVa=function(a){a.Jg.push(_.En(a.Fg, "projection_changed",()=>{WR(a)}));a.Jg.push(_.En(a.Mg,"position_changed",()=>{WR(a)}));a.Jg.push(_.En(a.Mg,"place_changed",()=>{WR(a)}))},YVa=function(a){a.Jg.push(_.En(a.Eg,"dragging_changed",()=>{if(a.Eg.get("dragging"))a.Qg=a.Ig.Bn(),a.Qg&&_.BM(a.Ig,a.Qg);else{a.Qg=null;a.Pg=null;var b=a.Ig.getPosition();if(b&&(b=_.Mr(b,a.Fg.get("projection")),b=XVa(a,b))){const c=_.Kx(b,a.Fg.get("projection"));a.marker.get("place")||(a.Og=!1,a.marker.set("position",b),a.Og=!0);a.Ig.setPosition(c)}}}));a.Jg.push(_.En(a.Eg, "deltaclientposition_changed",()=>{var b=a.Eg.get("deltaClientPosition");if(b&&(a.Qg||a.Pg)){var c=a.Pg||a.Qg;a.Pg={clientX:c.clientX+b.clientX,clientY:c.clientY+b.clientY};b=a.dh.gm(a.Pg);b=_.Mr(b,a.Fg.get("projection"));c=a.Pg;var d=XVa(a,b);d&&(a.marker.get("place")||(a.Og=!1,a.marker.set("position",d),a.Og=!0),d.equals(b)||(b=_.Kx(d,a.Fg.get("projection")),c=a.Ig.Bn(b)));c&&_.BM(a.Ig,c)}}))},ZVa=function(a){if(a.Gg){a.Eg.bindTo("scale",a.Gg);a.Eg.bindTo("position",a.Gg,"pixelPosition");const b= a.Fg.__gm;a.Gg.bindTo("latLngPosition",a.marker,"internalPosition");a.Gg.bindTo("focus",a.Fg,"position");a.Gg.bindTo("zoom",b);a.Gg.bindTo("offset",b);a.Gg.bindTo("center",b,"projectionCenterQ");a.Gg.bindTo("projection",a.Fg)}},aWa=function(a){if(a.Gg){const b=new $Va(a.Fg instanceof _.Xo);b.bindTo("internalPosition",a.Gg,"latLngPosition");b.bindTo("place",a.marker);b.bindTo("position",a.marker);b.bindTo("draggable",a.marker);a.Eg.bindTo("draggable",b,"actuallyDraggable")}},WR=function(a){if(a.Og){var b= UR(a);b&&a.Ig.setPosition(_.Kx(b,a.Fg.get("projection")))}},XVa=function(a,b){const c=a.Fg.__gm.get("snappingCallback");return c&&(a=c({latLng:b,overlay:a.marker}))?a:b},OVa=function(a){return PVa.some(b=>eVa(a,b))},cWa=function(a,b,c){if(b instanceof _.mo){const d=b.__gm;Promise.all([d.Fg,d.Gg]).then(([{dh:e},f])=>{bWa(a,b,c,e,f)})}else bWa(a,b,c,null)},bWa=function(a,b,c,d,e=!1){const f=new Map,g=h=>{var k=b instanceof _.mo;const m=k?h.__gm.hr.map:h.__gm.hr.streetView,p=m&&m.Fg===b,r=p!==a.contains(h); m&&r&&(k?(h.__gm.hr.map.dispose(),h.__gm.hr.map=null):(h.__gm.hr.streetView.dispose(),h.__gm.hr.streetView=null));!a.contains(h)||!k&&h.get("mapOnly")||p||(b instanceof _.mo?(k=b.__gm,h.__gm.hr.map=new dWa(h,b,c,_.sM(k,h),d,k.Sg,f)):h.__gm.hr.streetView=new dWa(h,b,c,_.Mk,null,null,null),sVa(b,h,e))};_.En(a,"insert",g);_.En(a,"remove",g);a.forEach(g)},YR=function(a){return _.is()/(a.webkitBackingStorePixelRatio||a.mozBackingStorePixelRatio||a.msBackingStorePixelRatio||a.oBackingStorePixelRatio||a.backingStorePixelRatio|| 1)},eWa=function(a,b,c){a=a.Eg;a.width=b;a.height=c;return a},fWa=function(a){const b=[];a.Vi.forEach(c=>{b.push(c)});b.sort((c,d)=>c.zIndex-d.zIndex);return b},gWa=function(a){const b=fWa(a),c=a.getContext(),d=YR(c);a=a.Ch.size;c.clearRect(0,0,Math.ceil(a.kh*d),Math.ceil(a.nh*d));b.forEach(e=>{c.globalAlpha=_.xm(e.opacity,1);c.drawImage(e.image,e.iz,e.jz,e.hz,e.Zy,Math.round(e.dx*d),Math.round(e.dy*d),e.Hq*d,e.Eq*d)})},hWa=function(a,b,c){if(c.dx>a||c.dy>b||c.dx+c.Hq g.push(h));g.sort((h,k)=>k.zIndex-h.zIndex);c=null;for(e=0;d=g[e];++e)if(f=d.Vv,f.clickable!==!1&&(f=f.nA,hWa(a.x,a.y,d))){c=f;break}c&&(b.Cj=d);return c},jWa=function(a,b){if(!b.hB){b.hB=!0;var c=_.Lr(a.get("projection")),d=b.Ut;d.dx<-64||d.dy<-64||d.dx+d.Hq>64||d.dy+d.Eq>64?(_.Cq(a.Hg,b),d=a.Gg.search(_.At)):(d=b.latLng,d=new _.Go(d.lat(),d.lng()),b.Ai=d,_.vM(a.Ig,{Ai:d,marker:b}),d=_.sFa(a.Gg,d));for(let f=0,g=d.length;f{delete b.Vi[c];d.yk.Vi.remove(d)}))},lWa=function(a,b){a.Jg[_.Wn(b)]=b;var c={th:b.xi.x,uh:b.xi.y,Ah:b.zoom};const d=_.Lr(a.get("projection"));var e=_.Sy(a.Fg,c);e=new _.Go(e.Eg,e.Fg);const {min:f,max:g}=_.xI(a.Fg,c,64/a.Fg.size.kh);c=_.tp(f.Eg,f.Fg,g.Eg,g.Fg);_.vFa(c,d,e,(h,k)=>{h.aH=k;h.yk=b;b.rp[_.Wn(h)]=h;_.tM(a.Gg,h);k=(a.Ig.search(h)||[]).map(m=>m.marker);a.Hg.forEach((0,_.Fa)(k.push, k));for(let m=0,p=k.length;m{a.Gg.remove(d)}))},iWa=function(a,b,c,d,e){if(!e||!c||!d.latLng)return null;var f=e.fromLatLngToPoint(c);c=e.fromLatLngToPoint(d.latLng);e=a.Fg.size;a=_.bBa(a.Fg,new _.Zq(c.x,c.y),new _.Zq(f.x,f.y),b.zoom);c.x=a.th*e.kh;c.y=a.uh*e.nh;a=d.zIndex; _.um(a)||(a=c.y);a=Math.round(a*1E3)+_.Wn(d)%1E3;f=d.Ut;b={image:f.image,iz:f.iz,jz:f.jz,hz:f.hz,Zy:f.Zy,dx:f.dx+c.x,dy:f.dy+c.y,Hq:f.Hq,Eq:f.Eq,zIndex:a,opacity:d.opacity,yk:b,Vv:d};return b.dx>e.kh||b.dy>e.nh||b.dx+b.Hq<0||b.dy+b.Eq<0?null:b},nWa=function(a,b,c){a.Hg++<4?c?a.Fg.ID(b):a.Fg.xM(b):a.Eg=!0;a.Co||(a.Co=_.TI((0,_.Fa)(a.Gg,a)))},oWa=function(a){return typeof a==="string"?($R.has(a)||$R.set(a,{url:a}),$R.get(a)):a},uWa=function(a,b,c){const d=new _.xr,e=new _.xr,f=new pWa;new qWa(a,d,new IR, f,c);const g=_.ux(b.getDiv()).createElement("canvas"),h={};a=_.tp(-100,-300,100,300);const k=new _.fN(a);a=_.tp(-90,-180,90,180);const m=_.uFa(a,(w,y)=>w.marker===y.marker);let p=null,r=null;const t=new _.Vo(null),v=b.__gm;v.Fg.then(w=>{v.Kg.register(new rWa(h,v,t,w.dh.Lj));_.pw(w.Lr,y=>{if(y&&p!==y.Ch){r&&r.unbindAll();var D=p=y.Ch;r=new sWa(h,d,e,function(G,L){return new tWa(L,new aS(G,L,g,D),G)},k,m,p);r.bindTo("projection",b);t.set(r.Eg())}})});_.DM(b,t,"markerLayer",-1)},wWa=function(a){a.Co|| (a.Co=_.TI(()=>{a.Co=0;const b=a.lv;a.lv={};const c=a.ow;for(const d of Object.values(b))vWa(a,d);c&&!a.ow&&a.It.forEach(d=>{vWa(a,d)})}))},vWa=function(a,b){var c=b.get("place");c=c?c.location:b.get("position");b.set("internalPosition",c);b.changed=a.SL;if(!b.get("animating"))if(a.JC.remove(b),!c||b.get("visible")==0||b.__gm&&b.__gm.oo)a.It.remove(b);else{a.ow&&!a.QE&&a.It.getSize()>=256&&(a.ow=!1);c=b.get("optimized");const e=b.get("draggable"),f=!!b.get("animation");var d=b.get("icon");const g= !!d&&d.path!=null;d=DR(d);const h=b.get("label")!=null;a.QE||c==0||e||f||g||d||h||!c&&a.ow?_.Cq(a.It,b):(a.It.remove(b),_.Cq(a.JC,b))}},xWa=function(a,b){const c=new _.oq;c.onAdd=()=>{};c.onContextLost=()=>{};c.onRemove=()=>{};c.onContextRestored=()=>{};c.onDraw=({transformer:d})=>{a.onDraw(d)};_.cu.add(c);c.setMap(b);return c},yWa=function(a){a.Kg||(a.Kg=setTimeout(()=>{const b=[...a.Hg].filter(c=>!c.ep).length;b>0&&a.Bh.Vg(a.map,b);a.Kg=0},0))},BWa=function(a,b){a.Ig.has(b)||(a.Ig.add(b),_.wz(_.vz(), ()=>{if(a.map){var c=[];for(const d of a.Ig){if(!d.map)continue;const e=d.targetElement;e.parentNode||c.push(d);const f=d.oo!==!1&&bS(d)||d.vs,g=_.no(a.map);g||(a.Lg||(a.Lg=a.Fg.attachShadow({mode:_.Kq[166]?"open":"closed"}),a.Lg.append(a.Jg,a.Eg)),a.Fg.append(e));g&&e.parentElement===g||!g&&e.parentElement===a.Fg?e.setAttribute("slot",f?zWa:AWa):e.style.visibility=f?"hidden":"";d.sm(!f);d.Yv=!1}a.Ig.clear();for(const d of c)d.oz(!0)}}))},CWa=function(a){cS||(cS=new ResizeObserver(b=>{for(const c of b)c.target.dispatchEvent(new CustomEvent("marker-resize", {detail:c.contentRect}))}));cS.observe(a)},FWa=function(a,b){const c=_.Da(b);let d=dS.get(c);d||(d=new DWa(b),dS.set(c,d));b=d;EWa(a,b.rn);b.Hg.add(a);yWa(b);CWa(a.targetElement)},GWa=function(a){a=_.Da(a);(a=dS.get(a))&&a.requestRedraw()},HWa=function(a,b){b=_.Da(b);(b=dS.get(b))&&BWa(b,a)},IWa=function(a){let b=0,c=0;for(const d of a)switch(d){case "ArrowLeft":--b;break;case "ArrowRight":b+=1;break;case "ArrowDown":c+=1;break;case "ArrowUp":--c}return{deltaX:b,deltaY:c}},fS=function(a,b,c=!0){a.Eg.position= a.Pg;eS(a,b,c)},eS=function(a,b,c=!0){b.preventDefault();b.stopImmediatePropagation();gS(a);JWa(a);a.Fg&&(a.Fg.release(),a.Fg=null);c&&hS(a.Eg,"dragend",b)},iS=function(a,b){if(b){a.Gg.style.display="";b=a.Eg.anchorTop||"-100%";let c=a.Eg.anchorLeft||"-50%";b==="0"&&(b="0px");c==="0"&&(c="0px");a.Gg.style.left=`calc(-1 * ${c})`;a.Gg.style.top=`calc(-1 * ${b})`}else a.Gg.style.display="none"},LWa=function(a){a.Gg.style.opacity="0.5";a.Gg.style.position="absolute";iS(a,!1);a.Gg.style.transform="translate(-50%, -50%)"; a.Gg.style.zIndex="-1";KWa(a);const b=a.Eg.So;b.addEventListener("pointerenter",a.Tg);b.addEventListener("pointerleave",a.Xg);b.addEventListener("focus",a.Tg);b.addEventListener("blur",a.Xg)},MWa=function(a,b=!1){return a.Hg?_.Gz:b?"pointer":_.bma},jS=function(a){const b=a.Eg.Qj;b&&b.appendChild(a.Gg)},KWa=function(a){a.Gg.children[0]?.remove();var b=a.Eg,c;if(!(c=b.dragIndicator)){if(!b.gv){const {url:d,scaledSize:e}=(new IR).Eg;b.gv=new Image(e.width,e.height);b.gv.src=d;b.gv.alt=""}c=b.gv}a.Gg.appendChild(c); jS(a)},OWa=function(a){if(!a.Eg.fA){a.Fg=new _.gN((c,d)=>{var e=a.Eg;e.Kh&&_.Tn(e.Kh,"panbynow",c,d)});_.AM(a.Fg,!0);var b=NWa(a.Eg);_.zM(a.Fg,b);a.Fg.Hg=a.Ig}},PWa=function(a,b){gS(a);a.Ig=!1;a.Fg&&(a.Fg.Hg=!1);a.Jg=a.Eg.Bn();a.Ng=_.WL(b)},QWa=function(a,b){var c=_.WL(b);if(c){b=c.clientX;c=c.clientY;var d=b-a.Ng.clientX,e=c-a.Ng.clientY;a.Ng={clientX:b,clientY:c};b={clientX:a.Jg.clientX+d,clientY:a.Jg.clientY+e};a.Jg=b;a.Eg.xC(b)}},RWa=function(a,b){a.Jg=a.Eg.Bn();a.Pg=a.Eg.position;a.Ng=_.WL(b); a.Hg=!0;OWa(a);a.Eg.So.setAttribute("aria-grabbed","true");kS(a.Eg);a.Eg.So.style.zIndex="2147483647";a.Gg.style.opacity="1";iS(a,!0);hS(a.Eg,"dragstart",b)},SWa=function(a){a.Ig&&(a.Jg=a.Eg.Bn())},lS=function(a){_.ny!==2?(document.removeEventListener("pointermove",a.Rg),document.removeEventListener("pointerup",a.Kg),document.removeEventListener("pointercancel",a.Kg)):(document.removeEventListener("touchmove",a.Rg,{passive:!1}),document.removeEventListener("touchend",a.Kg),document.removeEventListener("touchcancel", a.Kg),document.removeEventListener("touchstart",a.Kg));gS(a);JWa(a);a.Fg&&(a.Fg.release(),a.Fg=null)},gS=function(a){const b=a.Eg.So;b.removeEventListener("keydown",a.oh);b.removeEventListener("keyup",a.sh);b.removeEventListener("blur",a.mh)},TWa=function(a){if(a.Qg.size===0)a.Og=0;else{var {deltaX:b,deltaY:c}=IWa(a.Qg),d=1;_.eM(a.Yg)&&(d=a.Yg.next());var e=Math.round(3*d*b);d=Math.round(3*d*c);e===0&&(e=b);d===0&&(d=c);e={clientX:a.Jg.clientX+e,clientY:a.Jg.clientY+d};a.Jg=e;a.Eg.xC(e);a.Og=window.setTimeout(()=> {TWa(a)},10)}},JWa=function(a){a.Hg=!1;a.Ig=!1;a.Ng=null;a.Jg=null;clearTimeout(a.Og);a.Og=0;a.Pg=null;a.Vg=null;a.Mg=null;const b=a.Eg.So,c=a.Eg.zIndex;a.Gg.style.opacity="0.5";b.setAttribute("aria-grabbed","false");b.style.zIndex=c==null?"":`${c}`;UWa(a.Eg)},EWa=function(a,b){a.iA=b;if(a.Eu){var c=a.getAttribute("aria-describedby");c=c?c.split(" "):[];c.push(b);a.setAttribute("aria-describedby",c.join(" "))}},bS=function(a){return a.collisionBehavior!=="REQUIRED"&&!a.al&&!!a.map&&!!a.position}, NWa=function(a){return a.Kh?a.Kh.get("pixelBounds"):null},hS=function(a,b,c){_.Tn(a,b,new _.PB(a.hp,c,a.Qv?new _.Go(a.Qv.kh,a.Qv.nh):null))},kS=function(a){_.Tn(a,"REMOVE_COLLISION")},UWa=function(a){a.style.cursor=a.Yi?MWa(a.Yi,a.Jv):a.Jv?"pointer":""},mS=function(a,b=!1){bS(a)&&(a.Kh&&cVa(a.Kh.Yg,a),_.Tn(a,"UPDATE_MARKER_COLLISION"),b&&a.Vw&&_.Tn(a,"UPDATE_BASEMAP_COLLISION"))},VWa=function(a){a.sp.then(()=>{_.Sr(a,"marker-view");a.style.position="absolute";a.style.left="0px"})},WWa=function(a){if(a.Tm.get("isOpen")){var {width:b}= a.getBoundingClientRect();a.Tm.set("anchorPoint",new _.Go(b?b/2:0,0))}},nS=function(a){a.style.pointerEvents=a.vy?"none":a.vF?"auto":""},oS=function(a){a.Mm=a.Jv||!!a.Eu},XWa=function(a,b=!1){if(a.vs||!a.wk)a.Tm.set("pixelPosition",null);else if(a.Tm.get("isOpen"))if(b)requestAnimationFrame(()=>{const {offsetX:c,offsetY:d}=FR(a.Bx);a.Tm.set("pixelPosition",new _.Go(c,d))});else{const {offsetX:c,offsetY:d}=FR(a.Bx);a.Tm.set("pixelPosition",new _.Go(c,d))}},YWa=function(a,b){var c;if(c=a.Yi)c=a.Yi, c=c.Mg&&b.timeStamp-c.Mg>=500?!0:c.Lg;if(!c&&a.hp){a.gmpDraggable||a.focus();hS(a,"click",b);if(a.gmpClickable||_.Fn(a,"gmp-click"))c=new pS,_.Tn(a,"gmp-click",c),a.dispatchEvent(c);a.Bh.Lg(b)}},ZWa=function(a){!a.Pi&&a.map&&a.Kh&&(a.DC=!0,a.Pi=_.oy(a,{Ck:({event:b,Up:c})=>{a.vF?(_.ex(b.Eg),b.button===3||c||YWa(a,b.Eg)):a===b.Eg.target||a.vy||(console.debug('To make AdvancedMarkerElement clickable and provide better accessible experiences, use addListener() to register a "click" event on the AdvancedMarkerElement instance.'), a.Bh.Ng(a.map))}}),a.zA=_.ima({draggable:a.fF,vE:new _.fC(a.map,"gestureHandling"),Jk:a.Kh.Il}),_.pw(a.zA,a.TE),a.DC=!1)},qS=function(a){const b=c=>c.nodeType===Node.TEXT_NODE&&c.nodeValue!=null&&!/\S/.test(c.nodeValue);return a.childNodes.length>0?([...a.childNodes].every(b)&&_.yn(_.hq(a,"AdvancedMarkerElement is displaying empty text content. If you want a pin to appear, make sure to remove any whitespace between the tags.")),[...a.childNodes]):a.nl&&a.nl.contains(a.Gl)?[a.Gl]: []},$Wa=function(a,b,c){if(b&&c&&({altitude:b}=new _.Jp(b),b>0||b<0))throw a.Bh.Og(window),_.Qm("Draggable AdvancedMarkerElement with non-zero altitude is not supported");},rS=function(a){if(a.ck){const b=_.Da(a.ck),c=dS.get(b);c&&(c.Hg.delete(a),c.isEmpty()&&(c.dispose(),dS.delete(b)));cS&&cS.unobserve(a.targetElement);_.Tn(a,"REMOVE_FOCUS");_.Tn(a,"REMOVE_COLLISION");a.dh&&(a.ak&&(a.dh.fl(a.ak),a.ak=null),a.dh=null);a.Yi&&lS(a.Yi);a.XD?.remove();a.vH?.remove();a.qG?.remove();a.RF?.remove();a.zA?.removeListener(a.TE); a.Pi&&(a.Pi.remove(),a.Pi=null);a.Tm.set("map",null);a.Vw=null;a.Kh=null;a.ck=null;a.Yv=!0}},sS=function(a){if(a.Kh&&!a.al){var b=a.Kh.Sg;b&&(a.Mm&&a.wk&&!a.oo?b.Yg(a):_.Tn(a,"REMOVE_FOCUS"))}},bXa=function(a){var b=a.Kh.get("baseMapType");b=b&&(!b.mapTypeId||!Object.values(_.Vs).includes(b.mapTypeId));a.Vw=a.xF&&!b;if(!a.ep||a.position)a.Vw?GWa(a.map):aXa(a)},cXa=function(a){if(!a.ep){var b=a.Kh.Eg;b.wB.then(()=>{const c=_.kq(b,"ADVANCED_MARKERS");if(!c.isAvailable){a.Kh&&a.Kh.zh();for(const d of c.Eg)b.log(d); a.Bh.Mg(a.map);a.dispose()}})}},dXa=function(a){a.Bh.Tg(a.map);a.Bh.Hg(a.map,a.vy);if(a.Jv){const b=_.Fn(a,"gmp-click");a.Bh.Fg(a.map,b)}a.gmpDraggable&&a.Bh.Ig(a.map);a.title&&a.Bh.Jg(a.map);a.zIndex!==null&&a.Bh.Kg(a.map);a.tl()>0&&a.Bh.Eg(a.map);a.Bh.Gg(a.map,a.collisionBehavior)},tS=function(a,b){a.Yi&&SWa(a.Yi);if(b){a.style.transform=`${`translate(${a.anchorLeft||"-50%"}, ${a.anchorTop||"-100%"})`} ${`translate(${b.x}px, ${b.y}px)`}`;const c=a.style.willChange?a.style.willChange.replace(/\s+/g, "").split(","):[];c.includes("transform")||_.wz(_.vz(),()=>{c.push("transform");a.style.willChange=c.join(",")},a,a)}a.wk=b;sS(a)},aXa=function(a){var b=mVa(a.ck,a.hp);a.ak?a.ak.setPosition(b,a.tl()):a.dh&&(b=new _.iN(a.dh.Lj,a,b,a.dh,null,a.tl(),a.eK),a.dh.Si(b),a.ak=b)};_.Go.prototype.Cy=_.da(15,function(){return Math.sqrt(this.x*this.x+this.y*this.y)}); var PVa=["click","dblclick","rightclick","contextmenu"],eXa=class extends _.Xn{constructor(){super();this.constraint=0;this.Eg=!1}position_changed(){this.Eg||(this.Eg=!0,this.set("rawPosition",this.get("position")),this.Eg=!1)}rawPosition_changed(){if(!this.Eg){this.Eg=!0;var a=this.set,b;var c=this.get("rawPosition");if(c){(b=this.get("snappingCallback"))&&(c=b(c));b=c.x;c=c.y;var d=this.get("referencePosition");d&&(this.constraint===2?b=d.x:this.constraint===1&&(c=d.y));b=new _.Go(b,c)}else b=null; a.call(this,"position",b);this.Eg=!1}}},fXa=class{constructor(a,b,c,d,e=0,f=0){this.width=c;this.height=d;this.offsetX=e;this.offsetY=f;this.Fg=new Float64Array(2);this.Fg[0]=a;this.Fg[1]=b;this.Eg=new Float32Array(2)}transform(a){a.wu(1,this.Fg,this.Eg,0,0,0);this.Eg[0]+=this.offsetX;this.Eg[1]+=this.offsetY}isVisible(a){return this.Eg[0]>=-this.width&&this.Eg[0]<=a.width+this.width&&this.Eg[1]>=-this.height&&this.Eg[1]<=a.height+this.height}equals(a){return this.Fg[0]===a.Fg[0]&&this.Fg[1]===a.Fg[1]&& this.width===a.width&&this.height===a.height&&this.offsetX===a.offsetX&&this.offsetY===a.offsetY}Gg(a){return this.Eg[0]>a.right||this.Eg[0]+this.widtha.bottom||this.Eg[1]+this.heighta,["ease-out"]:a=>1-Math.pow(a-1,2),["ease-in"]:a=>Math.pow(a,2)},uS=class{constructor(a){this.frames=a;this.Eg=""}},HR;var KVa={[1]:{options:{duration:700,Em:"infinite"},icon:new uS([{time:0,translate:[0,0],Jm:"ease-out"},{time:.5,translate:[0,-20],Jm:"ease-in"},{time:1,translate:[0,0],Jm:"ease-out"}])},[2]:{options:{duration:500,Em:1},icon:new uS([{time:0,translate:[0,-500],Jm:"ease-in"},{time:.5,translate:[0,0],Jm:"ease-out"},{time:.75,translate:[0,-20],Jm:"ease-in"},{time:1,translate:[0,0],Jm:"ease-out"}])},[3]:{options:{duration:200,Cy:20,Em:1,iH:!1},icon:new uS([{time:0,translate:[0,0],Jm:"ease-in"},{time:1, translate:[0,-20],Jm:"ease-out"}])},[4]:{options:{duration:500,Cy:20,Em:1,iH:!1},icon:new uS([{time:0,translate:[0,-20],Jm:"ease-in"},{time:.5,translate:[0,0],Jm:"ease-out"},{time:.75,translate:[0,-10],Jm:"ease-in"},{time:1,translate:[0,0],Jm:"ease-out"}])}};var IR=class{constructor(){this.icon={url:_.js("api-3/images/spotlight-poi3",!0),scaledSize:new _.Ko(26,37),origin:new _.Go(0,0),anchor:new _.Go(13,37),labelOrigin:new _.Go(13,14)};this.Fg={url:_.js("api-3/images/spotlight-poi-dotless3",!0),scaledSize:new _.Ko(26,37),origin:new _.Go(0,0),anchor:new _.Go(13,37),labelOrigin:new _.Go(13,14)};this.Eg={url:_.js("api-3/images/drag-cross",!0),scaledSize:new _.Ko(13,11),origin:new _.Go(0,0),anchor:new _.Go(7,6)};this.shape={coords:[13,0,4,3.5,0,12,2.75,21, 13,37,23.5,21,26,12,22,3.5],type:"poly"}}};var gXa=class extends _.Xn{constructor(a,b){super();this.Fg=a;this.Eg=b;vS||(vS=new IR)}changed(a){a!=="modelIcon"&&a!=="modelShape"&&a!=="modelCross"&&a!=="modelLabel"||_.wz(_.vz(),this.Gg,this,this)}Gg(){const a=this.get("modelIcon");var b=this.get("modelLabel");uVa(this,"viewIcon",a||b&&vS.Fg||vS.icon);uVa(this,"viewCross",vS.Eg);b=this.get("useDefaults");let c=this.get("modelShape");c||a&&!b||(c=vS.shape);this.get("viewShape")!==c&&this.set("viewShape",c)}},vS;var hXa=class extends _.Xn{constructor(){super();this.Fg=!1;this.Eg=vVa(this);this.set("shouldRender",this.Eg)}changed(){if(!this.Fg){var a=vVa(this);this.Eg!==a&&(this.Eg=a,this.Fg=!0,this.set("shouldRender",this.Eg),this.Fg=!1)}}};var $Va=class extends _.Xn{constructor(a){super();this.Fg=a;this.Eg=!1}internalPosition_changed(){if(!this.Eg){this.Eg=!0;var a=this.get("position"),b=this.get("internalPosition");a&&b&&!a.equals(b)&&this.set("position",this.get("internalPosition"));this.Eg=!1}}draggable_changed(){if(!this.Eg){this.Eg=!0;if(this.Fg){const a=this.get("place");a?this.set("internalPosition",a.location):this.set("internalPosition",this.get("position"))}this.get("place")?this.set("actuallyDraggable",!1):this.set("actuallyDraggable", this.get("draggable"));this.Eg=!1}}position_changed(){this.draggable_changed()}place_changed(){this.draggable_changed()}};var GVa=class{constructor(a,b,c,d,e){this.Ol=a;this.label=b;this.opacity=c;this.visible=d;this.origin=void 0;this.zIndex=0;this.Hg=this.Ig=this.Eg=null;this.Fg=new _.yq(this.Jg,0,this);this.Gg=e;this.Ol=a;this.label=b;this.opacity=c;this.visible=d}setOpacity(a){this.opacity=a;_.zq(this.Fg)}setLabel(a){this.label=a;_.zq(this.Fg)}setVisible(a){this.visible=a;_.zq(this.Fg)}setZIndex(a){this.zIndex=a;_.zq(this.Fg)}release(){this.Ol=null;JR(this)}Jg(){if(this.Ol&&this.label&&this.visible!==!1){var a=this.Ol.markerLayer, b=this.label;this.Eg?a.appendChild(this.Eg):(this.Eg=document.createElement("div"),a.appendChild(this.Eg),this.Eg.style.transform="translateZ(0)");a=this.Eg;this.origin&&_.yx(a,this.origin);var c=a.firstElementChild;c||(c=document.createElement("div"),a.appendChild(c),c.style.height="100px",c.style.transform="translate(-50%, -50px)",c.style.display="table",c.style.borderSpacing="0");let d=c.firstElementChild;d||(d=document.createElement("div"),c.appendChild(d),d.style.display="table-cell",d.style.verticalAlign= "middle",d.style.whiteSpace="nowrap",d.style.textAlign="center");c=d.firstElementChild||_.zx("div",d);c.textContent=b.text;c.style.color=b.color;c.style.fontSize=b.fontSize;c.style.fontWeight=b.fontWeight;c.style.fontFamily=b.fontFamily;c.className=b.className;c.setAttribute("aria-hidden","true");if(this.Gg&&b!==this.Hg){this.Hg=b;const {width:e,height:f}=c.getBoundingClientRect();b=new _.Ko(e,f);b.equals(this.Ig)||(this.Ig=b,this.Gg(b))}_.aJ(c,_.xm(this.opacity,1));_.Ax(a,this.zIndex)}else JR(this)}};var BVa=class{constructor(a,b,c){this.element=a;this.animation=b;this.options=c;this.Fg=!1;this.Eg=null}start(){this.options.Em=this.options.Em||1;this.options.duration=this.options.duration||1;_.Nn(this.element,"webkitAnimationEnd",()=>{this.Fg=!0;_.Tn(this,"done")});xVa(this.element,qVa(this.animation),this.options)}cancel(){this.Eg&&(this.Eg.remove(),this.Eg=null);xVa(this.element,null,{});_.Tn(this,"done")}stop(){this.Fg||(this.Eg=_.Nn(this.element,"webkitAnimationIteration",()=>{this.cancel()}))}};var KR=[],LR=null,CVa=class{constructor(a,b,c){this.element=a;this.animation=b;this.Em=-1;this.Eg=!1;this.startTime=0;c.Em!=="infinity"&&(this.Em=c.Em||1);this.duration=c.duration||1E3}start(){KR.push(this);LR||(LR=window.setInterval(yVa,10));this.startTime=Date.now();this.tick()}cancel(){this.Eg||(this.Eg=!0,AVa(this,1),_.Tn(this,"done"))}stop(){this.Eg||(this.Em=1)}tick(){if(!this.Eg){var a=Date.now();AVa(this,(a-this.startTime)/this.duration);a>=this.startTime+this.duration&&(this.startTime=Date.now(), this.Em!=="infinite"&&(this.Em--,this.Em||this.cancel()))}}};var iXa=_.ra.DEF_DEBUG_MARKERS,wS=class extends _.Xn{constructor(a,b,c){super();this.Ig=this.Eg=null;this.oh=[];this.gh=!1;this.targetElement=null;this.mh=!1;this.Hg=null;this.elements=[];this.Qg=!0;this.Ng=0;this.Gg=this.hh=this.zh=this.sh=null;this.Rg=!1;this.element=this.Lg=this.Pi=this.Kg=this.Mg=this.Og=null;this.Sg=!1;this.Ip=null;this.Jg=new _.yq(()=>{var d=this.get("panes"),e=this.get("scale");if(!d||!this.getPosition()||this.getVisible()===!1||_.um(e)&&e<.1&&!this.al)PR(this);else{FVa(this, d.markerLayer);if(!this.Ng){var f=this.getIcon();if(f){var g=f.url;e=QR(this);var h=this.getDraggable(),k=this.get("title")||"",m=k;m||(m=(m=this.getLabel())?m.text:"");if(e||h||m){var p=!e&&!h&&!k,r=DR(f),t=TR(f),v=this.get("shape"),w=ER(f),y={};if(_.Ex())f=w.width,w=w.height,r=new _.Ko(f+16,w+16),f={url:_.MB,size:r,anchor:t?new _.Go(t.x+8,t.y+8):new _.Go(Math.round(f/2)+8,w+8),scaledSize:r};else{const D=f.scaledSize||w;(_.Mq.Fg||_.Mq.Eg)&&v&&(y.shape=v,w=D);if(!r||v)f={url:_.MB,size:w,anchor:t, scaledSize:D}}t=f.url!=null;this.mh===t&&OR(this);this.mh=!t;y=this.targetElement=RR(this,this.getPanes().overlayMouseTarget,this.targetElement,f,y);this.targetElement.style.pointerEvents=p?"none":"";if(p=y.querySelector("img"))p.style.removeProperty("position"),p.style.removeProperty("opacity"),p.style.removeProperty("left"),p.style.removeProperty("top");t=y;p=null;(f=t.getAttribute("usemap")||t.firstChild&&t.firstChild.getAttribute("usemap"))&&f.length&&(t=_.ux(t).getElementById(f.substring(1)))&& (p=t.firstChild);p&&(p.tabIndex=-1,p.style.display="inline",p.style.position="absolute",p.style.left="0px",p.style.top="0px");iXa&&(y.dataset.debugMarkerImage=g);y=p||y;y.title=k;m&&this.Mp().setAttribute("aria-label",m);this.Ew();h&&!this.Kg&&(g=this.Kg=new _.SGa(y,this.Vg,this.targetElement),this.Vg?(g.bindTo("deltaClientPosition",this),g.bindTo("position",this)):g.bindTo("position",this.Pg,"rawPosition"),g.bindTo("containerPixelBounds",this,"mapPixelBounds"),g.bindTo("anchorPoint",this),g.bindTo("size", this),g.bindTo("panningEnabled",this),this.Og||(this.Og=[_.Sn(g,"dragstart",this),_.Sn(g,"drag",this),_.Sn(g,"dragend",this),_.Sn(g,"panbynow",this)]));g=this.get("cursor")||"pointer";h?this.Kg.set("draggableCursor",g):y.style.cursor=e?g:"";NVa(this,y)}}}d=d.overlayLayer;if(h=e=this.get("cross"))h=this.get("crossOnDrag"),h===void 0&&(h=this.get("raiseOnDrag")),h=h!==!1&&this.getDraggable()&&this.al;h?this.Hg=RR(this,d,this.Hg,e):(this.Hg&&_.Ix(this.Hg),this.Hg=null);this.elements=[this.Eg,this.Hg, this.targetElement];JVa(this);for(e=0;e{_.Aq(this.Jg)})];this.getPosition=_.xo("position");this.getPanes=_.xo("panes");this.getVisible=_.xo("visible");this.getIcon=_.xo("icon");this.getLabel=_.xo("label")}sG(){}get Mm(){return this.Sg}set Mm(a){this.Sg!==a&&(this.Sg=a,_.Tn(this,"UPDATE_FOCUS"))}get al(){return this.get("dragging")}panes_changed(){PR(this);_.zq(this.Jg)}Ao(a){this.set("position",a&&new _.Go(a.kh,a.nh))}Rs(){this.unbindAll(); this.set("panes",null);this.Gg&&this.Gg.stop();this.Mg&&(_.Gn(this.Mg),this.Mg=null);this.Gg=null;NR(this.Zg);this.Zg=[];PR(this);_.Tn(this,"RELEASED")}Xg(){var a;if(!(a=this.sh!==QR(this)||this.zh!==this.getDraggable())){a=this.hh;var b=this.get("shape");a=!(a==null||b==null?a===b:a.type===b.type&&_.BI(a.coords,b.coords))}a&&(this.sh=QR(this),this.zh=this.getDraggable(),this.hh=this.get("shape"),OR(this),_.zq(this.Jg))}Fg(){_.zq(this.Jg)}position_changed(){this.Vg?_.Aq(this.Jg):_.zq(this.Jg)}Mp(){return this.targetElement}Ew(){const a= this.Mp();if(a){var b=!!this.get("title");b||(b=(b=this.getLabel())?!!b.text:!1);this.Mm?a.setAttribute("role","button"):b?a.setAttribute("role","img"):a.removeAttribute("role")}}ey(a){_.Tn(this,"click",a);_.N(window,171149)}Zs(){}ks(a){_.ex(a);_.Tn(this,"click",a);_.N(window,171150)}by(){}getDraggable(){return!!this.get("draggable")}Gh(){this.set("dragging",!0);this.Pg.set("snappingCallback",this.Yg)}yh(){this.Pg.set("snappingCallback",null);this.set("dragging",!1)}animation_changed(){this.Qg=!1; this.get("animation")?LVa(this):(this.set("animating",!1),this.Gg&&this.Gg.stop())}uF(a){const b=this.get("markerPosition");return this.Ip&&b&&this.Ip.size?iVa(a,this.targetElement):!1}};_.z=wS.prototype;_.z.shape_changed=wS.prototype.Xg;_.z.clickable_changed=wS.prototype.Xg;_.z.draggable_changed=wS.prototype.Xg;_.z.cursor_changed=wS.prototype.Fg;_.z.scale_changed=wS.prototype.Fg;_.z.raiseOnDrag_changed=wS.prototype.Fg;_.z.crossOnDrag_changed=wS.prototype.Fg;_.z.zIndex_changed=wS.prototype.Fg; _.z.opacity_changed=wS.prototype.Fg;_.z.title_changed=wS.prototype.Fg;_.z.cross_changed=wS.prototype.Fg;_.z.icon_changed=wS.prototype.Fg;_.z.visible_changed=wS.prototype.Fg;_.z.dragging_changed=wS.prototype.Fg;var TVa="click dblclick mouseup mousedown mouseover mouseout rightclick dragstart drag dragend contextmenu".split(" "),dWa=class{constructor(a,b,c,d,e,f,g){this.marker=a;this.Fg=b;this.dh=e;this.Rg=f;this.Hg=g;this.Og=!0;this.Pg=this.Qg=null;this.Jg=[];this.Ng=b instanceof _.mo;f=UR(this);b=this.Ng&&f?_.Kx(f,b.getProjection()):null;this.Eg=new wS(d,!!this.Ng,h=>{this.Eg.Ip=a.__gm.Ip={...a.__gm.Ip,IQ:h};a.__gm.Mx&&a.__gm.Mx()});_.En(this.Eg,"RELEASED",()=>{var h=this.Eg;if(this.Hg&&this.Hg.has(h)){({PE:h}= this.Hg.get(h));for(const k of h)k.remove()}this.Hg&&this.Hg.delete(this.Eg)});this.Rg&&this.Hg&&!this.Hg.has(this.Eg)&&(this.Hg.set(this.Eg,{marker:this.marker,PE:[]}),this.Rg.Rg(this.Eg),VR(this,this.Eg),QVa(this,this.Eg));(this.Ig=this.Ng?new _.iN(e.Lj,this.Eg,b,e,()=>{if(this.Eg.get("dragging")&&!this.marker.get("place")){var h=this.Ig.getPosition();h&&(h=_.Mr(h,this.Fg.get("projection")),this.Og=!1,this.marker.set("position",h),this.Og=!0)}}):null)&&e.Si(this.Ig);this.Kg=new gXa(c,(h,k,m)=>{this.Eg.Ip= a.__gm.Ip={...a.__gm.Ip,size:h,anchor:k,labelOrigin:m};a.__gm.Mx&&a.__gm.Mx()});this.Gg=this.Ng?null:new _.XM;this.Lg=this.Ng?null:new hXa;this.Mg=new _.Xn;this.Mg.bindTo("position",this.marker);this.Mg.bindTo("place",this.marker);this.Mg.bindTo("draggable",this.marker);this.Mg.bindTo("dragging",this.marker);this.Kg.bindTo("modelIcon",this.marker,"icon");this.Kg.bindTo("modelLabel",this.marker,"label");this.Kg.bindTo("modelCross",this.marker,"cross");this.Kg.bindTo("modelShape",this.marker,"shape"); this.Kg.bindTo("useDefaults",this.marker,"useDefaults");this.Eg.bindTo("icon",this.Kg,"viewIcon");this.Eg.bindTo("label",this.Kg,"viewLabel");this.Eg.bindTo("cross",this.Kg,"viewCross");this.Eg.bindTo("shape",this.Kg,"viewShape");this.Eg.bindTo("title",this.marker);this.Eg.bindTo("cursor",this.marker);this.Eg.bindTo("dragging",this.marker);this.Eg.bindTo("clickable",this.marker);this.Eg.bindTo("zIndex",this.marker);this.Eg.bindTo("opacity",this.marker);this.Eg.bindTo("anchorPoint",this.marker);this.Eg.bindTo("markerPosition", this.marker,"position");this.Eg.bindTo("animation",this.marker);this.Eg.bindTo("crossOnDrag",this.marker);this.Eg.bindTo("raiseOnDrag",this.marker);this.Eg.bindTo("animating",this.marker);this.Lg||this.Eg.bindTo("visible",this.marker);RVa(this);SVa(this);UVa(this);this.Ng?(VVa(this),WVa(this),YVa(this)):(ZVa(this),this.Gg&&(this.Lg.bindTo("visible",this.marker),this.Lg.bindTo("cursor",this.marker),this.Lg.bindTo("icon",this.marker),this.Lg.bindTo("icon",this.Kg,"viewIcon"),this.Lg.bindTo("mapPixelBoundsQ", this.Fg.__gm,"pixelBoundsQ"),this.Lg.bindTo("position",this.Gg,"pixelPosition"),this.Eg.bindTo("visible",this.Lg,"shouldRender")),aWa(this))}dispose(){this.Eg.set("animation",null);this.Eg.Rs();this.dh&&this.Ig?this.dh.fl(this.Ig):this.Eg.Rs();this.Lg&&this.Lg.unbindAll();this.Gg&&this.Gg.unbindAll();this.Kg.unbindAll();this.Mg.unbindAll();this.Jg.forEach(_.Gn);this.Jg.length=0}};var aS=class{constructor(a,b,c,d){this.div=a;this.Vi=b;this.Eg=c;this.Ch=d}getContext(){if(!this.context){const a=this.div,b=a.ownerDocument.createElement("canvas");_.Sq(b);b.style.position="absolute";b.style.top=b.style.left="0";const c=b.getContext("2d"),d=YR(c),e=this.Ch.size;b.width=Math.ceil(e.kh*d);b.height=Math.ceil(e.nh*d);b.style.width=_.Dm(e.kh);b.style.height=_.Dm(e.nh);a.appendChild(b);this.context=c}return this.context}ID(a){const b=fWa(this),c=this.getContext(),d=YR(c),e=Math.round(a.dx* d),f=Math.round(a.dy*d),g=Math.ceil(a.Hq*d);a=Math.ceil(a.Eq*d);const h=eWa(this,g,a),k=h.getContext("2d");k.translate(-e,-f);b.forEach(m=>{k.globalAlpha=_.xm(m.opacity,1);k.drawImage(m.image,m.iz,m.jz,m.hz,m.Zy,Math.round(m.dx*d),Math.round(m.dy*d),m.Hq*d,m.Eq*d)});c.clearRect(e,f,g,a);c.globalAlpha=1;c.drawImage(h,e,f)}};aS.prototype.xM=aS.prototype.ID;var pWa=class{constructor(){this.Eg=_.RI().Eg}load(a,b){return this.Eg.load(new _.qL(a.url),c=>{if(c){var d=c.size,e=a.size||a.scaledSize||d;a.size=e;var f=a.scaledSize||d,g=a.anchor||new _.Go(e.width/2,e.height),h=f.width/d.width,k=f.height/d.height,m=a.origin?a.origin.x/h:0,p=a.origin?a.origin.y/k:0,r=-g.x;g=-g.y;var t=e.width/h,v=e.width,w=e.height/k,y=e.height;m*h+e.width>f.width&&(t=d.width-m*h,v=f.width);p*k+e.height>f.height&&(w=d.height-p*k,y=f.height);b({image:c,iz:m,jz:p,hz:t,Zy:w,dx:r, dy:g,Hq:v,Eq:y})}else b(null)})}cancel(a){this.Eg.cancel(a)}};var rWa=class{constructor(a,b,c,d){this.Eg=b;this.Fg=c;this.zIndex=40;this.Gg=new _.jN(a,d,c)}Xs(a){return a!=="dragstart"&&a!=="drag"&&a!=="dragend"}jt(a,b){return b?ZR(this,a,-8,0)||ZR(this,a,0,-8)||ZR(this,a,8,0)||ZR(this,a,0,8):ZR(this,a,0,0)}handleEvent(a,b,c){const d=b.Cj;if(a==="mouseout")this.Eg.set("cursor",""),this.Eg.set("title",null);else if(a==="mouseover"){var e=d.Vv;this.Eg.set("cursor",e.cursor);(e=e.title)&&this.Eg.set("title",e)}let f;d&&a!=="mouseout"?f=d.Vv.latLng:f=b.latLng;a=== "dblclick"&&_.Cn(b.domEvent);_.Tn(c,a,new _.PB(f,b.domEvent))}};var sWa=class extends _.Ar{constructor(a,b,c,d,e,f,g){super();this.Jg=a;this.Lg=d;this.Hg=c;this.Gg=e;this.Ig=f;this.Fg=g||_.$B;b.Eg=h=>{jWa(this,h)};b.onRemove=h=>{kWa(this,h)};b.forEach(h=>{jWa(this,h)})}Eg(){return{Ch:this.Fg,Jl:2,ol:this.Kg.bind(this)}}Kg(a,b={}){const c=document.createElement("div"),d=this.Fg.size;c.style.width=`${d.kh}px`;c.style.height=`${d.nh}px`;c.style.overflow="hidden";a={div:c,zoom:a.Ah,xi:new _.Go(a.th,a.uh),rp:{},Vi:new _.xr};c.yk=a;lWa(this,a);let e=!1;return{Ti:()=> c,Cm:()=>e,loaded:new Promise(f=>{_.Pn(c,"load",()=>{e=!0;f()})}),release:()=>{const f=c.yk;c.yk=null;mWa(this,f);c.textContent="";b.sj&&b.sj()}}}};var tWa=class{constructor(a,b,c){this.Fg=b;this.Co=null;this.Eg=!1;this.Hg=0;const d=this;a.Eg=e=>{d.Zq(e)};a.onRemove=e=>{d.Ms(e)};this.Ig=c;a.getSize()?(this.Eg=!0,this.Gg()):_.wq(_.kI(_.Tn,c,"load"))}Zq(a){nWa(this,a,!0)}Ms(a){nWa(this,a,!1)}Gg(){this.Eg&&gWa(this.Fg);this.Eg=!1;this.Co=null;this.Hg=0;_.wq(_.kI(_.Tn,this.Ig,"load"))}};var qWa=class{constructor(a,b,c,d,e){var f=oWa;this.markers=a;this.Fg=b;this.Eg=c;this.Ig=f;this.Hg=d;this.Gg=e;this.markers.Eg=g=>{this.Zq(g)};this.markers.onRemove=g=>{this.Ms(g)}}Zq(a){var b=a.get("internalPosition"),c=a.get("zIndex");const d=a.get("opacity"),e=a.__gm.ky={nA:a,latLng:b,zIndex:c,opacity:d,Vi:{}};b=a.get("useDefaults");c=a.get("icon");const f=a.get("shape")||c&&!b?a.get("shape"):this.Eg.shape,g=c?this.Ig(c):this.Eg.icon,h=hVa(()=>{e===a.__gm.ky&&(e.Ut||e.TG)&&this.Ml(a,e,g,f)}); g.url?this.Hg.load(g,k=>{e.Ut=k;h()}):(e.TG=this.Gg(g),h())}Ms(a){this.Fg.remove(a.__gm.ky);a.__gm.ky=null}Ml(a,b,c,d){if(b.Ut){c=c.size;var e=a.get("anchorPoint");if(!e||e.Eg)e=new _.Go(b.Ut.dx+c.width/2,b.Ut.dy),e.Eg=!0,a.set("anchorPoint",e)}else c=b.TG.size;d?d.coords=d.coords||d.coord:d={type:"rect",coords:[0,0,c.width,c.height]};b.shape=d;b.clickable=a.get("clickable");b.title=a.get("title")||null;b.cursor=a.get("cursor")||"pointer";_.Cq(this.Fg,b)}};var $R=new Map;var jXa=class{constructor(a,b,c,d){this.lv={};this.Co=0;this.ow=!0;const e=this;this.JC=b;this.It=c;this.QE=d;const f={animating:1,animation:1,attribution:1,clickable:1,cursor:1,draggable:1,flat:1,icon:1,label:1,opacity:1,optimized:1,place:1,position:1,shape:1,__gmHiddenByCollision:1,title:1,visible:1,zIndex:1};this.SL=function(g){g in f&&(delete this.changed,e.lv[_.Wn(this)]=this,wWa(e))};a.Eg=g=>{e.Zq(g)};a.onRemove=g=>{e.Ms(g)};a=a.elements;for(const g of Object.values(a))this.Zq(g)}Zq(a){this.lv[_.Wn(a)]= a;wWa(this)}Ms(a){delete a.changed;delete this.lv[_.Wn(a)];this.JC.remove(a);this.It.remove(a)}};var pS=class extends Event{constructor(){super("gmp-click",{bubbles:!0,composed:!0})}};var kXa=class{Tg(){}Qg(){}Fg(){}Gg(){}Hg(){}Mg(){}Og(){}Kg(){}Ig(){}Jg(){}Ng(){}Pg(){}Eg(){}Rg(){}Sg(){}Xg(){}Vg(){}Lg(){}};var lXa=(0,_.aj)`.yNHHyP-marker-view .IPAZAH-content-container\u003e*{pointer-events:none}.yNHHyP-marker-view .IPAZAH-content-container.HJDHPx-interactive\u003e*{pointer-events:auto}\n`;var AWa=dVa("visible-gmp-advanced-markers"),zWa=dVa("hidden-gmp-advanced-markers"),DWa=class{constructor(a){this.Bh=mXa;this.Io=null;this.Ng=!1;this.Lg=null;this.Kg=0;this.Mg=null;this.map=a;this.Hg=new Set;this.Ig=new Set;this.rn=`maps-aria-${_.lo()}`;this.Gg=document.createElement("span");this.Gg.id=this.rn;this.Gg.textContent="To activate drag with keyboard, press Alt + Enter. Once in keyboard drag state, use the arrow keys to move the marker. To complete the drag, press the Enter key. To cancel, press Escape."; this.Gg.style.display="none";this.Jg=document.createElement("div");this.Eg=document.createElement("div");CSS.supports("content-visibility: hidden")?this.Eg.style.contentVisibility="hidden":this.Eg.style.visibility="hidden";var b=document.createElement("slot");b.setAttribute("name",AWa);this.Jg.appendChild(b);b=document.createElement("slot");b.setAttribute("name",zWa);this.Eg.appendChild(b);this.Fg=document.createElement("div");this.Fg.append(this.Jg,this.Eg);const c=a.__gm;this.Pg=c.Jp;this.Og=new Promise(d=> {c.Gg.then(e=>{this.map&&(e&&(this.Io=xWa(this,a)),this.Ng=!0);d()})});_.Su(lXa,this.map.getDiv());Promise.all([c.Fg,this.Og]).then(([{Ol:d}])=>{this.map&&d.overlayMouseTarget.append(this.Gg,this.Fg);this.Mg=c.addListener("panes_changed",e=>{this.map&&e.overlayMouseTarget.append(this.Gg,this.Fg)})})}dispose(){this.Io&&(this.Io.setMap(null),this.Io=null);this.Mg&&this.Mg.remove();this.Gg.remove();this.Eg.remove();this.Jg.remove();this.Fg.remove();this.Eg.textContent="";this.Jg.textContent="";this.Hg.clear(); this.Ig.clear();this.map=null}isEmpty(){return this.Hg.size===0}requestRedraw(){this.Ng?this.Io&&this.Io.requestRedraw():this.Og.then(()=>{this.Io&&this.Io.requestRedraw()})}onDraw(a){if(this.map){var b=this.Pg.offsetWidth,c=this.Pg.offsetHeight,d=_.Yq(this.map.getZoom()||1,this.map.getTilt()||0,this.map.getHeading()||0);for(const h of this.Hg.values()){var e=h.hL;var f=this.map.getCenter();if(e&&f){f=_.sm(f.lng(),-180,180);var g=_.sm(e.lng,-180,180);f>0&&gf+180&&(g-=360);e=new _.Jp({altitude:e.altitude, lat:e.lat,lng:g},!0)}else e=null;if(!e){h.Ao(null,d);continue}e=a.fromLatLngAltitude(e);f=Array.from(e);e=g=[0,0,0];const k=e[0],m=e[1],p=e[2],r=1/(f[3]*k+f[7]*m+f[11]*p+f[15]);e[0]=(f[0]*k+f[4]*m+f[8]*p+f[12])*r;e[1]=(f[1]*k+f[5]*m+f[9]*p+f[13])*r;e[2]=(f[2]*k+f[6]*m+f[10]*p+f[14])*r;const {ZK:t,TN:v}={ZK:f[14]<0&&f[15]<0,TN:g};t?h.Ao(null,d):h.Ao({kh:GR(v[0]/2*b),nh:GR(-v[1]/2*c)},d,{kh:b,nh:c})}}}};var dS=new Map,mXa=new class extends kXa{Tg(a){a&&this.jj(a,181191)}Qg(a){if(a){var b=a.getRenderingType();b!=="UNINITIALIZED"&&this.jj(a,159713);b==="RASTER"?this.jj(a,157416):b==="VECTOR"&&this.jj(a,157417)}}Fg(a,b=!1){this.jj(a,158896);b&&this.jj(a,185214)}Gg(a,b){b&&(b!=="REQUIRED"&&this.jj(a,160097),b==="REQUIRED_AND_HIDES_OPTIONAL"?this.jj(a,160098):b==="OPTIONAL_AND_HIDES_LOWER_PRIORITY"&&this.jj(a,160099))}Hg(a,b){b?this.jj(a,159404):this.jj(a,159405)}Mg(a){this.jj(a,159484)}Og(a){this.jj(a, 160438)}Kg(a){this.jj(a,159521)}Ig(a){this.jj(a,160103)}Jg(a){this.jj(a,159805)}Ng(a){this.jj(a,159490)}Pg(a){this.jj(a,159812)}Eg(a){this.jj(a,159609)}Rg(a){this.jj(a,160122)}Sg(a){this.jj(a,160106)}Xg(a){this.jj(a,160478)}Vg(a,b){const c=[{threshold:1E4,Vo:160636},{threshold:5E3,Vo:160635},{threshold:2E3,Vo:160634},{threshold:1E3,Vo:160633},{threshold:500,Vo:160632},{threshold:200,Vo:160631},{threshold:100,Vo:160630},{threshold:50,Vo:159732},{threshold:10,Vo:160629},{threshold:1,Vo:160628}];for(const {threshold:d, Vo:e}of c)if(b>=d){this.jj(a,e);break}}Lg(a){this.jj(window,a instanceof KeyboardEvent?171152:171153)}jj(a,b){a&&_.N(a,b)}},nXa=new kXa,cS=null;var oXa=class{constructor(a){this.Eg=a;this.Ig=this.Hg=!1;this.Mg=this.Fg=this.Jg=this.Ng=this.Pg=this.Vg=null;this.Og=0;this.Yg=null;this.gh=b=>{this.Ys(b)};this.hh=b=>{b.touches.length===1&&this.Ys(b)};this.Zg=b=>{b.preventDefault();b.stopImmediatePropagation()};this.Sg=b=>{if(this.Ig||this.Lg||nVa(b,this.Vg))this.Lg=!0};a=this.Eg.So;_.ny!==2?(a.addEventListener("pointerdown",this.gh),a.addEventListener("pointermove",this.Sg)):(a.addEventListener("touchstart",this.hh,{passive:!1}),a.addEventListener("touchmove", this.Sg,{passive:!1}));a.addEventListener("mousedown",this.Zg);this.Rg=b=>{b.preventDefault();b.stopImmediatePropagation();this.Ig?PWa(this,b):this.Hg?(QWa(this,b),hS(this.Eg,"drag",b)):(RWa(this,b),b=this.Eg,b.Bh.Xg(b.map))};this.Kg=b=>{this.Mg&&b.timeStamp-this.Mg>=500&&(!this.Hg||this.Ig)?(this.Ig?PWa(this,b):(RWa(this,b),b=this.Eg,b.Bh.Sg(b.map),b.ep&&_.Tn(b,"longpressdragstart")),this.Lg=!0):(this.Hg&&(this.Ig||this.Lg||nVa(b,this.Vg))&&(this.Lg=!0),this.Ig&&eS(this,b),b.type==="touchend"&&iS(this, !1),this.Hg?(b.stopImmediatePropagation(),QWa(this,b),lS(this),mS(this.Eg,!0),hS(this.Eg,"dragend",b)):lS(this))};this.oh=b=>{this.zh(b)};this.sh=b=>{this.yh(b)};this.mh=b=>{fS(this,b)};this.zh=b=>{if(b.altKey&&(_.yz(b)||b.key===_.npa))fS(this,b);else if(!b.altKey&&_.yz(b))this.Lg=!0,eS(this,b);else if(_.zz(b)||_.Bz(b)||_.Az(b)||_.Cz(b))b.preventDefault(),this.Qg.add(b.key),this.Og||(this.Yg=new _.wM(100),TWa(this)),hS(this.Eg,"drag",b);else if(b.code==="Equal"||b.code==="Minus"){var c=this.Eg;b= b.code==="Equal"?1:-1;const d=mVa(c.ck,c.hp);d&&c.dh.uH(b,d)}};this.yh=b=>{(_.zz(b)||_.Bz(b)||_.Az(b)||_.Cz(b))&&this.Qg.delete(b.key)};this.Tg=()=>{iS(this,!0)};this.Xg=()=>{this.Hg||iS(this,!1)};this.Gg=document.createElement("div");LWa(this);this.Lg=!1;this.Qg=new Set}oz(a){this.Fg&&_.xM(this.Fg,a)}Ys(a){this.Lg=!1;if(this.Eg.gmpDraggable&&(a.button===0||a.type==="touchstart")){const b=this.Eg.So;b.focus();const c=document;_.ny!==2||a.preventDefault();a.stopImmediatePropagation();this.Mg=a.timeStamp; _.ny!==2?(c.addEventListener("pointermove",this.Rg),c.addEventListener("pointerup",this.Kg),c.addEventListener("pointercancel",this.Kg)):(c.addEventListener("touchmove",this.Rg,{passive:!1}),c.addEventListener("touchend",this.Kg),c.addEventListener("touchcancel",this.Kg),c.addEventListener("touchstart",this.Kg));this.Hg||(this.Vg=_.WL(a));b.style.cursor=_.Gz}}ey(){this.Hg||(this.Lg=!1)}Zs(a){if(this.Eg.gmpDraggable&&!this.Ig&&!this.Hg){var b=this.Eg.So;b.addEventListener("keydown",this.oh);b.addEventListener("keyup", this.sh);b.addEventListener("blur",this.mh);this.Jg=this.Eg.Bn();this.Pg=this.Eg.position;this.Ig=this.Hg=!0;OWa(this);b=this.Eg.So;b.setAttribute("aria-grabbed","true");kS(this.Eg);b.style.zIndex="2147483647";this.Gg.style.opacity="1";hS(this.Eg,"dragstart",a);a=this.Eg;a.Bh.Rg(a.map)}}by(a,b=!0){this.Ig?fS(this,a,b):this.Hg&&(this.Eg.position=this.Pg,a.stopImmediatePropagation(),lS(this),b&&hS(this.Eg,"dragend",a))}al(){return this.Hg}dispose(){lS(this);const a=this.Eg.So;_.ny!==2?(a.removeEventListener("pointerdown", this.gh),a.removeEventListener("pointermove",this.Sg)):(a.removeEventListener("touchstart",this.hh,{passive:!1}),a.removeEventListener("touchmove",this.Sg,{passive:!1}));a.removeEventListener("mousedown",this.Zg);a.removeEventListener("pointerenter",this.Tg);a.removeEventListener("pointerleave",this.Xg);a.removeEventListener("focus",this.Tg);a.removeEventListener("blur",this.Xg);this.Gg.remove()}};var xS=!1,yS=class extends _.au{set anchorTop(a){this.VK=this.eh("anchorTop",_.bt,a);tS(this,this.wk);mS(this,!0)}get anchorTop(){return this.VK}set anchorLeft(a){this.UK=this.eh("anchorLeft",_.bt,a);tS(this,this.wk);mS(this,!0)}get anchorLeft(){return this.UK}constructor(a={}){super(a);this.gv=this.Pi=this.Yi=null;this.iA="";this.dl=this.Qv=this.tD=this.dh=this.ak=this.nl=null;this.oD=!1;this.sz=null;this.YB=this.xF=this.uz=this.qD=!1;this.Kh=this.Vw=this.RF=this.qG=this.vH=this.XD=null;this.nD= void 0;this.Eu=this.pD=!1;this.fF=_.Wo(!1);this.hp=this.Fu=this.zA=null;this.Br="";this.ck=this.vz=void 0;this.Vz=this.Wz=!0;this.fB=this.DC=!1;this.Yv=!0;document.createElement("div");VWa(this);this.targetElement=this;this.So=this;this.ep=xS;Object.defineProperties(this,{ep:{value:xS,writable:!1}});this.Bh=this.ep?nXa:mXa;this.addEventListener("focus",e=>{this.NA(e)},!0);this.addEventListener("marker-resize",()=>{WWa(this)});this.Gl=new _.lC;this.Xi=document.createElement("div");_.Sr(this.Xi,"content-container"); this.nl=document.createElement("slot");this.nl.addEventListener("slotchange",()=>{this.ls()});this.Xi.appendChild(this.nl);this.nl.prepend(this.Gl);this.ls();Promise.resolve().then(()=>{nS(this);a.anchorTop&&(this.anchorTop=a.anchorTop);a.anchorLeft&&(this.anchorLeft=a.anchorLeft)});this.Bx=getComputedStyle(this);this.eK=(e,f,g)=>this.Qx(e,f,g);const b=()=>{nS(this);oS(this);const e=_.Fn(this,"gmp-click");this.Bh.Fg(this.map,e)},c=()=>{nS(this);oS(this)},d=["click"];d.push("gmp-click");for(const e of d)gVa(this, e,b),fVa(this,e,c);this.Tm=new _.Xn;this.Tm.addListener("isopen_changed",()=>{XWa(this);WWa(this)});this.TE=e=>{this.Pi?.qr(e==="cooperative"||e==="none")};this.collisionBehavior=a.collisionBehavior;a.content!=null&&(this.content=a.content);this.fA=!!a.fA;this.gmpClickable=a.gmpClickable;this.gmpDraggable=a.gmpDraggable;this.position=a.position;this.title=a.title??"";this.zIndex=a.zIndex;this.map=a.map;this.Ph(a,yS,"AdvancedMarkerElement")}addEventListener(a,b,c){a!=="click"||this.DC||_.yn(_.hq(this, "Please use addEventListener('gmp-click', ...) instead of addEventListener('click', ...)."));super.addEventListener(a,b,c)}addListener(a,b){a==="click"&&_.yn(_.hq(this,"Please use addEventListener('gmp-click', ...) instead of addEventListener('click', ...)."));return _.En(this,a,b)}NA(a){var b=a.target,c=a.relatedTarget;if(this!==b)if(a.stopPropagation(),a.stopImmediatePropagation(),console.debug('Focusable child elements in AdvancedMarkerElement are not supported. To make AdvancedMarkerElement focusable, use addListener() to register a "click" event on the AdvancedMarkerElement instance.'), this.Bh.Pg(this.map),a=[document.body,..._.Gx(document.body)],b=a.indexOf(b),c=a.indexOf(c),b===-1||c===-1)this.focus();else for(c=b>c?1:-1,b+=c;b>=0&&b{if(this.Mm){var b=()=>{this.isConnected&&this.wk?setTimeout(()=>{this.focus();a()}, 0):_.wz(_.vz(),b)};b()}})}ks(){}by(a){this.Yi&&(this.Yi.by(a,!this.ep),this.ep&&_.Tn(this,"dragcancel"))}get collisionBehavior(){return this.nD}set collisionBehavior(a){a=this.eh("collisionBehavior",_.bn(_.Vm(_.rt)),a)||"REQUIRED";this.collisionBehavior!==a&&(this.nD=a,this.Bh.Gg(this.map,this.nD),this.map&&(!bS(this)&&this.Kh?bVa(this.Kh.Yg,this):mS(this,!0)))}get element(){return this}get vy(){return qS(this)[0]===this.Gl}get content(){const a=qS(this);a.length>1&&console.debug("The content getter of AdvancedMarkerElement only returns the first content when there are multiple contents, use childNodes or children to get all the contents."); return a[0]}set content(a){a=this.eh("content",_.bn(_.$m([_.Um(Node,"Node"),_.Zm(_.Tm)])),a)||this.Gl;const b=qS(this);if(b.length!==1||b[0]!==a)a!==this.Gl?this.replaceChildren(a):a===this.Gl&&this.replaceChildren(),this.ls()}ls(){const a=()=>{this.nl&&!this.nl.contains(this.Gl)&&this.nl.prepend(this.Gl);this.dl=null;this.Yi&&jS(this.Yi);mS(this,!0);nS(this)};this.Bh.Hg(this.map,this.vy);this.sp.then(()=>{a()})}get dragIndicator(){}set dragIndicator(a){}get gmpClickable(){return this.pD}set gmpClickable(a){a= this.eh("gmpClickable",_.ct,a)||!1;this.pD!==a&&(this.pD=a,nS(this),oS(this))}get gmpDraggable(){return this.Eu}set gmpDraggable(a){a=this.eh("gmpDraggable",_.ct,a)||!1;$Wa(this,this.position,a);this.fF.set(a);this.Eu!==a&&((this.Eu=a)?(this.Bh.Ig(this.map),this.setAttribute("aria-grabbed","false"),EWa(this,this.iA),this.Yi=new oXa(this),KWa(this.Yi)):(this.removeAttribute("aria-grabbed"),this.sG(this.iA),this.Yi.dispose(),this.Yi=null),nS(this),oS(this))}sG(a){var b=this.getAttribute("aria-describedby"); b=(b?b.split(" "):[]).filter(c=>c!==a);b.length>0?this.setAttribute("aria-describedby",b.join(" ")):this.removeAttribute("aria-describedby")}get map(){return this.ck}set map(a){this.setMap(a);this.ck&&(a=_.no(this.ck))&&this.parentElement!==a&&a.append(this)}setMap(a){this.ck!==a&&(a=this.eh("map",_.bn(_.Um(_.mo,"MapsApiMap")),a),a instanceof _.mo&&(a=a.YM),a&&this.isConnected?rS(this):this.dispose(),this.ck=a,this.Tm.set("map",this.ck),this.ck instanceof _.mo?(this.ck&&FWa(this,this.ck),this.Kh= this.ck.__gm,ZWa(this),this.XD=this.ck.addListener("bounds_changed",()=>{sS(this)}),this.vH=this.ck.addListener("zoom_changed",()=>{sS(this)}),this.qG=this.ck.addListener("projection_changed",()=>{sS(this)}),this.RF=this.ck.addListener("maptypeid_changed",()=>{bXa(this)}),Promise.all([this.Kh.Fg,this.Kh.Gg]).then(([b,c])=>{this.ck===b.map&&(this.xF=c,this.Bh.Qg(b.map),c=this.Kh.Eg,this.ep||_.kq(c,"ADVANCED_MARKERS").isAvailable)&&(this.dh=b.dh,bXa(this))}),cXa(this),dXa(this)):this.Kh=null)}get position(){return this.Fu}set position(a){a= (a=this.eh("position",_.bn(_.Jr),a)||null)&&new _.Jp(a);const b=this.Fu;$Wa(this,a,this.gmpDraggable);if(b&&a){var c=new _.Jp(b,!0);const d=new _.Jp(a,!0);c=!c.equals(d)}else c=b!==a;c&&(this.hp=(this.Fu=a)?new _.on(a):null,this.YB=!0,a||tS(this,null),this.Tm.set("position",this.hp),this.Vw?GWa(this.map):aXa(this),this.tl()>0&&this.Bh.Eg(this.map),_.bq(this,"position",b))}get hL(){return this.Fu}get title(){return this.Br}set title(a){a=this.eh("title",_.$r,a);const b=this.Br;a!==this.title&&(this.Br= a,this.title&&this.Bh.Jg(this.map),this.title===""?(this.removeAttribute("aria-label"),this.removeAttribute("title")):(this.setAttribute("aria-label",this.title),this.setAttribute("title",this.title)),this.Ew(),_.bq(this,"title",b))}get zIndex(){return this.vz}set zIndex(a){a=this.eh("zIndex",_.bn(_.Ys),a);this.vz=a==null?null:a;this.style.zIndex=this.vz==null?"":`${this.vz}`;this.zIndex!==null&&this.Bh.Kg(this.map);mS(this)}get Jv(){const a=_.Fn(this,"click"),b=_.Fn(this,"gmp-click");return a||b|| !!this.gmpClickable}get vF(){return this.Jv||!!this.gmpDraggable}get Mm(){return this.oD}set Mm(a){UWa(this);this.oD!==a&&(this.oD=a,sS(this))}get vs(){return this.uz}set vs(a){if(a!==this.uz){if(this.uz=a)this.Vz=this.Wz=!1,kS(this);this.map&&HWa(this,this.map)}}get oo(){return this.sz}set oo(a){a!==this.sz&&(this.sz=a,this.map&&HWa(this,this.map),sS(this),_.Tn(this,"UPDATE_BASEMAP_COLLISION"))}Bv(){if(!this.wk)return null;if(!this.dl)for(const c of qS(this)){var a=this.Bx;const {offset:d,size:e}= kVa(this,c);var b=FR(a);a=b.offsetY+d.y;b=b.offsetX+d.x;a=_.tp(b,a,b+e.width,a+e.height);this.dl?this.dl.extendByBounds(a):this.dl=a}return this.dl}get wk(){return this.tD}set wk(a){const b=this.tD==null&&!!a;this.tD=a;XWa(this,b)}tl(){return this.Fu?this.Fu.altitude:0}Qx(a,b,c){return this.ck?(c=_.NDa(this.ck.getProjection(),this.hp,c))?a/c*Math.sin(b*Math.PI/180):0:0}Ao(a,b,c){if(a){if(this.Yi){b=this.Yi;var d=b.Eg;b=(d=d.Kh?d.Kh.Jp:null)&&b.Jg&&b.Hg&&!b.Ig?lVa(d,b.Jg):null}else b=null;b&&(a=b); this.Qv=a;b=this.vs;this.vs=!(!c||!(Math.abs(a.kh)>c.kh/2+512||Math.abs(a.nh)>c.nh/2+512));b&&this.vs||(this.Yv&&this.map&&(c=_.Da(this.map),(c=dS.get(c))&&BWa(c,this)),(new _.Go(a.kh,a.nh)).equals(this.wk)||(tS(this,new _.Go(a.kh,a.nh)),this.oz(this.YB)),this.YB=!1,this.Vz=this.Wz=!0)}else this.vs=!0,this.Qv=null,tS(this,null)}oz(a){this.dl=null;this.Yi&&this.Yi.Fg&&this.Yi.oz(this.Bv());mS(this,a)}sm(a){this.qD!==a&&(this.qD=a,this.Tm.set("map",this.qD?this.map:null))}Vx(){if(!bS(this)||this.oo|| !qS(this).length)return null;var a=this.map.getProjection();if(!a)return null;a=a.fromLatLngToPoint(this.hp);const b=[];for(const f of qS(this)){a:{var c=f;var d=this.wk;var e=this.Bx;if(!d){d={size:new _.Ko(0,0),offset:new _.Go(0,0)};break a}const {size:k,offset:m}=kVa(this,c);c=FR(e);d={size:k,offset:new _.Go(c.offsetX-d.x+m.x,c.offsetY-d.y+m.y)}}const {size:g,offset:h}=d;d=new fXa(a.x,a.y,g.width,g.height,h.x,h.y);b.push(d)}return b}Rs(){}Mp(){return this}uF(a){return!this.position||this.sz?!1: iVa(a,this)}Ew(){const a=this.Mp();this.Mm?a.setAttribute("role","button"):this.title?a.setAttribute("role","img"):a.removeAttribute("role")}get al(){return this.Yi?this.Yi.al():!1}pm(){tS(this,null);kS(this);this.Wz&&this.dh&&this.ak&&(this.dh.fl(this.ak),this.ak=null);this.remove();this.Yv=!0}dispose(){if(!this.fB){this.fB=!0;try{this.ck&&(rS(this),this.pm())}finally{this.fB=!1}}}xC(a){{const c=this.Kh?.get("projectionController");if(this.Kh&&a&&c){var b=this.Kh.Jp.getBoundingClientRect();a=c.fromContainerPixelToLatLng(new _.Go(a.clientX- b.left,a.clientY-b.top))}else a=null}a&&(this.position=a)}Bn(){var a=this.Kh?.get("projectionController");if(!this.Kh||!a||!this.hp)return null;a=a.fromLatLngToContainerPixel(this.hp);const b=this.Kh.Jp.getBoundingClientRect();return{clientX:a.x+b.left,clientY:a.y+b.top}}connectedCallback(){super.connectedCallback();this.Qj.appendChild(this.Xi);this.Yi&&jS(this.Yi);if(this.isConnected&&this.parentNode){const a=CR(this);a?this.setMap(a):(rS(this),console.error("AdvancedMarkerElement: parent element must be a ."))}}disconnectedCallback(){!this.isConnected&& this.Vz&&(this.map=null);this.Yv=!0;super.disconnectedCallback()}};yS.prototype.addListener=yS.prototype.addListener;yS.prototype.addEventListener=yS.prototype.addEventListener;yS.prototype.constructor=yS.prototype.constructor;yS.Yh={bi:181577,ai:181576};_.A([_.sr({ah:"anchor-top",type:String,fh:!0}),_.B("design:type",Object),_.B("design:paramtypes",[Object])],yS.prototype,"anchorTop",null); _.A([_.sr({ah:"anchor-left",type:String,fh:!0}),_.B("design:type",Object),_.B("design:paramtypes",[Object])],yS.prototype,"anchorLeft",null);_.A([_.sr({ah:"gmp-clickable",type:Boolean,fh:!0}),_.B("design:type",Object),_.B("design:paramtypes",[Object])],yS.prototype,"gmpClickable",null);_.A([_.sr({Dh:_.Ct,Ni:_.Qp,fh:!0}),_.B("design:type",Object),_.B("design:paramtypes",[Object])],yS.prototype,"position",null); _.A([_.sr({Dh:{Wj:a=>a||"",Kj:a=>a||null},fh:!0}),_.B("design:type",String),_.B("design:paramtypes",[String])],yS.prototype,"title",null);var pXa=!1,qXa=class extends yS{constructor(a={}){super(a);if(!xS)throw Error("InternalUseAdvancedMarkerView is not allowed to be instantiated directly.");}};_.rp("gmp-internal-use-am",qXa);var zS={Marker:_.ut,CollisionBehavior:_.rt,Animation:_.oha,jJ:()=>{},Sz:function(a,b,c){const d=_.PFa();if(b instanceof _.Xo)cWa(a,b,d);else{const e=new _.xr;cWa(e,b,d);const f=new _.xr;c||uWa(f,b,d);new jXa(a,f,e,c)}},iE:function(a={}){xS=!0;a=new qXa(a);xS=!1;return a},AdvancedMarkerElement:yS,PinElement:_.lC,AdvancedMarkerClickEvent:pS,AdvancedMarkerView:void 0,PinView:void 0,connectForExplicitThirdPartyLoad:()=>{const a={AdvancedMarkerElement:yS,PinElement:_.lC,AdvancedMarkerClickEvent:pS,AdvancedMarkerView:void 0, PinView:void 0};_.Gm(a);_.ra.google.maps.marker=a;pXa||(pXa=!0,_.rp("gmp-advanced-marker",yS))}};_.Hm(zS,["jJ","Sz","iE","connectForExplicitThirdPartyLoad"]);_.Gm(zS);_.Sl("marker",zS);});