import{S as t,i as n,a as o,b as e,s as r,e as m,n as a,d as c,c as i,o as s,f as l,t as u,g as p,h as g,j as h,k as d,l as f,m as b,p as x}from"./index-4348483d.js";import{w as j}from"./index-71440b21.js";import{addMarkersCommunes as v,communesByCountry as w}from"../../../../../../../../../js/communes.js";import{loadLocaleContent as y}from"../../../../../../../../../js/libraries/serverTools.js";import"../../../../../../../../../js/components/map-component.js";function k(t,n,o){const e=t.slice();return e[7]=n[o][0],e[8]=n[o][1],e}function z(t,n,o){const e=t.slice();return e[11]=n[o],e}function D(t){let n,o,r,m,a,i,s,j,v,y,z,D,E,O,R,T,A,C=t[1].heading+"",H=t[1].p1+"",L=t[1].subheading1+"",M=Object.entries(w),S=[];for(let n=0;no(0,e=t)));let a=j({});i(t,a,(t=>o(1,r=t))),y(a,"countries",m);let c=y(a,"communes-component",m);function l(t,n){let o=t([22,0],2);v(o,n)}s((()=>{}));return[e,r,m,a,c,l,t=>l(t,r)]}class A extends t{constructor(t){super(),this.shadowRoot.innerHTML="",n(this,{target:this.shadowRoot,props:o(this.attributes),customElement:!0},T,R,r,{},null),t&&t.target&&e(t.target,this,t.anchor)}}customElements.define("communes-component",A);export{A as default};