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

2 lines
8.7 KiB
JavaScript
Raw Normal View History

2023-10-09 19:38:04 +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,Io,Vo=o[1].heading+"",Xo=o[1].condition1+"",Zo=o[1].condition2+"",$o=o[1].condition3+"",ot=o[1].conditionsOutcome+"",tt=o[1].subheading1+"",it=o[1].valueProposition1+"",et=o[1].valueProposition2+"",rt=o[1].valueProposition3+"",nt=o[1].valueProposition4+"",st=o[1].valueProposition5+"",at=o[1].subheading2+"",mt=o[1].findOur+"",lt=o[1].group+"",pt=o[1].party+"",ct=o[1].tradeUnion+"",ut=o[1].cooperative+"",gt=o[1].or+"",dt=o[1].commune+"",ht=o[1].nearYou+"",ft=o[1].noneNear+"",bt=o[1].DiscordServer+"",vt=o[1].or+"",kt=o[1].WhatsAppGroup+"",wt=o[1].helpStart+"",jt=o[1]["map-prompt"]+"";return{c(){t=p("div"),i=p("div"),r=p("h1"),n=c(Vo),s=u(),m=p("img"),v=u(),k=p("ol"),w=p("li"),j=c(Xo),y=u(),x=p("li"),U=c(Zo),P=u(),T=p("li"),A=c($o),N=u(),S=p("p"),z=u(),C=p("h2"),D=c(tt),O=u(),H=p("ol"),L=p("li"),F=c(it),G=u(),K=p("li"),M=c(et),B=u(),E=p("li"),J=c(rt),Q=u(),R=p("li"),W=c(nt),Y=u(),_=p("p"),q=c(st),I=u(),V=p("h2"),X=c(at),Z=u(),$=p("div"),oo=p("p"),to=c(mt),io=u(),eo=p("ol"),ro=p("li"),no=p("a"),so=c(lt),ao=c(","),mo=u(),lo=p("li"),po=p("a"),co=c(pt),uo=c(","),go=u(),ho=p("li"),fo=p("a"),bo=c(ct),vo=c(","),ko=u(),wo=p("li"),jo=p("a"),yo=c(ut),xo=u(),Uo=c(gt),Po=u(),To=p("li"),Ao=p("a"),No=c(dt),So=u(),zo=p("p"),Co=c(ht),Do=u(),Oo=p("p"),Ho=c(ft),Lo=u(),Fo=p("a"),Go=c(bt),Ko=u(),Mo=c(vt),Bo=u(),Eo=p("a"),Jo=c(kt),Qo=c(wt),Ro=u(),Wo=p("map-component"),_o=u(),qo=p("p"),Io=c(jt),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(fo,"href","/"+o[4]+"/trade-unions"),d(jo,"href","/"+o[4]+"/cooperatives"),d(Ao,"href","/"+o[4]+"/communes"),d(eo,"id","entities-list"),d($,"id","call-to-action-list"),d(Fo,"href","https://discord.gg/Qk8KUk787z"),d(Fo,"target","_blank"),d(Fo,"rel","noreferrer"),d(Eo,"href","https://chat.whatsapp.com/BhnmUNljUxJ2AjeHUwyTKh"),d(Eo,"target","_blank"),d(Eo,"rel","noreferrer"),h(Wo,"id","map"),h(Wo,"callback",Yo=o[6]),h(Wo,"colors",["#23AC20","#CA2437","#217BC9","#FFD326"]),d(qo,"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=ot,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(lo,uo),f(eo,go),f(eo,ho),f(ho,fo),f(fo,bo),f(ho,vo),f(eo,ko),f(eo,wo),f(wo,jo),f(jo,yo),f(wo,xo),f(wo,Uo),f(eo,Po),f(eo,To),f(To,Ao),f(Ao,No),f($,So),f($,zo),f(zo,Co),f(i,Do),f(i,Oo),f(Oo,Ho),f(Oo,Lo),f(Oo,Fo),f(Fo,Go),f(Oo,Ko),f(Oo,Mo),f(Oo,Bo),f(Oo,Eo),f(Eo,Jo),f(Oo,Qo),f(i,Ro),f(i,Wo),f(i,_o),f(i,qo),f(qo,Io)},p(o,t){2&t&&Vo!==(Vo=o[1].heading+"")&&b(n,Vo),2&t&&Xo!==(Xo=o[1].condition1+"")&&b(j,Xo),2&t&&Zo!==(Zo=o[1].condition2+"")&&b(U,Zo),2&t&&$o!==($o=o[1].condition3+"")&&b(A,$o),2&t&&ot!==(ot=o[1].conditionsOutcome+"")&&(S.innerHTML=ot),2&t&&tt!==(tt=o[1].subheading1+"")&&b(D,tt),2&t&&it!==(it=o[1].valu