import{S as t,i as n,a as o,b as e,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 b,m as f,p as x}from"./index-4348483d.js";import{w as j}from"./index-71440b21.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,n,o){const e=t.slice();return e[6]=n[o],e}function z(t){let n,o,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 n=0;no(0,e=t)));let a=k(m,"communities-component",i);function s(t,n,o){let e=t([51.505,-.09],3);w(e,n,o)}c((()=>{}));return[e,i,m,a,s,t=>s(t,e,a)]}class R extends t{constructor(t){super(),this.shadowRoot.innerHTML="",n(this,{target:this.shadowRoot,props:o(this.attributes),customElement:!0},O,E,i,{},null),t&&t.target&&e(t.target,this,t.anchor)}}customElements.define("communities-component",R);export{R as default};