import{g as e,S as o,i as t,a as n,b as i,s as a,e as r,n as s,d as l,c,o as m,f as d,h as p,t as h,j as g,k as u,m as f,r as b,p as v,q as k,u as w,x as y}from"./index-3cab5f92.js";import{w as x}from"./index-eafa799e.js";import{loadLocaleContent as j,locales as z}from"../../../../../../js/libraries/serverTools.js";const{customElements:O}=e;function T(e,o,t){const n=e.slice();return n[14]=o[t][0],n[15]=o[t][1],n}function H(e){let o,t,n,a,r,s,c,m,y,x,j,O,H,M,N,S,E,R,U,q,I,X,A,B,C,D,F,G,J,K,P,Q,V,W,Y,Z,$,_,ee,oe,te,ne,ie,ae,re=e[3].orgName+"",se=e[3].manifesto+"",le=e[3].joinUs+"",ce=e[3].groups+"",me=e[3].communities+"",de=e[3].cooperatives+"",pe=e[3].partners+"",he=Object.entries(z),ge=[];for(let o=0;o',r=p(),s=d("a"),c=d("img"),y=p(),x=d("span"),j=h(re),O=p(),H=d("nav"),M=d("ul"),N=d("li"),S=d("a"),E=h(se),R=p(),U=d("li"),q=d("a"),I=h(le),X=p(),A=d("li"),B=d("a"),C=h(ce),D=p(),F=d("li"),G=d("a"),J=h(me),K=p(),P=d("li"),Q=d("a"),V=h(de),W=p(),Y=d("li"),Z=d("a"),$=h(pe),_=p(),ee=d("li"),oe=d("button"),oe.innerHTML=' \n \n globe',te=p(),ne=d("div");for(let e=0;et(3,n=e)));let d=j(l,"navbar-component",s);function p(e){localStorage.setItem("locale",e);let o=location.href.split("/"),t=Object.keys(z);o=o.filter((e=>!t.includes(e)));let n=o.slice(0,o.length-1).join("/")+"/"+e+"/"+o[o.length-1];location.href=n}m((()=>{}));return[i,a,r,n,s,l,d,function(){i.checked?t(1,a.style.background="white",a):setTimeout((()=>{t(1,a.style.position="relative",a),t(1,a.style.background="",a),t(1,a.style.boxShadow="",a)}),510)},function(){"block"==r.style.display?t(2,r.style.display="none",r):t(2,r.style.display="block",r)},p,function(e){y[e?"unshift":"push"]((()=>{i=e,t(0,i)}))},e=>p(e),function(e){y[e?"unshift":"push"]((()=>{r=e,t(2,r)}))},function(e){y[e?"unshift":"push"]((()=>{a=e,t(1,a)}))}]}class S extends o{constructor(e){super(),this.shadowRoot.innerHTML="",t(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},N,M,a,{},null),e&&e.target&&i(e.target,this,e.anchor)}}O.define("navbar-component",S);export{S as default};