1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[693],{6871:(e,t,s)=>{s.d(t,{A:()=>i});var l=s(37876),a=s(97462),n=s(14232);function i({open:e,setOpen:t,filters:s,allFilters:i,setFilters:r,setPagination:c,getData:o,isPrefiltered:d}){let[x,p]=(0,n.useState)(),m=(e,t,l,a)=>{let n={...s},i=n[t].indexOf(e);if(i>-1?n[t].splice(i,1):n[t].push(e),l){let e=n[t].indexOf(l);e>-1&&n[t].splice(e,1)}if(a){let s=n[t]?.filter((t,s)=>!t?.includes(e));n[t]=s}r(n),c(1),o(!1,n)};return(0,l.jsxs)("div",{className:`w-[80%] md:w-1/2 bg-white-alt px-4 md:px-8 lg:px-0 pt-10 pb-8 flex flex-col gap-6 fixed top-10 bottom-0 overflow-y-scroll lg:pt-0 lg:overflow-y-auto shadow-lg lg:shadow-none lg:relative lg:w-1/4 opacity-0 lg:opacity-100 lg:top-0 transition-all duration-500 -left-full lg:left-auto z-50 lg:z-0 ${e?"checked":""}`,children:[(0,l.jsx)("div",{className:"lg:hidden absolute right-2 cursor-pointer top-4 close",onClick:()=>t(!1)}),Object.keys(i).map(e=>d&&"resource_type"==e?null:(0,l.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,l.jsx)(a.A,{className:"capitalize text-first font-bold text-md",content:e?.replaceAll("_"," ")}),(0,l.jsx)("div",{className:"flex flex-col gap-2 pl-4",children:i?.[e]?.buckets?.map(t=>(0,l.jsxs)("div",{className:"flex flex-col gap-1 lg:gap-0",children:[(0,l.jsxs)("div",{className:"w-full flex capitalize justify-between items-center",children:[(0,l.jsxs)("div",{className:"flex items-center gap-2 relative",children:[t?.inner?.buckets?.length>0&&(0,l.jsx)("div",{className:"absolute -left-4 text-lg cursor-pointer",onClick:()=>{x==`${e}-${t?.key}`?p():p(`${e}-${t?.key}`)},children:">"}),(0,l.jsxs)("div",{className:"flex items-center gap-2",onClick:()=>m(t?.key,e,!1,t?.inner?.buckets?.length>0&&s[e]?.find(e=>e?.includes(`${t?.key}::`))),children:[(0,l.jsx)("div",{className:`w-4 h-4 outline outline-2 outline-first rounded-md border-2 border-white cursor-pointer shrink-0 ${s[e].includes(t?.key)||s[e]?.find(e=>e?.includes(t?.key))?"bg-first":""}`}),(0,l.jsx)(a.A,{className:"text-sm cursor-pointer",content:`${t?.label}`})]})]}),!d&&(0,l.jsx)("div",{className:"h-6 w-6 flex justify-center text-sm items-center rounded-full bg-first/60 text-white shrink-0",children:t?.doc_count})]}),x==`${e}-${t?.key}`&&(0,l.jsx)("div",{className:"flex flex-col pl-4 gap-1 lg:gap-0",children:t?.inner?.buckets?.map(n=>(0,l.jsxs)("div",{className:"w-full flex capitalize justify-between items-center gap-4",children:[(0,l.jsxs)("div",{onClick:()=>m(`${t?.key}::${n?.key}`,e,t?.key),className:"flex items-center gap-2 relative",children:[(0,l.jsx)("div",{className:`w-4 h-4 outline outline-2 outline-first rounded-md border-2 border-white cursor-pointer ${s[e].includes(`${t?.key}::${n?.key}`)?"bg-first":""}`}),(0,l.jsx)(a.A,{className:"text-sm cursor-pointer",content:`${n.label}`})]}),!d&&(0,l.jsx)("div",{className:"h-6 w-6 flex justify-center text-sm items-center rounded-full bg-first/60 text-white",children:n.doc_count})]},n.key))})]},t?.key))})]},e))]})}},14162:(e,t,s)=>{s.d(t,{A:()=>a});var l=s(37876);function a(){return(0,l.jsx)("div",{className:"flex flex-col items-center gap-6 justify-center my-12 p-5",children:(0,l.jsxs)("svg",{role:"status",className:"w-24 h-24 text-gray-200 animate-spin fill-second",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,l.jsx)("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),(0,l.jsx)("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.
11071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]})})}},22581:(e,t,s)=>{s.d(t,{A:()=>i});var l=s(37876),a=s(14232),n=s(34173);function i({total:e,sort:t,setSort:s,getData:i,setPagination:r}){let[c,o]=(0,a.useState)(!1);return(0,l.jsxs)("div",{className:"pb-4 flex flex-col md:flex-row justify-between w-full items-start md:items-center gap-y-2 md:gap-y-0",children:[(0,l.jsxs)("p",{children:[e," Results Found"]}),(0,l.jsxs)("div",{className:"flex items-center gap-2 justify-between md:justify-start w-full md:w-auto",children:[(0,l.jsx)("p",{children:"Sort by"}),(0,l.jsxs)("div",{className:`${c?"border-b-first/20 rounded-t-md":"rounded-md "} border-2 border-first w-40 px-2 py-1 relative`,children:[(0,l.jsxs)("span",{className:"w-full h-full cursor-pointer flex justify-between items-center",onClick:()=>o(!c),children:[t?.title," ",(0,l.jsx)(n.A,{className:"fill-first",width:20,height:20})]}),(0,l.jsx)("div",{className:`absolute top-full -left-[2px] -right-[2px] flex flex-col ${c?"h-auto border-2 rounded-b-md border-first border-t-0 ":"h-0"} overflow-hidden cursor-pointer bg-white-alt `,children:[{value:"newest",title:"Newest"},{value:"mostviewed",title:"Most Viewed"}].map((e,a)=>(0,l.jsx)("div",{className:`px-2 py-1 ${t?.value==e?.value?"font-bold":""} hover:bg-first/30 transition-all`,onClick:t=>{o(!1),window.scrollTo(0,0),setTimeout(()=>{s(e),r(1),i(!1,!1,!1,e?.value)},200)},children:e?.title},a))})]})]})]})}},34173:(e,t,s)=>{s.d(t,{A:()=>a});var l=s(37876);let a=e=>(0,l.jsx)("svg",{fill:"#ffffff",height:"50px",width:"50px",...e,version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 511.787 511.787",children:(0,l.jsx)("path",{d:"M508.667,125.707c-4.16-4.16-10.88-4.16-15.04,0L255.76,363.573L18,125.707c-4.267-4.053-10.987-3.947-15.04,0.213 c-3.947,4.16-3.947,10.667,0,14.827L248.293,386.08c4.16,4.16,10.88,4.16,15.04,0l245.333-245.333 C512.827,136.693,512.827,129.867,508.667,125.707z"})})},49369:(e,t,s)=>{s.d(t,{A:()=>a});var l=s(37876);function a({total:e,pagination:t,setPagination:s,getData:a}){let n=(e,l,n)=>{window.scrollTo(0,0),setTimeout(()=>{let i=n;e?i=t-1:l&&(i=t+1),s(i),a(!1,!1,i)},200)};return e<=10?null:(0,l.jsxs)("div",{className:"flex self-center border border-first rounded-md overflow-hidden shadow-lg",children:[(0,l.jsx)("div",{className:`w-8 h-8 bg-first/30 hover:bg-first/70 transition-all cursor-pointer text-white flex justify-center items-center border-first ${1==t?"pointer-events-none":""}`,onClick:()=>n(!0),children:"<"}),Array.from(Array(Math.ceil(e/10)),(e,s)=>(0,l.jsx)("div",{className:`w-8 h-8 hover:bg-first/70 transition-all cursor-pointer text-white flex justify-center items-center border-l border-first ${t==s+1?"bg-first/70":"bg-first/30"}`,onClick:()=>n(!1,!1,s+1),children:s+1},s)),(0,l.jsx)("div",{className:`w-8 h-8 bg-first/30 hover:bg-first/70 transition-all cursor-pointer text-white flex justify-center items-center border-l border-first ${t==Math.ceil(e/10)?"pointer-events-none":""}`,onClick:()=>n(!1,!0),children:">"})]})}},52816:(e,t,s)=>{s.d(t,{A:()=>b});var l=s(37876),a=s(40123),n=s.n(a),i=s(87156),r=s.n(i),c=s(18847),o=s.n(c),d=s(89099);let x=o()(s.e(409).then(s.bind(s,8409)),{loadableGenerated:{webpack:()=>[8409]}}),p=o()(Promise.all([s.e(661),s.e(845),s.e(35)]).then(s.bind(s,88035)),{loadableGenerated:{webpack:()=>[88035]}}),m=o()(Promise.all([s.e(397),s.e(565),s.e(741),s.e(371)]).then(s.bind(s,15371)),{loadableGenerated:{webpack:()=>[15371]}}),u=o()(Promise.resolve().then(s.bind(s,83812)),{loadableGenerated:{webpack:()=>[83812]}}),h=o()(Promise.all([s.e(397),s.e(565),s.e(741),s.e(788)]).then(s.bind(s,63788)),{loadableGenerated:{webpack:()=>[63788]}}),g=o()(s.e(422).then(s.bind(s,80422)),{loadableGenerated:{webpack:()=>[80422]}}),f=o()(s.e(957).then(s.bind(s,96957)),{loadableGenerated:{webpack:()=>[96957]}}),j=o()(Promise.all([s.e(527),s.e(397),s.e(996)]).then(s.bind(s,29996)),{loadableGenerated:{webpack:()=>[29996]}}),y=o()(Promise.all([s.e(588),s.e(513)]).then(s.bind(s,71513)),{loadableGenerated:{webpack:()=>[71513]}}),w=o()(s.e(865).then(s.bind(s,42865)),{loadableGenerated:{webpack:()=>[42865]}});function b({data:e}){let t=(0,d.useRouter)();if(n()(e?.post))return(0,l.jsx)(r(),{statusCode:":(",title:"It seems there is no data here."});let s=e.post.__typename,a=t?.asPath?.split("#")?.[1],i=e?.post?.MagicSection?.section?.f
1indIndex(e=>e?.sectionName?.toLowerCase()?.split(" ").join("-")==a),c=e?.post?.zenodoFields?.zenodoSection?.[0],o=[...e?.post?.MagicSection?.section||[],...c?.showSection?[c]:[]];return o?.filter(t=>{let s=e?.post?.magazine?.highlightedArticles?.highlightedSectionTitle?.toLowerCase();return!s||t?.sectionName?.toLowerCase()!==s.toLowerCase()})?.map((t,n)=>{let r={...t,contentTypeMap:e?.contentTypeMap,index:n,sectionId:t?.sectionName?.toLowerCase()?.split(" ").join("-"),socialInfo:e?.post?.guestFields};if(t?.__typename?.includes("Zenodo")&&console.log("Zenodo typename:",t?.__typename),a&&-1==i&&r?.__typename==`${s}_Magicsection_Section_Tabs`){let e=r?.tabContent?.findIndex(e=>e?.tabContent?.[0]?.slug==a);r.selectedTab=-1!==e?e:0;let t=document.getElementById(r.sectionId);window.scroll({top:t?.offsetTop,behavior:"smooth"})}r.customFields={...e?.post?.customFields,otherFormat:e?.post?.eventformats?.nodes?.[0]?.name,eventType:e?.post?.eventTypes?.nodes?.[0]?.name},"Post"===e.post.__typename&&(r.cptFields=e?.post?.cptFields,r.date=e?.post?.date);let c={[`${s}_Magicsection_Section_Gutenberg`]:(0,l.jsx)(x,{data:e}),[`${s}_Magicsection_Section_Content`]:(0,l.jsx)(p,{data:{...r,logo:e?.siteSettings?.companyLogo}}),[`${s}_Magicsection_Section_Progress`]:(0,l.jsx)(y,{data:r}),[`${s}_Magicsection_Section_Banner`]:(0,l.jsx)(m,{data:r,forms:e?.forms}),[`${s}_Magicsection_Section_Cards`]:(0,l.jsx)(u,{data:r}),[`${s}_Magicsection_Section_Quote`]:(0,l.jsx)(u,{data:{...r,type:r?.type||"quote"}}),[`${s}_Magicsection_Section_Contact`]:(0,l.jsx)(h,{data:r,forms:e?.forms,defaultCopy:e?.siteSettings}),[`${s}_Magicsection_Section_Clients`]:(0,l.jsx)(u,{data:{...r,type:r?.logos?.length<=4||!r?.showSlider?"articles":"articles_slider",columnscards:3}}),[`${s}_Magicsection_Section_Tabs`]:(0,l.jsx)(g,{data:r}),[`${s}_Magicsection_Section_InternalMenu`]:(0,l.jsx)(f,{data:e?.post?.MagicSection?.section,content:r}),[`${s}_Magicsection_Section_FilteredContents`]:(0,l.jsx)(j,{data:r,preloaded:e?.preloadedFiltered?.[e?.post?.MagicSection?.section?.indexOf(t)]}),[`${s}_Magicsection_Section_Hero`]:(0,l.jsx)(p,{data:{...r,type:"image_background",title:e?.post?.title,image:e?.post?.featuredImage?.node}}),[`${s}_Zenodofields_ZenodoSection_ShowSection`]:(0,l.jsx)(w,{data:{...r}})};return r?.showSection===!0||r?.showSection===void 0?(0,l.jsxs)("span",{children:[(0,l.jsx)("span",{className:"relative -top-12",id:r.sectionId}),c[r?.__typename]||null]},n):null})}},55160:(e,t,s)=>{s.d(t,{A:()=>L});var l=s(37876),a=s(52816),n=s(53947),i=s(29652),r=s(97462),c=s(30),o=s(40923);function d({data:e,excerpt:t}){return(0,l.jsxs)(c.A,{wrapperClassName:"flex-col lg:flex-row gap-y-4",children:[(0,l.jsx)("div",{className:"flex flex-col lg:border-r w-full justify-center gap-4 lg:flex-col lg:w-1/3 lg:pr-10",children:e?.map((e,t)=>(0,l.jsxs)("div",{className:"flex items-center justify-between w-full gap-10",children:[(0,l.jsx)(o.A,{className:"flex-shrink-0",layout:"intrinsic",width:100,height:100,innerClassName:"rounded-full object-cover object-center h-24 w-24 lg:h-20 lg:w-20 ",...e?.featuredImage?.node}),(0,l.jsxs)(i.A,{orientation:"col",className:"",children:[(0,l.jsx)(r.A,{type:"h4",className:"text-base text-black",content:e?.title}),(0,l.jsx)(r.A,{type:"body_1",className:"lg:text-base",content:e?.guestFields?.jobTitle}),(0,l.jsx)(r.A,{type:"body_1",className:"lg:text-base pt-6",content:e?.excerpt}),(0,l.jsxs)("div",{className:"flex gap-x-4 gap-y-2 pb-2 items-center flex-wrap",children:[e?.guestFields?.socialLink?.map((e,t)=>(0,l.jsx)("a",{href:e.link,className:"flex items-center",children:(0,l.jsx)(n.A,{className:"w-full h-full fill-second",type:e.socialNetwork})},t)),e?.guestFields?.contactDetails?.email?(0,l.jsx)("a",{href:`mailto:${e?.guestFields?.contactDetails?.email}`,className:"",children:(0,l.jsx)(n.A,{className:"w-full h-full fill-second",type:"email"})}):null,e?.guestFields?.contactDetails?.phoneNumber?(0,l.jsx)("a",{href:`tel:${e?.guestFields?.contactDetails?.phoneNumber}`,className:"",children:(0,l.jsx)(n.A,{className:"w-full h-full fill-second",type:"phone"})}):null]})]})]},t))}),(0,l.jsx)(i.A,{orientation:"col",className:"lg:pl-10 w-full lg:w-2/3 justify-center",space:"4",children:(0,l.jsx)(r.A,{type:"body_1",content:t,className:"no-internal-margin"})})]})}var x=s(83812),p=s(14232),m=s(5072),u=s(34173),h=s(73739),g=s(65364);function f({data:e,issue:t}){let[s,a]=(0,p.useState)(),n=new Date(e?.date),i=`${n.getDate().toString().padStart(2,"0")}/${(n.getMonth()+1).toString().padStart(2,"0")}/${n.getFullYear()}`,c=g.env.NEXT_PUBLIC_CUSTOM_SLUG_PREFIX,d=!c||"magazine"===c;return(0,l.jsx)("div",{className:"relative",children:s?(0,l.jsxs)("div",{className:"w-full h-full bg-fourth px-10 py-6 min-h-[500px]",children:[(0,l.jsx)("div",{className:"flex justify-center pb-4 cursor-pointer ",onClick:()=>a(!1),children:(0,l.jsx)(u.A,{className:"rotate-180 fill-white text-white hover:fill-second transition-all"})}),(0,l.jsx)(r.A,{className:"text-white pb-10",content:"Previous editions",type:"h3"}),(0,l.jsx)(h.A,{className:"w-full justify-items-center",xGap:10,yGap:10,columns:3,children:e?.magazines?.map((t,s)=>
1t?.id!==e?.id&&(0,l.jsxs)("a",{href:`/magazine/${t?.tag?.nodes?.[0]?.slug}`,className:"relative rounded-lg overflow-hidden h-[180px] hover:border-white border-transparent border-4 transition-all group",children:[(0,l.jsx)("div",{className:"w-full h-full absolute bg-first opacity-40"}),(0,l.jsx)(o.A,{width:1400,height:700,className:"h-full",innerClassName:"h-full object-cover",...t?.featuredImage?.node}),(0,l.jsxs)("div",{className:"transition-all text-white absolute z-10 bottom-2 w-full flex flex-col items-center",children:[t?.tag?.nodes?.[0]?.name&&(0,l.jsx)(r.A,{className:"text-lg uppercase text-center",type:"body",content:`${t?.tag?.nodes?.[0]?.name}`}),(0,l.jsx)(r.A,{className:"text-md ",type:"body",content:(0,m.Yq)(t?.date)})]})]},s))})]}):(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(o.A,{className:"h-[550px]",innerClassName:"w-full h-full object-cover",...e?.featuredImage?.node}),(0,l.jsx)("div",{className:"w-full h-full absolute bg-first opacity-60 top-0"}),(0,l.jsxs)("div",{className:`absolute ${t?"bottom-4":"bottom-20"} px-10 w-full flex flex-col gap-4`,children:[e?.date&&!t?(0,l.jsx)(r.A,{type:"pretitle",className:"text-sm text-white bg-fourth rounded-full self-start px-4 py-px",content:`Published ${i}`}):null,(d||e?.tag?.nodes?.[0]?.name)&&(0,l.jsx)(r.A,{className:"text-white uppercase font-normal text-3xl",type:"h3",content:`${d?"Egi magazine - ":""}${e?.tag?.nodes?.[0]?.name?t?e?.tag?.nodes?.[0]?.name:`<a class="text-white hover:text-second transition-all hover:no-underline" href="/magazine/${e?.tag?.nodes?.[0]?.slug}">${e?.tag?.nodes?.[0]?.name}</a>`:""}`}),(0,l.jsx)(r.A,{className:`text-white ${t?"uppercase":""} text-5xl lg:text-7xl`,type:"h1",content:e?.title}),t?(0,l.jsx)(r.A,{className:"text-white lg:w-2/3",type:"body_1",content:e?.excerpt}):null,t&&e?.magazines.filter(t=>t?.id!==e?.id).length>0?(0,l.jsxs)("div",{className:"flex flex-col justify-center items-center w-full cursor-pointer",children:[(0,l.jsx)(r.A,{className:"text-white text-base",type:"body",content:"Previous editions"}),(0,l.jsx)("div",{onClick:()=>a(!0),children:(0,l.jsx)(u.A,{className:"fill-white text-white hover:fill-second transition-all"})})]}):null]})]})})}function j({data:e}){return(0,l.jsxs)("div",{className:"lg:pt-20 bg-white-alt",children:[(0,l.jsx)(f,{data:e?.post}),(0,l.jsx)(d,{data:e?.post?.cptFields?.writtenBy,excerpt:e?.post?.excerpt}),(0,l.jsx)(a.A,{data:e}),e?.magazine_articles?(0,l.jsx)(x.default,{data:{articles:e?.magazine_articles,type:"articles_slider_magazine",title:"Related magazine news",backgroundType:"white"}}):null,e?.post?.magazineArticleFields?.moreFromThisCategory?(0,l.jsx)(x.default,{data:{articles:e?.post?.magazineArticleFields?.moreFromThisCategory,type:"articles_magazine",title:"From this category",custom:"category"}}):null,e?.post?.magazineArticleFields?.moreFromEgiverse?(0,l.jsx)(x.default,{data:{articles:e?.post?.magazineArticleFields?.moreFromEgiverse,type:"articles_magazine",title:"More from EGI-Verse",custom:"egiverse"}}):null]})}var y=s(18847),w=s.n(y);s(48230);var b=s(98555),N=s(73558),A=s(59174),v=s(86563),_=s(79426);function $({tags:e,data:t}){let s={modules:[v.Vx,v.U1],freeMode:{enabled:!0},navigation:{nextEl:".swiper-button-next-magazine-tags",prevEl:".swiper-button-prev-magazine-tags"},spaceBetween:30,slidesPerView:"auto"};return(0,l.jsx)(c.A,{id:t?.sectionId,color:t?.backgroundType,children:(0,l.jsxs)(i.A,{className:"w-full",orientation:"col",space:"10",children:[(0,l.jsx)(r.A,{className:"text-first text-3xl leading-3xl lg:text-6xl lg:leading-6xl font-bold",content:"In this issue we wrote about"}),(0,l.jsxs)("div",{className:"w-full relative group",children:[(0,l.jsx)("div",{className:"absolute filter blur-sm pointer-events-none z-10 -left-4 -top-4 -bottom-4 w-16 bg-gradient-to-r from-white-alt"}),(0,l.jsx)("div",{className:"absolute filter blur-sm pointer-events-none z-10 -right-4 -top-4 -bottom-4 w-16 bg-gradient-to-l from-white-alt"}),(0,l.jsx)(A.RC,{className:"w-full relative cursor-grab",...s,children:e?.map((e,t)=>e?.toLowerCase()!=="featured"?(0,l.jsx)(A.qr,{className:"h-auto w-auto bg-first px-2 py-1 text-md text-white uppercase rounded-md",children:e},t):null)}),(0,l.jsxs)("div",{className:"items-center gap-4 mt-4 opacity-0 flex justify-end transition-all group-hover:opacity-100",children:[(0,l.jsx)("div",{className:"swiper-button-prev-magazine-tags curs
1or-pointer w-10 h-10",children:(0,l.jsx)(_.A,{className:"fill-current text-second transform rotate-180"})}),(0,l.jsx)("div",{className:"swiper-button-next-magazine-tags cursor-pointer w-10 h-10",children:(0,l.jsx)(_.A,{className:"fill-current text-second w-full h-full "})})]})]})]})})}var k=s(84175);function C({data:e,tags:t}){let[s,a]=(0,p.useState)(!1),n={modules:[v.Vx,v.U1],freeMode:{enabled:!0},navigation:{nextEl:".swiper-button-next-magazine-carousel",prevEl:".swiper-button-prev-magazine-carousel"},slidesPerView:1};return(0,l.jsx)(c.A,{wrapperClassName:t?"pt-0":"pt-20",children:(0,l.jsx)("div",{className:"w-full",children:(0,l.jsxs)("div",{className:"flex flex-col gap-4 xl:px-10 2xl:px-24 w-full overflow-hidden",children:[(0,l.jsxs)(i.A,{orientation:"col",space:"2",children:[(0,l.jsx)(r.A,{type:"pretitle",content:e?.beforeTitle,orientation:"text-center"}),(0,l.jsx)(r.A,{type:"h2",tag:`${e?.index===0?"h1":"h2"}`,content:e?.title,orientation:"",className:"text-center"}),(0,l.jsx)(r.A,{type:"title",content:e?.afterTitle,orientation:"text-center"})]}),(0,l.jsxs)("div",{className:"w-full relative",children:[(0,l.jsx)(A.RC,{className:"w-full relative rounded-lg overflow-hidden",...n,children:e?.cards?.map((e,t)=>(0,l.jsxs)(A.qr,{className:`min-h-[600px] md:h-[800px] w-full bg-white text-md flex lg:p-2 ${e?.imageType=="right"?"lg:flex-row flex-col":"flex-col-reverse lg:flex-row-reverse"} rounded-md justify-between`,children:[(0,l.jsxs)(i.A,{orientation:"col",space:"2",className:`${e?.imageType=="bg"?"absolute px-2 pt-4 lg:left-14 bottom-4 lg:p-2 z-10 h-full md:h-auto text-white lg:w-2/3":"lg:w-1/2 h-full p-2 md:px-14"} w-full pt-2 lg:py-8 lg:justify-between !space-y-0`,children:[(0,l.jsxs)(i.A,{orientation:"col",className:"",space:"2",children:[(0,l.jsx)(r.A,{type:"h2",content:e?.cardTitle,className:e?.imageType=="bg"&&"text-white"}),(0,l.jsx)(r.A,{type:"title",content:e?.cardSubtitle,className:e?.imageType=="bg"&&"text-white"}),(0,l.jsx)(r.A,{type:"body_1",content:e?.paragraph})]}),e?.cta&&(0,l.jsx)("div",{className:"flex justify-center md:justify-start",children:(0,l.jsx)(k.A,{...e?.cta,variant:"basic",className:`${e?.imageType=="bg"?"text-white":"text-second"}`,showArrow:!0})})]}),(0,l.jsx)(i.A,{className:`w-full rounded-[4px] overflow-hidden ${e?.imageType=="bg"?"absolute top-0 left-0 right-0 bottom-0 lg:p-2":"lg:w-1/2 h-auto md:h-full "}`,orientation:"row",children:(0,l.jsx)(o.A,{className:"object-cover w-full h-full rounded-[4px] overflow-hidden",layout:"responsive",innerClassName:"object-cover object-center overflow-hidden w-full h-full",width:1920,height:1e3,...e?.cardImage})})]},t))}),(0,l.jsx)("div",{className:"swiper-button-prev-magazine-carousel cursor-pointer px-2 py-4 z-20 bg-second absolute bottom-0 md:bottom-auto md:top-1/2 md:-translate-y-1/2 left-0 md:left-4 rounded-md",children:(0,l.jsx)(_.A,{className:"fill-current text-white transform rotate-180"})}),(0,l.jsx)("div",{className:"swiper-button-next-magazine-carousel cursor-pointer px-2 py-4 z-20 bg-second absolute bottom-0 md:bottom-auto md:top-1/2 md:-translate-y-1/2 right-0 md:right-4 rounded-md",children:(0,l.jsx)(_.A,{className:"fill-current text-white w-full h-full "})})]})]})})})}let T=w()(()=>Promise.resolve().then(s.bind(s,83812)),{loadableGenerated:{webpack:()=>[83812]},ssr:!1});function z({data:e}){let[t,s]=(0,p.useState)([]);return(0,p.useEffect)(()=>{let t=[];e?.post?.magazine?.allMagazineArticles?.map(e=>{e?.categories?.nodes?.map(e=>{t?.includes(e?.name)||t.push(e.name)})}),s(t)},[e?.post?.magazine?.allMagazineArticles]),(0,l.jsxs)("div",{className:"lg:pt-20 bg-white-alt",children:[(0,l.jsx)(f,{data:{...e.post,magazines:e?.issues},issue:!0}),t?.length>0&&(0,l.jsx)($,{tags:t}),e?.post?.magazine?.magazineCarousel?.showMagazineCarousel&&(0,l.jsx)(C,{data:e?.post?.magazine?.magazineCarousel,tags:t?.length>0}),e?.post?.magazine?.mostRelevant?.[0]&&(0,l.jsxs)(c.A,{wrapperClassName:"flex-col gap-6 pt-10",children:[(0,l.jsx)(r.A,{className:"text-3xl font-bold text-first leading-3xl lg:text-6xl lg:leading-6xl",content:"Featured"}),(0,l.jsx)(b.A,{data:e?.post?.magazine?.mostRelevant?.[0],type:"latest"})]}),e?.post?.magazine?.highlightedArticles?.showMagazineArticles&&e?.post?.magazine?.highlightedArticles?.highlightedMagazineArticles?.length>0&&(0,l.jsx)("div",{className:"pt-10",children:(0,l.jsx)(N.A,{data:{...e?.post?.magazine?.highlightedArticles,articles:e?.post?.magazine?.highlightedArticles?.highlightedMagazineArticles,title:e?.post?.magazine?.highlightedArticles?.highlightedSectionTitle,afterTitle:e?.post?.magazine?.highlightedArticles?.highlightedSectionAfterTitle,content:e?.post?.magazine?.highlightedArticles?.highlightedSectionParagraph,button:e?.post?.magazine?.highlightedArticles?.highlightedCtaLink,contentTypeMap:e?.contentTypeMap,type:"articles_highlighted"}})}),e?.post?.magazine?.allMagazineArticles?.length>0&&(0,l.jsx)("div",{className:"pt-10",children:(0,l.jsx)(T,{data:{articles:e?.post?.magazine?.allMagazineArticles,type:"articles_magazine",title:"Articles",contentTypeMap:e?.contentTypeMap}})}),e?.post?.MagicSection?.section&&(0,l.jsx)(a.A,{data:e})]})}var S=s(14162),M=s(82053),F=s(49369),I=s(22581),P=s(6871);function B({data:e}){let[t,s]=(0,p.useState)(!0),[a,n]=(0,p.useState)(),[i,o]=(0,p.useState)(),[d,x]=(0,p.useState)(),[m,u]=(0,p.useState)(1),[h,g]=(0,p.useState)({value:"newest",title:"Newest"}),[f,j]=(0,p.useState)(),[y,w]=(0,p.useState)(),b=async(e,t,l,a)=>{s(!0);let n="",i=t||d;i&&Object.keys(i).map(e=>{i[e].length>0&&i[e]?.map(t=>{n+=`&${e}=${t}`})});let r=`https://zenodo.org/api/communities/intertwin/records?q=&page=${l||m}&size=10&sort=${a||h?.value}${n}`,c=await fetch(r).then(e=>e.json());if(e){let e={};Object.keys(c?.aggregations).map(t=>e[t]=[]),x(e),o(c?.aggregations)}j(c?.hits?.hits),w(c?.hits?.total),s(!1)};return(0,p.useEffect)(()=>{b(!0)},[]),(0,l.jsx)(c.A,{id:"zenodo-hits",wrapperClassName:"!flex-col",children:(0,l.jsx)("div",{className:"flex ",children:t&&!i?(0,l.jsx)("div",{className:"w-full",children:(0,l.jsx)(S.A,{})}):(0,l.jsxs)("div",{className:"flex justify-between w-full items-start flex-col lg:flex-row",children:[a&&(0,l.jsx)("div",{className:"absolute top-0 left-0 right-0 bottom-0",onClick:()=>n(!1)}),(0,l.jsx)(P.A,{open:a,setOpen:n,filters:d,allFilters:i,setFilters:x,setPagination:u,getData:b}),(0,l.jsxs)("div",{className:"lg:pl-14 flex flex-col w-full lg:w-3/4 min-h-screen relative",children:[(0,l.jsx)("div",{className:"lg:hidden border-first border-2 px-2 py-1 text-xs mb-4 self
1-start rounded-md cursor-pointer hover:bg-first transition-all hover:text-white-alt",onClick:()=>n(!0),children:"Show Filter"}),t?(0,l.jsx)("div",{className:"w-full",children:(0,l.jsx)(S.A,{})}):f.length>0?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(I.A,{total:y,sort:h,setSort:g,getData:b,setPagination:u}),f?.map((e,t)=>(0,l.jsx)(M.A,{hit:e,i:t},t)),(0,l.jsx)(F.A,{total:y,pagination:m,setPagination:u,getData:b})]}):(0,l.jsxs)("div",{className:"flex flex-col gap-4 w-full items-center",children:[(0,l.jsx)(r.A,{type:"h2",tag:"h2",className:"hover:underline transition-all leading-6 text-first",content:"We couldn't find any results for your serach"}),(0,l.jsx)("div",{className:"border-second border-2 px-2 py-1 text-xs mb-4 rounded-md cursor-pointer hover:bg-second transition-all hover:text-white-alt",onClick:()=>{let e;Object.keys(e={...d}).map(t=>e[t]=[]),x(e),b(!1,e)},children:"Clear Filters"})]})]})]})})})}function L({data:e}){return"magazine-issue"==e.type?(0,l.jsx)(z,{data:e}):"magazine-article"==e.type?(0,l.jsx)(j,{data:e}):"zenodo"==e.type?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(a.A,{data:e}),(0,l.jsx)(B,{data:e})]}):(0,l.jsx)(a.A,{data:e})}},61846:(e,t,s)=>{s.d(t,{A:()=>A});var l=s(37876),a=s(40123),n=s.n(a),i=s(77328),r=s.n(i),c=s(45105),o=s.n(c),d=s(62867),x=s(89099),p=s(5072),m=s(95062),u=s.n(m);let h=({seo:e,uri:t,tags:s})=>{let a=(0,x.useRouter)(),n=s?.map(e=>e.name).join(", "),{title:i,metaDesc:r,metaRobotsNoindex:c,metaRobotsNofollow:m,opengraphDescription:u,opengraphTitle:h,opengraphImage:g,opengraphSiteName:f}=e,j=a.asPath.includes("index")?"":a.asPath;window.location.origin;let y="https://www.intertwin.eu"+j;return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(d.bV,{title:i,description:u||r,canonical:y,noindex:"index"!==c,nofollow:"follow"!==m,additionalMetaTags:[{name:"keywords",content:n}],openGraph:{type:"website",locale:"en_US",url:y,title:h,description:u,images:[{url:g?.sourceUrl,width:1280,height:720}],site_name:f}}),(0,l.jsx)(o(),{id:"yoastSchema",type:"application/ld+json",className:"yoast-schema-graph",strategy:"afterInteractive",dangerouslySetInnerHTML:{__html:(0,p.aj)(e?.schemaDetails)}},"yoastSchema")]})};h.propTypes={seo:u().object},h.defaultProps={seo:{canonical:"",title:"",metaDesc:"",metaRobotsNoindex:"",metaRobotsNofollow:"",opengraphDescription:"",opengraphTitle:"",opengraphImage:{sourceUrl:""},opengraphUrl:"",opengraphSiteName:""}};var g=s(18847),f=s.n(g),j=s(14232);async function y(){return(0,l.jsx)("div",{children:"Loading..."})}function w({colorPalette:e}){if(!e||!Array.isArray(e)||0===e.length)return null;let t=["first","second","third","fourth"],s={first:"first",second:"second",third:"third",fourth:"fourth",primary:"first",secondary:"second",accent:"third"},a=e.filter(e=>e?.color).map((e,l)=>{let a=s[e.label?.toLowerCase().trim()]||t[l];return a?`--color-${a}: ${e.color};`:null}).filter(Boolean).join("\n ");return a?(0,l.jsx)("style",{dangerouslySetInnerHTML:{__html:`:root { ${a} }`}}):null}let b=f()(Promise.all([s.e(587),s.e(230),s.e(981)]).then(s.bind(s,19981)),{loadableGenerated:{webpack:()=>[19981]}}),N=f()(Promise.all([s.e(587),s.e(392)]).then(s.bind(s,36392)),{loadableGenerated:{webpack:()=>[36392]}});function A({data:e,children:t,previewMode:s}){let a;return(0,p.Kk)(e?.contentTypeMap),a=n()(e?.page)?e.post:e.page,(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(w,{colorPalette:e?.siteSettings?.colorPalette}),e?.siteSettings?.cookieJsEmbedHead?(0,l.jsx)(o(),{id:"cookie-head",strategy:"afterInteractive",dangerouslySetInnerHTML:{__html:e.siteSettings.cookieJsEmbedHead.replace(/<script[^>]*>/gi,"").replace(/<\/script>/gi,"")}}):null,(0,l.jsx)(h,{seo:a?.seo,tags:a?.tags?.nodes}),(0,l.jsxs)(r(),{children:[(0,l.jsx)("link",{rel:"shortcut icon",href:e?.siteSettings?.companyIcon?.sourceUrl}),(0,l.jsx)("meta",{name:"google-site-verification",content:e?.gtmSettings?.googleTagManagerSettings?.googleSearchConsoleVerification})]}),(0,l.jsx)(o(),{id:"gtm",dangerouslySetInnerHTML:{__html:"(function(w,l){w[l] = w[l] || [];w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'});})(window,'dataLayer');"}}),(0,l.jsx)(b,{data:e}),(0,l.jsx)(j.Suspense,{fallback:(0,l.jsx)(y,{}),children:(0,l.jsx)("main",{children:(0,l.jsx)("div",{className:"bg-white overflow-hidden ",children:t})})}),(0,l.jsx)(N,{data:e})]})}},73558:(e,t,s)=>{s.d(t,{A:()=>p});var l=s(37876),a=s(14232),n=s(84175),i=s(69022),r=s(99037),c=s(40367),o=s(29652),d=s(97462),x=s(30);function p({data:e,block:t}){let[s,p]=(0,a.useState)([]);function m(e){let t=[...s],l=t[e];t.map((e,s)=>{t[s]=!1}),t[e]=!l,p(t)}return(0,a.useEffect)(()=>{let t=[];e?.cards?.map((e,s)=>{t.push(!1)}),p(t)},[e?.cards]),(0,l.jsx)(x.A,{id:e?.sectionId,color:e?.backgroundType,children:(0,l.jsxs)(o.A,{className:`w-full pt-10 lg:pt-0 ${e?.type==="ticket_info"||e?.type?.includes("list")?""
1:"items-center"} ${e?.type?.includes("article")?"justify-between":""}`,orientation:"row",space:"20",children:[(0,l.jsx)(o.A,{className:"w-full lg:w-1/2",orientation:"col",space:"4",children:t?.innerBlocks?(0,l.jsx)("div",{className:"gl-copy",children:(0,l.jsx)(c.M,{wpData:t?.innerBlocks,blockDataSet:c.c,theme:"white"})}):(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(d.A,{type:"pretitle",content:e?.beforeTitle}),(0,l.jsx)(d.A,{type:"h2",tag:`${e?.index===0?"h1":"h2"}`,content:e?.title}),(0,l.jsx)(d.A,{type:"title",content:e?.afterTitle}),(0,l.jsx)(d.A,{type:"body_1",content:e?.content}),(e?.button||e?.highlightedCtaLink)&&(e?.type!=="ticket_info"||e?.type=="ticket_info"&&(e?.__typename.includes("Event")||e?.__typename.includes("Project")||e?.__typename.includes("Partner")))&&(0,l.jsxs)(o.A,{orientation:"col",space:"4",children:[e?.button&&(0,l.jsx)(n.A,{...e?.button,variant:"fill"}),e?.buttonSecondary&&(0,l.jsx)(n.A,{...e?.buttonSecondary,variant:"outline"})]})]})}),(0,l.jsx)(o.A,{className:`w-full ${e?.type?.includes("accordion")?`bg-gray-200 bg-opacity-20 p-4 ${"https://cdn.intertwin.eu".includes("eosc")?"":"rounded-2xl"}`:""} ${e?.type?.includes("article")?"lg:w-1/3":"lg:w-1/2"}`,orientation:"col",space:"4",children:e?.type?.includes("list")||e?.type?.includes("accordion")?e?.cards?.map((t,a)=>(0,l.jsx)(r.A,{type:e?.type?.includes("accordion")?"accordion_right":"list_ghost",data:t,index:a,active:s,handleOpen:m,length:e?.cards?.length},a)):e?.type?.includes("article")?(0,l.jsx)("div",{className:"px-0 lg:px-4 xl:px-20",children:(0,l.jsx)(i.A,{contentTypeMap:e?.contentTypeMap,data:e?.articles?.[0]})}):(0,l.jsx)("div",{className:"px-0 lg:px-4 xl:px-12",children:(0,l.jsx)(r.A,{type:e?.type,data:e?.cards?.[0],custom:e?.customFields,cards:e?.type=="ticket_info"?e?.cards:null,cta:e?.type=="ticket_info"?e?.button:null,typename:e?.__typename})})})]})})}},82053:(e,t,s)=>{s.d(t,{A:()=>o});var l=s(37876),a=s(5072);let n=e=>(0,l.jsxs)("svg",{width:14,height:14,...e,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:[(0,l.jsx)("path",{d:"M230.546,324.601c6.688,6.703,15.969,10.547,25.454,10.547c9.469,0,18.75-3.844,25.453-10.547L398.422,207.64 c14.062-14.054,14.062-36.851,0-50.906c-14.062-14.062-36.859-14.062-50.906,0v-0.007L292,212.242V38.188c0-19.883-16.125-36-36-36 c-19.89,0-36,16.117-36,36v174.046l-55.5-55.5c-14.062-14.062-36.859-14.062-50.906-0.007c-14.062,14.062-14.062,36.859,0,50.914 L230.546,324.601z"}),(0,l.jsx)("path",{d:"M473.453,383.148H333.406c-13.36,29.469-42.954,50-77.406,50c-34.454,0-64.047-20.531-77.39-50H38.562 C17.266,383.148,0,400.406,0,421.696v49.562c0,21.297,17.266,38.554,38.562,38.554h434.89c21.297,0,38.547-17.258,38.547-38.554 v-49.562C512,400.406,494.75,383.148,473.453,383.148z"})]});var i=s(73504);let r=e=>(0,l.jsx)("svg",{...e,width:"14",height:"14",viewBox:"0 0 1920 1920",xmlns:"http://www.w3.org/2000/svg",children:(0,l.jsx)("path",{d:"M960 1277.853c-175.297 0-317.951-142.654-317.951-317.951 0-175.297 142.654-317.951 317.951-317.951 175.297 0 317.951 142.654 317.951 317.951 0 175.297-142.654 317.95-317.951 317.95Zm948.342-341.585C1720.645 558.648 1357.332 324 960 324c-397.333 0-760.645 234.648-948.342 612.268L0 959.902l11.658 23.634c187.697 377.62 551.01 612.268 948.342 612.268 397.333 0 760.645-234.648 948.342-612.268L1920 959.902l-11.658-23.634Z",fillRule:"evenodd"})});var c=s(97462);function o({hit:e,i:t}){return(0,l.jsxs)("div",{className:`flex flex-col gap-3 ${0!==t&&"pt-8"} pb-8`,children:[(0,l.jsxs)("div",{className:"flex gap-2 items-center font-bold text-xs text-white",children:[(0,l.jsx)("div",{className:"bg-first px-2 py-1 rounded-md",children:(0,a.Yq)(e?.metadata?.publication_date,!0)}),(0,l.jsx)("div",{className:"bg-second px-2 py-1 rounded-md",children:e?.metadata?.resource_type?.title})]}),(0,l.jsxs)("div",{className:"flex flex-col",children:[(0,l.jsx)("a",{href:e?.links?.self_html,target:"_blank",rel:"noreferrer",children:(0,l.jsx)(c.A,{type:"title",tag:"h4",className:"hover:underline transition-all leading-6 text-first",content:e?.title})}),(0,l.jsxs)("div",{className:"flex flex-wrap gap-x-2 text-gray-500 text-sm items-center",children:[e?.metadata?.creators?.slice(0,3).map((t,s)=>(0,l.jsxs)("div",{className:"flex items-center ",children:[(0,l.jsx)("a",{href:`https://zenodo.org/search?q=metadata.creators.person_or_org.name:"${t?.name}"`,target:"_blank",rel:"noreferrer",className:"hover:underline transition-all",children:(0,l.jsx)("span",{className:"group-hover:underline",children:t?.name})},s),t?.orcid&&(0,l.jsx)("a",{href:`https://orcid.org/${t?.orcid}`,target:"_blank",rel:"noreferrer",children:(0,l.jsx)(i.A,{className:"fill-second text-xs ml-1",width:15})}),s<e?.metadata?.creators?.length-1&&e?.metadata?.creators?.length!==1&&(0,l.jsx)("span",{children:";"})]},s)),(0,l.jsx)("span",{children:e?.metadata?.creators?.length>3&&`and ${e?.metadata?.creators?.length-3} others`})]})]}),(0,l.jsx)(c.A,{type:"body_1",className:"text-sm leading-sm text-gray-500 mb-0",content:e?.metadata?.description?`${(0,a.oD)(e?.metadata?.description?.replaceAll(/(<([^>]+)>)/ig,""),40)}`:"No description"}),(0,l.jsxs)("div",{className:"flex items-center justify-end gap-3",children:[(0,l.jsxs)("div",{title:"Views",className:"flex gap-1 items-center font-bold text-gray-500",children:[(0,l.jsx)(r,{className:"fill-gray-500"}
1),(0,l.jsx)("span",{className:"text-[12px]",children:e?.stats?.unique_views})]}),(0,l.jsxs)("div",{title:"Downloads",className:"flex gap-1 items-center font-bold text-gray-500",children:[(0,l.jsx)(n,{className:"fill-gray-500"}),(0,l.jsx)("span",{className:"text-[12px]",children:e?.stats?.unique_downloads})]})]})]},t)}},83812:(e,t,s)=>{s.r(t),s.d(t,{default:()=>w});var l=s(37876),a=s(14232),n=s(69022),i=s(99037),r=s(29652),c=s(73739),o=s(97462),d=s(30),x=s(84175),p=s(59174),m=s(86563),u=s(79426);function h({data:e}){let t=String(e?.sectionId??"").replace(/[^a-zA-Z0-9_-]/g,"-"),s={modules:[m.Vx,m.U1],freeMode:{enabled:!0},navigation:{nextEl:`.swiper-button-next-${t}`,prevEl:`.swiper-button-prev-${t}`},spaceBetween:20,breakpoints:{300:{slidesPerView:1.2},768:{slidesPerView:1.5},1024:{slidesPerView:2.3},1280:{slidesPerView:e?.logos?4.5:3.2}}};return(0,l.jsx)(d.A,{id:e?.sectionId,color:e?.backgroundType,children:(0,l.jsxs)(r.A,{className:"w-full",orientation:"col",space:"10",children:[(0,l.jsxs)(r.A,{orientation:"col",space:"2",children:[(0,l.jsx)(o.A,{type:"pretitle",content:e?.beforeTitle,orientation:"text-center"}),(0,l.jsx)(o.A,{type:"h2",tag:`${e?.index===0?"h1":"h2"}`,content:e?.title,orientation:"text-center"}),(0,l.jsx)(o.A,{type:"title",content:e?.afterTitle,orientation:"text-center"})]}),(0,l.jsxs)("div",{className:"w-full relative",children:[(0,l.jsx)("div",{className:`absolute filter blur-sm pointer-events-none z-10 -left-4 top-0 h-full w-20 bg-gradient-to-r ${e?.backgroundType==="white"?"from-white-alt ":"from-white"}`}),(0,l.jsx)("div",{className:`absolute filter blur-sm pointer-events-none z-10 -right-4 top-0 h-full w-20 bg-gradient-to-l ${e?.backgroundType==="white"?"from-white-alt":"from-white"}`}),(0,l.jsx)(p.RC,{className:"w-full relative pb-12",...s,children:e?.logos?e?.logos?.map((t,s)=>(0,l.jsx)(p.qr,{className:"h-auto",children:(0,l.jsx)(n.A,{contentTypeMap:e?.contentTypeMap,data:t,type:"image_only"})},s)):e?.type.includes("articles")?e?.articles?.map((t,s)=>(0,l.jsx)(p.qr,{className:"h-auto",children:(0,l.jsx)(n.A,{contentTypeMap:e?.contentTypeMap,data:t,type:e?.type})},s)):e?.cards?.map((t,s)=>(0,l.jsx)(p.qr,{className:"h-auto",children:(0,l.jsx)(i.A,{data:t,type:e?.type})},s))}),(0,l.jsxs)("div",{className:"relative z-20 flex space-x-4 w-full justify-end pt-1 transform ",children:[(0,l.jsx)("div",{className:`swiper-button-prev-${t} cursor-pointer w-10 h-10`,children:(0,l.jsx)(u.A,{className:"fill-current text-second transform rotate-180"})}),(0,l.jsx)("div",{className:`swiper-button-next-${t} cursor-pointer w-10 h-10`,children:(0,l.jsx)(u.A,{className:"fill-current text-second w-full h-full "})})]})]}),e?.button?(0,l.jsx)(r.A,{className:"w-full justify-end items-end",children:(0,l.jsx)(x.A,{...e?.button})}):null]})})}function g({data:e}){let[t,s]=(0,a.useState)([]);function p(e){let l=[...t],a=l[e];l.map((e,t)=>{l[t]=!1}),l[e]=!a,s(l)}return((0,a.useEffect)(()=>{let t=[];e?.cards?.map((e,s)=>{t.push(!1)}),s(t)},[e?.cards]),e?.showSlider&&e?.type=="centered")?(0,l.jsx)(h,{data:e}):(0,l.jsx)(d.A,{id:e?.sectionId,color:e?.backgroundType,children:(0,l.jsxs)(r.A,{className:"w-full",orientation:"col",space:"10",children:[(0,l.jsxs)(r.A,{orientation:"col",space:"2",children:[(0,l.jsx)(o.A,{className:"text-second",type:"pretitle",content:e?.beforeTitle,orientation:"text-left"}),(0,l.jsx)(o.A,{className:`${"https://cdn.intertwin.eu".includes("intertwin")?"text-center":"text-second text-left"}`,type:"h2",tag:`${e?.index===0?"h1":"h2"}`,content:e?.title}),(0,l.jsx)(o.A,{className:"text-second",type:"title",content:e?.afterTitle,orientation:"text-left"})]}),e?.type==="timeline"?(0,l.jsx)(r.A,{orientation:"col",children:(0,l.jsx)(i.A,{data:e?.cards,type:e?.type})}):(0,l.jsx)(c.A,{className:e?.type?.includes("accordion")?"p-4 bg-gray-200 bg-opacity-20 rounded-2xl transition-all ":"justify-items-center",xGap:8,yGap:4,columns:e?.logos?5:e?.columnscards,children:e?.logos?e?.logos?.map((t,s)=>(0,l.jsx)(n.A,{contentTypeMap:e?.contentTypeMap,data:t,type:"image_only"},s)):e?.type?.includes("articles")?e?.articles?.map((t,s)=>(0,l.jsx)(n.A,{contentTypeMap:e?.contentTypeMap,data:t,type:e?.type},s)):e?.cards?.map((s,a)=>(0,l.jsx)(i.A,{data:s,type:e?.type,index:a,active:t,handleOpen:p,columns:e?.columnscards,length:e?.cards?.length},a))}),e?.button&&(0,l.jsx)(r.A,{className:"w-full justify-end",children:(0,l.jsx)(x.A,{...e?.button})})]})})}function f({data:e}){return(0,l.jsx)(d.A,{id:e?.sectionId,color:e?.backgroundType,children:(0,l.jsx)(r.A,{className:"w-full justify-center items-center",orientation:"col",space:"10",children:(0,l.jsx)(n.A,{contentTypeMap:e?.contentTypeMap,data:e?.type==="quote"?e?.quotes[0]:e?.articles[0],type:e?.type})})})}var j=s(73558);function y({data:e}){let t=String(e?.sectionId??"").replace(/[^a-zA-Z0-9_-]/g,"-"),s={modules:[m.Vx,m.U1],freeMode:{enabled:!0},navigation:{nextEl:`.swiper-button-next-${t}`,prevEl:`.swiper-button-prev-${t}`},spaceBetween:20,breakpoints:{300:{slidesPerView:1},768:{slidesPerView:1.5},1024:{slidesPerView:3}}};return(0,l.jsx)(d.A,{id:e?.sectionId,color:e?.backgroundType,children:(0,l.jsxs)(r.A,{className:"w-full",orientation:"col",space:"10",children:[(0,l.jsxs)(r.A,{className:"lg:items-center",orientation:"col",space:"2",children:[(0,l.jsx)(o.A,{type:"pretitle",orientation:"lg:text-center",content:e?.beforeTitle}),(0,l.jsx)(o.A,{type:"h2",tag:`${e?.index===0?"h1":"h2"}`,orientation:"lg:text-center",content:e?.title}),(0,l.jsx)(o.A,{type:"title",orientation:"lg:text-center",content:e?.afterTitle})]}),(0,l.jsxs)("div",{className:"w-full relative",children:[(0,l.jsx)(p.RC,{className:"w-full relative pb-4",...s,children:e?.quotes?.map((e,t)=>(0,l.jsx)(p.qr,{className:"h-auto",children:(0,l.jsx)(n.A,{data:e,type:"testimonial"})},t))}),(0,l.jsxs)("div",{className:"relative z-20 flex space-x-4 w-full justify-end pt-4",children:[(0,l.jsx)("div",{className:`swiper-button-prev-${t} cursor-pointer w-10 h-10`,children:(0,l.jsx)(u.A,{className:"fill-current text-second transform rotate-180"})}),(0,l.jsx)("div",{className:`swiper-button-next-${t} cursor-pointer w-10 h-10`,children:(0,l.jsx)(u.A,{className:"fill-current text-second w-full h-full"})})]})]})]})})}function w({data:e}){let t={list_right:(0,l.jsx)(j.A,{data:e}),card_right:(0,l.jsx)(j.A,{data:e}),article_right:(0,l.jsx)(j.A,{data:e}),accordion_right:(0,l.jsx)(j.A,{data:e}),centered:(0,l.jsx)(g,{data:e}),articles:(0,l.jsx)(g,{data:e}),articles_slider:(0,l.jsx)(h,{data:e}),articles_text_only:(0,l.jsx)(g,{data:e}),list:(0,l.jsx)(g,{data:e}),ticket_info:(0,l.jsx)(j.A,{data:e}),ghost:(0,l.jsx)(g,{data:e}),expert:(0,l.jsx)(f,{data:e}),quote:(0,l.jsx)(f,{data:e}),testimonial:(0,l.jsx)(y,{data:e}),default:(0,l.jsx)(g,{data:e})};return t[e.type]||t.default}},99037:(e,t,s)=>{s.d(t,{A:()=>h});var l=s(37876),a=s(29652),n=s(97462),i=s(84175);function r({data:e,type:t,active:s,handleOpen:r,index:c,length:o}){return(0,l.jsx)(a.A,{className:`transition-all ${c==o-1&&"accordion"!==t?"":"border-b"} border-gray-200 ${0==c&&"accordion"!==t?"pt-4":""} h-full`,orientation:"col",children:(0,l.jsxs)(a.A,{className:"px-0 lg:px-4",orientation:"col",position:"justify-center",space:"4",children:[(0,l.jsxs)(a.A,{orientation:"row",className:"justify-between items-center",children:[(0,l.jsx)("span",{onClick:()=>r(c),className:"lg:w-10/12",children:(0,l.jsx)(n.A,{className:"cursor-pointer",type:"h4",content:e?.cardTitle})}),(0,l.jsx)("div",{onClick:()=>
1r(c),className:"transition-all transform hover:rotate-180 cursor-pointer flex justify-center items-center w-10 h-10 border border-gray-200 rounded-full text-gray-200",children:(0,l.jsx)("div",{className:"w-full h-full flex justify-center items-center transition-all transform hover:scale-150",children:s?.[c]?"-":"+"})})]}),(0,l.jsxs)("div",{className:`transition-all duration-500 transform ${s?.[c]?"opacity-100 -translate-y-0 overflow-hidden max-h-2xl max-h-96 ":" max-h-0 pointer-events-none -translate-y-4 opacity-0"}`,children:[(0,l.jsx)(n.A,{type:"body_1",content:e?.cardContent}),e?.cardButton?(0,l.jsx)("div",{className:"flex justify-end mb-4",children:(0,l.jsx)(i.A,{...e?.cardButton,variant:"basic"})}):null]})]})})}var c=s(40923),o=s(5072);function d({data:e,type:t}){return(0,l.jsx)("a",{href:(0,o.bJ)(e?.cardButton?.url),className:"group w-full",children:(0,l.jsxs)(a.A,{className:`${"ghost"!==t?`transition-all ${"https://cdn.intertwin.eu".includes("eosc")?"":"rounded-xl"} ${e?.cardButton?"hover:shadow-2xl bg-white-alt":""}`:""} p-2 h-full`,orientation:"col",space:`${"metrics"===t?"0":"10"}`,children:["ghost"!==t&&e?.cardImage?(0,l.jsx)(a.A,{position:"justify-center items-center",children:(0,l.jsx)(c.A,{className:"w-32 h-32 justify-center items-center flex overflow-hidden",innerClassName:"transition-all",layout:"responsive",...e?.cardImage})}):null,(0,l.jsx)(a.A,{className:"px-0 lg:px-4 py-2",orientation:"col",position:"justify-between h-full items-center",children:(0,l.jsxs)(a.A,{className:"justify-center items-center",orientation:"col",space:"1",children:[(0,l.jsx)(n.A,{className:`${"metrics"===t?"text-second w-max ":""} ${e?.cardButton?.url?"group-hover:underline":""} transition-all`,type:`${"metrics"===t?"h2":"h3"}`,orientation:"text-center",content:e?.cardTitle}),"small"!==t?(0,l.jsx)(n.A,{className:`${"metrics"===t?"text-first font-semibold w-max":""} mb-0`,type:"body_card",orientation:"text-center",content:e?.cardContent}):null]})})]})})}function x({data:e,type:t,index:s,columns:r}){let d="https://cdn.intertwin.eu",x="list"!==t?(0,o.bJ)(e?.cardButton?.url):null;return(0,l.jsx)(x?"a":"div",{...x?{href:x}:{},className:"block w-full h-full group",children:(0,l.jsxs)(a.A,{className:`bg-white-alt w-full p-2 lg:p-4 transition-all h-full ${"numerals"===t||2===r&&"stacked_list"!==t?e?.cardButton?"lg:hover:shadow-lg":"":"stacked_list"===t?`border-b ${d?.includes("eosc")?"":"rounded-md"} lg:hover:shadow-lg`:"border-1"} ${d?.includes("eosc")?"":"rounded-sm"} lg:px-12`,orientation:"row",space:"1",children:["numerals"===t?(0,l.jsxs)(a.A,{className:"items-start hidden py-4 pr-4 lg:flex",orientation:"row",space:"3",children:[(0,l.jsx)(a.A,{className:"",children:(0,l.jsx)(n.A,{className:"text-second",type:"h3",content:s+1})}),(0,l.jsx)("div",{className:"w-px bg-black opacity-50 h-1/2"})]}):null,"stacked_list"===t&&"numerals"!==t&&e?.cardImage?(0,l.jsx)(a.A,{position:"justify-center items-center lg:pr-10",children:(0,l.jsx)(c.A,{className:"h-32 w-44",innerClassName:`object-contain ${d?.includes("eosc")?"":"rounded-lg"} w-full h-full`,width:44,height:32,layout:"responsive",...e?.cardImage})}):null,(0,l.jsxs)(a.A,{className:`justify-center items-center lg:justify-start ${"list"!==t?"lg:items-start":""} ${"numerals"===t||2===r||"stacked_list"===t?"lg:w-full":"lg:w-3/4"}`,orientation:"numerals"===t||"stacked_list"===t||2===r?"col":"row",position:"justify-center",space:6,children:[(0,l.jsxs)("div",{className:`${"numerals"===t||e.cardImage||2===r||"stacked_list"===t?"":"lg:w-3/12"} ${"list"==t?"lg:w-1/4":""} flex items-center`,children:["numerals"===t?(0,l.jsx)(a.A,{className:"flex items-start py-4 pr-4 lg:hidden",orientation:"row",space:"3",children:(0,l.jsx)(a.A,{className:"",children:(0,l.jsx)(n.A,{className:"text-second",type:"h3",content:s+1})})}):null,(0,l.jsx)(n.A,{type:"h4",content:e?.cardTitle})]}),(0,l.jsx)(n.A,{className:`${"numerals"===t||e.cardImage||2===r||"stacked_list"===t?"":"lg:w-9/12"} ${"list"==t?"lg:w-3/4":""}`,type:"body_1",content:e?.cardContent}),e?.cardButton&&"stacked_list"===t?(0,l.jsx)(a.A,{className:"items-center justify-center w-full lg:items-end lg:justify-end",orientation:"col",space:"4",children:(0,l.jsx)(i.A,{...e?.cardButton,url:null,variant:"basic"})}):null]}),e?.cardButton&&"stacked_list"!==t&&"numerals"!==t?(0,l.jsx)(a.A,{className:`lg:w-1/4 justify-center items-center ${"list"!==t?"lg:justify-end lg:items-end":""} p-4 lg:p-0`,orientation:"col",space:"4",children:(0,l.jsx)(i.A,{...e?.cardButton,url:x?null:e?.cardButton?.url,variant:"fill"})}):null]})})}function p({data:e}){let t="https://cdn.intertwin.eu";return(0,l.jsxs)(a.A,{className:"p-4 w-full hover:shadow-xl transition-all",orientation:"row",space
1:"0",children:[(0,l.jsx)(a.A,{className:"justify-center items-center",children:(0,l.jsx)("a",{href:(0,o.bJ)(e?.cardButton?.url),children:(0,l.jsx)(c.A,{className:`w-32 h-32 ${t?.includes("eosc")?"":"rounded-2xl"}`,innerClassName:`w-32 h-32 object-contain ${t?.includes("eosc")?"":"rounded-2xl"}`,width:32,height:32,layout:"responsive",...e?.cardImage})})}),(0,l.jsxs)(a.A,{className:"justify-center items-center lg:justify-start lg:items-start py-4 lg:pl-4 lg:pr-20",orientation:"col",space:"2",children:[(0,l.jsx)("a",{href:(0,o.bJ)(e?.cardButton?.url),title:e?.cardTitle,children:(0,l.jsx)(n.A,{className:"text-center lg:text-left",type:"h4",content:e?.cardTitle})}),(0,l.jsx)(n.A,{className:"text-center lg:text-left",type:"body_1",content:e?.cardContent}),(0,l.jsx)(a.A,{className:"w-full justify-center items-center transform translate-x-4 lg:justify-end lg:items-end",children:(0,l.jsx)(i.A,{...e?.cardButton,variant:"basic"})})]})]})}function m({data:e,cards:t,typename:s,cta:r}){return(0,l.jsx)(a.A,{className:`divide-y empty:hidden divide-opacity-30 justify-center divide-gray-600 ${"https://cdn.intertwin.eu".includes("eosc")?"":"rounded-md"} lg:px-4 xl:px-8 py-4 bg-gray-200 bg-opacity-20`,orientation:"col",space:"0",children:s?.includes("Event")||s?.includes("Project")||s?.includes("Partner")?(0,l.jsxs)(l.Fragment,{children:[e?.eventType&&(0,l.jsxs)(a.A,{className:"justify-between items-center xl:px-6 lg:px-2 xl:py-4 lg:py-1",space:"4",children:[(0,l.jsx)(n.A,{className:"uppercase lg:w-7/12 lg:text-lg xl:text-xl",type:"h4",content:"Type"}),(0,l.jsx)(n.A,{className:"font-semibold lg:w-5/12 text-left",content:e?.eventType})]}),e?.organiser&&(0,l.jsxs)(a.A,{className:"justify-between items-center xl:px-6 lg:px-2 xl:py-4 lg:py-1",space:"4",children:[(0,l.jsx)(n.A,{className:"uppercase lg:w-7/12 lg:text-lg xl:text-xl",type:"h4",content:"Organiser"}),(0,l.jsx)(n.A,{className:"font-semibold lg:w-5/12 text-left",content:e?.organiser})]}),e?.partnershipTypes&&e?.partnershipTypes?.name?.toLowerCase()!=="not applicable"&&(0,l.jsxs)(a.A,{className:"justify-between items-center xl:px-6 lg:px-2 xl:py-4 lg:py-1",space:"4",children:[(0,l.jsx)(n.A,{className:"uppercase lg:w-7/12 lg:text-lg xl:text-xl",type:"h4",content:"partnership type"}),(0,l.jsx)(n.A,{className:"font-semibold lg:w-5/12 text-left",content:e?.partnershipTypes.name})]}),e?.partnershipOptions&&e?.partnershipOptions!=="Not Applicable"&&(0,l.jsxs)(a.A,{className:"justify-between items-center xl:px-6 lg:px-2 xl:py-4 lg:py-1",space:"4",children:[(0,l.jsx)(n.A,{className:"uppercase lg:w-7/12 lg:text-lg xl:text-xl",type:"h4",content:"partnership Option"}),(0,l.jsx)(n.A,{className:"font-semibold lg:w-5/12 text-left",content:e?.partnershipOptions})]}),e?.country&&(0,l.jsxs)(a.A,{className:"justify-between items-center xl:px-6 lg:px-2 xl:py-4 lg:py-1",space:"4",children:[(0,l.jsx)(n.A,{className:"uppercase lg:w-7/12 lg:text-lg xl:text-xl",type:"h4",content:"country"}),(0,l.jsx)(n.A,{className:"font-semibold lg:w-5/12 text-left",content:e?.country})]}),e?.joinedIn&&e?.joinedIn!=="NA"&&(0,l.jsxs)(a.A,{className:"justify-between items-center xl:px-6 lg:px-2 xl:py-4 lg:py-1",space:"4",children:[(0,l.jsx)(n.A,{className:"uppercase lg:w-7/12 lg:text-lg xl:text-xl",type:"h4",content:"Joined in"}),(0,l.jsx)(n.A,{className:"font-semibold lg:w-5/12 text-left",content:e?.joinedIn})]}),e?.dates?.date&&(0,l.jsxs)(a.A,{className:"justify-between items-center xl:px-6 lg:px-2 xl:py-4 lg:py-1",space:"4",children:[(0,l.jsx)(n.A,{className:"uppercase lg:w-7/12 lg:text-lg xl:text-xl",type:"h4",content:"Date"}),(0,l.jsx)(n.A,{className:"font-semibold lg:w-5/12 text-left",content:e?.dates?.date})]}),e?.dates?.time&&(0,l.jsxs)(a.A,{className:"justify-between items-center xl:px-6 lg:px-2 xl:py-4 lg:py-1",space:"4",children:[(0,l.jsx)(n.A,{className:"uppercase lg:w-7/12 lg:text-lg xl:text-xl",type:"h4",content:"time"}),(0,l.jsx)(n.A,{className:"font-semibold lg:w-5/12 text-left",content:e?.dates?.time})]}),e?.duration&&(0,l.jsxs)(a.A,{className:"justify-between items-center xl:px-6 lg:px-2 xl:py-4 lg:py-1",space
1:"4",children:[(0,l.jsx)(n.A,{className:"uppercase lg:w-7/12 lg:text-lg xl:text-xl",type:"h4",content:"duration"}),(0,l.jsx)(n.A,{className:"font-semibold lg:w-5/12 text-left",content:e?.duration})]}),e?.venue&&(0,l.jsxs)(a.A,{className:"justify-between items-center xl:px-6 lg:px-2 xl:py-4 lg:py-1",space:"4",children:[(0,l.jsx)(n.A,{className:"uppercase lg:w-7/12 lg:text-lg xl:text-xl",type:"h4",content:"venue"}),(0,l.jsx)(n.A,{className:"font-semibold lg:w-5/12 text-left",content:e?.venue})]}),(e?.format||e?.otherFormat)&&(0,l.jsxs)(a.A,{className:"justify-between items-center xl:px-6 lg:px-2 xl:py-4 lg:py-1",space:"4",children:[(0,l.jsx)(n.A,{className:"uppercase lg:w-7/12 lg:text-lg xl:text-xl",type:"h4",content:"format"}),(0,l.jsx)(n.A,{className:"font-semibold lg:w-5/12 text-left",content:e?.format||e?.otherFormat})]}),e?.price&&(0,l.jsxs)(a.A,{className:"justify-between items-center xl:px-6 lg:px-2 xl:py-4 lg:py-1",space:"4",children:[(0,l.jsx)(n.A,{className:"uppercase lg:w-7/12 lg:text-lg xl:text-xl",type:"h4",content:"price"}),(0,l.jsx)(n.A,{className:"font-semibold lg:w-5/12 text-left",content:`${e?.price}`})]}),e?.dateStart&&(0,l.jsxs)(a.A,{className:"justify-between items-center xl:px-6 lg:px-2 xl:py-4 lg:py-1",space:"4",children:[(0,l.jsx)(n.A,{className:"uppercase lg:w-7/12 lg:text-lg xl:text-xl",type:"h4",content:"start"}),(0,l.jsx)(n.A,{className:"font-semibold lg:w-5/12 text-left",content:e?.dateStart})]}),e?.dateEnd&&(0,l.jsxs)(a.A,{className:"justify-between items-center xl:px-6 lg:px-2 xl:py-4 lg:py-1",space:"4",children:[(0,l.jsx)(n.A,{className:"uppercase lg:w-7/12 lg:text-lg xl:text-xl",type:"h4",content:"end"}),(0,l.jsx)(n.A,{className:"font-semibold lg:w-5/12 text-left",content:e?.dateEnd})]}),e?.fundingSource&&(0,l.jsxs)(a.A,{className:"justify-between items-center xl:px-6 lg:px-2 xl:py-4 lg:py-1",space:"4",children:[(0,l.jsx)(n.A,{className:"uppercase lg:w-7/12 lg:text-lg xl:text-xl",type:"h4",content:"Funding Source"}),(0,l.jsx)(n.A,{className:"font-semibold lg:w-5/12 text-left",content:e?.fundingSource})]}),e?.projectBudget&&(0,l.jsxs)(a.A,{className:"justify-between items-center xl:px-6 lg:px-2 xl:py-4 lg:py-1",space:"4",children:[(0,l.jsx)(n.A,{className:"uppercase lg:w-7/12 lg:text-lg xl:text-xl",type:"h4",content:"project budget"}),(0,l.jsx)(n.A,{className:"font-semibold lg:w-5/12 text-left",content:e?.projectBudget})]}),e?.egiBudget&&(0,l.jsxs)(a.A,{className:"justify-between items-center xl:px-6 lg:px-2 xl:py-4 lg:py-1",space:"4",children:[(0,l.jsx)(n.A,{className:"uppercase lg:w-7/12 lg:text-lg xl:text-xl",type:"h4",content:"egi budget"}),(0,l.jsx)(n.A,{className:"font-semibold lg:w-5/12 text-left",content:e?.egiBudget})]}),e?.contractNumber&&(0,l.jsxs)(a.A,{className:"justify-between items-center xl:px-6 lg:px-2 xl:py-4 lg:py-1",space:"4",children:[(0,l.jsx)(n.A,{className:"uppercase lg:w-7/12 lg:text-lg xl:text-xl",type:"h4",content:"Contract No."}),(0,l.jsx)(n.A,{className:"font-semibold lg:w-5/12 text-left",content:e?.contractNumber})]}),e?.typeOfProject&&(0,l.jsxs)(a.A,{className:"justify-between items-center xl:px-6 lg:px-2 xl:py-4 lg:py-1",space:"4",children:[(0,l.jsx)(n.A,{className:"uppercase lg:w-7/12 lg:text-lg xl:text-xl",type:"h4",content:"type of project"}),(0,l.jsx)(n.A,{className:"font-semibold lg:w-5/12 text-left",content:e?.typeOfProject})]}),e?.targetGroups&&(0,l.jsxs)(a.A,{className:"justify-between items-center xl:px-6 lg:px-2 xl:py-4 lg:py-1",space:"4",children:[(0,l.jsx)(n.A,{className:"uppercase lg:w-7/12 lg:text-lg xl:text-xl",type:"h4",content:"Target Group"}),e?.targetGroups?.map((e,t)=>(0,l.jsx)(n.A,{className:"font-semibold ",content:e},t))]}),e?.ctaLink&&(0,l.jsx)(a.A,{className:"justify-center items-center py-4",children:(0,l.jsx)(i.A,{...e?.ctaLink})}),e?.partnerUrl&&(0,l.jsx)(a.A,{className:"justify-center items-center py-4",children:(0,l.jsx)(i.A,{...e?.partnerUrl})}),e?.callToActions&&(0,l.jsxs)(a.A,{className:"justify-center items-center",orientation:"row",space:"4",children:[e?.callToActions?.joinCta&&(0,l.jsx)(a.A,{className:"justify-center py-4",children:(0,l.jsx)(i.A,{...e?.callToActions?.joinCta})}),e?.callToActions?.pdfAttachment?.pdfBrochure?.mediaItemUrl&&(0,l.jsx)(a.A,{className:"justify-center py-4",children:(0,l.jsx)(i.A,{title:e?.callToActions?.pdfAttachment?.ctaLabel,target:"_blank",url:e?.callToActions?.pdfAttachment?.pdfBrochure?.mediaItemUrl,variant:"outline"})})]})]}):(0,l.jsxs)(l.Fragment,{children:[t?.map((e,t)=>(0,l.jsxs)(a.A,{className:"justify-between items-center xl:px-6 lg:px-2 xl:py-4 lg:py-1",space
1:"4",children:[(0,l.jsx)(n.A,{className:"uppercase lg:w-7/12 lg:text-lg xl:text-xl",type:"h4",content:e?.cardTitle}),(0,l.jsx)(n.A,{className:"font-semibold lg:w-5/12 text-left [&_p]:mb-0",content:e?.cardContent})]},t)),r&&(0,l.jsx)(a.A,{className:"justify-center items-center py-4",orientation:"row",children:(0,l.jsx)(i.A,{...r,variant:"fill"})})]})})}function u({data:e}){let t="https://cdn.intertwin.eu",s=0,i=e.reduce(function(e,t,s){return(s%2==0?e.push([t]):e[e.length-1].push(t))&&e},[]);return(0,l.jsxs)(a.A,{className:" relative overflow-hidden p-10 h-full",orientation:"col",children:[(0,l.jsx)("div",{className:" absolute w-px bg-second h-full right-16 md:right-auto md:left-1/2"}),i.map((e,a)=>(0,l.jsxs)("div",{children:[(0,l.jsxs)("div",{className:"mb-8 flex justify-between flex-row-reverse md:flex-row items-center w-full right-timeline",children:[(0,l.jsx)("div",{className:"order-1 md:w-5/12"}),e[0]?.cardMilestoneDate?(0,l.jsx)("div",{className:"z-20 ml-4 md:ml-0 flex items-center order-1 bg-first shadow-xl rounded-full",children:(0,l.jsx)("h1",{className:"font-utility mx-auto font-semibold text-lg text-white py-1 px-3",children:e[0]?.cardMilestoneDate.split("-")[0]})}):(0,l.jsx)("div",{className:"z-20 flex items-center order-1 bg-first shadow-xl w-8 h-8 rounded-full",children:(0,l.jsx)("h1",{className:"font-utility mx-auto font-semibold text-lg text-white",children:s+=1})}),(0,l.jsxs)("div",{className:`order-1 flex-grow md:flex-grow-0 bg-secondary bg-first bg-opacity-10 ${t?.includes("eosc")?"":"rounded-2xl"} shadow-xl w-5/12 px-6 py-4`,children:[(0,l.jsx)(n.A,{className:"text-second",type:"h3",content:e[0]?.cardTitle}),(0,l.jsx)(n.A,{className:"text-second",type:"body_1",content:e[0]?.cardContent})]})]}),e[1]?(0,l.jsxs)("div",{className:"mb-8 flex justify-between flex-row-reverse items-center w-full left-timeline",children:[(0,l.jsx)("div",{className:"order-1 md:w-5/12"}),e[1]?.cardMilestoneDate?(0,l.jsx)("div",{className:"z-20 flex ml-4 md:ml-0 items-center order-1 bg-first shadow-xl rounded-full",children:(0,l.jsx)("h1",{className:"font-utility mx-auto font-semibold text-lg text-white py-1 px-3",children:e[1]?.cardMilestoneDate.split("-")[0]})}):(0,l.jsx)("div",{className:"z-20 flex items-center order-1 bg-first shadow-xl w-8 h-8 rounded-full",children:(0,l.jsx)("h1",{className:"font-utility mx-auto font-semibold text-lg text-white",children:s+=1})}),(0,l.jsxs)("div",{className:`order-1 flex-grow md:flex-grow-0 bg-primary ${t?.includes("eosc")?"":"rounded-2xl"} shadow-xl bg-first bg-opacity-10 w-5/12 px-6 py-4`,children:[(0,l.jsx)(n.A,{className:"text-second",type:"h3",content:e[1]?.cardTitle}),(0,l.jsx)(n.A,{className:"text-second",type:"body_1",content:e[1]?.cardContent})]})]}):null]},a))]})}function h({data:e,type:t,index:s,active:a,handleOpen:n,columns:i,custom:c,cards:o,typename:h,cta:g,length:f}){let j={list_ghost:(0,l.jsx)(p,{data:e,type:t}),list:(0,l.jsx)(x,{data:e,type:t,columns:i}),numerals:(0,l.jsx)(x,{data:e,type:t,index:s,columns:i}),default:(0,l.jsx)(d,{data:e,type:t}),small:(0,l.jsx)(d,{data:e,type:t}),timeline:(0,l.jsx)(u,{data:e}),accordion:(0,l.jsx)(r,{data:e,active:a,handleOpen:n,index:s,length:f,type:t}),accordion_right:(0,l.jsx)(r,{data:e,active:a,handleOpen:n,index:s,length:f,type:t}),ticket_info:(0,l.jsx)(m,{data:c,cards:o,typename:h,cta:g}),stacked_list:(0,l.jsx)(x,{data:e,type:t,columns:i})};return j[t]||j.default}}}]);
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.