google.maps.__gjsload__('marker', function(_){var oVa=function(a,b){var c=_.jb(b);a.qh.set(c,b);a.rh.Di()},pVa=function(a,b){if(a.rh.has(b)){_.Km(b,"UPDATE_BASEMAP_COLLISION");_.Km(b,"UPDATE_MARKER_COLLISION");_.Km(b,"REMOVE_COLLISION");a.rh.delete(b);var c=a.sh;let d=_.jb(b);c.qh.has(d)&&(c.qh.delete(d),b.Tp=null,c.rh.Di());_.Jea(a.qh,b)}},qVa=function(a,b){a.rh.has(b)||(a.rh.add(b),_.Gm(b,"UPDATE_BASEMAP_COLLISION",()=>{a.th.add(b);a.wh.xv()}),_.Gm(b,"UPDATE_MARKER_COLLISION",()=>{a.wh.xv()}),_.Gm(b,"REMOVE_COLLISION",()=>{pVa(a,b)}),oVa(a.sh, b),_.Iea(a.qh,b))},rVa=function(a,b,c,d){b=_.Ax(a,b,d,e=>e);a=_.Ax(a,c,d,e=>e);return{li:b.li-a.li,ni:b.ni-a.ni,wi:d}},sVa=function(a,b){var c=c||[];_.rI(a,d=>{c.push(d)},d=>d.containsPoint(b));return c},tVa=function(a){return`${_.ida(a)}-internal-${a}`},uVa=function(a,b){b=(a=a.__e3_)&&a[b];return!!b&&Object.values(b).some(c=>c.zF)},vVa=function(a,b,c){return new _.Fm(a,`${b}_removed`,c,0,!1)},wVa=function(a,b,c){return new _.Fm(a,`${b}_added`,c,0,!1)},GN=function(a){return a?_.Mp.has(a)?_.Mp.get(a): a instanceof ShadowRoot?GN(a.host):GN(a.parentNode):null},xVa=function(a){var b=1;return()=>{--b||a()}},HN=function(a){return a instanceof _.bB},IN=function(a){return HN(a)?a.getSize():a.size},yVa=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},zVa=function(a,b){_.OE().qh.load(new _.pH(a),c=>{b(c&&c.size)})},AVa=function(a,b){a=a.getBoundingClientRect(); b=b instanceof Element?b.getBoundingClientRect():a;return{offset:new _.Dn(b.x-a.x,b.y-a.y),size:new _.Hn(b.width,b.height)}},JN=function(a){a=new DOMMatrixReadOnly(a.transform);return{offsetX:a.m41,offsetY:a.m42}},KN=function(a){var b=window.devicePixelRatio||1;return Math.round(a*b)/b},BVa=function(a,{clientX:b,clientY:c}){var {height:d,left:e,top:f,width:g}=a.getBoundingClientRect();return{Xh:KN(b-(e+g/2)),Zh:KN(c-(f+d/2))}},CVa=function(a,b){if(!a||!b)return null;a=a.getProjection();return _.iw(b, a)},DVa=function(a,b){var c=_.VH(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},LN=function(a,b){if(a.bounds.containsPoint(b.Tj))if(a.children)for(let c=0;c<4;++c)LN(a.children[c],b);else a.items.push(b),a.items.length>10&&a.depth<30&&a.split()},FVa=function(a,b){return new EVa(a,b)},GVa=function(a,b,c,d){var e=b.fromPointToLatLng(c,!0);c=e.lat();e=e.lng();var f=b.fromPointToLatLng(new _.Dn(a.minX,a.minY),!0);a=b.fromPointToLatLng(new _.Dn(a.maxX, a.maxY),!0);b=Math.min(f.lat(),a.lat());var g=Math.min(f.lng(),a.lng()),h=Math.max(f.lat(),a.lat());for(f=Math.max(f.lng(),a.lng());f>180;)f-=360,g-=360,e-=360;for(;g<180;){a=_.$n(b,g,h,f);let k=new _.rm(c,e,!0);d(a,k);g+=360;f+=360;e+=360}},HVa=function(a,b){var c=[];c.push("@-webkit-keyframes ",b," {\n");_.wc(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.vo,"; ");c.push("}\n")}); c.push("}\n");return c.join("")},IVa=function(a,b){for(let c=0;c=a.frames[c].time&&b"stylers"in e)&&_.M(a,174113);KVa(b)&&_.M(a,149062);b.get("anchorPoint")&&_.M(a,149064);c=b.get("animation");c===1&&_.M(a,149065);c===2&&_.M(a,149066);b.get("clickable")===!1&&(_.M(a,149091),b.get("title")&&_.M(a,149063));b.get("draggable")&& (_.M(a,149069),b.get("clickable")===!1&&_.M(a,149070));b.get("visible")===!1&&_.M(a,149081);b.get("crossOnDrag")&&_.M(a,149067);b.get("cursor")&&_.M(a,149068);b.get("label")&&_.M(a,149080);b.get("title")&&_.M(a,149090);b.get("opacity")!=null&&_.M(a,149082);b.get("optimized")===!0?_.M(a,149085):b.get("optimized")===!1&&_.M(a,149071);b.get("zIndex")!=null&&_.M(a,149092);c=b.get("icon");var d=new NN;(d=!c||c===d.icon.url||c.url===d.icon.url)?_.M(a,173084):_.M(a,173083);typeof c==="string"?_.M(a,149079): c&&c.url!=null?(c.anchor&&_.M(a,149074),c.labelOrigin&&_.M(a,149075),c.origin&&_.M(a,149076),c.scaledSize&&_.M(a,149077),c.size&&_.M(a,149078)):c&&c.path!=null?(c=c.path,c===0?_.M(a,149088):c===1?_.M(a,149072):c===2?_.M(a,149073):c===3?_.M(a,149086):c===4?_.M(a,149087):_.M(a,149089)):HN(c)&&_.M(a,149083);b.get("shape")&&(_.M(a,149084),d&&_.M(a,162762));if(c=b.get("place"))c.placeId?_.M(a,149093):_.M(a,149094),b.get("attribution")&&_.M(a,149061)}},NVa=function(a,b,c){MVa(a,c,d=>{a.set(b,d);var e=d? IN(d):null;b==="viewIcon"&&d&&e&&a.qh&&a.qh(e,d.anchor,d.labelOrigin);d=a.get("modelLabel");a.set("viewLabel",d?{text:d.text||d,color:_.Gl(d.color,"#000000"),fontWeight:_.Gl(d.fontWeight,""),fontSize:_.Gl(d.fontSize,"14px"),fontFamily:_.Gl(d.fontFamily,"Roboto,Arial,sans-serif"),className:d.className||""}:null)})},MVa=function(a,b,c){b?HN(b)?c(b):b.path!=null?c(a.rh(b)):(_.Hl(b)||(b.size=b.size||b.scaledSize),b.size?c(b):(b.url||(b={url:b}),zVa(b.url,d=>{b.size=d||new _.Hn(24,24);c(b)}))):c(null)}, OVa=function(a){var b=a.get("mapPixelBoundsQ"),c=a.get("icon"),d=a.get("position");if(!b||!c||!d)return a.get("visible")!==!1;var e=c.anchor||_.Qn,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.co}`;a.style.webkitAnimationName=b||""})},RVa=function(){var a=[];for(let b=0;b{}});a.qh=WN(a,b,a.qh,c,e);XVa(a,c,XN(a))}},bWa=function(a){var b= a.getLabel();if(b){if(!a.wh){let e=a.wh=new ZVa(a.getPanes(),b,a.get("opacity"),a.get("visible"),a.ui);a.Wh=[_.Gm(a,"label_changed",()=>{e.setLabel(a.get("label"))}),_.Gm(a,"opacity_changed",()=>{e.setOpacity(a.get("opacity"))}),_.Gm(a,"panes_changed",()=>{var f=a.get("panes");e.nn=f;ON(e);e.rh.Di()}),_.Gm(a,"visible_changed",()=>{e.setVisible(a.get("visible"))})]}if(b=a.getIcon()){var c=a.qh,d=XN(a);c=$Va(a,b,d,RN(c)||_.Qn);d=IN(b);d=b.labelOrigin||new _.Dn(d.width/2,d.height/2);HN(b)&&(b=b.getSize().width, d=new _.Dn(b/2,b/2));PVa(a.wh,new _.Dn(c.x+d.x,c.y+d.y));a.wh.setZIndex(aWa(a));_.ep(a.wh.rh)}}},dWa=function(a){if(!a.Gh){a.sh&&(a.Ah&&_.Im(a.Ah),a.sh.cancel(),a.sh=null);var b=a.get("animation");if(b=cWa[b]){var c=b.options;a.qh&&(a.Gh=!0,a.set("animating",!0),b=WVa(a.qh,b.icon,c),a.sh=b,a.Ah=_.Pm(b,"done",()=>{a.set("animating",!1);a.sh=null;a.set("animation",null)}))}}},SN=function(a){if(a)for(let b=0,c=a.length;b{a.Hh=!1;TN(a);_.ep(a.xh)},0);_.Iw(c);_.Sm(a,"mouseup",c.qh)},Rl:({event:c,Rr:d})=>{if(a.get("clickable")!==!1||a.getDraggable())_.Hv(c.qh), c.button===3?d||c.button===3&&_.Sm(a,"rightclick",c.qh):d?_.Sm(a,"dblclick",c.qh):(_.Sm(a,"click",c.qh),_.M(window,171150))},sw:c=>{_.Jw(c);_.Sm(a,"contextmenu",c.qh)}}),a.zh=new _.EA(b,b,{Vu(c){_.Sm(a,"mouseout",c)},Wu(c){_.Sm(a,"mouseover",c)}}))},eWa=function(a,b,c,d){c=c||_.$v("div",b);_.Ip(c);b===a.getPanes().overlayMouseTarget?(b=d.element.cloneNode(!0),_.bF(b,0),c.appendChild(b)):c.appendChild(d.element);b=d.getSize();c.style.width=_.Fn(b);c.style.height=_.Gn(b);c.style.pointerEvents="none"; c.style.userSelect="none";_.Pm(d,"changed",()=>{a.rh()});return c},ZN=function(a){var b=a.marker.get("place");a=a.marker.get("position");return b&&b.location||a},$N=function(a,b){a.th&&a.th.has(b)&&({marker:a}=a.th.get(b),b.Eo=gWa(a),b.Eo&&(b=a.getMap())&&_.M(b,184438))},iWa=function(a,b){if(a.th){var {RH:c,marker:d}=a.th.get(b);for(let e of hWa)c.push(wVa(d,e,()=>{$N(a,b)})),c.push(vVa(d,e,()=>{!gWa(d)&&b.Eo&&$N(a,b)}))}},jWa=function(a){var b=a.rh.__gm;a.qh.bindTo("mapPixelBounds",b,"pixelBounds"); a.qh.bindTo("panningEnabled",a.rh,"draggable");a.qh.bindTo("panes",b)},kWa=function(a){var b=a.rh.__gm;_.Gm(a.Ah,"dragging_changed",()=>{b.set("markerDragging",a.marker.get("dragging"))});b.set("markerDragging",b.get("markerDragging")||a.marker.get("dragging"))},mWa=function(a){a.xh.push(_.Rm(a.qh,"panbynow",a.rh.__gm));lWa.forEach(b=>{a.xh.push(_.Gm(a.qh,b,c=>{var d=a.Bh?ZN(a):a.marker.get("internalPosition");c=new _.FA(d,c,a.qh.get("position"));_.Sm(a.marker,b,c)}))})},nWa=function(a){var b=()=> {a.marker.get("place")?a.qh.set("draggable",!1):a.qh.set("draggable",!!a.marker.get("draggable"))};a.xh.push(_.Gm(a.Ah,"draggable_changed",b));a.xh.push(_.Gm(a.Ah,"place_changed",b));b()},oWa=function(a){a.xh.push(_.Gm(a.rh,"projection_changed",()=>{aO(a)}));a.xh.push(_.Gm(a.Ah,"position_changed",()=>{aO(a)}));a.xh.push(_.Gm(a.Ah,"place_changed",()=>{aO(a)}))},qWa=function(a){a.xh.push(_.Gm(a.qh,"dragging_changed",()=>{if(a.qh.get("dragging"))a.Fh=a.wh.Yo(),a.Fh&&_.xI(a.wh,a.Fh);else{a.Fh=null;a.Eh= null;var b=a.wh.getPosition();if(b&&(b=_.kq(b,a.rh.get("projection")),b=pWa(a,b))){let c=_.iw(b,a.rh.get("projection"));a.marker.get("place")||(a.Dh=!1,a.marker.set("position",b),a.Dh=!0);a.wh.setPosition(c)}}}));a.xh.push(_.Gm(a.qh,"deltaclientposition_changed",()=>{var b=a.qh.get("deltaClientPosition");if(b&&(a.Fh||a.Eh)){var c=a.Eh||a.Fh;a.Eh={clientX:c.clientX+b.clientX,clientY:c.clientY+b.clientY};b=a.Sh.Bn(a.Eh);b=_.kq(b,a.rh.get("projection"));c=a.Eh;var d=pWa(a,b);d&&(a.marker.get("place")|| (a.Dh=!1,a.marker.set("position",d),a.Dh=!0),d.equals(b)||(b=_.iw(d,a.rh.get("projection")),c=a.wh.Yo(b)));c&&_.xI(a.wh,c)}}))},rWa=function(a){if(a.sh){a.qh.bindTo("scale",a.sh);a.qh.bindTo("position",a.sh,"pixelPosition");let b=a.rh.__gm;a.sh.bindTo("latLngPosition",a.marker,"internalPosition");a.sh.bindTo("focus",a.rh,"position");a.sh.bindTo("zoom",b);a.sh.bindTo("offset",b);a.sh.bindTo("center",b,"projectionCenterQ");a.sh.bindTo("projection",a.rh)}},tWa=function(a){if(a.sh){let b=new sWa(a.rh instanceof _.On);b.bindTo("internalPosition",a.sh,"latLngPosition");b.bindTo("place",a.marker);b.bindTo("position",a.marker);b.bindTo("draggable",a.marker);a.qh.bindTo("draggable",b,"actuallyDraggable")}},aO=function(a){if(a.Dh){var b=ZN(a);b&&a.wh.setPosition(_.iw(b,a.rh.get("projection")))}},pWa=function(a,b){var c=a.rh.__gm.get("snappingCallback");return c&&(a=c({latLng:b,overlay:a.marker}))?a:b},gWa=function(a){return hWa.some(b=>uVa(a,b))},vWa=function(a,b,c){if(b instanceof _.gn){let d=b.__gm;Promise.all([d.rh, d.sh]).then(([{Sh:e},f])=>{uWa(a,b,c,e,f)})}else uWa(a,b,c,null)},uWa=function(a,b,c,d,e=!1){var f=new Map,g=h=>{var k=b instanceof _.gn,m=k?h.__gm.qt.map:h.__gm.qt.streetView,p=m&&m.rh===b,q=p!==a.contains(h);m&&q&&(k?(h.__gm.qt.map.dispose(),h.__gm.qt.map=null):(h.__gm.qt.streetView.dispose(),h.__gm.qt.streetView=null));!a.contains(h)||!k&&h.get("mapOnly")||p||(b instanceof _.gn?(k=b.__gm,h.__gm.qt.map=new wWa(h,b,c,_.pI(k,h),d,k.Hh,f)):h.__gm.qt.streetView=new wWa(h,b,c,_.nl,null,null,null),LVa(b, h,e))};_.Gm(a,"insert",g);_.Gm(a,"remove",g);a.forEach(g)},bO=function(a){return _.Cw()/(a.webkitBackingStorePixelRatio||a.mozBackingStorePixelRatio||a.msBackingStorePixelRatio||a.oBackingStorePixelRatio||a.backingStorePixelRatio||1)},xWa=function(a,b,c){a=a.qh;a.width=b;a.height=c;return a},yWa=function(a){var b=[];a.Oj.forEach(c=>{b.push(c)});b.sort((c,d)=>c.zIndex-d.zIndex);return b},zWa=function(a){var b=yWa(a),c=a.getContext(),d=bO(c);a=a.Ci.size;c.clearRect(0,0,Math.ceil(a.Xh*d),Math.ceil(a.Zh* d));b.forEach(e=>{c.globalAlpha=_.Gl(e.opacity,1);c.drawImage(e.image,e.sx,e.sy,e.dC,e.WB,Math.round(e.dx*d),Math.round(e.dy*d),e.Cs*d,e.zs*d)})},AWa=function(a,b,c){if(c.dx>a||c.dy>b||c.dx+c.Csg.push(h));g.sort((h,k)=>k.zIndex-h.zIndex);c=null;for(e=0;d=g[e];++e){f=d.Sy;if(f.clickable===!1)continue;f=f.uD;if(AWa(a.x,a.y,d)){c=f;break}}c&&(b.Bk=d);return c},CWa=function(a,b){if(!b.iE){b.iE=!0;var c=_.jq(a.get("projection")),d=b.fw;if(d){d.dx<-64||d.dy< -64||d.dx+d.Cs>64||d.dy+d.zs>64?(_.gp(a.sh,b),d=a.rh.search(_.bs)):(d=b.latLng,d=new _.Dn(d.lat(),d.lng()),b.Tj=d,LN(a.th,{Tj:d,marker:b}),d=sVa(a.rh,d));for(let f=0,g=d.length;f{delete b.Oj[c];d.Am.Oj.remove(d)}))},EWa=function(a,b){a.tiles[_.Tm(b)]=b;var c={li:b.uj.x,ni:b.uj.y,wi:b.zoom}, d=_.jq(a.get("projection")),e=_.zx(a.Ci,c);e=new _.Dn(e.qh,e.rh);var {min:f,max:g}=_.QAa(a.Ci,c,64/a.Ci.size.Xh);c=_.$n(f.qh,f.rh,g.qh,g.rh);GVa(c,d,e,(h,k)=>{h.sK=k;h.Am=b;b.yK[_.Tm(h)]=h;_.qI(a.rh,h);var m=(a.th.search(h)||[]).map(p=>p.marker);a.sh.forEach(p=>{m.push(p)});for(let p=0,q=m.length;p{b.Oj.remove(c);delete c.Sy.Oj[_.Tm(c)]}), _.zl(b.yK,(c,d)=>{a.rh.remove(d)}))},BWa=function(a,b,c,d,e){if(!(e&&c&&d.latLng&&b))return null;var f=e.fromLatLngToPoint(c);c=e.fromLatLngToPoint(d.latLng);if(!c||!f)return null;e=a.Ci.size;a=rVa(a.Ci,new _.zp(c.x,c.y),new _.zp(f.x,f.y),b.zoom);c.x=a.li*e.Xh;c.y=a.ni*e.Zh;a=d.zIndex;_.El(a)||(a=c.y);a=Math.round(a*1E3)+Number(_.Tm(d))%1E3;f=d.fw;b={image:f.image,sx:f.sx,sy:f.sy,dC:f.dC,WB:f.WB,dx:f.dx+c.x,dy:f.dy+c.y,Cs:f.Cs,zs:f.zs,zIndex:a,opacity:d.opacity,Am:b,Sy:d};return b.dx>e.Xh||b.dy>e.Zh|| b.dx+b.Cs<0||b.dy+b.zs<0?null:b},GWa=function(a){return typeof a==="string"?(dO.has(a)||dO.set(a,{url:a}),dO.get(a)):a},MWa=function(a,b,c){var d=new _.Xp,e=new _.Xp,f=new HWa;new IWa(a,d,new NN,f,c);var g=_.Wv(b.getDiv()).createElement("canvas"),h={};a=_.$n(-100,-300,100,300);var k=new _.eJ(a);a=_.$n(-90,-180,90,180);var m=FVa(a,(z,B)=>z.marker===B.marker),p=null,q=null,u=new _.Mn(null),x=b.__gm;x.rh.then(z=>{x.zh.register(new JWa(h,x,u,z.Sh.topology));_.Tu(z.Gv,B=>{if(B&&p!==B.Ci){q&&q.unbindAll(); var L=p=B.Ci;q=new KWa(h,d,e,function(O,U){return new LWa(U,new eO(O,U,g,L),O)},k,m,p);q.bindTo("projection",b);u.set(q.qh())}})});_.zI(b,u,"markerLayer",-1)},OWa=function(a){a.sv||(a.sv=_.QE(()=>{a.sv=0;var b=a.Vx;a.Vx={};var c=a.kz;for(let d of Object.values(b))NWa(a,d);c&&!a.kz&&a.Qv.forEach(d=>{NWa(a,d)})}))},NWa=function(a,b){var c=b.get("place");c=c?c.location:b.get("position");b.set("internalPosition",c);b.changed=a.YO;if(!b.get("animating"))if(a.EF.remove(b),!c||b.get("visible")==0||b.__gm&& b.__gm.Tp)a.Qv.remove(b);else{a.kz&&!a.SH&&a.Qv.getSize()>=256&&(a.kz=!1);c=b.get("optimized");let e=b.get("draggable"),f=!!b.get("animation");var d=b.get("icon");let g=!!d&&d.path!=null;d=HN(d);let h=b.get("label")!=null;a.SH||c==0||e||f||g||d||h||!c&&a.kz?_.gp(a.Qv,b):(a.Qv.remove(b),_.gp(a.EF,b))}},PWa=function(a,b){var c=new _.Lo;c.onAdd=()=>{};c.onContextLost=()=>{};c.onRemove=()=>{};c.onContextRestored=()=>{};c.onDraw=({transformer:d})=>{a.onDraw(d)};_.Hs.add(c);c.setMap(b);return c},QWa=function(a){a.yh|| (a.yh=setTimeout(()=>{var b=[...a.th].filter(c=>!c.Tq).length;b>0&&a.ri.Mh(a.map,b);a.yh=0},0))},TWa=function(a,b){a.wh.has(b)||(a.wh.add(b),_.jw(_.kw(),()=>{if(a.map){var c=[];for(let d of a.wh){if(!d.map)continue;let e=d.targetElement;e.parentNode||c.push(d);let f=d.Tp!==!1&&fO(d)||d.Ku,g=_.hn(a.map);g||(a.zh||(a.zh=a.rh.attachShadow({mode:_.op[166]?"open":"closed"}),a.zh.append(a.xh,a.qh)),a.rh.append(e));g&&e.parentElement===g||!g&&e.parentElement===a.rh?e.setAttribute("slot",f?RWa:SWa):e.style.visibility= f?"hidden":"";d.Mn(!f);d.Vy=!1}a.wh.clear();for(let d of c)d.jC(!0)}}))},UWa=function(a){gO||(gO=new ResizeObserver(b=>{for(let c of b)c.target.dispatchEvent(new CustomEvent("marker-resize",{detail:c.contentRect}))}));gO.observe(a)},XWa=function(a,b){var c=_.jb(b),d=hO.get(c);d||(d=new VWa(b),hO.set(c,d));b=d;WWa(a,b.To);b.th.add(a);QWa(b);UWa(a.targetElement)},YWa=function(a){a=_.jb(a);(a=hO.get(a))&&a.requestRedraw()},ZWa=function(a,b){b=_.jb(b);(b=hO.get(b))&&TWa(b,a)},$Wa=function(a){var b=0, c=0;for(let 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}},jO=function(a,b,c=!0){a.qh.position=a.Eh;iO(a,b,c)},iO=function(a,b,c=!0){b.preventDefault();b.stopImmediatePropagation();kO(a);aXa(a);a.rh&&(a.rh.release(),a.rh=null);c&&lO(a,"dragend",b)},mO=function(a,b){if(b){a.sh.style.display="";b=a.qh.anchorTop||"-100%";let c=a.qh.anchorLeft||"-50%";b==="0"&&(b="0px");c==="0"&&(c="0px");a.sh.style.left= `calc(-1 * ${c})`;a.sh.style.top=`calc(-1 * ${b})`}else a.sh.style.display="none"},cXa=function(a){a.sh.style.opacity="0.5";a.sh.style.position="absolute";mO(a,!1);a.sh.style.transform="translate(-50%, -50%)";a.sh.style.zIndex="-1";bXa(a);var b=a.qh.Lp;b.addEventListener("pointerenter",a.Jh);b.addEventListener("pointerleave",a.Lh);b.addEventListener("focus",a.Jh);b.addEventListener("blur",a.Lh)},dXa=function(a,b=!1){return a.th?_.ly:b?"pointer":_.Boa},nO=function(a){var b=a.qh.Lk;b&&b.appendChild(a.sh)}, bXa=function(a){a.sh.children[0]?.remove();var b=a.qh,c;if(!(c=b.dragIndicator)){if(!b.Sx){let {url:d,scaledSize:e}=(new NN).qh;b.Sx=new Image(e.width,e.height);b.Sx.src=d;b.Sx.alt=""}c=b.Sx}a.sh.appendChild(c);nO(a)},fXa=function(a){if(!a.qh.mD){a.rh=new _.fJ((c,d)=>{var e=a.qh;e.Ji&&_.Sm(e.Ji,"panbynow",c,d)});_.wI(a.rh,!0);var b=eXa(a.qh);_.vI(a.rh,b);a.rh.th=a.wh}},gXa=function(a,b){kO(a);a.wh=!1;a.rh&&(a.rh.th=!1);a.xh=a.qh.Yo();a.Bh=_.VH(b)},hXa=function(a,b){var c=_.VH(b);if(c){b=c.clientX; c=c.clientY;var d=b-a.Bh.clientX,e=c-a.Bh.clientY;a.Bh={clientX:b,clientY:c};b={clientX:a.xh.clientX+d,clientY:a.xh.clientY+e};a.xh=b;a.qh.uF(b)}},lO=function(a,b,c){iXa(a.qh,b,c);a.qh.Lp.dispatchEvent(new Event(`gmp-${b}`,{bubbles:!0}))},jXa=function(a,b){a.xh=a.qh.Yo();a.Eh=a.qh.position;a.Bh=_.VH(b);a.th=!0;fXa(a);a.qh.Lp.setAttribute("aria-grabbed","true");oO(a.qh);a.qh.Lp.style.zIndex="2147483647";a.sh.style.opacity="1";mO(a,!0);lO(a,"dragstart",b)},kXa=function(a){a.wh&&(a.xh=a.qh.Yo())},pO= function(a){var b=a.Wh;_.Uw!==2?(b.removeEventListener("pointermove",a.Gh),b.removeEventListener("pointerup",a.yh),b.removeEventListener("pointercancel",a.yh)):(b.removeEventListener("touchmove",a.Gh,{passive:!1}),b.removeEventListener("touchend",a.yh),b.removeEventListener("touchcancel",a.yh),b.removeEventListener("touchstart",a.yh));kO(a);aXa(a);a.rh&&(a.rh.release(),a.rh=null)},kO=function(a){var b=a.qh.Lp;b.removeEventListener("keydown",a.ii);b.removeEventListener("keyup",a.pi);b.removeEventListener("blur", a.ai)},lXa=function(a){if(a.Fh.size===0)a.Dh=0;else{var {deltaX:b,deltaY:c}=$Wa(a.Fh),d=1;_.cI(a.Oh)&&(d=a.Oh.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.xh.clientX+e,clientY:a.xh.clientY+d};a.xh=e;a.qh.uF(e);a.Dh=window.setTimeout(()=>{lXa(a)},10)}},aXa=function(a){a.th=!1;a.wh=!1;a.Bh=null;a.xh=null;clearTimeout(a.Dh);a.Dh=0;a.Eh=null;a.Mh=null;a.Ah=null;var b=a.qh.Lp,c=a.qh.zIndex;a.sh.style.opacity="0.5";b.setAttribute("aria-grabbed","false");b.style.zIndex= c==null?"":`${c}`;mXa(a.qh)},WWa=function(a,b){a.pD=b;if(a.nx){var c=a.getAttribute("aria-describedby");c=c?c.split(" "):[];c.push(b);a.setAttribute("aria-describedby",c.join(" "))}},fO=function(a){return a.collisionBehavior!=="REQUIRED"&&!a.Zk&&!!a.map&&!!a.position},eXa=function(a){return a.Ji?a.Ji.get("pixelBounds"):null},oO=function(a){_.Sm(a,"REMOVE_COLLISION")},mXa=function(a){a.style.cursor=a.Vj?dXa(a.Vj,a.Ey):a.Ey?"pointer":""},qO=function(a,b=!1){fO(a)&&(a.Ji&&qVa(a.Ji.Oh,a),_.Sm(a,"UPDATE_MARKER_COLLISION"), b&&a.Vz&&_.Sm(a,"UPDATE_BASEMAP_COLLISION"))},iXa=function(a,b,c){_.Sm(a,b,new _.FA(a.Wq,c,a.Ly?new _.Dn(a.Ly.Xh,a.Ly.Zh):null))},nXa=function(a){a.up.then(()=>{_.rq(a,"marker-view");a.style.position="absolute";a.style.left="0px"})},oXa=function(a){if(a.ao.get("isOpen")){var {width:b}=a.getBoundingClientRect();a.ao.set("anchorPoint",new _.Dn(b?b/2:0,0))}},rO=function(a){a.style.pointerEvents=a.lB?"none":a.DI?"auto":""},sO=function(a){a.Eo=a.Ey||!!a.nx},pXa=function(a,b=!1){if(a.Ku||!a.vl)a.ao.set("pixelPosition", null);else if(a.ao.get("isOpen"))if(b)requestAnimationFrame(()=>{var {offsetX:c,offsetY:d}=JN(a.rA);a.ao.set("pixelPosition",new _.Dn(c,d))});else{let {offsetX:c,offsetY:d}=JN(a.rA);a.ao.set("pixelPosition",new _.Dn(c,d))}},qXa=function(a,b){var c;if(c=a.Vj)c=a.Vj,c=c.Ah&&b.timeStamp-c.Ah>=500?!0:c.zh;if(!c&&a.Wq){a.gmpDraggable||a.focus();iXa(a,"click",b);if(a.gmpClickable||_.Hm(a,"gmp-click"))c=new tO,_.Sm(a,"gmp-click",c),a.dispatchEvent(c);a.ri.zh(b)}},rXa=function(a){!a.Cj&&a.map&&a.Ji&&(a.yF= !0,a.Cj=_.Vw(a,{Rl:({event:b,Rr:c})=>{a.DI?(_.Hv(b.qh),b.button===3||c||qXa(a,b.qh)):a===b.qh.target||a.lB||(console.debug('To make AdvancedMarkerElement clickable and provide better accessible experiences, use addListener() to register a "click" event on the AdvancedMarkerElement instance.'),a.ri.Bh(a.map))}}),a.Mq=_.Ioa({draggable:a.sI,vH:new _.WA(a.map,"gestureHandling"),Pl:a.Ji.fn,Br:a}),_.Tu(a.Mq,a.VH),a.yF=!1)},uO=function(a){var b=c=>c.nodeType===Node.TEXT_NODE&&c.nodeValue!=null&&!/\S/.test(c.nodeValue); return a.childNodes.length>0?([...a.childNodes].every(b)&&_.Am(_.Co(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.Ml&&a.Ml.contains(a.sj)?[a.sj]:[]},sXa=function(a,b,c){if(b&&c&&({altitude:b}=new _.ko(b),b>0||b<0))throw a.ri.Dh(window),_.Vl("Draggable AdvancedMarkerElement with non-zero altitude is not supported");},vO=function(a){if(a.pl){let b=_.jb(a.pl),c= hO.get(b);c&&(c.th.delete(a),c.isEmpty()&&(c.dispose(),hO.delete(b)));gO&&gO.unobserve(a.targetElement);_.Sm(a,"REMOVE_FOCUS");_.Sm(a,"REMOVE_COLLISION");a.Sh&&(a.bl&&(a.Sh.zm(a.bl),a.bl=null),a.Sh=null);a.Vj&&pO(a.Vj);a.QG?.remove();a.UK?.remove();a.AJ?.remove();a.YI?.remove();a.Mq?.removeListener(a.VH);a.Cj&&(a.Cj.remove(),a.Cj=null);a.ao.set("map",null);a.Vz=null;a.Ji=null;a.pl=null;a.Vy=!0}},wO=function(a){if(a.Ji&&!a.Zk){var b=a.Ji.Hh;b&&(a.Eo&&a.vl&&!a.Tp?b.Oh(a):_.Sm(a,"REMOVE_FOCUS"))}},uXa= function(a){var b=a.Ji.get("baseMapType");b=b&&(!b.mapTypeId||!Object.values(_.rr).includes(b.mapTypeId));a.Vz=a.FI&&!b;if(!a.Tq||a.position)a.Vz?YWa(a.map):tXa(a)},vXa=function(a){if(!a.Tq){var b=a.Ji.qh;b.xE.then(()=>{var c=_.Ho(b,"ADVANCED_MARKERS");if(!c.isAvailable){a.Ji&&a.Ji.pi();for(let d of c.qh)b.log(d);a.ri.Ah(a.map);a.dispose()}})}},wXa=function(a){a.ri.Jh(a.map);a.ri.th(a.map,a.lB);if(a.Ey){let b=_.Hm(a,"gmp-click");a.ri.rh(a.map,b)}a.gmpDraggable&&a.ri.wh(a.map);a.title&&a.ri.xh(a.map); a.zIndex!==null&&a.ri.yh(a.map);a.Km()>0&&a.ri.qh(a.map);a.ri.sh(a.map,a.collisionBehavior)},xO=function(a,b){a.Vj&&kXa(a.Vj);if(b){a.style.transform=`${`translate(${a.anchorLeft||"-50%"}, ${a.anchorTop||"-100%"})`} ${`translate(${b.x}px, ${b.y}px)`}`;let c=a.style.willChange?a.style.willChange.replace(/\s+/g,"").split(","):[];c.includes("transform")||_.jw(_.kw(),()=>{c.push("transform");a.style.willChange=c.join(",")},a,a)}a.kG=b?Math.round(b.y):null;xXa(a);a.vl=b;wO(a)},xXa=function(a){a.style.zIndex= a.sC!=null?`${a.sC}`:a.kG!=null?`${a.kG}`:""},tXa=function(a){var b=CVa(a.pl,a.Wq);a.bl?a.bl.setPosition(b,a.Km()):a.Sh&&(b=new _.hJ(a.Sh.topology,a,b,a.Sh,null,a.Km(),a.kN),a.Sh.Rj(b),a.bl=b)};_.Dn.prototype.uB=_.fa(22,function(){return Math.sqrt(this.x*this.x+this.y*this.y)}); var hWa=["click","dblclick","rightclick","contextmenu"],yXa=class extends _.Um{constructor(){super();this.constraint=0;this.qh=!1}position_changed(){this.qh||(this.qh=!0,this.set("rawPosition",this.get("position")),this.qh=!1)}rawPosition_changed(){if(!this.qh){this.qh=!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 _.Dn(b,c)}else b=null; a.call(this,"position",b);this.qh=!1}}},zXa=class{constructor(a,b,c,d,e=0,f=0){this.width=c;this.height=d;this.offsetX=e;this.offsetY=f;this.rh=new Float64Array(2);this.rh[0]=a;this.rh[1]=b;this.qh=new Float32Array(2)}transform(a){a.Xw(1,this.rh,this.qh,0,0,0);this.qh[0]+=this.offsetX;this.qh[1]+=this.offsetY}isVisible(a){return this.qh[0]>=-this.width&&this.qh[0]<=a.width+this.width&&this.qh[1]>=-this.height&&this.qh[1]<=a.height+this.height}equals(a){return this.rh[0]===a.rh[0]&&this.rh[1]===a.rh[1]&& this.width===a.width&&this.height===a.height&&this.offsetX===a.offsetX&&this.offsetY===a.offsetY}sh(a){return this.qh[0]>a.right||this.qh[0]+this.widtha.bottom||this.qh[1]+this.height>1],c[(e&1)+1],a[(e>>1)+1]);b.push(new EVa(f,this.qh,d))}b=this.items;delete this.items;for(let e=0,f=b.length;ea,["ease-out"]:a=>1-Math.pow(a-1,2),["ease-in"]:a=>Math.pow(a,2)},yO=class{constructor(a){this.frames=a;this.qh=""}},MN;var cWa={[1]:{options:{duration:700,co:"infinite"},icon:new yO([{time:0,translate:[0,0],vo:"ease-out"},{time:.5,translate:[0,-20],vo:"ease-in"},{time:1,translate:[0,0],vo:"ease-out"}])},[2]:{options:{duration:500,co:1},icon:new yO([{time:0,translate:[0,-500],vo:"ease-in"},{time:.5,translate:[0,0],vo:"ease-out"},{time:.75,translate:[0,-20],vo:"ease-in"},{time:1,translate:[0,0],vo:"ease-out"}])},[3]:{options:{duration:200,uB:20,co:1,CK:!1},icon:new yO([{time:0,translate:[0,0],vo:"ease-in"},{time:1, translate:[0,-20],vo:"ease-out"}])},[4]:{options:{duration:500,uB:20,co:1,CK:!1},icon:new yO([{time:0,translate:[0,-20],vo:"ease-in"},{time:.5,translate:[0,0],vo:"ease-out"},{time:.75,translate:[0,-10],vo:"ease-in"},{time:1,translate:[0,0],vo:"ease-out"}])}};var NN=class{constructor(){this.icon={url:_.Dw("api-3/images/spotlight-poi3",!0),scaledSize:new _.Hn(26,37),origin:new _.Dn(0,0),anchor:new _.Dn(13,37),labelOrigin:new _.Dn(13,14)};this.rh={url:_.Dw("api-3/images/spotlight-poi-dotless3",!0),scaledSize:new _.Hn(26,37),origin:new _.Dn(0,0),anchor:new _.Dn(13,37),labelOrigin:new _.Dn(13,14)};this.qh={url:_.Dw("api-3/images/drag-cross",!0),scaledSize:new _.Hn(13,11),origin:new _.Dn(0,0),anchor:new _.Dn(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 AXa=class extends _.Um{constructor(a,b){super();this.rh=a;this.qh=b;zO||(zO=new NN)}changed(a){a!=="modelIcon"&&a!=="modelShape"&&a!=="modelCross"&&a!=="modelLabel"||_.jw(_.kw(),this.sh,this,this)}sh(){var a=this.get("modelIcon"),b=this.get("modelLabel");NVa(this,"viewIcon",a||b&&zO.rh||zO.icon);NVa(this,"viewCross",zO.qh);b=this.get("useDefaults");var c=this.get("modelShape");c||a&&!b||(c=zO.shape);this.get("viewShape")!==c&&this.set("viewShape",c)}},zO;var BXa=class extends _.Um{constructor(){super();this.rh=!1;this.qh=OVa(this);this.set("shouldRender",this.qh)}changed(){if(!this.rh){var a=OVa(this);this.qh!==a&&(this.qh=a,this.rh=!0,this.set("shouldRender",this.qh),this.rh=!1)}}};var sWa=class extends _.Um{constructor(a){super();this.rh=a;this.qh=!1}internalPosition_changed(){if(!this.qh){this.qh=!0;var a=this.get("position"),b=this.get("internalPosition");a&&b&&!a.equals(b)&&this.set("position",this.get("internalPosition"));this.qh=!1}}draggable_changed(){if(!this.qh){this.qh=!0;if(this.rh){let 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.qh=!1}}position_changed(){this.draggable_changed()}place_changed(){this.draggable_changed()}};var ZVa=class{constructor(a,b,c,d,e){this.nn=a;this.label=b;this.opacity=c;this.visible=d;this.origin=void 0;this.zIndex=0;this.th=this.wh=this.qh=null;this.rh=new _.dp(this.xh,0,this);this.sh=e;this.nn=a;this.label=b;this.opacity=c;this.visible=d}setOpacity(a){this.opacity=a;this.rh.Di()}setLabel(a){this.label=a;this.rh.Di()}setVisible(a){this.visible=a;this.rh.Di()}setZIndex(a){this.zIndex=a;this.rh.Di()}release(){this.nn=null;ON(this)}xh(){if(this.nn&&this.label&&this.visible!==!1){var a=this.nn.markerLayer, b=this.label;this.qh?a.appendChild(this.qh):(this.qh=document.createElement("div"),a.appendChild(this.qh),this.qh.style.transform="translateZ(0)");a=this.qh;this.origin&&_.Zv(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||_.$v("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.sh&&b!==this.th){this.th=b;let {width:e,height:f}=c.getBoundingClientRect();b=new _.Hn(e,f);b.equals(this.wh)||(this.wh=b,this.sh(b))}_.bF(c,_.Gl(this.opacity,1));_.aw(a,this.zIndex)}else ON(this)}};var UVa=class{constructor(a,b,c){this.element=a;this.animation=b;this.options=c;this.rh=!1;this.qh=null}start(){this.options.co=this.options.co||1;this.options.duration=this.options.duration||1;_.Nm(this.element,"webkitAnimationEnd",()=>{this.rh=!0;_.Sm(this,"done")});QVa(this.element,JVa(this.animation),this.options)}cancel(){this.qh&&(this.qh.remove(),this.qh=null);QVa(this.element,null,{});_.Sm(this,"done")}stop(){this.rh||(this.qh=_.Nm(this.element,"webkitAnimationIteration",()=>{this.cancel()}))}};var PN=[],QN=null,VVa=class{constructor(a,b,c){this.element=a;this.animation=b;this.co=-1;this.qh=!1;this.startTime=0;c.co!=="infinity"&&(this.co=c.co||1);this.duration=c.duration||1E3}start(){PN.push(this);QN||(QN=window.setInterval(RVa,10));this.startTime=Date.now();this.tick()}cancel(){this.qh||(this.qh=!0,TVa(this,1),_.Sm(this,"done"))}stop(){this.qh||(this.co=1)}tick(){if(!this.qh){var a=Date.now();TVa(this,(a-this.startTime)/this.duration);a>=this.startTime+this.duration&&(this.startTime=Date.now(), this.co!=="infinite"&&(this.co--,this.co||this.cancel()))}}};var CXa=_.Va.DEF_DEBUG_MARKERS,AO=class extends _.Um{constructor(a,b,c){super();this.wh=this.qh=null;this.Wh=[];this.Ph=!1;this.targetElement=null;this.Uh=!1;this.th=null;this.elements=[];this.Gh=!0;this.Bh=0;this.sh=this.Rh=this.ii=this.ai=null;this.Hh=!1;this.element=this.zh=this.Cj=this.yh=this.Ah=this.Dh=null;this.Jh=!1;this.Fr=null;this.xh=new _.dp(()=>{var d=this.get("panes"),e=this.get("scale");if(!d||!this.getPosition()||this.getVisible()===!1||_.El(e)&&e<.1&&!this.Zk)UN(this);else{YVa(this, d.markerLayer);if(!this.Bh){var f=this.getIcon();if(f){var g=f.url;e=VN(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,q=HN(f),u=YN(f),x=this.get("shape"),z=IN(f),B={};if(_.cw())f=z.width,z=z.height,q=new _.Hn(f+16,z+16),f={url:_.BA,size:q,anchor:u?new _.Dn(u.x+8,u.y+8):new _.Dn(Math.round(f/2)+8,z+8),scaledSize:q};else{let L=f.scaledSize||z;(_.qp.wh||_.qp.qh)&&x&&(B.shape=x,z=L);if(!q||x)f={url:_.BA,size:z,anchor:u,scaledSize:L}}u= f.url!=null;this.Uh===u&&TN(this);this.Uh=!u;B=this.targetElement=WN(this,this.getPanes().overlayMouseTarget,this.targetElement,f,B);this.targetElement.style.pointerEvents=p?"none":"";if(p=B.querySelector("img"))p.style.removeProperty("position"),p.style.removeProperty("opacity"),p.style.removeProperty("left"),p.style.removeProperty("top");u=B;p=null;(f=u.getAttribute("usemap")||u.firstChild&&u.firstChild.getAttribute("usemap"))&&f.length&&(u=_.Wv(u).getElementById(f.substring(1)))&&(p=u.firstChild); p&&(p.tabIndex=-1,p.style.display="inline",p.style.position="absolute",p.style.left="0px",p.style.top="0px");CXa&&(B.dataset.debugMarkerImage=g);B=p||B;B.title=k;m&&this.Jr().setAttribute("aria-label",m);this.Dz();h&&!this.yh&&(g=this.yh=new _.RGa(B,this.Fh,this.targetElement),this.Fh?(g.bindTo("deltaClientPosition",this),g.bindTo("position",this)):g.bindTo("position",this.Eh,"rawPosition"),g.bindTo("containerPixelBounds",this,"mapPixelBounds"),g.bindTo("anchorPoint",this),g.bindTo("size",this),g.bindTo("panningEnabled", this),this.Dh||(this.Dh=[_.Rm(g,"dragstart",this),_.Rm(g,"drag",this),_.Rm(g,"dragend",this),_.Rm(g,"panbynow",this)]));g=this.get("cursor")||"pointer";h?this.yh.set("draggableCursor",g):B.style.cursor=e?g:"";fWa(this,B)}}}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.Zk;h?this.th=WN(this,d,this.th,e):(this.th&&_.gw(this.th),this.th=null);this.elements=[this.qh,this.th,this.targetElement];bWa(this);for(e= 0;e{_.ep(this.xh)})];this.getPosition=_.vn("position");this.getPanes=_.vn("panes");this.getVisible=_.vn("visible");this.getIcon=_.vn("icon");this.getLabel=_.vn("label")}DJ(){}get Eo(){return this.Jh}set Eo(a){this.Jh!==a&&(this.Jh=a,_.Sm(this,"UPDATE_FOCUS"))}get Zk(){return this.get("dragging")}panes_changed(){UN(this);this.xh.Di()}tq(a){this.set("position",a&&new _.Dn(a.Xh,a.Zh))}av(){this.unbindAll();this.set("panes",null);this.sh&&this.sh.stop(); this.Ah&&(_.Im(this.Ah),this.Ah=null);this.sh=null;SN(this.Oh);this.Oh=[];UN(this);_.Sm(this,"RELEASED")}Lh(){var a;if(!(a=this.ai!==VN(this)||this.ii!==this.getDraggable())){a=this.Rh;var b=this.get("shape");a=!(a==null||b==null?a===b:a.type===b.type&&_.xE(a.coords,b.coords))}a&&(this.ai=VN(this),this.ii=this.getDraggable(),this.Rh=this.get("shape"),TN(this),this.xh.Di())}rh(){this.xh.Di()}position_changed(){this.Fh?_.ep(this.xh):this.xh.Di()}Jr(){return this.targetElement}Dz(){var a=this.Jr();if(a){var b= !!this.get("title");b||(b=(b=this.getLabel())?!!b.text:!1);this.Eo?a.setAttribute("role","button"):b?a.setAttribute("role","img"):a.removeAttribute("role")}}WA(a){_.Sm(this,"click",a);_.M(window,171149)}lv(){}Du(a){_.Hv(a);_.Sm(this,"click",a);_.M(window,171150)}VA(){}getDraggable(){return!!this.get("draggable")}fi(){this.set("dragging",!0);this.Eh.set("snappingCallback",this.Li)}pi(){this.Eh.set("snappingCallback",null);this.set("dragging",!1)}animation_changed(){this.Gh=!1;this.get("animation")? dWa(this):(this.set("animating",!1),this.sh&&this.sh.stop())}CI(a){var b=this.get("markerPosition");return this.Fr&&b&&this.Fr.size?yVa(a,this.targetElement):!1}};_.aa=AO.prototype;_.aa.shape_changed=AO.prototype.Lh;_.aa.clickable_changed=AO.prototype.Lh;_.aa.draggable_changed=AO.prototype.Lh;_.aa.cursor_changed=AO.prototype.rh;_.aa.scale_changed=AO.prototype.rh;_.aa.raiseOnDrag_changed=AO.prototype.rh;_.aa.crossOnDrag_changed=AO.prototype.rh;_.aa.zIndex_changed=AO.prototype.rh; _.aa.opacity_changed=AO.prototype.rh;_.aa.title_changed=AO.prototype.rh;_.aa.cross_changed=AO.prototype.rh;_.aa.icon_changed=AO.prototype.rh;_.aa.visible_changed=AO.prototype.rh;_.aa.dragging_changed=AO.prototype.rh;var lWa="click dblclick mouseup mousedown mouseover mouseout rightclick dragstart drag dragend contextmenu".split(" "),wWa=class{constructor(a,b,c,d,e,f,g){this.marker=a;this.rh=b;this.Sh=e;this.Gh=f;this.th=g;this.Dh=!0;this.Eh=this.Fh=null;this.xh=[];this.Bh=b instanceof _.gn;f=ZN(this);b=this.Bh&&f?_.iw(f,b.getProjection()):null;this.qh=new AO(d,!!this.Bh,h=>{this.qh.Fr=a.__gm.Fr={...a.__gm.Fr,nT:h};a.__gm.CA&&a.__gm.CA()});_.Gm(this.qh,"RELEASED",()=>{var h=this.qh;if(this.th&&this.th.has(h)){({RH:h}= this.th.get(h));for(let k of h)k.remove()}this.th&&this.th.delete(this.qh)});this.Gh&&this.th&&!this.th.has(this.qh)&&(this.th.set(this.qh,{marker:this.marker,RH:[]}),this.Gh.Gh(this.qh),$N(this,this.qh),iWa(this,this.qh));(this.wh=this.Bh?new _.hJ(e.topology,this.qh,b,e,()=>{if(this.qh.get("dragging")&&!this.marker.get("place")){var h=this.wh.getPosition();h&&(h=_.kq(h,this.rh.get("projection")),this.Dh=!1,this.marker.set("position",h),this.Dh=!0)}}):null)&&e.Rj(this.wh);this.yh=new AXa(c,(h,k,m)=> {this.qh.Fr=a.__gm.Fr={...a.__gm.Fr,size:h,anchor:k,labelOrigin:m};a.__gm.CA&&a.__gm.CA()});this.sh=this.Bh?null:new _.VI;this.zh=this.Bh?null:new BXa;this.Ah=new _.Um;this.Ah.bindTo("position",this.marker);this.Ah.bindTo("place",this.marker);this.Ah.bindTo("draggable",this.marker);this.Ah.bindTo("dragging",this.marker);this.yh.bindTo("modelIcon",this.marker,"icon");this.yh.bindTo("modelLabel",this.marker,"label");this.yh.bindTo("modelCross",this.marker,"cross");this.yh.bindTo("modelShape",this.marker, "shape");this.yh.bindTo("useDefaults",this.marker,"useDefaults");this.qh.bindTo("icon",this.yh,"viewIcon");this.qh.bindTo("label",this.yh,"viewLabel");this.qh.bindTo("cross",this.yh,"viewCross");this.qh.bindTo("shape",this.yh,"viewShape");this.qh.bindTo("title",this.marker);this.qh.bindTo("cursor",this.marker);this.qh.bindTo("dragging",this.marker);this.qh.bindTo("clickable",this.marker);this.qh.bindTo("zIndex",this.marker);this.qh.bindTo("opacity",this.marker);this.qh.bindTo("anchorPoint",this.marker); this.qh.bindTo("markerPosition",this.marker,"position");this.qh.bindTo("animation",this.marker);this.qh.bindTo("crossOnDrag",this.marker);this.qh.bindTo("raiseOnDrag",this.marker);this.qh.bindTo("animating",this.marker);this.zh||this.qh.bindTo("visible",this.marker);jWa(this);kWa(this);mWa(this);this.Bh?(nWa(this),oWa(this),qWa(this)):(rWa(this),this.sh&&(this.zh.bindTo("visible",this.marker),this.zh.bindTo("cursor",this.marker),this.zh.bindTo("icon",this.marker),this.zh.bindTo("icon",this.yh,"viewIcon"), this.zh.bindTo("mapPixelBoundsQ",this.rh.__gm,"pixelBoundsQ"),this.zh.bindTo("position",this.sh,"pixelPosition"),this.qh.bindTo("visible",this.zh,"shouldRender")),tWa(this))}dispose(){this.qh.set("animation",null);this.qh.av();this.Sh&&this.wh?this.Sh.zm(this.wh):this.qh.av();this.zh&&this.zh.unbindAll();this.sh&&this.sh.unbindAll();this.yh.unbindAll();this.Ah.unbindAll();this.xh.forEach(_.Im);this.xh.length=0}};var eO=class{constructor(a,b,c,d){this.div=a;this.Oj=b;this.qh=c;this.Ci=d}getContext(){if(!this.context){let a=this.div,b=a.ownerDocument.createElement("canvas");_.wp(b);b.style.position="absolute";b.style.top=b.style.left="0";let c=b.getContext("2d"),d=bO(c),e=this.Ci.size;b.width=Math.ceil(e.Xh*d);b.height=Math.ceil(e.Zh*d);b.style.width=_.Kl(e.Xh);b.style.height=_.Kl(e.Zh);a.appendChild(b);this.context=c}return this.context}DG(a){var b=yWa(this),c=this.getContext(),d=bO(c),e=Math.round(a.dx*d), f=Math.round(a.dy*d),g=Math.ceil(a.Cs*d);a=Math.ceil(a.zs*d);var h=xWa(this,g,a),k=h.getContext("2d");k.translate(-e,-f);b.forEach(m=>{k.globalAlpha=_.Gl(m.opacity,1);k.drawImage(m.image,m.sx,m.sy,m.dC,m.WB,Math.round(m.dx*d),Math.round(m.dy*d),m.Cs*d,m.zs*d)});c.clearRect(e,f,g,a);c.globalAlpha=1;c.drawImage(h,e,f)}};eO.prototype.EP=eO.prototype.DG;var HWa=class{constructor(){this.qh=_.OE().qh}load(a,b){return this.qh.load(new _.pH(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 _.Dn(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,q=-g.x;g=-g.y;var u=e.width/h,x=e.width,z=e.height/k,B=e.height;m*h+e.width>f.width&&(u=d.width-m*h,x=f.width);p*k+e.height>f.height&&(z=d.height-p*k,B=f.height);b({image:c,sx:m,sy:p,dC:u,WB:z,dx:q, dy:g,Cs:x,zs:B})}else b(null)})}cancel(a){this.qh.cancel(a)}};var JWa=class{constructor(a,b,c,d){this.qh=b;this.rh=c;this.zIndex=40;this.sh=new _.iJ(a,d,c)}jv(a){return a!=="dragstart"&&a!=="drag"&&a!=="dragend"}pv(a,b){return b?cO(this,a,-8,0)||cO(this,a,0,-8)||cO(this,a,8,0)||cO(this,a,0,8):cO(this,a,0,0)}handleEvent(a,b,c){var d=b.Bk;if(a==="mouseout")this.qh.set("cursor",""),this.qh.set("title",null);else if(a==="mouseover"){var e=d.Sy;this.qh.set("cursor",e.cursor);(e=e.title)&&this.qh.set("title",e)}var f;d&&a!=="mouseout"?f=d.Sy.latLng:f=b.latLng;a=== "dblclick"&&_.Em(b.domEvent);_.Sm(c,a,new _.FA(f,b.domEvent))}};var KWa=class extends _.at{constructor(a,b,c,d,e,f,g){super();this.tiles=a;this.wh=d;this.sh=c;this.rh=e;this.th=f;this.Ci=g||_.QA;b.qh=h=>{CWa(this,h)};b.onRemove=h=>{DWa(this,h)};b.forEach(h=>{CWa(this,h)})}qh(){return{Ci:this.Ci,Gn:2,rm:this.rm.bind(this)}}rm(a,b={}){var c=document.createElement("div"),d=this.Ci.size;c.style.width=`${d.Xh}px`;c.style.height=`${d.Zh}px`;c.style.overflow="hidden";a={div:c,zoom:a.wi,uj:new _.Dn(a.li,a.ni),yK:{},Oj:new _.Xp};c.Am=a;EWa(this,a);var e=!1;return{qk:()=> c,Ko:()=>e,loaded:new Promise(f=>{_.Pm(c,"load",()=>{e=!0;f()})}),release:()=>{var f=c.Am;c.Am=null;FWa(this,f);c.textContent="";b.Ak&&b.Ak()}}}};var LWa=class{constructor(a,b,c){this.rh=b;this.timeout=null;this.qh=!1;this.sh=0;this.Oj=a;var d=this;a.qh=e=>{d.Vr(e,!0)};a.onRemove=e=>{d.onRemove(e)};this.div=c;a.getSize()?(this.qh=!0,this.gq()):queueMicrotask(()=>{_.Sm(c,"load")})}onRemove(a){this.Vr(a,!1)}Vr(a,b){this.sh++<4?b?this.rh.DG(a):this.rh.EP(a):this.qh=!0;this.timeout||(this.timeout=_.QE(this.gq.bind(this)))}gq(){this.qh&&zWa(this.rh);this.qh=!1;this.timeout=null;this.sh=0;queueMicrotask(()=>{_.Sm(this.div,"load")})}};var IWa=class{constructor(a,b,c,d,e){var f=GWa;this.markers=a;this.rh=b;this.qh=c;this.wh=f;this.th=d;this.sh=e;this.markers.qh=g=>{this.xw(g)};this.markers.onRemove=g=>{this.ez(g)}}xw(a){var b=a.get("internalPosition"),c=a.get("zIndex"),d=a.get("opacity"),e=a.__gm.dB={uD:a,latLng:b,zIndex:c,opacity:d,Oj:{}};b=a.get("useDefaults");c=a.get("icon");var f=a.get("shape")||c&&!b?a.get("shape"):this.qh.shape,g=c?this.wh(c):this.qh.icon,h=xVa(()=>{e===a.__gm.dB&&(e.fw||e.lK)&&this.kn(a,e,g,f)});g.url?this.th.load(g, k=>{e.fw=k;h()}):(e.lK=this.sh(g),h())}ez(a){this.rh.remove(a.__gm.dB);a.__gm.dB=null}kn(a,b,c,d){if(b.fw){c=c.size;var e=a.get("anchorPoint");if(!e||e.qh)e=new _.Dn(b.fw.dx+c.width/2,b.fw.dy),e.qh=!0,a.set("anchorPoint",e)}else c=b.lK.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";_.gp(this.rh,b)}};var dO=new Map;var DXa=class{constructor(a,b,c,d){this.Vx={};this.sv=0;this.kz=!0;var e=this;this.EF=b;this.Qv=c;this.SH=d;var 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.YO=function(g){g in f&&(delete this.changed,e.Vx[_.Tm(this)]=this,OWa(e))};a.qh=g=>{e.xw(g)};a.onRemove=g=>{e.ez(g)};a=a.elements;for(let g of Object.values(a))this.xw(g)}xw(a){this.Vx[_.Tm(a)]= a;OWa(this)}ez(a){delete a.changed;delete this.Vx[_.Tm(a)];this.EF.remove(a);this.Qv.remove(a)}};var tO=class extends Event{constructor(){super("gmp-click",{bubbles:!0,composed:!0})}};var EXa=class{Jh(){}Fh(){}rh(){}sh(){}th(){}Ah(){}Dh(){}yh(){}wh(){}xh(){}Bh(){}Eh(){}qh(){}Gh(){}Hh(){}Lh(){}Mh(){}zh(){}};var FXa=(0,_.Zi)`.yNHHyP-marker-view .IPAZAH-content-container\u003e*{pointer-events:none}.yNHHyP-marker-view .IPAZAH-content-container.HJDHPx-interactive\u003e*{pointer-events:auto}\n`;var SWa=tVa("visible-gmp-advanced-markers"),RWa=tVa("hidden-gmp-advanced-markers"),VWa=class{constructor(a){this.ri=GXa;this.xq=null;this.Bh=!1;this.zh=null;this.yh=0;this.Ah=null;this.map=a;this.th=new Set;this.wh=new Set;this.To=`maps-aria-${_.fn()}`;this.sh=document.createElement("span");this.sh.id=this.To;this.sh.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.sh.style.display="none";this.xh=document.createElement("div");this.qh=document.createElement("div");CSS.supports("content-visibility: hidden")?this.qh.style.contentVisibility="hidden":this.qh.style.visibility="hidden";var b=document.createElement("slot");b.setAttribute("name",SWa);this.xh.appendChild(b);b=document.createElement("slot");b.setAttribute("name",RWa);this.qh.appendChild(b);this.rh=document.createElement("div");this.rh.append(this.xh,this.qh);var c=a.__gm;this.Eh=c.Hr;this.Dh=new Promise(d=> {c.sh.then(e=>{this.map&&(e&&(this.xq=PWa(this,a)),this.Bh=!0);d()})});_.vt(FXa,this.map.getDiv());Promise.all([c.rh,this.Dh]).then(([{nn:d}])=>{this.map&&d.overlayMouseTarget.append(this.sh,this.rh);this.Ah=c.addListener("panes_changed",e=>{this.map&&e.overlayMouseTarget.append(this.sh,this.rh)})})}dispose(){this.xq&&(this.xq.setMap(null),this.xq=null);this.Ah&&this.Ah.remove();this.sh.remove();this.qh.remove();this.xh.remove();this.rh.remove();this.qh.textContent="";this.xh.textContent="";this.th.clear(); this.wh.clear();this.map=null}isEmpty(){return this.th.size===0}requestRedraw(){this.Bh?this.xq&&this.xq.requestRedraw():this.Dh.then(()=>{this.xq&&this.xq.requestRedraw()})}onDraw(a){if(this.map){var b=this.Eh.offsetWidth,c=this.Eh.offsetHeight,d=_.yp(this.map.getZoom()||1,this.map.getTilt()||0,this.map.getHeading()||0);for(let h of this.th.values()){a:{var e=h.pO;var f=this.map.getCenter();if(!e||!f){e=null;break a}f=_.Cl(f.lng(),-180,180);var g=_.Cl(e.lng,-180,180);f>0&&gf+ 180&&(g-=360);e=new _.ko({altitude:e.altitude,lat:e.lat,lng:g},!0)}if(!e){h.tq(null,d);continue}f=a.fromLatLngAltitude(e);e=g=[0,0,0];let [k,m,p]=e,q=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])*q;e[1]=(f[1]*k+f[5]*m+f[9]*p+f[13])*q;e[2]=(f[2]*k+f[6]*m+f[10]*p+f[14])*q;let {hO:u,RQ:x}={hO:f[14]<0&&f[15]<0,RQ:g};u?h.tq(null,d):h.tq({Xh:KN(x[0]/2*b),Zh:KN(-x[1]/2*c)},d,{Xh:b,Zh:c})}}}};var hO=new Map,GXa=new class extends EXa{Jh(a){a&&a&&_.M(a,181191)}Fh(a){if(a){var b=a.getRenderingType();b!=="UNINITIALIZED"&&a&&_.M(a,159713);b==="RASTER"?a&&_.M(a,157416):b==="VECTOR"&&a&&_.M(a,157417)}}rh(a,b=!1){a&&_.M(a,158896);b&&a&&_.M(a,185214)}sh(a,b){b&&(b!=="REQUIRED"&&a&&_.M(a,160097),b==="REQUIRED_AND_HIDES_OPTIONAL"?a&&_.M(a,160098):b==="OPTIONAL_AND_HIDES_LOWER_PRIORITY"&&a&&_.M(a,160099))}th(a,b){b?a&&_.M(a,159404):a&&_.M(a,159405)}Ah(a){a&&_.M(a,159484)}Dh(a){a&&_.M(a,160438)}yh(a){a&& _.M(a,159521)}wh(a){a&&_.M(a,160103)}xh(a){a&&_.M(a,159805)}Bh(a){a&&_.M(a,159490)}Eh(a){a&&_.M(a,159812)}qh(a){a&&_.M(a,159609)}Gh(a){a&&_.M(a,160122)}Hh(a){a&&_.M(a,160106)}Lh(a){a&&_.M(a,160478)}Mh(a,b){var c=[{threshold:1E4,Jq:160636},{threshold:5E3,Jq:160635},{threshold:2E3,Jq:160634},{threshold:1E3,Jq:160633},{threshold:500,Jq:160632},{threshold:200,Jq:160631},{threshold:100,Jq:160630},{threshold:50,Jq:159732},{threshold:10,Jq:160629},{threshold:1,Jq:160628}];for(let {threshold:d,Jq:e}of c)if(b>= d){a&&_.M(a,e);break}}zh(a){window&&_.M(window,a instanceof KeyboardEvent?171152:171153)}},HXa=new EXa,gO=null;var IXa=class{constructor(a){this.qh=a;this.Wh=document;this.wh=this.th=!1;this.Ah=this.rh=this.xh=this.Bh=this.Eh=this.Mh=null;this.Dh=0;this.Oh=null;this.Rh=b=>{this.kv(b)};this.Uh=b=>{b.touches.length===1&&this.kv(b)};this.Ph=b=>{b.preventDefault();b.stopImmediatePropagation()};this.Hh=b=>{if(this.wh||this.zh||DVa(b,this.Mh))this.zh=!0};a=this.qh.Lp;a instanceof HTMLElement&&(a.style.touchAction="none");_.Uw!==2?(a.addEventListener("pointerdown",this.Rh),a.addEventListener("pointermove",this.Hh)): (a.addEventListener("touchstart",this.Uh,{passive:!1}),a.addEventListener("touchmove",this.Hh,{passive:!1}));a.addEventListener("mousedown",this.Ph);this.Gh=b=>{b.preventDefault();b.stopImmediatePropagation();this.wh?gXa(this,b):this.th?(hXa(this,b),lO(this,"drag",b)):(jXa(this,b),b=this.qh,b.ri.Lh(b.map))};this.yh=b=>{this.Ah&&b.timeStamp-this.Ah>=500&&(!this.th||this.wh)?(this.wh?gXa(this,b):(jXa(this,b),b=this.qh,b.ri.Hh(b.map),b.Tq&&_.Sm(b,"longpressdragstart")),this.zh=!0):(this.th&&(this.wh|| this.zh||DVa(b,this.Mh))&&(this.zh=!0),this.wh&&iO(this,b),b.type==="touchend"&&mO(this,!1),this.th?(b.stopImmediatePropagation(),hXa(this,b),pO(this),qO(this.qh,!0),lO(this,"dragend",b)):pO(this))};this.ii=b=>{this.fi(b)};this.pi=b=>{this.ui(b)};this.ai=b=>{jO(this,b)};this.fi=b=>{if(b.altKey&&(_.dy(b)||b.key===_.Nra))jO(this,b);else if(!b.altKey&&_.dy(b))this.zh=!0,iO(this,b);else if(_.ey(b)||_.gy(b)||_.fy(b)||_.hy(b))b.preventDefault(),this.Fh.add(b.key),this.Dh||(this.Oh=new _.sI(100),lXa(this)), lO(this,"drag",b);else if(b.code==="Equal"||b.code==="Minus"){var c=this.qh;b=b.code==="Equal"?1:-1;let d=CVa(c.pl,c.Wq);d&&c.Sh.TK(b,d)}};this.ui=b=>{(_.ey(b)||_.gy(b)||_.fy(b)||_.hy(b))&&this.Fh.delete(b.key)};this.Jh=()=>{mO(this,!0)};this.Lh=()=>{this.th||mO(this,!1)};this.sh=document.createElement("div");cXa(this);this.zh=!1;this.Fh=new Set}jC(a){this.rh&&_.tI(this.rh,a)}kv(a){this.zh=!1;if(this.qh.gmpDraggable&&(a.button===0||a.type==="touchstart")){let b=this.qh.Lp;b.focus();let c=_.Wv(a.target)|| document;this.Wh=c;_.Uw!==2||a.preventDefault();a.stopImmediatePropagation();this.Ah=a.timeStamp;_.Uw!==2?(c.addEventListener("pointermove",this.Gh),c.addEventListener("pointerup",this.yh),c.addEventListener("pointercancel",this.yh)):(c.addEventListener("touchmove",this.Gh,{passive:!1}),c.addEventListener("touchend",this.yh),c.addEventListener("touchcancel",this.yh),c.addEventListener("touchstart",this.yh));this.th||(this.Mh=_.VH(a));b.style.cursor=_.ly}}WA(){this.th||(this.zh=!1)}lv(a){if(this.qh.gmpDraggable&& !this.wh&&!this.th){var b=this.qh.Lp;b.addEventListener("keydown",this.ii);b.addEventListener("keyup",this.pi);b.addEventListener("blur",this.ai);this.xh=this.qh.Yo();this.Eh=this.qh.position;this.wh=this.th=!0;fXa(this);b=this.qh.Lp;b.setAttribute("aria-grabbed","true");oO(this.qh);b.style.zIndex="2147483647";this.sh.style.opacity="1";lO(this,"dragstart",a);a=this.qh;a.ri.Gh(a.map)}}VA(a,b=!0){this.wh?jO(this,a,b):this.th&&(this.qh.position=this.Eh,a.stopImmediatePropagation(),pO(this),b&&lO(this, "dragend",a))}Zk(){return this.th}dispose(){pO(this);var a=this.qh.Lp;a instanceof HTMLElement&&(a.style.touchAction="");_.Uw!==2?(a.removeEventListener("pointerdown",this.Rh),a.removeEventListener("pointermove",this.Hh)):(a.removeEventListener("touchstart",this.Uh,{passive:!1}),a.removeEventListener("touchmove",this.Hh,{passive:!1}));a.removeEventListener("mousedown",this.Ph);a.removeEventListener("pointerenter",this.Jh);a.removeEventListener("pointerleave",this.Lh);a.removeEventListener("focus", this.Jh);a.removeEventListener("blur",this.Lh);this.sh.remove()}};var JXa={click:"Please use addEventListener('gmp-click', ...) instead of addEventListener('click', ...).",drag:"Please use addEventListener('gmp-drag', ...) instead of addEventListener('drag', ...).",dragstart:"Please use addEventListener('gmp-dragstart', ...) instead of addEventListener('dragstart', ...).",dragend:"Please use addEventListener('gmp-dragend', ...) instead of addEventListener('dragend', ...)."},BO=!1,CO=class extends _.Fs{set anchorTop(a){this.dO=_.Fo(this,"anchorTop",_.Br,a);xO(this, this.vl);qO(this,!0)}get anchorTop(){return this.dO}set anchorLeft(a){this.cO=_.Fo(this,"anchorLeft",_.Br,a);xO(this,this.vl);qO(this,!0)}get anchorLeft(){return this.cO}constructor(a={}){super(a);this.Sx=this.Cj=this.Vj=null;this.pD="";this.ym=this.Ly=this.jG=this.Sh=this.bl=this.Ml=null;this.gG=!1;this.qC=null;this.cF=this.FI=this.rC=this.iG=!1;this.Ji=this.Vz=this.YI=this.AJ=this.UK=this.QG=null;this.kx=void 0;this.nx=this.hG=!1;this.sI=_.Nn(!1);this.Wq=this.ox=this.Mq=null;this.Qt="";this.pl= this.kG=this.sC=void 0;this.bD=this.cD=!0;this.gE=this.yF=!1;this.Vy=!0;document.createElement("div");nXa(this);this.targetElement=this;this.Lp=this;this.Tq=BO;Object.defineProperties(this,{Tq:{value:BO,writable:!1}});this.ri=this.Tq?HXa:GXa;this.addEventListener("focus",e=>{this.OD(e)},{capture:!0});this.addEventListener("marker-resize",()=>{oXa(this);qO(this,!0)});this.sj=new _.bB;this.Sj=document.createElement("div");_.rq(this.Sj,"content-container");this.Ml=document.createElement("slot");this.Ml.addEventListener("slotchange", ()=>{this.Rq()});this.Sj.appendChild(this.Ml);this.Ml.prepend(this.sj);this.Rq();Promise.resolve().then(()=>{rO(this);a.anchorTop&&(this.anchorTop=a.anchorTop);a.anchorLeft&&(this.anchorLeft=a.anchorLeft)});this.rA=getComputedStyle(this);this.kN=(e,f,g)=>this.LA(e,f,g);var b=()=>{rO(this);sO(this);var e=_.Hm(this,"gmp-click");this.ri.rh(this.map,e)},c=()=>{rO(this);sO(this)},d=["click"];d.push("gmp-click");for(let e of d)wVa(this,e,b),vVa(this,e,c);this.ao=new _.Um;this.ao.addListener("isopen_changed", ()=>{pXa(this);oXa(this)});this.VH=e=>{this.Cj?.zt(e==="cooperative"||e==="none")};this.collisionBehavior=a.collisionBehavior;a.content!=null&&(this.content=a.content);this.mD=!!a.mD;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.xi(a,CO,"AdvancedMarkerElement")}addEventListener(a,b,c){var d=JXa[a];!d||a==="click"&&this.yF||_.Am(_.Co(this,d));super.addEventListener(a,b,c)}addListener(a,b){_.Am(_.Co(this, "Please use addEventListener with 'gmp-' events instead of addListener."));return _.Gm(this,a,b)}OD(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.ri.Eh(this.map),a=[document.body,..._.ew(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.Eo){var b=()=>{this.isConnected&&this.vl?setTimeout(()=>{this.focus();a()},0):_.jw(_.kw(),b)};b()}})}Du(){}VA(a){this.Vj&&(this.Vj.VA(a,!this.Tq),this.Tq&&_.Sm(this,"dragcancel"))}get collisionBehavior(){return this.kx}set collisionBehavior(a){a= _.Fo(this,"collisionBehavior",_.gm(_.$l(_.Rr)),a)||"REQUIRED";this.collisionBehavior!==a&&(this.kx=a,this.ri.sh(this.map,this.kx),this.map&&(!fO(this)&&this.Ji?pVa(this.Ji.Oh,this):qO(this,!0)))}get element(){return this}get lB(){return uO(this)[0]===this.sj}get content(){var a=uO(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= _.Fo(this,"content",_.gm(_.em([_.Zl(Node,"Node"),_.dm(_.Yl)])),a)||this.sj;var b=uO(this);if(b.length!==1||b[0]!==a)a!==this.sj?this.replaceChildren(a):a===this.sj&&this.replaceChildren(),this.Rq()}Rq(){var a=()=>{this.Ml&&!this.Ml.contains(this.sj)&&this.Ml.prepend(this.sj);this.ym=null;this.Vj&&nO(this.Vj);qO(this,!0);rO(this)};this.ri.th(this.map,this.lB);this.up.then(()=>{a()})}get dragIndicator(){}set dragIndicator(a){}get gmpClickable(){return this.hG}set gmpClickable(a){a=_.Fo(this,"gmpClickable", _.Cr,a)||!1;this.hG!==a&&(this.hG=a,rO(this),sO(this))}get gmpDraggable(){return this.nx}set gmpDraggable(a){a=_.Fo(this,"gmpDraggable",_.Cr,a)||!1;sXa(this,this.position,a);this.sI.set(a);this.nx!==a&&((this.nx=a)?(this.ri.wh(this.map),this.setAttribute("aria-grabbed","false"),WWa(this,this.pD),this.Vj=new IXa(this),bXa(this.Vj)):(this.removeAttribute("aria-grabbed"),this.DJ(this.pD),this.Vj.dispose(),this.Vj=null),rO(this),sO(this))}DJ(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.pl}set map(a){this.setMap(a);this.pl&&(a=_.hn(this.pl))&&this.parentElement!==a&&a.append(this)}setMap(a){this.pl!==a&&(a=_.Fo(this,"map",_.gm(_.Zl(_.gn,"MapsApiMap")),a),a instanceof _.gn&&(a=a.bQ),a&&this.isConnected?vO(this):this.dispose(),this.pl=a,this.ao.set("map",this.pl),this.pl instanceof _.gn?(this.pl&&XWa(this,this.pl),this.Ji=this.pl.__gm,rXa(this), this.QG=this.pl.addListener("bounds_changed",()=>{wO(this)}),this.UK=this.pl.addListener("zoom_changed",()=>{wO(this)}),this.AJ=this.pl.addListener("projection_changed",()=>{wO(this)}),this.YI=this.pl.addListener("maptypeid_changed",()=>{uXa(this)}),Promise.all([this.Ji.rh,this.Ji.sh]).then(([b,c])=>{this.pl===b.map&&(this.FI=c,this.ri.Fh(b.map),c=this.Ji.qh,this.Tq||_.Ho(c,"ADVANCED_MARKERS").isAvailable)&&(this.Sh=b.Sh,uXa(this))}),vXa(this),wXa(this)):this.Ji=null)}get position(){return this.ox}set position(a){a= (a=_.Fo(this,"position",_.gm(_.gq),a)||null)&&new _.ko(a);var b=this.ox;sXa(this,a,this.gmpDraggable);if(b&&a){var c=new _.ko(b,!0);let d=new _.ko(a,!0);c=!c.equals(d)}else c=b!==a;c&&(this.Wq=(this.ox=a)?new _.rm(a):null,this.cF=!0,a||xO(this,null),this.ao.set("position",this.Wq),this.ao.set("map",this.map),this.Vz?YWa(this.map):tXa(this),this.Km()>0&&this.ri.qh(this.map),_.xo(this,"position",b))}get pO(){return this.ox}get title(){return this.Qt}set title(a){a=_.Fo(this,"title",_.Aq,a);var b=this.Qt; a!==this.title&&(this.Qt=a,this.title&&this.ri.xh(this.map),this.title===""?(this.removeAttribute("aria-label"),this.removeAttribute("title")):(this.setAttribute("aria-label",this.title),this.setAttribute("title",this.title)),this.Dz(),_.xo(this,"title",b))}get zIndex(){return this.sC}set zIndex(a){a=_.Fo(this,"zIndex",_.gm(_.wr),a);this.sC=a==null?null:a;xXa(this);this.zIndex!==null&&this.ri.yh(this.map);qO(this)}get Ey(){var a=_.Hm(this,"click"),b=_.Hm(this,"gmp-click");return a||b||!!this.gmpClickable}get DI(){return this.Ey|| !!this.gmpDraggable}get Eo(){return this.gG}set Eo(a){mXa(this);this.gG!==a&&(this.gG=a,wO(this))}get Ku(){return this.rC}set Ku(a){if(a!==this.rC){if(this.rC=a)this.bD=this.cD=!1,oO(this);this.map&&ZWa(this,this.map)}}get Tp(){return this.qC}set Tp(a){a!==this.qC&&(this.qC=a,this.map&&ZWa(this,this.map),wO(this),_.Sm(this,"UPDATE_BASEMAP_COLLISION"))}py(){if(!this.vl)return null;if(!this.ym)for(let c of uO(this)){var a=this.rA;let {offset:d,size:e}=AVa(this,c);var b=JN(a);a=b.offsetY+d.y;b=b.offsetX+ d.x;a=_.$n(b,a,b+e.width,a+e.height);this.ym?this.ym.extendByBounds(a):this.ym=a}return this.ym}get vl(){return this.jG}set vl(a){var b=this.jG==null&&!!a;this.jG=a;pXa(this,b)}Km(){return this.ox?this.ox.altitude:0}LA(a,b,c){return this.pl?(c=_.GDa(this.pl.getProjection(),this.Wq,c))?a/c*Math.sin(b*Math.PI/180):0:0}tq(a,b,c){if(a){if(this.Vj){b=this.Vj;var d=b.qh;b=(d=d.Ji?d.Ji.Hr:null)&&b.xh&&b.th&&!b.wh?BVa(d,b.xh):null}else b=null;b&&(a=b);this.Ly=a;b=this.Ku;this.Ku=!(!c||!(Math.abs(a.Xh)>c.Xh/ 2+512||Math.abs(a.Zh)>c.Zh/2+512));b&&this.Ku||(this.Vy&&this.map&&(c=_.jb(this.map),(c=hO.get(c))&&TWa(c,this)),(new _.Dn(a.Xh,a.Zh)).equals(this.vl)||(xO(this,new _.Dn(a.Xh,a.Zh)),this.jC(this.cF)),this.cF=!1,this.bD=this.cD=!0)}else this.Ku=!0,this.Ly=null,xO(this,null)}jC(a){this.ym=null;this.Vj&&this.Vj.rh&&this.Vj.jC(this.py());qO(this,a)}Mn(a){this.iG!==a&&(this.iG=a,this.ao.set("map",this.iG?this.map:null))}PA(){if(!fO(this)||this.Tp||!uO(this).length)return null;var a=this.map.getProjection(); if(!a)return null;a=a.fromLatLngToPoint(this.Wq);var b=[];for(let f of uO(this)){a:{var c=f;var d=this.vl;var e=this.rA;if(!d){d={size:new _.Hn(0,0),offset:new _.Dn(0,0)};break a}let {size:k,offset:m}=AVa(this,c);c=JN(e);d={size:k,offset:new _.Dn(c.offsetX-d.x+m.x,c.offsetY-d.y+m.y)}}let {size:g,offset:h}=d;d=new zXa(a.x,a.y,g.width,g.height,h.x,h.y);b.push(d)}return b}av(){}Jr(){return this}CI(a){return!this.position||this.qC?!1:yVa(a,this)}Dz(){var a=this.Jr();this.Eo?a.setAttribute("role","button"): this.title?a.setAttribute("role","img"):a.removeAttribute("role")}get Zk(){return this.Vj?this.Vj.Zk():!1}removeElement(){xO(this,null);oO(this);this.cD&&this.Sh&&this.bl&&(this.Sh.zm(this.bl),this.bl=null);this.remove();this.Vy=!0}dispose(){if(!this.gE){this.gE=!0;try{this.pl&&(vO(this),this.removeElement())}finally{this.gE=!1}}}uF(a){{let c=this.Ji?.get("projectionController");if(this.Ji&&a&&c){var b=this.Ji.Hr.getBoundingClientRect();a=c.fromContainerPixelToLatLng(new _.Dn(a.clientX-b.left,a.clientY- b.top))}else a=null}a&&(this.position=a)}Yo(){var a=this.Ji?.get("projectionController");if(!this.Ji||!a||!this.Wq)return null;a=a.fromLatLngToContainerPixel(this.Wq);var b=this.Ji.Hr.getBoundingClientRect();return{clientX:a.x+b.left,clientY:a.y+b.top}}connectedCallback(){super.connectedCallback();this.Lk.appendChild(this.Sj);this.Vj&&nO(this.Vj);if(this.isConnected&&this.parentNode){let a=GN(this);a?this.setMap(a):(vO(this),console.error("AdvancedMarkerElement: parent element must be a ."))}}disconnectedCallback(){!this.isConnected&& this.bD&&(this.map=null);this.Vy=!0;super.disconnectedCallback()}};CO.prototype.addListener=CO.prototype.addListener;CO.prototype.addEventListener=CO.prototype.addEventListener;CO.prototype.constructor=CO.prototype.constructor;CO.Fi={Ii:181577,Hi:181576};_.C([_.Tp({Kh:"anchor-top",type:String,Nh:!0}),_.E("design:type",Object),_.E("design:paramtypes",[Object])],CO.prototype,"anchorTop",null); _.C([_.Tp({Kh:"anchor-left",type:String,Nh:!0}),_.E("design:type",Object),_.E("design:paramtypes",[Object])],CO.prototype,"anchorLeft",null);_.C([_.Tp({Kh:"gmp-clickable",type:Boolean,Nh:!0}),_.E("design:type",Object),_.E("design:paramtypes",[Object])],CO.prototype,"gmpClickable",null);_.C([_.Tp({ci:_.ds,nj:_.WE,Nh:!0}),_.E("design:type",Object),_.E("design:paramtypes",[Object])],CO.prototype,"position",null); _.C([_.Tp({ci:{Xj:a=>a||"",Hj:a=>a||null},Nh:!0}),_.E("design:type",String),_.E("design:paramtypes",[String])],CO.prototype,"title",null);var KXa=!1,LXa=class extends CO{constructor(a={}){super(a);if(!BO)throw Error("InternalUseAdvancedMarkerView is not allowed to be instantiated directly.");}};_.Yn("gmp-internal-use-am",LXa);var DO={Marker:_.Vr,CollisionBehavior:_.Rr,Animation:_.Ija,rM:()=>{},YC:function(a,b,c){var d=_.NFa();if(b instanceof _.On)vWa(a,b,d);else{let e=new _.Xp;vWa(e,b,d);let f=new _.Xp;c||MWa(f,b,d);new DXa(a,f,e,c)}},hH:function(a={}){BO=!0;a=new LXa(a);BO=!1;return a},AdvancedMarkerElement:CO,PinElement:_.bB,AdvancedMarkerClickEvent:tO,AdvancedMarkerView:void 0,PinView:void 0,connectForExplicitThirdPartyLoad:()=>{var a={AdvancedMarkerElement:CO,PinElement:_.bB,AdvancedMarkerClickEvent:tO,AdvancedMarkerView:void 0, PinView:void 0};_.Nl(a);_.Va.google.maps.marker=a;KXa||(KXa=!0,_.Yn("gmp-advanced-marker",CO))}};_.Ol(DO,["rM","YC","hH","connectForExplicitThirdPartyLoad"]);_.Nl(DO);_.dl("marker",DO);});