import{S as i,i as t,a as o,b as e,s as r,e as s,n as m,d as n,c as a,o as c,w as g,f as p,g as d,t as l,h as u,j as v,v as h,l as x,m as w}from"./index-4348483d.js";import{loadLocaleContent as f}from"../../../../../../../../../js/libraries/serverTools.js";import{w as T}from"./index-71440b21.js";function b(i){let t,o,r,s,m,a,c,g,f,T,b,y,j,z,E,H,L,M,N,R,S,k,q,A,B,C,D,F,G,I,J,K,O,P,Q,U,V,W,X,Y,Z,$,_,ii,ti,oi,ei,ri=i[3].top+"",si=i[3].groupsTitle+"",mi=i[3].groupsText+"",ni=i[3].communesTitle+"",ai=i[3].communesText+"",ci=i[3].cooperativesTitle+"",gi=i[3].cooperativesText+"",pi=i[3].partiesTitle+"",di=i[3].partiesText+"";return{c(){t=p("div"),o=p("picture"),o.innerHTML=' \n \n crowd',r=d(),s=p("div"),m=p("p"),a=l(ri),c=d(),g=p("div"),f=p("div"),T=p("h2"),b=l(si),y=d(),j=p("img"),E=d(),H=p("p"),L=l(mi),M=d(),N=p("div"),R=p("h2"),S=l(ni),k=d(),q=p("img"),B=d(),C=p("p"),D=l(ai),F=d(),G=p("div"),I=p("h2"),J=l(ci),K=d(),O=p("img"),Q=d(),U=p("p"),V=l(gi),W=d(),X=p("div"),Y=p("h2"),Z=l(pi),$=d(),_=p("img"),ti=d(),oi=p("p"),ei=l(di),u(j,"id","groups-img"),v(j.src,z="/img/common/groups.svg")||u(j,"src","/img/common/groups.svg"),u(j,"alt","groups"),u(q,"id","communes-img"),v(q.src,A="/img/common/commune.svg")||u(q,"src","/img/common/commune.svg"),u(q,"alt","communes"),u(O,"id","coops-img"),v(O.src,P="/img/common/coops.svg")||u(O,"src","/img/common/coops.svg"),u(O,"alt","coops"),u(_,"id","parties-img"),v(_.src,ii="/img/common/parties.svg")||u(_,"src","/img/common/parties.svg"),u(_,"alt","coops"),u(g,"id","container-grid"),h(g,"--grid-width",i[1]),u(s,"id","text-container"),u(t,"id","container")},m(n,p){e(n,t,p),x(t,o),x(t,r),x(t,s),x(s,m),x(m,a),x(s,c),x(s,g),x(g,f),x(f,T),x(T,b),x(f,y),x(f,j),x(f,E),x(f,H),x(H,L),x(g,M),x(g,N),x(N,R),x(R,S),x(N,k),x(N,q),x(N,B),x(N,C),x(C,D),x(g,F),x(g,G),x(G,I),x(I,J),x(G,K),x(G,O),x(G,Q),x(G,U),x(U,V),x(g,W),x(g,X),x(X,Y),x(Y,Z),x(X,$),x(X,_),x(X,ti),x(X,oi),x(oi,ei),i[6](g)},p(i,t){8&t&&ri!==(ri=i[3].top+"")&&w(a,ri),8&t&&si!==(si=i[3].groupsTitle+"")&&w(b,si),8&t&&mi!==(mi=i[3].groupsText+"")&&w(L,mi),8&t&&ni!==(ni=i[3].communesTitle+"")&&w(S,ni),8&t&&ai!==(ai=i[3].communesText+"")&&w(D,ai),8&t&&ci!==(ci=i[3].cooperativesTitle+"")&&w(J,ci),8&t&&gi!==(gi=i[3].cooperativesText+"")&&w(V,gi),8&t&&pi!==(pi=i[3].partiesTitle+"")&&w(Z,pi),8&t&&di!==(di=i[3].partiesText+"")&&w(ei,di),2&t&&h(g,"--grid-width",i[1])},d(o){o&&n(t),i[6](null)}}}function y(i){let t,o=2==i[2]&&b(i);return{c(){o&&o.c(),t=s()},m(i,r){o&&o.m(i,r),e(i,t,r)},p(i,e){2==i[2]?o?o.p(i,e):(o=b(i),o.c(),o.m(t.parentNode,t)):o&&(o.d(1),o=null)},d(i){o&&o.d(i),i&&n(t)}}}function j(i){let t,o=i[2],a=y(i);return{c(){a.c(),t=s(),this.c=m},m(i,o){a.m(i,o),e(i,t,o)},p(i,[e]){4&e&&r(o,o=i[2])?(a.d(1),a=y(i),a.c(),a.m(t.parentNode,t)):a.p(i,e)},i:m,o:m,d(i){i&&n(t),a.d(i)}}}function z(i,t,o){let e,r,s,m,n=T(0);a(i,n,(i=>o(2,e=i)));let p=T({});function d(i){o(1,m="1fr 1fr")}a(i,p,(i=>o(3,r=i))),f(p,"countries",n);f(p,"landing-component",n,d);return d(),c((()=>{})),[s,m,e,r,n,p,function(i){g[i?"unshift":"push"]((()=>{s=i,o(0,s)}))}]}class E extends i{constructor(i){super(),this.shadowRoot.innerHTML="",t(this,{target:this.shadowRoot,props:o(this.attributes),customElement:!0},z,j,r,{},null),i&&i.target&&e(i.target,this,i.anchor)}}customElements.define("landing-component",E);export{E as default};