From 8b3cbe5783c0d343e18536d290b6b2416ae464e6 Mon Sep 17 00:00:00 2001 From: Mowkax Date: Wed, 12 Jul 2023 00:29:40 +0300 Subject: [PATCH] feat: latvian localisation files added to '/public/locales/lv' --- Server/app/resources/basic/BasicController.jl | 32 ++++++++++++++++++ .../svelte/public/js/libraries/serverTools.js | 3 +- .../js/components/communities-component.js | 2 +- .../public/js/components/compass-component.js | 2 +- Server/public/js/components/cookies-dialog.js | 2 +- .../js/components/cooperatives-component.js | 2 +- .../public/js/components/footer-component.js | 2 +- .../public/js/components/groups-component.js | 2 +- Server/public/js/components/index-3cab5f92.js | 1 + Server/public/js/components/index-eafa799e.js | 1 + .../public/js/components/join-us-component.js | 2 +- .../public/js/components/landing-component.js | 2 +- .../public/js/components/legend-component.js | 2 +- .../js/components/loadscreen-component.js | 2 +- .../js/components/manifesto-component.js | 2 +- Server/public/js/components/map-component.js | 2 +- .../public/js/components/navbar-component.js | 2 +- Server/public/js/components/pane-aligner.js | 2 +- .../js/components/partners-component.js | 2 +- .../public/js/components/select-component.js | 2 +- .../public/js/components/switch-component.js | 2 +- Server/public/js/libraries/serverTools.js | 3 +- .../locales/lv/communities-component.json | 10 ++++++ .../public/locales/lv/compass-component.json | 3 ++ .../locales/lv/cooperatives-component.json | 15 +++++++++ .../public/locales/lv/footer-component.json | 5 +++ .../public/locales/lv/groups-component.json | 10 ++++++ .../public/locales/lv/join-us-component.json | 33 +++++++++++++++++++ .../public/locales/lv/landing-component.json | 9 +++++ .../locales/lv/manifesto-component.json | 3 ++ .../public/locales/lv/navbar-component.json | 9 +++++ .../public/locales/lv/partners-component.json | 11 +++++++ 32 files changed, 163 insertions(+), 19 deletions(-) create mode 100644 Server/public/js/components/index-3cab5f92.js create mode 100644 Server/public/js/components/index-eafa799e.js create mode 100644 Server/public/locales/lv/communities-component.json create mode 100644 Server/public/locales/lv/compass-component.json create mode 100644 Server/public/locales/lv/cooperatives-component.json create mode 100644 Server/public/locales/lv/footer-component.json create mode 100644 Server/public/locales/lv/groups-component.json create mode 100644 Server/public/locales/lv/join-us-component.json create mode 100644 Server/public/locales/lv/landing-component.json create mode 100644 Server/public/locales/lv/manifesto-component.json create mode 100644 Server/public/locales/lv/navbar-component.json create mode 100644 Server/public/locales/lv/partners-component.json diff --git a/Server/app/resources/basic/BasicController.jl b/Server/app/resources/basic/BasicController.jl index 074cf43..1a71fd4 100644 --- a/Server/app/resources/basic/BasicController.jl +++ b/Server/app/resources/basic/BasicController.jl @@ -28,6 +28,10 @@ const landing_info = Dict( :title => "LibSoc - Глобальная сеть либертарных социалистов", :description => "" ), + "lv" => Dict( + :title => "LibSoc - Globalais libertāro sociālistu tikls", + :description => "" + ) ) const manifesto_info = Dict( @@ -38,6 +42,10 @@ const manifesto_info = Dict( "ru" => Dict( :title => "LibSoc - Манифест", :description => "" + ), + "lv" => Dict( + :title => "LibSoc - Manifests", + :description => "" ) ) @@ -50,6 +58,10 @@ const join_us_info = Dict( :title => "LibSoc - Присоединяйся", :description => "" ), + "lv" => Dict( + :title => "LibSoc - Pievienojies", + :description => "" + ) ) const groups_info = Dict( @@ -60,6 +72,10 @@ const groups_info = Dict( "ru" => Dict( :title => "LibSoc - Группы", :description => "" + ), + "lv" => Dict( + :title => "LibSoc - Grupas", + :description => "" ) ) @@ -71,6 +87,10 @@ const cooperatives_info = Dict( "ru" => Dict( :title => "LibSoc - Кооперативы", :description => "" + ), + "lv" => Dict( + :title => "LibSoc - Kooperatīvi", + :description => "" ) ) @@ -82,6 +102,10 @@ const communities_info = Dict( "ru" => Dict( :title => "LibSoc - Коммуны", :description => "" + ), + "lv" => Dict( + :title => "LibSoc - Komūnas", + :description => "" ) ) @@ -93,6 +117,10 @@ const partners_info = Dict( "ru" => Dict( :title => "LibSoc - Партнеры", :description => "" + ), + "lv" => Dict( + :title => "LibSoc - Atbalstītaji", + :description => "" ) ) @@ -104,6 +132,10 @@ const compass_info = Dict( "ru" => Dict( :title => "LibSoc - Политический компас", :description => "" + ), + "lv" => Dict( + :title => "LibSoc - Politiskais kompass", + :description => "" ) ) diff --git a/Server/app/svelte/public/js/libraries/serverTools.js b/Server/app/svelte/public/js/libraries/serverTools.js index 9977c48..660e22a 100644 --- a/Server/app/svelte/public/js/libraries/serverTools.js +++ b/Server/app/svelte/public/js/libraries/serverTools.js @@ -68,7 +68,8 @@ function onlyUnique(value, index, array) { export let locales = { en: "English", - ru: "Русский" + ru: "Русский", + lv: "Latviešu" } export function loadLocaleContent(content,componentName,loaded,callback) { diff --git a/Server/public/js/components/communities-component.js b/Server/public/js/components/communities-component.js index 316730b..9992ec6 100644 --- a/Server/public/js/components/communities-component.js +++ b/Server/public/js/components/communities-component.js @@ -1 +1 @@ -import{S as t,i as o,a as n,b as e,s as i,e as a,n as m,d as s,c as r,o as c,f as l,t as g,g as p,h as u,j as h,k as d,l as b,m as f,p as x}from"./index-4348483d.js";import{w as j}from"./index-71440b21.js";import{communities as v,addMarkersCommunities as w}from"../../../../../../../../../js/communities.js";import{loadLocaleContent as k}from"../../../../../../../../../js/libraries/serverTools.js";import"../../../../../../../../../js/components/map-component.js";function y(t,o,n){const e=t.slice();return e[6]=o[n],e}function z(t){let o,n,i,a,m,r,c,j,w,k,z,E,O,R,T,A,C,H,L,M,N=t[0].heading+"",S=t[0].p1+"",_=t[0].subheading1+"",q=t[0].subheading2+"",B=v,F=[];for(let o=0;on(0,e=t)));let m=k(a,"communities-component",i);function s(t,o){let n=t([51.505,-.09],3);w(n,o)}c((()=>{}));return[e,i,a,m,s,t=>s(t,e)]}class R extends t{constructor(t){super(),this.shadowRoot.innerHTML="",o(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},O,E,i,{},null),t&&t.target&&e(t.target,this,t.anchor)}}customElements.define("communities-component",R);export{R as default}; +import{g as t,S as o,i as n,a as e,b as i,s as a,e as s,n as m,d as r,c,o as l,f as g,t as p,h as u,j as h,k as d,l as f,m as b,p as x,q as j}from"./index-3cab5f92.js";import{w as v}from"./index-eafa799e.js";import{communities as w,addMarkersCommunities as k}from"../../../../../../js/communities.js";import{loadLocaleContent as y}from"../../../../../../js/libraries/serverTools.js";import"../../../../../../js/components/map-component.js";const{customElements:z}=t;function D(t,o,n){const e=t.slice();return e[6]=o[n],e}function E(t){let o,n,e,a,s,m,c,l,v,k,y,z,E,R,T,q,A,C,H,L,M=t[0].heading+"",N=t[0].p1+"",S=t[0].subheading1+"",_=t[0].subheading2+"",B=w,F=[];for(let o=0;on(0,e=t)));let s=y(a,"communities-component",i);function m(t,o){let n=t([51.505,-.09],3);k(n,o)}l((()=>{}));return[e,i,a,s,m,t=>m(t,e)]}class q extends o{constructor(t){super(),this.shadowRoot.innerHTML="",n(this,{target:this.shadowRoot,props:e(this.attributes),customElement:!0},T,R,a,{},null),t&&t.target&&i(t.target,this,t.anchor)}}z.define("communities-component",q);export{q as default}; diff --git a/Server/public/js/components/compass-component.js b/Server/public/js/components/compass-component.js index 8452d79..133794b 100644 --- a/Server/public/js/components/compass-component.js +++ b/Server/public/js/components/compass-component.js @@ -1 +1 @@ -import{S as t,i as n,a as e,b as i,s as o,e as s,n as r,d as a,c as l,o as m,f as c,t as u,g as p,h as d,j as g,l as h,m as f,q as b,p as v,r as q}from"./index-4348483d.js";import{w as x}from"./index-71440b21.js";import{loadLocaleContent as _}from"../../../../../../../../../js/libraries/serverTools.js";import{shuffleArray as y}from"../../../../../../../../../js/libraries/miscTools.js";function z(t,n,e){const i=t.slice();return i[18]=n[e],i[20]=e,i}function k(t){let n,e,s,r,l,m,b,v,q=t[5].heading+"",x=t[0],_=S(t);return{c(){n=c("div"),e=c("div"),s=c("h1"),r=u(q),l=p(),m=c("img"),v=p(),_.c(),d(m,"id","compass-img"),g(m.src,b="/img/common/compass.svg")||d(m,"src","/img/common/compass.svg"),d(m,"alt","compass"),d(e,"id","text-container"),d(n,"id","container")},m(t,o){i(t,n,o),h(n,e),h(e,s),h(s,r),h(e,l),h(e,m),h(e,v),_.m(e,null)},p(t,n){32&n&&q!==(q=t[5].heading+"")&&f(r,q),1&n&&o(x,x=t[0])?(_.d(1),_=S(t),_.c(),_.m(e,null)):_.p(t,n)},d(t){t&&a(n),_.d(t)}}}function w(t){let n,e,o,s,r,l,m,g,v,q,x,_,y,z,k,w,j,C,S,B,M,O,T,D;return{c(){n=c("p"),n.textContent="You are compatible with ...",e=p(),o=c("ul"),s=c("li"),r=u("capitalism by "),l=c("span"),m=u(t[2]),g=u("%"),v=p(),q=c("li"),x=u("vanguardism by "),_=c("span"),y=u(t[3]),z=u("%"),k=p(),w=c("li"),j=u("libertarian socialism by "),C=c("span"),S=u(t[4]),B=u("%"),M=p(),O=c("button"),O.textContent="back",d(o,"class","results-list"),d(O,"class","quiz-buttons")},m(a,c){i(a,n,c),i(a,e,c),i(a,o,c),h(o,s),h(s,r),h(s,l),h(l,m),h(s,g),h(o,v),h(o,q),h(q,x),h(q,_),h(_,y),h(q,z),h(o,k),h(o,w),h(w,j),h(w,C),h(C,S),h(w,B),i(a,M,c),i(a,O,c),T||(D=b(O,"click",t[15]),T=!0)},p(t,n){4&n&&f(m,t[2]),8&n&&f(y,t[3]),16&n&&f(S,t[4])},d(t){t&&a(n),t&&a(e),t&&a(o),t&&a(M),t&&a(O),T=!1,D()}}}function j(t){let n,e,o,s,r,l,m,g,x,_=t[5].qs[t[0]].q+"",y=t[5].qs[t[0]].as,k=[];for(let n=0;ne(5,i=t))),_(s,"compass-component",o,(function(t){for(let n of t.qs)y(n.as)}));let r=0,a=[],c="",u="",p="";function d(t){null!=a[t]&&rt.includes("C"))).filter(Boolean).length/a.length).toString()),e(3,u=Math.round(100*a.map((t=>t.includes("V"))).filter(Boolean).length/a.length).toString()),e(4,p=Math.round(100*a.map((t=>t.includes("LS"))).filter(Boolean).length/a.length).toString())),e(0,r+=1))}function g(t){0!=r&&e(0,r-=1)}m((()=>{}));return[r,a,c,u,p,i,o,s,d,g,function(){a[r]=this.__value,e(1,a)},[[]],t=>e(1,a[r]=t[1],a),()=>g(),()=>d(r),()=>g()]}class O extends t{constructor(t){super(),this.shadowRoot.innerHTML="",n(this,{target:this.shadowRoot,props:e(this.attributes),customElement:!0},M,B,o,{},null),t&&t.target&&i(t.target,this,t.anchor)}}customElements.define("compass-component",O);export{O as default}; +import{g as t,S as n,i as e,a as i,b as o,s,e as a,n as r,d as l,c as m,o as c,f as u,t as p,h as d,j as g,k as h,m as f,p as b,r as v,q,u as x}from"./index-3cab5f92.js";import{w as _}from"./index-eafa799e.js";import{loadLocaleContent as y}from"../../../../../../js/libraries/serverTools.js";import{shuffleArray as z}from"../../../../../../js/libraries/miscTools.js";const{customElements:k}=t;function w(t,n,e){const i=t.slice();return i[18]=n[e],i[20]=e,i}function j(t){let n,e,i,a,r,m,c,v,q=t[5].heading+"",x=t[0],_=M(t);return{c(){n=u("div"),e=u("div"),i=u("h1"),a=p(q),r=d(),m=u("img"),v=d(),_.c(),g(m,"id","compass-img"),h(m.src,c="/img/common/compass.svg")||g(m,"src","/img/common/compass.svg"),g(m,"alt","compass"),g(e,"id","text-container"),g(n,"id","container")},m(t,s){o(t,n,s),f(n,e),f(e,i),f(i,a),f(e,r),f(e,m),f(e,v),_.m(e,null)},p(t,n){32&n&&q!==(q=t[5].heading+"")&&b(a,q),1&n&&s(x,x=t[0])?(_.d(1),_=M(t),_.c(),_.m(e,null)):_.p(t,n)},d(t){t&&l(n),_.d(t)}}}function C(t){let n,e,i,s,a,r,m,c,h,q,x,_,y,z,k,w,j,C,S,B,M,O,T,D;return{c(){n=u("p"),n.textContent="You are compatible with ...",e=d(),i=u("ul"),s=u("li"),a=p("capitalism by "),r=u("span"),m=p(t[2]),c=p("%"),h=d(),q=u("li"),x=p("vanguardism by "),_=u("span"),y=p(t[3]),z=p("%"),k=d(),w=u("li"),j=p("libertarian socialism by "),C=u("span"),S=p(t[4]),B=p("%"),M=d(),O=u("button"),O.textContent="back",g(i,"class","results-list"),g(O,"class","quiz-buttons")},m(l,u){o(l,n,u),o(l,e,u),o(l,i,u),f(i,s),f(s,a),f(s,r),f(r,m),f(s,c),f(i,h),f(i,q),f(q,x),f(q,_),f(_,y),f(q,z),f(i,k),f(i,w),f(w,j),f(w,C),f(C,S),f(w,B),o(l,M,u),o(l,O,u),T||(D=v(O,"click",t[15]),T=!0)},p(t,n){4&n&&b(m,t[2]),8&n&&b(y,t[3]),16&n&&b(S,t[4])},d(t){t&&l(n),t&&l(e),t&&l(i),t&&l(M),t&&l(O),T=!1,D()}}}function S(t){let n,e,i,s,a,r,m,c,h,_=t[5].qs[t[0]].q+"",y=t[5].qs[t[0]].as,z=[];for(let n=0;ne(5,i=t))),y(s,"compass-component",o,(function(t){for(let n of t.qs)z(n.as)}));let a=0,r=[],l="",u="",p="";function d(t){null!=r[t]&&at.includes("C"))).filter(Boolean).length/r.length).toString()),e(3,u=Math.round(100*r.map((t=>t.includes("V"))).filter(Boolean).length/r.length).toString()),e(4,p=Math.round(100*r.map((t=>t.includes("LS"))).filter(Boolean).length/r.length).toString())),e(0,a+=1))}function g(t){0!=a&&e(0,a-=1)}c((()=>{}));return[a,r,l,u,p,i,o,s,d,g,function(){r[a]=this.__value,e(1,r)},[[]],t=>e(1,r[a]=t[1],r),()=>g(),()=>d(a),()=>g()]}class D extends n{constructor(t){super(),this.shadowRoot.innerHTML="",e(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},T,O,s,{},null),t&&t.target&&o(t.target,this,t.anchor)}}k.define("compass-component",D);export{D as default}; diff --git a/Server/public/js/components/cookies-dialog.js b/Server/public/js/components/cookies-dialog.js index 79c9c70..ba26ced 100644 --- a/Server/public/js/components/cookies-dialog.js +++ b/Server/public/js/components/cookies-dialog.js @@ -1 +1 @@ -import{S as e,i as s,a as t,b as o,s as i,f as a,n as r,h as n,d as c,o as d}from"./index-4348483d.js";function p(e){let s;return{c(){s=a("div"),s.innerHTML="

We use cookies to improve your experience, personalise your content and analyse site usage. By clicking “OK”, you agree to the use of cookies.

",this.c=r,n(s,"id","wrapper")},m(e,t){o(e,s,t)},p:r,i:r,o:r,d(e){e&&c(s)}}}function u(e){return d((()=>{})),[]}class h extends e{constructor(e){super(),this.shadowRoot.innerHTML="",s(this,{target:this.shadowRoot,props:t(this.attributes),customElement:!0},u,p,i,{},null),e&&e.target&&o(e.target,this,e.anchor)}}customElements.define("cookies-dialog",h);export{h as default}; +import{g as e,S as s,i as t,a as o,b as i,s as a,f as r,n,j as c,d,o as p}from"./index-3cab5f92.js";const{customElements:u}=e;function h(e){let s;return{c(){s=r("div"),s.innerHTML="

We use cookies to improve your experience, personalise your content and analyse site usage. By clicking “OK”, you agree to the use of cookies.

",this.c=n,c(s,"id","wrapper")},m(e,t){i(e,s,t)},p:n,i:n,o:n,d(e){e&&d(s)}}}function l(e){return p((()=>{})),[]}class m extends s{constructor(e){super(),this.shadowRoot.innerHTML="",t(this,{target:this.shadowRoot,props:o(this.attributes),customElement:!0},l,h,a,{},null),e&&e.target&&i(e.target,this,e.anchor)}}u.define("cookies-dialog",m);export{m as default}; diff --git a/Server/public/js/components/cooperatives-component.js b/Server/public/js/components/cooperatives-component.js index 0bfd95f..ea8fe9c 100644 --- a/Server/public/js/components/cooperatives-component.js +++ b/Server/public/js/components/cooperatives-component.js @@ -1 +1 @@ -import{S as t,i as e,a as o,b as n,s as i,e as a,n as r,d as s,c,o as m,f as l,t as p,g,h as d,j as h,k as f,l as b,m as u,p as w}from"./index-4348483d.js";import{w as x}from"./index-71440b21.js";import{coops as v,addMarkersCoops as k}from"../../../../../../../../../js/coops.js";import{loadLocaleContent as j}from"../../../../../../../../../js/libraries/serverTools.js";import"../../../../../../../../../js/components/map-component.js";function y(t,e,o){const n=t.slice();return n[6]=e[o],n}function z(t){let e,o,i,a,r,c,m,x,k,j,z,E,O,R,T,_,A,C,H,L,M,N,S,q=t[0].heading+"",B=t[0].p1+"",F=t[0].p2+"",G=t[0].subheading1+"",I=t[0].subheading2+"",J=v,K=[];for(let e=0;eo(0,n=t)));let r=j(a,"cooperatives-component",i);function s(t,e){let o=t([51.505,-.09],3);k(o,e)}m((()=>{}));return[n,i,a,r,s,t=>s(t,n)]}class R extends t{constructor(t){super(),this.shadowRoot.innerHTML="",e(this,{target:this.shadowRoot,props:o(this.attributes),customElement:!0},O,E,i,{},null),t&&t.target&&n(t.target,this,t.anchor)}}customElements.define("cooperatives-component",R);export{R as default}; +import{g as t,S as e,i as o,a as n,b as i,s as a,e as r,n as s,d as c,c as m,o as l,f as p,t as g,h,j as d,k as f,l as b,m as u,p as w,q as x}from"./index-3cab5f92.js";import{w as v}from"./index-eafa799e.js";import{coops as k,addMarkersCoops as j}from"../../../../../../js/coops.js";import{loadLocaleContent as y}from"../../../../../../js/libraries/serverTools.js";import"../../../../../../js/components/map-component.js";const{customElements:z}=t;function D(t,e,o){const n=t.slice();return n[6]=e[o],n}function E(t){let e,o,n,a,r,s,m,l,v,j,y,z,E,R,T,_,q,A,C,H,L,M,N,S=t[0].heading+"",B=t[0].p1+"",F=t[0].p2+"",G=t[0].subheading1+"",I=t[0].subheading2+"",J=k,K=[];for(let e=0;eo(0,n=t)));let r=y(a,"cooperatives-component",i);function s(t,e){let o=t([51.505,-.09],3);j(o,e)}l((()=>{}));return[n,i,a,r,s,t=>s(t,n)]}class _ extends e{constructor(t){super(),this.shadowRoot.innerHTML="",o(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},T,R,a,{},null),t&&t.target&&i(t.target,this,t.anchor)}}z.define("cooperatives-component",_);export{_ as default}; diff --git a/Server/public/js/components/footer-component.js b/Server/public/js/components/footer-component.js index 297f1c3..ed33606 100644 --- a/Server/public/js/components/footer-component.js +++ b/Server/public/js/components/footer-component.js @@ -1 +1 @@ -import{S as t,i as e,a as o,b as r,s as a,e as i,n,d as s,c as m,f as c,t as f,g as l,h as d,v as g,l as h,q as p,m as u}from"./index-4348483d.js";import{w as b}from"./index-71440b21.js";import{loadLocaleContent as w}from"../../../../../../../../../js/libraries/serverTools.js";function v(t){let e,o,a,i,n,m,b,w,v,y,k,x,j,L,_,z,B,C,T,U,A,H,M=t[0].contactUs+"",R=t[0].inviteLink+"",D=t[0].inviteLink+"";return{c(){e=c("footer"),o=c("div"),a=c("div"),i=c("div"),n=c("h2"),m=f(M),b=l(),w=c("p"),v=f("WhatsApp: "),y=c("a"),k=f(R),x=l(),j=c("p"),L=f("Discord: "),_=c("a"),z=f(D),B=l(),C=c("button"),C.innerHTML='',T=l(),U=c("p"),U.innerHTML='Licensed under a Creative Commons CC BY 4.0 license.',d(y,"href","https://chat.whatsapp.com/BhnmUNljUxJ2AjeHUwyTKh"),d(y,"target","_blank"),d(y,"rel","noreferrer"),g(y,"margin-left","0.5rem"),d(_,"href","https://discord.gg/xAPZmyr8B6"),d(_,"target","_blank"),d(_,"rel","noreferrer"),g(_,"margin-left","1.8rem"),d(i,"id","contact-us-container"),d(a,"id","footer-grid-content-container"),d(a,"class","logged"),d(C,"id","footer-up"),d(C,"aria-label","go up"),d(U,"id","footer-copyright"),d(o,"id","footer-content-container")},m(s,c){r(s,e,c),h(e,o),h(o,a),h(a,i),h(i,n),h(n,m),h(i,b),h(i,w),h(w,v),h(w,y),h(y,k),h(i,x),h(i,j),h(j,L),h(j,_),h(_,z),h(o,B),h(o,C),h(o,T),h(o,U),A||(H=p(C,"click",t[3]),A=!0)},p(t,e){1&e&&M!==(M=t[0].contactUs+"")&&u(m,M),1&e&&R!==(R=t[0].inviteLink+"")&&u(k,R),1&e&&D!==(D=t[0].inviteLink+"")&&u(z,D)},d(t){t&&s(e),A=!1,H()}}}function y(t){let e,o=0!=Object.keys(t[0]).length,a=o&&v(t);return{c(){a&&a.c(),e=i(),this.c=n},m(t,o){a&&a.m(t,o),r(t,e,o)},p(t,[r]){1&r&&(o=0!=Object.keys(t[0]).length),o?a?a.p(t,r):(a=v(t),a.c(),a.m(e.parentNode,e)):a&&(a.d(1),a=null)},i:n,o:n,d(t){a&&a.d(t),t&&s(e)}}}function k(t,e,o){let r,a,i=b({});m(t,i,(t=>o(0,r=t))),w(i,"footer-component",a);return[r,a,i,()=>{location.href="#"}]}class x extends t{constructor(t){super(),this.shadowRoot.innerHTML="",e(this,{target:this.shadowRoot,props:o(this.attributes),customElement:!0},k,y,a,{},null),t&&t.target&&r(t.target,this,t.anchor)}}customElements.define("footer-component",x);export{x as default}; +import{g as t,S as e,i as o,a as r,b as a,s as i,e as n,n as s,d as m,c,f,t as l,h as d,j as g,w as h,m as p,r as u,p as b}from"./index-3cab5f92.js";import{w}from"./index-eafa799e.js";import{loadLocaleContent as v}from"../../../../../../js/libraries/serverTools.js";const{customElements:y}=t;function k(t){let e,o,r,i,n,s,c,w,v,y,k,x,j,L,_,z,B,C,T,U,A,H,M=t[0].contactUs+"",R=t[0].inviteLink+"",D=t[0].inviteLink+"";return{c(){e=f("footer"),o=f("div"),r=f("div"),i=f("div"),n=f("h2"),s=l(M),c=d(),w=f("p"),v=l("WhatsApp: "),y=f("a"),k=l(R),x=d(),j=f("p"),L=l("Discord: "),_=f("a"),z=l(D),B=d(),C=f("button"),C.innerHTML='',T=d(),U=f("p"),U.innerHTML='Licensed under a Creative Commons CC BY 4.0 license.',g(y,"href","https://chat.whatsapp.com/BhnmUNljUxJ2AjeHUwyTKh"),g(y,"target","_blank"),g(y,"rel","noreferrer"),h(y,"margin-left","0.5rem"),g(_,"href","https://discord.gg/xAPZmyr8B6"),g(_,"target","_blank"),g(_,"rel","noreferrer"),h(_,"margin-left","1.8rem"),g(i,"id","contact-us-container"),g(r,"id","footer-grid-content-container"),g(r,"class","logged"),g(C,"id","footer-up"),g(C,"aria-label","go up"),g(U,"id","footer-copyright"),g(o,"id","footer-content-container")},m(m,f){a(m,e,f),p(e,o),p(o,r),p(r,i),p(i,n),p(n,s),p(i,c),p(i,w),p(w,v),p(w,y),p(y,k),p(i,x),p(i,j),p(j,L),p(j,_),p(_,z),p(o,B),p(o,C),p(o,T),p(o,U),A||(H=u(C,"click",t[3]),A=!0)},p(t,e){1&e&&M!==(M=t[0].contactUs+"")&&b(s,M),1&e&&R!==(R=t[0].inviteLink+"")&&b(k,R),1&e&&D!==(D=t[0].inviteLink+"")&&b(z,D)},d(t){t&&m(e),A=!1,H()}}}function x(t){let e,o=0!=Object.keys(t[0]).length,r=o&&k(t);return{c(){r&&r.c(),e=n(),this.c=s},m(t,o){r&&r.m(t,o),a(t,e,o)},p(t,[a]){1&a&&(o=0!=Object.keys(t[0]).length),o?r?r.p(t,a):(r=k(t),r.c(),r.m(e.parentNode,e)):r&&(r.d(1),r=null)},i:s,o:s,d(t){r&&r.d(t),t&&m(e)}}}function j(t,e,o){let r,a,i=w({});c(t,i,(t=>o(0,r=t))),v(i,"footer-component",a);return[r,a,i,()=>{location.href="#"}]}class L extends e{constructor(t){super(),this.shadowRoot.innerHTML="",o(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},j,x,i,{},null),t&&t.target&&a(t.target,this,t.anchor)}}y.define("footer-component",L);export{L as default}; diff --git a/Server/public/js/components/groups-component.js b/Server/public/js/components/groups-component.js index b298430..b324097 100644 --- a/Server/public/js/components/groups-component.js +++ b/Server/public/js/components/groups-component.js @@ -1 +1 @@ -import{S as t,i as o,a as n,b as e,s as r,e as a,n as i,d as s,c as m,o as c,f as l,t as p,g,h,j as u,k as d,l as b,m as f,p as x}from"./index-4348483d.js";import{w as j}from"./index-71440b21.js";import{groups as v,addMarkersGroups as w}from"../../../../../../../../../js/groups.js";import{loadLocaleContent as k}from"../../../../../../../../../js/libraries/serverTools.js";import"../../../../../../../../../js/components/map-component.js";function y(t,o,n){const e=t.slice();return e[6]=o[n],e}function z(t){let o,n,r,a,i,m,c,j,w,k,z,E,O,R,T,A,C,H,L,M,N,S,_,q=t[0].heading+"",B=t[0].p1+"",F=t[0].p2+"",G=t[0].subheading1+"",I=t[0].subheading2+"",J=v,K=[];for(let o=0;on(0,e=t)));let i=k(a,"groups-component",r);function s(t,o){let n=t([51.505,-.09],3);w(n,o)}c((()=>{}));return[e,r,a,i,s,t=>s(t,e)]}class R extends t{constructor(t){super(),this.shadowRoot.innerHTML="",o(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},O,E,r,{},null),t&&t.target&&e(t.target,this,t.anchor)}}customElements.define("groups-component",R);export{R as default}; +import{g as t,S as o,i as n,a as e,b as a,s as r,e as i,n as s,d as m,c,o as l,f as p,t as g,h,j as u,k as d,l as f,m as b,p as x,q as j}from"./index-3cab5f92.js";import{w as v}from"./index-eafa799e.js";import{groups as w,addMarkersGroups as k}from"../../../../../../js/groups.js";import{loadLocaleContent as y}from"../../../../../../js/libraries/serverTools.js";import"../../../../../../js/components/map-component.js";const{customElements:z}=t;function D(t,o,n){const e=t.slice();return e[6]=o[n],e}function E(t){let o,n,e,r,i,s,c,l,v,k,y,z,E,R,T,q,A,C,H,L,M,N,S,_=t[0].heading+"",B=t[0].p1+"",F=t[0].p2+"",G=t[0].subheading1+"",I=t[0].subheading2+"",J=w,K=[];for(let o=0;on(0,e=t)));let i=y(r,"groups-component",a);function s(t,o){let n=t([51.505,-.09],3);k(n,o)}l((()=>{}));return[e,a,r,i,s,t=>s(t,e)]}class q extends o{constructor(t){super(),this.shadowRoot.innerHTML="",n(this,{target:this.shadowRoot,props:e(this.attributes),customElement:!0},T,R,r,{},null),t&&t.target&&a(t.target,this,t.anchor)}}z.define("groups-component",q);export{q as default}; diff --git a/Server/public/js/components/index-3cab5f92.js b/Server/public/js/components/index-3cab5f92.js new file mode 100644 index 0000000..cd36c6c --- /dev/null +++ b/Server/public/js/components/index-3cab5f92.js @@ -0,0 +1 @@ +function t(){}function n(t){return t()}function e(){return Object.create(null)}function o(t){t.forEach(n)}function s(t){return"function"==typeof t}function r(t,n){return t!=t?n==n:t!==n||t&&"object"==typeof t||"function"==typeof t}let i,c;function a(t,n){return i||(i=document.createElement("a")),i.href=n,t===i.href}function u(n,e,o){n.$$.on_destroy.push(function(n,...e){if(null==n)return t;const o=n.subscribe(...e);return o.unsubscribe?()=>o.unsubscribe():o}(e,o))}function f(t,n){t.appendChild(n)}function l(t,n,e){t.insertBefore(n,e||null)}function h(t){t.parentNode.removeChild(t)}function d(t,n){for(let e=0;et.removeEventListener(n,e,o)}function y(t,n,e){null==e?t.removeAttribute(n):t.getAttribute(n)!==e&&t.setAttribute(n,e)}function _(t,n,e){n in t?t[n]="boolean"==typeof t[n]&&""===e||e:y(t,n,e)}function x(t,n){n=""+n,t.wholeText!==n&&(t.data=n)}function w(t,n,e,o){null===e?t.style.removeProperty(n):t.style.setProperty(n,e,o?"important":"")}class v{constructor(t=!1){this.is_svg=!1,this.is_svg=t,this.e=this.n=null}c(t){this.h(t)}m(t,n,e=null){var o;this.e||(this.is_svg?this.e=(o=n.nodeName,document.createElementNS("http://www.w3.org/2000/svg",o)):this.e=$(n.nodeName),this.t=n,this.c(t)),this.i(e)}h(t){this.e.innerHTML=t,this.n=Array.from(this.e.childNodes)}i(t){for(let n=0;n{const o=e.length?e[0]:n;return m.ctx&&f(m.ctx[t],m.ctx[t]=o)&&(!m.skip_bound&&m.bound[t]&&m.bound[t](o),g&&G(r,t)),n})):[],m.update(),g=!0,o(m.before_update),m.fragment=!!u&&u(m.ctx),i.target){if(i.hydrate){const t=function(t){return Array.from(t.childNodes)}(i.target);m.fragment&&m.fragment.l(t),t.forEach(h)}else m.fragment&&m.fragment.c();i.intro&&((b=r.$$.fragment)&&b.i&&(F.delete(b),b.i(y))),function(t,e,r,i){const{fragment:c,after_update:a}=t.$$;c&&c.m(e,r),i||O((()=>{const e=t.$$.on_mount.map(n).filter(s);t.$$.on_destroy?t.$$.on_destroy.push(...e):o(e),t.$$.on_mount=[]})),a.forEach(O)}(r,i.target,i.anchor,i.customElement),z()}var b,y;k(p)}let J;"function"==typeof HTMLElement&&(J=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:t}=this.$$;this.$$.on_disconnect=t.map(n).filter(s);for(const t in this.$$.slotted)this.appendChild(this.$$.slotted[t])}attributeChangedCallback(t,n,e){this[t]=e}disconnectedCallback(){o(this.$$.on_disconnect)}$destroy(){!function(t,n){const e=t.$$;null!==e.fragment&&(o(e.on_destroy),e.fragment&&e.fragment.d(n),e.on_destroy=e.fragment=null,e.ctx=[])}(this,1),this.$destroy=t}$on(n,e){if(!s(e))return t;const o=this.$$.callbacks[n]||(this.$$.callbacks[n]=[]);return o.push(e),()=>{const t=o.indexOf(e);-1!==t&&o.splice(t,1)}}$set(t){var n;this.$$set&&(n=t,0!==Object.keys(n).length)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}});export{v as H,J as S,E as a,l as b,u as c,h as d,g as e,$ as f,D as g,m as h,I as i,y as j,a as k,_ as l,f as m,t as n,N as o,x as p,d as q,b as r,r as s,p as t,o as u,z as v,w,L as x,T as y,s as z}; diff --git a/Server/public/js/components/index-eafa799e.js b/Server/public/js/components/index-eafa799e.js new file mode 100644 index 0000000..7974ca4 --- /dev/null +++ b/Server/public/js/components/index-eafa799e.js @@ -0,0 +1 @@ +import{n,s as t}from"./index-3cab5f92.js";const e=[];function s(s,o=n){let c;const f=new Set;function i(n){if(t(s,n)&&(s=n,c)){const n=!e.length;for(const n of f)n[1](),e.push(n,s);if(n){for(let n=0;n{f.delete(r),0===f.size&&(c(),c=null)}}}}export{s as w}; diff --git a/Server/public/js/components/join-us-component.js b/Server/public/js/components/join-us-component.js index fe73a9f..9b53880 100644 --- a/Server/public/js/components/join-us-component.js +++ b/Server/public/js/components/join-us-component.js @@ -1 +1 @@ -import{S as o,i as t,a as i,b as r,s as n,e,n as a,d as s,c as m,o as l,f as c,t as p,g as u,j as d,h as g,k as h,l as f,m as v}from"./index-4348483d.js";import{w as b}from"./index-71440b21.js";import{addMarkersGroups as j}from"../../../../../../../../../js/groups.js";import{addMarkersCoops as x}from"../../../../../../../../../js/coops.js";import{addMarkersCommunities as y}from"../../../../../../../../../js/communities.js";import{loadLocaleContent as P}from"../../../../../../../../../js/libraries/serverTools.js";import"../../../../../../../../../js/components/map-component.js";function w(o){let t,i,n,e,a,m,l,b,j,x,y,P,w,k,O,A,S,T,D,H,N,L,M,U,z,B,E,G,R,W,Y,_,C,J,K,Z,q,F,I,Q,V,X,$,oo,to,io,ro,no,eo,ao,so,mo,lo,co,po,uo,go,ho,fo,vo,bo,jo,xo,yo,Po,wo,ko,Oo,Ao,So,To,Do,Ho,No,Lo,Mo,Uo,zo,Bo,Eo=o[0].heading+"",Go=o[0].condition1+"",Ro=o[0].condition2+"",Wo=o[0].condition3+"",Yo=o[0].conditionsOutcome+"",_o=o[0].subheading1+"",Co=o[0].valueProposition1+"",Jo=o[0].valueProposition2+"",Ko=o[0].valueProposition3+"",Zo=o[0].valueProposition4+"",qo=o[0].valueProposition5+"",Fo=o[0].subheading2+"",Io=o[0].findOur+"",Qo=o[0].group+"",Vo=o[0].community+"",Xo=o[0].or+"",$o=o[0].cooperative+"",ot=o[0].nearYou+"",tt=o[0].noneNear+"",it=o[0].WhatsAppGroup+"",rt=o[0].or+"",nt=o[0].DiscordServer+"",et=o[0].helpStart+"";return{c(){t=c("div"),i=c("div"),n=c("h1"),e=p(Eo),a=u(),m=c("img"),b=u(),j=c("ol"),x=c("li"),y=p(Go),P=u(),w=c("li"),k=p(Ro),O=u(),A=c("li"),S=p(Wo),T=u(),D=c("p"),H=u(),N=c("h2"),L=p(_o),M=u(),U=c("ol"),z=c("li"),B=p(Co),E=u(),G=c("li"),R=p(Jo),W=u(),Y=c("li"),_=p(Ko),C=u(),J=c("li"),K=p(Zo),Z=u(),q=c("p"),F=p(qo),I=u(),Q=c("h2"),V=p(Fo),X=u(),$=c("div"),oo=c("p"),to=p(Io),io=u(),ro=c("ol"),no=c("li"),eo=c("a"),ao=p(Qo),so=p(","),mo=u(),lo=c("li"),co=c("a"),po=p(Vo),uo=u(),go=p(Xo),ho=u(),fo=c("li"),vo=c("a"),bo=p($o),jo=u(),xo=c("p"),yo=p(ot),Po=u(),wo=c("p"),ko=p(tt),Oo=u(),Ao=c("a"),So=p(it),To=u(),Do=p(rt),Ho=u(),No=c("a"),Lo=p(nt),Mo=p(et),Uo=u(),zo=c("map-component"),d(m.src,l="/img/common/join-group.svg")||g(m,"src","/img/common/join-group.svg"),g(m,"id","join-group"),g(m,"alt","join group"),g(j,"id","condition-list"),g(U,"id","value-proposition-list"),g(eo,"href","/"+o[3]+"/groups"),g(co,"href","/"+o[3]+"/communities"),g(vo,"href","/"+o[3]+"/cooperatives"),g($,"id","call-to-action-list"),g(Ao,"href","https://chat.whatsapp.com/BhnmUNljUxJ2AjeHUwyTKh"),g(Ao,"target","_blank"),g(Ao,"rel","noreferrer"),g(No,"href","https://discord.gg/xAPZmyr8B6"),g(No,"target","_blank"),g(No,"rel","noreferrer"),h(zo,"id","map"),h(zo,"callback",Bo=o[5]),g(i,"id","text-container"),g(t,"id","container")},m(o,s){r(o,t,s),f(t,i),f(i,n),f(n,e),f(i,a),f(i,m),f(i,b),f(i,j),f(j,x),f(x,y),f(j,P),f(j,w),f(w,k),f(j,O),f(j,A),f(A,S),f(j,T),f(j,D),D.innerHTML=Yo,f(i,H),f(i,N),f(N,L),f(i,M),f(i,U),f(U,z),f(z,B),f(U,E),f(U,G),f(G,R),f(U,W),f(U,Y),f(Y,_),f(U,C),f(U,J),f(J,K),f(U,Z),f(U,q),f(q,F),f(i,I),f(i,Q),f(Q,V),f(i,X),f(i,$),f($,oo),f(oo,to),f($,io),f($,ro),f(ro,no),f(no,eo),f(eo,ao),f(no,so),f(ro,mo),f(ro,lo),f(lo,co),f(co,po),f(lo,uo),f(lo,go),f(ro,ho),f(ro,fo),f(fo,vo),f(vo,bo),f($,jo),f($,xo),f(xo,yo),f(i,Po),f(i,wo),f(wo,ko),f(wo,Oo),f(wo,Ao),f(Ao,So),f(wo,To),f(wo,Do),f(wo,Ho),f(wo,No),f(No,Lo),f(wo,Mo),f(i,Uo),f(i,zo)},p(o,t){1&t&&Eo!==(Eo=o[0].heading+"")&&v(e,Eo),1&t&&Go!==(Go=o[0].condition1+"")&&v(y,Go),1&t&&Ro!==(Ro=o[0].condition2+"")&&v(k,Ro),1&t&&Wo!==(Wo=o[0].condition3+"")&&v(S,Wo),1&t&&Yo!==(Yo=o[0].conditionsOutcome+"")&&(D.innerHTML=Yo),1&t&&_o!==(_o=o[0].subheading1+"")&&v(L,_o),1&t&&Co!==(Co=o[0].valueProposition1+"")&&v(B,Co),1&t&&Jo!==(Jo=o[0].valueProposition2+"")&&v(R,Jo),1&t&&Ko!==(Ko=o[0].valueProposition3+"")&&v(_,Ko),1&t&&Zo!==(Zo=o[0].valueProposition4+"")&&v(K,Zo),1&t&&qo!==(qo=o[0].valueProposition5+"")&&v(F,qo),1&t&&Fo!==(Fo=o[0].subheading2+"")&&v(V,Fo),1&t&&Io!==(Io=o[0].findOur+"")&&v(to,Io),1&t&&Qo!==(Qo=o[0].group+"")&&v(ao,Qo),1&t&&Vo!==(Vo=o[0].community+"")&&v(po,Vo),1&t&&Xo!==(Xo=o[0].or+"")&&v(go,Xo),1&t&&$o!==($o=o[0].cooperative+"")&&v(bo,$o),1&t&&ot!==(ot=o[0].nearYou+"")&&v(yo,ot),1&t&&tt!==(tt=o[0].noneNear+"")&&v(ko,tt),1&t&&it!==(it=o[0].WhatsAppGroup+"")&&v(So,it),1&t&&rt!==(rt=o[0].or+"")&&v(Do,rt),1&t&&nt!==(nt=o[0].DiscordServer+"")&&v(Lo,nt),1&t&&et!==(et=o[0].helpStart+"")&&v(Mo,et),1&t&&Bo!==(Bo=o[5])&&h(zo,"callback",Bo)},d(o){o&&s(t)}}}function k(o){let t,i=0!=Object.keys(o[0]).length,n=i&&w(o);return{c(){n&&n.c(),t=e(),this.c=a},m(o,i){n&&n.m(o,i),r(o,t,i)},p(o,[r]){1&r&&(i=0!=Object.keys(o[0]).length),i?n?n.p(o,r):(n=w(o),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},i:a,o:a,d(o){n&&n.d(o),o&&s(t)}}}function O(o,t,i){let r,n,e=b({});m(o,e,(o=>i(0,r=o)));let a=P(e,"join-us-component",n);function s(o,t,i){let r=o([51.505,-.09],3);j(r,t,i),x(r,t,i),y(r,t,i)}l((()=>{}));return[r,n,e,a,s,o=>s(o,r,a)]}class A extends o{constructor(o){super(),this.shadowRoot.innerHTML="",t(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},O,k,n,{},null),o&&o.target&&r(o.target,this,o.anchor)}}customElements.define("join-us-component",A);export{A as default}; +import{g as o,S as t,i,a as n,b as r,s as e,e as a,n as s,d as m,c as l,o as c,f as p,t as u,h as d,k as g,j as h,l as f,m as v,p as b}from"./index-3cab5f92.js";import{w as j}from"./index-eafa799e.js";import{addMarkersGroups as x}from"../../../../../../js/groups.js";import{addMarkersCoops as y}from"../../../../../../js/coops.js";import{addMarkersCommunities as P}from"../../../../../../js/communities.js";import{loadLocaleContent as w}from"../../../../../../js/libraries/serverTools.js";import"../../../../../../js/components/map-component.js";const{customElements:k}=o;function O(o){let t,i,n,e,a,s,l,c,j,x,y,P,w,k,O,A,S,T,D,H,N,L,M,U,z,B,E,G,R,W,Y,_,C,J,K,Z,q,F,I,Q,V,X,$,oo,to,io,no,ro,eo,ao,so,mo,lo,co,po,uo,go,ho,fo,vo,bo,jo,xo,yo,Po,wo,ko,Oo,Ao,So,To,Do,Ho,No,Lo,Mo,Uo,zo,Bo,Eo=o[0].heading+"",Go=o[0].condition1+"",Ro=o[0].condition2+"",Wo=o[0].condition3+"",Yo=o[0].conditionsOutcome+"",_o=o[0].subheading1+"",Co=o[0].valueProposition1+"",Jo=o[0].valueProposition2+"",Ko=o[0].valueProposition3+"",Zo=o[0].valueProposition4+"",qo=o[0].valueProposition5+"",Fo=o[0].subheading2+"",Io=o[0].findOur+"",Qo=o[0].group+"",Vo=o[0].community+"",Xo=o[0].or+"",$o=o[0].cooperative+"",ot=o[0].nearYou+"",tt=o[0].noneNear+"",it=o[0].WhatsAppGroup+"",nt=o[0].or+"",rt=o[0].DiscordServer+"",et=o[0].helpStart+"";return{c(){t=p("div"),i=p("div"),n=p("h1"),e=u(Eo),a=d(),s=p("img"),c=d(),j=p("ol"),x=p("li"),y=u(Go),P=d(),w=p("li"),k=u(Ro),O=d(),A=p("li"),S=u(Wo),T=d(),D=p("p"),H=d(),N=p("h2"),L=u(_o),M=d(),U=p("ol"),z=p("li"),B=u(Co),E=d(),G=p("li"),R=u(Jo),W=d(),Y=p("li"),_=u(Ko),C=d(),J=p("li"),K=u(Zo),Z=d(),q=p("p"),F=u(qo),I=d(),Q=p("h2"),V=u(Fo),X=d(),$=p("div"),oo=p("p"),to=u(Io),io=d(),no=p("ol"),ro=p("li"),eo=p("a"),ao=u(Qo),so=u(","),mo=d(),lo=p("li"),co=p("a"),po=u(Vo),uo=d(),go=u(Xo),ho=d(),fo=p("li"),vo=p("a"),bo=u($o),jo=d(),xo=p("p"),yo=u(ot),Po=d(),wo=p("p"),ko=u(tt),Oo=d(),Ao=p("a"),So=u(it),To=d(),Do=u(nt),Ho=d(),No=p("a"),Lo=u(rt),Mo=u(et),Uo=d(),zo=p("map-component"),g(s.src,l="/img/common/join-group.svg")||h(s,"src","/img/common/join-group.svg"),h(s,"id","join-group"),h(s,"alt","join group"),h(j,"id","condition-list"),h(U,"id","value-proposition-list"),h(eo,"href","/"+o[3]+"/groups"),h(co,"href","/"+o[3]+"/communities"),h(vo,"href","/"+o[3]+"/cooperatives"),h($,"id","call-to-action-list"),h(Ao,"href","https://chat.whatsapp.com/BhnmUNljUxJ2AjeHUwyTKh"),h(Ao,"target","_blank"),h(Ao,"rel","noreferrer"),h(No,"href","https://discord.gg/xAPZmyr8B6"),h(No,"target","_blank"),h(No,"rel","noreferrer"),f(zo,"id","map"),f(zo,"callback",Bo=o[5]),h(i,"id","text-container"),h(t,"id","container")},m(o,m){r(o,t,m),v(t,i),v(i,n),v(n,e),v(i,a),v(i,s),v(i,c),v(i,j),v(j,x),v(x,y),v(j,P),v(j,w),v(w,k),v(j,O),v(j,A),v(A,S),v(j,T),v(j,D),D.innerHTML=Yo,v(i,H),v(i,N),v(N,L),v(i,M),v(i,U),v(U,z),v(z,B),v(U,E),v(U,G),v(G,R),v(U,W),v(U,Y),v(Y,_),v(U,C),v(U,J),v(J,K),v(U,Z),v(U,q),v(q,F),v(i,I),v(i,Q),v(Q,V),v(i,X),v(i,$),v($,oo),v(oo,to),v($,io),v($,no),v(no,ro),v(ro,eo),v(eo,ao),v(ro,so),v(no,mo),v(no,lo),v(lo,co),v(co,po),v(lo,uo),v(lo,go),v(no,ho),v(no,fo),v(fo,vo),v(vo,bo),v($,jo),v($,xo),v(xo,yo),v(i,Po),v(i,wo),v(wo,ko),v(wo,Oo),v(wo,Ao),v(Ao,So),v(wo,To),v(wo,Do),v(wo,Ho),v(wo,No),v(No,Lo),v(wo,Mo),v(i,Uo),v(i,zo)},p(o,t){1&t&&Eo!==(Eo=o[0].heading+"")&&b(e,Eo),1&t&&Go!==(Go=o[0].condition1+"")&&b(y,Go),1&t&&Ro!==(Ro=o[0].condition2+"")&&b(k,Ro),1&t&&Wo!==(Wo=o[0].condition3+"")&&b(S,Wo),1&t&&Yo!==(Yo=o[0].conditionsOutcome+"")&&(D.innerHTML=Yo),1&t&&_o!==(_o=o[0].subheading1+"")&&b(L,_o),1&t&&Co!==(Co=o[0].valueProposition1+"")&&b(B,Co),1&t&&Jo!==(Jo=o[0].valueProposition2+"")&&b(R,Jo),1&t&&Ko!==(Ko=o[0].valueProposition3+"")&&b(_,Ko),1&t&&Zo!==(Zo=o[0].valueProposition4+"")&&b(K,Zo),1&t&&qo!==(qo=o[0].valueProposition5+"")&&b(F,qo),1&t&&Fo!==(Fo=o[0].subheading2+"")&&b(V,Fo),1&t&&Io!==(Io=o[0].findOur+"")&&b(to,Io),1&t&&Qo!==(Qo=o[0].group+"")&&b(ao,Qo),1&t&&Vo!==(Vo=o[0].community+"")&&b(po,Vo),1&t&&Xo!==(Xo=o[0].or+"")&&b(go,Xo),1&t&&$o!==($o=o[0].cooperative+"")&&b(bo,$o),1&t&&ot!==(ot=o[0].nearYou+"")&&b(yo,ot),1&t&&tt!==(tt=o[0].noneNear+"")&&b(ko,tt),1&t&&it!==(it=o[0].WhatsAppGroup+"")&&b(So,it),1&t&&nt!==(nt=o[0].or+"")&&b(Do,nt),1&t&&rt!==(rt=o[0].DiscordServer+"")&&b(Lo,rt),1&t&&et!==(et=o[0].helpStart+"")&&b(Mo,et),1&t&&Bo!==(Bo=o[5])&&f(zo,"callback",Bo)},d(o){o&&m(t)}}}function A(o){let t,i=0!=Object.keys(o[0]).length,n=i&&O(o);return{c(){n&&n.c(),t=a(),this.c=s},m(o,i){n&&n.m(o,i),r(o,t,i)},p(o,[r]){1&r&&(i=0!=Object.keys(o[0]).length),i?n?n.p(o,r):(n=O(o),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},i:s,o:s,d(o){n&&n.d(o),o&&m(t)}}}function S(o,t,i){let n,r,e=j({});l(o,e,(o=>i(0,n=o)));let a=w(e,"join-us-component",r);function s(o,t,i){let n=o([51.505,-.09],3);x(n,t,i),y(n,t,i),P(n,t,i)}c((()=>{}));return[n,r,e,a,s,o=>s(o,n,a)]}class T extends t{constructor(o){super(),this.shadowRoot.innerHTML="",i(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},S,A,e,{},null),o&&o.target&&r(o.target,this,o.anchor)}}k.define("join-us-component",T);export{T as default}; diff --git a/Server/public/js/components/landing-component.js b/Server/public/js/components/landing-component.js index 9f0028d..e48b455 100644 --- a/Server/public/js/components/landing-component.js +++ b/Server/public/js/components/landing-component.js @@ -1 +1 @@ -import{S as i,i as t,a as o,b as e,s as r,e as s,n,d as m,c as a,o as c,f as g,g as d,t as p,h as l,j as u,v as h,l as v,m as f,w as x}from"./index-4348483d.js";import{loadLocaleContent as w}from"../../../../../../../../../js/libraries/serverTools.js";import{w as T}from"./index-71440b21.js";function b(i){let t,o,r,s,n,a,c,x,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=g("div"),o=g("picture"),o.innerHTML=' \n \n crowd',r=d(),s=g("div"),n=g("p"),a=p(W),c=d(),x=g("div"),w=g("div"),T=g("h2"),b=p(X),y=d(),j=g("img"),z=d(),E=g("p"),H=p(Y),L=d(),M=g("div"),O=g("h2"),R=p(Z),N=d(),S=g("img"),A=d(),B=g("p"),C=p($),D=d(),F=g("div"),G=g("h2"),I=p(_),J=d(),K=g("img"),Q=d(),U=g("p"),V=p(ii),l(j,"id","groups-img"),u(j.src,k="/img/common/groups.svg")||l(j,"src","/img/common/groups.svg"),l(j,"alt","groups"),l(S,"id","communities-img"),u(S.src,q="/img/common/communities.svg")||l(S,"src","/img/common/communities.svg"),l(S,"alt","communities"),l(K,"id","coops-img"),u(K.src,P="/img/common/coops.svg")||l(K,"src","/img/common/coops.svg"),l(K,"alt","coops"),l(x,"id","container-grid"),h(x,"--grid-width",i[1]),l(s,"id","text-container"),l(t,"id","container")},m(m,g){e(m,t,g),v(t,o),v(t,r),v(t,s),v(s,n),v(n,a),v(s,c),v(s,x),v(x,w),v(w,T),v(T,b),v(w,y),v(w,j),v(w,z),v(w,E),v(E,H),v(x,L),v(x,M),v(M,O),v(O,R),v(M,N),v(M,S),v(M,A),v(M,B),v(B,C),v(x,D),v(x,F),v(F,G),v(G,I),v(F,J),v(F,K),v(F,Q),v(F,U),v(U,V),i[5](x)},p(i,t){4&t&&W!==(W=i[2].top+"")&&f(a,W),4&t&&X!==(X=i[2].groupsTitle+"")&&f(b,X),4&t&&Y!==(Y=i[2].groupsText+"")&&f(H,Y),4&t&&Z!==(Z=i[2].communitiesTitle+"")&&f(R,Z),4&t&&$!==($=i[2].communitiesText+"")&&f(C,$),4&t&&_!==(_=i[2].cooperativesTitle+"")&&f(I,_),4&t&&ii!==(ii=i[2].cooperativesText+"")&&f(V,ii),2&t&&h(x,"--grid-width",i[1])},d(o){o&&m(t),i[5](null)}}}function y(i){let t,o=0!=Object.keys(i[2]).length,r=o&&b(i);return{c(){r&&r.c(),t=s(),this.c=n},m(i,o){r&&r.m(i,o),e(i,t,o)},p(i,[e]){4&e&&(o=0!=Object.keys(i[2]).length),o?r?r.p(i,e):(r=b(i),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null)},i:n,o:n,d(i){r&&r.d(i),i&&m(t)}}}function j(i,t,o){let e,r,s,n,m=T({});function g(i){o(1,s="ru"==i?"1.2fr 1.05fr 1fr":"1.2fr 1.1fr 1fr")}return a(i,m,(i=>o(2,e=i))),g(w(m,"landing-component",n,g)),c((()=>{})),[r,s,e,n,m,function(i){x[i?"unshift":"push"]((()=>{r=i,o(0,r)}))}]}class k extends i{constructor(i){super(),this.shadowRoot.innerHTML="",t(this,{target:this.shadowRoot,props:o(this.attributes),customElement:!0},j,y,r,{},null),i&&i.target&&e(i.target,this,i.anchor)}}customElements.define("landing-component",k);export{k as default}; +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 crowd',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}; diff --git a/Server/public/js/components/legend-component.js b/Server/public/js/components/legend-component.js index 6a643c7..0148b7b 100644 --- a/Server/public/js/components/legend-component.js +++ b/Server/public/js/components/legend-component.js @@ -1 +1 @@ -import{S as t,i as e,a as s,b as o,u as n,s as r,f as i,n as a,h as l,d as c,p,o as u,g as h,t as d,v as m,l as f,q as g,m as y,w as $}from"./index-4348483d.js";import{pullLegendData as b}from"../../../../../../../../../js/predict/charts.js";function w(t,e,s){const o=t.slice();return o[10]=e[s],o[11]=e,o[12]=s,o}function x(t){let e,s,n,r,a,p,u,$,b=t[10].name+"",w=t[12];const x=()=>t[6](e,w),k=()=>t[6](null,w);function v(){return t[7](t[12])}return{c(){e=i("button"),s=i("div"),n=h(),r=i("span"),a=d(b),p=h(),l(s,"class","marker"),m(s,"background-color",t[10].color)},m(t,i){o(t,e,i),f(e,s),f(e,n),f(e,r),f(r,a),f(e,p),x(),u||($=g(e,"click",v),u=!0)},p(e,o){t=e,1&o&&m(s,"background-color",t[10].color),1&o&&b!==(b=t[10].name+"")&&y(a,b),w!==t[12]&&(k(),w=t[12],x())},d(t){t&&c(e),k(),u=!1,$()}}}function k(t){let e,s=t[0],n=[];for(let e=0;et._id)),c=a[t];for(let t=0;t{c()}));return t.$$set=t=>{"option"in t&&s(4,n=t.option),"chart"in t&&s(5,r=t.chart),"data"in t&&s(3,i=t.data)},[a,l,p,i,n,r,function(t,e){$[t?"unshift":"push"]((()=>{l[e]=t,s(1,l)}))},t=>p(t)]}class j extends t{constructor(t){super(),this.shadowRoot.innerHTML="",e(this,{target:this.shadowRoot,props:s(this.attributes),customElement:!0},v,k,r,{option:4,chart:5,data:3},null),t&&(t.target&&o(t.target,this,t.anchor),t.props&&(this.$set(t.props),n()))}static get observedAttributes(){return["option","chart","data"]}get option(){return this.$$.ctx[4]}set option(t){this.$$set({option:t}),n()}get chart(){return this.$$.ctx[5]}set chart(t){this.$$set({chart:t}),n()}get data(){return this.$$.ctx[3]}set data(t){this.$$set({data:t}),n()}}customElements.define("legend-component",j);export{j as default}; +import{g as t,S as e,i as s,a as o,b as n,v as r,s as i,f as a,n as l,j as c,d as p,q as u,o as h,h as d,t as m,w as f,m as g,r as y,p as $,x as b}from"./index-3cab5f92.js";import{pullLegendData as w}from"../../../../../../js/predict/charts.js";const{customElements:x}=t;function k(t,e,s){const o=t.slice();return o[10]=e[s],o[11]=e,o[12]=s,o}function j(t){let e,s,o,r,i,l,u,h,b=t[10].name+"",w=t[12];const x=()=>t[6](e,w),k=()=>t[6](null,w);function j(){return t[7](t[12])}return{c(){e=a("button"),s=a("div"),o=d(),r=a("span"),i=m(b),l=d(),c(s,"class","marker"),f(s,"background-color",t[10].color)},m(t,a){n(t,e,a),g(e,s),g(e,o),g(e,r),g(r,i),g(e,l),x(),u||(h=y(e,"click",j),u=!0)},p(e,o){t=e,1&o&&f(s,"background-color",t[10].color),1&o&&b!==(b=t[10].name+"")&&$(i,b),w!==t[12]&&(k(),w=t[12],x())},d(t){t&&p(e),k(),u=!1,h()}}}function v(t){let e,s=t[0],o=[];for(let e=0;et._id)),c=a[t];for(let t=0;t{c()}));return t.$$set=t=>{"option"in t&&s(4,n=t.option),"chart"in t&&s(5,r=t.chart),"data"in t&&s(3,i=t.data)},[a,l,p,i,n,r,function(t,e){b[t?"unshift":"push"]((()=>{l[e]=t,s(1,l)}))},t=>p(t)]}class E extends e{constructor(t){super(),this.shadowRoot.innerHTML="",s(this,{target:this.shadowRoot,props:o(this.attributes),customElement:!0},S,v,i,{option:4,chart:5,data:3},null),t&&(t.target&&n(t.target,this,t.anchor),t.props&&(this.$set(t.props),r()))}static get observedAttributes(){return["option","chart","data"]}get option(){return this.$$.ctx[4]}set option(t){this.$$set({option:t}),r()}get chart(){return this.$$.ctx[5]}set chart(t){this.$$set({chart:t}),r()}get data(){return this.$$.ctx[3]}set data(t){this.$$set({data:t}),r()}}x.define("legend-component",E);export{E as default}; diff --git a/Server/public/js/components/loadscreen-component.js b/Server/public/js/components/loadscreen-component.js index 4feb1ba..6ba620e 100644 --- a/Server/public/js/components/loadscreen-component.js +++ b/Server/public/js/components/loadscreen-component.js @@ -1 +1 @@ -import{S as t,i as s,a as e,b as n,s as o,f as a,n as i,h as d,v as r,d as u,o as c,w as l}from"./index-4348483d.js";function h(t){let s;return{c(){s=a("div"),this.c=i,d(s,"id","loadscreen"),r(s,"width","100%"),r(s,"height","100%"),r(s,"background","white"),r(s,"position","absolute"),r(s,"z-index","100000")},m(e,o){n(e,s,o),t[1](s)},p:i,i:i,o:i,d(e){e&&u(s),t[1](null)}}}function p(t,s,e){let n;return c((()=>{window.addEventListener("load",(function(){e(0,n.parentNode.host.style.display="none",n)}))})),[n,function(t){l[t?"unshift":"push"]((()=>{n=t,e(0,n)}))}]}class f extends t{constructor(t){super(),s(this,{target:this.shadowRoot,props:e(this.attributes),customElement:!0},p,h,o,{},null),t&&t.target&&n(t.target,this,t.anchor)}}customElements.define("loadscreen-component",f);export{f as default}; +import{g as t,S as s,i as e,a as n,b as a,s as o,f as i,n as r,j as d,w as c,d as u,o as l,x as h}from"./index-3cab5f92.js";const{customElements:p}=t;function f(t){let s;return{c(){s=i("div"),this.c=r,d(s,"id","loadscreen"),c(s,"width","100%"),c(s,"height","100%"),c(s,"background","white"),c(s,"position","absolute"),c(s,"z-index","100000")},m(e,n){a(e,s,n),t[1](s)},p:r,i:r,o:r,d(e){e&&u(s),t[1](null)}}}function m(t,s,e){let n;return l((()=>{window.addEventListener("load",(function(){e(0,n.parentNode.host.style.display="none",n)}))})),[n,function(t){h[t?"unshift":"push"]((()=>{n=t,e(0,n)}))}]}class g extends s{constructor(t){super(),e(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},m,f,o,{},null),t&&t.target&&a(t.target,this,t.anchor)}}p.define("loadscreen-component",g);export{g as default}; diff --git a/Server/public/js/components/manifesto-component.js b/Server/public/js/components/manifesto-component.js index 0e99468..3d3b473 100644 --- a/Server/public/js/components/manifesto-component.js +++ b/Server/public/js/components/manifesto-component.js @@ -1 +1 @@ -import{S as t,i as e,a as n,b as i,s as l,e as o,n as r,d as s,c as a,o as c,f as d,h as m,l as u,t as f,g as h,j as g,v as p,q as w,m as b,p as x,w as y,y as v,H as k}from"./index-4348483d.js";import{w as j}from"./index-71440b21.js";import{loadLocaleContent as H,getData as I}from"../../../../../../../../../js/libraries/serverTools.js";import{px2rem as L}from"../../../../../../../../../js/libraries/miscTools.js";function T(t,e,n){const i=t.slice();return i[32]=e[n],i[33]=e,i[34]=n,i}function Y(t,e,n){const i=t.slice();return i[35]=e[n],i}function C(t,e,n){const i=t.slice();return i[35]=e[n],i}function M(t,e,n){const i=t.slice();return i[40]=e[n],i[41]=e,i[42]=n,i}function O(t,e,n){const i=t.slice();return i[43]=e[n],i[44]=e,i[45]=n,i}function z(t){let e,n,o=t[0],r=K(t);return{c(){e=d("div"),n=d("div"),r.c(),m(n,"id","text-container"),m(e,"id","container")},m(l,o){i(l,e,o),u(e,n),r.m(n,null),t[27](e)},p(t,e){1&e[0]&&l(o,o=t[0])?(r.d(1),r=K(t),r.c(),r.m(n,null)):r.p(t,e)},d(n){n&&s(e),r.d(n),t[27](null)}}}function A(t){let e,n,l,o,r,a,c=t[40].name+"",g=t[40];const p=()=>t[20](n,g),b=()=>t[20](null,g);function x(){return t[21](t[40])}return{c(){e=d("div"),n=d("button"),l=f(c),o=h(),m(n,"class","level0 heading-button"),m(e,"class","heading-button-wrapper")},m(t,s){i(t,e,s),u(e,n),u(n,l),p(),u(e,o),r||(a=w(n,"click",x),r=!0)},p(e,n){g!==(t=e)[40]&&(b(),g=t[40],p())},d(t){t&&s(e),b(),r=!1,a()}}}function V(t){let e,n=t[40],l=[];for(let e=0;et[18](n,g),b=()=>t[18](null,g);function x(){return t[19](t[43])}return{c(){e=d("div"),n=d("button"),l=f(c),o=h(),m(n,"class","level1 heading-button"),m(e,"class","heading-button-wrapper")},m(t,s){i(t,e,s),u(e,n),u(n,l),p(),u(e,o),r||(a=w(n,"click",x),r=!0)},p(e,n){g!==(t=e)[43]&&(b(),g=t[43],p())},d(t){t&&s(e),b(),r=!1,a()}}}function S(t){let e;let n=function(t,e){return Array.isArray(t[40])?V:A}(t),l=n(t);return{c(){l.c(),e=o()},m(t,n){l.m(t,n),i(t,e,n)},p(t,e){l.p(t,e)},d(t){l.d(t),t&&s(e)}}}function E(t){let e;let n=function(t,e){return t[32],"ul"==Object.keys(t[32])[0]?D:(t[32],"ol"==Object.keys(t[32])[0]?W:(t[32],"h3"==t[32].type?q:(t[32],"h2"==t[32].type?_:"#"==t[32][0]?N:B)))}(t),l=n(t);return{c(){l.c(),e=o()},m(t,n){l.m(t,n),i(t,e,n)},p(t,e){l.p(t,e)},d(t){l.d(t),t&&s(e)}}}function B(t){let e,n,l,o=t[32]+"";return{c(){e=d("p"),n=new k(!1),l=h(),n.a=l,m(e,"class","margin-end")},m(t,r){i(t,e,r),n.m(o,e),u(e,l)},p:r,d(t){t&&s(e)}}}function N(t){let e,n=t[32].slice(2,t[32].length)+"";return{c(){e=d("h1")},m(t,l){i(t,e,l),e.innerHTML=n},p:r,d(t){t&&s(e)}}}function _(t){let e,n,l,o,r,a=t[32].line+"",c=t[32];const f=()=>t[25](n,c),g=()=>t[25](null,c);return{c(){e=d("button"),n=d("h2"),l=h(),m(n,"id",t[32].id),p(e,"display","block"),p(e,"width","100%")},m(s,c){i(s,e,c),u(e,n),n.innerHTML=a,f(),u(e,l),o||(r=w(e,"click",(function(){v(t[6].scrollIntoView({block:"start"},!0))&&t[6].scrollIntoView({block:"start"},!0).apply(this,arguments)})),o=!0)},p(e,n){c!==(t=e)[32]&&(g(),c=t[32],f())},d(t){t&&s(e),g(),o=!1,r()}}}function q(t){let e,n,l,o,r,a=t[32].line+"",c=t[32];const f=()=>t[24](n,c),g=()=>t[24](null,c);return{c(){e=d("button"),n=d("h3"),l=h(),m(n,"id",t[32].id),p(e,"display","block"),p(e,"width","100%")},m(s,c){i(s,e,c),u(e,n),n.innerHTML=a,f(),u(e,l),o||(r=w(e,"click",(function(){v(t[6].scrollIntoView({block:"start"},!0))&&t[6].scrollIntoView({block:"start"},!0).apply(this,arguments)})),o=!0)},p(e,n){c!==(t=e)[32]&&(g(),c=t[32],f())},d(t){t&&s(e),g(),o=!1,r()}}}function W(t){let e,n,l=t[32].ol,o=[];for(let e=0;en(9,i=t)));let k=H(v,"manifesto-component",f);const T=["ul","ol"];function Y(t){p[t].scrollIntoView({block:"start"},!0)}I("/locales/"+k+"/manifesto.txt",(function(t){let e,i=t.split(/\r?\n/),o=0;for(let t=0;tn.includes("<"+t+">"))).findIndex((t=>t));if(-1!=l){let e=T[l],o={};o[e]=[];let r="";for(;;){if(t+=1,n=i[t],n.includes(r)){h.push(o);break}o[e].push(n)}}else if("###"==n.slice(0,3)){let t=n.slice(4,n.length),i=t.toLowerCase().trim().replaceAll(" ","-");e.push({id:i,name:t,index:o}),o+=1,h.push({type:"h3",id:i,line:t,index:o})}else if("##"==n.slice(0,2)){let t=n.slice(3,n.length),i=t.toLowerCase().trim().replaceAll(" ","-");w.push({id:t.toLowerCase().trim().replaceAll(" ","-"),name:t,index:o}),o+=1,e=[],w.push(e),h.push({type:"h2",id:i,line:t,index:o})}else h.push(n)}n(0,l+=1)})),addEventListener("scroll",(t=>{if(window.innerWidth>1080){let t=L(window.scrollY),e=L(m.getBoundingClientRect().bottom+window.scrollY),i=L(d.getBoundingClientRect().bottom+window.scrollY);if(t>b&&t<5||t=e-1.5)x-=i-(e-1.5);else if(x>-5&&(x=-5),t<5&&0!=t){let t=L(d.offsetHeight-window.innerHeight);x=-Math.min(L(window.scrollY),5+t+2.5)}else if(twindow.innerHeight){let e=L(d.offsetHeight)-L(window.innerHeight);x>-(e+8)?x+=b-t:x=-(e+8)}n(6,d.style.marginTop=x+"rem",d),b=L(window.scrollY)}else n(6,d.style.marginTop="0rem",d)})),c((()=>{let t=localStorage.getItem("manifesto-hide-content");null!=t&&null!=t&&"true"==t&&Q(r,s)}));return[l,o,r,s,g,p,d,m,u,i,h,w,f,v,Y,function(t){y[t?"unshift":"push"]((()=>{r=t,n(2,r)}))},function(t){y[t?"unshift":"push"]((()=>{o=t,n(1,o)}))},()=>Q(r,s),function(t,e){y[t?"unshift":"push"]((()=>{g[e.index]=t,n(4,g)}))},t=>Y(t.id),function(t,e){y[t?"unshift":"push"]((()=>{g[e.index]=t,n(4,g)}))},t=>Y(t.id),function(t){y[t?"unshift":"push"]((()=>{s=t,n(3,s)}))},function(t){y[t?"unshift":"push"]((()=>{d=t,n(6,d)}))},function(t,e){y[t?"unshift":"push"]((()=>{p[e.id]=t,n(5,p)}))},function(t,e){y[t?"unshift":"push"]((()=>{p[e.id]=t,n(5,p)}))},function(t){y[t?"unshift":"push"]((()=>{u=t,n(8,u)}))},function(t){y[t?"unshift":"push"]((()=>{m=t,n(7,m)}))}]}class X extends t{constructor(t){super(),this.shadowRoot.innerHTML="",e(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},U,P,l,{},null,[-1,-1]),t&&t.target&&i(t.target,this,t.anchor)}}customElements.define("manifesto-component",X);export{X as default}; +import{g as t,S as e,i as n,a as i,b as l,s as o,e as r,n as s,d as a,c,o as d,f as m,j as u,m as f,t as h,h as g,k as p,w,r as b,p as x,q as y,x as v,z as k,H as j}from"./index-3cab5f92.js";import{w as H}from"./index-eafa799e.js";import{loadLocaleContent as I,getData as L}from"../../../../../../js/libraries/serverTools.js";import{px2rem as T}from"../../../../../../js/libraries/miscTools.js";const{customElements:Y}=t;function C(t,e,n){const i=t.slice();return i[32]=e[n],i[33]=e,i[34]=n,i}function M(t,e,n){const i=t.slice();return i[35]=e[n],i}function z(t,e,n){const i=t.slice();return i[35]=e[n],i}function O(t,e,n){const i=t.slice();return i[40]=e[n],i[41]=e,i[42]=n,i}function A(t,e,n){const i=t.slice();return i[43]=e[n],i[44]=e,i[45]=n,i}function V(t){let e,n,i=t[0],r=Q(t);return{c(){e=m("div"),n=m("div"),r.c(),u(n,"id","text-container"),u(e,"id","container")},m(i,o){l(i,e,o),f(e,n),r.m(n,null),t[27](e)},p(t,e){1&e[0]&&o(i,i=t[0])?(r.d(1),r=Q(t),r.c(),r.m(n,null)):r.p(t,e)},d(n){n&&a(e),r.d(n),t[27](null)}}}function R(t){let e,n,i,o,r,s,c=t[40].name+"",d=t[40];const p=()=>t[20](n,d),w=()=>t[20](null,d);function x(){return t[21](t[40])}return{c(){e=m("div"),n=m("button"),i=h(c),o=g(),u(n,"class","level0 heading-button"),u(e,"class","heading-button-wrapper")},m(t,a){l(t,e,a),f(e,n),f(n,i),p(),f(e,o),r||(s=b(n,"click",x),r=!0)},p(e,n){d!==(t=e)[40]&&(w(),d=t[40],p())},d(t){t&&a(e),w(),r=!1,s()}}}function S(t){let e,n=t[40],i=[];for(let e=0;et[18](n,d),w=()=>t[18](null,d);function x(){return t[19](t[43])}return{c(){e=m("div"),n=m("button"),i=h(c),o=g(),u(n,"class","level1 heading-button"),u(e,"class","heading-button-wrapper")},m(t,a){l(t,e,a),f(e,n),f(n,i),p(),f(e,o),r||(s=b(n,"click",x),r=!0)},p(e,n){d!==(t=e)[43]&&(w(),d=t[43],p())},d(t){t&&a(e),w(),r=!1,s()}}}function B(t){let e;let n=function(t,e){return Array.isArray(t[40])?S:R}(t),i=n(t);return{c(){i.c(),e=r()},m(t,n){i.m(t,n),l(t,e,n)},p(t,e){i.p(t,e)},d(t){i.d(t),t&&a(e)}}}function N(t){let e;let n=function(t,e){return t[32],"ul"==Object.keys(t[32])[0]?G:(t[32],"ol"==Object.keys(t[32])[0]?F:(t[32],"h3"==t[32].type?D:(t[32],"h2"==t[32].type?W:"#"==t[32][0]?q:_)))}(t),i=n(t);return{c(){i.c(),e=r()},m(t,n){i.m(t,n),l(t,e,n)},p(t,e){i.p(t,e)},d(t){i.d(t),t&&a(e)}}}function _(t){let e,n,i,o=t[32]+"";return{c(){e=m("p"),n=new j(!1),i=g(),n.a=i,u(e,"class","margin-end")},m(t,r){l(t,e,r),n.m(o,e),f(e,i)},p:s,d(t){t&&a(e)}}}function q(t){let e,n=t[32].slice(2,t[32].length)+"";return{c(){e=m("h1")},m(t,i){l(t,e,i),e.innerHTML=n},p:s,d(t){t&&a(e)}}}function W(t){let e,n,i,o,r,s=t[32].line+"",c=t[32];const d=()=>t[25](n,c),h=()=>t[25](null,c);return{c(){e=m("button"),n=m("h2"),i=g(),u(n,"id",t[32].id),w(e,"display","block"),w(e,"width","100%")},m(a,c){l(a,e,c),f(e,n),n.innerHTML=s,d(),f(e,i),o||(r=b(e,"click",(function(){k(t[6].scrollIntoView({block:"start"},!0))&&t[6].scrollIntoView({block:"start"},!0).apply(this,arguments)})),o=!0)},p(e,n){c!==(t=e)[32]&&(h(),c=t[32],d())},d(t){t&&a(e),h(),o=!1,r()}}}function D(t){let e,n,i,o,r,s=t[32].line+"",c=t[32];const d=()=>t[24](n,c),h=()=>t[24](null,c);return{c(){e=m("button"),n=m("h3"),i=g(),u(n,"id",t[32].id),w(e,"display","block"),w(e,"width","100%")},m(a,c){l(a,e,c),f(e,n),n.innerHTML=s,d(),f(e,i),o||(r=b(e,"click",(function(){k(t[6].scrollIntoView({block:"start"},!0))&&t[6].scrollIntoView({block:"start"},!0).apply(this,arguments)})),o=!0)},p(e,n){c!==(t=e)[32]&&(h(),c=t[32],d())},d(t){t&&a(e),h(),o=!1,r()}}}function F(t){let e,n,i=t[32].ol,o=[];for(let e=0;en(9,i=t)));let k=I(y,"manifesto-component",f);const j=["ul","ol"];function Y(t){p[t].scrollIntoView({block:"start"},!0)}L("/locales/"+k+"/manifesto.txt",(function(t){let e,i=t.split(/\r?\n/),o=0;for(let t=0;tn.includes("<"+t+">"))).findIndex((t=>t));if(-1!=l){let e=j[l],o={};o[e]=[];let r="";for(;;){if(t+=1,n=i[t],n.includes(r)){h.push(o);break}o[e].push(n)}}else if("###"==n.slice(0,3)){let t=n.slice(4,n.length),i=t.toLowerCase().trim().replaceAll(" ","-");e.push({id:i,name:t,index:o}),o+=1,h.push({type:"h3",id:i,line:t,index:o})}else if("##"==n.slice(0,2)){let t=n.slice(3,n.length),i=t.toLowerCase().trim().replaceAll(" ","-");w.push({id:t.toLowerCase().trim().replaceAll(" ","-"),name:t,index:o}),o+=1,e=[],w.push(e),h.push({type:"h2",id:i,line:t,index:o})}else h.push(n)}n(0,l+=1)})),addEventListener("scroll",(t=>{if(window.innerWidth>1080){let t=T(window.scrollY),e=T(m.getBoundingClientRect().bottom+window.scrollY),i=T(a.getBoundingClientRect().bottom+window.scrollY);if(t>b&&t<5||t=e-1.5)x-=i-(e-1.5);else if(x>-5&&(x=-5),t<5&&0!=t){let t=T(a.offsetHeight-window.innerHeight);x=-Math.min(T(window.scrollY),5+t+2.5)}else if(twindow.innerHeight){let e=T(a.offsetHeight)-T(window.innerHeight);x>-(e+8)?x+=b-t:x=-(e+8)}n(6,a.style.marginTop=x+"rem",a),b=T(window.scrollY)}else n(6,a.style.marginTop="0rem",a)})),d((()=>{let t=localStorage.getItem("manifesto-hide-content");null!=t&&null!=t&&"true"==t&&X(r,s)}));return[l,o,r,s,g,p,a,m,u,i,h,w,f,y,Y,function(t){v[t?"unshift":"push"]((()=>{r=t,n(2,r)}))},function(t){v[t?"unshift":"push"]((()=>{o=t,n(1,o)}))},()=>X(r,s),function(t,e){v[t?"unshift":"push"]((()=>{g[e.index]=t,n(4,g)}))},t=>Y(t.id),function(t,e){v[t?"unshift":"push"]((()=>{g[e.index]=t,n(4,g)}))},t=>Y(t.id),function(t){v[t?"unshift":"push"]((()=>{s=t,n(3,s)}))},function(t){v[t?"unshift":"push"]((()=>{a=t,n(6,a)}))},function(t,e){v[t?"unshift":"push"]((()=>{p[e.id]=t,n(5,p)}))},function(t,e){v[t?"unshift":"push"]((()=>{p[e.id]=t,n(5,p)}))},function(t){v[t?"unshift":"push"]((()=>{u=t,n(8,u)}))},function(t){v[t?"unshift":"push"]((()=>{m=t,n(7,m)}))}]}class $ extends e{constructor(t){super(),this.shadowRoot.innerHTML="",n(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},Z,U,o,{},null,[-1,-1]),t&&t.target&&l(t.target,this,t.anchor)}}Y.define("manifesto-component",$);export{$ as default}; diff --git a/Server/public/js/components/map-component.js b/Server/public/js/components/map-component.js index 6ba5414..2c9baed 100644 --- a/Server/public/js/components/map-component.js +++ b/Server/public/js/components/map-component.js @@ -1 +1 @@ -import{S as t,i as a,a as e,b as s,u as o,s as r,f as i,n,h as c,d as l,o as p,w as m}from"./index-4348483d.js";function h(t){let a;return{c(){a=i("div"),this.c=n,c(a,"id","map")},m(e,o){s(e,a,o),t[2](a)},p:n,i:n,o:n,d(e){e&&l(a),t[2](null)}}}function u(t,a,e){let s,{callback:o=null}=a;function r(t,a){let e=L.map(s,{center:t,zoom:a});return L.tileLayer("https://tile.openstreetmap.org/{z}/{x}/{y}.png",{attribution:'© OpenStreetMap contributors',minNativeZoom:2,minZoom:2,maxNativeZoom:16,maxZoom:16}).addTo(e),e}return p((()=>{o(r)})),t.$$set=t=>{"callback"in t&&e(1,o=t.callback)},[s,o,function(t){m[t?"unshift":"push"]((()=>{s=t,e(0,s)}))}]}class d extends t{constructor(t){super(),this.shadowRoot.innerHTML="",a(this,{target:this.shadowRoot,props:e(this.attributes),customElement:!0},u,h,r,{callback:1},null),t&&(t.target&&s(t.target,this,t.anchor),t.props&&(this.$set(t.props),o()))}static get observedAttributes(){return["callback"]}get callback(){return this.$$.ctx[1]}set callback(t){this.$$set({callback:t}),o()}}customElements.define("map-component",d);export{d as default}; +import{g as t,S as a,i as e,a as s,b as o,v as r,s as i,f as n,n as c,j as l,d as p,o as m,x as h}from"./index-3cab5f92.js";const{customElements:u}=t;function b(t){let a;return{c(){a=n("div"),this.c=c,l(a,"id","map")},m(e,s){o(e,a,s),t[2](a)},p:c,i:c,o:c,d(e){e&&p(a),t[2](null)}}}function d(t,a,e){let s,{callback:o=null}=a;function r(t,a){let e=L.map(s,{center:t,zoom:a});return L.tileLayer("https://tile.openstreetmap.org/{z}/{x}/{y}.png",{attribution:'© OpenStreetMap contributors',minNativeZoom:2,minZoom:2,maxNativeZoom:16,maxZoom:16}).addTo(e),e}return m((()=>{o(r)})),t.$$set=t=>{"callback"in t&&e(1,o=t.callback)},[s,o,function(t){h[t?"unshift":"push"]((()=>{s=t,e(0,s)}))}]}class g extends a{constructor(t){super(),this.shadowRoot.innerHTML="",e(this,{target:this.shadowRoot,props:s(this.attributes),customElement:!0},d,b,i,{callback:1},null),t&&(t.target&&o(t.target,this,t.anchor),t.props&&(this.$set(t.props),r()))}static get observedAttributes(){return["callback"]}get callback(){return this.$$.ctx[1]}set callback(t){this.$$set({callback:t}),r()}}u.define("map-component",g);export{g as default}; diff --git a/Server/public/js/components/navbar-component.js b/Server/public/js/components/navbar-component.js index 65ed88a..592e723 100644 --- a/Server/public/js/components/navbar-component.js +++ b/Server/public/js/components/navbar-component.js @@ -1 +1 @@ -import{S as e,i as o,a as t,b as n,s as i,e as a,n as r,d as l,c as s,o as c,f as d,g as m,t as h,h as p,j as g,l as u,q as f,m as b,p as v,r as k,w}from"./index-4348483d.js";import{w as y}from"./index-71440b21.js";import{loadLocaleContent as x,locales as j}from"../../../../../../../../../js/libraries/serverTools.js";function z(e,o,t){const n=e.slice();return n[14]=o[t][0],n[15]=o[t][1],n}function O(e){let o,t,i,a,r,s,c,w,y,x,O,H,L,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+"",le=e[3].manifesto+"",se=e[3].joinUs+"",ce=e[3].groups+"",de=e[3].communities+"",me=e[3].cooperatives+"",he=e[3].partners+"",pe=Object.entries(j),ge=[];for(let o=0;o',r=m(),s=d("a"),c=d("img"),y=m(),x=d("span"),O=h(re),H=m(),L=d("nav"),M=d("ul"),N=d("li"),S=d("a"),E=h(le),R=m(),U=d("li"),q=d("a"),I=h(se),X=m(),A=d("li"),B=d("a"),C=h(ce),D=m(),F=d("li"),G=d("a"),J=h(de),K=m(),P=d("li"),Q=d("a"),V=h(me),W=m(),Y=d("li"),Z=d("a"),$=h(he),_=m(),ee=d("li"),oe=d("button"),oe.innerHTML=' \n \n globe',te=m(),ne=d("div");for(let e=0;et(3,n=e)));let m=x(d,"navbar-component",l);function h(e){localStorage.setItem("locale",e);let o=location.href.split("/"),t=Object.keys(j);o=o.filter((e=>!t.includes(e)));let n=o.slice(0,o.length-1).join("/")+"/"+e+"/"+o[o.length-1];location.href=n}c((()=>{}));return[i,a,r,n,l,d,m,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)},h,function(e){w[e?"unshift":"push"]((()=>{i=e,t(0,i)}))},e=>h(e),function(e){w[e?"unshift":"push"]((()=>{r=e,t(2,r)}))},function(e){w[e?"unshift":"push"]((()=>{a=e,t(1,a)}))}]}class M extends e{constructor(e){super(),this.shadowRoot.innerHTML="",o(this,{target:this.shadowRoot,props:t(this.attributes),customElement:!0},L,H,i,{},null),e&&e.target&&n(e.target,this,e.anchor)}}customElements.define("navbar-component",M);export{M as default}; +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}; diff --git a/Server/public/js/components/pane-aligner.js b/Server/public/js/components/pane-aligner.js index 784b939..d224b3b 100644 --- a/Server/public/js/components/pane-aligner.js +++ b/Server/public/js/components/pane-aligner.js @@ -1 +1 @@ -import{S as i,i as e,a,b as t,s as n,f as r,g as s,n as d,h as o,l,d as m,x as p,o as h,w as g}from"./index-4348483d.js";import{debounce as c}from"../../../../../../../../../js/libraries/miscTools.js";function f(i){let e,a,n,p,h,g,c,f,u,b;return{c(){e=r("div"),a=r("div"),n=r("div"),p=r("div"),p.innerHTML='',h=s(),g=r("div"),g.innerHTML='',c=s(),f=r("div"),f.innerHTML='',u=s(),b=r("div"),b.innerHTML='',this.c=d,o(p,"id","sidebar-left"),o(p,"class","pane"),o(g,"id","sidebar-left2"),o(g,"class","pane"),o(n,"id","sidebars-left"),o(n,"class","sidebar"),o(f,"id","sidebar-right"),o(f,"class","pane sidebar"),o(b,"id","main-pane"),o(b,"class","pane"),o(a,"class","pane-container"),o(e,"id","root"),o(e,"class","pane-centering")},m(r,s){t(r,e,s),l(e,a),l(a,n),l(n,p),i[5](p),l(n,h),l(n,g),i[6](g),l(a,c),l(a,f),i[7](f),l(a,u),l(a,b),i[8](b),i[9](e)},p:d,i:d,o:d,d(a){a&&m(e),i[5](null),i[6](null),i[7](null),i[8](null),i[9](null)}}}function u(i,e,a){let t,n,r,s,d,o=null!=p("alignerParent")?p("alignerParent").switchView:void 0,l=!1,m=!1,f=!1;function u(){if(null!=t.parentNode){let i=t.parentNode.host.childNodes;if(0==i.length)setTimeout(u,50);else{let e=!1,n=t.parentNode.innerHTML;for(let a of i)"sidebar-left"!=a.slot||l?"sidebar-left2"!=a.slot||m?"sidebar-right"!=a.slot||f||(n=n.replace("#sidebar-right{display:none;","#sidebar-right{"),f=!0,e=!0):(n=n.replace("#sidebar-left2{display:none}",""),m=!0,e=!0):(n=n.replace("#sidebar-left{display:none}",""),l=!0,e=!0);null!=o&&(n=n.replace("1880px",o),e=!0),e&&a(0,t.parentNode.innerHTML=n,t)}}}return window.addEventListener("resize",c(u,100)),h((()=>{u()})),[t,n,r,s,d,function(i){g[i?"unshift":"push"]((()=>{r=i,a(2,r)}))},function(i){g[i?"unshift":"push"]((()=>{s=i,a(3,s)}))},function(i){g[i?"unshift":"push"]((()=>{d=i,a(4,d)}))},function(i){g[i?"unshift":"push"]((()=>{n=i,a(1,n)}))},function(i){g[i?"unshift":"push"]((()=>{t=i,a(0,t)}))}]}class b extends i{constructor(i){super(),this.shadowRoot.innerHTML="",e(this,{target:this.shadowRoot,props:a(this.attributes),customElement:!0},u,f,n,{},null),i&&i.target&&t(i.target,this,i.anchor)}}customElements.define("pane-aligner",b);export{b as default}; +import{g as i,S as e,i as a,a as t,b as n,s as r,f as s,h as d,n as o,j as l,m,d as p,y as h,o as g,x as c}from"./index-3cab5f92.js";import{debounce as f}from"../../../../../../js/libraries/miscTools.js";const{customElements:u}=i;function b(i){let e,a,t,r,h,g,c,f,u,b;return{c(){e=s("div"),a=s("div"),t=s("div"),r=s("div"),r.innerHTML='',h=d(),g=s("div"),g.innerHTML='',c=d(),f=s("div"),f.innerHTML='',u=d(),b=s("div"),b.innerHTML='',this.c=o,l(r,"id","sidebar-left"),l(r,"class","pane"),l(g,"id","sidebar-left2"),l(g,"class","pane"),l(t,"id","sidebars-left"),l(t,"class","sidebar"),l(f,"id","sidebar-right"),l(f,"class","pane sidebar"),l(b,"id","main-pane"),l(b,"class","pane"),l(a,"class","pane-container"),l(e,"id","root"),l(e,"class","pane-centering")},m(s,d){n(s,e,d),m(e,a),m(a,t),m(t,r),i[5](r),m(t,h),m(t,g),i[6](g),m(a,c),m(a,f),i[7](f),m(a,u),m(a,b),i[8](b),i[9](e)},p:o,i:o,o:o,d(a){a&&p(e),i[5](null),i[6](null),i[7](null),i[8](null),i[9](null)}}}function v(i,e,a){let t,n,r,s,d,o=null!=h("alignerParent")?h("alignerParent").switchView:void 0,l=!1,m=!1,p=!1;function u(){if(null!=t.parentNode){let i=t.parentNode.host.childNodes;if(0==i.length)setTimeout(u,50);else{let e=!1,n=t.parentNode.innerHTML;for(let a of i)"sidebar-left"!=a.slot||l?"sidebar-left2"!=a.slot||m?"sidebar-right"!=a.slot||p||(n=n.replace("#sidebar-right{display:none;","#sidebar-right{"),p=!0,e=!0):(n=n.replace("#sidebar-left2{display:none}",""),m=!0,e=!0):(n=n.replace("#sidebar-left{display:none}",""),l=!0,e=!0);null!=o&&(n=n.replace("1880px",o),e=!0),e&&a(0,t.parentNode.innerHTML=n,t)}}}return window.addEventListener("resize",f(u,100)),g((()=>{u()})),[t,n,r,s,d,function(i){c[i?"unshift":"push"]((()=>{r=i,a(2,r)}))},function(i){c[i?"unshift":"push"]((()=>{s=i,a(3,s)}))},function(i){c[i?"unshift":"push"]((()=>{d=i,a(4,d)}))},function(i){c[i?"unshift":"push"]((()=>{n=i,a(1,n)}))},function(i){c[i?"unshift":"push"]((()=>{t=i,a(0,t)}))}]}class w extends e{constructor(i){super(),this.shadowRoot.innerHTML="",a(this,{target:this.shadowRoot,props:t(this.attributes),customElement:!0},v,b,r,{},null),i&&i.target&&n(i.target,this,i.anchor)}}u.define("pane-aligner",w);export{w as default}; diff --git a/Server/public/js/components/partners-component.js b/Server/public/js/components/partners-component.js index 486a214..a44bef5 100644 --- a/Server/public/js/components/partners-component.js +++ b/Server/public/js/components/partners-component.js @@ -1 +1 @@ -import{S as t,i as e,a as n,b as i,s as o,e as r,n as a,d as s,c as m,o as l,f as c,t as g,g as p,h as d,j as h,l as f,m as u,p as b}from"./index-4348483d.js";import{w as x}from"./index-71440b21.js";import{loadLocaleContent as w}from"../../../../../../../../../js/libraries/serverTools.js";import{partners as j}from"../../../../../../../../../js/partners.js";import"../../../../../../../../../js/components/map-component.js";function y(t,e,n){const i=t.slice();return i[4]=e[n],i}function v(t){let e,n,o,r,a,m,l,x,w,v,z,D,E,O,R,T,A,C=t[0].heading+"",H=t[0].p1+"",L=t[0].subheading1+"",M=t[0].subheading2+"",N=j,S=[];for(let e=0;en(0,i=t))),w(r,"partners-component",o),l((()=>{})),[i,o,r]}class E extends t{constructor(t){super(),this.shadowRoot.innerHTML="",e(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},D,z,o,{},null),t&&t.target&&i(t.target,this,t.anchor)}}customElements.define("partners-component",E);export{E as default}; +import{g as t,S as e,i as n,a as i,b as o,s as r,e as a,n as s,d as m,c as l,o as c,f as g,t as p,h as d,j as h,k as f,m as u,p as b,q as x}from"./index-3cab5f92.js";import{w}from"./index-eafa799e.js";import{loadLocaleContent as j}from"../../../../../../js/libraries/serverTools.js";import{partners as y}from"../../../../../../js/partners.js";import"../../../../../../js/components/map-component.js";const{customElements:v}=t;function k(t,e,n){const i=t.slice();return i[4]=e[n],i}function z(t){let e,n,i,r,a,s,l,c,w,j,v,z,E,O,R,T,q,A=t[0].heading+"",C=t[0].p1+"",H=t[0].subheading1+"",L=t[0].subheading2+"",M=y,N=[];for(let e=0;en(0,i=t))),j(r,"partners-component",o),c((()=>{})),[i,o,r]}class R extends e{constructor(t){super(),this.shadowRoot.innerHTML="",n(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},O,E,r,{},null),t&&t.target&&o(t.target,this,t.anchor)}}v.define("partners-component",R);export{R as default}; diff --git a/Server/public/js/components/select-component.js b/Server/public/js/components/select-component.js index df38f5d..69d0a6b 100644 --- a/Server/public/js/components/select-component.js +++ b/Server/public/js/components/select-component.js @@ -1 +1 @@ -import{S as t,i as e,a as r,b as i,u as o,s as n,f as l,n as s,h as a,d,o as u,t as c,g as h,j as p,v as f,l as m,q as v,m as b,p as g,w}from"./index-4348483d.js";import{px2rem as y,getTextWidth as x,getCanvasFont as $}from"../../../../../../../../../js/libraries/miscTools.js";function k(t,e,r){const i=t.slice();return i[26]=e[r],i[27]=e,i[28]=r,i}function z(t){let e,r,o,n,s,a,u=t[26]+"",p=t[28];const f=()=>t[14](e,p),g=()=>t[14](null,p);function w(){return t[15](t[28])}return{c(){e=l("button"),r=l("span"),o=c(u),n=h(),e.value=t[28]},m(t,l){i(t,e,l),m(e,r),m(r,o),m(e,n),f(),s||(a=v(e,"click",w),s=!0)},p(e,r){t=e,4&r&&u!==(u=t[26]+"")&&b(o,u),p!==t[28]&&(g(),p=t[28],f())},d(t){t&&d(e),g(),s=!1,a()}}}function L(t){let e,r,o,n,s,u,w,y,x,$,L,j=(null!=t[0]?t[0]:"")+"",M=t[2],T=[];for(let e=0;ee==t));r(6,n.innerHTML=t,n),r(5,p[i].style.display="none",p),r(11,c=i)}r(8,f+=1)}}function b(t,e){null!=t&&null!=e&&e[t]!=d&&(r(0,d=e[t]),r(8,f+=1))}function g(){"none"==o.style.display?r(4,o.style.display="initial",o):r(4,o.style.display="none",o)}function k(t,e){r(11,c=t),r(0,d=a[t]),null!=e&&null!=e&&e(t)}function z(){r(4,o.style.display="none",o)}function L(t,e){let r;if(null!=t&&null!=e){let i=getComputedStyle(t).getPropertyValue("--width");if(isNaN(i)||""==i){if(null==m)return m=new ResizeObserver((()=>L(t,e))),void m.observe(l);i=getComputedStyle(l).getPropertyValue("width"),r=y(parseFloat(i.slice(0,i.length-2)))}else r=parseFloat(i.slice(0,i.length-2));let o=[];for(let t=0;tr){let t=1.1*n+"rem";e.style.width=t;for(let r=0;r{n=t,r(6,n)}))}function M(t){w[t?"unshift":"push"]((()=>{l=t,r(7,l)}))}function T(t,e){w[t?"unshift":"push"]((()=>{p[e]=t,r(5,p)}))}u((()=>{h.addEventListener("focusout",z)}));const E=t=>k(t,s);function H(t){w[t?"unshift":"push"]((()=>{o=t,r(4,o)}))}function R(t){w[t?"unshift":"push"]((()=>{i=t,r(3,i)}))}return t.$$set=t=>{"callback"in t&&r(1,s=t.callback),"options"in t&&r(2,a=t.options),"value"in t&&r(0,d=t.value),"valueindex"in t&&r(11,c=t.valueindex)},t.$$.update=()=>{5&t.$$.dirty&&v(d,a),2052&t.$$.dirty&&b(c,a),24&t.$$.dirty&&L(i,o)},[d,s,a,i,o,p,n,l,f,g,k,c,j,M,T,E,H,R]}class T extends t{constructor(t){super(),this.shadowRoot.innerHTML="",e(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},M,j,n,{callback:1,options:2,value:0,valueindex:11},null),t&&(t.target&&i(t.target,this,t.anchor),t.props&&(this.$set(t.props),o()))}static get observedAttributes(){return["callback","options","value","valueindex"]}get callback(){return this.$$.ctx[1]}set callback(t){this.$$set({callback:t}),o()}get options(){return this.$$.ctx[2]}set options(t){this.$$set({options:t}),o()}get value(){return this.$$.ctx[0]}set value(t){this.$$set({value:t}),o()}get valueindex(){return this.$$.ctx[11]}set valueindex(t){this.$$set({valueindex:t}),o()}}customElements.define("select-component",T);export{T as default}; +import{g as t,S as e,i as r,a as i,b as o,v as n,s,f as l,n as a,j as d,d as u,o as c,t as h,h as p,k as f,w as m,m as v,r as b,p as g,q as w,x as y}from"./index-3cab5f92.js";import{px2rem as x,getTextWidth as $,getCanvasFont as k}from"../../../../../../js/libraries/miscTools.js";const{customElements:z}=t;function L(t,e,r){const i=t.slice();return i[26]=e[r],i[27]=e,i[28]=r,i}function j(t){let e,r,i,n,s,a,d=t[26]+"",c=t[28];const f=()=>t[14](e,c),m=()=>t[14](null,c);function w(){return t[15](t[28])}return{c(){e=l("button"),r=l("span"),i=h(d),n=p(),e.value=t[28]},m(t,l){o(t,e,l),v(e,r),v(r,i),v(e,n),f(),s||(a=b(e,"click",w),s=!0)},p(e,r){t=e,4&r&&d!==(d=t[26]+"")&&g(i,d),c!==t[28]&&(m(),c=t[28],f())},d(t){t&&u(e),m(),s=!1,a()}}}function M(t){let e,r,i,n,s,a,c,y,x,$,k,z=(null!=t[0]?t[0]:"")+"",M=t[2],T=[];for(let e=0;ee==t));r(6,n.innerHTML=t,n),r(5,p[i].style.display="none",p),r(11,u=i)}r(8,f+=1)}}function b(t,e){null!=t&&null!=e&&e[t]!=d&&(r(0,d=e[t]),r(8,f+=1))}function g(){"none"==o.style.display?r(4,o.style.display="initial",o):r(4,o.style.display="none",o)}function w(t,e){r(11,u=t),r(0,d=a[t]),null!=e&&null!=e&&e(t)}function z(){r(4,o.style.display="none",o)}function L(t,e){let r;if(null!=t&&null!=e){let i=getComputedStyle(t).getPropertyValue("--width");if(isNaN(i)||""==i){if(null==m)return m=new ResizeObserver((()=>L(t,e))),void m.observe(s);i=getComputedStyle(s).getPropertyValue("width"),r=x(parseFloat(i.slice(0,i.length-2)))}else r=parseFloat(i.slice(0,i.length-2));let o=[];for(let t=0;tr){let t=1.1*n+"rem";e.style.width=t;for(let r=0;r{n=t,r(6,n)}))}function M(t){y[t?"unshift":"push"]((()=>{s=t,r(7,s)}))}function T(t,e){y[t?"unshift":"push"]((()=>{p[e]=t,r(5,p)}))}c((()=>{h.addEventListener("focusout",z)}));const E=t=>w(t,l);function H(t){y[t?"unshift":"push"]((()=>{o=t,r(4,o)}))}function R(t){y[t?"unshift":"push"]((()=>{i=t,r(3,i)}))}return t.$$set=t=>{"callback"in t&&r(1,l=t.callback),"options"in t&&r(2,a=t.options),"value"in t&&r(0,d=t.value),"valueindex"in t&&r(11,u=t.valueindex)},t.$$.update=()=>{5&t.$$.dirty&&v(d,a),2052&t.$$.dirty&&b(u,a),24&t.$$.dirty&&L(i,o)},[d,l,a,i,o,p,n,s,f,g,w,u,j,M,T,E,H,R]}class H extends e{constructor(t){super(),this.shadowRoot.innerHTML="",r(this,{target:this.shadowRoot,props:i(this.attributes),customElement:!0},E,T,s,{callback:1,options:2,value:0,valueindex:11},null),t&&(t.target&&o(t.target,this,t.anchor),t.props&&(this.$set(t.props),n()))}static get observedAttributes(){return["callback","options","value","valueindex"]}get callback(){return this.$$.ctx[1]}set callback(t){this.$$set({callback:t}),n()}get options(){return this.$$.ctx[2]}set options(t){this.$$set({options:t}),n()}get value(){return this.$$.ctx[0]}set value(t){this.$$set({value:t}),n()}get valueindex(){return this.$$.ctx[11]}set valueindex(t){this.$$set({valueindex:t}),n()}}z.define("select-component",H);export{H as default}; diff --git a/Server/public/js/components/switch-component.js b/Server/public/js/components/switch-component.js index bd960dc..20e90fa 100644 --- a/Server/public/js/components/switch-component.js +++ b/Server/public/js/components/switch-component.js @@ -1 +1 @@ -import{S as t,i as e,a as s,b as c,u as i,s as a,f as r,g as o,n as h,h as n,l,q as d,d as u,r as p,o as b}from"./index-4348483d.js";import"../../../../../../../../../js/libraries/miscTools.js";function k(t){let e,s,i,a,b,k;return{c(){e=r("label"),s=r("input"),i=o(),a=r("span"),this.c=h,n(s,"type","checkbox"),n(a,"class","switch-span"),n(e,"class","switch")},m(r,o){c(r,e,o),l(e,s),s.checked=t[0],l(e,i),l(e,a),b||(k=[d(s,"change",t[4]),d(s,"click",t[1])],b=!0)},p(t,[e]){1&e&&(s.checked=t[0])},i:h,o:h,d(t){t&&u(e),b=!1,p(k)}}}function g(t,e,s){let{callback:c=null}=e,{checked:i=!1}=e;const a=()=>{setTimeout((()=>{null!=c?(s(0,i=!i),c()):a()}),100)};return b((()=>{})),t.$$set=t=>{"callback"in t&&s(2,c=t.callback),"checked"in t&&s(0,i=t.checked)},[i,function(){null!=c&&(s(0,i=!i),c())},c,a,function(){i=this.checked,s(0,i)}]}class m extends t{constructor(t){super(),this.shadowRoot.innerHTML="",e(this,{target:this.shadowRoot,props:s(this.attributes),customElement:!0},g,k,a,{callback:2,checked:0,toggle:3},null),t&&(t.target&&c(t.target,this,t.anchor),t.props&&(this.$set(t.props),i()))}static get observedAttributes(){return["callback","checked","toggle"]}get callback(){return this.$$.ctx[2]}set callback(t){this.$$set({callback:t}),i()}get checked(){return this.$$.ctx[0]}set checked(t){this.$$set({checked:t}),i()}get toggle(){return this.$$.ctx[3]}}customElements.define("switch-component",m);export{m as default}; +import{g as t,S as s,i as e,a as c,b as a,v as i,s as r,f as o,h,n,j as l,m as d,r as u,d as p,u as b,o as k}from"./index-3cab5f92.js";import"../../../../../../js/libraries/miscTools.js";const{customElements:g}=t;function m(t){let s,e,c,i,r,k;return{c(){s=o("label"),e=o("input"),c=h(),i=o("span"),this.c=n,l(e,"type","checkbox"),l(i,"class","switch-span"),l(s,"class","switch")},m(o,h){a(o,s,h),d(s,e),e.checked=t[0],d(s,c),d(s,i),r||(k=[u(e,"change",t[4]),u(e,"click",t[1])],r=!0)},p(t,[s]){1&s&&(e.checked=t[0])},i:n,o:n,d(t){t&&p(s),r=!1,b(k)}}}function w(t,s,e){let{callback:c=null}=s,{checked:a=!1}=s;const i=()=>{setTimeout((()=>{null!=c?(e(0,a=!a),c()):i()}),100)};return k((()=>{})),t.$$set=t=>{"callback"in t&&e(2,c=t.callback),"checked"in t&&e(0,a=t.checked)},[a,function(){null!=c&&(e(0,a=!a),c())},c,i,function(){a=this.checked,e(0,a)}]}class v extends s{constructor(t){super(),this.shadowRoot.innerHTML="",e(this,{target:this.shadowRoot,props:c(this.attributes),customElement:!0},w,m,r,{callback:2,checked:0,toggle:3},null),t&&(t.target&&a(t.target,this,t.anchor),t.props&&(this.$set(t.props),i()))}static get observedAttributes(){return["callback","checked","toggle"]}get callback(){return this.$$.ctx[2]}set callback(t){this.$$set({callback:t}),i()}get checked(){return this.$$.ctx[0]}set checked(t){this.$$set({checked:t}),i()}get toggle(){return this.$$.ctx[3]}}g.define("switch-component",v);export{v as default}; diff --git a/Server/public/js/libraries/serverTools.js b/Server/public/js/libraries/serverTools.js index 9977c48..660e22a 100644 --- a/Server/public/js/libraries/serverTools.js +++ b/Server/public/js/libraries/serverTools.js @@ -68,7 +68,8 @@ function onlyUnique(value, index, array) { export let locales = { en: "English", - ru: "Русский" + ru: "Русский", + lv: "Latviešu" } export function loadLocaleContent(content,componentName,loaded,callback) { diff --git a/Server/public/locales/lv/communities-component.json b/Server/public/locales/lv/communities-component.json new file mode 100644 index 0000000..8d74f05 --- /dev/null +++ b/Server/public/locales/lv/communities-component.json @@ -0,0 +1,10 @@ +{ + "heading": "Komūnas", + "p1": "Mēs veidojam komūnas, balstoties uz libertāra sociālisma principiem, pērkam zemi, mājokļus un ražošanas līdzekļus, kas piederēs komūnas locekļiem. Privātīpašuma koncepts, pats par sevi kalpojot par iemeslu ciešanām un ekspluatācijai, neeksistē komūnās, kas, savukārt, ļauj izvairīties no iepriekš minētam problēmam. Visi lēmumi tiek pieņemti tiešās demokrātijas veidā ar mērķi sasniegt konsensusu, garantējot, ka katram sabiedrības loceklim ir tiesības pieņemt globalus lēmumus, kas ietekmēs tieši viņa dzīvi.", + "subheading1": "Mūsu komūnas", + "subheading2": "Eiropa", + "location": "Lokācija", + "status": "Statuss", + "members": "Locekļi", + "contact": "Kontaktinformācija" +} \ No newline at end of file diff --git a/Server/public/locales/lv/compass-component.json b/Server/public/locales/lv/compass-component.json new file mode 100644 index 0000000..3c1d532 --- /dev/null +++ b/Server/public/locales/lv/compass-component.json @@ -0,0 +1,3 @@ +{ + "heading": "Politiskais kompass" +} \ No newline at end of file diff --git a/Server/public/locales/lv/cooperatives-component.json b/Server/public/locales/lv/cooperatives-component.json new file mode 100644 index 0000000..c6b72bb --- /dev/null +++ b/Server/public/locales/lv/cooperatives-component.json @@ -0,0 +1,15 @@ +{ + "heading": "Kooperatīvi", + "p1": "Mēs veidojam darbinieku kooperatīvus - biznesa modelis, kurā uzņemums pilnīgi pieder darbiniekiem. Katram kooperatīva loceklim ir balsošanas un lēmumu pieņemšanas tiesības, un peļņa tiek sadalīta balstoties uz katra kooperatīva locekļa individuālo ieguldījumu. Tāda struktūra pozitīvi ietekmē katra darbinieka motivāciju un gandarījumu, ko sagādā darbs, uzlabo darba apstākļus, kā arī noverš bagātības koncentrāciju tradicionālos kapitalistiskos uzņemumos.", + "p2": "Akcentējot uzmanību uz darbinieku vajadzībam, mūsu kooperatīvi veido labvēlīgu un stabilu darba vidi, palielinot sociālo saliedētību un garantējot nodarbinātību. Priekš mūms vietējo biedrību intereses spēlē primāro lomu. Pieņemot lēmumus mēs cenšamies izvairīties no kaitīgam īslaicīgām stratēģijam, kuru vienīgais mērķis ir iegūt lielāko peļņu. Mēs reinvestējam kooperatīva ienākumus, kas veicina mūsu sabiedrības kopīgo attistību.", + "subheading1": "Mūsu kooperatīvi", + "subheading2": "Eiropa", + "name": "Nosaukums", + "location": "Lokācija", + "market": "Tirgus", + "status": "Statuss", + "workers": "Darbinieki", + "contact": "Kontaktinformācija", + "description": "Apraksts", + "website": "Tīmekļa vietne" +} \ No newline at end of file diff --git a/Server/public/locales/lv/footer-component.json b/Server/public/locales/lv/footer-component.json new file mode 100644 index 0000000..e02ebd5 --- /dev/null +++ b/Server/public/locales/lv/footer-component.json @@ -0,0 +1,5 @@ +{ + "contactUs": "Sazinies ar mums", + "inviteLink": "saite", + "libertarianSocialists": "Libertārie Sociālisti" +} \ No newline at end of file diff --git a/Server/public/locales/lv/groups-component.json b/Server/public/locales/lv/groups-component.json new file mode 100644 index 0000000..b676ec2 --- /dev/null +++ b/Server/public/locales/lv/groups-component.json @@ -0,0 +1,10 @@ +{ + "heading": "Grupas", + "p1": "Mēs cenšamies informēt sabiedrību par mūsdienīgo politisku un ekonomisku sistēmu negatīvo ietekmi katrā cilvēkā labklājībai. Uzskatot šo problēmu par prioritāro, mēs dodam cilvēkiem iespēju apšaubīt 'status quo' un iedomāties par godīgākiem un stabilākiem alternatīvam.", + "p2": "Tomēr, mūsu misija nav tikai teoritiska. Мēs kollektīvi palīdzam risināt aktuālas problēmas un atbalstam viens otru, daloties ar resursiem, zināšanam un iemaņam. Mūsu mērķis ir izveidot pretestības perēkļus un alternatīvas iekšā sistēmā, un padarīt dzīvi kapitalismā ciešamāku.", + "subheading1": "Mūsu grupas", + "subheading2": "Eiropa", + "location": "Lokācija", + "members": "Locekļi", + "contact": "Kontaktinformācija" +} \ No newline at end of file diff --git a/Server/public/locales/lv/join-us-component.json b/Server/public/locales/lv/join-us-component.json new file mode 100644 index 0000000..6b42660 --- /dev/null +++ b/Server/public/locales/lv/join-us-component.json @@ -0,0 +1,33 @@ +{ + "heading": "Pievienojies", + "condition1": "Vai tu esi pret diktatūru un par demokrātiju?", + "condition2": "Vai tu esi pret cilvēku ekspluatāciju?", + "condition3": "Vai tu piekrīti, ka mums jāsadarbojas savā starpā, nevis jākonkurē viens ar otru?", + "conditionsOutcome": "Ja tava atbilde ir , tad tu jau esi libertārais sociālists. Pievienojies!", + "subheading1": "Ko tu iegūsi", + "valueProposition1": "Biedrību, kura ir vienmēr gatava palīdzēt tev;", + "valueProposition2": "Piekļuvi mūsu kooperatīvu ražošanas līdzekļiem;", + "valueProposition3": "Produktus un pakalpojumus par ražošanas maksu vai bezmaksas", + "valueProposition4": "Finanšu vai cita veida palidzība", + "valueProposition5": "un daudz kas cits!", + "subheading2": "Atrodi mūs", + "findOur": "Atrodi mūsu", + "group": "grupu", + "community": "komūnu", + "or": "", + "cooperative": "kooperatīvu", + "nearYou": "sev tuvumā un pievienojies, lai padarīt pasauli, par kuru mēs visi sapņojam par realitāti.", + "noneNear": "Nevari atrast nevienu grupu/kooperatīvu/komūnu tuvumā ? Tā nav problēma! Pievienojies mūsu", + "WhatsAppGroup": "WhatsApp grupai", + "DiscordServer": "Discord serveram", + "helpStart": " un mēs palīdzēsim tev izveidot.", + "location": "Lokācija", + "members": "Locekļi", + "contact": "Kontaktinformācija", + "status": "Statuss", + "name": "Nosaukums", + "market": "Tirgus", + "workers": "Darbinieki", + "description": "Apraksts", + "website": "Tīmekļa vietne" +} \ No newline at end of file diff --git a/Server/public/locales/lv/landing-component.json b/Server/public/locales/lv/landing-component.json new file mode 100644 index 0000000..8326f8a --- /dev/null +++ b/Server/public/locales/lv/landing-component.json @@ -0,0 +1,9 @@ +{ + "top": "Mēs esam cilvēki, apvienoti ar kopīgo mērķi: autoritāro un ekspluatātorisko kapitalistisko sistēmu gāšana, nomainot tās uz libertāri sociālistiskajām sistēmām, veidojot godīgu un demokrātisku pasauli.", + "groupsTitle": "Grupas", + "groupsText": "Mēs organizējam grupas izglītibas, interešu aizsardzības un savstarpējas palīdzības mērķos. Mēs tiecamies demonstrēt cilvēkiem, kā mūsdienīgas politiko - ekonomiskas sistēmas ietekmē indivīdu, piedāvāt alternatīvu un palīdzēt viens otram, lai padarītu dzīvi kapitalismā vieglāku.", + "communitiesTitle": "Komūnas", + "communitiesText": "Mēs veidojam komūnas, balstoties uz libertāra sociālisma principiem, kur lēmumi tiek pieņemti tiešā demokrātiskā veidā, kur zeme, mājokļi un ražošanas līdzekļi pieder komūnas locekļiem. Ar katru jauno komūnu mēs pakāpeniski attīstam mūsu kopīgo socialistīsko pasauli.", + "cooperativesTitle": "Kooperatīvi", + "cooperativesText": "Mēs veidojam darbinieku kooperatīvus, lai finansētu mūsu komūnu un grupu operācijas. Saprotot, ka ekonomiskā vara ietekmē politisko varu, mēs uzskatām kooperatīvu dibināšanu par pirmo soli ceļā uz sociālismu." +} \ No newline at end of file diff --git a/Server/public/locales/lv/manifesto-component.json b/Server/public/locales/lv/manifesto-component.json new file mode 100644 index 0000000..e9e078e --- /dev/null +++ b/Server/public/locales/lv/manifesto-component.json @@ -0,0 +1,3 @@ +{ + "tableOfContents": "ОГЛАВЛЕНИЕ" +} \ No newline at end of file diff --git a/Server/public/locales/lv/navbar-component.json b/Server/public/locales/lv/navbar-component.json new file mode 100644 index 0000000..7045227 --- /dev/null +++ b/Server/public/locales/lv/navbar-component.json @@ -0,0 +1,9 @@ +{ + "orgName": "Libertārie sociālisti", + "manifesto": "Manifests", + "joinUs": "Pievienojies", + "groups": "Grupas", + "communities": "Komūnas", + "cooperatives": "Kooperatīvi", + "partners": "Atbalstītaji" +} \ No newline at end of file diff --git a/Server/public/locales/lv/partners-component.json b/Server/public/locales/lv/partners-component.json new file mode 100644 index 0000000..2bb444e --- /dev/null +++ b/Server/public/locales/lv/partners-component.json @@ -0,0 +1,11 @@ +{ + "heading": "Atbalstītaji", + "p1": "Mēs strādājam kopā ar organizācijam un iniciatīvam, kuru misija sakrīt ar mūsējo. Kopā mēs esam spēks, kustams ar pasaules uzskatu, kas noliedz autoritāras ekspluatātoriskas sistēmas, bet kurā uzplaukst sabiedrības balstītas uz demokrātiju un godīgumu.", + "subheading1": "Mūsu atbalstītaji", + "subheading2": "Onlainā", + "name": "Nosaukums", + "location": "Lokācija", + "type": "Tips", + "link": "Saite", + "description": "Apraksts" +} \ No newline at end of file