site-libsoc/Server/public/js/components/join-us-component.js

2 lines
8.6 KiB
JavaScript
Raw Normal View History

2023-08-17 16:01:26 +07:00
import{S as o,i as t,a as i,b as e,s as r,e as n,n as s,d as a,c as m,o as l,h as p,t as c,j as u,w as g,k as d,x as h,l as f,y as b}from"./index-0d9f0c09.js";import{w as v}from"./index-1c123138.js";import{loadLocaleContent as k,getData as w}from"../../../../../../../../../js/libraries/serverTools.js";import{addMarkersEntries as j}from"../../../../../../../../../js/libraries/mapTools.js";import{addGroupPinContent as y,addPartyPinContent as x,addCoopPinContent as U,addCommunePinContent as P}from"../../../../../../../../../js/mapFuncs.js";import"../../../../../../../../../js/components/map-component.js";function T(o){let t,i,r,n,s,m,l,v,k,w,j,y,x,U,P,T,A,N,S,z,C,D,O,H,L,F,G,K,M,B,E,J,Q,R,W,Y,_,q,I,V,X,Z,$,oo,to,io,eo,ro,no,so,ao,mo,lo,po,co,uo,go,ho,fo,bo,vo,ko,wo,jo,yo,xo,Uo,Po,To,Ao,No,So,zo,Co,Do,Oo,Ho,Lo,Fo,Go,Ko,Mo,Bo,Eo,Jo,Qo,Ro,Wo,Yo,_o,qo=o[1].heading+"",Io=o[1].condition1+"",Vo=o[1].condition2+"",Xo=o[1].condition3+"",Zo=o[1].conditionsOutcome+"",$o=o[1].subheading1+"",ot=o[1].valueProposition1+"",tt=o[1].valueProposition2+"",it=o[1].valueProposition3+"",et=o[1].valueProposition4+"",rt=o[1].valueProposition5+"",nt=o[1].subheading2+"",st=o[1].findOur+"",at=o[1].group+"",mt=o[1].party+"",lt=o[1].tradeUnion+"",pt=o[1].cooperative+"",ct=o[1].or+"",ut=o[1].commune+"",gt=o[1].nearYou+"",dt=o[1].noneNear+"",ht=o[1].DiscordServer+"",ft=o[1].or+"",bt=o[1].WhatsAppGroup+"",vt=o[1].helpStart+"",kt=o[1]["map-prompt"]+"";return{c(){t=p("div"),i=p("div"),r=p("h1"),n=c(qo),s=u(),m=p("img"),v=u(),k=p("ol"),w=p("li"),j=c(Io),y=u(),x=p("li"),U=c(Vo),P=u(),T=p("li"),A=c(Xo),N=u(),S=p("p"),z=u(),C=p("h2"),D=c($o),O=u(),H=p("ol"),L=p("li"),F=c(ot),G=u(),K=p("li"),M=c(tt),B=u(),E=p("li"),J=c(it),Q=u(),R=p("li"),W=c(et),Y=u(),_=p("p"),q=c(rt),I=u(),V=p("h2"),X=c(nt),Z=u(),$=p("div"),oo=p("p"),to=c(st),io=u(),eo=p("ol"),ro=p("li"),no=p("a"),so=c(at),ao=c(","),mo=u(),lo=p("li"),po=p("a"),co=c(mt),uo=u(),go=p("li"),ho=p("a"),fo=c(lt),bo=u(),vo=p("li"),ko=p("a"),wo=c(pt),jo=u(),yo=c(ct),xo=u(),Uo=p("li"),Po=p("a"),To=c(ut),Ao=u(),No=p("p"),So=c(gt),zo=u(),Co=p("p"),Do=c(dt),Oo=u(),Ho=p("a"),Lo=c(ht),Fo=u(),Go=c(ft),Ko=u(),Mo=p("a"),Bo=c(bt),Eo=c(vt),Jo=u(),Qo=p("map-component"),Wo=u(),Yo=p("p"),_o=c(kt),g(m.src,l="/img/common/join-group.svg")||d(m,"src","/img/common/join-group.svg"),d(m,"id","join-group"),d(m,"alt","join group"),d(k,"id","condition-list"),d(H,"id","value-proposition-list"),d(no,"href","/"+o[4]+"/groups"),d(po,"href","/"+o[4]+"/parties"),d(ho,"href","/"+o[4]+"/trade-unions"),d(ko,"href","/"+o[4]+"/cooperatives"),d(Po,"href","/"+o[4]+"/communes"),d(eo,"id","entities-list"),d($,"id","call-to-action-list"),d(Ho,"href","https://discord.gg/Qk8KUk787z"),d(Ho,"target","_blank"),d(Ho,"rel","noreferrer"),d(Mo,"href","https://chat.whatsapp.com/BhnmUNljUxJ2AjeHUwyTKh"),d(Mo,"target","_blank"),d(Mo,"rel","noreferrer"),h(Qo,"id","map"),h(Qo,"callback",Ro=o[6]),h(Qo,"colors",["#23AC20","#CA2437","#217BC9","#FFD326"]),d(Yo,"id","add-prompt"),d(i,"id","text-container"),d(t,"id","container")},m(o,a){e(o,t,a),f(t,i),f(i,r),f(r,n),f(i,s),f(i,m),f(i,v),f(i,k),f(k,w),f(w,j),f(k,y),f(k,x),f(x,U),f(k,P),f(k,T),f(T,A),f(k,N),f(k,S),S.innerHTML=Zo,f(i,z),f(i,C),f(C,D),f(i,O),f(i,H),f(H,L),f(L,F),f(H,G),f(H,K),f(K,M),f(H,B),f(H,E),f(E,J),f(H,Q),f(H,R),f(R,W),f(H,Y),f(H,_),f(_,q),f(i,I),f(i,V),f(V,X),f(i,Z),f(i,$),f($,oo),f(oo,to),f($,io),f($,eo),f(eo,ro),f(ro,no),f(no,so),f(ro,ao),f(eo,mo),f(eo,lo),f(lo,po),f(po,co),f(eo,uo),f(eo,go),f(go,ho),f(ho,fo),f(eo,bo),f(eo,vo),f(vo,ko),f(ko,wo),f(vo,jo),f(vo,yo),f(eo,xo),f(eo,Uo),f(Uo,Po),f(Po,To),f($,Ao),f($,No),f(No,So),f(i,zo),f(i,Co),f(Co,Do),f(Co,Oo),f(Co,Ho),f(Ho,Lo),f(Co,Fo),f(Co,Go),f(Co,Ko),f(Co,Mo),f(Mo,Bo),f(Co,Eo),f(i,Jo),f(i,Qo),f(i,Wo),f(i,Yo),f(Yo,_o)},p(o,t){2&t&&qo!==(qo=o[1].heading+"")&&b(n,qo),2&t&&Io!==(Io=o[1].condition1+"")&&b(j,Io),2&t&&Vo!==(Vo=o[1].condition2+"")&&b(U,Vo),2&t&&Xo!==(Xo=o[1].condition3+"")&&b(A,Xo),2&t&&Zo!==(Zo=o[1].conditionsOutcome+"")&&(S.innerHTML=Zo),2&t&&$o!==($o=o[1].subheading1+"")&&b(D,$o),2&t&&ot!==(ot=o[1].valueProposition1+"")&&b(F,ot),2&t&&tt!==(tt=o[1