import{S as t,i as e,a as n,b as o,s as i,e as m,n as a,d as s,c as r,o as c,f as l,t as g,g as p,h,j as u,k as d,l as f,m as b,p as x}from"./index-ce8c147b.js";import{w as j}from"./index-f2dbf8ff.js";import{communities as v,addMarkersCommunities as w}from"../../../../../../../../../js/communities.js";import{loadLocaleContent as k}from"../../../../../../../../../js/libraries/serverTools.js";import"../../../../../../../../../js/components/map-component.js";function y(t,e,n){const o=t.slice();return o[6]=e[n],o}function z(t){let e,n,i,m,a,r,c,j,w,k,z,E,O,R,T,A,C,H,L,M,N=t[0].heading+"",S=t[0].p1+"",_=t[0].subheading1+"",q=t[0].subheading2+"",B=v,F=[];for(let e=0;en(0,o=t)));let a=k(m,"communities-component",i);function s(t,e,n){let o=t([51.505,-.09],3);w(o,e,n)}c((()=>{}));return[o,i,m,a,s,t=>s(t,o,a)]}class R extends t{constructor(t){super(),this.shadowRoot.innerHTML="",e(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},O,E,i,{},null),t&&t.target&&o(t.target,this,t.anchor)}}customElements.define("communities-component",R);export{R as default};