google.maps.__gjsload__('marker', function(_){var YOa=function(a,b){const c=_.Da(b);a.Fg.set(c,b);_.Qp(a.Gg)},ZOa=function(a,b){if(a.Gg.has(b)){_.Cm(b,"UPDATE_BASEMAP_COLLISION");_.Cm(b,"UPDATE_MARKER_COLLISION");_.Cm(b,"REMOVE_COLLISION");a.Gg.delete(b);var c=a.Hg;const d=_.Da(b);c.Fg.has(d)&&(c.Fg.delete(d),b.Un=null,_.Qp(c.Gg));_.Tp(a.Fg,b)}},$Oa=function(a,b){a.Gg.has(b)||(a.Gg.add(b),_.ym(b,"UPDATE_BASEMAP_COLLISION",()=>{a.Ig.add(b);a.Jg.mq()}),_.ym(b,"UPDATE_MARKER_COLLISION",()=>{a.Jg.mq()}),_.ym(b,"REMOVE_COLLISION",()=>{ZOa(a,b)}), YOa(a.Hg,b),_.Sp(a.Fg,b))},aPa=function(a){return`${_.Cl(a)}-internal-${a}`},bPa=function(a,b){b=(a=a.__e3_)&&a[b];return!!b&&Object.values(b).some(c=>c.sC)},cPa=function(a,b,c){return new _.xm(a,`${b}${"_removed"}`,c,0,!1)},dPa=function(a,b,c){return new _.xm(a,`${b}${"_added"}`,c,0,!1)},zR=function(a){return a?_.Wq.has(a)?_.Wq.get(a):a instanceof ShadowRoot?zR(a.host):zR(a.parentNode):null},ePa=function(a){var b=1;return()=>{--b||a()}},AR=function(a){return a instanceof _.hE},BR=function(a){return AR(a)? a.getSize():a.size},fPa=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},gPa=function(a,b){_.lJ().Fg.load(new _.JL(a),c=>{b(c&&c.size)})},hPa=function(a,b){a=a.getBoundingClientRect();b=b instanceof Element?b.getBoundingClientRect():a;return{offset:new _.Gn(b.x-a.x,b.y-a.y),size:new _.In(b.width,b.height)}},CR=function(a){a=new DOMMatrixReadOnly(a.transform); return{offsetX:a.m41,offsetY:a.m42}},DR=function(a){const b=window.devicePixelRatio||1;return Math.round(a*b)/b},iPa=function(a,{clientX:b,clientY:c}){const {height:d,left:e,top:f,width:g}=a.getBoundingClientRect();return{mh:DR(b-(e+g/2)),nh:DR(c-(f+d/2))}},jPa=function(a,b){if(!a||!b)return null;a=a.getProjection();return _.qz(b,a)},kPa=function(a,b){const c=_.oM(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},lPa=function(a,b){const c=[]; c.push("@-webkit-keyframes ",b," {\n");_.Rb(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.Am,"; ");c.push("}\n")});c.push("}\n");return c.join("")},mPa=function(a,b){for(let c=0;c=a.frames[c].time&&b"stylers"in e)&&(_.yn(a,"Csmm"),_.N(a,174113));oPa(b)&&(_.yn(a,"Mocb"),_.N(a,149062));b.get("anchorPoint")&&(_.yn(a,"Moap"),_.N(a,149064));c=b.get("animation");c===1&&(_.yn(a,"Moab"),_.N(a,149065));c===2&&(_.yn(a,"Moad"),_.N(a,149066));b.get("clickable")===!1&&(_.yn(a,"Ucmk"),_.N(a,149091),b.get("title")&&(_.yn(a,"Uctmk"),_.N(a,149063)));b.get("draggable")&&(_.yn(a,"Drmk"),_.N(a,149069), b.get("clickable")===!1&&(_.yn(a,"Dumk"),_.N(a,149070)));b.get("visible")===!1&&(_.yn(a,"Ivmk"),_.N(a,149081));b.get("crossOnDrag")&&(_.yn(a,"Mocd"),_.N(a,149067));b.get("cursor")&&(_.yn(a,"Mocr"),_.N(a,149068));b.get("label")&&(_.yn(a,"Molb"),_.N(a,149080));b.get("title")&&(_.yn(a,"Moti"),_.N(a,149090));b.get("opacity")!=null&&(_.yn(a,"Moop"),_.N(a,149082));b.get("optimized")===!0?(_.yn(a,"Most"),_.N(a,149085)):b.get("optimized")===!1&&(_.yn(a,"Mody"),_.N(a,149071));b.get("zIndex")!=null&&(_.yn(a, "Mozi"),_.N(a,149092));c=b.get("icon");var d=new FR;(d=!c||c===d.icon.url||c.url===d.icon.url)?(_.yn(a,"Dmii"),_.N(a,173084)):(_.yn(a,"Cmii"),_.N(a,173083));typeof c==="string"?(_.yn(a,"Mosi"),_.N(a,149079)):c&&c.url!=null?(c.anchor&&(_.yn(a,"Moia"),_.N(a,149074)),c.labelOrigin&&(_.yn(a,"Moil"),_.N(a,149075)),c.origin&&(_.yn(a,"Moio"),_.N(a,149076)),c.scaledSize&&(_.yn(a,"Mois"),_.N(a,149077)),c.size&&(_.yn(a,"Moiz"),_.N(a,149078))):c&&c.path!=null?(c=c.path,c===0?(_.yn(a,"Mosc"),_.N(a,149088)):c=== 1?(_.yn(a,"Mosfc"),_.N(a,149072)):c===2?(_.yn(a,"Mosfo"),_.N(a,149073)):c===3?(_.yn(a,"Mosbc"),_.N(a,149086)):c===4?(_.yn(a,"Mosbo"),_.N(a,149087)):(_.yn(a,"Mosbu"),_.N(a,149089))):AR(c)&&(_.yn(a,"Mpin"),_.N(a,149083));b.get("shape")&&(_.yn(a,"Mosp"),_.N(a,149084),d&&(_.yn(a,"Dismk"),_.N(a,162762)));if(c=b.get("place"))c.placeId?(_.yn(a,"Smpi"),_.N(a,149093)):(_.yn(a,"Smpq"),_.N(a,149094)),b.get("attribution")&&(_.yn(a,"Sma"),_.N(a,149061))}},rPa=function(a,b,c){qPa(a,c,d=>{a.set(b,d);const e=d?BR(d): null;b==="viewIcon"&&d&&e&&a.Fg&&a.Fg(e,d.anchor,d.labelOrigin);d=a.get("modelLabel");a.set("viewLabel",d?{text:d.text||d,color:_.ql(d.color,"#000000"),fontWeight:_.ql(d.fontWeight,""),fontSize:_.ql(d.fontSize,"14px"),fontFamily:_.ql(d.fontFamily,"Roboto,Arial,sans-serif"),className:d.className||""}:null)})},qPa=function(a,b,c){b?AR(b)?c(b):b.path!=null?c(a.Gg(b)):(_.sl(b)||(b.size=b.size||b.scaledSize),b.size?c(b):(b.url||(b={url:b}),gPa(b.url,d=>{b.size=d||new _.In(24,24);c(b)}))):c(null)},sPa= 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||_.bo,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.vm}`;a.style.webkitAnimationName=b||""})},vPa=function(){const a=[];for(let b=0;b{}});a.Fg=NR(a,b,a.Fg,c,e);BPa(a,c,OR(a))}},GPa=function(a){var b=a.eh();if(b){if(!a.Jg){const e=a.Jg= new DPa(a.getPanes(),b,a.get("opacity"),a.get("visible"),a.Di);a.Rh=[_.ym(a,"label_changed",function(){e.setLabel(this.get("label"))}),_.ym(a,"opacity_changed",function(){e.setOpacity(this.get("opacity"))}),_.ym(a,"panes_changed",function(){var f=this.get("panes");e.Fl=f;GR(e);_.Qp(e.Gg)}),_.ym(a,"visible_changed",function(){e.setVisible(this.get("visible"))})]}if(b=a.Zg()){var c=a.Fg,d=OR(a);c=EPa(a,b,d,JR(c)||_.bo);d=BR(b);d=b.labelOrigin||new _.Gn(d.width/2,d.height/2);AR(b)&&(b=b.getSize().width, d=new _.Gn(b/2,b/2));tPa(a.Jg,new _.Gn(c.x+d.x,c.y+d.y));a.Jg.setZIndex(FPa(a));_.Rp(a.Jg.Gg)}}},IPa=function(a){if(!a.Vg){a.Hg&&(a.Pg&&_.Am(a.Pg),a.Hg.cancel(),a.Hg=null);var b=a.get("animation");if(b=HPa[b]){var c=b.options;a.Fg&&(a.Vg=!0,a.set("animating",!0),b=APa(a.Fg,b.icon,c),a.Hg=b,a.Pg=_.Jm(b,"done",function(){a.set("animating",!1);a.Hg=null;a.set("animation",null)}))}}},KR=function(a){if(a)for(let b=0,c=a.length;b{if(a.get("clickable")!==!1||a.getDraggable())_.My(c.Fg),c.button== 3?d||c.button==3&&_.O(a,"rightclick",c.Fg):d?_.O(a,"dblclick",c.Fg):(_.O(a,"click",c.Fg),_.yn(window,"Mmi"),_.N(window,171150))},Yt:c=>{_.Jz(c);_.O(a,"contextmenu",c.Fg)}}),a.Og=new _.KD(b,b,{zs:function(c){_.O(a,"mouseout",c)},As:function(c){_.O(a,"mouseover",c)}}))},JPa=function(a,b,c,d){c=c||_.hz("div",b);_.Sq(c);b===a.getPanes().overlayMouseTarget?(b=d.element.cloneNode(!0),_.uJ(b,0),c.appendChild(b)):c.appendChild(d.element);b=d.getSize();c.style.width=b.width+(b.Gg||"px");c.style.height=b.height+ (b.Fg||"px");c.style.pointerEvents="none";c.style.userSelect="none";_.Jm(d,"changed",()=>{a.Gg()});return c},QR=function(a){const b=a.marker.get("place");a=a.marker.get("position");return b&&b.location||a},RR=function(a,b){a.Ig&&a.Ig.has(b)&&({marker:a}=a.Ig.get(b),b.Fm=LPa(a),b.Fm&&(b=a.getMap()))&&(_.yn(b,"Mwfl"),_.N(b,184438))},NPa=function(a,b){if(a.Ig){var {KE:c,marker:d}=a.Ig.get(b);for(const e of MPa)c.push(dPa(d,e,()=>{RR(a,b)})),c.push(cPa(d,e,()=>{!LPa(d)&&b.Fm&&RR(a,b)}))}},OPa=function(a){const b= a.Gg.__gm;a.Fg.bindTo("mapPixelBounds",b,"pixelBounds");a.Fg.bindTo("panningEnabled",a.Gg,"draggable");a.Fg.bindTo("panes",b)},PPa=function(a){const b=a.Gg.__gm;_.ym(a.Ng,"dragging_changed",()=>{b.set("markerDragging",a.marker.get("dragging"))});b.set("markerDragging",b.get("markerDragging")||a.marker.get("dragging"))},RPa=function(a){a.Kg.push(_.Mm(a.Fg,"panbynow",a.Gg.__gm));QPa.forEach(b=>{a.Kg.push(_.ym(a.Fg,b,c=>{const d=a.Og?QR(a):a.marker.get("internalPosition");c=new _.LD(d,c,a.Fg.get("position")); _.O(a.marker,b,c)}))})},SPa=function(a){const b=()=>{a.marker.get("place")?a.Fg.set("draggable",!1):a.Fg.set("draggable",!!a.marker.get("draggable"))};a.Kg.push(_.ym(a.Ng,"draggable_changed",b));a.Kg.push(_.ym(a.Ng,"place_changed",b));b()},TPa=function(a){a.Kg.push(_.ym(a.Gg,"projection_changed",()=>{SR(a)}));a.Kg.push(_.ym(a.Ng,"position_changed",()=>{SR(a)}));a.Kg.push(_.ym(a.Ng,"place_changed",()=>{SR(a)}))},VPa=function(a){a.Kg.push(_.ym(a.Fg,"dragging_changed",()=>{if(a.Fg.get("dragging"))a.Rg= a.Jg.on(),a.Rg&&_.TM(a.Jg,a.Rg);else{a.Rg=null;a.Qg=null;var b=a.Jg.getPosition();if(b&&(b=_.Ir(b,a.Gg.get("projection")),b=UPa(a,b))){const c=_.qz(b,a.Gg.get("projection"));a.marker.get("place")||(a.Pg=!1,a.marker.set("position",b),a.Pg=!0);a.Jg.setPosition(c)}}}));a.Kg.push(_.ym(a.Fg,"deltaclientposition_changed",()=>{var b=a.Fg.get("deltaClientPosition");if(b&&(a.Rg||a.Qg)){var c=a.Qg||a.Rg;a.Qg={clientX:c.clientX+b.clientX,clientY:c.clientY+b.clientY};b=a.dh.Ul(a.Qg);b=_.Ir(b,a.Gg.get("projection")); c=a.Qg;var d=UPa(a,b);d&&(a.marker.get("place")||(a.Pg=!1,a.marker.set("position",d),a.Pg=!0),d.equals(b)||(b=_.qz(d,a.Gg.get("projection")),c=a.Jg.on(b)));c&&_.TM(a.Jg,c)}}))},WPa=function(a){if(a.Hg){a.Fg.bindTo("scale",a.Hg);a.Fg.bindTo("position",a.Hg,"pixelPosition");const b=a.Gg.__gm;a.Hg.bindTo("latLngPosition",a.marker,"internalPosition");a.Hg.bindTo("focus",a.Gg,"position");a.Hg.bindTo("zoom",b);a.Hg.bindTo("offset",b);a.Hg.bindTo("center",b,"projectionCenterQ");a.Hg.bindTo("projection", a.Gg)}},YPa=function(a){if(a.Hg){const b=new XPa(a.Gg instanceof _.Yn);b.bindTo("internalPosition",a.Hg,"latLngPosition");b.bindTo("place",a.marker);b.bindTo("position",a.marker);b.bindTo("draggable",a.marker);a.Fg.bindTo("draggable",b,"actuallyDraggable")}},SR=function(a){if(a.Pg){var b=QR(a);b&&a.Jg.setPosition(_.qz(b,a.Gg.get("projection")))}},UPa=function(a,b){const c=a.Gg.__gm.get("snappingCallback");return c&&(a=c({latLng:b,overlay:a.marker}))?a:b},LPa=function(a){return MPa.some(b=>bPa(a,b))}, $Pa=function(a,b,c){if(b instanceof _.fn){const d=b.__gm;Promise.all([d.Gg,d.Hg]).then(([{dh:e},f])=>{ZPa(a,b,c,e,f)})}else ZPa(a,b,c,null)},ZPa=function(a,b,c,d,e=!1){const f=new Map,g=h=>{var l=b instanceof _.fn;const n=l?h.__gm.Vq.map:h.__gm.Vq.streetView,p=n&&n.Gg===b,r=p!==a.contains(h);n&&r&&(l?(h.__gm.Vq.map.dispose(),h.__gm.Vq.map=null):(h.__gm.Vq.streetView.dispose(),h.__gm.Vq.streetView=null));!a.contains(h)||!l&&h.get("mapOnly")||p||(b instanceof _.fn?(l=b.__gm,h.__gm.Vq.map=new aQa(h, b,c,_.KM(l,h),d,l.Tg,f)):h.__gm.Vq.streetView=new aQa(h,b,c,_.ck,null,null,null),pPa(b,h,e))};_.ym(a,"insert",g);_.ym(a,"remove",g);a.forEach(g)},TR=function(a){return _.yr()/(a.webkitBackingStorePixelRatio||a.mozBackingStorePixelRatio||a.msBackingStorePixelRatio||a.oBackingStorePixelRatio||a.backingStorePixelRatio||1)},bQa=function(a,b,c){a=a.Fg;a.width=b;a.height=c;return a},cQa=function(a){const b=[];a.Ti.forEach(c=>{b.push(c)});b.sort((c,d)=>c.zIndex-d.zIndex);return b},dQa=function(a){const b= cQa(a),c=a.getContext(),d=TR(c);a=a.Bh.size;c.clearRect(0,0,Math.ceil(a.mh*d),Math.ceil(a.nh*d));b.forEach(e=>{c.globalAlpha=_.ql(e.opacity,1);c.drawImage(e.image,e.Py,e.Qy,e.Oy,e.Jy,Math.round(e.dx*d),Math.round(e.dy*d),e.vq*d,e.sq*d)})},eQa=function(a,b,c){if(c.dx>a||c.dy>b||c.dx+c.vqg.push(h));g.sort((h,l)=>l.zIndex-h.zIndex);c=null;for(e=0;d=g[e];++e)if(f=d.Kv,f.clickable!==!1&&(f=f.bA,eQa(a.x,a.y,d))){c=f;break}c&&(b.vj=d);return c},gQa=function(a, b){if(!b.ZA){b.ZA=!0;var c=_.Hr(a.get("projection")),d=b.Ot;d.dx<-64||d.dy<-64||d.dx+d.vq>64||d.dy+d.sq>64?(_.Vp(a.Ig,b),d=a.Hg.search(_.ku)):(d=b.latLng,d=new _.Gn(d.lat(),d.lng()),b.yi=d,_.NM(a.Jg,{yi:d,marker:b}),d=_.Aza(a.Hg,d));for(let f=0,g=d.length;f{delete b.Ti[c];d.sk.Ti.remove(d)}))}, iQa=function(a,b){a.Kg[_.Pm(b)]=b;var c={sh:b.wi.x,th:b.wi.y,Ah:b.zoom};const d=_.Hr(a.get("projection"));var e=_.yA(a.Gg,c);e=new _.Gn(e.Fg,e.Gg);const {min:f,max:g}=_.UI(a.Gg,c,64/a.Gg.size.mh);c=_.qo(f.Fg,f.Gg,g.Fg,g.Gg);_.Dza(c,d,e,(h,l)=>{h.WG=l;h.sk=b;b.gp[_.Pm(h)]=h;_.LM(a.Hg,h);l=(a.Jg.search(h)||[]).map(n=>n.marker);a.Ig.forEach((0,_.Ga)(l.push,l));for(let n=0,p=l.length;n{a.Hg.remove(d)}))},fQa=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.Gg.size;a=_.iva(a.Gg,new _.Cq(c.x,c.y),new _.Cq(f.x,f.y),b.zoom);c.x=a.sh*e.mh;c.y=a.th*e.nh;a=d.zIndex;_.nl(a)||(a=c.y);a=Math.round(a*1E3)+_.Pm(d)%1E3;f=d.Ot;b={image:f.image,Py:f.Py,Qy:f.Qy,Oy:f.Oy,Jy:f.Jy,dx:f.dx+c.x,dy:f.dy+c.y,vq:f.vq,sq:f.sq, zIndex:a,opacity:d.opacity,sk:b,Kv:d};return b.dx>e.mh||b.dy>e.nh||b.dx+b.vq<0||b.dy+b.sq<0?null:b},kQa=function(a,b,c){a.Ig++<4?c?a.Gg.BD(b):a.Gg.kM(b):a.Fg=!0;a.po||(a.po=_.nJ((0,_.Ga)(a.Hg,a)))},lQa=function(a){return typeof a==="string"?(VR.has(a)||VR.set(a,{url:a}),VR.get(a)):a},rQa=function(a,b,c){const d=new _.kr,e=new _.kr,f=new mQa;new nQa(a,d,new FR,f,c);const g=_.cz(b.getDiv()).createElement("canvas"),h={};a=_.qo(-100,-300,100,300);const l=new _.xN(a);a=_.qo(-90,-180,90,180);const n=_.Cza(a, (x,y)=>x.marker===y.marker);let p=null,r=null;const t=new _.Wn(null),v=b.__gm;v.Gg.then(x=>{v.Lg.register(new oQa(h,v,t,x.dh.Dj));_.Yx(x.Dr,y=>{if(y&&p!==y.Bh){r&&r.unbindAll();var C=p=y.Bh;r=new pQa(h,d,e,function(H,K){return new qQa(K,new WR(H,K,g,C),H)},l,n,p);r.bindTo("projection",b);t.set(r.Fg())}})});_.VM(b,t,"markerLayer",-1)},tQa=function(a){a.po||(a.po=_.nJ(()=>{a.po=0;const b=a.Yu;a.Yu={};const c=a.aw;for(const d of Object.values(b))sQa(a,d);c&&!a.aw&&a.Dt.forEach(d=>{sQa(a,d)})}))},sQa= function(a,b){var c=b.get("place");c=c?c.location:b.get("position");b.set("internalPosition",c);b.changed=a.EL;if(!b.get("animating"))if(a.xC.remove(b),!c||b.get("visible")==0||b.__gm&&b.__gm.Un)a.Dt.remove(b);else{a.aw&&!a.LE&&a.Dt.getSize()>=256&&(a.aw=!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=AR(d);const h=b.get("label")!=null;a.LE||c==0||e||f||g||d||h||!c&&a.aw?_.Vp(a.Dt,b):(a.Dt.remove(b),_.Vp(a.xC,b))}},uQa=function(a, b){const c=new _.sp;c.onAdd=()=>{};c.onContextLost=()=>{};c.onRemove=()=>{};c.onContextRestored=()=>{};c.onDraw=({transformer:d})=>{a.onDraw(d)};_.cv.add(c);c.setMap(b);return c},vQa=function(a){a.Lg||(a.Lg=setTimeout(()=>{const b=[...a.Ig].filter(c=>!c.To).length;b>0&&a.Ch.Vg(a.map,b);a.Lg=0},0))},yQa=function(a,b){a.Jg.has(b)||(a.Jg.add(b),_.cB(_.bB(),()=>{if(a.map){var c=[];for(const d of a.Jg){if(!d.map)continue;const e=d.targetElement;e.parentNode||c.push(d);const f=d.Un!==!1&&YR(d)||d.Rt,g= _.gn(a.map);g||(a.Mg||(a.Mg=a.Gg.attachShadow({mode:_.eq[166]?"open":"closed"}),a.Mg.append(a.Kg,a.Fg)),a.Gg.append(e));g&&e.parentElement===g||!g&&e.parentElement===a.Gg?e.setAttribute("slot",f?wQa:xQa):e.style.visibility=f?"hidden":"";d.hm(!f);d.Mv=!1}a.Jg.clear();for(const d of c)d.Uy(!0)}}))},zQa=function(a){ZR||(ZR=new ResizeObserver(b=>{for(const c of b)c.target.dispatchEvent(new CustomEvent("marker-resize",{detail:c.contentRect}))}));ZR.observe(a)},CQa=function(a,b){const c=_.Da(b);let d=$R.get(c); d||(d=new AQa(b),$R.set(c,d));b=d;BQa(a,b.fn);b.Ig.add(a);vQa(b);zQa(a.targetElement)},DQa=function(a){a=_.Da(a);(a=$R.get(a))&&a.requestRedraw()},EQa=function(a,b){b=_.Da(b);(b=$R.get(b))&&yQa(b,a)},FQa=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}},bS=function(a,b,c=!0){a.Fg.position=a.Qg;aS(a,b,c)},aS=function(a,b,c=!0){b.preventDefault();b.stopImmediatePropagation(); cS(a);GQa(a);a.Hg&&(a.Hg.release(),a.Hg=null);c&&dS(a.Fg,"dragend",b)},IQa=function(a){a.Gg.style.display="none";a.Gg.style.opacity="0.5";a.Gg.style.position="absolute";a.Gg.style.left="50%";a.Gg.style.transform="translate(-50%, -50%)";a.Gg.style.zIndex="-1";HQa(a);const b=a.Fg.Io;b.addEventListener("pointerenter",a.Ug);b.addEventListener("pointerleave",a.Wg);b.addEventListener("focus",a.Ug);b.addEventListener("blur",a.Wg)},JQa=function(a,b=!1){return a.Ig?_.mB:b?"pointer":_.fia},eS=function(a){const b= a.Fg.Tj;b&&b.appendChild(a.Gg)},HQa=function(a){a.Gg.children[0]?.remove();var b=a.Fg,c;if(!(c=b.dragIndicator)){if(!b.Uu){const {url:d,scaledSize:e}=(new FR).Fg;b.Uu=new Image(e.width,e.height);b.Uu.src=d;b.Uu.alt=""}c=b.Uu}a.Gg.appendChild(c);eS(a)},LQa=function(a){if(!a.Fg.Vz){a.Hg=new _.yN((c,d)=>{var e=a.Fg;e.Jh&&_.O(e.Jh,"panbynow",c,d)});_.SM(a.Hg,!0);var b=KQa(a.Fg);_.RM(a.Hg,b);a.Hg.Ig=a.Jg}},MQa=function(a,b){cS(a);a.Jg=!1;a.Hg&&(a.Hg.Ig=!1);a.Kg=a.Fg.on();a.Og=_.oM(b)},NQa=function(a,b){var c= _.oM(b);if(c){b=c.clientX;c=c.clientY;var d=b-a.Og.clientX,e=c-a.Og.clientY;a.Og={clientX:b,clientY:c};b={clientX:a.Kg.clientX+d,clientY:a.Kg.clientY+e};a.Kg=b;a.Fg.lC(b)}},OQa=function(a,b){a.Kg=a.Fg.on();a.Qg=a.Fg.position;a.Og=_.oM(b);a.Ig=!0;LQa(a);a.Fg.Io.setAttribute("aria-grabbed","true");fS(a.Fg);a.Fg.Io.style.zIndex="2147483647";a.Gg.style.opacity="1";a.Gg.style.display="";dS(a.Fg,"dragstart",b)},PQa=function(a){a.Jg&&(a.Kg=a.Fg.on())},gS=function(a){_.Uz!==2?(document.removeEventListener("pointermove", a.Sg),document.removeEventListener("pointerup",a.Lg),document.removeEventListener("pointercancel",a.Lg)):(document.removeEventListener("touchmove",a.Sg,{passive:!1}),document.removeEventListener("touchend",a.Lg),document.removeEventListener("touchcancel",a.Lg),document.removeEventListener("touchstart",a.Lg));cS(a);GQa(a);a.Hg&&(a.Hg.release(),a.Hg=null)},cS=function(a){const b=a.Fg.Io;b.removeEventListener("keydown",a.oh);b.removeEventListener("keyup",a.wh);b.removeEventListener("blur",a.ph)},QQa= function(a){if(a.Rg.size===0)a.Pg=0;else{var {deltaX:b,deltaY:c}=FQa(a.Rg),d=1;_.wM(a.Xg)&&(d=a.Xg.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.Kg.clientX+e,clientY:a.Kg.clientY+d};a.Kg=e;a.Fg.lC(e);a.Pg=window.setTimeout(()=>{QQa(a)},10)}},GQa=function(a){a.Ig=!1;a.Jg=!1;a.Og=null;a.Kg=null;clearTimeout(a.Pg);a.Pg=0;a.Qg=null;a.Vg=null;a.Ng=null;const b=a.Fg.Io,c=a.Fg.zIndex;a.Gg.style.opacity="0.5";b.setAttribute("aria-grabbed","false");b.style.zIndex= c==null?"":`${c}`;RQa(a.Fg)},BQa=function(a,b){a.Yz=b;if(a.xu){var c=a.getAttribute("aria-describedby");c=c?c.split(" "):[];c.push(b);a.setAttribute("aria-describedby",c.join(" "))}},YR=function(a){return a.collisionBehavior!=="REQUIRED"&&!a.Rk&&!!a.map&&!!a.position},KQa=function(a){return a.Jh?a.Jh.get("pixelBounds"):null},dS=function(a,b,c){_.O(a,b,new _.LD(a.Wo,c,a.Fv?new _.Gn(a.Fv.mh,a.Fv.nh):null))},fS=function(a){_.O(a,"REMOVE_COLLISION")},RQa=function(a){a.style.cursor=a.Vi?JQa(a.Vi,a.yv): a.yv?"pointer":""},hS=function(a,b=!1){YR(a)&&(a.Jh&&$Oa(a.Jh.Xg,a),_.O(a,"UPDATE_MARKER_COLLISION"),b&&a.Hw&&_.O(a,"UPDATE_BASEMAP_COLLISION"))},SQa=function(a){a.dt.then(()=>{_.Nn(a,"marker-view");a.style.position="absolute";a.style.left="0px"})},iS=function(a){a.style.pointerEvents=a.by?"none":a.sF?"auto":""},jS=function(a){a.Fm=a.yv||!!a.xu},TQa=function(a){!a.kk&&a.map&&a.Jh&&(a.rC=!0,a.kk=_.Vz(a,{Yl:({event:b,Jq:c})=>{a.sF?(_.My(b.Fg),b.button===3||c||a.Su(b.Fg)):a===b.Fg.target||a.by||(console.debug('To make AdvancedMarkerElement clickable and provide better accessible experiences, use addListener() to register a "click" event on the AdvancedMarkerElement instance.'), a.Ch.Og(a.map))}}),a.mA=_.mia({draggable:a.cF,pE:new _.bE(a.map,"gestureHandling"),Fk:a.Jh.zl}),_.Yx(a.mA,a.OE),a.rC=!1)},kS=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)&&_.sm(_.jp(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.al&&a.al.contains(a.wl)?[a.wl]: []},UQa=function(a,b,c){if(b&&c&&({altitude:b}=new _.Lo(b),b>0||b<0))throw a.Ch.Pg(window),_.Ol("Draggable AdvancedMarkerElement with non-zero altitude is not supported");},lS=function(a){if(a.Vj){const b=_.Da(a.Vj),c=$R.get(b);c&&(c.Ig.delete(a),c.isEmpty()&&(c.dispose(),$R.delete(b)));ZR&&ZR.unobserve(a.targetElement);_.O(a,"REMOVE_FOCUS");_.O(a,"REMOVE_COLLISION");a.dh&&(a.Sj&&(a.dh.Vk(a.Sj),a.Sj=null),a.dh=null);a.Vi&&gS(a.Vi);a.RD?.remove();a.rH?.remove();a.lG?.remove();a.MF?.remove();a.mA?.removeListener(a.OE); a.kk&&(a.kk.remove(),a.kk=null);a.Hq.set("map",null);a.Hw=null;a.Jh=null;a.Vj=null;a.Mv=!0}},mS=function(a){if(a.Jh&&!a.Rk){var b=a.Jh.Tg;b&&(a.Fm&&a.Yo&&!a.Un?b.Xg(a):_.O(a,"REMOVE_FOCUS"))}},WQa=function(a){var b=a.Jh.get("baseMapType");b=b&&(!b.mapTypeId||!Object.values(_.et).includes(b.mapTypeId));a.Hw=a.uF&&!b;if(!a.To||a.position)a.Hw?DQa(a.map):VQa(a)},XQa=function(a){if(!a.To){var b=a.Jh.Fg;b.kB.then(()=>{const c=_.np(b,"ADVANCED_MARKERS");if(!c.isAvailable){a.Jh&&a.Jh.yh();for(const d of c.Fg)b.log(d); a.Ch.Ng(a.map);a.dispose()}})}},YQa=function(a){a.Ch.Ug(a.map);a.Ch.Ig(a.map,a.by);if(a.yv){const b=_.zm(a,"gmp-click");a.Ch.Gg(a.map,b)}a.gmpDraggable&&a.Ch.Jg(a.map);a.title&&a.Ch.Kg(a.map);a.zIndex!==null&&a.Ch.Lg(a.map);a.ml()>0&&a.Ch.Fg(a.map);a.Ch.Hg(a.map,a.collisionBehavior)},nS=function(a,b){a.Yo=b;a.Vi&&PQa(a.Vi);a.Hq.set("pixelPosition",b);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")||_.cB(_.bB(),()=>{c.push("transform");a.style.willChange=c.join(",")},a,a)}mS(a)},VQa=function(a){var b=jPa(a.Vj,a.Wo);a.Sj?a.Sj.setPosition(b,a.ml()):a.dh&&(b=new _.AN(a.dh.Dj,a,b,a.dh,null,a.ml(),a.RJ),a.dh.Ri(b),a.Sj=b)};_.Gn.prototype.py=_.ea(15,function(){return Math.sqrt(this.x*this.x+this.y*this.y)}); var MPa=["click","dblclick","rightclick","contextmenu"],ZQa=class extends _.Qm{constructor(){super();this.constraint=0;this.Fg=!1}position_changed(){this.Fg||(this.Fg=!0,this.set("rawPosition",this.get("position")),this.Fg=!1)}rawPosition_changed(){if(!this.Fg){this.Fg=!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 _.Gn(b,c)}else b=null; a.call(this,"position",b);this.Fg=!1}}},$Qa=class{constructor(a,b,c,d,e=0,f=0){this.width=c;this.height=d;this.offsetX=e;this.offsetY=f;this.Gg=new Float64Array(2);this.Gg[0]=a;this.Gg[1]=b;this.Fg=new Float32Array(2)}transform(a){a.ou(1,this.Gg,this.Fg,0,0,0);this.Fg[0]+=this.offsetX;this.Fg[1]+=this.offsetY}isVisible(a){return this.Fg[0]>=-this.width&&this.Fg[0]<=a.width+this.width&&this.Fg[1]>=-this.height&&this.Fg[1]<=a.height+this.height}equals(a){return this.Gg[0]===a.Gg[0]&&this.Gg[1]===a.Gg[1]&& this.width===a.width&&this.height===a.height&&this.offsetX===a.offsetX&&this.offsetY===a.offsetY}Hg(a){return this.Fg[0]>a.right||this.Fg[0]+this.widtha.bottom||this.Fg[1]+this.heighta,["ease-out"]:a=>1-Math.pow(a-1,2),["ease-in"]:a=>Math.pow(a,2)},oS=class{constructor(a){this.frames=a;this.Fg=""}},ER;var HPa={[1]:{options:{duration:700,vm:"infinite"},icon:new oS([{time:0,translate:[0,0],Am:"ease-out"},{time:.5,translate:[0,-20],Am:"ease-in"},{time:1,translate:[0,0],Am:"ease-out"}])},[2]:{options:{duration:500,vm:1},icon:new oS([{time:0,translate:[0,-500],Am:"ease-in"},{time:.5,translate:[0,0],Am:"ease-out"},{time:.75,translate:[0,-20],Am:"ease-in"},{time:1,translate:[0,0],Am:"ease-out"}])},[3]:{options:{duration:200,py:20,vm:1,eH:!1},icon:new oS([{time:0,translate:[0,0],Am:"ease-in"},{time:1, translate:[0,-20],Am:"ease-out"}])},[4]:{options:{duration:500,py:20,vm:1,eH:!1},icon:new oS([{time:0,translate:[0,-20],Am:"ease-in"},{time:.5,translate:[0,0],Am:"ease-out"},{time:.75,translate:[0,-10],Am:"ease-in"},{time:1,translate:[0,0],Am:"ease-out"}])}};var FR=class{constructor(){this.icon={url:_.zr("api-3/images/spotlight-poi3",!0),scaledSize:new _.In(26,37),origin:new _.Gn(0,0),anchor:new _.Gn(13,37),labelOrigin:new _.Gn(13,14)};this.Gg={url:_.zr("api-3/images/spotlight-poi-dotless3",!0),scaledSize:new _.In(26,37),origin:new _.Gn(0,0),anchor:new _.Gn(13,37),labelOrigin:new _.Gn(13,14)};this.Fg={url:_.zr("api-3/images/drag-cross",!0),scaledSize:new _.In(13,11),origin:new _.Gn(0,0),anchor:new _.Gn(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 aRa=class extends _.Qm{constructor(a,b){super();this.Gg=a;this.Fg=b;pS||(pS=new FR)}changed(a){a!=="modelIcon"&&a!=="modelShape"&&a!=="modelCross"&&a!=="modelLabel"||_.cB(_.bB(),this.Hg,this,this)}Hg(){const a=this.get("modelIcon");var b=this.get("modelLabel");rPa(this,"viewIcon",a||b&&pS.Gg||pS.icon);rPa(this,"viewCross",pS.Fg);b=this.get("useDefaults");let c=this.get("modelShape");c||a&&!b||(c=pS.shape);this.get("viewShape")!==c&&this.set("viewShape",c)}},pS;var bRa=class extends _.Qm{constructor(){super();this.Gg=!1;this.Fg=sPa(this);this.set("shouldRender",this.Fg)}changed(){if(!this.Gg){var a=sPa(this);this.Fg!==a&&(this.Fg=a,this.Gg=!0,this.set("shouldRender",this.Fg),this.Gg=!1)}}};var XPa=class extends _.Qm{constructor(a){super();this.Gg=a;this.Fg=!1}internalPosition_changed(){if(!this.Fg){this.Fg=!0;var a=this.get("position"),b=this.get("internalPosition");a&&b&&!a.equals(b)&&this.set("position",this.get("internalPosition"));this.Fg=!1}}draggable_changed(){if(!this.Fg){this.Fg=!0;if(this.Gg){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.Fg=!1}}position_changed(){this.draggable_changed()}place_changed(){this.draggable_changed()}};var DPa=class{constructor(a,b,c,d,e){this.Fl=a;this.label=b;this.opacity=c;this.visible=d;this.origin=void 0;this.zIndex=0;this.Hg=this.Jg=this.Fg=null;this.Gg=new _.Pp(this.Kg,0,this);this.Ig=e;this.Fl=a;this.label=b;this.opacity=c;this.visible=d}setOpacity(a){this.opacity=a;_.Qp(this.Gg)}setLabel(a){this.label=a;_.Qp(this.Gg)}setVisible(a){this.visible=a;_.Qp(this.Gg)}setZIndex(a){this.zIndex=a;_.Qp(this.Gg)}release(){this.Fl=null;GR(this)}Kg(){if(this.Fl&&this.label&&this.visible!==!1){var a=this.Fl.markerLayer, b=this.label;this.Fg?a.appendChild(this.Fg):(this.Fg=document.createElement("div"),a.appendChild(this.Fg),this.Fg.style.transform="translateZ(0)");a=this.Fg;this.origin&&_.gz(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||_.hz("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.Ig&&b!==this.Hg){this.Hg=b;const {width:e,height:f}=c.getBoundingClientRect();b=new _.In(e,f);b.equals(this.Jg)||(this.Jg=b,this.Ig(b))}_.uJ(c,_.ql(this.opacity,1));_.iz(a,this.zIndex)}else GR(this)}};var yPa=class{constructor(a,b,c){this.element=a;this.animation=b;this.options=c;this.Gg=!1;this.Fg=null}start(){this.options.vm=this.options.vm||1;this.options.duration=this.options.duration||1;_.Hm(this.element,"webkitAnimationEnd",()=>{this.Gg=!0;_.O(this,"done")});uPa(this.element,nPa(this.animation),this.options)}cancel(){this.Fg&&(this.Fg.remove(),this.Fg=null);uPa(this.element,null,{});_.O(this,"done")}stop(){this.Gg||(this.Fg=_.Hm(this.element,"webkitAnimationIteration",()=>{this.cancel()}))}};var HR=[],IR=null,zPa=class{constructor(a,b,c){this.element=a;this.animation=b;this.vm=-1;this.Fg=!1;this.startTime=0;c.vm!=="infinity"&&(this.vm=c.vm||1);this.duration=c.duration||1E3}start(){HR.push(this);IR||(IR=window.setInterval(vPa,10));this.startTime=Date.now();this.tick()}cancel(){this.Fg||(this.Fg=!0,xPa(this,1),_.O(this,"done"))}stop(){this.Fg||(this.vm=1)}tick(){if(!this.Fg){var a=Date.now();xPa(this,(a-this.startTime)/this.duration);a>=this.startTime+this.duration&&(this.startTime=Date.now(), this.vm!=="infinite"&&(this.vm--,this.vm||this.cancel()))}}};var cRa=_.sa.DEF_DEBUG_MARKERS,qS=class extends _.Qm{constructor(a,b,c){super();this.Lg=new _.Pp(()=>{var d=this.get("panes"),e=this.get("scale");if(!d||!this.getPosition()||this.Pi()==0||_.nl(e)&&e<.1&&!this.Rk)MR(this);else{CPa(this,d.markerLayer);if(!this.Qg){var f=this.Zg();if(f){var g=f.url;e=this.get("clickable")!=0;var h=this.getDraggable(),l=this.get("title")||"",n=l;n||(n=(n=this.eh())?n.text:"");if(e||h||n){var p=!e&&!h&&!l,r=AR(f),t=PR(f),v=this.get("shape"),x=BR(f),y={};if(_.kz())f=x.width, x=x.height,r=new _.In(f+16,x+16),f={url:_.ID,size:r,anchor:t?new _.Gn(t.x+8,t.y+8):new _.Gn(Math.round(f/2)+8,x+8),scaledSize:r};else{const H=f.scaledSize||x;(_.gq.Gg||_.gq.Fg)&&v&&(y.shape=v,x=H);if(!r||v)f={url:_.ID,size:x,anchor:t,scaledSize:H}}t=f.url!=null;this.Mh===t&&LR(this);this.Mh=!t;y=this.targetElement=NR(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");p=y;if((t=p.getAttribute("usemap")||p.firstChild&&p.firstChild.getAttribute("usemap"))&&t.length&&(p=_.cz(p).getElementById(t.substr(1))))var C=p.firstChild;C&&(C.tabIndex=-1,C.style.display="inline",C.style.position="absolute",C.style.left="0px",C.style.top="0px");cRa&&(y.dataset.debugMarkerImage=g);y=C||y;y.title=l;n&&this.Cp().setAttribute("aria-label",n);this.pw();h&&!this.Kg&&(g=this.Kg=new _.ZAa(y,this.Ug,this.targetElement),this.Ug? (g.bindTo("deltaClientPosition",this),g.bindTo("position",this)):g.bindTo("position",this.Tg,"rawPosition"),g.bindTo("containerPixelBounds",this,"mapPixelBounds"),g.bindTo("anchorPoint",this),g.bindTo("size",this),g.bindTo("panningEnabled",this),this.Sg||(this.Sg=[_.Mm(g,"dragstart",this),_.Mm(g,"drag",this),_.Mm(g,"dragend",this),_.Mm(g,"panbynow",this)]));g=this.get("cursor")||"pointer";h?this.Kg.set("draggableCursor",g):y.style.cursor=e?g:"";KPa(this,y)}}}d=d.overlayLayer;if(h=e=this.get("cross"))h= this.get("crossOnDrag"),h===void 0&&(h=this.get("raiseOnDrag")),h=h!=0&&this.getDraggable()&&this.Rk;h?this.Ig=NR(this,d,this.Ig,e):(this.Ig&&_.oz(this.Ig),this.Ig=null);this.Mg=[this.Fg,this.Ig,this.targetElement];GPa(this);for(e=0;e_.Rp(this.Lg))];this.wh=this.Og=this.Ng=this.Kg=this.Pg=this.Sg=null;this.Xg=!1;this.getPosition= _.rn("position");this.getPanes=_.rn("panes");this.Pi=_.rn("visible");this.Zg=_.rn("icon");this.eh=_.rn("label");this.yp=null}nG(){}get Fm(){return this.Xg}set Fm(a){this.Xg!==a&&(this.Xg=a,_.O(this,"UPDATE_FOCUS"))}get Rk(){return this.get("dragging")}panes_changed(){MR(this);_.Qp(this.Lg)}ko(a){this.set("position",a&&new _.Gn(a.mh,a.nh))}Gs(){this.unbindAll();this.set("panes",null);this.Hg&&this.Hg.stop();this.Pg&&(_.Am(this.Pg),this.Pg=null);this.Hg=null;KR(this.yh);this.yh=[];MR(this);_.O(this, "RELEASED")}ph(){var a;if(!(a=this.Yh!=(this.get("clickable")!=0)||this.ci!=this.getDraggable())){a=this.Fh;var b=this.get("shape");a=!(a==null||b==null?a==b:a.type==b.type&&_.YI(a.coords,b.coords))}a&&(this.Yh=this.get("clickable")!=0,this.ci=this.getDraggable(),this.Fh=this.get("shape"),LR(this),_.Qp(this.Lg))}Gg(){_.Qp(this.Lg)}position_changed(){this.Ug?_.Rp(this.Lg):_.Qp(this.Lg)}Cp(){return this.targetElement}pw(){const a=this.Cp();if(a){var b=!!this.get("title");b||(b=(b=this.eh())?!!b.text: !1);this.Fm?a.setAttribute("role","button"):b?a.setAttribute("role","img"):a.removeAttribute("role")}}Ox(a){_.O(this,"click",a);_.yn(window,"Mki");_.N(window,171149)}Qs(){}Eq(a){_.My(a);_.O(this,"click",a);_.yn(window,"Mmi");_.N(window,171150)}Nx(){}getDraggable(){return!!this.get("draggable")}ri(){this.set("dragging",!0);this.Tg.set("snappingCallback",this.Li)}ei(){this.Tg.set("snappingCallback",null);this.set("dragging",!1)}animation_changed(){this.Vg=!1;this.get("animation")?IPa(this):(this.set("animating", !1),this.Hg&&this.Hg.stop())}rF(a){const b=this.get("markerPosition");return this.yp&&b&&this.yp.size?fPa(a,this.targetElement):!1}};_.z=qS.prototype;_.z.shape_changed=qS.prototype.ph;_.z.clickable_changed=qS.prototype.ph;_.z.draggable_changed=qS.prototype.ph;_.z.cursor_changed=qS.prototype.Gg;_.z.scale_changed=qS.prototype.Gg;_.z.raiseOnDrag_changed=qS.prototype.Gg;_.z.crossOnDrag_changed=qS.prototype.Gg;_.z.zIndex_changed=qS.prototype.Gg;_.z.opacity_changed=qS.prototype.Gg;_.z.title_changed=qS.prototype.Gg; _.z.cross_changed=qS.prototype.Gg;_.z.icon_changed=qS.prototype.Gg;_.z.visible_changed=qS.prototype.Gg;_.z.dragging_changed=qS.prototype.Gg;var QPa="click dblclick mouseup mousedown mouseover mouseout rightclick dragstart drag dragend contextmenu".split(" "),aQa=class{constructor(a,b,c,d,e,f,g){this.marker=a;this.Gg=b;this.dh=e;this.Sg=f;this.Ig=g;this.Pg=!0;this.Qg=this.Rg=null;this.Kg=[];this.Og=b instanceof _.fn;f=QR(this);b=this.Og&&f?_.qz(f,b.getProjection()):null;this.Fg=new qS(d,!!this.Og,h=>{this.Fg.yp=a.__gm.yp={...a.__gm.yp,hQ:h};a.__gm.yx&&a.__gm.yx()});_.ym(this.Fg,"RELEASED",()=>{var h=this.Fg;if(this.Ig&&this.Ig.has(h)){({KE:h}= this.Ig.get(h));for(const l of h)l.remove()}this.Ig&&this.Ig.delete(this.Fg)});this.Sg&&this.Ig&&!this.Ig.has(this.Fg)&&(this.Ig.set(this.Fg,{marker:this.marker,KE:[]}),this.Sg.Sg(this.Fg),RR(this,this.Fg),NPa(this,this.Fg));(this.Jg=this.Og?new _.AN(e.Dj,this.Fg,b,e,()=>{if(this.Fg.get("dragging")&&!this.marker.get("place")){var h=this.Jg.getPosition();h&&(h=_.Ir(h,this.Gg.get("projection")),this.Pg=!1,this.marker.set("position",h),this.Pg=!0)}}):null)&&e.Ri(this.Jg);this.Lg=new aRa(c,(h,l,n)=>{this.Fg.yp= a.__gm.yp={...a.__gm.yp,size:h,anchor:l,labelOrigin:n};a.__gm.yx&&a.__gm.yx()});this.Hg=this.Og?null:new _.pN;this.Mg=this.Og?null:new bRa;this.Ng=new _.Qm;this.Ng.bindTo("position",this.marker);this.Ng.bindTo("place",this.marker);this.Ng.bindTo("draggable",this.marker);this.Ng.bindTo("dragging",this.marker);this.Lg.bindTo("modelIcon",this.marker,"icon");this.Lg.bindTo("modelLabel",this.marker,"label");this.Lg.bindTo("modelCross",this.marker,"cross");this.Lg.bindTo("modelShape",this.marker,"shape"); this.Lg.bindTo("useDefaults",this.marker,"useDefaults");this.Fg.bindTo("icon",this.Lg,"viewIcon");this.Fg.bindTo("label",this.Lg,"viewLabel");this.Fg.bindTo("cross",this.Lg,"viewCross");this.Fg.bindTo("shape",this.Lg,"viewShape");this.Fg.bindTo("title",this.marker);this.Fg.bindTo("cursor",this.marker);this.Fg.bindTo("dragging",this.marker);this.Fg.bindTo("clickable",this.marker);this.Fg.bindTo("zIndex",this.marker);this.Fg.bindTo("opacity",this.marker);this.Fg.bindTo("anchorPoint",this.marker);this.Fg.bindTo("markerPosition", this.marker,"position");this.Fg.bindTo("animation",this.marker);this.Fg.bindTo("crossOnDrag",this.marker);this.Fg.bindTo("raiseOnDrag",this.marker);this.Fg.bindTo("animating",this.marker);this.Mg||this.Fg.bindTo("visible",this.marker);OPa(this);PPa(this);RPa(this);this.Og?(SPa(this),TPa(this),VPa(this)):(WPa(this),this.Hg&&(this.Mg.bindTo("visible",this.marker),this.Mg.bindTo("cursor",this.marker),this.Mg.bindTo("icon",this.marker),this.Mg.bindTo("icon",this.Lg,"viewIcon"),this.Mg.bindTo("mapPixelBoundsQ", this.Gg.__gm,"pixelBoundsQ"),this.Mg.bindTo("position",this.Hg,"pixelPosition"),this.Fg.bindTo("visible",this.Mg,"shouldRender")),YPa(this))}dispose(){this.Fg.set("animation",null);this.Fg.Gs();this.dh&&this.Jg?this.dh.Vk(this.Jg):this.Fg.Gs();this.Mg&&this.Mg.unbindAll();this.Hg&&this.Hg.unbindAll();this.Lg.unbindAll();this.Ng.unbindAll();this.Kg.forEach(_.Am);this.Kg.length=0}};var WR=class{constructor(a,b,c,d){this.div=a;this.Ti=b;this.Fg=c;this.Bh=d}getContext(){if(!this.context){const a=this.div,b=a.ownerDocument.createElement("canvas");_.oq(b);b.style.position="absolute";b.style.top=b.style.left="0";const c=b.getContext("2d"),d=TR(c),e=this.Bh.size;b.width=Math.ceil(e.mh*d);b.height=Math.ceil(e.nh*d);b.style.width=_.wl(e.mh);b.style.height=_.wl(e.nh);a.appendChild(b);this.context=c}return this.context}BD(a){const b=cQa(this),c=this.getContext(),d=TR(c),e=Math.round(a.dx* d),f=Math.round(a.dy*d),g=Math.ceil(a.vq*d);a=Math.ceil(a.sq*d);const h=bQa(this,g,a),l=h.getContext("2d");l.translate(-e,-f);b.forEach(n=>{l.globalAlpha=_.ql(n.opacity,1);l.drawImage(n.image,n.Py,n.Qy,n.Oy,n.Jy,Math.round(n.dx*d),Math.round(n.dy*d),n.vq*d,n.sq*d)});c.clearRect(e,f,g,a);c.globalAlpha=1;c.drawImage(h,e,f)}};WR.prototype.kM=WR.prototype.BD;var mQa=class{constructor(){this.Fg=_.lJ().Fg}load(a,b){return this.Fg.load(new _.JL(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 _.Gn(e.width/2,e.height),h=f.width/d.width,l=f.height/d.height,n=a.origin?a.origin.x/h:0,p=a.origin?a.origin.y/l:0,r=-g.x;g=-g.y;var t=e.width/h,v=e.width,x=e.height/l,y=e.height;n*h+e.width>f.width&&(t=d.width-n*h,v=f.width);p*l+e.height>f.height&&(x=d.height-p*l,y=f.height);b({image:c,Py:n,Qy:p,Oy:t,Jy:x,dx:r, dy:g,vq:v,sq:y})}else b(null)})}cancel(a){this.Fg.cancel(a)}};var oQa=class{constructor(a,b,c,d){this.Fg=b;this.Gg=c;this.zIndex=40;this.Hg=new _.BN(a,d,c)}Ns(a){return a!=="dragstart"&&a!=="drag"&&a!=="dragend"}Ws(a,b){return b?UR(this,a,-8,0)||UR(this,a,0,-8)||UR(this,a,8,0)||UR(this,a,0,8):UR(this,a,0,0)}handleEvent(a,b,c){const d=b.vj;if(a==="mouseout")this.Fg.set("cursor",""),this.Fg.set("title",null);else if(a==="mouseover"){var e=d.Kv;this.Fg.set("cursor",e.cursor);(e=e.title)&&this.Fg.set("title",e)}let f;d&&a!=="mouseout"?f=d.Kv.latLng:f=b.latLng;a=== "dblclick"&&_.wm(b.domEvent);_.O(c,a,new _.LD(f,b.domEvent))}};var pQa=class extends _.nr{constructor(a,b,c,d,e,f,g){super();this.Kg=a;this.Mg=d;this.Ig=c;this.Hg=e;this.Jg=f;this.Gg=g||_.WD;b.Fg=h=>{gQa(this,h)};b.onRemove=h=>{hQa(this,h)};b.forEach(h=>{gQa(this,h)})}Fg(){return{Bh:this.Gg,Al:2,bl:this.Lg.bind(this)}}Lg(a,b={}){const c=document.createElement("div"),d=this.Gg.size;c.style.width=`${d.mh}px`;c.style.height=`${d.nh}px`;c.style.overflow="hidden";a={div:c,zoom:a.Ah,wi:new _.Gn(a.sh,a.th),gp:{},Ti:new _.kr};c.sk=a;iQa(this,a);let e=!1;return{Si:()=> c,sm:()=>e,loaded:new Promise(f=>{_.Jm(c,"load",()=>{e=!0;f()})}),release:()=>{const f=c.sk;c.sk=null;jQa(this,f);c.textContent="";b.gj&&b.gj()}}}};var qQa=class{constructor(a,b,c){this.Gg=b;this.po=null;this.Fg=!1;this.Ig=0;const d=this;a.Fg=e=>{d.Pq(e)};a.onRemove=e=>{d.Bs(e)};this.Jg=c;a.getSize()?(this.Fg=!0,this.Hg()):_.Lp(_.DI(_.O,c,"load"))}Pq(a){kQa(this,a,!0)}Bs(a){kQa(this,a,!1)}Hg(){this.Fg&&dQa(this.Gg);this.Fg=!1;this.po=null;this.Ig=0;_.Lp(_.DI(_.O,this.Jg,"load"))}};var nQa=class{constructor(a,b,c,d,e){var f=lQa;this.markers=a;this.Gg=b;this.Fg=c;this.Jg=f;this.Ig=d;this.Hg=e;this.markers.Fg=g=>{this.Pq(g)};this.markers.onRemove=g=>{this.Bs(g)}}Pq(a){var b=a.get("internalPosition"),c=a.get("zIndex");const d=a.get("opacity"),e=a.__gm.Tx={bA:a,latLng:b,zIndex:c,opacity:d,Ti:{}};b=a.get("useDefaults");c=a.get("icon");const f=a.get("shape")||c&&!b?a.get("shape"):this.Fg.shape,g=c?this.Jg(c):this.Fg.icon,h=ePa(()=>{e===a.__gm.Tx&&(e.Ot||e.PG)&&this.Dl(a,e,g,f)}); g.url?this.Ig.load(g,l=>{e.Ot=l;h()}):(e.PG=this.Hg(g),h())}Bs(a){this.Gg.remove(a.__gm.Tx);a.__gm.Tx=null}Dl(a,b,c,d){if(b.Ot){c=c.size;var e=a.get("anchorPoint");if(!e||e.Fg)e=new _.Gn(b.Ot.dx+c.width/2,b.Ot.dy),e.Fg=!0,a.set("anchorPoint",e)}else c=b.PG.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";_.Vp(this.Gg,b)}};var VR=new Map;var dRa=class{constructor(a,b,c,d){this.Yu={};this.po=0;this.aw=!0;const e=this;this.xC=b;this.Dt=c;this.LE=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.EL=function(g){g in f&&(delete this.changed,e.Yu[_.Pm(this)]=this,tQa(e))};a.Fg=g=>{e.Pq(g)};a.onRemove=g=>{e.Bs(g)};a=a.elements;for(const g of Object.values(a))this.Pq(g)}Pq(a){this.Yu[_.Pm(a)]= a;tQa(this)}Bs(a){delete a.changed;delete this.Yu[_.Pm(a)];this.xC.remove(a);this.Dt.remove(a)}};var rS=class extends Event{constructor(){super("gmp-click",{bubbles:!0})}};var eRa=class{Ug(){}Rg(){}Gg(){}Hg(){}Ig(){}Ng(){}Pg(){}Lg(){}Jg(){}Kg(){}Og(){}Qg(){}Fg(){}Sg(){}Tg(){}Wg(){}Vg(){}Mg(){}};var fRa=(0,_.Fi)`.yNHHyP-marker-view .IPAZAH-content-container\u003e*{pointer-events:none}.yNHHyP-marker-view .IPAZAH-content-container.HJDHPx-interactive\u003e*{pointer-events:auto}\n`;var xQa=aPa("visible-gmp-advanced-markers"),wQa=aPa("hidden-gmp-advanced-markers"),AQa=class{constructor(a){this.Ch=gRa;this.xo=null;this.Og=!1;this.Mg=null;this.Lg=0;this.Ng=null;this.map=a;this.Ig=new Set;this.Jg=new Set;this.fn=`maps-aria-${_.en()}`;this.Hg=document.createElement("span");this.Hg.id=this.fn;this.Hg.textContent="Para activar la funci\u00f3n de arrastrar con el teclado, presiona Alt\u00a0+\u00a0Intro. Una vez que est\u00e9s en el estado de arrastrar con el teclado, usa las teclas de flecha para mover el marcador. Para completar la acci\u00f3n, presiona la tecla Intro. Para cancelar, presiona Escape."; this.Hg.style.display="none";this.Kg=document.createElement("div");this.Fg=document.createElement("div");CSS.supports("content-visibility: hidden")?this.Fg.style.contentVisibility="hidden":this.Fg.style.visibility="hidden";var b=document.createElement("slot");b.setAttribute("name",xQa);this.Kg.appendChild(b);b=document.createElement("slot");b.setAttribute("name",wQa);this.Fg.appendChild(b);this.Gg=document.createElement("div");this.Gg.append(this.Kg,this.Fg);const c=a.__gm;this.Qg=c.zp;this.Pg=new Promise(d=> {c.Hg.then(e=>{this.map&&(e&&(this.xo=uQa(this,a)),this.Og=!0);d()})});_.Zv(fRa,this.map.getDiv());Promise.all([c.Gg,this.Pg]).then(([{Fl:d}])=>{this.map&&d.overlayMouseTarget.append(this.Hg,this.Gg);this.Ng=c.addListener("panes_changed",e=>{this.map&&e.overlayMouseTarget.append(this.Hg,this.Gg)})})}dispose(){this.xo&&(this.xo.setMap(null),this.xo=null);this.Ng&&this.Ng.remove();this.Hg.remove();this.Fg.remove();this.Kg.remove();this.Gg.remove();this.Fg.textContent="";this.Kg.textContent="";this.Ig.clear(); this.Jg.clear();this.map=null}isEmpty(){return this.Ig.size===0}requestRedraw(){this.Og?this.xo&&this.xo.requestRedraw():this.Pg.then(()=>{this.xo&&this.xo.requestRedraw()})}onDraw(a){if(this.map){var b=this.Qg.offsetWidth,c=this.Qg.offsetHeight,d=_.Bq(this.map.getZoom()||1,this.map.getTilt()||0,this.map.getHeading()||0);for(const h of this.Ig.values()){var e=h.RK;var f=this.map.getCenter();if(e&&f){f=_.ll(f.lng(),-180,180);var g=_.ll(e.lng,-180,180);f>0&&gf+180&&(g-=360);e=new _.Lo({altitude:e.altitude, lat:e.lat,lng:g},!0)}else e=null;if(!e){h.ko(null,d);continue}e=a.fromLatLngAltitude(e);f=Array.from(e);e=g=[0,0,0];const l=e[0],n=e[1],p=e[2],r=1/(f[3]*l+f[7]*n+f[11]*p+f[15]);e[0]=(f[0]*l+f[4]*n+f[8]*p+f[12])*r;e[1]=(f[1]*l+f[5]*n+f[9]*p+f[13])*r;e[2]=(f[2]*l+f[6]*n+f[10]*p+f[14])*r;const {HK:t,HN:v}={HK:f[14]<0&&f[15]<0,HN:g};t?h.ko(null,d):h.ko({mh:DR(v[0]/2*b),nh:DR(-v[1]/2*c)},d,{mh:b,nh:c})}}}};var $R=new Map,gRa=new class extends eRa{Ug(a){a&&this.fj(a,181191,"Acamk")}Rg(a){if(a){var b=a.getRenderingType();b!=="UNINITIALIZED"&&this.fj(a,159713,"Mlamk");b==="RASTER"?this.fj(a,157416,"Raamk"):b==="VECTOR"&&this.fj(a,157417,"Veamk")}}Gg(a,b=!1){this.fj(a,158896,"Camk");b&&this.fj(a,185214,"Cgmk")}Hg(a,b){b&&(b!=="REQUIRED"&&this.fj(a,160097,"Csamk"),b==="REQUIRED_AND_HIDES_OPTIONAL"?this.fj(a,160098,"Cramk"):b==="OPTIONAL_AND_HIDES_LOWER_PRIORITY"&&this.fj(a,160099,"Cpamk"))}Ig(a,b){b?this.fj(a, 159404,"Dcamk"):this.fj(a,159405,"Ccamk")}Ng(a){this.fj(a,159484,"Ceamk")}Pg(a){this.fj(a,160438,"Dwaamk")}Lg(a){this.fj(a,159521,"Ziamk")}Jg(a){this.fj(a,160103,"Dgamk")}Kg(a){this.fj(a,159805,"Tiamk")}Og(a){this.fj(a,159490,"Ckamk")}Qg(a){this.fj(a,159812,"Fcamk")}Fg(a){this.fj(a,159609,"Atamk")}Sg(a){this.fj(a,160122,"Kdamk")}Tg(a){this.fj(a,160106,"Ldamk")}Wg(a){this.fj(a,160478,"pdamk")}Vg(a,b){const c=[{threshold:1E4,Lo:160636,bp:"Amk10K"},{threshold:5E3,Lo:160635,bp:"Amk5K"},{threshold:2E3, Lo:160634,bp:"Amk2K"},{threshold:1E3,Lo:160633,bp:"Amk1K"},{threshold:500,Lo:160632,bp:"Amk500"},{threshold:200,Lo:160631,bp:"Amk200"},{threshold:100,Lo:160630,bp:"Amk100"},{threshold:50,Lo:159732,bp:"Amk50"},{threshold:10,Lo:160629,bp:"Amk10"},{threshold:1,Lo:160628,bp:"Amk1"}];for(const {threshold:d,Lo:e,bp:f}of c)if(b>=d){this.fj(a,e,f);break}}Mg(a){a=a instanceof KeyboardEvent;this.fj(window,a?171152:171153,a?"Amki":"Ammi")}fj(a,b,c){a&&(_.N(a,b),_.yn(a,c))}},hRa=new eRa,ZR=null;var iRa=class{constructor(a){this.Fg=a;this.Jg=this.Ig=!1;this.Ng=this.Hg=this.Kg=this.Og=this.Qg=this.Vg=null;this.Pg=0;this.Xg=null;this.eh=b=>{this.Ps(b)};this.ih=b=>{b.touches.length===1&&this.Ps(b)};this.Zg=b=>{b.preventDefault();b.stopImmediatePropagation()};this.Tg=b=>{if(this.Jg||this.Mg||kPa(b,this.Vg))this.Mg=!0};a=this.Fg.Io;_.Uz!==2?(a.addEventListener("pointerdown",this.eh),a.addEventListener("pointermove",this.Tg)):(a.addEventListener("touchstart",this.ih,{passive:!1}),a.addEventListener("touchmove", this.Tg,{passive:!1}));a.addEventListener("mousedown",this.Zg);this.Sg=b=>{b.preventDefault();b.stopImmediatePropagation();this.Jg?MQa(this,b):this.Ig?(NQa(this,b),dS(this.Fg,"drag",b)):(OQa(this,b),b=this.Fg,b.Ch.Wg(b.map))};this.Lg=b=>{this.Ng&&b.timeStamp-this.Ng>=500&&(!this.Ig||this.Jg)?(this.Jg?MQa(this,b):(OQa(this,b),b=this.Fg,b.Ch.Tg(b.map),b.To&&_.O(b,"longpressdragstart")),this.Mg=!0):(this.Ig&&(this.Jg||this.Mg||kPa(b,this.Vg))&&(this.Mg=!0),this.Jg&&aS(this,b),b.type==="touchend"&&(this.Gg.style.display= "none"),this.Ig?(b.stopImmediatePropagation(),NQa(this,b),gS(this),hS(this.Fg,!0),dS(this.Fg,"dragend",b)):gS(this))};this.oh=b=>{this.yh(b)};this.wh=b=>{this.xh(b)};this.ph=b=>{bS(this,b)};this.yh=b=>{if(b.altKey&&(_.eB(b)||b.key===_.rla))bS(this,b);else if(!b.altKey&&_.eB(b))this.Mg=!0,aS(this,b);else if(_.fB(b)||_.hB(b)||_.gB(b)||_.iB(b))b.preventDefault(),this.Rg.add(b.key),this.Pg||(this.Xg=new _.OM(100),QQa(this)),dS(this.Fg,"drag",b);else if(b.code==="Equal"||b.code==="Minus"){var c=this.Fg; b=b.code==="Equal"?1:-1;const d=jPa(c.Vj,c.Wo);d&&c.dh.qH(b,d)}};this.xh=b=>{(_.fB(b)||_.hB(b)||_.gB(b)||_.iB(b))&&this.Rg.delete(b.key)};this.Ug=()=>{this.Gg.style.display=""};this.Wg=()=>{this.Ig||(this.Gg.style.display="none")};this.Gg=document.createElement("div");IQa(this);this.Mg=!1;this.Rg=new Set}Uy(a){this.Hg&&_.PM(this.Hg,a)}Ps(a){this.Mg=!1;if(this.Fg.gmpDraggable&&(a.button===0||a.type==="touchstart")){const b=this.Fg.Io;b.focus();const c=document;_.Uz!==2||a.preventDefault();a.stopImmediatePropagation(); this.Ng=a.timeStamp;_.Uz!==2?(c.addEventListener("pointermove",this.Sg),c.addEventListener("pointerup",this.Lg),c.addEventListener("pointercancel",this.Lg)):(c.addEventListener("touchmove",this.Sg,{passive:!1}),c.addEventListener("touchend",this.Lg),c.addEventListener("touchcancel",this.Lg),c.addEventListener("touchstart",this.Lg));this.Ig||(this.Vg=_.oM(a));b.style.cursor=_.mB}}Ox(){this.Ig||(this.Mg=!1)}Qs(a){if(this.Fg.gmpDraggable&&!this.Jg&&!this.Ig){var b=this.Fg.Io;b.addEventListener("keydown", this.oh);b.addEventListener("keyup",this.wh);b.addEventListener("blur",this.ph);this.Kg=this.Fg.on();this.Qg=this.Fg.position;this.Jg=this.Ig=!0;LQa(this);b=this.Fg.Io;b.setAttribute("aria-grabbed","true");fS(this.Fg);b.style.zIndex="2147483647";this.Gg.style.opacity="1";dS(this.Fg,"dragstart",a);a=this.Fg;a.Ch.Sg(a.map)}}Nx(a,b=!0){this.Jg?bS(this,a,b):this.Ig&&(this.Fg.position=this.Qg,a.stopImmediatePropagation(),gS(this),b&&dS(this.Fg,"dragend",a))}Rk(){return this.Ig}dispose(){gS(this);const a= this.Fg.Io;_.Uz!==2?(a.removeEventListener("pointerdown",this.eh),a.removeEventListener("pointermove",this.Tg)):(a.removeEventListener("touchstart",this.ih,{passive:!1}),a.removeEventListener("touchmove",this.Tg,{passive:!1}));a.removeEventListener("mousedown",this.Zg);a.removeEventListener("pointerenter",this.Ug);a.removeEventListener("pointerleave",this.Wg);a.removeEventListener("focus",this.Ug);a.removeEventListener("blur",this.Wg);this.Gg.remove()}};var sS=!1,tS=class extends _.$u{set anchorTop(a){}get anchorTop(){}set anchorLeft(a){}get anchorLeft(){}constructor(a={}){super(a);this.Uu=this.kk=this.Vi=null;this.Yz="";this.Uk=this.Fv=this.Yo=this.dh=this.Sj=this.al=null;this.dD=!1;this.Xy=null;this.MB=this.uF=this.Yy=this.fD=!1;this.Jh=this.Hw=this.MF=this.lG=this.rH=this.RD=null;this.cD=void 0;this.xu=this.eD=!1;this.cF=_.Xn(!1);this.Wo=this.yu=this.mA=null;this.qr="";this.Vj=this.Zy=void 0;this.Jz=this.Kz=!0;this.XA=this.rC=!1;this.Mv=!0;this.PD= document.createElement("div");SQa(this);this.targetElement=this;this.Io=this;this.To=sS;Object.defineProperties(this,{To:{value:sS,writable:!1}});this.Ch=this.To?hRa:gRa;this.addEventListener("focus",e=>{this.EA(e)},!0);this.addEventListener("marker-resize",()=>{const e=this.Yo;if(e){var {width:f}=this.getBoundingClientRect(),{offsetX:g,offsetY:h}=CR(this.Oz);this.Hq.set("anchorPoint",new _.Gn((f?f/2:0)+(g-e.x),h-e.y))}});this.wl=(new _.hE).element;this.zj=document.createElement("div");_.Nn(this.zj, "content-container");this.al=document.createElement("slot");this.al.addEventListener("slotchange",()=>{this.bs()});this.zj.appendChild(this.al);this.al.prepend(this.wl);this.bs();Promise.resolve().then(()=>{iS(this);a.anchorTop&&(this.anchorTop=a.anchorTop);a.anchorLeft&&(this.anchorLeft=a.anchorLeft)});this.Oz=getComputedStyle(this);this.RJ=(e,f,g)=>this.Dx(e,f,g);const b=()=>{iS(this);jS(this);const e=_.zm(this,"gmp-click");this.Ch.Gg(this.map,e)},c=()=>{iS(this);jS(this)},d=["click"];d.push("gmp-click"); for(const e of d)dPa(this,e,b),cPa(this,e,c);this.Hq=new _.Qm;this.OE=e=>{this.kk?.cr(e==="cooperative"||e==="none")};this.collisionBehavior=a.collisionBehavior;a.content!=null&&(this.content=a.content);this.Vz=!!a.Vz;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.Wh(a,tS,"AdvancedMarkerElement")}addEventListener(a,b,c){a!=="click"||this.rC||_.sm(_.jp(this,"Please use addEventListener('gmp-click', ...) instead of addEventListener('click', ...).")); super.addEventListener(a,b,c)}addListener(a,b){a==="click"&&_.sm(_.jp(this,"Please use addEventListener('gmp-click', ...) instead of addEventListener('click', ...)."));return _.ym(this,a,b)}Su(a){var b;if(b=this.Vi)b=this.Vi,b=b.Ng&&a.timeStamp-b.Ng>=500?!0:b.Mg;if(!b&&this.Wo){this.gmpDraggable||this.focus();dS(this,"click",a);if(this.gmpClickable||_.zm(this,"gmp-click"))b=new rS,_.O(this,"gmp-click",b),this.dispatchEvent(b);this.Ch.Mg(a)}}EA(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.Ch.Qg(this.map),a=[document.body,..._.mz(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.Fm){var b=()=>{this.isConnected&&this.Yo?setTimeout(()=>{this.focus();a()},0):_.cB(_.bB(),b)};b()}})}Eq(){}Nx(a){this.Vi&&(this.Vi.Nx(a,!this.To),this.To&&_.O(this,"dragcancel"))}get collisionBehavior(){return this.cD}set collisionBehavior(a){a=this.gh("collisionBehavior",_.$l(_.Tl(_.Yt)),a)||"REQUIRED";this.collisionBehavior!==a&&(this.cD= a,this.Ch.Hg(this.map,this.cD),this.map&&(!YR(this)&&this.Jh?ZOa(this.Jh.Xg,this):hS(this,!0)))}get element(){return this}get by(){return kS(this)[0]===this.wl}get content(){const a=kS(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){var b=_.$l(_.Yl([_.Sl(Node,"Node"),_.Xl(_.Rl)]));if(a instanceof _.hE)throw _.Ol(_.jp(this,"`content` invalid: PinElement must currently be assigned as `pinElement.element`.")); a=this.gh("content",b,a)||this.wl;b=kS(this);if(b.length!==1||b[0]!==a)a!==this.wl?this.replaceChildren(a):a===this.wl&&this.replaceChildren(),this.bs()}bs(){const a=()=>{this.al&&!this.al.contains(this.wl)&&this.al.prepend(this.wl);this.Uk=null;this.Vi&&eS(this.Vi);hS(this,!0);iS(this)};this.Ch.Ig(this.map,this.by);this.dt.then(()=>{a()})}get dragIndicator(){}set dragIndicator(a){}get gmpClickable(){return this.eD}set gmpClickable(a){a=this.gh("gmpClickable",_.Bt,a)||!1;this.eD!==a&&(this.eD=a,iS(this), jS(this))}get gmpDraggable(){return this.xu}set gmpDraggable(a){a=this.gh("gmpDraggable",_.Bt,a)||!1;UQa(this,this.position,a);this.cF.set(a);this.xu!==a&&((this.xu=a)?(this.Ch.Jg(this.map),this.setAttribute("aria-grabbed","false"),BQa(this,this.Yz),this.Vi=new iRa(this),HQa(this.Vi)):(this.removeAttribute("aria-grabbed"),this.nG(this.Yz),this.Vi.dispose(),this.Vi=null),iS(this),jS(this))}nG(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.Vj}set map(a){this.setMap(a);this.Vj&&(a=_.gn(this.Vj))&&this.parentElement!==a&&a.append(this)}setMap(a){this.Vj!==a&&(a=this.gh("map",_.$l(_.Sl(_.fn,"MapsApiMap")),a),a instanceof _.fn&&(a=a.LM),a&&this.isConnected?lS(this):this.dispose(),this.Vj=a,this.Hq.set("map",this.Vj),this.Vj instanceof _.fn?(this.Vj&&CQa(this,this.Vj),this.Jh=this.Vj.__gm,TQa(this),this.RD=this.Vj.addListener("bounds_changed",()=>{mS(this)}),this.rH= this.Vj.addListener("zoom_changed",()=>{mS(this)}),this.lG=this.Vj.addListener("projection_changed",()=>{mS(this)}),this.MF=this.Vj.addListener("maptypeid_changed",()=>{WQa(this)}),Promise.all([this.Jh.Gg,this.Jh.Hg]).then(([b,c])=>{this.Vj===b.map&&(this.uF=c,this.Ch.Rg(b.map),c=this.Jh.Fg,this.To||_.np(c,"ADVANCED_MARKERS").isAvailable)&&(this.dh=b.dh,WQa(this))}),XQa(this),YQa(this)):this.Jh=null)}get position(){return this.yu}set position(a){a=(a=this.gh("position",_.$l(_.Lv),a)||null)&&new _.Lo(a); const b=this.yu;UQa(this,a,this.gmpDraggable);if(b&&a){var c=new _.Lo(b,!0);const d=new _.Lo(a,!0);c=!c.equals(d)}else c=b!==a;c&&(this.Wo=(this.yu=a)?new _.im(a):null,this.MB=!0,a||nS(this,null),this.Hq.set("position",this.Wo),this.Hw?DQa(this.map):VQa(this),this.ml()>0&&this.Ch.Fg(this.map),_.dp(this,"position",b))}get RK(){return this.yu}get title(){return this.qr}set title(a){a=this.gh("title",_.Yr,a);const b=this.qr;a!==this.title&&(this.qr=a,this.title&&this.Ch.Kg(this.map),this.title===""? (this.removeAttribute("aria-label"),this.removeAttribute("title")):(this.setAttribute("aria-label",this.title),this.setAttribute("title",this.title)),this.pw(),_.dp(this,"title",b))}get zIndex(){return this.Zy}set zIndex(a){a=this.gh("zIndex",_.$l(_.mt),a);this.Zy=a==null?null:a;this.style.zIndex=this.Zy==null?"":`${this.Zy}`;this.zIndex!==null&&this.Ch.Lg(this.map);hS(this)}get yv(){const a=_.zm(this,"click"),b=_.zm(this,"gmp-click");return a||b||!!this.gmpClickable}get sF(){return this.yv||!!this.gmpDraggable}get Fm(){return this.dD}set Fm(a){RQa(this); this.dD!==a&&(this.dD=a,mS(this))}get Rt(){return this.Yy}set Rt(a){if(a!==this.Yy){if(this.Yy=a)this.Jz=this.Kz=!1,fS(this);this.map&&EQa(this,this.map)}}get Un(){return this.Xy}set Un(a){a!==this.Xy&&(this.Xy=a,this.map&&EQa(this,this.map),mS(this),_.O(this,"UPDATE_BASEMAP_COLLISION"))}rv(){if(!this.Yo)return null;if(!this.Uk)for(const c of kS(this)){var a=this.Oz;const {offset:d,size:e}=hPa(this,c);var b=CR(a);a=b.offsetY+d.y;b=b.offsetX+d.x;a=_.qo(b,a,b+e.width,a+e.height);this.Uk?this.Uk.extendByBounds(a): this.Uk=a}return this.Uk}ml(){return this.yu?this.yu.altitude:0}Dx(a,b,c){return this.Vj?(c=_.Uxa(this.Vj.getProjection(),this.Wo,c))?a/c*Math.sin(b*Math.PI/180):0:0}ko(a,b,c){if(a){if(this.Vi){b=this.Vi;var d=b.Fg;b=(d=d.Jh?d.Jh.zp:null)&&b.Kg&&b.Ig&&!b.Jg?iPa(d,b.Kg):null}else b=null;b&&(a=b);this.Fv=a;b=this.Rt;this.Rt=!(!c||!(Math.abs(a.mh)>c.mh/2+512||Math.abs(a.nh)>c.nh/2+512));b&&this.Rt||(this.Mv&&this.map&&(c=_.Da(this.map),(c=$R.get(c))&&yQa(c,this)),(new _.Gn(a.mh,a.nh)).equals(this.Yo)|| (nS(this,new _.Gn(a.mh,a.nh)),this.Uy(this.MB)),this.MB=!1,this.Jz=this.Kz=!0)}else this.Rt=!0,this.Fv=null,nS(this,null)}Uy(a){this.Uk=null;this.Vi&&this.Vi.Hg&&this.Vi.Uy(this.rv());hS(this,a)}hm(a){this.fD!==a&&(this.fD=a,this.Hq.set("map",this.fD?this.map:null))}Ix(){if(!YR(this)||this.Un||!kS(this).length)return null;var a=this.map.getProjection();if(!a)return null;a=a.fromLatLngToPoint(this.Wo);const b=[];for(const f of kS(this)){a:{var c=f;var d=this.Yo;var e=this.Oz;if(!d){d={size:new _.In(0, 0),offset:new _.Gn(0,0)};break a}const {size:l,offset:n}=hPa(this,c);c=CR(e);d={size:l,offset:new _.Gn(c.offsetX-d.x+n.x,c.offsetY-d.y+n.y)}}const {size:g,offset:h}=d;d=new $Qa(a.x,a.y,g.width,g.height,h.x,h.y);b.push(d)}return b}Gs(){}Cp(){return this}rF(a){return!this.position||this.Xy?!1:fPa(a,this)}pw(){const a=this.Cp();this.Fm?a.setAttribute("role","button"):this.title?a.setAttribute("role","img"):a.removeAttribute("role")}get Rk(){return this.Vi?this.Vi.Rk():!1}bm(){nS(this,null);fS(this); this.Kz&&this.dh&&this.Sj&&(this.dh.Vk(this.Sj),this.Sj=null);this.remove();this.Mv=!0}dispose(){if(!this.XA){this.XA=!0;try{this.Vj&&(lS(this),this.bm())}finally{this.XA=!1}}}lC(a){{const c=this.Jh?.get("projectionController");if(this.Jh&&a&&c){var b=this.Jh.zp.getBoundingClientRect();a=c.fromContainerPixelToLatLng(new _.Gn(a.clientX-b.left,a.clientY-b.top))}else a=null}a&&(this.position=a)}on(){var a=this.Jh?.get("projectionController");if(!this.Jh||!a||!this.Wo)return null;a=a.fromLatLngToContainerPixel(this.Wo); const b=this.Jh.zp.getBoundingClientRect();return{clientX:a.x+b.left,clientY:a.y+b.top}}connectedCallback(){super.connectedCallback();this.Tj.appendChild(this.zj);this.Vi&&eS(this.Vi);if(this.isConnected&&this.parentNode){const a=zR(this);a?this.setMap(a):(lS(this),console.error("AdvancedMarkerElement: parent element must be a ."))}}disconnectedCallback(){!this.isConnected&&this.Jz&&(this.map=null);this.Mv=!0;super.disconnectedCallback()}};tS.prototype.addListener=tS.prototype.addListener; tS.prototype.addEventListener=tS.prototype.addEventListener;tS.prototype.constructor=tS.prototype.constructor;tS.li={oi:181577,ni:181576};_.A([_.cr({ah:"anchor-top",type:String,fh:!0}),_.D("design:type",Object),_.D("design:paramtypes",[Object])],tS.prototype,"anchorTop",null);_.A([_.cr({ah:"anchor-left",type:String,fh:!0}),_.D("design:type",Object),_.D("design:paramtypes",[Object])],tS.prototype,"anchorLeft",null); _.A([_.cr({ah:"gmp-clickable",type:Boolean,fh:!0}),_.D("design:type",Object),_.D("design:paramtypes",[Object])],tS.prototype,"gmpClickable",null);_.A([_.cr({Ih:_.mu,Aj:_.So,fh:!0}),_.D("design:type",Object),_.D("design:paramtypes",[Object])],tS.prototype,"position",null);_.A([_.cr({Ih:{Xj:a=>a||"",Jj:a=>a||null},fh:!0}),_.D("design:type",String),_.D("design:paramtypes",[String])],tS.prototype,"title",null); var jRa=!1,kRa=class extends tS{constructor(a={}){super(a);if(!sS)throw Error("InternalUseAdvancedMarkerView is not allowed to be instantiated directly.");}};_.oo("gmp-internal-use-am",kRa);var uS={Marker:_.$n,CollisionBehavior:_.Yt,Animation:_.tv,WI:()=>{},Fz:function(a,b,c){const d=_.Xza();if(b instanceof _.Yn)$Pa(a,b,d);else{const e=new _.kr;$Pa(e,b,d);const f=new _.kr;c||rQa(f,b,d);new dRa(a,f,e,c)}},aE:function(a={}){sS=!0;a=new kRa(a);sS=!1;return a},AdvancedMarkerElement:tS,PinElement:_.hE,AdvancedMarkerClickEvent:rS,AdvancedMarkerView:void 0,PinView:void 0,connectForExplicitThirdPartyLoad:()=>{const a={AdvancedMarkerElement:tS,PinElement:_.hE,AdvancedMarkerClickEvent:rS,AdvancedMarkerView:void 0, PinView:void 0};_.zl(a);_.sa.google.maps.marker=a;jRa||(jRa=!0,_.oo("gmp-advanced-marker",tS))}};_.Al(uS,["WI","Fz","aE","connectForExplicitThirdPartyLoad"]);_.zl(uS);_.Ok("marker",uS);});