import{g as i,S as t,i as o,a as e,b as r,s,e as n,n as m,d as a,c,o as g,f as d,h as p,t as u,j as l,k as h,w as v,m as f,p as x,x as w}from"./index-3cab5f92.js";import{loadLocaleContent as T}from"../../../../../../js/libraries/serverTools.js";import{w as b}from"./index-eafa799e.js";const{customElements:y}=i;function j(i){let t,o,e,s,n,m,c,g,w,T,b,y,j,k,z,E,H,L,M,O,R,N,S,q,A,B,C,D,F,G,I,J,K,P,Q,U,V,W=i[2].top+"",X=i[2].groupsTitle+"",Y=i[2].groupsText+"",Z=i[2].communitiesTitle+"",$=i[2].communitiesText+"",_=i[2].cooperativesTitle+"",ii=i[2].cooperativesText+"";return{c(){t=d("div"),o=d("picture"),o.innerHTML=' \n \n ',e=p(),s=d("div"),n=d("p"),m=u(W),c=p(),g=d("div"),w=d("div"),T=d("h2"),b=u(X),y=p(),j=d("img"),z=p(),E=d("p"),H=u(Y),L=p(),M=d("div"),O=d("h2"),R=u(Z),N=p(),S=d("img"),A=p(),B=d("p"),C=u($),D=p(),F=d("div"),G=d("h2"),I=u(_),J=p(),K=d("img"),Q=p(),U=d("p"),V=u(ii),l(j,"id","groups-img"),h(j.src,k="/img/common/groups.svg")||l(j,"src","/img/common/groups.svg"),l(j,"alt","groups"),l(S,"id","communities-img"),h(S.src,q="/img/common/communities.svg")||l(S,"src","/img/common/communities.svg"),l(S,"alt","communities"),l(K,"id","coops-img"),h(K.src,P="/img/common/coops.svg")||l(K,"src","/img/common/coops.svg"),l(K,"alt","coops"),l(g,"id","container-grid"),v(g,"--grid-width",i[1]),l(s,"id","text-container"),l(t,"id","container")},m(a,d){r(a,t,d),f(t,o),f(t,e),f(t,s),f(s,n),f(n,m),f(s,c),f(s,g),f(g,w),f(w,T),f(T,b),f(w,y),f(w,j),f(w,z),f(w,E),f(E,H),f(g,L),f(g,M),f(M,O),f(O,R),f(M,N),f(M,S),f(M,A),f(M,B),f(B,C),f(g,D),f(g,F),f(F,G),f(G,I),f(F,J),f(F,K),f(F,Q),f(F,U),f(U,V),i[5](g)},p(i,t){4&t&&W!==(W=i[2].top+"")&&x(m,W),4&t&&X!==(X=i[2].groupsTitle+"")&&x(b,X),4&t&&Y!==(Y=i[2].groupsText+"")&&x(H,Y),4&t&&Z!==(Z=i[2].communitiesTitle+"")&&x(R,Z),4&t&&$!==($=i[2].communitiesText+"")&&x(C,$),4&t&&_!==(_=i[2].cooperativesTitle+"")&&x(I,_),4&t&&ii!==(ii=i[2].cooperativesText+"")&&x(V,ii),2&t&&v(g,"--grid-width",i[1])},d(o){o&&a(t),i[5](null)}}}function k(i){let t,o=0!=Object.keys(i[2]).length,e=o&&j(i);return{c(){e&&e.c(),t=n(),this.c=m},m(i,o){e&&e.m(i,o),r(i,t,o)},p(i,[r]){4&r&&(o=0!=Object.keys(i[2]).length),o?e?e.p(i,r):(e=j(i),e.c(),e.m(t.parentNode,t)):e&&(e.d(1),e=null)},i:m,o:m,d(i){e&&e.d(i),i&&a(t)}}}function z(i,t,o){let e,r,s,n,m=b({});function a(i){o(1,s="ru"==i?"1.2fr 1.05fr 1fr":"1.2fr 1.1fr 1fr")}return c(i,m,(i=>o(2,e=i))),a(T(m,"landing-component",n,a)),g((()=>{})),[r,s,e,n,m,function(i){w[i?"unshift":"push"]((()=>{r=i,o(0,r)}))}]}class E extends t{constructor(i){super(),this.shadowRoot.innerHTML="",o(this,{target:this.shadowRoot,props:e(this.attributes),customElement:!0},z,k,s,{},null),i&&i.target&&r(i.target,this,i.anchor)}}y.define("landing-component",E);export{E as default};