From c08d12b34e9839932f32ad946e06b27a2cfb2193 Mon Sep 17 00:00:00 2001
From: stevan
Date: Wed, 1 Oct 2025 19:01:33 +0200
Subject: [PATCH 1/2] Fix hungary countries and remove Lorem text
---
app/Nova/Country.php | 2 ++
app/Providers/AppServiceProvider.php | 1 +
resources/views/certificates.blade.php | 2 +-
resources/views/event/my.blade.php | 2 +-
4 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/app/Nova/Country.php b/app/Nova/Country.php
index 256628e82..bab50023f 100644
--- a/app/Nova/Country.php
+++ b/app/Nova/Country.php
@@ -30,6 +30,7 @@ class Country extends Resource
* @var array
*/
public static $search = [
+ 'name', 'iso',
];
//public static $displayInNavigation = false;
@@ -41,6 +42,7 @@ public function fields(Request $request): array
{
return [
Text::make('Name')->sortable(),
+ Text::make('Iso')->sortable(),
Text::make('Facebook')
->rules('nullable', 'url')
->sortable(),
diff --git a/app/Providers/AppServiceProvider.php b/app/Providers/AppServiceProvider.php
index 1621b5b23..6f6714ead 100644
--- a/app/Providers/AppServiceProvider.php
+++ b/app/Providers/AppServiceProvider.php
@@ -93,6 +93,7 @@ function ($view) {
'RO',
'MD',
'DK',
+ 'HU',
];
$activeCountries = \App\Country::query()
diff --git a/resources/views/certificates.blade.php b/resources/views/certificates.blade.php
index 401aea9c2..8326088e6 100644
--- a/resources/views/certificates.blade.php
+++ b/resources/views/certificates.blade.php
@@ -20,7 +20,7 @@
@lang('certificates.certificates_for'){{ Auth::user()->fullName }}
- Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero.
+
diff --git a/resources/views/event/my.blade.php b/resources/views/event/my.blade.php
index c83471416..e6da9db67 100755
--- a/resources/views/event/my.blade.php
+++ b/resources/views/event/my.blade.php
@@ -21,7 +21,7 @@
@lang('myevents.created_by') {{ Auth::user()->fullName }}
- Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero.
+
`,re=L.popup({maxWidth:600}).setContent(q);Y.target.bindPopup(re).openPopup()}catch(Ae){console.error("Can NOT load event",Ae)}};const te=()=>{if(c.value)try{h.value&&(c.value.removeLayer(h.value),h.value=null);const Y=L.markerClusterGroup(),me=[];Object.values(p.value).forEach(Ae=>{me.push(...Ae)}),console.group("Started add markers",me.length),me.map(({id:Ae,geoposition:Pe},q)=>{q%1e4===0&&console.log("Adding markers",q);const re=Pe.split(","),O=parseFloat(re[0]),ne=parseFloat(re[1]);if(O&&ne){const _e=L.marker([O,ne],{id:Ae});_e.on("click",fe),Y.addLayer(_e)}}),console.log("Done add markers",me.length),console.groupEnd(),h.value=Y,c.value.addLayer(Y)}catch(Y){console.log("Add marker error",Y)}},N=()=>{navigator.geolocation&&navigator.geolocation.getCurrentPosition(Y=>{const{latitude:me,longitude:Ae}=Y.coords,Pe=L.icon({iconUrl:"/images/marker-orange.svg",iconSize:[33,41],iconAnchor:[22,62],popupAnchor:[0,-60]});L.marker([me,Ae],{icon:Pe}).addTo(c.value)},Y=>{console.error("Geolocation error:",Y)})},J=()=>{c.value=L.map("mapid"),c.value.setView([51,10],5),L.tileLayer(e.mapTileUrl,{maxZoom:18,attribution:'© Mapbox ',tileSize:512,zoomOffset:-1,zoomControl:!1}).addTo(c.value)},D=Y=>{const me=u.value;if(!me)return;const Ae="fixed left-0 top-[139px] md:top-[123px] z-[110] h-[calc(100dvh-139px)] md:h-[calc(100dvh-123px)]";Y?me.classList.add(...Ae.split(" ")):me.classList.remove(...Ae.split(" "))};return Ft(()=>{setTimeout(()=>{E(),F()},100),setTimeout(()=>{J(),ie(),te(),N()},2e3)}),{mapContainerRef:u,yearOptions:A,languageOptions:H,activityFormatOptions:t,activityTypeOptions:n,ageOptions:r,filters:_,countriesOptions:V,removeSelectedItem:U,removeAllSelectedItems:$,isLoading:o,events:f,errors:m,tags:B,pagination:b,scrollToTop:M,paginate:S,onSubmit:F,limit:ee,handleToggleMapFullScreen:D}}},VU={ref:"mapContainerRef",class:"w-full h-[520px] top-0 left-0"},FU={id:"mapid",class:"w-full h-full relative"},$U={style:{"z-index":"999"},id:"map-controls",class:"absolute z-50 flex flex-col top-4 left-2"},BU={class:"codeweek-searchpage-component font-['Blinker']"},HU={class:"codeweek-container py-10"},UU={class:"flex w-full"},jU={class:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 items-end gap-4 w-full"},qU={key:0,class:"flex md:justify-center mt-10"},WU={class:"max-md:w-full flex flex-wrap gap-2"},YU={class:"flex items-center gap-2"},zU=["onClick"],KU={class:"max-md:w-full max-md:mt-4 flex justify-center px-4"},GU={class:"relative pt-20 md:pt-48"},JU={class:"bg-yellow-50 pb-24"},ZU={class:"relative z-10 codeweek-container-lg"},XU={class:"flex flex-col md:flex-row gap-10"},QU={class:"flex-shrink-0 grid grid-cols-2 md:grid-cols-1 gap-6 bg-[#FFEF99] px-4 py-6 rounded-2xl self-start w-full md:w-60"},e7={class:"relative w-full flex px-3 justify-between items-center text-gray-700 whitespace-nowrap rounded-3xl border-2 border-dark-blue-200 h-[50px] bg-white"},t7={class:"flex items-center justify-center w-full"},n7={key:0,class:"grid grid-cols-1 md:grid-cols-2 xl:grid-cols-3 gap-6 lg:gap-10 h-fit"},r7={key:0,class:"col-span-full"};function s7(e,t,n,r,s,a){const o=at("InputField"),u=at("FieldWrapper"),c=at("SelectField"),h=at("date-time"),f=at("event-card"),p=at("pagination");return k(),P(Ve,null,[g("section",null,[g("div",VU,[g("div",FU,[g("div",$U,[g("button",{class:"pb-2 group",onClick:t[0]||(t[0]=m=>r.handleToggleMapFullScreen(!0))},t[20]||(t[20]=[g("svg",{width:"40",height:"40",viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[g("rect",{width:"40",height:"40",rx:"8",class:"fill-white transition-colors duration-300 group-hover:fill-[#1C4DA1]"}),g("path",{class:"stroke-[#414141] group-hover:stroke-[#ffffff]",d:"M16 11H13C12.4696 11 11.9609 11.2107 11.5858 11.5858C11.2107 11.9609 11 12.4696 11 13V16M29 16V13C29 12.4696 28.7893 11.9609 28.4142 11.5858C28.0391 11.2107 27.5304 11 27 11H24M24 29H27C27.5304 29 28.0391 28.7893 28.4142 28.4142C28.7893 28.0391 29 27.5304 29 27V24M11 24V27C11 27.5304 11.2107 28.0391 11.5858 28.4142C11.9609 28.7893 12.4696 29 13 29H16","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"})],-1)])),g("button",{class:"pb-2 group",onClick:t[1]||(t[1]=m=>r.handleToggleMapFullScreen(!1))},t[21]||(t[21]=[g("svg",{width:"40",height:"40",viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[g("rect",{width:"40",height:"40",rx:"8",class:"fill-white transition-colors duration-300 group-hover:fill-[#1C4DA1]"}),g("path",{d:"M13 20H27",class:"stroke-[#414141] group-hover:stroke-[#ffffff]","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"})],-1)]))])])],512)]),g("section",BU,[g("div",HU,[g("div",UU,[g("div",jU,[he(u,{class:"lg:col-span-2",horizontal:"",label:"Search by title or description"},{default:Te(()=>[he(o,{modelValue:r.filters.query,"onUpdate:modelValue":t[2]||(t[2]=m=>r.filters.query=m),placeholder:"E.g tools assessment in computing"},null,8,["modelValue"])]),_:1}),he(u,{horizontal:"",label:"Year"},{default:Te(()=>[he(c,{"return-object":"",placeholder:"Select year",modelValue:r.filters.year,"onUpdate:modelValue":t[3]||(t[3]=m=>r.filters.year=m),"deselect-label":"","allow-empty":!1,options:r.yearOptions},null,8,["modelValue","options"])]),_:1}),he(u,{horizontal:"",label:"Language"},{default:Te(()=>[he(c,{multiple:"",searchable:"","return-object":"",placeholder:"Select language",modelValue:r.filters.languages,"onUpdate:modelValue":t[4]||(t[4]=m=>r.filters.languages=m),options:r.languageOptions},null,8,["modelValue","options"])]),_:1}),he(u,{horizontal:"",label:"Country"},{default:Te(()=>[he(c,{multiple:"",searchable:"","return-object":"","id-name":"iso",placeholder:"Select country",modelValue:r.filters.countries,"onUpdate:modelValue":t[5]||(t[5]=m=>r.filters.countries=m),options:r.countriesOptions},null,8,["modelValue","options"])]),_:1}),g("button",{class:"bg-[#F95C22] rounded-full py-3 px-20 font-['Blinker'] hover:bg-hover-orange duration-300 mt-2 sm:col-span-2 lg:col-span-1",onClick:t[6]||(t[6]=m=>r.onSubmit())},t[22]||(t[22]=[g("span",{class:"text-base leading-7 font-semibold text-black normal-case"}," Search ",-1)]))])]),r.tags.length?(k(),P("div",qU,[g("div",WU,[(k(!0),P(Ve,null,Qe(r.tags,m=>(k(),P("div",{key:m.id,class:"bg-light-blue-100 pl-4 pr-3 py-1 rounded-full text-slate-500 text-[16px] font-semibold"},[g("div",YU,[g("span",null,se(m.name),1),g("button",{onClick:y=>r.removeSelectedItem(m)},t[23]||(t[23]=[g("img",{class:"w-4 h-4",src:"/images/close-icon.svg"},null,-1)]),8,zU)])]))),128)),g("div",KU,[g("button",{class:"text-dark-blue underline font-semibold text-[16px]",onClick:t[7]||(t[7]=(...m)=>r.removeAllSelectedItems&&r.removeAllSelectedItems(...m))}," Clear all filters ")])])])):ae("",!0)]),g("div",GU,[t[26]||(t[26]=g("div",{class:"absolute w-full h-[800px] bg-yellow-50 md:hidden top-0",style:{"clip-path":"ellipse(270% 90% at 38% 90%)"}},null,-1)),t[27]||(t[27]=g("div",{class:"absolute w-full h-[800px] bg-yellow-50 hidden md:block top-0",style:{"clip-path":"ellipse(88% 90% at 50% 90%)"}},null,-1)),g("div",JU,[g("div",ZU,[g("div",XU,[g("div",QU,[he(u,{horizontal:"",label:"Date"},{default:Te(()=>[g("div",e7,[(k(),it(h,{key:r.filters.start_date,placeholder:"Start Date",format:"yyyy-MM-dd",value:r.filters.start_date,onOnChange:t[8]||(t[8]=m=>r.filters.start_date=m),onOnClear:t[9]||(t[9]=m=>r.filters.start_date=null)},null,8,["value"])),t[24]||(t[24]=g("div",{class:"absolute top-1/2 right-4 -translate-y-1/2 pointer-events-none"},[g("img",{src:"/images/select-arrow.svg"})],-1))])]),_:1}),he(u,{horizontal:"",label:"Format"},{default:Te(()=>[he(c,{multiple:"",searchable:"","return-object":"",placeholder:"Select format",modelValue:r.filters.formats,"onUpdate:modelValue":t[10]||(t[10]=m=>r.filters.formats=m),options:r.activityFormatOptions,onOnChange:t[11]||(t[11]=()=>r.onSubmit())},null,8,["modelValue","options"])]),_:1}),he(u,{horizontal:"",label:"Activity type"},{default:Te(()=>[he(c,{multiple:"",searchable:"","return-object":"",placeholder:"Select type",modelValue:r.filters.types,"onUpdate:modelValue":t[12]||(t[12]=m=>r.filters.types=m),options:r.activityTypeOptions,onOnChange:t[13]||(t[13]=()=>r.onSubmit())},null,8,["modelValue","options"])]),_:1}),he(u,{horizontal:"",label:"Audience"},{default:Te(()=>[he(c,{multiple:"",searchable:"","return-object":"",placeholder:"Select audience",modelValue:r.filters.audiences,"onUpdate:modelValue":t[14]||(t[14]=m=>r.filters.audiences=m),options:n.audienceslist,onOnChange:t[15]||(t[15]=()=>r.onSubmit())},null,8,["modelValue","options"])]),_:1}),he(u,{horizontal:"",label:"Age range"},{default:Te(()=>[he(c,{multiple:"",searchable:"","return-object":"",placeholder:"Select range",modelValue:r.filters.ages,"onUpdate:modelValue":t[16]||(t[16]=m=>r.filters.ages=m),options:r.ageOptions,onOnChange:t[17]||(t[17]=()=>r.onSubmit())},null,8,["modelValue","options"])]),_:1}),he(u,{horizontal:"",label:"Themes"},{default:Te(()=>[he(c,{multiple:"",searchable:"","return-object":"",placeholder:"Select themes",modelValue:r.filters.themes,"onUpdate:modelValue":t[18]||(t[18]=m=>r.filters.themes=m),options:n.themeslist,onOnChange:t[19]||(t[19]=()=>r.onSubmit())},null,8,["modelValue","options"])]),_:1})]),Cn(g("div",t7,[t[25]||(t[25]=g("img",{src:"img/loading.gif",style:{"margin-right":"10px"}},null,-1)),ft(se(e.$t("event.loading")),1)],512),[[Fr,r.isLoading]]),r.isLoading?ae("",!0):(k(),P("div",n7,[(k(!0),P(Ve,null,Qe(r.events,m=>(k(),it(f,{key:m.id,event:m},null,8,["event"]))),128)),r.pagination.last_page>1?(k(),P("div",r7,[he(p,{pagination:r.pagination,offset:5,onPaginate:r.paginate},null,8,["pagination","onPaginate"])])):ae("",!0)]))])])])])])],64)}const i7=gt(NU,[["render",s7]]),a7={props:{tool:Object},data(){return{descriptionHeight:"auto",needShowMore:!0,showMore:!1}},methods:{computeDescriptionHeight(){const e=this.$refs.descriptionContainerRef,t=this.$refs.descriptionRef,n=e.clientHeight,r=Math.floor(n/22);t.style.height="auto",this.descriptionHeight="auto",this.needShowMore=t.offsetHeight>n,t.offsetHeight>n?(t.style.height=`${r*22}px`,this.descriptionHeight=`${r*22}px`):this.showMore=!1},onToggleShowMore(){const e=this.$refs.descriptionRef;this.showMore=!this.showMore,this.showMore?e.style.height="auto":e.style.height=this.descriptionHeight}},mounted:function(){this.computeDescriptionHeight()}},l7={class:"flex flex-col bg-white rounded-lg overflow-hidden"},o7=["src"],u7={key:0,class:"flex gap-2 flex-wrap mb-2"},c7={key:0,class:"inline-block w-4 h-4",src:"/images/star-white.svg"},d7={class:"text-dark-blue font-semibold font-['Montserrat'] text-base leading-6"},f7={key:1,class:"text-slate-500 text-[16px] leading-[22px] font-semibold"},h7={ref:"descriptionRef",class:"relative flex-grow text-slate-500 text-[16px] leading-[22px] mb-2 overflow-hidden",style:{height:"auto"}},p7=["innerHTML"],m7={class:"flex-shrink-0 h-[56px]"},g7=["href"];function v7(e,t,n,r,s,a){var o;return k(),P("div",l7,[g("div",{class:$e(["flex-shrink-0 flex justify-center items-center w-full",[n.tool.avatar_dark&&"bg-stone-800"]])},[g("img",{src:n.tool.avatar||"/images/matchmaking-tool/tool-placeholder.png",class:$e(["w-full aspect-[2]",n.tool.avatar?"object-contain":"object-cover"])},null,10,o7)],2),g("div",{class:$e(["flex-grow flex flex-col gap-2 px-5 py-4 h-fit",{"max-h-[450px]":s.needShowMore&&!s.showMore}])},[(o=n.tool.types)!=null&&o.length?(k(),P("div",u7,[(k(!0),P(Ve,null,Qe(n.tool.types,({title:u,highlight:c})=>(k(),P("span",{class:$e(["flex items-center gap-2 py-1 px-3 text-sm font-semibold rounded-full whitespace-nowrap leading-4",[c?"bg-dark-blue text-white":"bg-light-blue-100 text-slate-500"]])},[c?(k(),P("img",c7)):ae("",!0),g("span",null,[(k(!0),P(Ve,null,Qe(u.split(" "),h=>(k(),P(Ve,null,[h?(k(),P("span",{key:0,class:$e(["mr-[2px]",{"font-sans":h==="&"}])},se(h),3)):ae("",!0)],64))),256))])],2))),256))])):ae("",!0),g("div",d7,se(n.tool.name),1),n.tool.location?(k(),P("div",f7,se(n.tool.location),1)):ae("",!0),g("div",{ref:"descriptionContainerRef",class:$e(["flex-grow h-full",{"overflow-hidden":s.needShowMore&&!s.showMore}])},[g("div",h7,[g("div",{innerHTML:n.tool.description},null,8,p7),s.needShowMore?(k(),P("div",{key:0,class:$e(["flex justify-end bottom-0 right-0 bg-white pl-0.5 text-dark-blue",{absolute:!s.showMore,"w-full":s.showMore}])},[g("button",{onClick:t[0]||(t[0]=(...u)=>a.onToggleShowMore&&a.onToggleShowMore(...u))},se(s.showMore?"Show less":"... Show more"),1)],2)):ae("",!0)],512)],2),g("div",m7,[g("a",{class:"flex justify-center items-center gap-2 text-[#1C4DA1] border-solid border-2 border-[#1C4DA1] rounded-full py-3 px-8 font-semibold text-lg transition-all duration-300 hover:bg-[#E8EDF6] group",href:`/matchmaking-tool/${n.tool.slug}`},t[1]||(t[1]=[g("span",null,"View profile/contact",-1),g("div",{class:"flex gap-2 w-4 overflow-hidden"},[g("img",{src:"/images/arrow-right-icon.svg",class:"min-w-4 duration-500 transform -translate-x-6 group-hover:translate-x-0 text-[#1C4DA1]"}),g("img",{src:"/images/arrow-right-icon.svg",class:"min-w-4 duration-500 transform -translate-x-6 group-hover:translate-x-0 text-[#1C4DA1]"})],-1)]),8,g7)])],2)])}const Iw=gt(a7,[["render",v7]]),y7={components:{ToolCard:Iw,Multiselect:Ta,Pagination:fd,Tooltip:$1},props:{prpQuery:{type:String,default:""},prpLanguages:{type:Array,default:()=>[]},prpLocations:{type:Array,default:()=>[]},prpTypes:{type:Array,default:()=>[]},prpTopics:{type:Array,default:()=>[]},languages:{type:Array,default:()=>[]},locations:{type:Array,default:()=>[]},types:{type:Array,default:()=>[]},topics:{type:Array,default:()=>[]},support_types:{type:Array,default:()=>[]},locale:String},setup(e){console.log("props",{...e});const t=de(!1),n=de(e.prpQuery),r=de(e.prpQuery),s=de([]),a=de(e.prpLanguages),o=de(e.prpLocations),u=de(e.prpTypes),c=de(e.prpTopics),h=de({}),f=de({current_page:1,per_page:0,from:null,last_page:0,last_page_url:null,next_page_url:null,prev_page:null,prev_page_url:null,to:null,total:0}),p=de([]),m=pe(()=>e.types.map(U=>({id:U,name:U}))),y=pe(()=>[{id:"organisation",name:"Organisations"},{id:"volunteer",name:"Volunteers"}]),_=pe(()=>e.topics.map(U=>({id:U,name:U}))),b=pe(()=>[...s.value,...a.value,...o.value,...u.value,...c.value]),A=U=>{const $=M=>M.id!==U.id;s.value=s.value.filter($),a.value=a.value.filter($),o.value=o.value.filter(M=>M.iso!==(U==null?void 0:U.iso)),u.value=u.value.filter($),c.value=c.value.filter($)},H=()=>{s.value=[],a.value=[],o.value=[],u.value=[],c.value=[]},V=()=>{window.scrollTo(0,0)},x=()=>{V(),E(!0)},E=(U=!1)=>{U||(f.value.current_page=1);const $={page:f.value.current_page,support_types:s.value.map(M=>M.id),languages:a.value.map(M=>M.id),locations:o.value.map(M=>M.iso),types:u.value.map(M=>M.id),topics:c.value.map(M=>M.id)};Tt.post("/matchmaking-tool/search",{},{params:$}).then(({data:M})=>{console.log(">>> data",M.data),p.value=M.data.map(S=>{var ie,ee;const F={...S,avatar_dark:S.avatar_dark,avatar:S.avatar,types:[{title:"Online & In-person",highlight:!0},{title:"Ongoing availability"}]};return S.type==="volunteer"?{...F,name:`${S.first_name||""} ${S.last_name||""}`.trim(),location:S.location,description:S.description}:{...F,name:S.organisation_name,location:((ee=(ie=e.locations)==null?void 0:ie.find(({iso:fe})=>fe===S.country))==null?void 0:ee.name)||"",description:S.organisation_mission}}),console.log(">>> tools.value",JSON.parse(JSON.stringify(p.value))),f.value={per_page:M.per_page,current_page:M.current_page,from:M.from,last_page:M.last_page,last_page_url:M.last_page_url,next_page_url:M.next_page_url,prev_page:M.prev_page,prev_page_url:M.prev_page_url,to:M.to,total:M.total}})},B=(U,$)=>Le($+"."+U.name);return Ft(()=>{E()}),{query:n,searchInput:r,selectedSupportTypes:s,selectedLanguages:a,selectedLocations:o,selectedTypes:u,selectedTopics:c,errors:h,pagination:f,tools:p,paginate:x,onSubmit:E,customLabel:B,showFilterModal:t,tags:b,removeSelectedItem:A,removeAllSelectedItems:H,typeOptions:m,supportTypeOptions:y,topicOptions:_}}},_7={class:"codeweek-matchmakingtool-component font-['Blinker'] bg-light-blue"},b7={class:"codeweek-container py-10"},w7={class:"flex md:hidden flex-shrink-0 justify-end w-full mb-6"},x7={class:"grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 gap-4 mb-12"},k7={key:0,class:"multiselect--values font-semibold text-[16px] truncate"},S7={class:"language-json"},T7={key:0,class:"multiselect--values font-semibold text-[16px] truncate"},C7={class:"language-json"},A7={key:0,class:"multiselect--values font-semibold text-[16px] truncate"},E7={class:"language-json"},O7={key:0,class:"multiselect--values font-semibold text-[16px] truncate"},M7={class:"flex items-center text-[16px] leading-5 text-slate-500 mb-2"},R7={class:"language-json"},D7={key:0,class:"multiselect--values font-semibold text-[16px] truncate"},P7={class:"flex items-end"},L7={class:"text-base leading-7 font-semibold text-black normal-case"},I7={key:0,class:"flex md:justify-center"},N7={class:"max-md:w-full flex flex-wrap gap-2"},V7={class:"flex items-center gap-2"},F7=["onClick"],$7={class:"max-md:w-full max-md:mt-4 flex justify-center px-4"},B7={class:"relative pt-20 md:pt-48"},H7={class:"bg-yellow-50 pb-20"},U7={class:"relative z-10 codeweek-container"},j7={class:"grid grid-cols-1 md:grid-cols-2 xl:grid-cols-3 gap-6 lg:gap-10"};function q7(e,t,n,r,s,a){const o=at("multiselect"),u=at("Tooltip"),c=at("tool-card"),h=at("pagination");return k(),P("div",_7,[g("div",b7,[g("div",{class:$e(["max-md:fixed left-0 top-[125px] z-[100] flex-col items-center w-full max-md:p-6 max-md:h-[calc(100dvh-125px)] max-md:overflow-auto max-md:bg-white duration-300",[r.showFilterModal?"flex":"max-md:hidden"]])},[g("div",w7,[g("button",{id:"search-menu-trigger-hide",class:"block bg-[#FFD700] hover:bg-[#F95C22] rounded-full p-4 duration-300",onClick:t[0]||(t[0]=f=>r.showFilterModal=!1)},t[9]||(t[9]=[g("img",{class:"w-6 h-6",src:"/images/close_menu_icon.svg"},null,-1)]))]),g("div",x7,[g("div",null,[t[12]||(t[12]=g("label",{class:"block text-[16px] leading-5 text-slate-500 mb-2"}," Support type ",-1)),he(o,{modelValue:r.selectedSupportTypes,"onUpdate:modelValue":t[1]||(t[1]=f=>r.selectedSupportTypes=f),class:"multi-select",options:r.supportTypeOptions,multiple:!0,"close-on-select":!1,"clear-on-select":!1,"preserve-search":!0,"custom-label":f=>f.name,placeholder:"Select type, e.g. volunteer",label:"Select type, e.g. volunteer","track-by":"name","preselect-first":!1},{selection:Te(({values:f})=>[f.length>0?(k(),P("div",k7," Selected "+se(f.length)+" "+se(f.length>1?"types":"type"),1)):ae("",!0)]),default:Te(()=>[g("pre",S7,[t[10]||(t[10]=ft(" ")),g("code",null,se(r.selectedLanguages),1),t[11]||(t[11]=ft(`
`))])]),_:1},8,["modelValue","options","custom-label"])]),g("div",null,[t[13]||(t[13]=g("label",{class:"block text-[16px] leading-5 text-slate-500 mb-2"}," Language ",-1)),he(o,{modelValue:r.selectedLanguages,"onUpdate:modelValue":t[2]||(t[2]=f=>r.selectedLanguages=f),class:"multi-select",options:n.languages,multiple:!0,"close-on-select":!1,"clear-on-select":!1,"preserve-search":!0,placeholder:"Select language",label:"resources.resources.languages","custom-label":r.customLabel,"track-by":"name","preselect-first":!1},{selection:Te(({values:f})=>[f.length>0?(k(),P("div",T7," Selected "+se(f.length)+" "+se(f.length>1?"languages":"language"),1)):ae("",!0)]),_:1},8,["modelValue","options","custom-label"])]),g("div",null,[t[16]||(t[16]=g("label",{class:"block text-[16px] leading-5 text-slate-500 mb-2"}," Location ",-1)),he(o,{modelValue:r.selectedLocations,"onUpdate:modelValue":t[3]||(t[3]=f=>r.selectedLocations=f),class:"multi-select",options:n.locations,multiple:!0,"close-on-select":!1,"clear-on-select":!1,"preserve-search":!0,placeholder:"Select country/city",label:"Location","custom-label":f=>f.name,"track-by":"name","preselect-first":!1},{selection:Te(({values:f})=>[f.length>0?(k(),P("div",A7," Selected "+se(f.length)+" "+se(f.length>1?"locations":"location"),1)):ae("",!0)]),default:Te(()=>[g("pre",C7,[t[14]||(t[14]=ft(" ")),g("code",null,se(r.selectedLocations),1),t[15]||(t[15]=ft(`
- `))])]),_:1},8,["modelValue","options","custom-label"])]),g("div",null,[t[17]||(t[17]=g("label",{class:"block text-[16px] leading-5 text-slate-500 mb-2"}," Type of Organisation ",-1)),he(o,{modelValue:r.selectedTypes,"onUpdate:modelValue":t[4]||(t[4]=f=>r.selectedTypes=f),class:"multi-select",options:r.typeOptions,multiple:!0,"close-on-select":!1,"clear-on-select":!1,"preserve-search":!0,"custom-label":f=>f.name,placeholder:"Select type of organisation",label:"Type of Organisation","track-by":"name","preselect-first":!1},{selection:Te(({values:f})=>[f.length>0?(k(),P("div",O7," Selected "+se(f.length)+" "+se(f.length>1?"types":"type"),1)):ae("",!0)]),default:Te(()=>[g("pre",E7,[g("code",null,se(r.selectedTypes),1)])]),_:1},8,["modelValue","options","custom-label"])]),g("div",null,[g("label",M7,[t[20]||(t[20]=g("span",null,"Topics",-1)),he(u,{contentClass:"w-64"},{trigger:Te(()=>t[18]||(t[18]=[g("div",{class:"w-5 h-5 bg-dark-blue rounded-full flex justify-center items-center text-white ml-1.5 cursor-pointer text-xs"}," i ",-1)])),content:Te(()=>t[19]||(t[19]=[ft(" Select a topic to help match volunteers with the right digital skills for your needs — e.g. coding, robotics, online safety, etc. ")])),_:1})]),he(o,{modelValue:r.selectedTopics,"onUpdate:modelValue":t[5]||(t[5]=f=>r.selectedTopics=f),class:"multi-select",options:r.topicOptions,multiple:!0,"close-on-select":!1,"clear-on-select":!1,"preserve-search":!0,"custom-label":f=>f.name,placeholder:"Select topic, e.g. robotics",label:"Topics","track-by":"name","preselect-first":!1},{selection:Te(({values:f})=>[f.length>0?(k(),P("div",D7," Selected "+se(f.length)+" "+se(f.length>1?"topics":"topic"),1)):ae("",!0)]),default:Te(()=>[g("pre",R7,[g("code",null,se(r.selectedTopics),1)])]),_:1},8,["modelValue","options","custom-label"])]),g("div",P7,[g("button",{class:"w-full bg-[#F95C22] rounded-full py-2.5 px-6 font-['Blinker'] hover:bg-hover-orange duration-300",onClick:t[6]||(t[6]=()=>{r.showFilterModal=!1,r.onSubmit()})},[g("span",L7,se(e.$t("resources.search")),1)])])])],2),g("button",{class:"block md:hidden w-full bg-[#F95C22] rounded-full py-2.5 px-6 font-['Blinker'] hover:bg-hover-orange duration-300 mb-8",onClick:t[7]||(t[7]=f=>r.showFilterModal=!0)},t[21]||(t[21]=[g("span",{class:"flex gap-2 justify-center items-center text-base leading-7 font-semibold text-black normal-case"},[ft(" Filter and search "),g("img",{class:"w-5 h-5",src:"/images/filter.svg"})],-1)])),r.tags.length?(k(),P("div",I7,[g("div",N7,[(k(!0),P(Ve,null,Qe(r.tags,f=>(k(),P("div",{key:f.id,class:"bg-light-blue-100 pl-4 pr-3 py-1 rounded-full text-slate-500 text-[16px] font-semibold"},[g("div",V7,[g("span",null,se(f.name),1),g("button",{onClick:p=>r.removeSelectedItem(f)},t[22]||(t[22]=[g("img",{class:"w-4 h-4",src:"/images/close-icon.svg"},null,-1)]),8,F7)])]))),128)),g("div",$7,[g("button",{class:"text-dark-blue underline font-semibold text-[16px]",onClick:t[8]||(t[8]=(...f)=>r.removeAllSelectedItems&&r.removeAllSelectedItems(...f))}," Clear all filters ")])])])):ae("",!0)]),g("div",B7,[t[23]||(t[23]=g("div",{class:"absolute w-full h-[800px] bg-yellow-50 md:hidden top-0",style:{"clip-path":"ellipse(270% 90% at 38% 90%)"}},null,-1)),t[24]||(t[24]=g("div",{class:"absolute w-full h-[800px] bg-yellow-50 hidden md:block top-0",style:{"clip-path":"ellipse(88% 90% at 50% 90%)"}},null,-1)),g("div",H7,[g("div",U7,[g("div",j7,[(k(!0),P(Ve,null,Qe(r.tools,f=>(k(),it(c,{key:f.id,tool:f},null,8,["tool"]))),128))]),r.pagination.last_page>1?(k(),it(h,{key:0,pagination:r.pagination,offset:5,onPaginate:r.paginate},null,8,["pagination","onPaginate"])):ae("",!0)])])])])}const W7=gt(y7,[["render",q7]]),Y7={props:{mapTileUrl:String,profile:{type:Object,default:()=>({})},locations:{type:Array,default:()=>[]}},setup(e){const t=de([]),n=de([]),r=pe(()=>{try{const m=JSON.parse(e.profile);return console.log(">>> profile",m),m}catch(m){return console.error("Parse profile data error",m),{}}}),s=pe(()=>r.value.type==="organisation"),a=m=>{if(typeof m!="string")return m;try{return JSON.parse(m)}catch{return[]}},o=pe(()=>{var b,A,H,V;const m=r.value;if(m.type!=="organisation")return null;const y=[];m.organisation_mission&&y.push({title:"Introduction",list:[m.organisation_mission]}),(b=m.support_activities)!=null&&b.length&&y.push({title:"What kind of activities or support can you offer to schools and educators?",list:m.support_activities}),(A=m.target_school_types)!=null&&A.length&&y.push({title:"What types of schools are you most interested in working with?",list:m.target_school_types}),(H=m.digital_expertise_areas)!=null&&H.length&&y.push({title:"What areas of digital expertise does your organisation or you specialise in?",list:m.digital_expertise_areas}),m.description&&y.push({title:"Do you have any additional information or comments that could help us better match you with schools and educators?",list:[m.description]});const[_]=(m.website||"").split(",")||[];return{name:m.organisation_name,description:m.description,location:((V=e.locations.find(({iso:x})=>x===m.country))==null?void 0:V.name)||"",email:m.email,website:(_||"").trim(),abouts:y,short_intro:"",availabilities:[],phone:"",avatarDark:m.avatar_dark,avatar:m.avatar}}),u=pe(()=>{var _,b;const m=r.value;if(m.type!=="volunteer")return null;const y=[];return m.description&&y.push({title:"Introduction",list:[m.description]}),m.organisation_name&&m.organisation_type&&y.push({title:"Organisation",list:[`Organisation name: ${m.organisation_name}`,`Organisation type: ${a(m.organisation_type)}`]}),m.why_volunteering&&y.push({title:"Why am I volunteering?",list:[m.why_volunteering]}),(_=m.support_activities)!=null&&_.length&&y.push({title:"What kind of activities or support can you offer to schools and educators?",list:a(m.support_activities)}),(b=m.languages)!=null&&b.length&&y.push({title:"Languages spoken",list:a(m.languages)}),{name:`${m.first_name||""} ${m.last_name}`.trim(),description:m.description,location:m.location,email:m.email,get_email_from:m.get_email_from,linkedin:m.linkedin,facebook:m.facebook,website:m.website,job_title:m.job_title,abouts:y,short_intro:"",availabilities:[],phone:"",avatar:m.avatar}}),c=pe(()=>{const m=o.value||u.value||{};return m.linkedin&&!m.linkedin.startsWith("http")&&(m.linkedin=`https://${m.linkedin}`),m.facebook&&!m.facebook.startsWith("http")&&(m.facebook=`https://${m.facebook}`),m.website&&!m.website.startsWith("http")&&(m.website=`https://${m.website}`),m}),h=m=>{const y=n.value.filter(_=>_!==m);n.value.includes(m)?n.value=y:n.value=[...n.value,m]},f=(m,y)=>{m&&(t.value[y]=m)},p=async()=>{let m=[51,10];try{const b=await Tt("https://nominatim.openstreetmap.org/search",{params:{format:"json",q:c.value.location}});if(b.data&&b.data.length>0){const{lat:A,lon:H}=b.data[0];A&&H&&(m=[A,H])}}catch(b){console.log(b)}const y=L.map("map-id");L.tileLayer(e.mapTileUrl,{maxZoom:18,attribution:'© Mapbox ',tileSize:512,zoomOffset:-1,zoomControl:!1}).addTo(y),console.log(m);const _=L.icon({iconUrl:"/images/marker-orange.svg",iconSize:[44,62],iconAnchor:[22,62],popupAnchor:[0,-60]});L.marker(m,{icon:_}).addTo(y),y.setView(m,12)};return Ft(()=>{setTimeout(()=>{p()},2e3)}),{isOrganisation:s,data:c,descriptionRefs:t,showAboutIndexes:n,handleToggleAbout:h,setDescriptionRef:f}}},z7={id:"codeweek-matchmaking-tool",class:"font-['Blinker'] overflow-hidden"},K7={class:"relative flex overflow-hidden"},G7={class:"flex codeweek-container-lg py-10 tablet:py-20"},J7={class:"flex flex-col lg:flex-row gap-12 tablet:gap-20 xl:gap-32 2xl:gap-[260px]"},Z7={class:"text-dark-blue text-[30px] md:text-4xl leading-[44px] font-normal md:font-medium font-['Montserrat'] mb-6"},X7=["innerHTML"],Q7={class:"text-dark-blue text-[22px] md:text-3xl leading-[36px] font-medium font-['Montserrat'] mb-6"},e9={class:"accordion"},t9={class:"bg-transparent border-b-2 border-solid border-[#A4B8D9]"},n9=["onClick"],r9={class:"text-[#20262C] font-semibold text-lg font-['Montserrat']"},s9={class:"flex flex-col gap-0 text-slate-500 text-xl font-normal w-full"},i9=["innerHTML"],a9={class:"flex-shrink-0 lg:max-w-[460px] w-full"},l9=["src"],o9={key:1,class:"rounded-xl h-full w-full object-cover",src:"/images/matchmaking-tool/tool-placeholder.png"},u9={class:"text-[#20262C] font-semibold text-lg p-0 mb-10"},c9={key:0},d9={key:0,class:"text-[#20262C] text-xl leading-[36px] font-medium font-['Montserrat'] mb-4 italic"},f9={class:"border-l-[4px] border-[#F95C22] pl-4"},h9=["innerHTML"],p9={class:"relative overflow-hidden"},m9={class:"codeweek-container-lg relative pt-20 pb-16 md:pt-40 md:pb-28"},g9={class:"bg-white px-5 py-10 lg:p-16 rounded-[32px] flex flex-col tablet:flex-row w-full gap-10 lg:gap-0"},v9={class:"flex-1"},y9={class:"flex gap-4 mb-6"},_9={class:"p-0 text-slate-500 text-xl font-normal capitalize"},b9={key:0,class:"flex gap-4 mb-6"},w9=["href"],x9={class:"flex gap-4 mb-6"},k9=["href"],S9={key:1,class:"p-0 text-slate-500 text-xl font-normal capitalize"},T9={key:2,class:"p-0 text-slate-500 text-xl font-normal capitalize"},C9={key:1,class:"flex gap-4 mb-6"},A9=["href"],E9={key:2,class:"flex gap-4 mb-6"},O9=["href"],M9={key:3,class:"flex gap-4 mb-6"},R9=["href"],D9={key:4,class:"text-xl font-semibold text-[#20262C] mb-2"},P9={key:5,class:"flex gap-4"},L9={class:"flex flex-col gap-2"},I9={class:"grid grid-cols-2 gap-8"},N9={class:"p-0 text-slate-500 text-xl font-normal"},V9={class:"p-0 text-slate-500 text-xl font-normal"};function F9(e,t,n,r,s,a){var o,u;return k(),P("section",z7,[g("section",K7,[g("div",G7,[g("div",J7,[g("div",null,[g("h2",Z7,se(r.data.name),1),g("p",{class:"text-[#20262C] font-normal text-2xl p-0 mb-10",innerHTML:r.data.description},null,8,X7),g("h3",Q7,se(r.isOrganisation?"About our organization":"About me"),1),g("div",e9,[(k(!0),P(Ve,null,Qe(r.data.abouts,(c,h)=>{var f;return k(),P("div",t9,[g("div",{class:"py-4 cursor-pointer flex items-center justify-between duration-300",onClick:p=>r.handleToggleAbout(h)},[g("p",r9,se(c.title),1),g("div",{class:$e(["rounded-full min-w-12 min-h-12 duration-300 flex justify-center items-center ml-8",[r.showAboutIndexes.includes(h)?"bg-primary hover:bg-hover-orange":"bg-yellow hover:bg-primary"]])},[g("div",{class:$e(["duration-300",[r.showAboutIndexes.includes(h)&&"rotate-180"]])},t[0]||(t[0]=[g("img",{src:"/images/digital-girls/arrow.svg"},null,-1)]),2)],2)],8,n9),g("div",{class:"flex overflow-hidden transition-all duration-300 min-h-[1px] h-full",ref_for:!0,ref:p=>r.setDescriptionRef(p,h),style:bn({height:r.showAboutIndexes.includes(h)?`${(f=r.descriptionRefs[h])==null?void 0:f.scrollHeight}px`:0})},[g("div",s9,[(k(!0),P(Ve,null,Qe(c.list,p=>(k(),P("p",{class:"p-0 pb-4 w-full",innerHTML:p},null,8,i9))),256))])],4)])}),256))])]),g("div",a9,[g("div",{class:$e(["flex justify-center items-center rounded-xl border-2 border-[#ADB2B6] mb-4 aspect-square",[r.isOrganisation&&"p-6",r.data.avatarDark&&"bg-stone-800"]])},[r.data.avatar?(k(),P("img",{key:0,class:"rounded-xl w-full",src:r.data.avatar},null,8,l9)):(k(),P("img",o9))],2),g("p",u9,[ft(se(r.data.name)+" ",1),r.data.job_title?(k(),P("span",c9,", "+se(r.data.job_title),1)):ae("",!0)]),r.data.short_intro?(k(),P("p",d9,se(r.data.short_intro),1)):ae("",!0),g("div",f9,[g("p",{class:"p-0 text-slate-500 text-xl font-normal",innerHTML:r.data.description},null,8,h9)])])])])]),g("section",p9,[t[12]||(t[12]=g("div",{class:"absolute w-full h-full bg-yellow-50 md:hidden",style:{"clip-path":"ellipse(270% 90% at 38% 90%)"}},null,-1)),t[13]||(t[13]=g("div",{class:"absolute w-full h-full bg-yellow-50 hidden md:block lg:hidden",style:{"clip-path":"ellipse(188% 90% at 50% 90%)"}},null,-1)),t[14]||(t[14]=g("div",{class:"absolute w-full h-full bg-yellow-50 hidden lg:block xl:hidden",style:{"clip-path":"ellipse(128% 90% at 50% 90%)"}},null,-1)),t[15]||(t[15]=g("div",{class:"absolute w-full h-full bg-yellow-50 hidden xl:block",style:{"clip-path":"ellipse(93% 90% at 50% 90%)"}},null,-1)),g("div",m9,[t[11]||(t[11]=g("h2",{class:"text-dark-blue tablet:text-center text-[30px] md:text-4xl leading-7 md:leading-[44px] font-normal md:font-medium font-['Montserrat'] mb-10 tablet:mb-8"}," Contact details ",-1)),g("div",g9,[g("div",v9,[t[8]||(t[8]=g("h3",{class:"text-dark-blue text-[22px] md:text-4xl leading-7 md:leading-[44px] font-medium font-['Montserrat'] mb-4"}," Location ",-1)),t[9]||(t[9]=g("span",{class:"bg-dark-blue text-white py-1 px-4 text-sm font-semibold rounded-full whitespace-nowrap flex items-center gap-2 w-fit mb-6"},[g("img",{src:"/images/star-white.svg",class:"w-4 h-4"}),g("span",null,[ft(" Can teach Online "),g("span",{class:"font-sans"},"&"),ft(" In-person ")])],-1)),g("div",y9,[t[1]||(t[1]=g("img",{src:"/images/map.svg",class:"w-6 h-6"},null,-1)),g("div",null,[g("p",_9,se(r.data.location),1)])]),r.data.phone?(k(),P("div",b9,[t[2]||(t[2]=g("img",{src:"/images/phone.svg",class:"w-6 h-6"},null,-1)),g("a",{class:"text-dark-blue underline cursor-pointer text-xl font-semibold",href:r.data.phone},se(r.data.phone),9,w9)])):ae("",!0),g("div",x9,[t[3]||(t[3]=g("img",{src:"/images/message.svg",class:"w-6 h-6"},null,-1)),r.data.email?(k(),P("a",{key:0,class:"text-dark-blue underline cursor-pointer text-xl font-semibold",href:`mailto:${r.data.email}`},se(r.data.email),9,k9)):r.data.get_email_from?(k(),P("p",S9,se(r.data.get_email_from),1)):(k(),P("p",T9," Anonymous "))]),r.data.linkedin?(k(),P("div",C9,[t[4]||(t[4]=g("img",{src:"/images/social/linkedin.svg",class:"w-6 h-6"},null,-1)),g("a",{class:"text-dark-blue underline cursor-pointer text-xl font-semibold",href:r.data.linkedin}," LinkedIn ",8,A9)])):ae("",!0),r.data.facebook?(k(),P("div",E9,[t[5]||(t[5]=g("img",{src:"/images/social/facebook.svg",class:"w-6 h-6"},null,-1)),g("a",{class:"text-dark-blue underline cursor-pointer text-xl font-semibold",href:r.data.facebook}," Facebook ",8,O9)])):ae("",!0),r.data.website?(k(),P("div",M9,[t[6]||(t[6]=g("img",{src:"/images/profile.svg",class:"w-6 h-6"},null,-1)),g("a",{class:"text-dark-blue underline cursor-pointer text-xl font-semibold",href:r.data.website}," Website ",8,R9)])):ae("",!0),(o=r.data.availabilities)!=null&&o.length?(k(),P("div",D9," My availability ")):ae("",!0),(u=r.data.availabilities)!=null&&u.length?(k(),P("div",P9,[t[7]||(t[7]=g("img",{src:"/images/map.svg",class:"w-6 h-6"},null,-1)),g("div",L9,[(k(!0),P(Ve,null,Qe(r.data.availabilities,({dateText:c,timeText:h})=>(k(),P("div",I9,[g("p",N9,se(c),1),g("p",V9,se(h),1)]))),256))])])):ae("",!0)]),t[10]||(t[10]=g("div",{class:"flex-1"},[g("div",{id:"map-id",class:"relative z-50 w-full h-64 md:h-full md:min-h-96 rounded-2xl bg-gray-100"})],-1))])])])])}const $9=gt(Y7,[["render",F9]]),B9={props:["user"],components:{ImageUpload:Mw,Flash:dd},data(){return{avatar:this.user.avatar_path}},computed:{canUpdate(){return console.log("user",this.user),this.$authorize(e=>e.id===this.user.id)},hasAvatar(){return console.log(this.avatar),this.avatar.split("/").pop()!=="default.png"}},methods:{onLoad(e){this.persist(e.file)},persist(e){let t=new FormData;t.append("avatar",e),axios.post(`/api/users/${this.user.id}/avatar`,t).then(n=>{this.avatar=n.data.path,ei.emit("flash",{message:"Avatar uploaded!",level:"success"})})},remove(){console.log("delete me"),axios.delete("/api/users/avatar").then(()=>ei.emit("flash",{message:"Avatar Deleted!",level:"success"})),this.avatar="https://s3-eu-west-1.amazonaws.com/codeweek-dev/avatars/default.png"}}},H9={class:"flex flex-col tablet:flex-row tablet:items-center gap-6 tablet:gap-14"},U9={class:"flex"},j9={class:"relative"},q9=["src"],W9={key:0,method:"POST",enctype:"multipart/form-data",class:"absolute bottom-0 left-0"},Y9={style:{display:"flex","align-items":"flex-end","margin-left":"-35px"}},z9={class:"text-white font-normal text-3xl tablet:font-medium tablet:text-5xl font-['Montserrat'] mb-6"};function K9(e,t,n,r,s,a){const o=at("image-upload");return k(),P("div",H9,[g("div",U9,[g("div",j9,[g("img",{src:s.avatar,class:"w-40 h-40 rounded-full border-4 border-solid border-dark-blue-300"},null,8,q9),a.canUpdate?(k(),P("form",W9,[he(o,{name:"avatar",class:"mr-1",onLoaded:a.onLoad},null,8,["onLoaded"])])):ae("",!0),g("div",Y9,[Cn(g("button",{class:"absolute !bottom-0 !right-0 flex justify-center items-center !h-10 !w-10 !p-0 bg-[#FE6824] rounded-full !border-2 !border-solid !border-white",onClick:t[0]||(t[0]=(...u)=>a.remove&&a.remove(...u))},t[1]||(t[1]=[g("img",{class:"w-5 h-5",src:"/images/trash.svg"},null,-1)]),512),[[Fr,a.hasAvatar]])])])]),g("div",null,[g("h1",z9,se(n.user.fullName),1)])])}const G9=gt(B9,[["render",K9]]),J9={install(e){e.config.globalProperties.$authorize=function(...t){return window.App.signedIn?typeof t[0]=="string"?authorizations[t[0]](t[1]):t[0](window.App.user):!1}}},Z9={data(){return{images:[{src:"https://cdn.builder.io/api/v1/image/assets/TEMP/1e054358a7188baf8777a09512012cf16ab84970ef1c7610feb6dad13e504666",alt:"Consortium partner visual representation"},{src:"https://cdn.builder.io/api/v1/image/assets/TEMP/2972cd5748880295748a9baa3e8fe3c996a0cdc09d86b46dbc72790d1cbc0655",alt:"Gallery image 1"},{src:"https://cdn.builder.io/api/v1/image/assets/TEMP/fb06d640ec9446e59ef5e3fb63ceaaaf0b25d0117f209f11e3ab8e6ce3240acb",alt:"Gallery image 2"},{src:"https://cdn.builder.io/api/v1/image/assets/TEMP/1e054358a7188baf8777a09512012cf16ab84970ef1c7610feb6dad13e504666",alt:"Gallery image 3"},{src:"https://cdn.builder.io/api/v1/image/assets/TEMP/2972cd5748880295748a9baa3e8fe3c996a0cdc09d86b46dbc72790d1cbc0655",alt:"Gallery image 4"},{src:"https://cdn.builder.io/api/v1/image/assets/TEMP/fb06d640ec9446e59ef5e3fb63ceaaaf0b25d0117f209f11e3ab8e6ce3240acb",alt:"Gallery image 5"}],currentIndex:0}},methods:{nextImage(){this.currentIndex=(this.currentIndex+1)%this.images.length,this.scrollToThumbnail()},prevImage(){this.currentIndex=this.currentIndex===0?this.images.length-1:this.currentIndex-1,this.scrollToThumbnail()},selectImage(e){this.currentIndex=e,this.scrollToThumbnail()},scrollToThumbnail(){const e=this.$refs.thumbnailGallery,t=e.clientWidth/3,n=Math.max(0,(this.currentIndex-1)*t);e.scrollTo({left:n,behavior:"smooth"})}}},X9={class:"flex flex-col pt-3.5"},Q9={class:"flex py-4 md:py-20 relative flex-col mt-3.5 w-full bg-aqua max-md:max-w-full items-center"},ej={class:"z-0 flex flex-col items-start justify-between max-w-full gap-10 p-10 md:px-24"},tj={class:"grid w-full grid-cols-1 md:grid-cols-2 gap-x-8"},nj={class:"flex items-start justify-start"},rj=["src","alt"],sj={class:"w-full overflow-hidden image-gallery"},ij={ref:"thumbnailGallery",class:"flex gap-4 overflow-x-auto flex-nowrap"},aj=["src","alt","onClick"],lj={class:"flex justify-end w-full mt-4 image-gallery-controls"},oj={class:"flex flex-wrap items-center gap-5"};function uj(e,t,n,r,s,a){return k(),P("section",X9,[g("div",Q9,[g("div",ej,[g("div",tj,[t[2]||(t[2]=kb('Consortium Partner Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat.
Website link ',1)),g("div",nj,[g("img",{src:s.images[s.currentIndex].src,alt:s.images[s.currentIndex].alt,class:"main-image object-contain aspect-[1.63] w-full md:w-[480px] max-md:max-w-full"},null,8,rj)])]),g("div",sj,[g("div",ij,[(k(!0),P(Ve,null,Qe(s.images,(o,u)=>(k(),P("img",{key:u,src:o.src,alt:"Gallery image "+(u+1),class:$e([{"border-2 border-orange-500":s.currentIndex===u},"thumbnail cursor-pointer object-contain shrink-0 aspect-[1.5] min-h-[120px] w-[calc(33.33%-8px)]"]),onClick:c=>a.selectImage(u)},null,10,aj))),128))],512)]),g("div",lj,[g("div",oj,[g("button",{onClick:t[0]||(t[0]=(...o)=>a.prevImage&&a.prevImage(...o)),class:"flex group flex-col justify-center items-center self-stretch my-auto w-8 h-8 bg-orange-500 rounded min-h-[24px]"},t[3]||(t[3]=[g("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[g("rect",{width:"32",height:"32",rx:"4",class:"fill-primary group-hover:fill-secondary"}),g("path",{d:"M19 22L13 16L19 10",stroke:"white","stroke-width":"2.5","stroke-linecap":"round","stroke-linejoin":"round"})],-1)])),g("button",{onClick:t[1]||(t[1]=(...o)=>a.nextImage&&a.nextImage(...o)),class:"flex group flex-col justify-center items-center self-stretch my-auto w-8 h-8 bg-orange-500 rounded min-h-[24px]"},t[4]||(t[4]=[g("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[g("rect",{width:"32",height:"32",rx:"4",class:"fill-primary group-hover:fill-secondary"}),g("path",{d:"M13 22L19 16L13 10",stroke:"white","stroke-width":"2.5","stroke-linecap":"round","stroke-linejoin":"round"})],-1)]))])])])])])}const cj=gt(Z9,[["render",uj],["__scopeId","data-v-5aad3e31"]]),Ut=bc({});Ut.use(J9);Ut.use(kL,{resolve:async e=>await Object.assign({"../lang/php_al.json":()=>Vt(()=>import("./php_al-B8LvIwps.js"),[]),"../lang/php_ba.json":()=>Vt(()=>import("./php_ba-BzJ-z0Pe.js"),[]),"../lang/php_bg.json":()=>Vt(()=>import("./php_bg-DFS4_Pdh.js"),[]),"../lang/php_cs.json":()=>Vt(()=>import("./php_cs-C1pA5Q0X.js"),[]),"../lang/php_da.json":()=>Vt(()=>import("./php_da-BEH8waSq.js"),[]),"../lang/php_de.json":()=>Vt(()=>import("./php_de-BPkeRUdS.js"),[]),"../lang/php_el.json":()=>Vt(()=>import("./php_el-DQN96lKd.js"),[]),"../lang/php_en.json":()=>Vt(()=>import("./php_en-DFNv0AYS.js"),[]),"../lang/php_es.json":()=>Vt(()=>import("./php_es-BqNWO0kV.js"),[]),"../lang/php_et.json":()=>Vt(()=>import("./php_et-Chcm9kTI.js"),[]),"../lang/php_fi.json":()=>Vt(()=>import("./php_fi-eq66yxRZ.js"),[]),"../lang/php_fr.json":()=>Vt(()=>import("./php_fr-BPmXyDfB.js"),[]),"../lang/php_hr.json":()=>Vt(()=>import("./php_hr-CovIToS-.js"),[]),"../lang/php_hu.json":()=>Vt(()=>import("./php_hu-5rXDIRDO.js"),[]),"../lang/php_it.json":()=>Vt(()=>import("./php_it-MKBejmsr.js"),[]),"../lang/php_lt.json":()=>Vt(()=>import("./php_lt-B3ViOhiz.js"),[]),"../lang/php_lv.json":()=>Vt(()=>import("./php_lv-D7Azvi8e.js"),[]),"../lang/php_me.json":()=>Vt(()=>import("./php_me-CYzRqctk.js"),[]),"../lang/php_mk.json":()=>Vt(()=>import("./php_mk-D2xvZewH.js"),[]),"../lang/php_mt.json":()=>Vt(()=>import("./php_mt-Do5KEpXJ.js"),[]),"../lang/php_nl.json":()=>Vt(()=>import("./php_nl-CgP1tC_S.js"),[]),"../lang/php_pl.json":()=>Vt(()=>import("./php_pl-Cq6DLX2x.js"),[]),"../lang/php_pt.json":()=>Vt(()=>import("./php_pt-MY4jMBYk.js"),[]),"../lang/php_ro.json":()=>Vt(()=>import("./php_ro-BSdeKdz6.js"),[]),"../lang/php_rs.json":()=>Vt(()=>import("./php_rs-D89BbSwz.js"),[]),"../lang/php_sk.json":()=>Vt(()=>import("./php_sk-Ch-v8U41.js"),[]),"../lang/php_sl.json":()=>Vt(()=>import("./php_sl-DXFtGOop.js"),[]),"../lang/php_sv.json":()=>Vt(()=>import("./php_sv-C1qL1-11.js"),[]),"../lang/php_tr.json":()=>Vt(()=>import("./php_tr-FAMZLeo4.js"),[]),"../lang/php_ua.json":()=>Vt(()=>import("./php_ua-DaGA_lqY.js"),[])})[`../lang/${e}.json`]()});Ut.component("ActivityForm",v4);Ut.component("ResourceForm",OV);Ut.component("ResourceCard",U1);Ut.component("ResourcePill",H1);Ut.component("Pagination",fd);Ut.component("Singleselect",LV);Ut.component("PasswordField",$V);Ut.component("Multiselect",qV);Ut.component("CountrySelect",GV);Ut.component("ModerateEvent",gF);Ut.component("ReportEvent",fH);Ut.component("AutocompleteGeo",$F);Ut.component("DateTime",e8);Ut.component("Question",f8);Ut.component("PictureForm",x8);Ut.component("Flash",dd);Ut.component("InputTags",tH);Ut.component("SearchPageComponent",i7);Ut.component("AvatarForm",G9);Ut.component("PartnerGallery",cj);Ut.component("MatchMakingToolForm",W7);Ut.component("ToolCard",Iw);Ut.component("ToolDetailCard",$9);Ut.component("EventCard",Lw);Ut.component("EventDetail",LU);Ut.component("SelectField",Fo);Ut.mount("#app");
+ `))])]),_:1},8,["modelValue","options","custom-label"])]),g("div",null,[t[17]||(t[17]=g("label",{class:"block text-[16px] leading-5 text-slate-500 mb-2"}," Type of Organisation ",-1)),he(o,{modelValue:r.selectedTypes,"onUpdate:modelValue":t[4]||(t[4]=f=>r.selectedTypes=f),class:"multi-select",options:r.typeOptions,multiple:!0,"close-on-select":!1,"clear-on-select":!1,"preserve-search":!0,"custom-label":f=>f.name,placeholder:"Select type of organisation",label:"Type of Organisation","track-by":"name","preselect-first":!1},{selection:Te(({values:f})=>[f.length>0?(k(),P("div",O7," Selected "+se(f.length)+" "+se(f.length>1?"types":"type"),1)):ae("",!0)]),default:Te(()=>[g("pre",E7,[g("code",null,se(r.selectedTypes),1)])]),_:1},8,["modelValue","options","custom-label"])]),g("div",null,[g("label",M7,[t[20]||(t[20]=g("span",null,"Topics",-1)),he(u,{contentClass:"w-64"},{trigger:Te(()=>t[18]||(t[18]=[g("div",{class:"w-5 h-5 bg-dark-blue rounded-full flex justify-center items-center text-white ml-1.5 cursor-pointer text-xs"}," i ",-1)])),content:Te(()=>t[19]||(t[19]=[ft(" Select a topic to help match volunteers with the right digital skills for your needs — e.g. coding, robotics, online safety, etc. ")])),_:1})]),he(o,{modelValue:r.selectedTopics,"onUpdate:modelValue":t[5]||(t[5]=f=>r.selectedTopics=f),class:"multi-select",options:r.topicOptions,multiple:!0,"close-on-select":!1,"clear-on-select":!1,"preserve-search":!0,"custom-label":f=>f.name,placeholder:"Select topic, e.g. robotics",label:"Topics","track-by":"name","preselect-first":!1},{selection:Te(({values:f})=>[f.length>0?(k(),P("div",D7," Selected "+se(f.length)+" "+se(f.length>1?"topics":"topic"),1)):ae("",!0)]),default:Te(()=>[g("pre",R7,[g("code",null,se(r.selectedTopics),1)])]),_:1},8,["modelValue","options","custom-label"])]),g("div",P7,[g("button",{class:"w-full bg-[#F95C22] rounded-full py-2.5 px-6 font-['Blinker'] hover:bg-hover-orange duration-300",onClick:t[6]||(t[6]=()=>{r.showFilterModal=!1,r.onSubmit()})},[g("span",L7,se(e.$t("resources.search")),1)])])])],2),g("button",{class:"block md:hidden w-full bg-[#F95C22] rounded-full py-2.5 px-6 font-['Blinker'] hover:bg-hover-orange duration-300 mb-8",onClick:t[7]||(t[7]=f=>r.showFilterModal=!0)},t[21]||(t[21]=[g("span",{class:"flex gap-2 justify-center items-center text-base leading-7 font-semibold text-black normal-case"},[ft(" Filter and search "),g("img",{class:"w-5 h-5",src:"/images/filter.svg"})],-1)])),r.tags.length?(k(),P("div",I7,[g("div",N7,[(k(!0),P(Ve,null,Qe(r.tags,f=>(k(),P("div",{key:f.id,class:"bg-light-blue-100 pl-4 pr-3 py-1 rounded-full text-slate-500 text-[16px] font-semibold"},[g("div",V7,[g("span",null,se(f.name),1),g("button",{onClick:p=>r.removeSelectedItem(f)},t[22]||(t[22]=[g("img",{class:"w-4 h-4",src:"/images/close-icon.svg"},null,-1)]),8,F7)])]))),128)),g("div",$7,[g("button",{class:"text-dark-blue underline font-semibold text-[16px]",onClick:t[8]||(t[8]=(...f)=>r.removeAllSelectedItems&&r.removeAllSelectedItems(...f))}," Clear all filters ")])])])):ae("",!0)]),g("div",B7,[t[23]||(t[23]=g("div",{class:"absolute w-full h-[800px] bg-yellow-50 md:hidden top-0",style:{"clip-path":"ellipse(270% 90% at 38% 90%)"}},null,-1)),t[24]||(t[24]=g("div",{class:"absolute w-full h-[800px] bg-yellow-50 hidden md:block top-0",style:{"clip-path":"ellipse(88% 90% at 50% 90%)"}},null,-1)),g("div",H7,[g("div",U7,[g("div",j7,[(k(!0),P(Ve,null,Qe(r.tools,f=>(k(),it(c,{key:f.id,tool:f},null,8,["tool"]))),128))]),r.pagination.last_page>1?(k(),it(h,{key:0,pagination:r.pagination,offset:5,onPaginate:r.paginate},null,8,["pagination","onPaginate"])):ae("",!0)])])])])}const W7=gt(y7,[["render",q7]]),Y7={props:{mapTileUrl:String,profile:{type:Object,default:()=>({})},locations:{type:Array,default:()=>[]}},setup(e){const t=de([]),n=de([]),r=pe(()=>{try{const m=JSON.parse(e.profile);return console.log(">>> profile",m),m}catch(m){return console.error("Parse profile data error",m),{}}}),s=pe(()=>r.value.type==="organisation"),a=m=>{if(typeof m!="string")return m;try{return JSON.parse(m)}catch{return[]}},o=pe(()=>{var b,A,H,V;const m=r.value;if(m.type!=="organisation")return null;const y=[];m.organisation_mission&&y.push({title:"Introduction",list:[m.organisation_mission]}),(b=m.support_activities)!=null&&b.length&&y.push({title:"What kind of activities or support can you offer to schools and educators?",list:m.support_activities}),(A=m.target_school_types)!=null&&A.length&&y.push({title:"What types of schools are you most interested in working with?",list:m.target_school_types}),(H=m.digital_expertise_areas)!=null&&H.length&&y.push({title:"What areas of digital expertise does your organisation or you specialise in?",list:m.digital_expertise_areas}),m.description&&y.push({title:"Do you have any additional information or comments that could help us better match you with schools and educators?",list:[m.description]});const[_]=(m.website||"").split(",")||[];return{name:m.organisation_name,description:m.description,location:((V=e.locations.find(({iso:x})=>x===m.country))==null?void 0:V.name)||"",email:m.email,website:(_||"").trim(),abouts:y,short_intro:"",availabilities:[],phone:"",avatarDark:m.avatar_dark,avatar:m.avatar}}),u=pe(()=>{var _,b;const m=r.value;if(m.type!=="volunteer")return null;const y=[];return m.description&&y.push({title:"Introduction",list:[m.description]}),m.organisation_name&&m.organisation_type&&y.push({title:"Organisation",list:[`Organisation name: ${m.organisation_name}`,`Organisation type: ${a(m.organisation_type)}`]}),m.why_volunteering&&y.push({title:"Why am I volunteering?",list:[m.why_volunteering]}),(_=m.support_activities)!=null&&_.length&&y.push({title:"What kind of activities or support can you offer to schools and educators?",list:a(m.support_activities)}),(b=m.languages)!=null&&b.length&&y.push({title:"Languages spoken",list:a(m.languages)}),{name:`${m.first_name||""} ${m.last_name}`.trim(),description:m.description,location:m.location,email:m.email,get_email_from:m.get_email_from,linkedin:m.linkedin,facebook:m.facebook,website:m.website,job_title:m.job_title,abouts:y,short_intro:"",availabilities:[],phone:"",avatar:m.avatar}}),c=pe(()=>{const m=o.value||u.value||{};return m.linkedin&&!m.linkedin.startsWith("http")&&(m.linkedin=`https://${m.linkedin}`),m.facebook&&!m.facebook.startsWith("http")&&(m.facebook=`https://${m.facebook}`),m.website&&!m.website.startsWith("http")&&(m.website=`https://${m.website}`),m}),h=m=>{const y=n.value.filter(_=>_!==m);n.value.includes(m)?n.value=y:n.value=[...n.value,m]},f=(m,y)=>{m&&(t.value[y]=m)},p=async()=>{let m=[51,10];try{const b=await Tt("https://nominatim.openstreetmap.org/search",{params:{format:"json",q:c.value.location}});if(b.data&&b.data.length>0){const{lat:A,lon:H}=b.data[0];A&&H&&(m=[A,H])}}catch(b){console.log(b)}const y=L.map("map-id");L.tileLayer(e.mapTileUrl,{maxZoom:18,attribution:'© Mapbox ',tileSize:512,zoomOffset:-1,zoomControl:!1}).addTo(y),console.log(m);const _=L.icon({iconUrl:"/images/marker-orange.svg",iconSize:[44,62],iconAnchor:[22,62],popupAnchor:[0,-60]});L.marker(m,{icon:_}).addTo(y),y.setView(m,12)};return Ft(()=>{setTimeout(()=>{p()},2e3)}),{isOrganisation:s,data:c,descriptionRefs:t,showAboutIndexes:n,handleToggleAbout:h,setDescriptionRef:f}}},z7={id:"codeweek-matchmaking-tool",class:"font-['Blinker'] overflow-hidden"},K7={class:"relative flex overflow-hidden"},G7={class:"flex codeweek-container-lg py-10 tablet:py-20"},J7={class:"flex flex-col lg:flex-row gap-12 tablet:gap-20 xl:gap-32 2xl:gap-[260px]"},Z7={class:"text-dark-blue text-[30px] md:text-4xl leading-[44px] font-normal md:font-medium font-['Montserrat'] mb-6"},X7=["innerHTML"],Q7={class:"text-dark-blue text-[22px] md:text-3xl leading-[36px] font-medium font-['Montserrat'] mb-6"},e9={class:"accordion"},t9={class:"bg-transparent border-b-2 border-solid border-[#A4B8D9]"},n9=["onClick"],r9={class:"text-[#20262C] font-semibold text-lg font-['Montserrat']"},s9={class:"flex flex-col gap-0 text-slate-500 text-xl font-normal w-full"},i9=["innerHTML"],a9={class:"flex-shrink-0 lg:max-w-[460px] w-full"},l9=["src"],o9={key:1,class:"rounded-xl h-full w-full object-cover",src:"/images/matchmaking-tool/tool-placeholder.png"},u9={class:"text-[#20262C] font-semibold text-lg p-0 mb-10"},c9={key:0},d9={key:0,class:"text-[#20262C] text-xl leading-[36px] font-medium font-['Montserrat'] mb-4 italic"},f9={class:"border-l-[4px] border-[#F95C22] pl-4"},h9=["innerHTML"],p9={class:"relative overflow-hidden"},m9={class:"codeweek-container-lg relative pt-20 pb-16 md:pt-40 md:pb-28"},g9={class:"bg-white px-5 py-10 lg:p-16 rounded-[32px] flex flex-col tablet:flex-row w-full gap-10 lg:gap-0"},v9={class:"flex-1"},y9={class:"flex gap-4 mb-6"},_9={class:"p-0 text-slate-500 text-xl font-normal capitalize"},b9={key:0,class:"flex gap-4 mb-6"},w9=["href"],x9={class:"flex gap-4 mb-6"},k9=["href"],S9={key:1,class:"p-0 text-slate-500 text-xl font-normal capitalize"},T9={key:2,class:"p-0 text-slate-500 text-xl font-normal capitalize"},C9={key:1,class:"flex gap-4 mb-6"},A9=["href"],E9={key:2,class:"flex gap-4 mb-6"},O9=["href"],M9={key:3,class:"flex gap-4 mb-6"},R9=["href"],D9={key:4,class:"text-xl font-semibold text-[#20262C] mb-2"},P9={key:5,class:"flex gap-4"},L9={class:"flex flex-col gap-2"},I9={class:"grid grid-cols-2 gap-8"},N9={class:"p-0 text-slate-500 text-xl font-normal"},V9={class:"p-0 text-slate-500 text-xl font-normal"};function F9(e,t,n,r,s,a){var o,u;return k(),P("section",z7,[g("section",K7,[g("div",G7,[g("div",J7,[g("div",null,[g("h2",Z7,se(r.data.name),1),g("p",{class:"text-[#20262C] font-normal text-2xl p-0 mb-10",innerHTML:r.data.description},null,8,X7),g("h3",Q7,se(r.isOrganisation?"About our organization":"About me"),1),g("div",e9,[(k(!0),P(Ve,null,Qe(r.data.abouts,(c,h)=>{var f;return k(),P("div",t9,[g("div",{class:"py-4 cursor-pointer flex items-center justify-between duration-300",onClick:p=>r.handleToggleAbout(h)},[g("p",r9,se(c.title),1),g("div",{class:$e(["rounded-full min-w-12 min-h-12 duration-300 flex justify-center items-center ml-8",[r.showAboutIndexes.includes(h)?"bg-primary hover:bg-hover-orange":"bg-yellow hover:bg-primary"]])},[g("div",{class:$e(["duration-300",[r.showAboutIndexes.includes(h)&&"rotate-180"]])},t[0]||(t[0]=[g("img",{src:"/images/digital-girls/arrow.svg"},null,-1)]),2)],2)],8,n9),g("div",{class:"flex overflow-hidden transition-all duration-300 min-h-[1px] h-full",ref_for:!0,ref:p=>r.setDescriptionRef(p,h),style:bn({height:r.showAboutIndexes.includes(h)?`${(f=r.descriptionRefs[h])==null?void 0:f.scrollHeight}px`:0})},[g("div",s9,[(k(!0),P(Ve,null,Qe(c.list,p=>(k(),P("p",{class:"p-0 pb-4 w-full",innerHTML:p},null,8,i9))),256))])],4)])}),256))])]),g("div",a9,[g("div",{class:$e(["flex justify-center items-center rounded-xl border-2 border-[#ADB2B6] mb-4 aspect-square",[r.isOrganisation&&"p-6",r.data.avatarDark&&"bg-stone-800"]])},[r.data.avatar?(k(),P("img",{key:0,class:"rounded-xl w-full",src:r.data.avatar},null,8,l9)):(k(),P("img",o9))],2),g("p",u9,[ft(se(r.data.name)+" ",1),r.data.job_title?(k(),P("span",c9,", "+se(r.data.job_title),1)):ae("",!0)]),r.data.short_intro?(k(),P("p",d9,se(r.data.short_intro),1)):ae("",!0),g("div",f9,[g("p",{class:"p-0 text-slate-500 text-xl font-normal",innerHTML:r.data.description},null,8,h9)])])])])]),g("section",p9,[t[12]||(t[12]=g("div",{class:"absolute w-full h-full bg-yellow-50 md:hidden",style:{"clip-path":"ellipse(270% 90% at 38% 90%)"}},null,-1)),t[13]||(t[13]=g("div",{class:"absolute w-full h-full bg-yellow-50 hidden md:block lg:hidden",style:{"clip-path":"ellipse(188% 90% at 50% 90%)"}},null,-1)),t[14]||(t[14]=g("div",{class:"absolute w-full h-full bg-yellow-50 hidden lg:block xl:hidden",style:{"clip-path":"ellipse(128% 90% at 50% 90%)"}},null,-1)),t[15]||(t[15]=g("div",{class:"absolute w-full h-full bg-yellow-50 hidden xl:block",style:{"clip-path":"ellipse(93% 90% at 50% 90%)"}},null,-1)),g("div",m9,[t[11]||(t[11]=g("h2",{class:"text-dark-blue tablet:text-center text-[30px] md:text-4xl leading-7 md:leading-[44px] font-normal md:font-medium font-['Montserrat'] mb-10 tablet:mb-8"}," Contact details ",-1)),g("div",g9,[g("div",v9,[t[8]||(t[8]=g("h3",{class:"text-dark-blue text-[22px] md:text-4xl leading-7 md:leading-[44px] font-medium font-['Montserrat'] mb-4"}," Location ",-1)),t[9]||(t[9]=g("span",{class:"bg-dark-blue text-white py-1 px-4 text-sm font-semibold rounded-full whitespace-nowrap flex items-center gap-2 w-fit mb-6"},[g("img",{src:"/images/star-white.svg",class:"w-4 h-4"}),g("span",null,[ft(" Can teach Online "),g("span",{class:"font-sans"},"&"),ft(" In-person ")])],-1)),g("div",y9,[t[1]||(t[1]=g("img",{src:"/images/map.svg",class:"w-6 h-6"},null,-1)),g("div",null,[g("p",_9,se(r.data.location),1)])]),r.data.phone?(k(),P("div",b9,[t[2]||(t[2]=g("img",{src:"/images/phone.svg",class:"w-6 h-6"},null,-1)),g("a",{class:"text-dark-blue underline cursor-pointer text-xl font-semibold",href:r.data.phone},se(r.data.phone),9,w9)])):ae("",!0),g("div",x9,[t[3]||(t[3]=g("img",{src:"/images/message.svg",class:"w-6 h-6"},null,-1)),r.data.email?(k(),P("a",{key:0,class:"text-dark-blue underline cursor-pointer text-xl font-semibold",href:`mailto:${r.data.email}`},se(r.data.email),9,k9)):r.data.get_email_from?(k(),P("p",S9,se(r.data.get_email_from),1)):(k(),P("p",T9," Anonymous "))]),r.data.linkedin?(k(),P("div",C9,[t[4]||(t[4]=g("img",{src:"/images/social/linkedin.svg",class:"w-6 h-6"},null,-1)),g("a",{class:"text-dark-blue underline cursor-pointer text-xl font-semibold",href:r.data.linkedin}," LinkedIn ",8,A9)])):ae("",!0),r.data.facebook?(k(),P("div",E9,[t[5]||(t[5]=g("img",{src:"/images/social/facebook.svg",class:"w-6 h-6"},null,-1)),g("a",{class:"text-dark-blue underline cursor-pointer text-xl font-semibold",href:r.data.facebook}," Facebook ",8,O9)])):ae("",!0),r.data.website?(k(),P("div",M9,[t[6]||(t[6]=g("img",{src:"/images/profile.svg",class:"w-6 h-6"},null,-1)),g("a",{class:"text-dark-blue underline cursor-pointer text-xl font-semibold",href:r.data.website}," Website ",8,R9)])):ae("",!0),(o=r.data.availabilities)!=null&&o.length?(k(),P("div",D9," My availability ")):ae("",!0),(u=r.data.availabilities)!=null&&u.length?(k(),P("div",P9,[t[7]||(t[7]=g("img",{src:"/images/map.svg",class:"w-6 h-6"},null,-1)),g("div",L9,[(k(!0),P(Ve,null,Qe(r.data.availabilities,({dateText:c,timeText:h})=>(k(),P("div",I9,[g("p",N9,se(c),1),g("p",V9,se(h),1)]))),256))])])):ae("",!0)]),t[10]||(t[10]=g("div",{class:"flex-1"},[g("div",{id:"map-id",class:"relative z-50 w-full h-64 md:h-full md:min-h-96 rounded-2xl bg-gray-100"})],-1))])])])])}const $9=gt(Y7,[["render",F9]]),B9={props:["user"],components:{ImageUpload:Mw,Flash:dd},data(){return{avatar:this.user.avatar_path}},computed:{canUpdate(){return console.log("user",this.user),this.$authorize(e=>e.id===this.user.id)},hasAvatar(){return console.log(this.avatar),this.avatar.split("/").pop()!=="default.png"}},methods:{onLoad(e){this.persist(e.file)},persist(e){let t=new FormData;t.append("avatar",e),axios.post(`/api/users/${this.user.id}/avatar`,t).then(n=>{this.avatar=n.data.path,ei.emit("flash",{message:"Avatar uploaded!",level:"success"})})},remove(){console.log("delete me"),axios.delete("/api/users/avatar").then(()=>ei.emit("flash",{message:"Avatar Deleted!",level:"success"})),this.avatar="https://s3-eu-west-1.amazonaws.com/codeweek-dev/avatars/default.png"}}},H9={class:"flex flex-col tablet:flex-row tablet:items-center gap-6 tablet:gap-14"},U9={class:"flex"},j9={class:"relative"},q9=["src"],W9={key:0,method:"POST",enctype:"multipart/form-data",class:"absolute bottom-0 left-0"},Y9={style:{display:"flex","align-items":"flex-end","margin-left":"-35px"}},z9={class:"text-white font-normal text-3xl tablet:font-medium tablet:text-5xl font-['Montserrat'] mb-6"};function K9(e,t,n,r,s,a){const o=at("image-upload");return k(),P("div",H9,[g("div",U9,[g("div",j9,[g("img",{src:s.avatar,class:"w-40 h-40 rounded-full border-4 border-solid border-dark-blue-300"},null,8,q9),a.canUpdate?(k(),P("form",W9,[he(o,{name:"avatar",class:"mr-1",onLoaded:a.onLoad},null,8,["onLoaded"])])):ae("",!0),g("div",Y9,[Cn(g("button",{class:"absolute !bottom-0 !right-0 flex justify-center items-center !h-10 !w-10 !p-0 bg-[#FE6824] rounded-full !border-2 !border-solid !border-white",onClick:t[0]||(t[0]=(...u)=>a.remove&&a.remove(...u))},t[1]||(t[1]=[g("img",{class:"w-5 h-5",src:"/images/trash.svg"},null,-1)]),512),[[Fr,a.hasAvatar]])])])]),g("div",null,[g("h1",z9,se(n.user.fullName),1)])])}const G9=gt(B9,[["render",K9]]),J9={install(e){e.config.globalProperties.$authorize=function(...t){return window.App.signedIn?typeof t[0]=="string"?authorizations[t[0]](t[1]):t[0](window.App.user):!1}}},Z9={data(){return{images:[{src:"https://cdn.builder.io/api/v1/image/assets/TEMP/1e054358a7188baf8777a09512012cf16ab84970ef1c7610feb6dad13e504666",alt:"Consortium partner visual representation"},{src:"https://cdn.builder.io/api/v1/image/assets/TEMP/2972cd5748880295748a9baa3e8fe3c996a0cdc09d86b46dbc72790d1cbc0655",alt:"Gallery image 1"},{src:"https://cdn.builder.io/api/v1/image/assets/TEMP/fb06d640ec9446e59ef5e3fb63ceaaaf0b25d0117f209f11e3ab8e6ce3240acb",alt:"Gallery image 2"},{src:"https://cdn.builder.io/api/v1/image/assets/TEMP/1e054358a7188baf8777a09512012cf16ab84970ef1c7610feb6dad13e504666",alt:"Gallery image 3"},{src:"https://cdn.builder.io/api/v1/image/assets/TEMP/2972cd5748880295748a9baa3e8fe3c996a0cdc09d86b46dbc72790d1cbc0655",alt:"Gallery image 4"},{src:"https://cdn.builder.io/api/v1/image/assets/TEMP/fb06d640ec9446e59ef5e3fb63ceaaaf0b25d0117f209f11e3ab8e6ce3240acb",alt:"Gallery image 5"}],currentIndex:0}},methods:{nextImage(){this.currentIndex=(this.currentIndex+1)%this.images.length,this.scrollToThumbnail()},prevImage(){this.currentIndex=this.currentIndex===0?this.images.length-1:this.currentIndex-1,this.scrollToThumbnail()},selectImage(e){this.currentIndex=e,this.scrollToThumbnail()},scrollToThumbnail(){const e=this.$refs.thumbnailGallery,t=e.clientWidth/3,n=Math.max(0,(this.currentIndex-1)*t);e.scrollTo({left:n,behavior:"smooth"})}}},X9={class:"flex flex-col pt-3.5"},Q9={class:"flex py-4 md:py-20 relative flex-col mt-3.5 w-full bg-aqua max-md:max-w-full items-center"},ej={class:"z-0 flex flex-col items-start justify-between max-w-full gap-10 p-10 md:px-24"},tj={class:"grid w-full grid-cols-1 md:grid-cols-2 gap-x-8"},nj={class:"flex items-start justify-start"},rj=["src","alt"],sj={class:"w-full overflow-hidden image-gallery"},ij={ref:"thumbnailGallery",class:"flex gap-4 overflow-x-auto flex-nowrap"},aj=["src","alt","onClick"],lj={class:"flex justify-end w-full mt-4 image-gallery-controls"},oj={class:"flex flex-wrap items-center gap-5"};function uj(e,t,n,r,s,a){return k(),P("section",X9,[g("div",Q9,[g("div",ej,[g("div",tj,[t[2]||(t[2]=kb('Consortium Partner Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat.
Website link ',1)),g("div",nj,[g("img",{src:s.images[s.currentIndex].src,alt:s.images[s.currentIndex].alt,class:"main-image object-contain aspect-[1.63] w-full md:w-[480px] max-md:max-w-full"},null,8,rj)])]),g("div",sj,[g("div",ij,[(k(!0),P(Ve,null,Qe(s.images,(o,u)=>(k(),P("img",{key:u,src:o.src,alt:"Gallery image "+(u+1),class:$e([{"border-2 border-orange-500":s.currentIndex===u},"thumbnail cursor-pointer object-contain shrink-0 aspect-[1.5] min-h-[120px] w-[calc(33.33%-8px)]"]),onClick:c=>a.selectImage(u)},null,10,aj))),128))],512)]),g("div",lj,[g("div",oj,[g("button",{onClick:t[0]||(t[0]=(...o)=>a.prevImage&&a.prevImage(...o)),class:"flex group flex-col justify-center items-center self-stretch my-auto w-8 h-8 bg-orange-500 rounded min-h-[24px]"},t[3]||(t[3]=[g("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[g("rect",{width:"32",height:"32",rx:"4",class:"fill-primary group-hover:fill-secondary"}),g("path",{d:"M19 22L13 16L19 10",stroke:"white","stroke-width":"2.5","stroke-linecap":"round","stroke-linejoin":"round"})],-1)])),g("button",{onClick:t[1]||(t[1]=(...o)=>a.nextImage&&a.nextImage(...o)),class:"flex group flex-col justify-center items-center self-stretch my-auto w-8 h-8 bg-orange-500 rounded min-h-[24px]"},t[4]||(t[4]=[g("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[g("rect",{width:"32",height:"32",rx:"4",class:"fill-primary group-hover:fill-secondary"}),g("path",{d:"M13 22L19 16L13 10",stroke:"white","stroke-width":"2.5","stroke-linecap":"round","stroke-linejoin":"round"})],-1)]))])])])])])}const cj=gt(Z9,[["render",uj],["__scopeId","data-v-5aad3e31"]]),Ut=bc({});Ut.use(J9);Ut.use(kL,{resolve:async e=>await Object.assign({"../lang/php_al.json":()=>Vt(()=>import("./php_al-B8LvIwps.js"),[]),"../lang/php_ba.json":()=>Vt(()=>import("./php_ba-BzJ-z0Pe.js"),[]),"../lang/php_bg.json":()=>Vt(()=>import("./php_bg-DFS4_Pdh.js"),[]),"../lang/php_cs.json":()=>Vt(()=>import("./php_cs-C1pA5Q0X.js"),[]),"../lang/php_da.json":()=>Vt(()=>import("./php_da-BEH8waSq.js"),[]),"../lang/php_de.json":()=>Vt(()=>import("./php_de-BPkeRUdS.js"),[]),"../lang/php_el.json":()=>Vt(()=>import("./php_el-DQN96lKd.js"),[]),"../lang/php_en.json":()=>Vt(()=>import("./php_en-DFNv0AYS.js"),[]),"../lang/php_es.json":()=>Vt(()=>import("./php_es-BqNWO0kV.js"),[]),"../lang/php_et.json":()=>Vt(()=>import("./php_et-Chcm9kTI.js"),[]),"../lang/php_fi.json":()=>Vt(()=>import("./php_fi-eq66yxRZ.js"),[]),"../lang/php_fr.json":()=>Vt(()=>import("./php_fr-BPmXyDfB.js"),[]),"../lang/php_hr.json":()=>Vt(()=>import("./php_hr-CovIToS-.js"),[]),"../lang/php_hu.json":()=>Vt(()=>import("./php_hu-5rXDIRDO.js"),[]),"../lang/php_it.json":()=>Vt(()=>import("./php_it-MKBejmsr.js"),[]),"../lang/php_lt.json":()=>Vt(()=>import("./php_lt-F_cDMZOe.js"),[]),"../lang/php_lv.json":()=>Vt(()=>import("./php_lv-D7Azvi8e.js"),[]),"../lang/php_me.json":()=>Vt(()=>import("./php_me-CYzRqctk.js"),[]),"../lang/php_mk.json":()=>Vt(()=>import("./php_mk-D2xvZewH.js"),[]),"../lang/php_mt.json":()=>Vt(()=>import("./php_mt-Do5KEpXJ.js"),[]),"../lang/php_nl.json":()=>Vt(()=>import("./php_nl-CgP1tC_S.js"),[]),"../lang/php_pl.json":()=>Vt(()=>import("./php_pl-Cq6DLX2x.js"),[]),"../lang/php_pt.json":()=>Vt(()=>import("./php_pt-MY4jMBYk.js"),[]),"../lang/php_ro.json":()=>Vt(()=>import("./php_ro-BSdeKdz6.js"),[]),"../lang/php_rs.json":()=>Vt(()=>import("./php_rs-D89BbSwz.js"),[]),"../lang/php_sk.json":()=>Vt(()=>import("./php_sk-Ch-v8U41.js"),[]),"../lang/php_sl.json":()=>Vt(()=>import("./php_sl-DXFtGOop.js"),[]),"../lang/php_sv.json":()=>Vt(()=>import("./php_sv-C1qL1-11.js"),[]),"../lang/php_tr.json":()=>Vt(()=>import("./php_tr-FAMZLeo4.js"),[]),"../lang/php_ua.json":()=>Vt(()=>import("./php_ua-DaGA_lqY.js"),[])})[`../lang/${e}.json`]()});Ut.component("ActivityForm",v4);Ut.component("ResourceForm",OV);Ut.component("ResourceCard",U1);Ut.component("ResourcePill",H1);Ut.component("Pagination",fd);Ut.component("Singleselect",LV);Ut.component("PasswordField",$V);Ut.component("Multiselect",qV);Ut.component("CountrySelect",GV);Ut.component("ModerateEvent",gF);Ut.component("ReportEvent",fH);Ut.component("AutocompleteGeo",$F);Ut.component("DateTime",e8);Ut.component("Question",f8);Ut.component("PictureForm",x8);Ut.component("Flash",dd);Ut.component("InputTags",tH);Ut.component("SearchPageComponent",i7);Ut.component("AvatarForm",G9);Ut.component("PartnerGallery",cj);Ut.component("MatchMakingToolForm",W7);Ut.component("ToolCard",Iw);Ut.component("ToolDetailCard",$9);Ut.component("EventCard",Lw);Ut.component("EventDetail",LU);Ut.component("SelectField",Fo);Ut.mount("#app");
diff --git a/public/build/assets/php_lt-B3ViOhiz.js b/public/build/assets/php_lt-F_cDMZOe.js
similarity index 63%
rename from public/build/assets/php_lt-B3ViOhiz.js
rename to public/build/assets/php_lt-F_cDMZOe.js
index 03d68ade1..ebf4955be 100644
--- a/public/build/assets/php_lt-B3ViOhiz.js
+++ b/public/build/assets/php_lt-F_cDMZOe.js
@@ -1,7 +1,7 @@
const i={"about.why_coding-quote":`ES programavimo savaitės ambasadorių savanorių komandos koordinatorius Alessandro Bogliolo pasakė:
„Nuo neatmenamų laikų žmogus kūrė naudodamas akmenį, geležį, popierių ar pieštuką, ir tai pakeitė mūsų gyvenimą. Dabar mes gyvename kitoje eroje, kurioje kuriame savo pasaulį kompiuteriniu kodu. Kita era – kitokie darbų ir įgūdžių poreikiai. Programavimo savaitės metu norime suteikti kiekvienam progą susipažinti su programavimu ir kartu patirti džiaugsmą. Išmokime programuoti, kad galėtume kurti savo ateitį.“
-
`,"ambassador.title":"ES programavimo savaitės ambasadoriai","ambassador.your_current_country":"Jūsų gyvenamoji šalis","ambassador.visit_the":"Apsilankykite","ambassador.local_facebook_page":"„Facebook“ puslapis","ambassador.local_website":"svetainė","ambassador.ambassadors":"Ambasadoriai","ambassador.no_ambassadors":"Nėra ambasadorių","ambassador.countries_with_ambassadors":"Šalys, kurios turi ambasadorius","ambassador.why_dont_you_volunteer":"Kodėl jums netapus ambasadoriumi?","auth.failed":"Šie prisijungimo duomenys neatitinka mūsų įrašų.","auth.throttle":"Per daug bandymų prisijungti. Bandykite dar kartą po :seconds s.","base.languages.en":"AnglŲ","base.languages.fr":"PrancűzŲ","base.languages.bg":"BulgarŲ","base.languages.hr":"KroatŲ","base.languages.de":"VokiečiŲ","base.languages.pl":"LenkŲ","base.languages.cs":"ČekŲ","base.languages.el":"GraikŲ","base.languages.pt":"PortugalŲ","base.languages.da":"DanŲ","base.languages.hu":"VengrŲ","base.languages.ro":"RumunŲ","base.languages.nl":"OlandŲ","base.languages.ga":"AiriŲ","base.languages.sk":"SlovakŲ","base.languages.it":"ItalŲ","base.languages.sl":"SlovënŲ","base.languages.et":"EstŲ","base.languages.lv":"LatviŲ","base.languages.es":"IspanŲ","base.languages.fi":"SuomiŲ","base.languages.lt":"LietuviŲ","base.languages.se":"ĐvedŲ","base.languages.sv":"ĐvedŲ","base.languages.al":"albanų","base.languages.ba":"bosnių","base.languages.mk":"makedonų","base.languages.me":"juodkalniečių","base.languages.rs":"serbų","base.languages.mt":"Maltiečių","base.languages.tr":"Turkų","base.resources_local_title":"Programavimo iđtekliai iđ","base.days":"Dienos","base.hours":"Valandos","base.minutes":"Minutës","base.seconds":"Sekundës","base.still_have_question":"Dar turite klausimų?","base.drop_us_a_line":"Rašykite mums!","base.get_in_touch":"SUSISIEKTI","base.footer_msg":"Savanorių vykdoma ir Europos Komisijos remiama visuomeninė iniciatyva.","base.email":"El. pašto adresas","base.display_email":"Rodyti el. pašto adresą","base.first_name":"Vardas","base.last_name":"Pavardė","base.your_website":"Jūsų svetainė","base.biography":"Biografija","base.update":"Atnaujinti","base.delete":"Ištrinti","base.choose a file":"Pasirinkti failą","base.learning_bits":"Mokymosi segmentai","base.codeweek":"Programavimo savaitė","base.bring_codeweek_to_your_students":"Įtraukite savo moksleivius į Programavimo savaitę","base.or":"arba","base.newsletter":"Naujienlaiškis","certificates.certificates_for":"Sertifikatai ","certificates.no_certificates":"Sertifikatų dar nėra.","challenges-content.create-your-own-website-with-html-and-css.title":"Izveido savu mājaslapu ar HTML un CSS","challenges-content.create-your-own-website-with-html-and-css.author":"Marko Šolić","challenges-content.create-your-own-website-with-html-and-css.purposes_title":"Izaicinājuma mērķis","challenges-content.create-your-own-website-with-html-and-css.purposes.0":"Šī izaicinājuma mērķis ir iepazīstināt iesācējus ar tīmekļa izstrādes pasauli.","challenges-content.create-your-own-website-with-html-and-css.purposes.1":"Pabeidzot šo projektu, dalībnieki apgūs HTML un CSS pamatus, kas ir būtiski tīmekļa lapu izveidē un noformēšanā.","challenges-content.create-your-own-website-with-html-and-css.purposes.2":"Izaicinājums uzsver praktisku mācīšanos, palīdzot tev izveidot savu mājaslapu no nulles.","challenges-content.create-your-own-website-with-html-and-css.purposes.3":"Jūs iegūsiet būtiskas prasmes tīmekļa dizainā un kļūsiet pārliecinātāki par savas klātbūtnes veidošanu tiešsaistē.","challenges-content.create-your-own-website-with-html-and-css.description_title":"Izaicinājuma apraksts","challenges-content.create-your-own-website-with-html-and-css.description.0":"Tīmekļa vietnes ir interneta klātbūtnes pamats. Šajā nodarbībā jūs uzzināsiet, kā izmantot HTML satura strukturēšanai un CSS savas pirmās tīmekļa vietnes stilizēšanai un izveidei.","challenges-content.create-your-own-website-with-html-and-css.description.1":"Izmantojot jautrus soļus, jūs izveidosiet lapu, kas var saturēt tekstu, attēlus, krāsas un saites.","challenges-content.create-your-own-website-with-html-and-css.target_audience_title":"Mērķauditorija","challenges-content.create-your-own-website-with-html-and-css.target_audience.0":"Šis izaicinājums ir paredzēts iesācējiem, kuri vēlas iemācīties, kā veidot mājaslapas.","challenges-content.create-your-own-website-with-html-and-css.target_audience.1":"Tas ir ideāli piemērots cilvēkiem, kas ir jauni tīmekļa izstrādē, studentiem vai jebkuram, kuru interesē tas, kā mājaslapas tiek veidotas.","challenges-content.create-your-own-website-with-html-and-css.target_audience.2":"Iepriekšēja programmēšanas pieredze nav nepieciešama.","challenges-content.create-your-own-website-with-html-and-css.experience_title":"Pieredze","challenges-content.create-your-own-website-with-html-and-css.experience.0":"Tas ir izaicinājums iesācēju līmenim. Lai gan var noderēt pamatzināšanas par datora lietošanu, piemēram, teksta redaktora izmantošana, taču tas nav obligāti nepieciešams.","challenges-content.create-your-own-website-with-html-and-css.experience.1":"Šis izaicinājums ir veidots kā ievads HTML un CSS.","challenges-content.create-your-own-website-with-html-and-css.duration_title":"Ilgums","challenges-content.create-your-own-website-with-html-and-css.duration":"Paredzams, ka šis izaicinājums ilgs aptuveni 1 līdz 2 stundas atkarībā no jūsu pieredzes līmeņa un tā, cik daudz jūs izpētīsiet ārpus pamatiem.","challenges-content.create-your-own-website-with-html-and-css.materials_title":"Ieteicamie rīki:","challenges-content.create-your-own-website-with-html-and-css.materials.0":"Dators / Klēpjdators","challenges-content.create-your-own-website-with-html-and-css.materials.1":"Parasts teksta redaktors, piemēram, Notepad (Windows) vai TextEdit (Mac)","challenges-content.create-your-own-website-with-html-and-css.instructions_title":"Instrukcijas","challenges-content.create-your-own-website-with-html-and-css.instructions.0":"Padomi skolotājiem pirms sākt:","challenges-content.create-your-own-website-with-html-and-css.instructions.1":"Ja tīmekļa izstrāde ir jūsu iesācēja, neuztraucieties! Šeit ir daži padomi, kas palīdzēs jums vadīt studentus šajā procesā:","challenges-content.create-your-own-website-with-html-and-css.instructions.2":"Sāciet ar pamatiem: Koncentrējieties uz HTML (tīmekļa lapas struktūra) un CSS (stila elementi) pamatjēdzienu izskaidrošanu.","challenges-content.create-your-own-website-with-html-and-css.instructions.3":"Esiet pacietīgi un dodiet studentiem laiku, lai izprastu katra taga un rekvizīta mērķi.","challenges-content.create-your-own-website-with-html-and-css.instructions.4":"Paskaidrojiet struktūru: Iepazīstinot ar HTML tagiem, vizuāli izskaidrojiet dokumenta struktūru.","challenges-content.create-your-own-website-with-html-and-css.instructions.5":"Parādiet studentiem saistību starp atvēršanas un aizvēršanas tagiem, atribūtiem un ligzdošanu.","challenges-content.create-your-own-website-with-html-and-css.instructions.6":"Izvairieties no bieži pieļautām kļūdām: Iesācēji bieži aizmirst pareizi aizvērt tagus vai nepareizi ievieto cirtainās iekavas {}.","challenges-content.create-your-own-website-with-html-and-css.instructions.7":"Atgādiniet studentiem regulāri pārbaudīt sintakses kļūdas.","challenges-content.create-your-own-website-with-html-and-css.instructions.8":"Interaktīva mācīšanās: Mudiniet studentus eksperimentēt ar teksta un stilu maiņu.","challenges-content.create-your-own-website-with-html-and-css.instructions.9":"Parādiet viņiem, kā nelielas izmaiņas HTML vai CSS var nekavējoties atspoguļoties lapā, atsvaidzinot pārlūkprogrammu.","challenges-content.create-your-own-website-with-html-and-css.instructions.10":'Esiet atvērti radošumam: Nav viena "pareiza" veida, kā izveidot tīmekļa vietni.',"challenges-content.create-your-own-website-with-html-and-css.instructions.11":"Mudiniet studentus izpētīt dažādus fontus, krāsas un izkārtojumus.","challenges-content.create-your-own-website-with-html-and-css.instructions.12":"Biežākās kļūdas, kam jāpievērš uzmanība:","challenges-content.create-your-own-website-with-html-and-css.instructions.13":"Aizmirst sasaistīt CSS failu ar HTML failu.","challenges-content.create-your-own-website-with-html-and-css.instructions.14":"Nepareiza tagu iegulšana HTML.","challenges-content.create-your-own-website-with-html-and-css.instructions.15":'Rakstības kļūdas CSS īpašībās (piemēram, "colour" vietā "color").',"challenges-content.create-your-own-website-with-html-and-css.instructions.16":"Pārlieku sarežģīta lapas struktūra – vienkāršas mājaslapas var izskatīties ļoti profesionāli ar dažām koda rindām!","challenges-content.create-your-own-website-with-html-and-css.instructions.17":"1. solis: Vides sagatavošana","challenges-content.create-your-own-website-with-html-and-css.instructions.18":"Lai izveidotu mājaslapu, nav nepieciešams instalēt īpašus rīkus — pietiek ar parastu teksta redaktoru, piemēram, Notepad (Windows) vai TextEdit (Mac).","challenges-content.create-your-own-website-with-html-and-css.instructions.19":"Visa mājaslapa var tikt veidota ar vienkāršu teksta redaktoru, un internetā ir pat vietnes, kas ir pilnībā izveidotas šādā veidā.","challenges-content.create-your-own-website-with-html-and-css.instructions.20":"Ja vēlies redzēt piemēru, apskati Horvātijas informātikas asociācijas vietni: hsin.hr","challenges-content.create-your-own-website-with-html-and-css.instructions.21":"2. solis: Pamata HTML dokumenta struktūra","challenges-content.create-your-own-website-with-html-and-css.instructions.22":"Atver jaunu dokumentu savā redaktorā un saglabā to kā index.html","challenges-content.create-your-own-website-with-html-and-css.instructions.23":"Atkarībā no Windows vai Mac versijas, kuru izmanto, tev var būt nepieciešams vispirms atrast iespēju mainīt faila paplašinājumu, jo tavais index.txt jāmaina uz index.html .","challenges-content.create-your-own-website-with-html-and-css.instructions.24":"Ievadi tālāk norādīto pamata HTML dokumenta struktūru:","challenges-content.create-your-own-website-with-html-and-css.instructions.25":"","challenges-content.create-your-own-website-with-html-and-css.instructions.26":'',"challenges-content.create-your-own-website-with-html-and-css.instructions.27":"","challenges-content.create-your-own-website-with-html-and-css.instructions.28":' ',"challenges-content.create-your-own-website-with-html-and-css.instructions.29":' ',"challenges-content.create-your-own-website-with-html-and-css.instructions.30":"My first website ","challenges-content.create-your-own-website-with-html-and-css.instructions.31":"","challenges-content.create-your-own-website-with-html-and-css.instructions.32":"","challenges-content.create-your-own-website-with-html-and-css.instructions.33":"Welcome to my website! ","challenges-content.create-your-own-website-with-html-and-css.instructions.34":"This is my first website I created using HTML and CSS.
","challenges-content.create-your-own-website-with-html-and-css.instructions.35":"","challenges-content.create-your-own-website-with-html-and-css.instructions.36":"","challenges-content.create-your-own-website-with-html-and-css.instructions.37":"3. solis: Stilu pievienošana ar CSS","challenges-content.create-your-own-website-with-html-and-css.instructions.38":"CSS tiek izmantots, lai stilizētu lapas elementus. Sāc ar pamata stilu pievienošanu, piemēram, fona krāsu, teksta krāsu un fonta izmēru.","challenges-content.create-your-own-website-with-html-and-css.instructions.39":"Tajā pašā mapē izveido jaunu teksta dokumentu un nosauc to par style.css .","challenges-content.create-your-own-website-with-html-and-css.instructions.40":"Ieraksti style.css failā sekojošo:","challenges-content.create-your-own-website-with-html-and-css.instructions.41":"body {","challenges-content.create-your-own-website-with-html-and-css.instructions.42":"background-color: #f0f8ff; /* gaiši zils fons */","challenges-content.create-your-own-website-with-html-and-css.instructions.43":"color: #333; /* tumši pelēks teksts */","challenges-content.create-your-own-website-with-html-and-css.instructions.44":"font-family: Arial, sans-serif; /* fonta stils */","challenges-content.create-your-own-website-with-html-and-css.instructions.45":"text-align: center; /* teksta centrēšana */","challenges-content.create-your-own-website-with-html-and-css.instructions.46":"}","challenges-content.create-your-own-website-with-html-and-css.instructions.47":"h1 {","challenges-content.create-your-own-website-with-html-and-css.instructions.48":"color: #4CAF50; /* zaļš virsraksts */","challenges-content.create-your-own-website-with-html-and-css.instructions.49":"}","challenges-content.create-your-own-website-with-html-and-css.instructions.50":"p {","challenges-content.create-your-own-website-with-html-and-css.instructions.51":"font-size: 18px; /* rindkopas fonta izmērs */","challenges-content.create-your-own-website-with-html-and-css.instructions.52":"color: #555; /* pelēki zils teksts rindkopām */","challenges-content.create-your-own-website-with-html-and-css.instructions.53":"}","challenges-content.create-your-own-website-with-html-and-css.instructions.54":"4. solis: Savieno HTML ar CSS","challenges-content.create-your-own-website-with-html-and-css.instructions.55":"Kad esi izveidojis CSS failu, tas jāpiesaista HTML dokumentam. To izdarīsi HTML faila sadaļā, pievienojot šādu rindiņu:","challenges-content.create-your-own-website-with-html-and-css.instructions.56":' ',"challenges-content.create-your-own-website-with-html-and-css.instructions.57":"Tas ļaus HTML dokumentam zināt, ka jāizmanto CSS faila stili.","challenges-content.create-your-own-website-with-html-and-css.instructions.58":"5. solis: Sāk lapas izmantošanu","challenges-content.create-your-own-website-with-html-and-css.instructions.59":"Saglabā abus failus: index.html un style.css .","challenges-content.create-your-own-website-with-html-and-css.instructions.60":"Veic dubultklikšķi uz index.html, lai to atvērtu pārlūkprogrammā.","challenges-content.create-your-own-website-with-html-and-css.instructions.61":"Tagad redzēsi savu mājaslapu ar tekstu centrā un pamata stiliem, ko pievienoji.","challenges-content.create-your-own-website-with-html-and-css.instructions.62":"Veicina daudzveidību STEM jomā:","challenges-content.create-your-own-website-with-html-and-css.instructions.63":"Tīmekļa izstrāde ir pieejama visiem! Neatkarīgi no tā, vai esi jauns students, pieaugušais, kas vēlas apgūt jaunu profesiju, vai cilvēks no mazāk pārstāvētas grupas, šī izaicinājuma laikā aicinām izpētīt aizraujošo mājaslapu veidošanas pasauli.","challenges-content.create-your-own-website-with-html-and-css.instructions.64":"STEM (zinātne, tehnoloģijas, inženierzinātnes un matemātika) jomas vēsturiski ir bijušas mazāk daudzveidīgas, tāpēc ir svarīgi iedrošināt ikvienu — neatkarīgi no dzimuma, rases vai izcelsmes — izmēģināt programmēšanu un tehnoloģijas.","challenges-content.create-your-own-website-with-html-and-css.instructions.65":"Katrā no mums ir unikālas perspektīvas un pieredze, kas var padarīt tīmekļa izstrādi radošāku un iekļaujošāku.","challenges-content.create-your-own-website-with-html-and-css.instructions.66":"Veidojot savu mājaslapu, domā par to, kā padarīt digitālo pasauli par vietu, kurā visi jūtas pārstāvēti un gaidīti.","challenges-content.create-your-own-website-with-html-and-css.instructions.67":"Nav nepieciešams būt tehnoloģiju ekspertam, lai sāktu — vienkārši sāc mācīties un veidot savu lapu soli pa solim!","challenges-content.create-your-own-website-with-html-and-css.instructions.68":"Padarīt savu mājaslapu pieejamu:","challenges-content.create-your-own-website-with-html-and-css.instructions.69":"Veidojot mājaslapu, svarīgi nodrošināt, lai tā sasniedz pēc iespējas vairāk cilvēku, tostarp ar invaliditāti.","challenges-content.create-your-own-website-with-html-and-css.instructions.70":"Šeit ir daži padomi, kā veidot pieejamākas mājaslapas:","challenges-content.create-your-own-website-with-html-and-css.instructions.71":"Kontrasts: nodrošini labu kontrastu starp fona un teksta krāsu, lai cilvēkiem ar redzes traucējumiem būtu vieglāk lasīt.","challenges-content.create-your-own-website-with-html-and-css.instructions.72":"Piemēram, gaišs fons ar tumšu tekstu ir vispiemērotākais.","challenges-content.create-your-own-website-with-html-and-css.instructions.73":"Alternatīvais teksts attēliem: ja pievieno attēlus (nākamajos soļos), pārliecinies, ka tiem ir alternatīvais teksts, kas apraksta attēla saturu.","challenges-content.create-your-own-website-with-html-and-css.instructions.74":"Tas ir īpaši noderīgi cilvēkiem, kas izmanto ekrāna lasītājus.","challenges-content.create-your-own-website-with-html-and-css.instructions.75":"Semantiskais HTML: izmanto pareizos HTML tagus labākai struktūrai un pieejamībai.","challenges-content.create-your-own-website-with-html-and-css.instructions.76":"Piemēram, izmanto galvenajam virsrakstam un rindkopām, lai ekrāna lasītāji labāk saprastu saturu.","challenges-content.create-your-own-website-with-html-and-css.instructions.77":"Lasāmība: pārliecinies, ka teksts ir viegli lasāms, izmantojot vienkāršu, bezserifu fontu, piemēram, Arial.","challenges-content.create-your-own-website-with-html-and-css.instructions.78":"Var arī palielināt fonta izmēru lasāmības uzlabošanai.","challenges-content.create-your-own-website-with-html-and-css.mini_simulation_title":"Mini pārbaudes darbs:","challenges-content.create-your-own-website-with-html-and-css.mini_simulation.0":"Pārbaudi savas zināšanas","challenges-content.create-your-own-website-with-html-and-css.mini_simulation.1":"Kas ir HTML? a) Datorvaloda attēlu radīšanai b) Valoda satura strukturēšanai tīmekļa vietnē c) Attēlu redaktors","challenges-content.create-your-own-website-with-html-and-css.mini_simulation.2":"Kas ir CSS? a) Valoda tiešsaistes datubāzu izveidei b) Valoda tīmekļa vietņu noformēšanai un izkārtojumam c) Datora failu pārvaldības programma","challenges-content.create-your-own-website-with-html-and-css.mini_simulation.3":"Kā savieno CSS ar HTML? a) Izmantojot tagu HTML dokumentā b) Izmantojot