1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6664,9656],{1096:(e,l,t)=>{t.d(l,{A:()=>n});var a=t(55427);t(97867);let n=()=>(0,a.jsx)("svg",{style:{height:"0"},"aria-hidden":"true",focusable:"false",children:(0,a.jsxs)("linearGradient",{x1:"100%",y1:"52.9343609%",x2:"0%",y2:"47.0656391%",id:"blue-gradient",children:[(0,a.jsx)("stop",{stopColor:"#1888D5",offset:"0%"}),(0,a.jsx)("stop",{stopColor:"#0A50AA",offset:"100%"})]})})},3778:(e,l,t)=>{t.d(l,{A:()=>u});var a=t(55427),n=t(64014);t(97867);var o=t(13e3),s=t(5265),i=t(38111),r=t(64170),c=t(52692),d=t(20811);let u=e=>{let{is_soa:l,school_type_title:t}=e.data.aboutParams.params,{user:u}=(0,i.Z2)(),{t:_}=(0,c.A)("course"),{isGoldenBtnInViewPort:m,isSoaSecLevelII:h}=(0,d.l)(),p=l&&t&&o.$j.includes(t),v=(0,s.A)(e.data,["aboutParams"]);return(0,a.jsxs)("div",{className:"AboutCourseProfile row row1240 mt_30",children:[Object.keys(v).map(e=>{var l,t,n,o,s,i;let r=v[e].params;if(!r||(null==u?void 0:u.current_organization)&&"relatedOrgs"===e&&((null==(t=v[e])||null==(l=t.params)?void 0:l.type)==="course"||(null==(o=v[e])||null==(n=o.params)?void 0:n.type)==="school")&&(null==(i=v[e])||null==(s=i.params)?void 0:s.segmentType)==="organization")return null;let c=v[e].component;return(0,a.jsx)(c,{data:r},e)}),e.showContactEduwoSection&&!p&&(0,a.jsx)(n.A,{}),!m&&h&&(0,a.jsx)(r.A,{btnTitle:_("soa:Du hast Fragen?"),btnDescription:_("soa:btn-description"),url:"/de/verbaende/swiss-olympic?tab=mentoring"})]})}},3977:(e,l,t)=>{t.d(l,{A:()=>a});let a=function(e){let l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"nearest";setTimeout(()=>{var t;return null==(t=document.getElementById(e))?void 0:t.scrollIntoView({behavior:"smooth",block:l})},150)}},8147:(e,l,t)=>{t.d(l,{C:()=>n,V:()=>o});var a=t(97867);let n=a.createContext({isProfileCompleted:!1,handleSetCompletedProfile:()=>{},recommendedCoursesLoading:!1,hideHeaderLinks:!1,setHideHeaderLinks:()=>{}}),o=()=>(0,a.useContext)(n)},8281:(e,l,t)=>{t.d(l,{A:()=>n});var a=t(55427);t(97867);let n=e=>{let{icon:l,title:t,body:n,className:o}=e;return(0,a.jsxs)("div",{className:"CourseOverView__info--content flex_align_center icon-30 ".concat(o||""),children:[(0,a.jsx)("div",{className:"CourseOverView__icon",children:l}),(0,a.jsxs)("div",{className:"CourseOverView__info--content-title",children:[(0,a.jsx)("h3",{className:"h4 paragraph mb_10 ml_10 CourseOverView__info--content-header",children:t}),n&&(0,a.jsx)("h5",{className:"h6 btn-label c_gray ml_10",children:n})]})]})}},8988:(e,l,t)=>{t.d(l,{A:()=>D});var a=t(55427),n=t(58310),o=t(33722),s=t(97867),i=t(27152),r=t(20548),c=t(92257),d=t(52692);let u=e=>{let{handleOnClick:l,label:t,className:n}=e,{width:s}=(0,c.A)();return(0,a.jsx)(r.default,{onClick:l,className:"CourseProfile__actions--btn z_index_3 ".concat(s<=i.A.mobile?"full_width mb_10 centered":""," ").concat(null!=n?n:""),label:t,leftIcon:(0,a.jsx)(o.bSF,{})})},_=e=>{let{handleOnClick:l,className:t}=e,{t:n}=(0,d.A)("course");return(0,a.jsx)(u,{handleOnClick:()=>{l("course-profile-counseling","course","course_infomaterial","infomaterial")},label:n("Kostenlose Beratung"),className:t})};var m=t(52886),h=t(21433),p=t(6518),v=t(61245),g=t(3540),x=t(9946);let f=e=>{var l,t,n,s,u,_,f,b;let{width:y}=(0,c.A)(),{t:j}=(0,d.A)("course"),w=(0,g.useRouter)(),N=(0,v.j)(),C=w.asPath.includes("profile_page=true"),A=(l,t,a,n)=>{var o,s,i,r;if((null==(o=e.data)?void 0:o.type)==="school"&&!(null==(s=e.data)?void 0:s.premium))return w.push("/tools/studienwahl-weiterbildung-test");(0,h.ga)("send","event","order_form","klick",a),e.fetchFormData({identifier:"".concat(t,"s"),slug:null!=(r=null==(i=e.data)?void 0:i.slug)?r:"",source:l}),e.setIsCourseModalOpen(!0),N((0,p.qf)()),n&&N((0,x.IO)(n))};return e.isInViewPort?null:y>767.98?(0,a.jsx)("div",{className:"mt_30 full_width StudyPage__btn-fixed\n ",children:(0,a.jsxs)("div",{className:"row row980 flex_align_center",children:[y>767.98&&(0,a.jsxs)("div",{className:"column_direction mr_30",children:[(0,a.jsx)("p",{className:"paragraph",children:null==(l=e.data)?void 0:l.short_name}),(0,a.jsx)("p",{className:"btn-label c_f0000 fw_600",children:null==(t=e.data)?void 0:t.name})]}),!(null==(n=e.data)?void 0:n.premium)&&(0,a.jsx)("div",{className:"".concat(y<=575.98?"column_direction":"flex_align_center"),children:(0,a.jsx)(r.default,{onClick:()=>{var l,t;return A("profile","".concat(null==(l=e.data)?void 0:l.type),"".concat(null==(t=e.data)?void 0:t.type,"_infomaterial"),"infomaterial")},className:"".concat(y>575.98?"mr_20":"mb_20"," CourseProfile__actions--btntop"),label:j("Infos zu \xe4hnlichen Kursen"),leftIcon:(0,a.jsx)(o.ROc,{})})}),(null==(s=e.data)?void 0:s.premium)&&e.data.has_counseling&&(0,a.jsx)(r.default,{onClick:()=>{var l,t,a,n;return A("".concat((null==(l=e.data)?void 0:l.type)==="school"?"school-profile":"course-profile-counseling"),null!=(n=null==(t=e.data)?void 0:t.type)?n:"","".concat(null==(a=e.data)?void 0:a.type,"_infomaterial"),"infomaterial")},className:"CourseProfile__actions--btn",label:j("Kostenlose Beratung"),leftIcon:(0,a.jsx)(o.bSF,{})}),(0,a.jsx)(m.A,{expression:(null==(u=e.data)?void 0:u.type)==="course",children:(0,a.jsx)(r.default,{type:"golden",onClick:()=>{var l,t,a;return A("".concat((null==(l=e.data)?void 0:l.type)==="school"?"school-profile":"course-profile-courses-open-spots"),null!=(a=null==(t=e.data)?void 0:t.type)?a:"","course_signup","register")},className:"CourseProfile__actions--btn z_index_3 ".concat(y<=i.A.mobile?"full_width centered":"ml_20"),label:(null==(_=e.data)?void 0:_.amount_eduwo_reimbursements_calculated)?j("Anmelden")+" & CHF ".concat(null==(f=e.data)?void 0:f.amount_eduwo_reimbursements_calculated,".-")+j("sparen"):j("Anmelden"),leftIcon:(0,a.jsx)(o.o4l,{})})})]})}):(0,a.jsxs)("div",{className:"flex mt_30 ".concat(C?"StudyPage__buttons-rec-profile-page":"StudyPage__buttons"),children:[(0,a.jsx)(r.default,{onClick:()=>{var l,t,a,n;return A("".concat((null==(l=e.data)?void 0:l.type)==="school"?"school-profile":"course-profile-infomaterial"),null!=(n=null==(t=e.data)?void 0:t.type)?n:"","".concat(null==(a=e.data)?void 0:a.type,"_infomaterial"),"infomaterial")},className:"mr_20 paragraph fw_400 StudyPage__buttons-btn centered",leftIcon:(0,a.jsx)(o.ZuO,{})}),(0,a.jsx)(m.A,{expression:null!=(b=e.data&&"course"===e.data.type)&&b,children:(0,a.jsx)(r.default,{onClick:()=>{var l,t,a;return A("".concat((null==(l=e.data)?void 0:l.type)==="school"?"school-profile":"course-profile-courses-open-spots"),null!=(a=null==(t=e.data)?void 0:t.type)?a:"","course_signup","register")},type:"golden",className:"mr_20 paragraph fw_400\n StudyPage__buttons-btn centered",leftIcon:(0,a.jsx)(o.o4l,{})})})]})};var b=t(11772);let y=async e=>await (0,b.G)({url:"/courses/".concat(e,"/comparison_course_lists"),method:"POST"});var j=t(65849),w=t(40491),N=t(38111),C=t(20811);let A=e=>{var l,t,u,b,A,S,k,P,I,z,T,M,O,L,F;let{className:D}
1=e,[R,E]=(0,s.useState)(!1),{authToken:q}=(0,N.Z2)(),B=(0,g.useRouter)(),V=(0,s.useRef)(!1),{t:G,lang:H}=(0,d.A)("course"),{width:K}=(0,c.A)(),Z=(0,v.j)(),U=(0,s.useRef)(null),W=(0,j.A)(U),J=B.asPath.includes("dashboard")&&B.asPath.includes("profile_page")&&K>=i.A.tablet,{setHasMissingButtons:Y}=(0,C.l)();(0,s.useEffect)(()=>{let l=e.data;if(!l||"course"!==l.type||!J)return void Y(!1);let t=0,a=0,n=!1;t++,a++,l.premium&&l.has_counseling?(t++,a++):l.premium&&!l.has_counseling&&(a++,n=!0),!l.premium&&(t++,a++),Y(n||t<a)},[e.data,Y,J]);let X=(l,t,a,n)=>{var o,s,i,r;if((null==(o=e.data)?void 0:o.type)==="school"&&!(null==(s=e.data)?void 0:s.premium))return B.push("/".concat(H,"/tools/studienwahl-weiterbildung-test"));(0,h.ga)("send","event","order_form","klick",a),e.fetchFormData({identifier:"".concat(t,"s"),slug:null!=(r=null==(i=e.data)?void 0:i.slug)?r:"",source:l}),e.setIsCourseModalOpen(!0),Z((0,p.qf)()),n&&Z((0,x.IO)(n))},$=async()=>{var l,t;E(!0);let a=await y(null!=(t=null==(l=e.data)?void 0:l.id)?t:0);if(!q&&a&&localStorage.setItem("comparison_eduwo_id",a.uid),a&&a.uid)return q?B.push("/".concat(H,"/studiengaenge-weiterbildungen-vergleichen/").concat(a.id)):B.push("/".concat(H,"/studiengaenge-weiterbildungen-vergleichen/").concat(a.uid))};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{ref:U,className:"CourseProfile__actions ".concat(J?"column mt_0":K>400?"flex_align_center":""," ").concat(D||""),children:[(0,a.jsx)(m.A,{expression:!(null==(l=e.data)?void 0:l.premium)&&(null==(t=e.data)?void 0:t.type)!=="expert",children:(0,a.jsx)("div",{className:"".concat(K<=575.98?"column_direction":"flex_align_center"),children:(0,a.jsx)(r.default,{onClick:()=>{var l,t,a;return X("profile",null!=(a=null==(l=e.data)?void 0:l.type)?a:"","".concat(null==(t=e.data)?void 0:t.type,"_infomaterial"),"infomaterial")},className:"".concat(K>575.98?"mr_20":"mb_20"," CourseProfile__actions--btntop ").concat(K<=767.98?"full_width centered z":""),label:G((null==(u=e.data)?void 0:u.type)==="school"?"info-similar-schools":"Infos zu \xe4hnlichen Kursen"),leftIcon:(0,a.jsx)(o.ROc,{})})})}),(0,a.jsxs)("div",{className:"".concat(K>i.A.mobile?"".concat(J?"column":"flex_align_center"):"column"),children:[(0,a.jsx)(m.A,{expression:null!=(L=(null==(b=e.data)?void 0:b.premium)&&(null==(A=e.data)?void 0:A.has_counseling)&&(null==(S=e.data)?void 0:S.type)==="school")&&L,children:(0,a.jsx)(r.default,{onClick:()=>{var l,t,a,n;return X("".concat((null==(l=e.data)?void 0:l.type)==="school"?"school-profile":"course-profile-counseling"),null!=(n=null==(t=e.data)?void 0:t.type)?n:"","".concat(null==(a=e.data)?void 0:a.type,"_infomaterial"),"infomaterial")},className:"CourseProfile__actions--btn z_index_3 ".concat(J?"full_width centered":K<=i.A.mobile?"full_width mb_10 centered":""),label:G("Kostenlose Beratung"),leftIcon:(0,a.jsx)(o.bSF,{})})}),(0,a.jsx)(m.A,{expression:null!=(F=(null==(k=e.data)?void 0:k.premium)&&(null==(P=e.data)?void 0:P.has_counseling)&&(null==(I=e.data)?void 0:I.type)==="course")&&F,children:(0,a.jsx)(_,{handleOnClick:X,className:J?"full_width centered":""})}),(0,a.jsx)(m.A,{expression:(null==(z=e.data)?void 0:z.type)==="course",children:(0,a.jsx)(r.default,{type:"golden",onClick:()=>{var l,t,a;return X("".concat((null==(l=e.data)?void 0:l.type)==="school"?"school-profile":"course-profile-courses-open-spots"),null!=(a=null==(t=e.data)?void 0:t.type)?a:"","course_signup","register")},className:"CourseProfile__actions--btn z_index_3 ".concat(J?"mt_10 full_width centered":K<=i.A.mobile?"full_width centered":"ml_20"),label:(null==(T=e.data)?void 0:T.amount_eduwo_reimbursements_calculated)?G("Anmelden")+" & CHF ".concat(null==(M=e.data)?void 0:M.amount_eduwo_reimbursements_calculated,".- ")+G("sparen"):G("Anmelden"),leftIcon:(0,a.jsx)(o.o4l,{})})}),(0,a.jsx)(m.A,{expression:(null==e||null==(O=e.data)?void 0:O.type)==="expert",children:(0,a.jsx)(r.default,{type:"golden",label:G("Jetzt kontaktieren!"),className:"white-icon",labelClassName:"ml_10",leftIcon:(0,a.jsx)(o.n_M,{}),onClick:()=>{V.current=!0,Z((0,p.qf)())}})})]}),(0,a.jsx)(f,{isInViewPort:W,data:e.data,fetchFormData:e.fetchFormData,setIsCourseModalOpen:e.setIsCourseModalOpen,isLoading:R,handleOnCreateComparison:$})]}),V.current&&(0,a.jsx)(n.default,{children:(0,a.jsx)(w.A,{expertsData:e.data,modalRef:V})})]})};var S=t(22628),k=t(84145),P=t(99910),I=t(8147),z=t(77829),T=t.n(z);let M=e=>{var l,t,n,i,u,_,f,b,y,j,w;let{className:N}=e,{t:C,lang:A}=(0,d.A)("course"),{data:z}=e,M=(0,g.useRouter)(),O=(0,v.j)(),L=(e=>[{shouldShow:(null==e?void 0:e.premium)&&(null==e?void 0:e.info_material),source:(null==e?void 0:e.type)==="school"?"school-profile":"course-profile-infomaterial",modalType:"".concat(null==e?void 0:e.type,"s"),label:(null==e?void 0:e.uploads_count)?"Infomaterial downloaden":"Infomaterial bestellen",amount:null,sparenLabel:null,gaType:"".concat(null==e?void 0:e.type,"_infomaterial")},{shouldShow:(null==e?void 0:e.premium)&&(null==e?void 0:e.has_events_open_spots)&&(null==e?void 0:e.type)==="course",source:(null==e?void 0:e.type)==="school"?"school-profile":"course-profile-events-open-spots",modalType:"courses",label:"Melde dich f\xfcr den n\xe4chsten Infotag an",amount:null,sparenLabel:null,gaType:"".concat(null==e?void 0:e.type,"_infomaterial")},{shouldShow:!!(null==e?void 0:e.contact_phone_number)&&(null==e?void 0:e.type)==="course",source:"",modalType:"phone",label:"contact_phone",amount:null,sparenLabel:null,gaType:"phone_call"}])(e.data),F=(0,S.r)(null!=(f=null==(l=e.data)?void 0:l.id)?f:0,null!=(b=null==(t=e.data)?void 0:t.short_name)?b:"",null!=(y=null==(n=e.data)?void 0:n.slug)?y:"",A),{width:D}=(0,c.A)(),{setHideHeaderLinks:R}=(0,I.V)(),E=M.asPath.includes("dashboard")&&M.asPath.includes("profile_page"),q=L.some(e=>e.shouldShow);return((0,s.useEffect)(()=>
1{if(!E||!z||"course"!==z.type)return void R(!1);R(!q)},[E,null==z?void 0:z.type,q,R]),null==(i=e.data)?void 0:i.premium)?(0,a.jsx)(m.A,{expression:q,children:(0,a.jsx)("div",{className:"CourseProfile__links ".concat(D>=1100&&!E?"flex_between":""," full_width ").concat(N||""," "),children:(0,a.jsxs)("div",{className:E?"full_width":"",children:[(0,a.jsx)("p",{className:"paragraph mb_10",children:C("Entdecke die Vorteile")}),L.map((l,t)=>{if(l.shouldShow){if("phone"===l.modalType){if(!(null==z?void 0:z.contact_phone_number))return;return(0,a.jsx)(T(),{href:"tel:".concat(z.contact_phone_number),children:(0,a.jsx)(r.default,{type:"reverse_link",className:"mb_10 fw_400 p_0 CourseProfile__links--btn",animated:!1,label:"".concat(C("Anrufen"),": ").concat(null==z?void 0:z.contact_phone_number)})},t)}return(0,a.jsx)(r.default,{onClick:()=>((l,t,a,n)=>{var o,s,i;if((null==(o=e.data)?void 0:o.type)==="school"&&!e.data.premium)return M.push("/tools/studienwahl-weiterbildung-test");(0,h.ga)("send","event","order_form","klick",a),e.fetchFormData({identifier:"".concat(t),slug:null!=(i=null==(s=e.data)?void 0:s.slug)?i:"",source:l}),e.setIsCourseModalOpen(!0),O((0,p.qf)()),n&&O((0,x.IO)(n))})(l.source,l.modalType,l.gaType,"infomaterial"),className:"mb_10 fw_400 p_0 CourseProfile__links--btn",type:"reverse_link",animated:!1,label:"".concat(C(l.label)," â")},t)}}),(null==z?void 0:z.type)==="course"&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(k.A,{courseId:null!=(j=null==(u=e.data)?void 0:u.id)?j:0,courseData:e.data,showCondition:!0,className:"mb_10 ".concat(E?"full_width":""),children:F&&(0,a.jsxs)("div",{className:"flex_align_center ThreeFoldCard--second__content-bell full_width",children:[(0,a.jsx)(o.XFE,{}),(0,a.jsx)("p",{className:"small_paragraph ml_10",children:F})]})}),(0,a.jsx)(P.A,{courseId:null!=(w=null==(_=e.data)?void 0:_.id)?w:0,showCondition:!0,className:"mb_10 ".concat(E?"full_width":""),style:E?{width:"100%"}:void 0})]})]})})}):(0,a.jsx)("div",{className:"height_70"})};var O=t(10856),L=t(12372),F=t(55935);let D=e=>{let{data:l}=e,{goldenBtnRef:t,isSoaSecLevelII:o}=(0,C.l)(),{fetchFormData:s,handleSetIsCourseModalOpen:i,isProfileModalOpen:r,formData:c,source:d}=(0,L.K)();return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(A,{className:"mb_20 mt_20",data:l,fetchFormData:s,setIsCourseModalOpen:i}),o&&(0,a.jsx)(F.A,{ref:t,path:"/de/verbaende/swiss-olympic?tab=mentoring"}),(0,a.jsx)(M,{data:l,fetchFormData:s,setIsCourseModalOpen:i}),r&&(0,a.jsx)(n.default,{children:(0,a.jsx)(O.A,{type:"modal-form",handleOnClose:i,source:d,pageData:c})})]})}},10676:(e,l,t)=>{t.d(l,{A:()=>h});var a=t(55427),n=t(33722),o=t(97867),s=t(20548),i=t(81834),r=t(43892),c=t(97601),d=t(52692),u=t(92257),_=t(80865),m=t(3540);let h=e=>{var l,t;let{handleOnFavClick:h,favoriteIds:p}=(0,c.A)(null!=(l=e.type)?l:"course",e.slug,e.id),{width:v}=(0,u.A)(),g=(0,m.useRouter)(),{t:x}=(0,d.A)("course"),{windowUrl:f}=(()=>{let[e,l]=(0,o.useState)("");return(0,o.useEffect)(()=>
1{l(window.location.href)},[]),{windowUrl:e}})();return g.asPath.includes("dashboard")&&g.asPath.includes("profile_page")?null:(0,a.jsxs)("div",{className:"SharedButtons flex_align_center",children:[(0,a.jsx)(_.A,{label:x("common:Teilen"),className:"p_0 mr_20 bg_transparent SharedButtons__flyout",url:f}),(0,a.jsx)(s.default,{onClick:h,leftIcon:(0,a.jsx)(n.C3E,{}),label:v>400?x("Merken"):"",className:"p_0 bg_transparent SharedButtons__favourite mr_20 ".concat((null==p?void 0:p.includes(e.id))?"SharedButtons__favourite-profile--fav":"")}),"course"===e.type&&(0,a.jsx)(i.A,{openOnClick:v<=767.98,flyoutClassName:"SharedButtons__comparison",leftIcon:(0,a.jsx)(n.i9K,{}),label:v>400?x("Vergleichen"):"",buttonClassName:"p_0 bg_transparent SharedButtons__comparison--btn",direction:"down",translateX:v>400?-120:-100,children:(0,a.jsx)(r.A,{courseName:null!=(t=e.title)?t:"",course_id:e.id})})]})}},12372:(e,l,t)=>{t.d(l,{K:()=>d});var a=t(61245),n=t(97867),o=t(29931),s=t(11772),i=t(6518),r=t(76494),c=t(52692);let d=()=>{let[e,l]=(0,n.useState)(void 0),[t,d]=(0,n.useState)(""),[u,_]=(0,n.useState)(!1),m=(0,a.G)(e=>e.modal.isModalOpen),{lang:h}=(0,c.A)(),p=(0,a.j)(),v=async e=>{let{identifier:t,slug:a,source:n}=e,o=await (0,s.G)({url:"/tools/wizards/".concat(t,"/").concat(a),params:{source:n,page:1,locale:h},baseURL:"https://prod.backend.eduwo.ch/api/v3"});d(n),l(o)};return(0,n.useEffect)(()=>{if(m){(0,o.A)("body__mobile--open"),(0,o.A)("body__mobile--open_ios");return}(0,r.A)("body__mobile--open_ios"),(0,r.A)("body__mobile--open")},[m]),{handleSetIsCourseModalOpen:e=>{_(e),p((0,i.Oo)())},fetchFormData:v,formData:e,isProfileModalOpen:m&&u,source:t}}},12954:(e,l,t)=>{t.d(l,{Z:()=>a});let a=e=>0===Object.keys(e).length&&e.constructor===Object},15057:(e,l,t)=>{t.d(l,{A:()=>_});var a=t(55427),n=t(20548),o=t(81750),s=t(77829),i=t.n(s);t(97867);var r=t(6518),c=t(61245),d=t(52692);let u=[{id:1,title:"Vielen Dank f\xfcr deine Anfrage!",body:"thank-you-1",buttonLabel:null,link:null},{id:2,title:"Nimm deine Zukunft selbst in die Hand!",body:"thank-you-2",buttonLabel:"Jetzt registrieren",link:"register"},{id:3,title:"Bildungssystem Schweiz",body:"thank-you-3",buttonLabel:"Jetzt informieren",link:"bildungssystem"},{id:4,title:"Bildungsmagazin - News zu Bildung & Karriere",body:"thank-you-4",buttonLabel:"Jetzt lesen!",link:"https://eduwo.ch/bildungsmagazin/",externalLink:!0}
1],_=e=>{let{className:l}=e,{t,lang:s}=(0,d.A)("common"),_=(0,c.j)();return(0,a.jsxs)("div",{className:"full_width full_height p_60 ".concat(l),children:[(0,a.jsx)(o.default,{onClick:()=>_((0,r.Oo)())}),u.map(e=>(0,a.jsxs)("div",{className:"mb_40",children:[(0,a.jsx)("h4",{className:"h5 mb_20",children:t(e.title)}),(0,a.jsx)("p",{className:"mb_20",children:t(e.body)}),e.buttonLabel&&(0,a.jsx)(i(),{href:e.externalLink?e.link:"/".concat(s,"/").concat(e.link),target:"_blank",children:(0,a.jsx)(n.default,{label:t(e.buttonLabel)})})]},e.id))]})}},18174:(e,l,t)=>{t.d(l,{A:()=>S});var a=t(55427),n=t(97867),o=t(33722),s=t(66824),i=t(20548),r=t(90576),c=t(4788),d=t(52082),u=t(53542),_=t(15057),m=t(81622),h=t(38111),p=t(52692),v=t(61245);let g=e=>{let{className:l,...t}=e,[o,s]=(0,n.useState)(!1),{isUserLoading:i}=(0,h.Z2)(),r=(0,v.G)(e=>e.expertAlert.submitStatus),{t:c}=(0,p.A)("common");return(0,a.jsxs)(a.Fragment,{children:[o?(0,a.jsx)(_.A,{className:l}):i?(0,a.jsx)("div",{className:"centered",children:(0,a.jsx)(m.A,{type:"normal"})}):(0,a.jsx)(u.Ay,{setShowThankYouPage:e=>{s(e)},className:l,...t}),r&&(0,a.jsx)(d.A,{className:"fixed_bottom_center",severity:"success"===r?"success":"error",message:c("success"===r?"Vielen Dank f\xfcr deine Anfrage!":"search:expert-error")})]})},x=e=>{var l;let{data:t}=e,{postcode:n,street:o,city:s}=t;if(!n||!o||!s.title)return null;let i=(null!=(l=null!=n?n:""+o)?l:""+s)?s.title:"";return(0,a.jsx)("iframe",{width:"100%",height:"210",src:"https://maps.google.com/maps?q="+i+"&ie=UTF8&t=&z=13&iwloc=B&output=embed"})};var f=t(8988),b=t(14782),y=t.n(b),j=t(77829),w=t.n(j),N=t(12070),C=t(45952),A=t(86515);let S=e=>{var l,t,d;let[u,_]=(0,n.useState)(""),{data:m}=e,{street:h,school:v,short_name:b,name:j,director_image:S,director_email:k,director_name:P,director_phone:I,director_position:z,premium:T,contact_person_email:M,contact_person_name:O,contact_person_image:L,contact_person_phone:F,contact_person_position:D}=m,R=(null==m?void 0:m.type)==="expert"||(null==m?void 0:m.type)==="organization",E=null!=(t=null==L?void 0:L.optimized_url)?t:null==S?void 0:S.optimized_url,q=null!=(d=null==L?void 0:L.medium_url)?d:null==S?void 0:S.medium_url,B=null!=M?M:k,V=null!=O?O:P,G=null!=F?F:I,H=null!=D?D:z,K=(0,C.A)(m),{t:Z}=(0,p.A)("course"),U=(e=>{var l;return[{path:"https://maps.google.com/maps?q=".concat(e.street," ").concat(e.postcode," ").concat(e.city,"&ie=UTF8&t=&z=13&iwloc=B"),icon:o.BT6,label:"".concat(e.street&&e.street," ").concat(e.postcode&&e.postcode," ").concat(e.city&&e.city),shouldShow:"school"===e.type&&(e.city||e.postcode||e.street)},{path:"mailto:".concat(e.public_email),icon:o.aZ_,label:e.public_email,shouldShow:e.public_email},{path:"Tel:".concat(null==e?void 0:e.phone),icon:o.Zf0,label:null==e?void 0:e.phone,shouldShow:null==e?void 0:e.phone},{path:(null==e||null==(l=e.site_url)?void 0:l.includes("http"))?null==e?void 0:e.site_url:"https://".concat(null==e?void 0:e.site_url),icon:o.BT6,label:e.site_url,shouldShow:null==e?void 0:e.site_url}]})(m),W=(e=>({shouldDataShow:(null==e?void 0:e.facebook_url)||e.instagram_url||e.twitter_url||e.youtube_url||e.linkedin_url,socialData:[{path:e.facebook_url,icon:o.Uri,shouldShow:e.facebook_url},{path:e.instagram_url,icon:o.oWo,shouldShow:e.instagram_url},{path:e.twitter_url,icon:o.Fi9,shouldShow:e.twitter_url},{path:e.youtube_url,icon:o.VJ6,shouldShow:e.youtube_url},{path:e.linkedin_url,icon:o._z6,shouldShow:e.linkedin_url}]}))(m),J=()=>{let e=encodeURI("https://www.google.com/maps/dir/?api=1&origin="+u+"&destination="+(v.street||h)+"&travelmode=driving");window.open(e,"_blank")},Y=()=>{let e=encodeURI("https://www.sbb.ch/de/kaufen/pages/fahrplan/fahrplan.xhtml?von="+u+"&nach="+(v.street||h));window.open(e,"_blank")};return(0,a.jsxs)("div",{className:"AboutCourseProfile row row1240 mt_30 p_20 ".concat(e.className?e.className:""),children:[T&&(0,a.jsxs)("div",{className:"flex row row980 ContactProfile \n ",children:[(0,a.jsxs)("div",{className:"col p_20 ContactProfile__left",children:[(0,a.jsx)(x,{data:e.data}),(0,a.jsx)("h6",{className:"fw_700 f_size_16 ContactProfile__name mt_10",children:b||j}),(0,a.jsx)("div",{className:"ContactProfile__contact flex_column ",children:U.map((e,l)=>{if(e.shouldShow)return(0,a.jsxs)("div",{className:"ContactProfile__contact_item flex col90",children:[(0,a.jsx)("div",{className:"ContactProfile__icon",children:(0,a.jsx)(e.icon,{})}),(0,a.jsx)(w(),{href:e.path,target:"_blank",children:(0,a.jsx)(i.default,{className:"f_size_16 ContactProfile__button fw_300",type:"link",label:e.label})})]},l)})}),(null==W?void 0:W.shouldDataShow)&&(0,a.jsx)("ul",{className:"ContactProfile__social_icons centered",children:W.socialData.map((e,l)=>{if(e.shouldShow)return(0,a.jsx)("li",{className:"ContactProfile__social_icon",children:(0,a.jsx)(w(),{href:e.path,children:(0,a.jsx)(i.default,{className:"p_0",animated:!1,leftIcon:(0,a.jsx)(e.icon,{})})})},l)})}
1),!R&&(0,a.jsx)("hr",{className:"full_width ContactProfile__hr_line"}),!R&&(0,a.jsxs)("div",{className:"ContactProfile__directions mt_30",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("h6",{className:"f_size_16 mb_10",children:Z("Anfahrt mit dem Auto")}),(0,a.jsx)(N.A,{icon:(0,a.jsx)("span",{onClick:J,className:"ContactProfile__direction_icon",children:(0,a.jsx)(o.gyZ,{})}),onKeyDown:e=>{"Enter"===e.key&&J()},dataDirMapsInput:!0,className:"full_width p_0",inputParentClassName:"ContactProfile__text_input position_relative flex centered",onChange:e=>_(e.target.value),placeholder:Z("Your position")})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("h6",{className:"f_size_16 mb_10",children:Z("Anfahrt mit den \xd6V")}),(0,a.jsx)(N.A,{icon:(0,a.jsx)("span",{onClick:Y,className:"ContactProfile__direction_icon",children:(0,a.jsx)(o.gyZ,{})}),onKeyDown:e=>{"Enter"===e.key&&Y()},dataDirSbbInput:!0,className:"full_width p_0",inputParentClassName:"ContactProfile__text_input position_relative flex centered",onChange:e=>_(e.target.value),placeholder:Z("Your position")})]})]})]}),(0,a.jsxs)("div",{className:"col ContactProfile__right ",children:[!R&&(0,a.jsx)("div",{className:"mb_20",children:(0,a.jsx)(f.A,{data:(0,A.w_)(e.data).compParams.headerRightContent.params.headerButtons.params})}),R&&(0,a.jsx)(g,{orgId:m.id,type:m.type,url:(null==m?void 0:m.type)==="organization"?"/".concat(m.type,"s/").concat(m.id,"/contact"):"/contact/".concat(m.type,"/").concat(m.id),className:"p_20 bg_white box_shadow ContactProfile__form auto_height"}),K&&(0,a.jsxs)("div",{className:"ContactProfile__personal mt_20",children:[(0,a.jsx)("div",{className:"ContactProfile__personal_image",children:(0,a.jsx)(y(),{src:E||q||"/assets/images/avatar.png",alt:(null==L?void 0:L.alt)||(null==S?void 0:S.alt)||V,priority:!0,fill:!0,sizes:"(max-width: 768px) 100vw,(max-width: 1200px) 50vw, 33vw"})}),(0,a.jsxs)("div",{children:[V&&(0,a.jsx)("h4",{className:"h5 lh_26 mb_4",children:V}),H&&(0,a.jsx)("p",{className:"ContactProfile__position",children:H}),B&&(0,a.jsx)(r.A,{email:B}),G&&(0,a.jsx)(c.A,{contactPhone:G})]})]})]})]}),(null==(l=e.data.awards)?void 0:l.length)>0&&(0,a.jsx)("div",{className:"mt_30",children:(0,a.jsx)(s.A,{data:{awards:e.data.awards,className:""}})})]})}},19172:(e,l,t)=>{t.d(l,{A:()=>n});var a=t(97867);let n=e=>{let[l,t]=(0,a.useState)(0);return{handleSetCurrentImage:e=>t(e),modifiedGallery:[...e.slice(l),...e.slice(0,l)]}}},20811:(e,l,t)=>{t.d(l,{l:()=>o,o:()=>n});var a=t(97867);let n=(0,a.createContext)({goldenBtnRef:null,isGoldenBtnInViewPort:!1,isSoaSecLevelII:!1,hasMissingButtons:!1,setHasMissingButtons:()=>{}}),o=()=>(0,a.useContext)(n)},23994:(e,l,t)=>{t.d(l,{A:()=>i});var a=t(55427),n=t(54018);t(97867);var o=t(52692),s=t(55935);let i=e=>{var l,t;let{t:i}=(0,o.A)("course"),r=Array.isArray(null==(l=e.data)?void 0:l.infobox_soa)?e.data.infobox_soa:[],c=r.length>0?r.map(e=>({...e,cta:!0})):[],d=(Array.isArray(null==(t=e.data)?void 0:t.infobox)?e.data.infobox:[]).concat(c);return(0,a.jsxs)("div",{className:"AboutCourseProfile__infobox AboutCourseProfile__infobox--more-infos row row980 mt_40",children:[(0,a.jsx)("h2",{className:"h3",children:i("Weitere Infos")}),(0,a.jsx)("div",{className:"full_width",children:Array.isArray(d)&&d.map((e,l)=>e?(0,a.jsx)(n.A,{type:"study-accordion",className:"mb_30",slug:"",title:null==e?void 0:e.title,headingLevel:"h3",icon:String(l+1),body:(e=>{var l;let t=null==e?void 0:e.content;(null==e||null==(l=e.content)?void 0:l.startsWith("<p>"))||(t="<p>".concat(null==e?void 0:e.content,"</p>"));let n=(0,a.jsx)("div",{className:"AboutCourseProfile__html paragraph",dangerouslySetInnerHTML:{__html:t}});return e.cta?(0,a.jsxs)("div",{className:"flex flex_column",children:[n,(0,a.jsx)(s.A,{path:"/de/verbaende/swiss-olympic?tab=mentoring",linkClassName:"mt_10",additionalText:!0,className:"soa-info-btn"})]}):n})(e)},l):null)})]})}},29656:(e,l,t)=>{t.r(l),t.d(l,{default:()=>r});var a,n,o,s=t(97867);function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var l=1;l<arguments.length;l++){var t=arguments[l];for(var a in t)({}).hasOwnProperty.call(t,a)&&(e[a]=t[a])}return e}).apply(null,arguments)}let r=function(e){return s.createElement("svg",i({xmlns:"http://www.w3.org/2000/svg",width:30,height:30,viewB
1ox:"0 0 24 24"},e),a||(a=s.createElement("defs",null,s.createElement("linearGradient",{x1:"100%",y1:"52.934%",x2:"0%",y2:"47.066%",id:"paedagogische-hochschule_svg__blue-gradient"},s.createElement("stop",{stopColor:"#1888D5",offset:"0%"}),s.createElement("stop",{stopColor:"#0A50AA",offset:"100%"})),s.createElement("style",null,".paedagogische-hochschule_svg__a{fill:none;stroke:url(#paedagogische-hochschule_svg__blue-gradient);stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px}"))),n||(n=s.createElement("path",{className:"paedagogische-hochschule_svg__a",d:"M2.25 6.75h19.5v16.5H2.25z"})),o||(o=s.createElement("path",{className:"paedagogische-hochschule_svg__a",d:"M12.75 18.75h-1.5a1.5 1.5 0 0 0-1.5 1.5v3h4.5v-3a1.5 1.5 0 0 0-1.5-1.5ZM5.25 9.75v1.5M9.75 9.75v1.5M14.25 9.75v1.5M18.75 9.75v1.5M5.25 14.25v1.5M9.75 14.25v1.5M14.25 14.25v1.5M18.75 14.25v1.5M.75 6.75h22.5M19.079.75H4.921a1.5 1.5 0 0 0-1.455 1.136L2.25 6.75h19.5l-1.216-4.864A1.5 1.5 0 0 0 19.079.75ZM5.25 18.75v1.5M18.75 18.75v1.5"})))}},43123:(e,l,t)=>{t.d(l,{A:()=>c});var a=t(55427),n=t(27152),o=t(33722),s=t(77829),i=t.n(s);t(97867);var r=t(92257);let c=e=>{let{className:l,downloadUrl:t,fileName:s,text:c,fileIcon:d}=e,{width:u}=(0,r.A)(),_=u<=n.A.mobile,m=u<=n.A.tablet?40:75;_&&(m=20);let h=((e,l)=>{if(e.length>l){let t=e.split(".").pop(),a=e.split(".").slice(0,-1).join(".").slice(0,l);e="".concat(a,"...").concat(t)}return e})(c,m),p=["Download flex_align_center p_20 overflowX_hidden overflowY_hidden ",l].join(" ");return(0,a.jsx)(i(),{href:t,download:s,target:"_blank",passHref:!0,children:(0,a.jsxs)("div",{className:p,children:[(0,a.jsx)("span",{className:"flex",children:d&&d}),(0,a.jsx)("p",{className:"Download__text ".concat(d?"ml_10":""),children:h}),(0,a.jsx)("span",{className:"Download__icon",children:(0,a.jsx)(o.s3U,{})})]})})}},45952:(e,l,t)=>{t.d(l,{A:()=>a});let a=e=>{var l,t,a,n,o,s,i,r,c;if((null==e?void 0:e.type)==="course"&&!(null==e?void 0:e.is_soa)||(null==e?void 0:e.type)==="school"&&!(null==e?void 0:e.is_soa))return!1;let d=null!=(o=null==e||null==(l=e.contact_person_image)?void 0:l.medium_url)?o:null==e||null==(t=e.director_image)?void 0:t.medium_url,u=null!=(s=null==e||null==(a=e.contact_person_image)?void 0:a.optimized_url)?s:null==e||null==(n=e.director_image)?void 0:n.optimized_url,_=null!=(i=null==e?void 0:e.contact_person_email)?i:null==e?void 0:e.director_email,m=null!=(r=null==e?void 0:e.contact_person_name)?r:null==e?void 0:e.director_name,h=null!=(c=null==e?void 0:e.contact_person_phone)?c:null==e?void 0:e.director_phone;return!!u||!!d||!!_||!!m||!!h}},52886:(e,l,t)=>{t.d(l,{A:()=>a}),t(97867);let a=e=>e.expression?e.children:null},53542:(e,l,t)=>{t.d(l,{Ay:()=>j});var a=t(55427),n=t(97867),o=t(61245),s=t(27152),i=t(20548),r=t(87066),c=t(81750),d=t(81622),u=t(39496),_=t(12070),m=t(11772),h=t(6518),p=t(99238),v=t(38095),g=t(52692),x=t(38111),f=t(92257),b=t(44028);let y={first_name:{mandatory:!0},last_name:{mandatory:!0},email:{mandatory:!0},phone:{mandatory:!0},message:{mandatory:!0}},j=e=>{let{className:l}=e,{t,lang:j}=(0,g.A)("course"),{user:N}=(0,x.Z2)(),{width:C}=(0,f.A)(),A=(0,o.j)(),S={first_name:(null==N?void 0:N.first_name)||"",last_name:(null==N?void 0:N.last_name)||"",email:(null==N?void 0:N.email)||"",phone:(null==N?void 0:N.phone)||"",message:""},[k,P]=(0,n.useState)(!1),[I,z]=(0,n.useState)(!1),[T,M]=(0,n.useState)(!1),[O,L]=(0,n.useState)("email"),F=async l=>{if(!k)return void z(!0);let t="expert"===e.type?{...l,contact_type:O}:{...l};M(!0),(0,m.G)({method:"post",version:"v3",url:e.url,data:t}).then(()=>{e.setShowThankYouPage&&e.setShowThankYouPage(!0),A((0,b.LQ)("success")),setTimeout(()=>{A((0,b.LQ)(""))},3e3)}).catch(e=>{let l=(e=>{var l,t,a,n,o;let s=null!=(o=null!=(n=null==e||null==(t=e.response)||null==(l=t.data)?void 0:l.errors)?n:null==e||null==(a=e.response)?void 0:a.data)?o:{};if(!s||"object"!=typeof s||Array.isArray(s))return{};let i=Object.keys(y);return Object.keys(s).reduce((e,l)=>{let t=s[l];return i.includes(l)&&Array.isArray(t)&&"string"==typeof t[0]&&(e[l]=t),e},{})})(e);
1Object.keys(l).forEach(e=>{D.setFieldError(e,l[e][0])}),A((0,b.LQ)("error")),setTimeout(()=>{A((0,b.LQ)(""))},3e3)}).finally(()=>{M(!1)})};(0,n.useEffect)(()=>{k&&z(!1)},[k]);let D=(e=>{var l;let{t}=(0,g.A)("wizard"),{user:a}=(0,x.Z2)(),n={};null==(l=Object)||l.keys(null==e?void 0:e.dataFields).forEach(l=>{var a,o;if("email"===l){n={...n,[l]:(null==(o=e.dataFields[l])?void 0:o.mandatory)?p.Yj().required(t("common:Please enter your email")).email(t("common:Invalid email")):p.Yj()};return}n={...n,[l]:(null==(a=e.dataFields[l])?void 0:a.mandatory)?p.Yj().required(t("common:Please enter your ".concat(l.replace("_"," ")))):p.Yj()}});let o=p.Ik().shape({...n});return(0,v.Wx)({initialValues:{first_name:(null==a?void 0:a.first_name)||"",last_name:(null==a?void 0:a.last_name)||"",email:(null==a?void 0:a.email)||"",phone:(null==a?void 0:a.phone)||"",message:"",...e.initialValues},validateOnBlur:!1,validateOnChange:!1,validationSchema:o,onSubmit:(l,t)=>{e.onSubmit(l,t)}})})({initialValues:S,onSubmit:async e=>F(e),dataFields:y}),R=async(e,l)=>{await D.setFieldValue(e,l),D.setFieldError(e,t("common:Please enter your ".concat(e.replace("_"," "))))},E=async e=>{let{name:l,value:t}=e.target;if(!t)return void R(l,t);await D.setFieldValue(l,t),D.setErrors({...D.errors,[l]:""}),await D.validateField(l)},q=w(),B=e=>{D.validateField(e.target.name),D.handleBlur(e)},V="expert"===e.type&&(0,a.jsxs)("div",{className:"mb_10 mt_30",children:[(0,a.jsx)("p",{children:t("Wie m\xf6chtest du kontaktiert werden?")}),(0,a.jsxs)("div",{className:"flex_align_center",children:[(0,a.jsx)("div",{children:(0,a.jsx)(r.A,{reversed:!0,checked:"email"===O,labelClassName:"label_container",label:t("E-mail Adresse"),onChange:()=>L("email"),className:"PersonalInfo__checkbox c_a9a9a9"})}),(0,a.jsx)("div",{children:(0,a.jsx)(r.A,{reversed:!0,checked:"phone"===O,labelClassName:"label_container",label:t("Telefon-Nr"),onChange:()=>L("phone"),className:"PersonalInfo__checkbox c_a9a9a9"})})]})]});return(0,a.jsxs)("form",{onSubmit:e=>e.preventDefault(),className:"".concat(C>s.A.mobile?"p_60":"p_20"," column_align_centered full_width full_height contact-form ").concat(l),children:[(0,a.jsx)("h2",{className:"h4 mb_40 text_align_center",children:t("Stell jetzt deine Frage!")}),(0,a.jsx)(c.default,{onClick:()=>{P(!1),z(!1),A((0,h.Oo)())}}),(0,a.jsx)("div",{className:"".concat(C>s.A.mobile?"grid-col-2":"grid-col-1"," "),children:q.map((e,l)=>
1{let{placeholder:n,type:o,name:s}=e;return(0,a.jsx)("div",{children:(0,a.jsx)(_.A,{placeholder:t("common:".concat(n)),className:"h6 fw_300 full_width FreeTextSection__input PersonalInfo__input paragraph fw_400",inputParentClassName:"full_width ",onChange:E,type:o,name:s,disabled:null!=N&&!!N.email&&"email"===o,onBlur:B,value:D.values[s],error:D.errors[s]})},l)})}),(0,a.jsx)("div",{children:(0,a.jsx)(u.A,{placeholder:t("common:Deine Mitteilung"),className:"h6 mt_40 fw_300 full_width FreeTextSection__input PersonalInfo__input paragraph ContactProfile__text_input fw_400 ",inputParentClassName:"password-input position_relative",onChange:E,name:"message",onBlur:B,value:D.values.message,error:D.errors.message})}),V,(0,a.jsx)("div",{className:"".concat(I?"inactive shake":""," mb_10"),children:(0,a.jsx)("div",{children:(0,a.jsx)(r.A,{onLabelClick:e=>{e.preventDefault(),e.stopPropagation(),window.open("/".concat(j,"/impressum"),"_blank")},reversed:!0,checked:k,labelClassName:"label_container",label:(0,a.jsxs)("div",{className:" ml_10 flex_align_center",children:[(0,a.jsx)("span",{className:"mr_5",children:t("common:Ich habe die")}),(0,a.jsx)("strong",{children:(0,a.jsx)("span",{children:t("Datenschutzbestimmungen")})}),(0,a.jsx)("span",{className:"ml_5",children:t("common:gelesen")})]}),onChange:()=>P(!k),className:"PersonalInfo__checkbox c_a9a9a9"})})}),T?(0,a.jsx)("div",{className:"full_width centered",children:(0,a.jsx)(d.A,{type:"normal"})}):(0,a.jsx)("div",{className:"full_width flex_justify_end",children:(0,a.jsx)(i.default,{onClick:D.handleSubmit,className:"mb_10",label:t("common:Absenden")})})]})},w=()=>[{placeholder:"Vorname",name:"first_name",type:"text"},{placeholder:"Nachname",name:"last_name",type:"text"},{placeholder:"E-Mail Adresse",name:"email",type:"email"},{placeholder:"Telefon",name:"phone",type:"text"}]},55935:(e,l,t)=>{t.d(l,{A:()=>u});var a=t(55427),n=t(20548),o=t(27152),s=t(33722),i=t(92257),r=t(52692),c=t(77829),d=t.n(c);let u=(0,t(97867).forwardRef)((e,l)=>{let{className:t,linkClassName:c,path:u,additionalText:_}=e,{width:m}=(0,i.A)(),{t:h}=(0,r.A)("soa");return(0,a.jsx)(d(),{locale:!1,className:c||"",href:u,children:(0,a.jsx)(n.default,{ref:l,leftIcon:(0,a.jsx)(s.CfZ,{}),type:"golden",label:m>o.A.mobile&&(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{children:h("Zum Erfahrungsaustausch")}),_&&(0,a.jsx)("p",{className:"fw_300 ml_5",children:h("jetzt-online")})]}),className:t,labelClassName:"h5 ml_10"})})})},64170:(e,l,t)=>{t.d(l,{A:()=>c});var a=t(55427),n=t(27152),o=t(92257),s=t(52692),i=t(77829),r=t.n(i);t(97867);let c=e=>{let{btnDescription:l,btnTitle:t,url:i}=e,{t:c}=(0,s.A)("common"),{width:d}=(0,o.A)();return(0,a.jsx)(r(),{href:null!=i?i:"",children:(0,a.jsx)("div",{className:"ContactOrganizationButton",children:(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("h4",{className:"mb_20 c_white",children:null!=t?t:c("Need more info?")}),d>n.A.mobile&&(0,a.jsx)("p",{className:"c_white",children:null!=l?l:c("Get more information now!")})]})})})}},66824:(e,l,t)=>{t.d(l,{A:()=>s});var a=t(55427),n=t(83994);t(97867);var o=t(52692);let s=e=>{var l,t,s;let{t:i}=(0,o.A)("course");return(0,a.jsxs)("section",{id:"awardRef",className:"Awards row row980 p_0 ".concat((null==(l=e.data)?void 0:l.className)?null==(t=e.data)?void 0:t.className:""),children:[(0,a.jsx)("h2",{className:"second-h4 mb_20 fw_600",children:i("Auszeichnungen")}),(0,a.jsx)("div",{className:"Awards__content",children:null==(s=e.data)?void 0:s.awards.map(e=>{var l,t,o,s,i,r,c,d;let u=(null==e||null==(l=e.description)?void 0:l.includes("<"))?e.title:(null==e?void 0:e.description)||(null==e?void 0:e.private_title)||(null==e||null==(t=e.award)?void 0:t.private_title),_=(null==e||null==(o=e.logo_image)?void 0:o.optimized_url)||(null==e||null==(i=e.award)||null==(s=i.logo_image)?void 0:s.optimized_url);(null==u?void 0:u.includes("<p>"))&&(u=(0,a.jsx)("h3",{className:"h5",dangerouslySetInnerHTML:{__html:null!=(d=null==e?void 0:e.description)?d:""}}));let m=(null==e||null==(r=e.logo_image)?void 0:r.alt)||(null==e?void 0:e.title)||(null==e?void 0:e.private_title)||(null==e||null==(c=e.award)?void 0:c.title)||"Award logo";return(0,a.jsx)(n.A,{type:"small",image:null!=_?_:"/assets/images/logo_eduwo_tiktok2.jpg",imageClassName:"Awards__content--img",alt:m,title:u},null==e?void 0:e.id)})})]})}},75954:(e,l,t)=>{t.d(l,{A:()=>c});var a=t(55427),n=t(20548),o=t(81750),s=t(97867),i=t(39496),r=t(52692);let c=e=>{let{onClose:l,onClick:t,title:c,content:d,placeholder:u,buttonLabel:_,bgClassName:m,btnClassName:h,input:p}=e,v=p,[g,x]=s.useState(""),[f,b]=s.useState(!1),{t:y}=(0,r.A)("dashboard");p||(v=(0,a.jsx)(i.A,{error:g?"":y("enter-comment"),inputParentClassName:"mb_30",className:"full_width bg_f7f7f7 py_10 h_50 paragraph fw_400 ".concat(f?"inactive":""),placeholder:u,onCh
1ange:e=>x(e.target.value),value:g}));let j=e=>{if(!p){e&&t&&t(e);return}t&&t("")};return(0,a.jsxs)("div",{className:"ApplicationPopup",children:[(0,a.jsxs)("div",{className:"ApplicationPopup__header ".concat(m||""),children:[(0,a.jsx)("p",{className:"ApplicationPopup__header--text h6",children:c}),(0,a.jsx)(o.default,{onClick:l})]}),(0,a.jsxs)("div",{className:"ApplicationPopup__content",children:[d&&(0,a.jsx)("p",{className:"ApplicationPopup__content--text mb_10",children:d}),v,(0,a.jsxs)("div",{className:"ApplicationPopup__content--buttons mt_20 full_width flex",children:[(0,a.jsx)(n.default,{className:"mr_10",onClick:l,label:y("Cancel"),type:"reverse_link"}),(0,a.jsx)(n.default,{onClick:()=>p?void j():g?void j(g):void b(!0),animated:!1,label:_,className:" ".concat(!g&&!p?"disabled-btn":""," ").concat(h||""," ").concat(m||"")})]})]})]})}},76494:(e,l,t)=>{t.d(l,{A:()=>a});let a=e=>document.body.classList.remove(e)},84499:(e,l,t)=>{t.d(l,{A:()=>V,T:()=>G});var a=t(55427),n=t(60247),o=t(86515),s=t(3778),i=t(27152),r=t(20548),c=t(40491),d=t(58310),u=t(52692),_=t(97867),m=t(61245),h=t(6518);let p=e=>{let{data:l}=e,t=_.useRef(!1),n=(0,m.G)(e=>e.modal.isModalOpen),[o,s]=(0,_.useState)(!1),i=(0,m.j)(),{t:r}=(0,u.A)("common"),p={...l,expert_courses:l.expert_courses,expert_organizations:l.expert_organizations,expert_reviews_count:l.expert_reviews_count,photo:null==l?void 0:l.logo_image,rating_avg:l.rating_avg,recommend:l.recommend,languages:l.languages,user_degree_types:l.user_degree_types,expert_for:l.expert_for,pivot:l.pivot,expert_biography:l.expert_biography,gender:l.gender,first_name:l.name,last_name:l.last_name,email:l.email,phone:l.phone},v=o&&n?(0,a.jsx)(d.default,{children:(0,a.jsx)(c.A,{modalRef:t,expertsData:p,closeContact:()=>s(!1),type:"expert"})}):null;return(0,a.jsxs)(a.Fragment,{children:[v,(0,a.jsx)("div",{onClick:()=>{i((0,h.qf)()),s(!0)},className:"ContactOrganizationButton",children:(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("h4",{className:"mb_20 c_white",children:r("Need more info?")}),(0,a.jsx)("p",{className:"c_white",children:r("Get more information now!")})]})})]})};var v=t(53542),g=t(15057);let x=e=>{let[l,t]=(0,_.useState)(!1),[n,o]=(0,_.useState)(!1),s=(0,m.G)(e=>e.modal.isModalOpen),i=(0,m.j)(),{t:r}=(0,u.A)("common"),c=s&&l&&(0,a.jsx)(d.default,{children:n?(0,a.jsx)(g.A,{}):(0,a.jsx)(v.Ay,{orgId:e.orgId,setShowThankYouPage:o,type:e.type,url:e.url})});return(0,a.jsxs)(a.Fragment,{children:[c,(0,a.jsx)("div",{onClick:()=>{i((0,h.qf)()),t(!0)},className:"ContactOrganizationButton",children:(0,a.jsxs)("div",{className:"",children:[(0,a.jsx)("h4",{className:"mb_20 c_white",children:r("Need more info?")}),(0,a.jsx)("p",{className:"c_white",children:r("Get more information now!")})]})})]})};var f=t(18174),b=t(33722),y=t(54018),j=t(94502),w=t(77829),N=t.n(w),C=t(13e3),A=t(92257),S=t(11772);let k=e=>{var l,t;let[n,o]=(0,_.useState)(),{t:s,lang:i}=(0,u.A)("common"),{width:c}=(0,A.A)(),d=["rating_teachers_avg","rating_equipment_avg","rating_organisation_avg","rating_environment_avg","rating_content_avg"],m="/".concat(i,"/tools/bewertung?").concat(e.data.type,"_id=").concat(e.data.id),h=(0,_.useMemo)(()=>{let l=e=>{if(!e||!1===e.google_sync_enabled)return null;let l=e.google_place_ratings||[];if(!Array.isArray(l)||0===l.length)return null;let t=l.find(e=>"google_school"===e.type)||l[0];if(!t)return null;let a=t.google_reviews||[];return{rating:"string"==typeof t.rating||"number"==typeof t.rating?Number(t.rating):null,total_ratings:"number"==typeof t.total_ratings?t.total_ratings:null,reviews:a.map(e=>({id:e.id,comment:e.comment,review_date:e.review_date,reviewer_name:e.reviewer_name,rating:e.rating}))}};return l("school"===e.data.type?e.data:e.data.school)},[e.data]);(0,_.useEffect)(()=>{(async()=>{o(await (0,S.G)({url:"/".concat(e.data.type,"s/").concat(e.slug,"/reviews"),params:{locale:i}}))})()},[]);let p=(0,_.useMemo)(()=>{var l,t,a,n;let o=null!=(l=e.data.rating_avg)?l:0,s=null!=(t=e.data.reviews_count)?t:0,i=null!=(a=null==h?void 0:h.rating)?a:0,r=null!=(n=null==h?void 0:h.total_ratings)?n:0;return 0===s&&0===r?null:0===s&&r>0?i:0===r?o:Math.round((o*s+i*r)/(s+r)*10)/10},[e.data.rating_avg,e.data.reviews_count,h]),v=(0,_.useMemo)(()=>{var l,t;return(null!=(l=e.data.reviews_count)?l:0)+(null!=(t=null==h?void 0:h.total_ratings)?t:0)},[e.data.reviews_count,h]);return(0,a.jsxs)("section",{className:"mt_40 CourseReviewTab row row980 p_10",children:[(0,a.jsx)("h2",{className:"h3 row row980 mb_30",children:s("\xdcberblick")}),(0,a.jsxs)("div",{className:"CourseReviewTab__rating row row980 ".concat(c>767.98?"flex":"flex_column"," mt_40"),children:[(0,a.jsx)("div",{className:"".concat(c<=76
17.98?"mb_40":""),style:{height:"27rem",width:"27rem",marginRight:"6rem",justifySelf:"center",alignSelf:"center"},children:(0,a.jsxs)(j.A,{value:null!=(l=null!=p?p:e.data.rating_avg)?l:0,maxValue:5,children:[(0,a.jsx)("h2",{children:null!=p?p:e.data.rating_avg}),(null!=p?p:e.data.rating_avg)&&(0,a.jsx)("h6",{className:"fw_600",children:s("".concat(C.nw[Math.round((null!=(t=null!=p?p:e.data.rating_avg)?t:0)-1)]))})]})}),(0,a.jsxs)("div",{className:"CourseReviewTab__rating--review full_width",children:[(0,a.jsx)("div",{className:"flex_between full_width mb_30",children:(0,a.jsxs)("div",{className:"".concat(c<=480?"flex_column":"flex_align_center"," full_width"),children:[(0,a.jsxs)("h5",{className:"full_width ".concat(c<=480?"mb_20":"mr_20"),children:[s("Gesamtbewertung"),"(",v,"):"]}),(0,a.jsxs)("div",{className:"full_width flex_between",children:[(0,a.jsx)("div",{children:Array.from([1,2,3,4,5]).map((l,t)=>{var n;return t<Math.round(null!=(n=null!=p?p:e.data.rating_avg)?n:0)?(0,a.jsx)(b.aep,{className:"CourseReviewTab__rating--stars"},t):(0,a.jsx)(b.Gg5,{className:"CourseReviewTab__rating--stars mb_5"},t)})}),(0,a.jsx)("h4",{children:null!=p?p:e.data.rating_avg})]})]})}),(0,a.jsxs)("div",{className:"".concat(c<=480?"flex_column":"flex_align_center"," mb_30"),children:[(0,a.jsxs)("h5",{children:[s("course:Weiterempfehlung"),":"]}),(0,a.jsxs)("div",{className:"flex_between full_width",children:[(0,a.jsx)("div",{className:"".concat(c>480?"col col50 ml_30":"col col60"," CourseReviewTab__rating--strip "),children:(0,a.jsx)("div",{style:{width:"".concat(e.data.recommend,"%"),background:"linear-gradient(\n 135deg,#0a50aa,#1888d5)",height:"100%"}})}),(0,a.jsx)("div",{className:"CourseReviewTab__rating--thumb-icon ml_10 centered",children:(0,a.jsx)(b.$U3,{})}),(0,a.jsxs)("h4",{className:"ml_10 justify_end",children:[e.data.recommend,"%"]})]})]}),e.data.reviews_average_per_category&&(0,a.jsx)("div",{className:"CourseReviewTab__rating--data full_width",children:Array.from(["lecturers_teachers","school_equipment","organization_of_the_school","framework_offer_environment","course_content"]).map((l,t)=>{var n;let o=d[t];return(0,a.jsxs)("div",{className:"CourseReviewTab__rating--data__content ".concat(c>480?"flex_align_center":"flex_column"," "),children:[(0,a.jsx)("p",{className:"c_f0000 mr_20 ".concat(c>480?"col col33":"full_width mb_20"," fw_400"),children:s("".concat(l))}),(0,a.jsxs)("div",{className:"flex_between ".concat(c<=480?"full_width":""),children:[(0,a.jsx)("div",{children:Array.from([1,2,3,4,5]).map((l,t)=>{var n;return t<Math.round(null==(n=e.data)?void 0:n.reviews_average_per_category[o])?(0,a.jsx)(b.aep,{className:"CourseReviewTab__rating--stars ".concat(c<=480&&0===t?"":"ml_10"," ")},t):(0,a.jsx)(b.Gg5,{className:"CourseReviewTab__rating--stars mb_5 ".concat(c<=480&&0===t?"":"ml_10")},t)})}),e.data.rating_avg?(0,a.jsx)("p",{className:"c_f0000 ml_30 justify_end",children:s("".concat(C.nw[Math.round((null==(n=e.data)?void 0:n.reviews_average_per_category[o])-1)]))}):null]})]},t)})})]})]}),(0,a.jsx)("div",{className:"row row980 flex_justify_end",children:(0,a.jsx)(N(),{href:m,locale:!1,prefetch:!1,children:(0,a.jsx)(r.default,{leftIcon:(0,a.jsx)(b.Gg5,{}),className:"mt_30 CourseReviewTab__btn ".concat(c<=480?"full_width centered":""),label:s("Jetzt Bewerten")})})}),(0,a.jsx)("div",{className:"row row980 mt_40",children:(0,a.jsxs)("h3",{children:[v," ",s("Erfahrungen")]})}),(0,a.jsxs)("div",{className:"CourseReviewTab__results mt_40",children:[(null==h?void 0:h.reviews)&&h.reviews.length>0&&h.reviews.map(e=>{var l;let t=e.review_date,n="";if(t){let e=new Date(t),l=String(e.getDate()).padStart(2,"0"),a=String(e.getMonth()+1).padStart(2,"0"),o=e.getFullYear();n="".concat(l,".").concat(a,".").concat(o)}let o=e.comment||"",s=o.length>120?o.substring(0,120).trim()+"...":o;return(0,a.jsx)("div",{className:"flex_between_non_align_center full_width mb_20",children:(0,a.jsx)(y.A,{className:"full_width",slug:"google-".concat(e.id),rating_avg:e.rating,icon:(0,a.jsx)(b.J8m,{width:"20",height:"20"}),titleClassName:"paragraph fw_600",title:s,secondaryTitle:"".concat(null!=(l=e.reviewer_name)?l:"").concat(n?" ⢠"+n:""),body:e.comment})},"google-".concat(e.id))}),null==n?void 0:n.map((e,l)=>{var t,n,o;let s=null==(t=e.created_at)?void 0:t.split(" ")[0],i=null==s?void 0:s.split("-")[2],c=null==s?void 0:s.split("-")[1],d=null==s?void 0:s.split("-")[0],u="".concat(i,".").concat(c,".").concat(d);return(0,a.jsx)("div",{className:"flex_between_non_align_center full_width mb_20",children:(0,a.jsx)(y.A,{className:"full_width",slug:e.slug,rating_avg:e.rating_avg,secondaryTitle:(null==(n=e.user)?void 0:n.first_name)+" ⢠"+u,icon:e.recommend?(0,a.jsx)(b.$U3,{}):(0,a.jsx)(b.d2e,{width:"20px",height:"20px"}),titleClassName:"paragraph fw_600",lowerContent:(0,a.jsxs)("div",{className:"Accordion__lower flex_between full_width",children:[(0,a.jsxs)("div",{className:"Accordion__lower--content",children:[(0,a.jsx)("h4",{className:"h6 mb_10",children:null==(o=e.user)?void 0:o.first_name}),(0,a.jsx)("p",{className:"btn-label c_ff000 full_width",children:u+" ⢠"+"Abschlussjahr ".concat(e.year)})]}),(0,a.jsx)(N(),{href:"mailto:[email protected]",children:(0,a.jsx)(r.default,{leftIcon:(0,a.jsx)(b.iFK,{}),className:"btn-label centered",type:"light",label:"Bewertung Melden"})})]}),title:e.title,rating_teachers:e.rating_teachers,rating_content:e.rating_content,rating_environment:e.rating_environment,rating_equipment:e.rating_environment,rating_organisation:e.rating_organisation,body:e.message,reply:e.reply})},l)})]})]})};var P=t(80823),I=t.n(P),z=t(81622),T=t(53279),M=t(45952),O=t(35588),L=t(3540),F=t(38111),D=t(65849),R=t(20811);let E=e=>{let{children:l,is_soa:t,soa_school_levels:n,school_type_title:o}=e,s=_.useRef(null),i=(0,D.A)(s),r=(e=>{let{is_soa:l,school_type_title:t,soa_school_levels:a}=e,n=a&&0!==a.length?a.some(e=>2===e.pivot.soa_school_level_id):[];return l&&t&&C.$j.includes(t)&&n})({is_soa:t,school_type_title:o,soa_school_levels:n}),[c,d]=(0,_.useState)(!1);return(0,a.jsx)(R.o.Provider,{value:{goldenBtnRef:s,isGoldenBtnInViewPort:i,isSoaSecLevelII:r,hasMissingButtons:c,setHasMissingButtons:d},children:l})};var q=t(8147);let B=e=>{let l=(0,L.useRouter)(),{t}=(0,u.A)("course"),i=l.asPath.includes("dashboard")&&l.asPath.includes("profile_page")?l.query.subTab:l.query.tab,r={filters:"studies"!==i?(0,n.Mb)({tab:i,profile:e.data.type,filters:n.uW}).map((e,l)=>({...e,index:l,name:t("common:".concat(e.name))}
1)):[],slug:i,showTabs:!1,type:e.data.type,queryParams:{page:1,per_page:5,["".concat(e.data.type,"_ids[]")]:e.data.id}};switch(i){case"experts":case"schools":case"organizations":return(0,a.jsx)(T.A,{...r});case"studies":{let l=(0,n.Mb)({tab:"courses",profile:e.data.type}).map((e,l)=>({...e,index:l,name:t("common:".concat(e.name))}));return(0,a.jsx)(T.A,{...r,searchBtnsProps:{searchInput:!0,dropdown:!0,comparisonButton:!0,wizardBtn:!0},filters:l,slug:"courses"})}case"experiences":return(0,a.jsx)(k,{data:e.data,slug:String(e.data.slug)});case"contact":return(0,a.jsx)(f.A,{data:e.data});default:return(0,a.jsx)(s.A,{showContactEduwoSection:"expert"!==e.data.type&&"organization"!==e.data.type,data:(0,o.e4)(e.data).compParams})}},V=e=>{var l,t,n,s,c,d,_,h,v,g,f;let b=(0,L.useRouter)(),{isUserLoading:y}=(0,F.Z2)(),{t:j,lang:w}=(0,u.A)("common"),C=(0,o.Ay)(e.data.type,e.data),S=(0,m.j)(),k="";k=(null==(l=e.data)?void 0:l.meta_description)?e.data.meta_description:(null==C?void 0:C.type)==="course"?G(null==C?void 0:C.type,null!=(n=null==C?void 0:C.short_name)?n:"",null!=(s=null==C?void 0:C.short_name)?s:"",null!=(c=null==C?void 0:C.abbreviation)?c:"",j):G(null==(d=e.data)?void 0:d.type,null!=(v=null!=(h=null==C?void 0:C.short_name)?h:null==C?void 0:C.name)?v:"",null!=(f=null!=(g=null==C?void 0:C.abbreviation)?g:null==C?void 0:C.short_name)?f:"",(null==e||null==(_=e.data)?void 0:_.type)==="course"?"":null==C?void 0:C.schoolName,j);let{width:P}=(0,A.A)(),T=(0,o.OK)({data:C}),D=C.tabs,R=D[0],V=(0,M.A)(C),H=b.asPath.includes("dashboard")&&b.asPath.includes("profile_page"),{hideHeaderLinks:K}=(0,q.V)(),Z=()=>{let e=[];return C.online_course&&e.push("online"),C.onsite_course&&e.push("onsite"),[1].includes(C.study_type_id)&&e.push("fulltime"),[2,3].includes(C.study_type_id)&&e.push("parttime"),e},U=(null==C?void 0:C.abbreviation)?" | ".concat(C.abbreviation):"",W=(null==(t=e.data)?void 0:t.meta_title)?e.data.meta_title:"".concat(null==C?void 0:C.short_name).concat(U," | eduwo.ch"),J=()=>(0,a.jsxs)(I(),{children:[(0,a.jsx)("title",{children:W},"title"),(0,a.jsx)("meta",{property:"og:title",content:W},"og:title"),(0,a.jsx)("meta",{property:"twitter:title",content:W},"twitter:title"),(0,a.jsx)("meta",{name:"title",property:"og:title",content:W},"name:og:title"),(0,a.jsx)("meta",{name:"image",property:"og:image",content:null==C?void 0:C.metaImage},"name:og:image"),(0,a.jsx)("meta",{property:"og:image",content:null==C?void 0:C.metaImage},"og:image"),(0,a.jsx)("meta",{property:"twitter:image",content:null==C?void 0:C.metaImage},"twitter:image"),(0,a.jsx)("meta",{property:"og:url",content:"https://eduwo.ch/".concat(null==C?void 0:C.public_url)},"og:url"),(0,a.jsx)("meta",{property:"twitter:url",content:"https://eduwo.ch/".concat(null==C?void 0:C.public_url)},"twitter:url"),(0,a.jsx)("meta",{name:"description",content:k},"description"),(0,a.jsx)("meta",{property:"og:description",content:k},"og:description"),(0,a.jsx)("meta",{name:"twitter:description",content:k},"twitter:description"),C.alternate&&Object.entries(C.alternate).map(e=>{let[l,t]=e;return(0,a.jsx)("link",{rel:"alternate",hrefLang:l,href:"https://eduwo.ch/".concat(t)},l)}),C&&("course"===C.type||"school"===C.type)&&(0,a.jsx)("script",{async:!0,type:"application/ld+json",dangerouslySetInnerHTML:{__html:"".concat(JSON.stringify((()=>{let l=(()=>{var l;return{"@context":"https://schema.org","@type":"course"===C.type?"Course":"CollegeOrUniversity",name:null==C||null==(l=C.full_name)?void 0:l.replace(/"/g,""),description:null==k?void 0:k.replace(/"/g,""),url:"https://".concat(e.host,"/").concat(C.public_url),image:"course"===C.type?"https://".concat(e.host,"/images/default/eduwo-logo-og.png"):C.metaImage}})();return"course"===C.type&&(l=(l=>{let t=(e=>{let l=[];return l=C.start_dates.length>0?C.start_dates.map(l=>({...e,startDate:l.start_date})):[e],C.cities.length>0&&(l=l.flatMap(e=>C.cities.map(l=>{var t;return{...e,location:null==(t=l.city)?void 0:t.title}}))),l})((()=>{var e;let l={"@type":"CourseInstance",inLanguage:C.languages.map(e=>({"@type":"Language",name:e.title}
1)),courseWorkload:null==C||null==(e=C.duration)?void 0:e.iso_title};return Z().length>0&&(l={...l,courseMode:Z()}),l})());return{...l,offers:{"@type":"Offer",priceCurrency:"CFH",priceSpecification:{"@type":"PriceSpecification",minPrice:C.cost.min_cost,maxPrice:C.cost.max_cost,priceCurrency:"CFH"},category:C.degree_type.title},provider:{"@type":"CollegeOrUniversity",name:C.school.name,url:"https://".concat(e.host,"/").concat(C.school.public_url)},hasCourseInstance:1===t.length?t[0]:t}})(l)),(null==C?void 0:C.reviews_count)>0&&(null==C?void 0:C.rating_avg)>0&&(l={...l,aggregateRating:{"@type":"AggregateRating",bestRating:5,reviewCount:String(C.reviews_count),ratingValue:String(C.rating_avg)}}),l})()))}}),C&&"course"===C.type&&(0,a.jsx)("script",{async:!0,dangerouslySetInnerHTML:{__html:"\n window.dataLayer = window.dataLayer || [];\n function gtag(){dataLayer.push(arguments);}\n gtag('event','view_item', {\n 'value': '00.00',\n 'items': [{\n 'id': 'eduwo-course-".concat(C.id,"',\n 'location_id': '").concat(null==C?void 0:C.location_id,"',\n 'google_business_vertical': 'education'\n }]\n });")}})]});return(0,a.jsx)(a.Fragment,{children:C?(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)(E,{is_soa:C.is_soa,school_type_title:C.school_type_title,soa_school_levels:C.soa_school_levels,children:[(0,a.jsx)(J,{}),(0,a.jsxs)("section",{className:"CourseProfilePage",children:[Object.keys(T).map(e=>{let l=T[e],t=l.compParams,n=l.component;return(0,a.jsx)(n,{data:t},e)}),"expert"===C.type&&(0,a.jsx)(p,{data:C}),"organization"===C.type&&!y&&(0,a.jsx)(x,{orgId:C.id,type:C.type,url:"/".concat(C.type,"s/").concat(C.id,"/contact")}),(0,a.jsx)("ul",{className:"flex tabs ".concat(P<=i.A.mobile?"":"centered"," ").concat(K&&H?"mt_0":"mt_40"," CourseProfilePage__tabs"),children:null==D?void 0:D.map(e=>{let l,t=b.asPath.includes("dashboard")&&b.asPath.includes("profile_page");return"experts"===e&&(null==C?void 0:C.experts_count)===0||(null==C?void 0:C.number_of_experts)===0||"studies"===e&&(null==C?void 0:C.is_soa)||"contact"===e&&!V?null:(l=!((!t||e!==R||b.query.subTab)&&(b.asPath.includes("dashboard")||b.query.tab||e!==R))||(t?b.query.subTab:b.query.tab)===e,(0,a.jsx)("li",{children:(0,a.jsx)(N(),{href:t?"/".concat(w,"/dashboard?tab=recommendations&profile_page=true&slug=").concat(null==C?void 0:C.slug,"&subTab=").concat(e):e===R?"/".concat(w,"/").concat(b.query.studySlug,"/").concat(null==C?void 0:C.slug):"/".concat(w,"/").concat(b.query.studySlug,"/").concat(null==C?void 0:C.slug,"?tab=").concat(e),scroll:!1,children:(0,a.jsx)(r.default,{onClick:()=>S((0,O.QV)(!1)),className:"tab paragraph fw_300 ".concat(l?"active-tab fw_600":""),type:"link",animated:!1,label:e===(null==C?void 0:C.title_description)?C.title_description:e===R?"".concat(j(e)+" ".concat(C.tabName)," ").concat("experiences"===e?"(".concat(null==C?void 0:C.reviews_count,")"):""):j("common:".concat(e))})})},e))})}),(0,a.jsx)(B,{data:null!=C?C:{}})]})]})}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(J,{}),(0,a.jsx)("div",{className:"full_width centered",children:(0,a.jsx)(z.A,{type:"normal"})})]})})},G=function(e,l){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",n=arguments.length>4?arguments[4]:void 0;switch(e){case"course":return n("course:meta-course-desc",{full_name:l,schoolName:a});case"organization":return n("course:meta-org-desc",{full_name:l});case"school":return n("course:meta-school-desc",{short_name:t,full_name:l});case"expert":return n("course:meta-expert-desc",{full_name:l})}}},86455:(e,l,t)=>{t.d(l,{A:()=>h});var a=t(55427),n=t(97867),o=t(20548),s=t(33722),i=t(14782),r=t.n(i),c=t(2409);let d=e=>{let l={slidesToShow:1,infinite:e.infinite,responsive:[{breakpoint:769,settings:{slidesToShow:1,slidesToScroll:1}},{breakpoint:540,settings:{slidesToShow:1,slidesToScroll:1}}]};return(0,a.jsx)("div",{className:"full_height ImageGallerySlider ",children:(0,a.jsx)(c.A,{className:"ImageGallerySlider",sliderSettings:l,children:e.images.map((e,l)=>(0,a.jsx)("div",{className:"full_height position_relative",children:(0,a.jsx)(r(),{src:null==e?void 0:e.optimized_url,alt:e.alt,className:"ImageGallerySlider__image",f
1ill:!0,quality:100})},l))})})};var u=t(58310),_=t(6518),m=t(61245);let h=e=>{let{gallery:l,children:t}=e,[i,r]=(0,n.useState)(!1),c=(0,n.useRef)(null),h=(0,m.j)();return(0,a.jsxs)(a.Fragment,{children:[i&&(0,a.jsxs)("div",{ref:c,className:"AboutCourseProfile__slider_image",children:[(0,a.jsx)(o.default,{leftIcon:(0,a.jsx)(s.USm,{height:20,width:20,color:"#000"}),className:"p_10 AboutCourseProfile__close_btn",type:"light",onClick:()=>{h((0,_.Oo)()),r(!1)}}),(0,a.jsx)(u.default,{children:(0,a.jsx)(d,{infinite:!0,images:null!=l?l:[]})})]}),t(e=>{r(e)})]})}},86515:(e,l,t)=>{t.d(l,{Ay:()=>eJ,e4:()=>eU,w_:()=>eZ,OK:()=>eW,R6:()=>eK});var a=t(55427),n=t(8281),o=t(33722),s=t(29656),i=t(52692),r=t(77829),c=t.n(r),d=t(20548),u=t(97867),_=t(2222);let m=e=>{let{startDates:l,formatDate:t}=e,{t:n}=(0,i.A)("common"),{getCityName:o,loading:s}=(()=>{let{data:e,loading:l}=(0,_.q)({url:"/cities",params:{paginated:!1}});return{cities:e,loading:l,getCityName:l=>{var t,a;return l&&e&&null!=(a=null==(t=e.find(e=>Number(e.id)===l))?void 0:t.title)?a:null}}})(),r=l.filter(e=>""!==t(e.start_date));return 0===r.length?null:(0,a.jsxs)("table",{className:"CourseOverView__start-dates-table",children:[(0,a.jsx)("thead",{children:(0,a.jsxs)("tr",{children:[(0,a.jsx)("th",{children:n("start-date-col")}),(0,a.jsx)("th",{children:n("city-col")}),(0,a.jsx)("th",{children:n("online-col")})]})}),(0,a.jsx)("tbody",{children:r.map((e,l)=>{var i;return(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{children:t(e.start_date)}),(0,a.jsx)("td",{children:s?"â¦":null!=(i=o(e.city_id))?i:"â"}),(0,a.jsx)("td",{children:e.is_online?n("Ja"):n("Nein")})]},l)})})]})};var h=t(81834),p=t(92257),v=t(27152);let g=e=>{let{t:l}=(0,i.A)("common");return(0,a.jsx)("div",{className:"CourseOverView row row980",children:(0,a.jsxs)("div",{className:"CourseOverView--overview",children:[(0,a.jsx)("h2",{className:"h3",children:l("\xdcberblick")}),Object.keys(e.data).map(l=>{let t=e.data[l].component,n=e.data[l].params;if(n)return(0,a.jsx)(t,{data:n},l)})]})})},x=e=>{let l=(e=>{var l,t,n,r,u,_,h,p,v,g,x,f,b,y,j,w,N,C,A,S,k,P,I,z,T,M,O,L,F,D,R,E,q,B,V,G,H,K,Z,U,W;let{t:J}=(0,i.A)("common"),Y=e=>{if(!e)return"";let l=new Date(e),t=l.getDate().toString().padStart(2,"0"),a=(l.getMonth()+1).toString().padStart(2,"0"),n=l.getFullYear();return l<new Date?"":"".concat(t,".").concat(a,".").concat(n)},X=e=>e&&e.length>80?e:null,$=null==(l=e.start_dates)?void 0:l.some(e=>null!=e.city_id);return[{icon:(0,a.jsx)(o.CTc,{}),title:e.duration_description?e.duration_description:null==(t=e.duration)?void 0:t.title,body:"".concat(J("Dauer")),shouldShow:"course"===e.type&&!!(e.duration_description||(null==e?void 0:e.duration)&&(null==(n=e.duration)?void 0:n.title)),order:1,flyoutContent:null!=(G=X(null!=(V=e.duration_description)?V:null==e||null==(r=e.duration)?void 0:r.title))?G:null},{icon:(0,a.jsx)(o.Uh$,{}),title:e.location_description?e.location_description:null==e||null==(u=e.cities)?void 0:u.map(e=>{var l;return null==(l=e.city)?void 0:l.title}).join(", "),body:"".concat(J("Standorte")),shouldShow:e.location_description||(null==e||null==(_=e.cities)?void 0:_.length)>0,order:2,flyoutContent:null!=(K=X(null!=(H=e.location_description)?H:null))?K:null},{icon:(0,a.jsx)(o.FqJ,{}),title:e.ects_credits+" ECTS",body:"".concat(J("Punkte")),shouldShow:e.ects_credits&&"course"===e.type,order:3,flyoutContent:null},{icon:(0,a.jsx)(s.default,{}),title:e.soa_financing_type,body:"".concat(J("Schulart")),shouldShow:e.is_soa&&"expert"!==e.type,order:4,flyoutContent:null},{icon:(0,a.jsx)(o.BHq,{}),title:e.soa_students_count,body:"".concat(J("Sportsch\xfcler*innen")),shouldShow:e.is_soa&&"expert"!==e.type,order:5,flyoutContent:null},{icon:(0,a.jsx)(o.vZe,{}),title:e.soa_certification_year,body:"".concat(J("Erstzertifizierung")),shouldShow:e.is_soa&&"expert"!==e.type,order:6,flyoutContent:null},{icon:(0,a.jsx)(o.fx5,{}),title:e.cost_description?e.cost_description:null==(h=e.cost)?void 0:h.title,body:"".concat(J("Kosten")),shouldShow:"course"===e.type&&(e.cost_description||(null==(p=e.cost)?void 0:p.title)),order:7,flyoutContent:X(null!=(Z=null==e?void 0:e.cost_description)?Z:null==e||null==(v=e.cost)?void 0:v.title)},{icon:(0,a.jsx)(o.y5k,{}),title:(null==e?void 0:e.study_begins_at)||(null==e||null==(g=e.start_dates)?void 0:g.map(e=>""!==Y(e.start_date)?Y(e.start_date):null).filter(e=>null!==e).join(", ")),body:"".concat(J("Beginn des Studiengangs")),shouldShow:(null==e?void 0:e.study_begins_at)||(null==e||null==(x=e.start_dates)?void 0:x.length)>0,order:8,flyoutContent:$&&(null==e||null==(f=e.start_dates)?void 0:f.length)>0?(0,a.jsx)(m,{startDates:e.start_dates,formatDate:Y}):(null==e?void 0:e.study_begins_at)&&(null==e||null==(b=e.start_dates)?void 0:b.length)>0?e.start_dates.map(e=>""!==Y(e.start_date)?Y(e.start_date):null).filter(e=>null!==e).join(", "):null},{icon:(0,a.jsx)(o.O4D,{}),title:"".concat(J("Anmeldeschluss")),body:e.registration_deadline,shouldShow:e.registration_deadline,order:9,flyoutContent:null},{icon:(0,a.jsx)(o.Frx,{}),title:"Online",body:"",shouldShow:e.online_course,order:10,flyoutContent:null},{icon:(0,a.jsx)(o.SV4,{}),title:null==(y=e.languages)?void 0:y.map(e=>e.title).join(", "),body:"".concat(J("Sprache")),shouldShow:(null==(j=e.languages)?void 0:j.length)>0,order:11,flyoutContent:null},{icon:(0,a.jsx)(o.iUc,{}),title:"".concat(J("Verpflegungsm\xf6glichkeit"),": ").concat((null==e?void 0:e.food_facility)?"".concat(J("Ja")):"".concat(J("Nein"))),body:null!=(U=null==e?void 0:e.food_facility_description)?U:"",shouldShow:null==e?void 0:e.food_facility,order:12,flyoutContent:null},{icon:(0,a.jsx)(o.Tb9,{}),title:"".concat(J("Sportm\xf6glichkeit"),": ").concat((null==e?void 0:e.sport_facility)?"".concat(J("Ja")):"".concat(J("Nein"))),body:null!=(W=null==e?void 0:e.sport_facility_description)?W:"",shouldShow:null==e?void 0:e.sport_facility,order:13,flyoutContent:null},{icon:(0,a.jsx)(o.wPO,{}
1),title:null==e?void 0:e.school_type_title,body:"".concat(J("Schultyp")),shouldShow:e.schoolName&&"school"===e.type,order:(null==e?void 0:e.type)==="school"?1:14,flyoutContent:null},{icon:(0,a.jsx)(o.gqH,{}),title:null==e?void 0:e.founding_year,body:"".concat(J("Gr\xfcndungsjahr")),shouldShow:"school"===e.type&&(null==e?void 0:e.founding_year),order:(null==e?void 0:e.type)==="school"?3:15,flyoutContent:null},{icon:(0,a.jsx)(o.Kuf,{}),title:null==e?void 0:e.students_count,body:"".concat(J("Studierende")),shouldShow:(null==e?void 0:e.type)==="school"&&(null==e?void 0:e.students_count),order:(null==e?void 0:e.type)==="school"?4:16,flyoutContent:null},{icon:(null==e?void 0:e.is_updated_status)?(0,a.jsx)(o.waX,{}):(0,a.jsx)(o.mjQ,{}),title:J((null==e?void 0:e.is_updated_status)?"Dieses Profil ist aktuell":"Dieses Profil ist allenfalls nicht aktuell"),body:J((null==e?void 0:e.is_updated_status)?"Die Angaben wurden k\xfcrzlich gepr\xfcft":"not-actual"),shouldShow:(null==e?void 0:e.type)==="school"&&!(null==e?void 0:e.hidde_updated),order:17,flyoutContent:null},{icon:(0,a.jsx)(o.mOK,{}),title:null==e?void 0:e.number_of_employees,body:J("Anzahl Mitarbeitende Schweiz"),shouldShow:(null==e?void 0:e.type)==="organization"&&(null==e?void 0:e.number_of_employees),order:18,flyoutContent:null},{icon:(0,a.jsx)(o.mbr,{}),title:null==e||null==(w=e.legal_form)?void 0:w.title,body:J("Rechtsform"),shouldShow:(null==e?void 0:e.type)==="organization"&&(null==e||null==(N=e.legal_form)?void 0:N.title),order:19,flyoutContent:null},{icon:(0,a.jsx)(o.NLZ,{}),title:null==e?void 0:e.foundation_year,body:J("Gr\xfcndungsjahr"),shouldShow:"organization"===e.type&&(null==e?void 0:e.foundation_year),order:20,flyoutContent:null},{icon:(0,a.jsx)(o.OKA,{}),title:null==e||null==(C=e.branch)?void 0:C.title,body:J("Branche"),shouldShow:(null==e?void 0:e.type)==="organization"&&(null==e||null==(A=e.branch)?void 0:A.title),order:21,flyoutContent:null},{icon:(0,a.jsx)(o.PTl,{}),title:null==e||null==(S=e.job_types)?void 0:S.map(e=>e.title).join(", "),body:J("Jobarten"),shouldShow:"organization"===e.type&&(null==(k=e.job_types)?void 0:k.length)>0,order:22,flyoutContent:null},{icon:(0,a.jsx)(o.FqJ,{}),title:null==e?void 0:e.turnover,body:J("Umsatz"),shouldShow:null==e?void 0:e.turnover,order:23,flyoutContent:null},{icon:(0,a.jsx)(o.bKn,{}),title:null==e?void 0:e.experts_count,body:J((null==e?void 0:e.experts_count)>1?"Experten":"Experte"),shouldShow:null==e?void 0:e.experts_count,order:24,flyoutContent:null},{icon:(0,a.jsx)(o.wPO,{}),title:null==(P=e.expert_school)?void 0:P.map(e=>e.abbreviation).join(", "),body:J("Studiert(e) hier"),shouldShow:(null==e||null==(I=e.expert_school)?void 0:I.length)>0,order:26,flyoutContent:null},{icon:(0,a.jsx)(o._MP,{width:"24",height:"24"}),title:null==e||null==(z=e.expert_school)?void 0:z.map(e=>{var l;return null==e||null==(l=e.course)?void 0:l.short_name}).join(", "),body:J("Abschl\xfcsse"),shouldShow:(null==e||null==(M=e.expert_school)||null==(T=M.filter(e=>{var l;return null==e||null==(l=e.course)?void 0:l.short_name}))?void 0:T.length)>0,order:27,flyoutContent:null},{icon:(0,a.jsx)(o._K$,{}),title:e.birthday_year,body:J("Geburtsjahr"),shouldShow:null==e?void 0:e.birthday_year,order:28,flyoutContent:null},{icon:(0,a.jsx)(o.CTc,{}),title:null==(O=e.expert_school)?void 0:O.map(e=>e.graduation_year).join(", "),body:J("(Geplante) Abschlussjahre"),shouldShow:(null==e||null==(L=e.expert_school)?void 0:L.filter(e=>e.graduation_year).length)>0&&"expert"===e.type,order:29,flyoutContent:null},{icon:(0,a.jsx)(o.zF5,{}),title:e.job_title,body:J("Jobtitel"),shouldShow:null==e?void 0:e.job_title,order:30,flyoutContent:null},{icon:(0,a.jsx)(o.eRw,{}),title:null==(F=e.expert_for)?void 0:F.map(e=>e.title).join(", "),body:J("Studienrichtung"),shouldShow:(null==e||null==(R=e.expert_for)||null==(D=R.filter(e=>null==e?void 0:e.title))?void 0:D.length)>0,order:31,flyoutContent:null},{icon:(0,a.jsx)(o.aic,{width:"24px",height:"24px"}),title:(()=>{if(e.expert_organizations&&e.expert_organizations.length>0){let l=e.expert_organizations.filter(e=>"swiss-olympic"!==e.slug);
1if(l.length>0)return l[0].name}return""})(),body:J("Arbeitgeber"),shouldShow:!!e.expert_organizations&&(null==e||null==(E=e.expert_organizations)?void 0:E.length)>0&&(1!==e.expert_organizations.length||"swiss-olympic"!==e.expert_organizations[0].slug),order:32,flyoutContent:null},{icon:(0,a.jsx)(o._MP,{width:"24px"}),title:null==e||null==(q=e.degree_type)?void 0:q.title,body:"".concat(J("Abschluss")),shouldShow:null==e||null==(B=e.degree_type)?void 0:B.title,order:33,flyoutContent:null},{icon:(0,a.jsx)(o.Frx,{}),title:"".concat(J("course:inhouse-training")),body:"",shouldShow:e.inhouse_course,order:34,flyoutContent:null},{icon:(0,a.jsx)(o.fx5,{}),title:"".concat(J("course:salary_expectations")),body:e.salary_expectations,shouldShow:e.salary_expectations,order:35,flyoutContent:null},{icon:(0,a.jsx)(o.vMX,{}),title:"CHF ".concat(null==e?void 0:e.amount_of_subsidies," "),body:"".concat(J("course:subsidies")),shouldShow:(null==e?void 0:e.amount_of_subsidies)&&(null==e?void 0:e.has_government_subsidies),order:36,flyoutContent:(0,a.jsxs)(a.Fragment,{children:[J("course:subsidies_description")," ",(0,a.jsx)(c(),{href:"https://www.sbfi.admin.ch/de/bundesbeitraege-fuer-kurse-die-auf-eidgenoessische-pruefungen-vorbereiten",target:"_blank",rel:"noopener noreferrer",children:(0,a.jsx)(d.default,{label:J("course:subject_oriented_financing"),type:"reverse_link",className:"c_blue btn-label inline-block p_0",animated:!1})})]})}]})(e.data).sort((e,l)=>e.order-l.order),{t}=(0,i.A)("common"),{width:r}=(0,p.A)(),u=r<=v.A.tablet;return(0,a.jsx)("div",{className:"CourseOverView__info mt_40",children:l.map((e,l)=>{var o,s;if(e.shouldShow){if(null==e?void 0:e.flyoutContent){let l=e.title.length>80;return(0,a.jsx)(n.A,{title:(0,a.jsx)(h.A,{label:l?(0,a.jsxs)("div",{className:"flex CourseOverView__flyout_label mb_10 CourseOverView__info--ellipsis",children:[(0,a.jsx)("h3",{className:"h4 paragraph CourseOverView__info--ellipsis",children:e.title}),(0,a.jsx)("span",{className:"inline",children:(0,a.jsx)(d.default,{className:"CourseOverView__more_btn p_0 bg_transparent ",label:t("more"),type:"link"})})]}):e.title,type:"light",animated:!1,translateY:e.title.length>80?u?8:-3:u?10:-10,translateX:(e.title.length,0),direction:"middle_down",buttonClassName:"btn-label p_0 no_border bg_transparent",flyoutClassName:"cardimage_small--flyout compare-flyout drop-shadow CourseOverView__flyout_content",children:(0,a.jsx)("div",{className:"compare-course-list--item__content ",children:(0,a.jsx)("div",{className:"btn-label CourseOverView__flyout_para fw_400",children:e.flyoutContent})})}),body:null!=(o=String(e.body))?o:"",icon:e.icon,className:l?"CourseOverView__info--exceeded_chars":""},e.title)}return(0,a.jsx)(n.A,{title:e.title,body:null!=(s=String(null==e?void 0:e.body))?s:"",icon:e.icon},l)}})})};var f=t(3778),b=t(10938),y=t(81622);let j=e=>{let{id:l,type:t,className:n,showLeftSection:o}=e.data,{data:s,loading:r}=(0,_.q)({url:"/courses/".concat(l,"/reviews"),params:{sort_by:"rating_avg",order_by:"desc",range:3},skip:!l}),{t:c}=(0,i.A)("common");return r?(0,a.jsx)("div",{className:"loading-container",children:(0,a.jsx)(y.A,{type:"normal"})}):"course"===t&&s&&0!==s.length?(0,a.jsx)(b.A,{className:n,latestReviews:s,showLeftSection:o,title:c("top-reviews")}):null},w=e=>{let{data:l}=e,{t}=(0,i.A)("course"),n=(null==l?void 0:l.admission.startsWith("<p>"))?l.admission:"<p>".concat(null==l?void 0:l.admission,"</p>");return(0,a.jsxs)("div",{className:"AboutCourseProfile__html row row980 mt_40 bg-liner-blue p_20 border-20",children:[(0,a.jsx)("h2",{className:"h3",children:t("Voraussetzungen")}),(0,a.jsx)("div",{dangerouslySetInnerHTML:{__html:null!=n?n:""}})]})};var N=t(14782),C=t.n(N),A=t(12954),S=t(3540);let k=e=>{var l,t,n,o;let{lang:s}=(0,i.A)(),r="/publicity/selected?category=".concat(e.data.type,"&locale=").concat(s),{data:c,loading:d}=(0,_.q)({url:r}),u=(0,S.useRouter)();return c&&(0,A.Z)(c)||(null==c?void 0:c.image_leaderboard)&&!(null==c?void 0:c.image_leaderboard.full_url)?null:d?(0,a.jsx)("div",{className:"full_width centered mt_40",children:(0,a.jsx)(y.A,{type:"normal"})}):(0,a.jsx)("div",{className:"AboutCourseProfile__ad row row980 mt_40 pointer",children:(0,a.jsx)(C(),{onClick:()=>{var e;return u.push(null!=(e=null==c?void 0:c.link)?e:"")},alt:null!=(n=null==c||null==(l=c.image_leaderboard)?void 0:l.alt)?n:"",src:null!=(o=null==c||null==(t=c.image_leaderboard)?void 0:t.medium_url)?o:"",fill:!0,quality:100,unoptimized:!0,priority:!1,sizes:"(max-width: 768px) 100vw,(max-width: 1200px) 50vw, 33vw"})})};var P=t(54018);let I=e=>{var l,t,n;let{data:s}=e;return(null==s||null==(l=s.ai_summary)?void 0:l.trim())?(0,a.jsx)("div",{className:"row row980 mt_30",children:(0,a.jsx)(P.A,{slug:null!=(t=s.slug)?t:"",title:"KI-generierte Zusammenfassung (".concat(null!=(n=s.short_name)?n:"",")"),icon:(0,a.jsx)(o.wr_,{}),headingLevel:"h5",className:"mb_30",body:(0,a.jsx)("div",{className:"AboutCourseProfile__html",dangerouslySetInnerHTML:{__html:s.ai_summary}})})}):null};var z=t(66824),T=t(93554);let M=e=>{var l,t,n;let o=e.data,{width:s}=(0,p.A)(),{t:r}=(0,i.A)("common");return(0,a.jsxs)("div",{className:"CourseOverView__school ".concat(s>575.98?"flex flex_wrap":"flex_column"),style:{gap:s>575.98?"20px":"0",alignItems:s>575.98?"stretch":"normal"},children:[(null==o?void 0:o.isSchoolPublic)&&(0,a.jsx)("div",{className:s>575.98?"":"mb_30",style:{flex:s>575.98?"1 1 300px":"none",minWidth:s>575.98?"300px":"auto"},children:(0,a.jsx)(c(),{href:"/".concat(null==o?void 0:o.public_url),locale:!1,children:(0,a.jsx)(T.A,{imageClassName:"contain-center",image:null!=(l=null==o?void 0:o.small_url)?l:"/assets/images/bg-school-hero.jpg",title:null==o?void 0:o.schoolName,titleClassName:"btn-label fw_600",className:"full_width h_100",type:"normal",alt:null!=(t=null==o?void 0:o.alt)?t:""})})}),!(null==o?void 0:o.hidde_updated)&&(0,a.jsx)("div",{className:s>575.98?"":"mb_30",style:{flex:s>575.98?"1 1 300px":"none",minWidth:s>575.98?"300px":"auto"},children:(0,a.jsx)(T.A,{className:"full_width h_100",imageClassName:"contain-center",titleClassName:"btn-label",bodyClassName:"small_paragraph",title:"".concat(r((null==o?void 0:o.is_updated_status)?"Dieses Profil ist aktuell":"Dieses Profil ist allenfalls nicht aktuell")),body:"".concat(r((null==o?void 0:o.is_updated_status)?"Die Angaben wurden k\xfcrzlich gepr\xfcft":"not-actual")),image:(null==o?void 0:o.is_updated_status)?"/assets/images/CheckImage.png":"/assets/images/NonUpdateImage.png",type:"normal",alt:null!=(n=null==o?void 0:o.alt)?n:""})})]})};var O=t(26006);let L=e=>{var l,t;let[n,o]=(0,u.useState)(""),s=(0,u.useRef)(null),i=(0,O.A)(s),{data:r}=e;(0,u.useEffect)(()=>{var e,l;let t=new DOMParser().parseFromString(null!=(l=null==r?void 0:r.description)?l:"","text/html");(function(e){for(let a=0;a<e.childNodes.length;a++){var l,t;let n=e.childNodes[a];if(n.nodeType===Node.TEXT_NODE&&(null==(l=n.textContent)?void 0:l.trim())!==""){let l=d
1ocument.createElement("p");l.textContent=n.textContent,l.classList.add("mb_10"),e.replaceChild(l,n);return}n.nodeType===Node.ELEMENT_NODE&&"P"===n.nodeName&&((null==(t=n.textContent)?void 0:t.trim())?n.classList.add("mb_10"):n.innerHTML=" ")}})(t.body),o(null==t||null==(e=t.body)?void 0:e.innerHTML)},[null==r?void 0:r.description]);let c=(null==(l=e.data)?void 0:l.description.startsWith("<p>"))?n:"<p>".concat(n,"</p>");return(0,a.jsx)("div",{ref:s,className:"AboutCourseProfile__html mt_40 row row980",children:!!i&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("h2",{className:"h3",children:null==(t=e.data)?void 0:t.title}),(0,a.jsx)("div",{className:"AboutCourseProfile__html",dangerouslySetInnerHTML:{__html:c}})]})})};var F=t(43123);let D=e=>{let{data:l}=e,{t}=(0,i.A)("course");return(0,a.jsxs)("div",{className:"row row980 mt_20",children:[(0,a.jsx)("h2",{className:"h3 fw_500",children:t("download-center")}),(0,a.jsx)("div",{className:"DownLoadCenter box_shadow bg_white mt_30 ",children:null==l?void 0:l.map((e,t)=>(0,a.jsx)(F.A,{className:"DownLoadCenter__download ".concat(t===l.length-1?"DownLoadCenter--no-border ":""),downloadUrl:e.full_url,text:e.name,fileName:e.file_name,fileIcon:(0,a.jsx)(o.oSV,{})},e.file_name))})]})},R=e=>{let{image:l,imageAlt:t,title:n,eventTimeline:o,description:s,buttonLabel:r,date:u,link:_,onClick:m}=e,{t:h}=(0,i.A)("common"),p=()=>(0,a.jsx)(d.default,{disabled:!u,type:u?"primary":"disabled",className:"btn-label",label:r,onClick:m}),v=m?(0,a.jsx)(p,{}):(0,a.jsx)(c(),{className:u?"":"pointer_none",href:_,passHref:!0,target:"_blank",children:(0,a.jsx)(p,{})});return(0,a.jsxs)("div",{className:"EventsCard flex position_relative row row1240",children:[(0,a.jsx)("div",{className:"EventsCard--image-container",children:(0,a.jsx)(C(),{src:l,alt:t,fill:!0,sizes:"(max-width: 768px) 100vw,(max-width: 1200px) 50vw, 33vw",priority:!1})}),(0,a.jsxs)("div",{className:"EventsCard--content",children:[(0,a.jsx)("h1",{className:"h6 mb_15",children:n}),(0,a.jsx)("p",{className:"EventsCard--content__timeline c_f0000 paragraph mb_15 fw_500",children:o}),(0,a.jsx)("p",{className:"EventsCard--content__description c_f0000 paragraph mb_30",dangerouslySetInnerHTML:{__html:s}}),v]}),(0,a.jsx)("div",{className:"EventsCard--date h6 centered ".concat(u?"":"bg_error_msg"),children:u||h("common:invalid-event-date")})]})};var E=t(2409);let q=(e,l)=>{let t=e.getFullYear(),a=e.getMonth()+1,n=e.toLocaleString(l,{month:"long"}),o=e.getDate(),s=e.getHours()>9?e.getHours():"0".concat(e.getHours());return{year:t,month:a,day:o,hours:s,minutes:e.getMinutes()>9?e.getMinutes():"0".concat(e.getMinutes()),seconds:e.getSeconds()>9?e.getSeconds():"0".concat(e.getSeconds()),monthName:n}};var B=t(21433),V=t(61245),G=t(6518),H=t(12372),K=t(58310),Z=t(10856);let U=e=>{var l,t,n;let{data:o}=(0,_.q)({url:"/".concat(null==(l=e.data)?void 0:l.type,"s/").concat(null==(t=e.data)?void 0:t.slug,"/").concat(null==(n=e.data)?void 0:n.type,"_events"),params:{paginated:!1}}),[s,r]=(0,u.useState)(""),c=(0,V.j)(),{t:d,lang:m}=(0,i.A)("course"),{fetchFormData:h,handleSetIsCourseModalOpen:p,isProfileModalOpen:v,formData:g,source:x}=(0,H.K)();return(0,a.jsxs)(a.Fragment,{children:[v&&(0,a.jsx)(K.default,{children:(0,a.jsx)(Z.A,{type:"modal-form",handleOnClose:p,source:x,pageData:g,allPageValues:{message:s}})}),o&&o.length>0&&(0,a.jsxs)("div",{className:"row row980 mt_40",children:[(0,a.jsx)("h2",{className:"h3",children:d("Events")}),(0,a.jsx)("div",{className:"box_shadow",children:(0,a.jsx)(E.A,{sliderSettings:{slidesToShow:1},children:o.map(l=>{var t,n;let{profile_image:o,title:s,starts_on:i,ends_on:u,description:_,id:v,link:g,all_day:x,open_hours:f,close_hours:b}=l,y=null;if(i&&u){let{monthName:e,day:l}=q(new Date(null==i?void 0:i.replace(/-/g,"/")),m),{monthName:t,day:a}=q(new Date(null==u?void 0:u.replace(/-/g,"/")),m);y=l!==a?"".concat(l," ").concat(e," - ").concat(a," ").concat(t):"".concat(l," ").concat(e)}let j=null!=(n=null==o?void 0:o.optimized_url)?n:"/assets/images/bg-page-hero.jpg",w=x?d("all-day-event"):"".concat(f," - ").concat(b);return(0,a.jsx)(R,{link:g,title:s,image:j,imageAlt:s,eventTimeline:w,date:y,description:_,buttonLabel:d("F\xfcr Event anmelden"),onClick:(null==(t=e.data)?void 0:t.type)==="course"?()=>{var l,t;let a=d("wizard:event_comment",{title:s,date:y,time:w});((l,t,a,n)=>{var o,s;(0,B.ga)("send","event","order_form","klick",a),h({identifier:"".concat(t),slug:null!=(s=null==(o=e.data)?void 0:o.slug)?s:"",source:l}),r(n),p(!0),c((0,G.qf)())})("course-profile-courses-events-open-spots","".concat(null==(l=e.data)?void 0:l.type,"s"),"".concat(null==(t=e.data)?void 0:t.type,"_infomaterial"),a)}:void 0},v)})})})]})]})};var W=t(13e3);let J=e=>{var l;let t=null==(l=e.data)?void 0:l.items,{t:n}=(0,i.A)("course"),{width:o}=(0,p.A)(),s=o>v.A.tablet?"col col33":"col col100";return(0,a.jsxs)("div",{className:"full_width row row980 mt_40 ExpertFocus",children:[(0,a.jsx)("h2",{className:"h3",children:n("focus")}),(0,a.jsx)("ul",{children:null==t?void 0:t.map(e=>{let l=(e=>e<20?W.nw[0]:e<40?W.nw[1]:e<60?W.nw[2]:e<80?W.nw[3]:W.nw[4])(e.skill_value);return(0,a.jsxs)("li",{className:"pt_20 pb_20 ExpertFocus__item fw_300 paragraph",children:[(0,a.jsx)("div",{className:s,children:e.study_field_title}),(0,a.jsxs)("div",{className:s,children:[(0,a.jsx)("div",{className:"ExpertFocus__slider col col70",children:(0,a.jsx)("div",{style:{width:"".concat(e.skill_value,"%")},className:"blue-slider"})}),(0,a.jsxs)("div",{className:"col col20 ml_20 fw_600 ",children:[e.skill_value,"%"]})]}),(0,a.jsx)("div",{className:s,children:n("common:".concat(l))})]},e.study_field_title)})})]})};var Y=t(83994),X=t(64451);let $=e=>{let{height:l="30px",width:t="30px",...n}=e;return(0,a.jsxs)("svg",{width:t,height:l,viewBox:"0 0 30 30",version:"1.1",xmlns:"http://www.w3.org/2000/svg",...n,children:[(0,a.jsx)("defs",{children:(0,a.jsxs)("linearGradient",{x1:"100%",y1:"99.8441154%",x2:"0%",y2:"0.155884551%",id:"linearGradient-1",children:[(0,a.jsx)("stop",{stopColor:"#1888D5",offset:"0%"}),(0,a.jsx)("stop",{stopColor:"#0A50AA",offset:"100%"})]})}),(0,a.jsx)("g",{id:"Icons/Ico-Thumb-Up-Black",strokeWidth:1,fill:"url(#linearGradient-1)",fillRule:"evenodd",children:(0,a.jsx)("g",{id:"ico_like",transform:"translate(8.000000, 8.000000)",fill:"url(#linearGradient-1)",children:(0,a.jsx)("path",{d:"M6.3,0 C7.38,0 8.1,0.45 8.1,1.8 L8.1,1.8 L8.1,5.4 L11.97,5.4 C12.69,5.4 13.41,5.67 13.86,6.3 C14.31,6.75 14.49,7.47 14.4,8.19 L14.4,8.19 L13.68,12.33 C13.5,13.5 12.51,14.4 11.34,14.4 L11.34,14.4 L3.6,14.4 L3.6,7.2 C3.69,7.2 5.76,0.45 5.76,0.45 C5.76,0.18 6.03,0 6.3,0 Z M1.8,7.2 L1.8,14.4 L0,14.4 L0,7.2 L1.8,7.2 Z",id:"Combined-Shape"})})})]})},Q=e=>{let{data:l,afterChange:t,slidesToShow:n,title:s}=e;return(null==l?void 0:l.length)>0?(0,a.jsxs)("div",{className:"row row980 mt_40 RelatedStudyPageItems",children:[(0,a.jsx)("h2",{className:"h4",children:s}),(0,a.jsx)(E.A,{afterChange:t,slidesToShow:n,children:null==l?void 0:l.map((e,l)=>{var t,n,s,i,r,u,_,m,h,p,v,g;let x=null!=(h=null!=(m=null==e||null==(t=e.background_image)?void 0:t.small_url)?m:null==(n=e.profile_image)?void 0:n.small_url)?h:eK,f=null==(s=e.logo_image)?void 0:s.small_url,b=(null==e||null==(i=e.cities)?void 0:i.length)>0?e.cities.map(e=>{var l;return null==(l=e.city)?void 0:l.title}).join(", "):null!=(p=e.city)?p:null==(r=e.school)?void 0:r.city,y="string"==typeof b?b:null==b?void 0:b.title;return(0,a.jsx)("div",{className:"pl_10 pr_10 pt_10 pb_10 InterestingSchoolsSlider__card postion_relative",children:(0,a.jsx)(c(),{href:"/".concat(e.public_url),locale:!1,children:(0,a.jsx)(Y.A,{logoClassName:"RelatedStudyPageItems__logo",type:"stretch",className:"InterestingSchoolsSlider__card_image",image:x,logo:f,alt:(null==(u=e.background_image)?void 0:u.alt)||"Eduwo School",secondaryTitle:null!=(g=null!=(v=null==e?void 0:e.short_name)?v:e.name)?g:e.full_name,priority:!1,sizes:"(max-width: 768px) 50vw, (max-width: 1200px) 33vw, 25vw",approved:e.premium,quality:85,body:(0,a.jsxs)(a.Fragment,{children:[y?(0,a.jsx)(T.A,{alt:"",image:(0,a.jsx)(o.BT6,{}),type:"extra-small",title:y}):"",(null==e||null==(_=e.degree_type)?void 0:_.title)&&(0,a.jsx)(T.A,{alt:"",image:(0,a.jsx)(o.Zyq,{}),type:"extra-small",title:e.degree_type.title}),(null==e?void 0:e.ects_credits)&&(0,a.jsx)(T.A,{alt:"",image:(0,a.jsx)(o.jfj,{}),type:"extra-small",title:(0,a.jsx)("h2",{className:"text_decoration paragraph fw_300",children:e.ects_credits})}),!!(e.rating_avg||e.recommend)&&(0,a.jsxs)("div",{className:"flex mt_10 ",children:[e.rating_avg?(0,a.jsx)(d.default,{className:"px_10 py_5 mr_10 centered",leftIcon:(0,a.jsx)(X.A,{width:20,height:20,color:"#fff"}),label:e.rating_avg,animated:!1}):null,e.recommend?(0,a.jsx)(d.default,{className:"px_10 py_5 centered RelatedStudyPageItems__thumb_btn",leftIcon:(0,a.jsx)($,{width:25,height:25}),label:"".concat(Number(e.recommend).toFixed(1)),animated:!1}):null]})]})})})},l)})})]}):null},ee=e=>{let{data:l}=e,{width:t}=(0,p.A)(),{t:n,lang:o}=(0,i.A)("course"),{data:s,loading:r}=(0,_.q)({url:null==l?void 0:l.url,params:{locale:o}});return r?(0,a.jsx)("div",{className:"row row980 mt_40 centered",children:(0,a.jsx)(y.A,{type:"normal"})}):s&&s.length>0?(0,a.jsx)(Q,{title:"".concat(n(null==l?void 0:l.translationTitleKey)," ").concat(null==l?void 0:l.name),slidesToShow:t>768?3:t>540?2:1,data:s}):null};var el=t(93801),et=t(8988),ea=t(29360),en=t(8147);let eo=e=>{let{data:l}=e,t=(0,ea.d4)(e=>e.dashboardData.width),{width:n}=(0,p.A)(),o=(0,S.useRouter)(),s=o.asPath.includes("dashboard")&&o.asPath.includes("profile_page"),i=n<v.A.tablet,{hideHeaderLinks:r}=(0,en.V)();if(s&&!i){let e=l.headerRightSide,t=l.headerRatings,n=l.headerButtons;return(0,a.jsxs)("div",{className:"CourseProfile__content CourseProfile__content--mobile
1CourseProfile__content--dashboard-two-cols",children:[(0,a.jsxs)("div",{className:"CourseProfile__content-col CourseProfile__content-col--left",children:[(null==e?void 0:e.params)&&(0,a.jsx)(e.component,{data:e.params}),(null==t?void 0:t.params)&&!(s&&r)&&(0,a.jsx)(t.component,{data:t.params})]}),(0,a.jsxs)("div",{className:"CourseProfile__content-col CourseProfile__content-col--right",children:[(null==n?void 0:n.params)&&(0,a.jsx)(n.component,{data:n.params}),(null==t?void 0:t.params)&&s&&r&&(0,a.jsx)(t.component,{data:t.params})]})]})}return(0,a.jsx)("div",{className:"CourseProfile__content ".concat((t||n)<v.A.tablet?"CourseProfile__content--mobile":""),children:Object.keys(l).map(e=>{let t=l[e];if("courseId"===e||"number"==typeof t)return null;let n=null==t?void 0:t.params;if(!n)return null;let o=null==t?void 0:t.component;return(0,a.jsx)(o,{data:n},e)})})},es=e=>{var l;let{data:t}=e,{width:n}=(0,p.A)(),s=(0,ea.d4)(e=>e.dashboardData.width)||n,i=(0,S.useRouter)(),r=i.asPath.includes("dashboard")&&i.asPath.includes("profile_page");return(0,a.jsxs)("div",{className:" ".concat(s>850?"flex_align_center mb_20":"column"," ").concat(s<=767.98?"full_width":""),children:[t.image&&(0,a.jsx)("div",{className:"mr_20 ".concat(s<=850?"order1":""),children:(0,a.jsx)(C(),{className:"CourseProfile__content--logo ".concat(null!=(l=t.className)?l:""),src:t.image,width:150,height:150,priority:!0,alt:t.alt,quality:100})}),(0,a.jsxs)("div",{className:"".concat(s>1200?"col80":"col100"," ").concat(r?"":"position_relative"),children:[t.premium&&(0,a.jsxs)("div",{className:"flex_align_center CourseProfile__premium ".concat(s<980?"CourseProfile__premium--tablet":""," ").concat(s<767.98?"CourseProfile__premium--mobile":""),children:[(0,a.jsx)(o.hDu,{}),s>767.98&&(0,a.jsx)("p",{className:"small_paragraph ml_10",children:"Premium"})]}),(0,a.jsx)("h1",{className:"second-h3 CourseProfile--title ".concat(s>767.98?"col60":"col90"),children:"course"===t.type?t.short_name:t.name}),(0,a.jsx)("p",{className:"paragraph c_gray",children:t.abbreviation})]})]})};var ei=t(86455),er=t(19172);let ec=function(e){let[l,t]=(0,u.useState)([]);return(0,u.useEffect)(()=>{(async()=>{let l=[];for(let t of e){let e=new Image;e.src=t.optimized_url,await new Promise(a=>{e.onload=()=>{var n;let{naturalWidth:o,naturalHeight:s}=e,i=t.alt||((n=t.name||"")?n.replace(/[-_]/g," ").replace(/\d{6,}/g,"").replace(/\s+/g," "):"");l.push({src:t.optimized_url,alt:i,caption:i,width:o,height:s}),a()}})}t(l)})()},[e]),l};var ed=t(15098);let eu=e=>{var l,t;let n=(0,V.j)(),{handleSetCurrentImage:o,modifiedGallery:s}=(0,er.A)(null==e||null==(l=e.data)?void 0:l.gallery),i=ec(null==e||null==(t=e.data)?void 0:t.gallery);return(0,a.jsx)(ei.A,{gallery:s,children:e=>(0,a.jsx)("div",{className:"row row980 mt_40",children:(0,a.jsx)(ed.A,{photos:i,spacing:5,padding:0,defaultContainerWidth:980,sizes:{size:"980px"},onClick:l=>{let{index:t}=l;o(t),n((0,G.qf)()),e(!0)}})})})};var e_=t(87272);let em=e=>{let{item:l}=e,{t}=(0,i.A)("course"),{width:n}=(0,p.A)();return(0,a.jsxs)("div",{className:"px_40 py_30 flex space_between flex_align_center InfoBox fw_400 c_black",children:[(0,a.jsxs)("div",{className:"".concat(n<540?"full_width":""),children:[(0,a.jsx)(c(),{href:null==l?void 0:l.link,target:"_blank",children:(0,a.jsx)(d.default,{className:"InfoBox__btn h1",type:"link",label:null==l?void 0:l.title})}),(0,a.jsx)("div",{dangerouslySetInnerHTML:{__html:null==l?void 0:l.description}})]}),(0,a.jsx)(c(),{href:null==l?void 0:l.link,target:"_blank",className:n<540?"full_width":"",children:(0,a.jsx)(d.default,{leftIcon:(0,a.jsx)(o.Z4s,{}),type:"primary",className:"px_30 py_10 InfoBox__right_btn ".concat(n<540?"full_width centered":""),label:t("more")})})]})},eh=e=>{var l,t;let n=null!=(t=null==(l=e.data)?void 0:l.items)?t:[];return(0,a.jsx)("section",{className:"row p_10 full_width row1240",children:(0,a.jsx)("div",{className:"row row980 mt_40 box_shadow",children:(0,a.jsx)(E.A,{sliderSettings:{slidesToShow:1},children:null==n?void 0:n.map(e=>(0,a.jsx)("div",{children:(0,a.jsx)(em,{item:e})},e.link))})})})};var ep=t(23994);let ev=e=>{var l,t,n,o;return(0,a.jsxs)("div",{className:"AboutCourseProfile__html mt_40 row row980",children:[(0,a.jsx)("h2",{className:"h3",children:null==(l=e.data)?void 0:l.title}),(null==e||null==(n=e.data)||null==(t=n.motivation)?void 0:t.includes("<p>"))?(0,a.jsx)("div",{className:"AboutCourseProfile__html",dangerouslySetInnerHTML:{__html:e.data.motivation}}):(0,a.jsx)("p",{className:"fw_300",children:null==(o=e.data)?void 0:o.motivation})]})},eg=e=>{let{data:l}=e,t=(0,ea.d4)(e=>e.dashboardData.width),{width:n}=(0,p.A)(),o=(0,S.useRouter)(),s=o.asPath.includes("dashboard")&&o.asPath.includes("profile_page"),{hideHeaderLinks:i}=(0,en.V)();return(0,a.jsx)("div",{className:"CourseProfile ".concat((t||n)>767.98?"flex":"flex_column"," ").concat(s?"CourseProfile--dashboard":""," ").concat(s&&i?"mb_0":"mb_30"),children:Object.keys(l).map(e=>{let t=l[e],n=t.params,o=t.component;return(0,a.jsx)(o,{data:n},e)})})};var ex=t(80823),ef=t.n(ex),eb=t(94714),ey=t(10676);let ej=e=>{var l;let{data:t}=e,{width:n}=(0,p.A)(),o=(0,ea.d4)(e=>e.dashboardData.width)||n;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(ef(),{children:(0,a.jsx)("link",{rel:"preload",as:"image",href:t.image,fetchPriority:"high"})}),(0,a.jsxs)("div",{className:"CourseProfile__image ".concat(o<980?"CourseProfile__image--tablet":""," ").concat(o<767.98?"CourseProfile__image--mobile":""," "),children:[(0,a.jsx)(eb.A,{animate:!1,image:t.image,type:"normal",alt:null!=(l=t.alt)?l:"",quality:90,sizes:"(max-width: 768px) 100vw, 50vw"}),(0,a.jsx)(ey.A,{id:t.id,slug:String(t.slug),title:t.shortName,type:t.type})]})]})};var ew=t(3977);let eN=e=>{var l,t,n,s;let{data:r}=e,{t:c}=(0,i.A)("course"),_=(0,u.useMemo)(()=>
1{if(!r||!1===r.google_sync_enabled)return null;let e=r.google_place_ratings||[];return Array.isArray(e)&&0!==e.length&&e[0]||null},[r]),m=null!=(n=null==_?void 0:_.rating)?n:null,p=null!=(s=null==_?void 0:_.total_ratings)?s:null,v=(0,u.useMemo)(()=>{var e,l;let t=null!=(e=null==r?void 0:r.rating_avg)?e:0,a=null!=(l=null==r?void 0:r.reviews_count)?l:0,n=null!=m?m:0,o=null!=p?p:0;return 0===a&&0===o?null:0===a?n:0===o?t:Math.round((t*a+n*o)/(a+o)*10)/10},[null==r?void 0:r.rating_avg,null==r?void 0:r.reviews_count,m,p]),g=(0,u.useMemo)(()=>{var e;return(null!=(e=null==r?void 0:r.reviews_count)?e:0)+(null!=p?p:0)},[null==r?void 0:r.reviews_count,p]);return(0,a.jsxs)("div",{className:"col80 flex_between ProfilePageRatings mb_20",children:[(null!==v||(null==r?void 0:r.recommend)!==0||g>0)&&(0,a.jsxs)("div",{children:[null!==v&&v>0&&(0,a.jsxs)("div",{className:"CourseProfile__ratings flex_align_center full_width mt_20",children:[(0,a.jsx)("div",{className:"CourseProfile__ratings--stars mr_30",children:Array.from([1,2,3,4,5]).map((e,l)=>l<Math.round(v)?(0,a.jsx)(o.aep,{},l):(0,a.jsx)(o.Gg5,{style:{marginBottom:"5px"}},l))}),(0,a.jsx)("p",{className:"paragraph",children:v})]}),(0,a.jsxs)("div",{className:"CourseProfile__bewertung flex_align_center mt_20",children:[(null==r?void 0:r.recommend)!==0&&(0,a.jsxs)("div",{className:"ThreeFoldCard--third__content-border col",children:[(0,a.jsx)(o.Gek,{}),(0,a.jsxs)("span",{className:"paragraph ml_10 c_blue fw_600",children:[null==r?void 0:r.recommend,"% ",c("Weiterempfehlung")]})]}),g>0&&(0,a.jsxs)("span",{className:"paragraph ml_20",children:["(",g," ",c("Erfahrungen"),")"]})]})]}),(null==r?void 0:r.awards)&&(null==(l=r.awards)?void 0:l.length)>0&&(0,a.jsx)(h.A,{direction:"left",className:"ProfilePageRatings__flyout",type:"primary",buttonClassName:"bg_transparent p_0",leftIcon:(0,a.jsx)(o.Fz6,{}),children:(0,a.jsxs)("div",{className:"ProfilePageRatings__flyout-content",children:[(0,a.jsxs)("p",{className:"paragraph fw_400 mb_10",children:[null==r||null==(t=r.awards)?void 0:t.length," ",c("Auszeichnungen")]}),(0,a.jsx)("p",{className:"btn-label mb_10",children:c("award-description")}),(0,a.jsx)(d.default,{onClick:()=>(0,ew.A)("awardRef"),className:"pl_0",type:"reverse_link",label:c("common:mehr dazu1")})]})})]})};var eC=t(83286),eA=t(40491),eS=t(52082);let ek=e=>{let{data:l}=e,{items:t,afterChange:n,type:o,slideToShow:s=3,title:r}=l,{handleSetIsCourseModalOpen:_}=(0,H.K)(),m=u.useRef(!1),[h,p]=(0,u.useState)(void 0),{lang:v,t:g}=(0,i.A)("common"),x=(0,V.G)(e=>e.expertAlert.submitStatus);return t.length>0?(0,a.jsxs)("div",{className:"row row980 mt_40",children:[(0,a.jsxs)("div",{className:"flex_between",children:[(0,a.jsx)("h2",{className:"h4",children:r}),(0,a.jsx)(c(),{href:"/".concat(v,"/suche/experts"),children:(0,a.jsx)(d.default,{className:"c_blue btn-label",type:"reverse_link",label:g("common:Alle anzeigen")})})]}),x&&(0,a.jsx)(eS.A,{className:"fixed_bottom_center",severity:"success"===x?"success":"error",message:g("success"===x?"Vielen Dank f\xfcr deine Anfrage!":"search:expert-error")}),h&&(0,a.jsx)(K.default,{children:(0,a.jsx)(eA.A,{closeContact:()=>p(void 0),modalRef:m,expertsData:h})}),(0,a.jsx)(E.A,{afterChange:n,slidesToShow:s,children:t&&t.length>0&&(null==t?void 0:t.map((e,l)=>{var t,n;let s=null==(t=e.photo)?void 0:t.small_url,i=null!=(n=e.name||e.full_name)?n:e.first_name+" "+e.last_name;return(0,a.jsx)("div",{className:"InterestingSchoolsSlider__card RelatedExperts__cards",children:(0,a.jsx)(eC.A,{controlledModal:!1,handleSetExpertData:e=>{p(e)},width:600,handleSetIsSearchModalOpen:_,data:{...e,image:s,title:i,rating:e.rating_avg},slug:"experts",type:o},e.id)},l)}))})]}):null};var eP=t(12273);let eI=e=>{let{width:l}=(0,p.A)(),t=l>768?3:l>540?2:1,{t:a,lang:n}=(0,i.A)("course"),o="/search/".concat(null==e?void 0:e.segmentType,"s"),s={page:1,locale:n,per_page:10,["".concat(null==e?void 0:e.type,"_ids[]")]:null==e?void 0:e.id},r="/tools/search/".concat(null==e?void 0:e.segmentType,"s?").concat((0,eP.A)(s)),{data:c,updateData:d,handleSetData:u,loading:m}=(0,_.q)({url:r,baseURL:"https://prod.backend.eduwo.ch/api/v3"});return{searchData:c,loading:m,afterChange:e=>{var l;if(c&&e===(null==c||null==(l=c.data)?void 0:l.length)-t){if(!c.next_page_url)return;d({url:o,params:{...s,page:Number(null==c?void 0:c.current_page)+1}},e=>u({...e,data:[...c.data,...e.data]}))}},slidesToShow:t,t:a}},ez=e=>{var l,t;let{type:n,segmentType:o,title:s,name:i,id:r}=null!=(l=e.data)?l:{},{loading:c,searchData:d,afterChange:u,slidesToShow:_,t:m}=eI({type:n,id:r,segmentType:o});if(!d&&c)return(0,a.jsx)("div",{className:"row row980 mt_40 centered",children:(0,a.jsx)(y.A,{type:"normal"})});let h={items:null!=(t=null==d?void 0:d.data)?t:[],afterChange:u,type:n,slideToShow:_,title:s?"".concat(m("common:".concat(s))," ").concat(i):m("related-expert
1s")};return(0,a.jsx)(ek,{data:h})},eT=e=>{var l;let{title:t}=e.data,{loading:n,searchData:o,afterChange:s,slidesToShow:r}=eI({type:e.data.type,id:e.data.id,segmentType:e.data.segmentType}),{t:c}=(0,i.A)("course");return"course"===e.data.type&&(null==(l=e.data)?void 0:l.segmentType)==="organization"?null:!o&&n?(0,a.jsx)("div",{className:"row row980 mt_40 centered",children:(0,a.jsx)(y.A,{type:"normal"})}):(0,a.jsx)(a.Fragment,{children:o&&(null==o?void 0:o.data.length)>0?(0,a.jsx)(Q,{title:c(t||"organizations-job"),data:o.data,afterChange:s,slidesToShow:r}):null})},eM=e=>{var l,t,n,o,s,i,r,c,d;let{width:u}=(0,p.A)();return(0,a.jsxs)("div",{className:"SuccessStoryCard ".concat(u>575.98?"flex":"flex_column"," row row980"),children:[(0,a.jsx)("div",{className:"SuccessStoryCard__image ".concat(u>575.98?"col col25":"full_width"),children:(0,a.jsx)(C(),{src:(null==(l=e.story.photo)?void 0:l.small_url)||(null==(n=e.story)||null==(t=n.photo)?void 0:t.full_url)||"/assets/images/avatar-f.jpg",alt:null!=(d=null==(o=e.story.photo)?void 0:o.alt)?d:"avatar",fill:!0,style:{objectFit:"cover"},sizes:"(max-width: 768px) 100vw,(max-width: 1200px) 50vw, 33vw"})}),(0,a.jsxs)("div",{className:"SuccessStoryCard__content ".concat(u>575.98?"col col75":"full_width"," "),children:[(0,a.jsx)("h3",{className:"h5 mb_20",children:"".concat(null==(s=e.story)?void 0:s.first_name," ").concat(null==(i=e.story)?void 0:i.last_name)}),(0,a.jsx)("h4",{className:"h6 mb_10",children:null==(r=e.story)?void 0:r.title}),(0,a.jsx)("p",{className:"btn-label c_gray",children:null==(c=e.story)?void 0:c.description})]})]})},eO=e=>{var l,t;let{lang:n}=(0,i.A)(),{data:o}=(0,_.q)({url:"/".concat(null==(l=e.data)?void 0:l.type,"s/").concat(null==(t=e.data)?void 0:t.slug,"/success_stories"),params:{locale:n,paginated:!1}}),{t:s}=(0,i.A)("course");return(0,a.jsx)(a.Fragment,{children:o&&o.length>0&&(0,a.jsxs)("div",{className:"row row980 mt_40",children:[(0,a.jsx)("h2",{className:"h3",children:s("Erfolgsgeschichten")}),(0,a.jsx)("div",{className:"box_shadow",children:(0,a.jsx)(E.A,{sliderSettings:{slidesToShow:1,slidesToScroll:1},children:o.map((e,l)=>(0,a.jsx)(eM,{story:e},l))})})]})})},eL=e=>{var l,t;let{data:n}=e,{t:o}=(0,i.A)("common");return(0,a.jsx)(c(),{href:"/".concat(n.public_url),children:(0,a.jsxs)("div",{className:"row row980 px_30 py_30 flex space_between flex_align_center fw_400 c_black ToProfile box_shadow mb_40 ",children:[(0,a.jsxs)("div",{className:"flex py_5",children:[(0,a.jsx)("div",{className:"position_relative py_10",children:(0,a.jsx)(C(),{src:null==(l=n.logo_image)?void 0:l.optimized_url,alt:null==(t=n.logo_image)?void 0:t.alt,height:90,width:90,sizes:"(max-width: 768px) 100vw,(max-width: 1200px) 50vw, 33vw"})}),n.name&&(0,a.jsxs)("div",{className:"flex_column flex_between flex_between_start justify_center ml_10",children:[(0,a.jsx)("h6",{className:"fw_300 paragraph",children:o("Verifiziert von")}),(0,a.jsx)("h5",{className:"c_blue h6 fw_400",children:n.name})]})]}),(0,a.jsx)(d.default,{className:"fw_400",label:o("zum-profile")})]})})},eF=e=>{var l,t,n,o,s;return(0,a.jsx)(a.Fragment,{children:(null==(l=e.data)?void 0:l.items)&&(null==(n=e.data)||null==(t=n.items)?void 0:t.length)>0&&(null==(s=e.data)||null==(o=s.items)?void 0:o.map((e,l)=>(0,a.jsx)(eL,{data:e},l)))})};var eD=t(92262),eR=t(43136);let eE=e=>{let{data:l}=e,{t}=(0,i.A)("course"),n=(null==l?void 0:l.advantages.startsWith("<p>"))?l.advantages:"<p>".concat(null==l?void 0:l.advantages,"</p>"),{width:o}=(0,p.A)();return(0,a.jsxs)("div",{className:"AboutCourseProfile__html row row980 mt_40 box_shadow p_20 border-20 AboutCourseProfile__advantages",children:[(0,a.jsx)("h2",{className:"h3",children:t("Vorteile")}
1),(0,a.jsxs)("div",{className:"row flex ".concat(o&&o<v.A.tablet?"flex_column":""),children:[(0,a.jsx)("div",{className:" mr_20 ".concat(o&&o<v.A.tablet?"full-width":"col50"),dangerouslySetInnerHTML:{__html:null!=n?n:""}}),(0,a.jsxs)("div",{className:" p_20 AboutCourseProfile__gold_advantages ".concat(o&&o<v.A.tablet?"full-width":"col50"),children:[(0,a.jsx)("h3",{className:"mb_20 h1",children:"eduwo exklusiv "}),W.dc.map(e=>(0,a.jsxs)("div",{className:"flex mb_5",children:[(0,a.jsx)("div",{className:"mr_20 AboutCourseProfile__gold_advantages__icon",children:(0,a.jsx)(e.icon,{})}),(0,a.jsx)("p",{children:t(e.title)})]},e.title))]})]})]})},eq=e=>{let{title:l,badge:t,items:n,fallBackMessage:o}=e;return(0,a.jsxs)("div",{className:"career-card",children:[(0,a.jsxs)("div",{className:"paragraph career-card__header",children:[(0,a.jsx)("h3",{className:"career-card__title",children:l}),t.text&&(0,a.jsx)("div",{className:"paragraph career-card__badge career-card__badge--".concat(t.variant),children:t.text})]}),(0,a.jsxs)("div",{className:"career-card__content",children:[o,n.map((e,l)=>e.value?(0,a.jsxs)("div",{className:"career-card__item",children:[(0,a.jsx)("div",{className:"career-card__icon",children:e.icon}),(0,a.jsxs)("div",{className:"career-card__text",children:[(0,a.jsxs)("strong",{children:[e.label,":"]})," ",(0,a.jsx)("span",{className:e.className,children:e.value})]})]},l):null)]})]})};var eB=t(6565);let eV=["career-section__next-degree-chip--green","career-section__next-degree-chip--blue","career-section__next-degree-chip--orange","career-section__next-degree-chip--teal","career-section__next-degree-chip--purple","career-section__next-degree-chip--pink","career-section__next-degree-chip--orange-red"],eG=e=>{var l;let{t}=(0,i.A)("course"),{career_chances:n,job_perspectives:s,promotion_chances:r,salary_expectations:c,job_market_demand:d,salary_increase_yearly:m,skills_in_demand:h,job_vacancy_trend:p,future_security:v,top_employers:g,top_industries:x,next_degree_types:f}=null!=(l=e.data)?l:{},{data:b}=(0,_.q)({url:"/degree_types"}),y=(0,u.useMemo)(()=>{let e=function(e){return null==e||""===e?[]:e.split(",").map(e=>parseInt(e.trim(),10)).filter(e=>!Number.isNaN(e))}(f);if(0===e.length||!(null==b?void 0:b.length))return[];let l=new Map(b.map(e=>[e.id,e.title]));return e.map(e=>l.get(e)).filter(e=>null!=e&&""!==e)},[f,b]),j=null!=f&&""!==f&&y.length>0,w=[{title:t("career-chances"),badge:{text:(0,eB.Ay)(n),variant:"green"},items:[{icon:(0,a.jsx)(o.s2L,{}),label:t("common-jobs-after-degree"),value:s},{icon:(0,a.jsx)(o.XXw,{}),label:t("promotion-chances"),value:r}]},{title:t("salary-and-skills"),badge:{text:c,variant:"blue"},items:[{icon:(0,a.jsx)(o.x$3,{}),label:t("avg-salary-increase-annually"),value:m},{icon:(0,a.jsx)(o.rKD,{}),label:t("requested-skills"),value:h}],fallBackMessage:m||h?null:(0,a.jsxs)("div",{className:"full_width px_20 c_f0000 career-section__fallback-message",children:[(0,a.jsx)("div",{className:"fw_500 mb_10 career-section__fallback-title ",children:t("salary-data-coming-title")}),(0,a.jsx)("p",{className:"fw_200 small_paragraph ",children:t("salary-data-coming-description")})]})},{title:t("job-market-demand"),badge:{text:d,variant:"orange"},items:[{icon:(0,a.jsx)(o.Ly1,{}),label:t("job-vacancy-trend"),value:p},{icon:(0,a.jsx)(o.iwb,{}),label:t("future-security"),value:v,className:"uppercase"},{icon:(0,a.jsx)(o.Zfr,{}),label:t("top-employers"),value:g},{icon:(0,a.jsx)(o.SdG,{}),label:t("top-industries"),value:x}],fallBackMessage:g||x||p||v?null:(0,a.jsxs)("div",{className:"full_width px_20 c_f0000 career-section__fallback-message mt_20",children:[(0,a.jsx)("div",{className:"fw_500 mb_10 career-section__fallback-title ",children:t("job-market-demand-coming-title")}),(0,a.jsx)("p",{className:"fw_200 small_paragraph ",children:t("job-market-demand-coming-description")})]})}];return(0,a.jsxs)("div",{className:"row row980 mt_40",children:[(0,a.jsx)("h2",{className:"h3",children:"Karriere"}),(0,a.jsxs)("div",{className:"box_shadow p_20",children:[(0,a.jsx)("div",{className:"career-section__grid",children:w.map((e,l)=>(0,a.jsx)(eq,{...e},l))}),j&&(0,a.jsxs)("div",{className:"career-section__next-degree-types",children:[(0,a.jsx)("h3",{className:"career-section__next-degree-types-title",children:t("next-degree-types")}),(0,a.jsx)("div",{className:"career-section__next-degree-chips",children:y.map((e,l)=>(0,a.jsx)("span",{className:"career-section__next-degree-chip ".concat(eV[l%eV.length]),children:e},"".concat(e,"-").concat(l)))})]})]})]})},eH=e=>{let{t:l}=(0,i.A)("course");if(!e.data)return null;let{faqs:t}=e.data;return(0,a.jsxs)("section",{className:"CourseFaqs row row980 p_0 mt_40",children:[(0,a.jsx)("h2",{className:"second-h4 mb_20 fw_600",children:l("H\xe4ufig gestellte Fragen")}),(0,a.jsx)("div",{className:"full_width",children:t.map(e=>(0,a.jsx)(P.A,{type:"study-accordion",className:"mb_30",title:e.question,headingLevel:"h3",body:(0,a.jsx)("div",{className:"AboutCourseProfile__html paragraph",dangerouslySetInnerHTML:{__html:e.answer}}
1),slug:""},e.id))})]})},eK="/assets/images/bg-school-hero.jpg",eZ=e=>{var l,t,a,n,o,s,i,r,c,d,u;let _="course"===e.type?[...null!=(d=e.awards)?d:[],...null!=(u=null==(l=e.school)?void 0:l.awards)?u:[]]:e.awards;return{compParams:{titleImage:{params:{image:e.bgImage,alt:e.alt,id:e.id,slug:e.slug,shortName:e.short_name,type:e.type},component:ej},headerRightContent:{params:{courseId:e.id,schoolId:"course"===e.type?null==(t=e.school)?void 0:t.id:"school"===e.type?e.id:void 0,headerRightSide:{params:{image:null==e||null==(a=e.logo_image)?void 0:a.optimized_url,type:e.type,alt:null==(n=e.logo_image)?void 0:n.alt,short_name:e.short_name,abbreviation:e.abbreviation,name:e.name,premium:e.premium,is_soa:e.is_soa,className:e.logoImageClassName},component:es},headerRatings:{params:e.reviews_section?{rating_avg:e.rating_avg,reviews_count:e.reviews_count,awards:_,recommend:e.recommend,courseId:"course"===e.type?e.id:void 0,google_sync_enabled:"school"===e.type?e.google_sync_enabled:"course"===e.type?null==(o=e.school)?void 0:o.google_sync_enabled:void 0,google_place_ratings:"school"===e.type&&!1!==e.google_sync_enabled?e.google_place_ratings:"course"===e.type&&(null==(s=e.school)?void 0:s.google_sync_enabled)!==!1?null==(i=e.school)?void 0:i.google_place_ratings:void 0,schoolId:"course"===e.type?null==(r=e.school)?void 0:r.id:"school"===e.type?e.id:void 0}:null,component:eN},headerButtons:{params:"organization"!==e.type?{premium:e.premium,type:e.type,id:e.id,has_counseling:e.has_counseling,has_courses_open_spots:e.has_courses_open_spots,short_name:e.short_name,slug:e.slug,info_material:e.info_material,has_events_open_spots:e.has_events_open_spots,show_link:e.show_link,amount_eduwo_reimbursements_calculated:e.amount_eduwo_reimbursements_calculated,uploads_count:e.uploads_count,name:e.name,expert_courses:e.expert_courses,expert_organizations:e.expert_organizations,expert_reviews_count:e.expert_reviews_count,photo:null==e?void 0:e.logo_image,rating_avg:e.rating_avg,recommend:e.recommend,languages:e.languages,user_degree_types:e.user_degree_types,expert_for:e.expert_for,pivot:e.pivot,expert_biography:e.expert_biography,gender:e.gender,first_name:e.name,last_name:e.last_name,email:e.email,phone:e.phone,is_soa:e.is_soa,school_type_title:e.school_type_title,soa_school_levels:e.soa_school_levels,contact_phone_number:null==e?void 0:e.contact_phone_number,nearly_fully_booked_logic:e.nearly_fully_booked_logic,school:{nearly_fully_booked_logic:null==(c=e.school)?void 0:c.nearly_fully_booked_logic},ranking_position:e.ranking_position,start_dates:e.start_dates}:null,component:et.A}},component:eo}},component:eg}},eU=e=>{var l,t,a,n,o,s,i,r,c,d,u,_,m,h,p,v,b,y,N,C,A,S,P,T,O,F,R;let E=e.expert_organizations&&(null==e||null==(l=e.expert_organizations)?void 0:l.filter(e=>{var l;return null==e||null==(l=e.pivot)?void 0:l.verified})),q="course"===e.type?[...null!=(A=e.awards)?A:[],...null!=(S=null==(t=e.school)?void 0:t.awards)?S:[]]:e.awards,B=()=>"school"!==e.type&&"course"!==e.type||!!e.premium;return{compParams:{aboutParams:{params:{is_soa:e.is_soa,school_type_title:e.school_type_title},component:null},aiSummary:{params:"course"===e.type&&(null==(a=e.ai_summary)?void 0:a.trim())?{ai_summary:e.ai_summary,short_name:null!=(P=e.short_name)?P:"",slug:null!=(T=e.slug)?T:""}:null,component:I},overview:{params:{expertOrg:{params:(null==E?void 0:E.length)>0?{items:E}:null,component:eF},courseUpdateStatus:{params:"course"===e.type?{public_url:null==(n=e.school)?void 0:n.public_url,small_url:null!=(O=null==e||null==(s=e.school)||null==(o=s.logo_image)?void 0:o.small_url)?O:null==e||null==(r=e.school)||null==(i=r.logo_image)?void 0:i.optimized_url,schoolName:null==(c=e.school)?void 0:c.name,alt:null==(u=e.school)||null==(d=u.logo_image)?void 0:d.alt,hidde_updated:e.hidde_updated,is_updated_status:e.is_updated_status,online_course:e.online_course,study_begins_at:e.study_begins_at,isSchoolPublic:null==(_=e.school)?void 0:_.is_public,career_chances:e.career_chances,job_perspectives:e.job_perspectives,job_market_demand:e.job_market_demand}:null,component:M},overViewData:{params:e,component:x}},component:g},informationOut:{params:"organization"===e.type&&(null==(m=e.teaser)?void 0:m.length)>0?{items:e.teaser}:null,component:eh},focus:{params:(null==e||null==(h=e.expert_for)?void 0:h.length)>0?{items:e.expert_for}:null,component:J},ads:{params:e.premium||"course"!==e.type&&"school"!==e.type?null:{type:e.type},component:k},advantages:{params:e.advantages?{advantages:e.advantages}:null,component:eE},admission:{params:e.admission?{admission:e.admission}:null,component:w},contentDescription:{params:(null==e?void 0:e.description)?{description:null==e?void 0:e.description,title:(null==e?void 0:e.description)?null==e?void 0:e.title_description:""}:null,component:L},contentMotivation:{params:e.expert_motivation?{motivation:e.expert_motivation,title:"Motivation"}:null,component:ev},youtube:{params:e.youtube_video_id?{youtube_video_id:e.youtube_video_id}:null,component:eD.A},gallery:{params:B()&&(null==e||null==(p=e.gallery)?void 0:p.length)>0?{gallery:e.gallery}:null,component:eu},moreInfos:{params:(null==e||null==(v=e.info_box)?void 0:v.length)>0||(null==e||null==(b=e.infobox_soa)?void 0:b.length)>0||(null==e||null==(y=e.infobox)?void 0:y.length)>0?{infobox:null!=(F=null==e?void 0:e.info_box)?F:null==e?void 0:e.infobox,infobox_soa:null==e?void 0:e.infobox_soa,is_soa:e.is_soa,school_type_title:e.school_type_title,soa_school_levels:e.soa_school_levels}:null,component:ep.A},careerSection:{params:"course"!==e.type||e.disable_career_fields?null:{career_chances:e.career_chances,job_perspectives:e.job_perspectives,promotion_chances:e.promotion_chances,salary_expectations:e.salary_expectations,job_market_demand:e.job_market_demand,salary_increase_yearly:e.salary_increase_yearly,skills_in_demand:e.skills_in_demand,job_vacancy_trend:e.job_vacancy_trend,future_security:e.future_security,top_employers:e.top_employers,top_industries:e.top_industries,next_degree_types:null!=(R=null==(N=e.degree_type)?void 0:N.next_degree_types)?R:null},component:eG},success:{params:"expert"===e.type?null:{type:e.type,slug:e.slug},component:eO},events:{params:"expert"===e.type?null:{type:e.type,slug:e.slug},component:U},reviews:{params:"course"===e.type?{type:e.type,slug:e.slug,id:e.id,className:"course-profile-latest-reviews",showLeftSection:!1}:null,component:j},relatedOrgs:{params:"organization"!==e.type?{segmentType:"school"===e.type||"course"===e.type?"organization":e.type,type:e.type,id:e.id}:null,component:e.relatedItemsComponent},relatedCourses:{params:"course"===e.type||"school"===e.type?{segmentType:"course",type:e.type,id:e.id,title:"related-courses"}:null,component:e.relatedItemsComponent},relatedSchools:{params:"school"!==e.type||e.premium?null:{segmentType:e.type,type:e.type,id:e.id,title:"related-schools"},component:e.relatedItemsComponent},focusCourses:{params:"organization"===e.type?{url:"/".concat(e.type,"s/").concat(e.slug,"/focus_courses"),translationTitleKey:"focus-courses-for",name:e.name}:null,component:ee},focusSchools:{params:"organization"===e.type?{url:"/".concat(e.type,"s/").concat(e.slug,"/focus_schools"),translationTitleKey:"focus-schools-for",name:e.name}:null,component:ee},topExperts:{params:"organization"===e.type?{segmentType:"expert",type:e.type,id:e.id,name:e.name,title:"top-experts"}:null,component:ez},downloadCenter:{params:B()&&(null==(C=e.uploads)?void 0:C.length)>0&&"course"!==e.type?e.uploads:null,component:D},infoTeaser:{params:e.is_soa&&e.school_type_title&&W.$j.includes(e.school_type_title)?null:{},component:e_.A},furtherEducation:{params:{sliderSettings:{...eR.C7},className:""},component:el.A},awards:{params:(null==q?void 0:q.length)>0?{awards:q,className:e.is_soa&&e.school_type_title&&W.$j.includes(e.school_type_title)?"mt_30 mb_30":""}:null,component:z.A},faqs:{params:"course"===e.type&&e.faqs&&e.faqs.length>0?{faqs:e.faqs}:null,component:eH}},component:f.A}},eW=e=>{let{data:l}=e;return{header:eZ(l)}},eJ=(e,l)=>{var t,a,n,o,s,i,r,c,d,u,_,m,h,p,v,g,x,f,b,y,j,w,N,C,A,S,k,P,I,z,T,M,O,L,F,D,R,E;let q="https://eduwo.ch/images/default/eduwo-logo-og.png",B=(null==(t=l.background_image)?void 0:t.alt)||l.type,V=["about"];switch(e){case"course":return V[0]=l.title_description,(null==l?void 0:l.reviews_count)>0&&(null==l?void 0:l.rating_avg)>0&&(V=[...V,"experiences"]),V=[...V,"experts"],{...l,reviews_section:null==(S=l.reviews_section)||S,logo_image:null!=(k=l.logo_image)?k:null==(a=l.school)?void 0:a.logo_image,bgImage:(null==l||null==(n=l.background_image)?void 0:n.title_url)||(null==(s=l.school)||null==(o=s.background_image)?void 0:o.title_url)||eK,metaImage:(null==l||null==(i=l.background_image)?void 0:i.title_url)||q,alt:B,short_name:l.short_name,abbreviation:null==(r=l.school)?void 0:r.abbreviation,schoolName:null==l||null==(c=l.school)?void 0:c.name,food_facility:null==(d=l.school)?void 0:d.food_facility,food_facility_description:null==(u=l.school)?void 0:u.food_facility_description,sport_facility_description:null==(_=l.school)?void 0:_.sport_facility_description,sport_facility:null==(m=l.school)?void 0:m.sport_facility,school_type_title:null==(p=l.school)||null==(h=p.school_type)?void 0:h.title,foun
1ding_year:null==(v=l.school)?void 0:v.founding_year,students_count:null==(g=l.school)?void 0:g.students_count,school_public_url:null==(x=l.school)?void 0:x.public_url,public_email:l.public_email||(null==(f=l.school)?void 0:f.public_email),phone:(null==l?void 0:l.phone)||(null==(b=l.school)?void 0:b.phone),site_url:l.site_url||(null==(y=l.school)?void 0:y.site_url),facebook_url:l.facebook_url||(null==l||null==(j=l.school)?void 0:j.facebook_url),instagram_url:l.instagram_url||(null==(w=l.school)?void 0:w.instagram_url),twitter_url:l.twitter_url||(null==(N=l.school)?void 0:N.twitter_url),youtube_url:l.youtube_url||(null==(C=l.school)?void 0:C.youtube_url),schoolSiteUrl:null==(A=l.school)?void 0:A.site_url,relatedItems:"courses",has_government_subsidies:null==l?void 0:l.has_government_subsidies,amount_of_subsidies:null==l?void 0:l.amount_of_subsidies,relatedItemsComponent:eT,tabs:V};case"school":return V=[...V,"studies"],l.hasOwnProperty("reviews_section")&&(null==l?void 0:l.reviews_section)&&(V=[...V,"experiences"]),V=[...V,"experts"],l.premium&&(V=[...V,"contact"]),{...l,youtube_video_id:l.youtube_video_id,bgImage:(null==l||null==(P=l.background_image)?void 0:P.title_url)||eK,schoolName:l.name,school_type_title:null==l||null==(I=l.school_type)?void 0:I.title,school_public_url:l.public_url,alt:B,metaImage:(null==(z=l.background_image)?void 0:z.title_url)||q,full_name:l.name,relatedItems:"organizations",relatedItemsComponent:eT,tabs:V,tabName:l.name,abbreviation:null!=(T=null==l?void 0:l.subt
1itle)?T:null==l?void 0:l.abbreviation,short_name:null!=(M=l.short_name)?M:l.name};case"organization":return(null==l?void 0:l.follow_course_tab)&&V.push("studies"),(null==l?void 0:l.follow_school_tab)&&V.push("schools"),(null==l?void 0:l.follow_expert_tab)&&V.push("experts"),(null==l?void 0:l.follow_organization_tab)&&V.push("organizations"),l.premium&&(V=[...V,"contact"]),{...l,bgImage:(null==l||null==(O=l.background_image)?void 0:O.title_url)||eK,alt:B,youtube_video_id:l.youtube_video_id,title_description:l.name,short_name:null!=(F=l.short_name)?F:l.name,phone:l.contact_person_phone,facebook_url:l.facebook_account_url,instagram_url:l.instagram_account_url,twitter_url:l.twitter_account_url,linkedin_url:l.linkedin_account_url,youtube_url:l.youtube_account_url,full_name:l.name,metaImage:(null==l||null==(L=l.background_image)?void 0:L.title_url)||q,relatedItemsComponent:eT,tabs:V,tabName:l.name,abbreviation:null==l?void 0:l.subtitle};case"expert":return V[1]="contact",{...l,bgImage:(null==(D=l.background_image)?void 0:D.title_url)||"/assets/images/mentor-detail-bg.jpg",alt:B,is_soa:l.is_soa_expert,description:l.expert_biography,title_description:"Kurzbiografie",short_name:null!=(E=l.short_name)?E:l.name,expert_organizations:l.expert_orgs,expert_school:l.expert_schools,full_name:l.name,logoImageClassName:"border-circle CourseProfile__content--expert_logo",relatedItemsComponent:ez,tabs:V,tabName:null==(R=l.name)?void 0:R.split(" ")[0]}}}},92262:(e,l,t)=>{t.d(l,{A:()=>o});var a=t(55427);t(97867);var n=t(71726);let o=e=>{var l;let t=null==e||null==(l=e.data)?void 0:l.youtube_video_id,o=null==t?void 0:t.split("?")[0];return(0,a.jsx)("div",{className:"AboutCourseProfile__video row row980 mt_40 centered",children:(0,a.jsx)(n.A,{videoId:o,className:"AboutCourseProfile__video--youtube"})})}},94502:(e,l,t)=>{t.d(l,{A:()=>s});var a=t(55427);t(71625);var n=t(88382),o=t(1096);t(97867);let s=e=>{let{children:l,className:t,strokeWidth:s=6,textColor:i="#000",gradientCircularProgress:r=(0,a.jsx)(o.A,{}),...c}=e;return(0,a.jsxs)("div",{className:"CircleProgressBar ".concat(t||""),children:[r,(0,a.jsx)(n.jG,{styles:(0,n.Hf)({textColor:i}),...c,strokeWidth:s,children:l})]})}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.