import{S as t,i as e,a as n,b as o,s as i,e as a,c as r,n as s,d as m,f as c,g as h,h as l,j as u,o as d,t as p}from"./index-04d7984b.js";import{communities as f,addMarkersCommunities as g}from"../../../../../../../../../js/communities.js";import"../../../../../../../../../js/components/map-component.js";function b(t,e,n){const o=t.slice();return o[1]=e[n],o}function w(t){let e,n,i,m,u,d,f,g,b,w,x,v,y,C,j,z,E,k,D=t[1].location[0]+"",L=t[1].status+"",M=t[1].members+"",R=t[1].contact[1]+"";return{c(){e=a("div"),n=a("p"),i=a("b"),i.textContent="Location: ",m=p(D),u=r(),d=a("p"),f=a("b"),f.textContent="Status: ",g=p(L),b=r(),w=a("p"),x=a("b"),x.textContent="Members: ",v=p(M),y=r(),C=a("p"),j=a("b"),j.textContent="Contact: ",z=a("a"),E=p(R),k=r(),c(z,"href",t[1].contact[0]),c(z,"target",";_blank;"),c(z,"rel","noreferrer"),c(e,"class","location-info")},m(t,a){o(t,e,a),h(e,n),h(n,i),h(n,m),h(e,u),h(e,d),h(d,f),h(d,g),h(e,b),h(e,w),h(w,x),h(w,v),h(e,y),h(e,C),h(C,j),h(C,z),h(z,E),h(e,k)},p:s,d(t){t&&l(e)}}}function x(t){let e,n,i,d,p,g,x,v,y,C,j,z,E=f,k=[];for(let e=0;e{})),[function(t){let e=t([51.505,-.09],3);g(e)}]}class y extends t{constructor(t){super(),this.shadowRoot.innerHTML="",e(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},v,x,i,{},null),t&&t.target&&o(t.target,this,t.anchor)}}customElements.define("communities-component",y);export{y as default};