2 lines
4.6 KiB
JavaScript
2 lines
4.6 KiB
JavaScript
import{S as t,i as e,a as o,b as n,s as i,e as r,c as s,n as a,d as c,f as m,g as l,h as p,j as h,o as d,t as g}from"./index-04d7984b.js";import{coops as f,addMarkersCoops as u}from"../../../../../../../../../js/coops.js";import"../../../../../../../../../js/components/map-component.js";function b(t,e,o){const n=t.slice();return n[1]=e[o],n}function x(t){let e,o,i,c,h,d,f,u,b,x,w,v,C,k,y,j,W,z,E,D,L,M,R,S,T,_,A,B,H,N,O,q,F,G,I,J,K,P,Q,U,V,X,Y,Z,$=t[1].name+"",tt=t[1].location+"",et=t[1].market+"",ot=t[1].workers+"",nt=t[1].status+"",it=t[1].website+"",rt=t[1].contact[1]+"",st=t[1].description+"";return{c(){e=r("div"),o=r("div"),i=r("div"),c=r("p"),h=r("b"),h.textContent="Name: ",d=g($),f=s(),u=r("p"),b=r("b"),b.textContent="Location: ",x=g(tt),w=s(),v=r("p"),C=r("b"),C.textContent="Market: ",k=g(et),y=s(),j=r("p"),W=r("b"),W.textContent="Workers: ",z=g(ot),E=s(),D=r("p"),L=r("b"),L.textContent="Status: ",M=g(nt),R=s(),S=r("p"),T=r("b"),T.textContent="Website: ",_=r("a"),A=g(it),B=s(),H=r("p"),N=r("b"),N.textContent="Contact: ",O=r("a"),q=g(rt),F=s(),G=r("picture"),I=r("source"),J=s(),K=r("source"),P=s(),Q=r("img"),U=s(),V=r("p"),X=r("b"),X.textContent="Description: ",Y=g(st),Z=s(),m(_,"href","https://www."+t[1].website),m(_,"target","_blank"),m(_,"rel","noreferrer"),m(O,"href",t[1].contact[0]),m(O,"target",";_blank;"),m(O,"rel","noreferrer"),m(I,"srcset","/img/coops/"+t[1].logo+".webp"),m(K,"srcset","/img/coops/"+t[1].logo+".png"),m(Q,"class","coop-logo"),m(Q,"alt","logo"),m(e,"class","location-info")},m(t,r){n(t,e,r),l(e,o),l(o,i),l(i,c),l(c,h),l(c,d),l(i,f),l(i,u),l(u,b),l(u,x),l(i,w),l(i,v),l(v,C),l(v,k),l(i,y),l(i,j),l(j,W),l(j,z),l(i,E),l(i,D),l(D,L),l(D,M),l(i,R),l(i,S),l(S,T),l(S,_),l(_,A),l(i,B),l(i,H),l(H,N),l(H,O),l(O,q),l(o,F),l(o,G),l(G,I),l(G,J),l(G,K),l(G,P),l(G,Q),l(e,U),l(e,V),l(V,X),l(V,Y),l(e,Z)},p:a,d(t){t&&p(e)}}}function w(t){let e,o,i,d,g,u,w,v,C,k,y,j,W,z,E=f,D=[];for(let e=0;e<E.length;e+=1)D[e]=x(b(t,E,e));return{c(){e=r("div"),o=r("div"),i=r("h1"),i.textContent="Cooperatives",d=s(),g=r("p"),g.textContent="We establish worker cooperatives that embody a transformative business model where employees own and control the enterprise. Each worker has a voice in decision-making, and profits are distributed based on individual contributions. This participatory structure fosters ownership, motivation, and job satisfaction, creating a more fulfilling work experience as well as challenging the wealth concentration in traditional capitalist businesses.",u=s(),w=r("p"),w.textContent="By focusing on employees' needs, our cooperatives create supportive and sustainable work environments that foster social cohesion and job security. We also prioritize the interests of local communities, taking a long-term perspective. With workers making decisions, we avoid harmful short-term profit-driven strategies and instead reinvest our profits, contributing to community development and resilience.",v=s(),C=r("h3"),C.textContent="Our cooperatives",k=s(),y=r("map-component"),j=s(),W=r("h4"),W.textContent="Europe",z=s();for(let t=0;t<D.length;t+=1)D[t].c();this.c=a,c(y,"id","map"),c(y,"callback",t[0]),m(o,"id","text-container"),m(e,"id","container")},m(t,r){n(t,e,r),l(e,o),l(o,i),l(o,d),l(o,g),l(o,u),l(o,w),l(o,v),l(o,C),l(o,k),l(o,y),l(o,j),l(o,W),l(o,z);for(let t=0;t<D.length;t+=1)D[t].m(o,null)},p(t,[e]){if(0&e){let n;for(E=f,n=0;n<E.length;n+=1){const i=b(t,E,n);D[n]?D[n].p(i,e):(D[n]=x(i),D[n].c(),D[n].m(o,null))}for(;n<D.length;n+=1)D[n].d(1);D.length=E.length}},i:a,o:a,d(t){t&&p(e),h(D,t)}}}function v(t){return d((()=>{})),[function(t){let e=t([51.505,-.09],3);u(e)}]}class C extends t{constructor(t){super(),this.shadowRoot.innerHTML="<style>@import '/css/common.css';.location-info>:first-child{display:flex;align-content:center;width:100%;justify-content:space-between;gap:3rem;align-items:center}.location-info>:first-child>:first-child{flex:none}.coop-logo{position:relative;right:0;max-height:8rem;max-width:100%}h4{margin-bottom:2rem}.location-info{position:relative;margin-bottom:2rem}.location-info p{margin-bottom:0}a{font-size:1.2rem;color:#DD1C1A}#map{--height:30rem;--width:100%;--margin-bottom:3rem}#text-container{max-width:calc(100vw - 4rem);margin:auto}h1{margin-bottom:1rem;font-size:2.5rem;text-align:center}h3{margin-bottom:1rem}#container{margin:auto;max-width:1200px;margin-top:1rem;margin-bottom:4rem}#container>div>p{margin-bottom:1rem}#container p{font-size:1.2rem;text-align:justify}</style>",e(this,{target:this.shadowRoot,props:o(this.attributes),customElement:!0},v,w,i,{},null),t&&t.target&&n(t.target,this,t.anchor)}}customElements.define("cooperatives-component",C);export{C as default};
|