<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1806],{59289:function(e,l,a){Promise.resolve().then(a.t.bind(a,68326,23)),Promise.resolve().then(a.t.bind(a,19167,23)),Promise.resolve().then(a.bind(a,98234)),Promise.resolve().then(a.bind(a,97844)),Promise.resolve().then(a.bind(a,9170)),Promise.resolve().then(a.bind(a,81655)),Promise.resolve().then(a.bind(a,49239)),Promise.resolve().then(a.bind(a,87372)),Promise.resolve().then(a.bind(a,30260)),Promise.resolve().then(a.bind(a,67361)),Promise.resolve().then(a.bind(a,64684)),Promise.resolve().then(a.bind(a,79328)),Promise.resolve().then(a.bind(a,66248)),Promise.resolve().then(a.bind(a,85495)),Promise.resolve().then(a.bind(a,9096)),Promise.resolve().then(a.bind(a,93198)),Promise.resolve().then(a.bind(a,75602)),Promise.resolve().then(a.bind(a,21122)),Promise.resolve().then(a.bind(a,1598)),Promise.resolve().then(a.bind(a,50540)),Promise.resolve().then(a.bind(a,59901)),Promise.resolve().then(a.bind(a,32233)),Promise.resolve().then(a.bind(a,82229)),Promise.resolve().then(a.bind(a,41280)),Promise.resolve().then(a.bind(a,97263)),Promise.resolve().then(a.bind(a,39666)),Promise.resolve().then(a.bind(a,90888)),Promise.resolve().then(a.bind(a,59047)),Promise.resolve().then(a.bind(a,81244)),Promise.resolve().then(a.bind(a,8674)),Promise.resolve().then(a.bind(a,12471)),Promise.resolve().then(a.bind(a,54530)),Promise.resolve().then(a.bind(a,51340)),Promise.resolve().then(a.bind(a,98113)),Promise.resolve().then(a.bind(a,61561)),Promise.resolve().then(a.bind(a,40942)),Promise.resolve().then(a.bind(a,17345))},24848:function(e,l,a){"use strict";a.d(l,{A:function(){return m},Z:function(){return x}});var t=a(26705),i=a(20955),r=a(16035),s=a(45073),n=a(93605),o=a(11595),d=a(93288),c=a(99997),Pagination_Pagination=e=&gt;{let{numFound:l,limit:a=12}=e,{dispatch:i,state:r}=(0,o.Z)(),s=parseInt(r.page||"1")||1,n=Array(Math.ceil(l&lt;=73?l/a:s&lt;=4?7:l/a)).fill(""),d="inline-flex items-center border-t-2 border-transparent px-3 sm:px-4 pt-4 text-sm text-gray-500 hover:border-gray-300 hover:text-gray-700",u=s&gt;=n.length?"select-none pointer-events-none opacity-30":"",scrollToELement=()=&gt;{let e=document.getElementById("articleTop");e&amp;&amp;setTimeout(()=&gt;e.scrollIntoView({behavior:"smooth"}),50)},onCurrentPage=(e,l)=&gt;{e.preventDefault(),scrollToELement(),i({payload:l.toString(),type:"SET_PAGE"})};return(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)("ul",{className:"flex items-center justify-between flex-wrap border-t border-gray-200 px-4 sm:px-0 list-none",children:[(0,t.jsx)("li",{className:"order-1 sm:order-none w-1/2 sm:w-auto -mt-px flex sm:flex-1 list-none",children:(0,t.jsxs)(c.Z,{onClick:e=&gt;{e.preventDefault(),scrollToELement(),s&lt;=1||i({payload:(s-1).toString(),type:"SET_PAGE"})},href:"#",className:"".concat(d," ").concat(1===s?"select-none pointer-events-none opacity-30":""," mt-[-1px]"),children:[(0,t.jsx)("svg",{className:"mr-3 h-5 w-5",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:(0,t.jsx)("path",{fillRule:"evenodd",d:"M18 10a.75.75 0 01-.75.75H4.66l2.1 1.95a.75.75 0 11-1.02 1.1l-3.5-3.25a.75.75 0 010-1.1l3.5-3.25a.75.75 0 111.02 1.1l-2.1 1.95h12.59A.75.75 0 0118 10z",clipRule:"evenodd"})}),"Previous"]})}),null==n?void 0:n.map((e,l)=&gt;{let a=s==l+1?"font-bold":"font-medium mt-[-1px]",i=(s-4||0)&lt;l+1,r=s+(s&lt;=4?6:3)&gt;=l+1,n=r&amp;&amp;i?"block":"hidden";return(0,t.jsx)("li",{className:"order-3 sm:order-none list-none",children:(0,t.jsx)(c.Z,{href:"#",className:"".concat(d," ").concat(a," ").concat(n),onClick:e=&gt;onCurrentPage(e,l+1),children:l+1})},l)}),(0,t.jsx)("li",{className:"order-2 sm:order-none w-1/2 sm:w-auto -mt-px flex sm:flex-1 justify-end list-none",children:(0,t.jsxs)(c.Z,{href:"#",className:"".concat(d," ").concat(u," mt-[-1px]"),onClick:e=&gt;{e.preventDefault(),scrollToELement(),s&gt;=Math.ceil(l/a)||i({payload:(s+1).toString(),type:"SET_PAGE"})},children:["Next",(0,t.jsx)("svg",{className:"ml-3 h-5 w-5",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:(0,t.jsx)("path",{fillRule:"evenodd",d:"M2 10a.75.75 0 01.75-.75h12.59l-2.1-1.95a.75.75 0 111.02-1.1l3.5 3.25a.75.75 0 010 1.1l-3.5 3.25a.75.75 0 11-1.02-1.1l2.1-1.95H2.75A.75.75 0 012 10z",clipRule:"evenodd"})})]})})]})})},ArticleList_ArticleListLayout=e=&gt;{let{children:l}=e;return(0,t.jsx)("div",{className:"px-4 md:px-8",id:"articleTop",children:(0,t.jsx)("div",{className:"max-w-[1336px] w-full m-auto py-12 md:py-24",children:l})})},u=a(92357);let m=(0,i.createContext)({filter:{populationCat:{options:[]},regions:{options:[]},studies:{options:[]},filterHeader:"",countHeader:"",keywords:{label:"",palceholder:""}},sort:{options:[]},articles:[],numFound:0,limit:0,settings:{Filter_Population:[],Filter_Regions:[],Filter_Types:[],Order:[],Translations:[]}}),ArticleList=e=&gt;{let{data:l,children:a}=e;return(0,t.jsx)(m.Provider,{value:{...l},children:(0,t.jsx)(ArticleList_ArticleListLayout,{children:a})})};ArticleList.Filters=s.Z,ArticleList.Sort=()=&gt;{let{sort:e,filter:l,numFound:a}=(0,i.useContext)(m),{dispatch:r,state:s}=(0,o.Z)();return(0,t.jsxs)("div",{className:"flex justify-between items-center mb-9",children:[(0,t.jsxs)("div",{className:"text-[20px] font-light pr-4",children:[(0,t.jsx)("span",{children:a})," ",(0,t.jsx)("div",{className:"inline-block",children:n.Z.html(null==l?void 0:l.countHeader)})]}),(0,t.jsx)("div",{className:"max-w-[225px] w-full",children:(0,t.jsx)(d.Z,{options:e.options,label:e.label,onChange:e=&gt;{r({payload:e.target.value,type:"SET_SORT"})},value:s.sort})})]})},ArticleList.ResearchGrid=e=&gt;{let{}=e,{articles:l,settings:a}=(0,i.useContext)(m);return(0,t.jsx)("div",{className:"grid gap-4 md:gap-8 grid-cols-1 md:grid-cols-3 mb-8",children:(l||[]).map((e,l)=&gt;(0,t.jsxs)(r.Z,{...e,settings:a,children:[(0,t.jsx)(r.Z.Year,{}),(0,t.jsx)(r.Z.Title,{}),(0,t.jsx)(r.Z.LongText,{}),(0,t.jsx)(r.Z.Tags,{}),(0,t.jsxs)(r.Z.Action,{children:[(0,t.jsx)(r.Z.Cta,{}),(0,t.jsx)(r.Z.Share,{})]})]},l))})},ArticleList.ImpactStoriesListGrid=e=&gt;{let{}=e,{articles:l,settings:a}=(0,i.useContext)(m);return(0,t.jsx)("div",{className:"grid gap-4 md:gap-8 grid-cols-1 md:grid-cols-3 mb-8",children:(l||[]).map((e,l)=&gt;{var i;return(0,t.jsx)(u.Z,{picture:(0,t.jsx)(u.Z.Picture,{}),data:{categories:(null==e?void 0:e.tags)||[],fullDate:(null==e?void 0:e.fullDate)||"",picture:(null==e?void 0:e.picture)||{crops:{},uriTemplate:""},title:e.title,url:(null===(i=e.cta)||void 0===i?void 0:i.url)||"/",settings:a},info:(0,t.jsxs)(u.Z.Info,{children:[(0,t.jsx)(u.Z.Title,{}),(0,t.jsx)(u.Z.Categories,{}),(0,t.jsxs)(u.Z.Action,{children:[(0,t.jsx)(u.Z.PublicationDate,{}),(0,t.jsx)(u.Z.Share,{})]})]})},l)})})},ArticleList.Pagination=()=&gt;{let{numFound:e,limit:l}=(0,i.useContext)(m);return(0,t.jsx)("div",{children:(0,t.jsx)(Pagination_Pagination,{numFound:e||0,limit:l})})},ArticleList.Layout=ArticleList_ArticleListLayout;var x=ArticleList},45073:function(e,l,a){"use strict";a.d(l,{Z:function(){return c}});var t=a(26705),i=a(93605),r=a(24848),s=a(20955),n=a(11595),o=a(24033),hooks_useArticleFilterParams=e=&gt;{let{params:l}=e,a=(0,o.useSearchParams)(),t=l.map(e=&gt;{let l=null==a?void 0:a.get(e);return l?"".concat(e,"=").concat(l):null}).filter(e=&gt;null!==e).join("&amp;"),i={};return l.forEach(e=&gt;{let l=null==a?void 0:a.get(e);e&amp;&amp;l&amp;&amp;(i[e]=(null==a?void 0:a.get(e))||"")}),{queryParams:t.length?t:"",paramsByKey:i}},d=a(93288);let ArticleListFilter=e=&gt;{let{children:l}=e,{filter:a}=(0,s.useContext)(r.A);return(0,t.jsxs)("div",{className:"mb-12",children:[a.filterHeader&amp;&amp;(0,t.jsx)("div",{className:"mb-8 flex text-[20px] font-light",children:i.Z.html(a.filterHeader)}),(0,t.jsx)("div",{className:"grid md:grid-cols-articleListFilter gap-4 md:gap-8 mb-16",children:l})]})};ArticleListFilter.Regions=()=&gt;{var e,l;let{filter:a}=(0,s.useContext)(r.A),{dispatch:i,state:o}=(0,n.Z)(),{paramsByKey:c}=hooks_useArticleFilterParams({params:["region"]}),u=null==c?void 0:c.region,tagCodeRemove=e=&gt;e?e.replace(/__OS_RA__/g,""):e;return(0,s.useEffect)(()=&gt;{u&amp;&amp;i({payload:tagCodeRemove(u),type:"SET_TAG_REGION"})},[u,i]),(0,t.jsx)(d.Z,{onChange:e=&gt;{i({payload:tagCodeRemove(e.target.value),type:"SET_REGIONS"})},options:[{label:"All",value:"All"},...(null==a?void 0:null===(e=a.regions)||void 0===e?void 0:e.options)||[]],label:null==a?void 0:null===(l=a.regions)||void 0===l?void 0:l.label,value:tagCodeRemove((null==o?void 0:o.region)||"")||u||"All"})},ArticleListFilter.Studies=()=&gt;{var e,l;let{filter:a}=(0,s.useContext)(r.A),{dispatch:i,state:o}=(0,n.Z)(),{paramsByKey:c}=hooks_useArticleFilterParams({params:["studies"]}),u=null==c?void 0:c.studies,tagCodeRemove=e=&gt;e?e.replace(/__OS_RA__/g,""):e;return(0,s.useEffect)(()=&gt;{u&amp;&amp;i({payload:tagCodeRemove(u),type:"SET_TAG_STUDIES"})},[u,i]),(0,t.jsx)(d.Z,{onChange:e=&gt;{i({payload:tagCodeRemove(e.target.value),type:"SET_STUDIES"})},options:[{label:"All",value:"All"},...(null==a?void 0:null===(e=a.studies)||void 0===e?void 0:e.options)||[]],label:null==a?void 0:null===(l=a.studies)||void 0===l?void 0:l.label,value:tagCodeRemove((null==o?void 0:o.studies)||"")||u||"All"})},ArticleListFilter.PopulationCategories=()=&gt;{var e,l;let{filter:a}=(0,s.useContext)(r.A),{dispatch:i,state:o}=(0,n.Z)(),{paramsByKey:c}=hooks_useArticleFilterParams({params:["category"]}),u=null==c?void 0:c.category,tagCodeRemove=e=&gt;e?e.replace(/__OS_RA__/g,""):e;return(0,s.useEffect)(()=&gt;{u&amp;&amp;i({payload:tagCodeRemove(u),type:"SET_TAG_CATEGORY"})},[u,i]),(0,t.jsx)(d.Z,{onChange:e=&gt;{i({payload:tagCodeRemove(e.target.value),type:"SET_CATEGORY"})},options:[{label:"All",value:"All"},...(null==a?void 0:null===(e=a.populationCat)||void 0===e?void 0:e.options)||[]],label:null==a?void 0:null===(l=a.populationCat)||void 0===l?void 0:l.label,value:tagCodeRemove((null==o?void 0:o.category)||"")||u||"All"})},ArticleListFilter.Keyword=e=&gt;{var l,a,i;let{label:o,...d}=e,[c,u]=(0,s.useState)(""),m=function(e,l){let[a,t]=(0,s.useState)(e);return(0,s.useEffect)(()=&gt;{let a=setTimeout(()=&gt;t(e),l||500);return()=&gt;{clearTimeout(a)}},[e,l]),a}(c,750),{dispatch:x,state:h}=(0,n.Z)(),{filter:v}=(0,s.useContext)(r.A);return(0,s.useEffect)(()=&gt;{x&amp;&amp;x({payload:m,type:"SET_KEYWORDS"})},[m,x]),(0,t.jsxs)("div",{className:"w-full",children:[(null==v?void 0:null===(l=v.keywords)||void 0===l?void 0:l.label)&amp;&amp;(0,t.jsx)("div",{className:"mb-2",children:(0,t.jsx)("label",{className:"text-d-small w-full",children:null==v?void 0:null===(a=v.keywords)||void 0===a?void 0:a.label})}),(0,t.jsx)("form",{onSubmit:e=&gt;e.preventDefault(),children:(0,t.jsx)("input",{name:"keywords",placeholder:null==v?void 0:null===(i=v.keywords)||void 0===i?void 0:i.palceholder,defaultValue:(null==h?void 0:h.keywords)||"",className:"mt-auto w-full text-[14px] pr-10 pl-3 py-2 border-gray-300 selection:border-primary-base border-s border-[1px] rounded-md outline-primary-base",...d,onChange:e=&gt;{u(e.target.value)}})})]})};var c=ArticleListFilter},16035:function(e,l,a){"use strict";a.d(l,{z:function(){return x},Z:function(){return h}});var t=a(26705),i=a(20955),r=a(93605),s=a(99997),n=a(56113),o=a(91057),d=a(14389),c=a(93070),u=a(78240),m=a(81240);let x=(0,i.createContext)({title:""}),CardResearch=e=&gt;{let{title:l,cta:a,longText:i,tags:r,year:s,children:n,settings:o}=e;return(0,t.jsx)(x.Provider,{value:{title:l,cta:a,longText:i,tags:r,year:s,settings:o},children:(0,t.jsx)("div",{className:"p-8 flex flex-col shadow-lg border-t-2 border-black",children:n})})};CardResearch.Title=e=&gt;{let{}=e,{title:l,cta:a}=(0,i.useContext)(x);return l&amp;&amp;a?(0,t.jsx)(s.Z,{href:null==a?void 0:a.url,isExternal:null==a?void 0:a.isExternal,className:"hover-link",children:(0,t.jsx)("h4",{className:"text-d-caption font-medium mb-4 text-limit-3",children:r.Z.html(l)})}):null},CardResearch.LongText=e=&gt;{let{}=e,{longText:l}=(0,i.useContext)(x),[a,s]=(0,i.useState)("");return(0,i.useEffect)(()=&gt;{s(l||"")},[l]),l?(0,t.jsx)("div",{className:"text-m-caption md:text-[14px] mb-4 text-limit-3 text-gray-600 leading-5 mt-auto",children:r.Z.html(a)}):null},CardResearch.Year=e=&gt;{let{}=e,{year:l}=(0,i.useContext)(x);return l?(0,t.jsx)("div",{className:"h-[30px]",children:(0,t.jsx)("div",{className:"bg-black text-white text-m-caption md:text-[14px] w-fit h-[30px] flex items-center px-[0.8em] ml-auto translate-y-[-32px]",children:r.Z.html(l)})}):null},CardResearch.Tags=e=&gt;{let{}=e,{tags:l}=(0,i.useContext)(x);return(0,t.jsx)("div",{className:"flex flex-wrap text-m-caption md:text-[14px] mt-4",children:null==l?void 0:l.map((e,l)=&gt;(0,t.jsx)(s.Z,{className:"text-primary-base hover:text-primary-dark mr-[18px]",href:"?".concat((null==e?void 0:e.category)||"tag","=").concat((null==e?void 0:e.url)||""),isExternal:e.isExternal,children:e.label},l))})},CardResearch.Cta=e=&gt;{let{}=e,{cta:l,settings:a}=(0,i.useContext)(x),{researchCardCTA:r}=(0,n.Z)(a);return(0,t.jsx)("div",{children:(0,t.jsx)(m.Z,{href:"".concat(null==l?void 0:l.url),isExternal:null==l?void 0:l.isExternal,className:"px-[20px] py-[12px] h-[52px] text-m-caption md:text-d-small font-medium",children:r})})},CardResearch.Share=e=&gt;{let{}=e,[l,a]=(0,i.useState)(!1),{cta:r,settings:s}=(0,i.useContext)(x),{shareCopyButtonLabel:m,shareCopyLabel:h,shareHeader2:v,shareLabel:p}=(0,n.Z)(s),shareHandler=()=&gt;{a(e=&gt;!e)};return(0,t.jsxs)("div",{className:"flex items-center",children:[(0,t.jsx)("div",{className:"cursor-pointer tappable",onClick:shareHandler,children:(0,t.jsx)(o.Z,{type:"share",className:"stroke-gray-600 w-4 h-4"})}),(0,t.jsx)("div",{children:(0,t.jsx)(d.Z,{selector:"#portal",children:(0,t.jsx)(u.Z,{render:l,initial:"opacity-0",animate:"opacity-100",children:(0,t.jsx)("div",{children:(0,t.jsx)(c.Z,{header:v,copyLabel:h,shareLabel:p,buttonLabel:m,url:null==r?void 0:r.url,closeHandler:shareHandler})})})})})]})},CardResearch.Action=e=&gt;{let{children:l}=e;return(0,t.jsx)("div",{className:"flex justify-between item-center mt-4",children:l})};var h=CardResearch},92357:function(e,l,a){"use strict";a.d(l,{H:function(){return h},Z:function(){return v}});var t=a(26705),i=a(20955),r=a(61396),s=a.n(r),n=a(51685),o=a(99997),d=a(56113),c=a(91057),u=a(14389),m=a(93070),x=a(78240);let h=(0,i.createContext)({title:"",picture:{crops:{},uriTemplate:""},categories:[],fullDate:"",url:"#"}),CardStory=e=&gt;{let{info:l,picture:a,data:i}=e;return(0,t.jsx)(h.Provider,{value:{...i},children:(0,t.jsxs)("div",{className:"relative",children:[a,(0,t.jsx)("div",{className:"p-5",children:l})]})})};CardStory.Picture=e=&gt;{let{}=e,l=(0,i.useContext)(h);return(0,t.jsx)("div",{children:(0,t.jsx)(s(),{href:(null==l?void 0:l.url)||"#",children:(null==l?void 0:l.picture)&amp;&amp;(0,t.jsx)(n.Z,{crops:null==l?void 0:l.picture,name:"CardStory",type:"components",alt:l.title})})})},CardStory.Info=e=&gt;{let{children:l}=e;return(0,t.jsx)("div",{className:"grid gap-5",children:l})},CardStory.Action=e=&gt;{let{children:l}=e;return(0,t.jsx)("div",{className:"flex justify-between",children:l})},CardStory.PublicationDate=e=&gt;{let{}=e,l=(0,i.useContext)(h);return(0,t.jsx)("div",{children:(0,t.jsx)("p",{className:"text-d-caption font-light",children:l.fullDate})})},CardStory.Categories=e=&gt;{let{}=e,l=(0,i.useContext)(h);return(0,t.jsx)("div",{className:"text-[14px] font-medium text-primary-base flex flex-wrap",children:((null==l?void 0:l.categories)||[]).map((e,a)=&gt;{var r;return(0,t.jsx)(i.Fragment,{children:(0,t.jsx)(o.Z,{href:(null==l?void 0:null===(r=l.cta)||void 0===r?void 0:r.url)?"".concat(l.cta.url,"?").concat(e.category,"=").concat(((null==e?void 0:e.url)||"").replace(/__OS_IS__/g,"")):"?".concat(e.category,"=").concat(((null==e?void 0:e.url)||"").replace(/__OS_IS__/g,"")),className:"hover:text-primary-dark transition-colors duration-150 ".concat(((null==l?void 0:l.categories)||[]).length-1!==a?"mr-5":""),children:e.label||""})},a)})})},CardStory.Share=e=&gt;{let{}=e,l=(0,i.useContext)(h),{shareCopyButtonLabel:a,shareCopyLabel:r,shareHeader1:s,shareLabel:n}=(0,d.Z)(null==l?void 0:l.settings),[o,v]=(0,i.useState)(!1),openHandler=()=&gt;{v(e=&gt;!e)};return(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{className:"cursor-pointer",onClick:openHandler,children:(0,t.jsx)(c.Z,{type:"share",className:"stroke-black"})}),(0,t.jsx)("div",{children:(0,t.jsx)(u.Z,{selector:"#portal",children:(0,t.jsx)(x.Z,{render:o,initial:"opacity-0",animate:"opacity-100",children:(0,t.jsx)("div",{children:(0,t.jsx)(m.Z,{buttonLabel:a,closeHandler:openHandler,copyLabel:r,header:s,shareLabel:n,url:l.url})})})})})]})},CardStory.Title=e=&gt;{let{}=e,l=(0,i.useContext)(h);return(0,t.jsx)("div",{children:(0,t.jsx)(s(),{href:(null==l?void 0:l.url)||"#",className:"hover-link text-limit-2",children:(0,t.jsx)("p",{className:"text-d-body font-light",children:l.title})})})};var v=CardStory},97844:function(e,l,a){"use strict";a.r(l);var t=a(26705),i=a(69478),r=a(20955),s=a(24033),n=a(92357),o=a(91057);let Controls=e=&gt;{let{disabled:l}=e,a=(0,i.oc)(),[s,n]=(0,r.useState)("beginning"),slideHandler=e=&gt;{a.isBeginning||a.isEnd||n("center"),a.isEnd&amp;&amp;n("end"),a.isBeginning&amp;&amp;n("beginning"),"next"===e&amp;&amp;a.slideNext(),"prev"===e&amp;&amp;a.slidePrev()};return(0,t.jsx)("div",{children:(0,t.jsxs)("div",{className:"flex m-auto pt-3",children:[(0,t.jsx)("div",{onClick:()=&gt;slideHandler("prev"),children:(0,t.jsx)(o.Z,{type:"arrowLeftCircle",className:"md:w-14 md:h-14 w-10 h-10 mr-3 ".concat(l?"md:opacity-20 md:cursor-not-allowed":"md:cursor-pointer")})}),(0,t.jsx)("div",{onClick:()=&gt;slideHandler("next"),children:(0,t.jsx)(o.Z,{type:"arrowRightCircle",className:"md:w-14 md:h-14 w-10 h-10 ".concat(l?"md:opacity-20 md:cursor-not-allowed":"md:cursor-pointer")})})]})})};l.default=e=&gt;{let{cardSlide:l,settings:a,cta:r}=e,o=(0,s.usePathname)(),d=(l||[]).length,c=null==l?void 0:l.filter(e=&gt;(null==e?void 0:e.url)!==(null==o?void 0:o.substring(0,o.length-1))).slice(0,3);return(0,t.jsx)("div",{className:"max-w-screen-lg m-auto",children:(0,t.jsx)("div",{children:(0,t.jsxs)(i.tq,{slidesPerView:"auto",slidesPerGroup:1,spaceBetween:20,breakpoints:{1024:{slidesPerView:3}},children:[null==c?void 0:c.map((e,l)=&gt;(0,t.jsx)(i.o5,{className:"max-w-[375px] md:max-w-none",children:(0,t.jsx)(n.Z,{data:{...e,settings:a,cta:r},picture:(0,t.jsx)(n.Z.Picture,{}),info:(0,t.jsxs)(n.Z.Info,{children:[(0,t.jsx)(n.Z.Title,{}),(0,t.jsx)(n.Z.Categories,{}),(0,t.jsxs)(n.Z.Action,{children:[(0,t.jsx)(n.Z.PublicationDate,{}),(0,t.jsx)(n.Z.Share,{})]})]})})},l)),(0,t.jsx)(Controls,{disabled:d&lt;=4})]})})})}},50628:function(e,l,a){"use strict";var t=a(26705),i=a(93605),r=a(48655),s=a(53452),n=a(81240);l.Z=e=&gt;{let{picture:l,longText:a,title:o,cta:d,type:c="default"}=e,u=(0,s.Z)(),m=u({initial:"default"===c?["h2","mobile"]:["h3","mobile"],md:"default"===c?["h1","desktop"]:["h2","desktop"]}),x=u({initial:["body","mobile"],md:"default"===c?["body","desktop"]:["body","mobile"]});return(0,t.jsxs)("div",{className:"flex justify-start items-center flex-col text-center max-w-[304px] justify-self-center",children:[(0,t.jsx)(r.default,{src:l,alt:o||l,width:82,height:82,className:"md:w-[130px] md:h-[130px]"}),(0,t.jsx)("h2",{className:"".concat(m," md:text-[72px] font-light"),children:o}),(0,t.jsx)("div",{className:"".concat(x," font-light my-4"),children:i.Z.html(a)}),d&amp;&amp;(0,t.jsx)("div",{className:"mt-auto",children:(0,t.jsx)(n.Z,{href:null==d?void 0:d.url,isExternal:null==d?void 0:d.isExternal,icon:"external",children:null==d?void 0:d.label})})]})}},946:function(e,l,a){"use strict";var t=a(26705),i=a(8305),r=a(69478);l.Z=e=&gt;{var l;let{}=e,a=(0,r.oc)(),{dispatch:s,state:n}=(0,i.Z)(),o=((null==n?void 0:null===(l=n.pictures)||void 0===l?void 0:l.length)||0)-1,d=(null==n?void 0:n.index)||0,c=0===n.index,u="cursor-not-allowed opacity-50 hover:border-gray-200";return(0,t.jsxs)("div",{className:"flex gap-2 items-center mt-8",children:[(0,t.jsx)("div",{className:"cursor-pointer flex items-center justify-center bg-white border border-gray-200 hover:border-indigo-500 rounded-full group w-14 h-14",onClick:()=&gt;s({payload:{index:null},type:"UPDATE_INDEX"}),children:(0,t.jsx)("svg",{"aria-hidden":"true",focusable:"false","data-prefix":"far","data-icon":"xmark-large",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",className:"group-hover:text-indigo-500 w-[1em]",children:(0,t.jsx)("path",{fill:"currentColor",d:"M41 39C31.6 29.7 16.4 29.7 7 39S-2.3 63.6 7 73l183 183L7 439c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0l183-183L407 473c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9l-183-183L441 73c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0l-183 183L41 39z"})})}),(0,t.jsx)("div",{className:"ml-5 flex items-center justify-center bg-white border border-gray-200 hover:border-indigo-500 rounded-full group w-14 h-14 ".concat(c?u:"cursor-pointer"),onClick:()=&gt;a.slidePrev(),children:(0,t.jsx)("svg",{"aria-hidden":"true",focusable:"false","data-prefix":"far","data-icon":"arrow-left-long",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",className:"relative text-base group-hover:text-indigo-500 w-[1em]",children:(0,t.jsx)("path",{fill:"currentColor",d:"M7 239c-9.4 9.4-9.4 24.6 0 33.9L143 409c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9l-95-95L488 280c13.3 0 24-10.7 24-24s-10.7-24-24-24L81.9 232l95-95c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0L7 239z",className:""})})}),(0,t.jsx)("div",{className:"flex items-center justify-center bg-white border border-gray-200 hover:border-indigo-500 rounded-full group w-14 h-14 swiper-div ".concat(d&gt;=o?u:"cursor-pointer"),onClick:()=&gt;a.slideNext(),children:(0,t.jsx)("svg",{"aria-hidden":"true",focusable:"false","data-prefix":"far","data-icon":"arrow-right-long",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",className:"relative text-base group-hover:text-indigo-500 w-[1em]",children:(0,t.jsx)("path",{fill:"currentColor",d:"M505 273c9.4-9.4 9.4-24.6 0-33.9L369 103c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9l95 95L24 232c-13.3 0-24 10.7-24 24s10.7 24 24 24l406.1 0-95 95c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0L505 273z",className:""})})})]})}},93070:function(e,l,a){"use strict";var t=a(26705),i=a(91057),r=a(81240),s=a(62147);l.Z=e=&gt;{let{buttonLabel:l,copyLabel:a,header:n,shareLabel:o,closeHandler:d,url:c}=e,u=window.location.origin+c;return(0,t.jsxs)("div",{className:"fixed top-0 left-0 w-full h-full",children:[(0,t.jsx)("div",{className:"absolute top-0 left-0 w-full h-full bg-slate-100/50",onClick:d}),(0,t.jsx)("div",{className:"absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 px-6 flex justify-center max-w-[696px] w-full",children:(0,t.jsxs)("div",{className:"bg-white max-w-[672px] w-full p-6 pb-12",children:[(0,t.jsx)("div",{className:"cursor-pointer ml-auto p-2 w-fit flex items-center justify-center",onClick:d,children:(0,t.jsx)(i.Z,{type:"close",className:"w-4 h-4"})}),(0,t.jsxs)("div",{className:"w-full m-auto mt-14",children:[(0,t.jsx)("h2",{className:"max-w-[468px] text-m-h3 font-medium text-center m-auto mb-11",children:n}),(0,t.jsx)("p",{className:"text-center",children:o}),(0,t.jsx)(s.Z,{url:u}),c&amp;&amp;(0,t.jsxs)("div",{className:"m-auto",children:[(0,t.jsx)("p",{className:"text-center mb-1",children:a}),(0,t.jsxs)("div",{className:"border border-black h-[66px] max-w-[466px] w-full flex items-center justify-between m-auto",children:[(0,t.jsx)("p",{className:"px-4 text-limit-1 max-w-xs",children:window.location.origin+c}),(0,t.jsx)(r.Z,{className:"mr-2 flex justify-center whitespace-nowrap",onClick:()=&gt;{var e=document.createElement("input");e.type="text",e&amp;&amp;(alert("Copied to clipboard"),document.body.appendChild(e),e.style.opacity="1",e.style.height="0",e.value=window.location.origin+c||"",e.select(),document.execCommand("copy"),document.body.removeChild(e))},children:l})]})]})]})]})})]})}},62147:function(e,l,a){"use strict";var t=a(26705),i=a(99997),r=a(91057);l.Z=e=&gt;{let{url:l}=e;return(0,t.jsxs)("ul",{className:"flex justify-center items-center py-3",children:[(0,t.jsx)("li",{className:"mx-[10px] ml-0",children:(0,t.jsx)(i.Z,{href:"https://www.facebook.com/sharer/sharer.php?u=".concat(l),isExternal:!0,children:(0,t.jsx)(r.Z,{type:"facebook",className:"w-5 h-5"})})}),(0,t.jsx)("li",{className:"mx-[10px]",children:(0,t.jsx)(i.Z,{href:"https://twitter.com/share?url=".concat(l,"&amp;related=twitterapi%2Ctwitter"),isExternal:!0,children:(0,t.jsx)(r.Z,{type:"twitter",className:"w-5 h-5"})})}),(0,t.jsx)("li",{className:"mx-[10px]",children:(0,t.jsx)(i.Z,{href:"https://linkedin.com/sharing/share-offsite/?url=".concat(l),isExternal:!0,children:(0,t.jsx)(r.Z,{type:"linkedin",className:"w-5 h-5"})})}),(0,t.jsx)("li",{className:"mx-[10px] mr-0",children:(0,t.jsx)(i.Z,{href:"mailto:?body=Article%20-%20".concat(l),children:(0,t.jsx)(r.Z,{type:"mail",className:"w-5 h-5"})})})]})}},14389:function(e,l,a){"use strict";var t=a(20955),i=a(3190);l.Z=e=&gt;{let{children:l,selector:a,elemRef:r}=e,s=(0,t.useRef)();return((0,t.useEffect)(()=&gt;{a&amp;&amp;(s.current=document.querySelector(a))},[a]),r)?(0,i.createPortal)(l,r):s.current?(0,i.createPortal)(l,s.current):null}},93288:function(e,l,a){"use strict";var t=a(26705);l.Z=e=&gt;{let{options:l,label:a,...i}=e;return(0,t.jsxs)("div",{className:"w-full",children:[a&amp;&amp;(0,t.jsx)("div",{className:"mb-2",children:(0,t.jsx)("label",{className:"text-d-small pb-1 w-full",children:a})}),(0,t.jsx)("select",{...i,className:"text-[14px] w-full pr-10 pl-3 py-2 border-gray-300 selection:border-primary-base border-s border-[1px] rounded-md outline-primary-base",children:null==l?void 0:l.map((e,l)=&gt;(0,t.jsx)("option",{value:e.value,children:e.label},l))})]})}},64854:function(e,l,a){"use strict";var t=a(26705),i=a(78591);let r=(0,i.j)(["w-full border-gray-300 selection:border-primary-base border-s border-[1px] outline-primary-base"],{variants:{variant:{default:["pr-9","pl-3","py-3","text-d-small"],rounded:["rounded-lg","py-3 pl-4 pr-9","text-m-body"]}}}),s=(0,i.j)(["font-medium pb-1 w-full"],{variants:{variant:{default:["text-d-small"],rounded:["text-[18px]"]}}});l.Z=e=&gt;{let{options:l,label:a,errorMessage:i,placeholder:n,variant:o="default",...d}=e,c=r({variant:o}),u=s({variant:o});return(0,t.jsxs)("div",{className:"w-full",children:[a&amp;&amp;(0,t.jsx)("div",{className:"mb-2",children:(0,t.jsx)("label",{className:u,children:a})}),(0,t.jsxs)("select",{...d,className:c,children:[n&amp;&amp;(0,t.jsx)("option",{value:"",disabled:!0,children:n}),null==l?void 0:l.map((e,l)=&gt;(0,t.jsx)("option",{value:e.value,children:e.label},l))]}),i&amp;&amp;(0,t.jsx)("div",{className:"text-error-base bg-error-light font-light py-2 px-4 my-4",children:(0,t.jsx)("p",{children:i})})]})}},72217:function(e,l,a){"use strict";var t=a(26705);l.Z=e=&gt;{let{label:l,placeholder:a,errorMessage:i,...r}=e;return(0,t.jsxs)("div",{className:"w-full",children:[l&amp;&amp;(0,t.jsx)("div",{className:"mb-2",children:(0,t.jsx)("label",{className:"text-d-small font-medium w-full",children:l})}),(0,t.jsx)("textarea",{placeholder:a,className:"w-full pr-9 pl-3 py-3 text-d-small font-medium border-gray-300 selection:border-primary-base border-s border-[1px] outline-primary-base",...r}),i&amp;&amp;(0,t.jsx)("div",{className:"text-error-base bg-error-light font-light py-2 px-4 my-4",children:(0,t.jsx)("p",{children:i})})]})}},26093:function(e,l,a){"use strict";var t=a(26705),i=a(78591);let r=(0,i.j)(["w-full","font-medium","border-gray-300","selection:border-primary-base","border-s","border-[1px]","outline-primary-base"],{variants:{variant:{default:["pr-9","pl-3","py-3","text-d-small"],rounded:["rounded-lg","py-3 pl-4 pr-9","text-m-body"]}}}),s=(0,i.j)(["w-full"],{variants:{variant:{default:["text-d-small font-medium"],rounded:["text-[18px] font-medium"]}}});l.Z=e=&gt;{let{label:l,placeholder:a,errorMessage:i,variant:n="default",className:o,...d}=e,c=r({variant:n}),u=s({variant:n});return(0,t.jsxs)("div",{className:o,children:[l&amp;&amp;(0,t.jsx)("div",{className:"mb-2",children:(0,t.jsx)("label",{className:u,children:l})}),(0,t.jsx)("input",{placeholder:a,className:"".concat(c),...d}),i&amp;&amp;(0,t.jsx)("div",{className:"text-error-base bg-error-light font-light py-2 px-4 my-4",children:(0,t.jsx)("p",{children:i})})]})}},51685:function(e,l,a){"use strict";a.d(l,{Z:function(){return Picture_ResponsivePicture}});var t=a(26705),i={components:{CardStory:{initial:"News436x303",xs:"News316X220",sm:"News316X220",md:"News316X220",lg:"News316X220",xl:"News316X220"}},widgets:{ImgBlock:{initial:"RA375X520",xs:"RA375X520",sm:"RA1140X648",md:"RA1140X648",lg:"RA1140X648",xl:"RA1140X648"},HeroDynamicBannerLQ:{initial:"RA375X520",xs:"RA375X520",sm:"RA1140X648",md:"RA1140X648",lg:"RA1140X648",xl:"RA1140X648"},HeroDynamicBannerHQ:{initial:"RA375X520",xs:"RA375X520",sm:"RA1140X648",md:"RA1140X648",lg:"LRDynmic1920",xl:"LRDynmic1920"},LRDynamicTextWithVideo:{initial:"RA375X520",xs:"RA1140X648",sm:"RA1140X648",md:"RA1140X648",lg:"RA1140X648",xl:"RA1140X648"}}},r=a(90872),hooks_useGetImageCroppings=e=&gt;{let{crops:l,uriTemplate:a,type:t,name:s,url:n}=e,getUriTemplate=e=&gt;{var o,d,c,u;let m=(null==i?void 0:null===(c=i[t])||void 0===c?void 0:null===(d=c[s])||void 0===d?void 0:null===(o=d[e])||void 0===o?void 0:o.toString())||"";if("default"===m)return n||"";let x=null==l?void 0:l[m];if(void 0===x)return"";let h=(null==a?void 0:null===(u=a.replace("{cropName}",m))||void 0===u?void 0:u.replace("{width}",x.toString()))||"";return(0,r.v6)(h)};return t&amp;&amp;s?{initial:getUriTemplate("initial")||(0,r.v6)(n||""),xs:getUriTemplate("xs")||(0,r.v6)(n||""),sm:getUriTemplate("sm")||(0,r.v6)(n||""),md:getUriTemplate("md")||(0,r.v6)(n||""),lg:getUriTemplate("lg")||(0,r.v6)(n||""),xl:getUriTemplate("xl")||(0,r.v6)(n||"")}:{initial:"",lg:"",md:"",sm:"",xl:"",xs:""}},Picture_ResponsivePicture=e=&gt;{let{crops:l,alt:a,name:i,type:r,url:s,className:n}=e,o=hooks_useGetImageCroppings({crops:(null==l?void 0:l.crops)||{},uriTemplate:(null==l?void 0:l.uriTemplate)||"",name:i,type:r,url:s});return(0,t.jsxs)("picture",{className:n,children:[(0,t.jsx)("source",{srcSet:o.xl,media:"(min-width: 1440px)"}),(0,t.jsx)("source",{srcSet:o.lg,media:"(min-width: 1280px)"}),(0,t.jsx)("source",{srcSet:o.md,media:"(min-width: 1024px)"}),(0,t.jsx)("source",{srcSet:o.sm,media:"(min-width: 864px)"}),(0,t.jsx)("source",{srcSet:o.xs,media:"(min-width: 480px)"}),(0,t.jsx)("img",{alt:a||i,style:{height:"100%",width:"100%",objectFit:"cover"},src:o.initial,alt:o.initial})]})}},11452:function(e,l,a){"use strict";var t=a(45771);l.Z=(e,l)=&gt;{let a=parseInt((null==e?void 0:e.page)||"0")-1,i=(a&lt;0?0:a)*12,r=["__OS_RA__".concat(null==e?void 0:e.region),"__OS_RA__".concat(null==e?void 0:e.studies),"".concat(l).concat(null==e?void 0:e.category)].filter(e=&gt;"__OS_RA__undefined"!==e&amp;&amp;"__OS_IS__undefined"!==e&amp;&amp;"__OS_RA__All"!==e&amp;&amp;"__OS_IS__All"!==e&amp;&amp;"__OS_RA__"!==e&amp;&amp;"__OS_IS__"!==e).join(", "),s="".concat((null==e?void 0:e.keywords)||""),n="__OS_IS__"===l?"__OS_ImpactStories":"__OS_RA__Research";return(0,t.a)({queryKey:[e],queryFn:()=&gt;fetch("/api/fetchArticles/?offset=".concat(i,"&amp;filters=&amp;sort=").concat(e.sort,"&amp;tag=").concat(n,",").concat(r,"&amp;keywords=").concat(s)).then(e=&gt;e.json())})}},65740:function(e,l,a){"use strict";var t=a(20955);l.Z=function(){var e;let[l,a]=(0,t.useState)({}),[i,r]=(0,t.useState)({}),[s,n]=(0,t.useState)({}),o=(0,t.useRef)({}),onValidate=(e,l)=&gt;{var a;if(!e||!(null===(a=s[e])||void 0===a?void 0:a.validation))return null;let{pattern:t,required:i,maxLength:r,minLength:n,min:o,max:d}=s[e];return!0===i&amp;&amp;(!l&amp;&amp;"boolean"!=typeof l||Array.isArray(l)&amp;&amp;!l.length)?"Required field":t&amp;&amp;("string"==typeof l&amp;&amp;!l.toLowerCase().match(t)&amp;&amp;""!==l||void 0===l&amp;&amp;!0===i)?"Invalid value":r&amp;&amp;"string"==typeof l&amp;&amp;l.length&gt;r?"maxLength":n&amp;&amp;("string"==typeof l&amp;&amp;l.length&lt;n||void 0===l)?"minLength":o&amp;&amp;l&lt;o?"min":d&amp;&amp;l&gt;d?"max":null},onChange=e=&gt;{let{name:l,value:a,type:t,checked:i,files:s}=e.target||e,n=onValidate(l,s||a);r(e=&gt;({...e,[l]:{...e[l],value:"checkbox"===t?i||"":a,error:"checkbox"===t?i?null:"Required field":n}}))},onBlur=e=&gt;{if("checkbox"===e.target.type)return;let{name:l,value:a}=e.target,t=onValidate(l,a);r(e=&gt;({...e,[l]:{...e[l],value:a,error:t}}))};(0,t.useEffect)(()=&gt;{let e=o.current;n({...e});let l=Object.keys(e),t=l.reduce((l,a)=&gt;{let t=e[a].value,i={value:t};return l[a]={value:e[a].validation?void 0===i?t:(null==i?void 0:i.value)||"":"",error:void 0},l},{});a(t),r(t)},[o]);let d=!1,c=Object.values(i),u=Object.values(i);if(c.length&amp;&amp;u.length){let e=c.every(e=&gt;null===e.error||void 0===e.error),l=u.some(e=&gt;""===e.value);d=!l&amp;&amp;e}let m={};return null===(e=Object.keys(i))||void 0===e||e.forEach(e=&gt;{var l;m[e]=null==i?void 0:null===(l=i[e])||void 0===l?void 0:l.error}),{validateAll:()=&gt;{let e=Object.keys(i);e.forEach(e=&gt;{let l=onValidate(e,i[e].value);r(a=&gt;({...a,[e]:{...a[e],error:l}}))})},formData:i,error:m,isValid:d,reset:()=&gt;{r(l)},register:(e,l)=&gt;{var a;let{required:t,type:r,pattern:s,maxLength:n,minLength:d,defaultValue:c,min:u,max:m}=l||{},x=(null===(a=i[e])||void 0===a?void 0:a.value)||"";return o.current&amp;&amp;(o.current={...o.current,[e]:{value:c||"",error:null,required:t||!1,pattern:s,maxLength:n,minLength:d,min:u,max:m,validation:!!t||!!s||!!n||!!d||!!u||!!m}}),{type:r,name:e,onChange,onBlur,value:x}}}}},56113:function(e,l){"use strict";l.Z=e=&gt;{if(!e)return{shareHeader1:"",shareHeader2:"",shareLabel:"",shareCopyLabel:"",shareCopyButtonLabel:"",backToStoriesCTA:"",storiesSliderHeader:"",storiesViewAllCTA:"",researchSliderHeader:"",backToResearchCTA:"",researchCardCTA:"",researchHeader:"",publicationDateLabel:"",publicationOnDateLabel:"",publicationLabel:"",authorsLabel:"",citationLabel:"",downloadBtnLabel:"",accessBtnLabel:""};let l=e.Translations,a=(null==l?void 0:l[0])||"",t=(null==l?void 0:l[1])||"",i=(null==l?void 0:l[2])||"",r=(null==l?void 0:l[3])||"",s=(null==l?void 0:l[4])||"",n=(null==l?void 0:l[5])||"",o=(null==l?void 0:l[6])||"",d=(null==l?void 0:l[8])||"",c=(null==l?void 0:l[7])||"",u=(null==l?void 0:l[10])||"",m=(null==l?void 0:l[9])||"",x=(null==l?void 0:l[11])||"",h=(null==l?void 0:l[12])||"",v=(null==l?void 0:l[17])||"",p=(null==l?void 0:l[13])||"",b=(null==l?void 0:l[14])||"",g=(null==l?void 0:l[18])||"",f=(null==l?void 0:l[15])||"",j=(null==l?void 0:l[16])||"";return{shareLabel:i,shareHeader1:a,shareHeader2:t,shareCopyLabel:r,shareCopyButtonLabel:s,backToStoriesCTA:n,storiesSliderHeader:o,storiesViewAllCTA:d,researchSliderHeader:c,backToResearchCTA:u,researchCardCTA:m,researchHeader:x,publicationDateLabel:h,publicationOnDateLabel:v,publicationLabel:p,authorsLabel:b,citationLabel:g,downloadBtnLabel:f,accessBtnLabel:j}}},53452:function(e,l){"use strict";l.Z=()=&gt;e=&gt;{let{xs:l,sm:a,md:t,lg:i,xl:r,initial:s}=e,n={h1:{desktop:{xl:"xl:text-d-h1",lg:"lg:text-d-h1",md:"md:text-d-h1",sm:"sm:text-d-h1",xs:"xs:text-d-h1",initial:"text-d-h1"},mobile:{xl:"xl:text-m-h1",lg:"lg:text-m-h1",md:"md:text-m-h1",sm:"sm:text-m-h1",xs:"xs:text-m-h1",initial:"text-m-h1"}},h2:{desktop:{xl:"xl:text-d-h2",lg:"lg:text-d-h2",md:"md:text-d-h2",sm:"sm:text-d-h2",xs:"xs:text-d-h2",initial:"text-d-h2"},mobile:{xl:"xl:text-m-h2",lg:"lg:text-m-h2",md:"md:text-m-h2",sm:"sm:text-m-h2",xs:"xs:text-m-h2",initial:"text-m-h2"}},h3:{desktop:{xl:"xl:text-d-h3",lg:"lg:text-d-h3",md:"md:text-d-h3",sm:"sm:text-d-h3",xs:"xs:text-d-h3",initial:"text-d-h3"},mobile:{xl:"xl:text-m-h3",lg:"lg:text-m-h3",md:"md:text-m-h3",sm:"sm:text-m-h3",xs:"xs:text-m-h3",initial:"text-m-h3"}},body:{desktop:{xl:"xl:text-d-body",lg:"lg:text-d-body",md:"md:text-d-body",sm:"sm:text-d-body",xs:"xs:text-d-body",initial:"text-d-body"},mobile:{xl:"xl:text-m-body",lg:"lg:text-m-body",md:"md:text-m-body",sm:"sm:text-m-body",xs:"xs:text-m-body",initial:"text-m-body"}},caption:{desktop:{xl:"xl:text-d-caption",lg:"lg:text-d-caption",md:"md:text-d-caption",sm:"sm:text-d-caption",xs:"xs:text-d-caption",initial:"text-d-caption"},mobile:{xl:"xl:text-m-caption",lg:"lg:text-m-caption",md:"md:text-m-caption",sm:"sm:text-m-caption",xs:"xs:text-m-caption",initial:"text-m-caption"}}},o="";return s&amp;&amp;(o+="".concat(n[s[0]][s[1]].initial)),l&amp;&amp;(o+=" ".concat(n[l[0]][l[1]].xs)),a&amp;&amp;(o+=" ".concat(n[a[0]][a[1]].sm)),t&amp;&amp;(o+=" ".concat(n[t[0]][t[1]].md)),i&amp;&amp;(o+=" ".concat(n[i[0]][i[1]].lg)),r&amp;&amp;(o+=" ".concat(n[r[0]][r[1]].xl)),o}},202:function(e,l,a){"use strict";a.d(l,{Gd:function(){return t}});let t=[{label:"Afghanistan",value:"Afghanistan"},{label:"\xc5land Islands",value:"\xc5land Islands"},{label:"Albania",value:"Albania"},{label:"Algeria",value:"Algeria"},{label:"American Samoa",value:"American Samoa"},{label:"Andorra",value:"Andorra"},{label:"Angola",value:"Angola"},{label:"Anguilla",value:"Anguilla"},{label:"Antarctica",value:"Antarctica"},{label:"Antigua and Barbuda",value:"Antigua and Barbuda"},{label:"Argentina",value:"Argentina"},{label:"Armenia",value:"Armenia"},{label:"Aruba",value:"Aruba"},{label:"Australia",value:"Australia"},{label:"Austria",value:"Austria"},{label:"Azerbaijan",value:"Azerbaijan"},{label:"Bahamas",value:"Bahamas"},{label:"Bahrain",value:"Bahrain"},{label:"Bangladesh",value:"Bangladesh"},{label:"Barbados",value:"Barbados"},{label:"Belarus",value:"Belarus"},{label:"Belgium",value:"Belgium"},{label:"Belize",value:"Belize"},{label:"Benin",value:"Benin"},{label:"Bermuda",value:"Bermuda"},{label:"Bhutan",value:"Bhutan"},{label:"Bolivia",value:"Bolivia"},{label:"Bosnia and Herzegovina",value:"Bosnia and Herzegovina"},{label:"Botswana",value:"Botswana"},{label:"Bouvet Island",value:"Bouvet Island"},{label:"Brazil",value:"Brazil"},{label:"British Indian Ocean Territory",value:"British Indian Ocean Territory"},{label:"Brunei Darussalam",value:"Brunei Darussalam"},{label:"Bulgaria",value:"Bulgaria"},{label:"Burkina Faso",value:"Burkina Faso"},{label:"Burundi",value:"Burundi"},{label:"Cambodia",value:"Cambodia"},{label:"Cameroon",value:"Cameroon"},{label:"Canada",value:"Canada"},{label:"Cape Verde",value:"Cape Verde"},{label:"Cayman Islands",value:"Cayman Islands"},{label:"Central African Republic",value:"Central African Republic"},{label:"Chad",value:"Chad"},{label:"Chile",value:"Chile"},{label:"China",value:"China"},{label:"Christmas Island",value:"Christmas Island"},{label:"Cocos (Keeling) Islands",value:"Cocos (Keeling) Islands"},{label:"Colombia",value:"Colombia"},{label:"Comoros",value:"Comoros"},{label:"Congo",value:"Congo"},{label:"Congo, The Democratic Republic of The",value:"Congo, The Democratic Republic of The"},{label:"Cook Islands",value:"Cook Islands"},{label:"Costa Rica",value:"Costa Rica"},{label:"Cote D'ivoire",value:"Cote D'ivoire"},{label:"Croatia",value:"Croatia"},{label:"Cuba",value:"Cuba"},{label:"Cyprus",value:"Cyprus"},{label:"Czech Republic",value:"Czech Republic"},{label:"Denmark",value:"Denmark"},{label:"Djibouti",value:"Djibouti"},{label:"Dominica",value:"Dominica"},{label:"Dominican Republic",value:"Dominican Republic"},{label:"Ecuador",value:"Ecuador"},{label:"Egypt",value:"Egypt"},{label:"El Salvador",value:"El Salvador"},{label:"Equatorial Guinea",value:"Equatorial Guinea"},{label:"Eritrea",value:"Eritrea"},{label:"Estonia",value:"Estonia"},{label:"Ethiopia",value:"Ethiopia"},{label:"Falkland Islands (Malvinas)",value:"Falkland Islands (Malvinas)"},{label:"Faroe Islands",value:"Faroe Islands"},{label:"Fiji",value:"Fiji"},{label:"Finland",value:"Finland"},{label:"France",value:"France"},{label:"French Guiana",value:"French Guiana"},{label:"French Polynesia",value:"French Polynesia"},{label:"French Southern Territories",value:"French Southern Territories"},{label:"Gabon",value:"Gabon"},{label:"Gambia",value:"Gambia"},{label:"Georgia",value:"Georgia"},{label:"Germany",value:"Germany"},{label:"Ghana",value:"Ghana"},{label:"Gibraltar",value:"Gibraltar"},{label:"Greece",value:"Greece"},{label:"Greenland",value:"Greenland"},{label:"Grenada",value:"Grenada"},{label:"Guadeloupe",value:"Guadeloupe"},{label:"Guam",value:"Guam"},{label:"Guatemala",value:"Guatemala"},{label:"Guernsey",value:"Guernsey"},{label:"Guinea",value:"Guinea"},{label:"Guinea-bissau",value:"Guinea-bissau"},{label:"Guyana",value:"Guyana"},{label:"Haiti",value:"Haiti"},{label:"Heard Island and Mcdonald Islands",value:"Heard Island and Mcdonald Islands"},{label:"Holy See (Vatican City State)",value:"Holy See (Vatican City State)"},{label:"Honduras",value:"Honduras"},{label:"Hong Kong",value:"Hong Kong"},{label:"Hungary",value:"Hungary"},{label:"Iceland",value:"Iceland"},{label:"India",value:"India"},{label:"Indonesia",value:"Indonesia"},{label:"Iran, Islamic Republic of",value:"Iran, Islamic Republic of"},{label:"Iraq",value:"Iraq"},{label:"Ireland",value:"Ireland"},{label:"Isle of Man",value:"Isle of Man"},{label:"Israel",value:"Israel"},{label:"Italy",value:"Italy"},{label:"Jamaica",value:"Jamaica"},{label:"Japan",value:"Japan"},{label:"Jersey",value:"Jersey"},{label:"Jordan",value:"Jordan"},{label:"Kazakhstan",value:"Kazakhstan"},{label:"Kenya",value:"Kenya"},{label:"Kiribati",value:"Kiribati"},{label:"Korea, Democratic People's Republic of",value:"Korea, Democratic People's Republic of"},{label:"Korea, Republic of",value:"Korea, Republic of"},{label:"Kuwait",value:"Kuwait"},{label:"Kyrgyzstan",value:"Kyrgyzstan"},{label:"Lao People's Democratic Republic",value:"Lao People's Democratic Republic"},{label:"Latvia",value:"Latvia"},{label:"Lebanon",value:"Lebanon"},{label:"Lesotho",value:"Lesotho"},{label:"Liberia",value:"Liberia"},{label:"Libyan Arab Jamahiriya",value:"Libyan Arab Jamahiriya"},{label:"Liechtenstein",value:"Liechtenstein"},{label:"Lithuania",value:"Lithuania"},{label:"Luxembourg",value:"Luxembourg"},{label:"Macao",value:"Macao"},{label:"Macedonia, The Former Yugoslav Republic of",value:"Macedonia, The Former Yugoslav Republic of"},{label:"Madagascar",value:"Madagascar"},{label:"Malawi",value:"Malawi"},{label:"Malaysia",value:"Malaysia"},{label:"Maldives",value:"Maldives"},{label:"Mali",value:"Mali"},{label:"Malta",value:"Malta"},{label:"Marshall Islands",value:"Marshall Islands"},{label:"Martinique",value:"Martinique"},{label:"Mauritania",value:"Mauritania"},{label:"Mauritius",value:"Mauritius"},{label:"Mayotte",value:"Mayotte"},{label:"Mexico",value:"Mexico"},{label:"Micronesia, Federated States of",value:"Micronesia, Federated States of"},{label:"Moldova, Republic of",value:"Moldova, Republic of"},{label:"Monaco",value:"Monaco"},{label:"Mongolia",value:"Mongolia"},{label:"Montenegro",value:"Montenegro"},{label:"Montserrat",value:"Montserrat"},{label:"Morocco",value:"Morocco"},{label:"Mozambique",value:"Mozambique"},{label:"Myanmar",value:"Myanmar"},{label:"Namibia",value:"Namibia"},{label:"Nauru",value:"Nauru"},{label:"Nepal",value:"Nepal"},{label:"Netherlands",value:"Netherlands"},{label:"Netherlands Antilles",value:"Netherlands Antilles"},{label:"New Caledonia",value:"New Caledonia"},{label:"New Zealand",value:"New Zealand"},{label:"Nicaragua",value:"Nicaragua"},{label:"Niger",value:"Niger"},{label:"Nigeria",value:"Nigeria"},{label:"Niue",value:"Niue"},{label:"Norfolk Island",value:"Norfolk Island"},{label:"Northern Mariana Islands",value:"Northern Mariana Islands"},{label:"Norway",value:"Norway"},{label:"Oman",value:"Oman"},{label:"Pakistan",value:"Pakistan"},{label:"Palau",value:"Palau"},{label:"Palestinian Territory, Occupied",value:"Palestinian Territory, Occupied"},{label:"Panama",value:"Panama"},{label:"Papua New Guinea",value:"Papua New Guinea"},{label:"Paraguay",value:"Paraguay"},{label:"Peru",value:"Peru"},{label:"Philippines",value:"Philippines"},{label:"Pitcairn",value:"Pitcairn"},{label:"Poland",value:"Poland"},{label:"Portugal",value:"Portugal"},{label:"Puerto Rico",value:"Puerto Rico"},{label:"Qatar",value:"Qatar"},{label:"Reunion",value:"Reunion"},{label:"Romania",value:"Romania"},{label:"Russian Federation",value:"Russian Federation"},{label:"Rwanda",value:"Rwanda"},{label:"Saint Helena",value:"Saint Helena"},{label:"Saint Kitts and Nevis",value:"Saint Kitts and Nevis"},{label:"Saint Lucia",value:"Saint Lucia"},{label:"Saint Pierre and Miquelon",value:"Saint Pierre and Miquelon"},{label:"Saint Vincent and The Grenadines",value:"Saint Vincent and The Grenadines"},{label:"Samoa",value:"Samoa"},{label:"San Marino",value:"San Marino"},{label:"Sao Tome and Principe",value:"Sao Tome and Principe"},{label:"Saudi Arabia",value:"Saudi Arabia"},{label:"Senegal",value:"Senegal"},{label:"Serbia",value:"Serbia"},{label:"Seychelles",value:"Seychelles"},{label:"Sierra Leone",value:"Sierra Leone"},{label:"Singapore",value:"Singapore"},{label:"Slovakia",value:"Slovakia"},{label:"Slovenia",value:"Slovenia"},{label:"Solomon Islands",value:"Solomon Islands"},{label:"Somalia",value:"Somalia"},{label:"South Africa",value:"South Africa"},{label:"South Georgia and The South Sandwich Islands",value:"South Georgia and The South Sandwich Islands"},{label:"Spain",value:"Spain"},{label:"Sri Lanka",value:"Sri Lanka"},{label:"Sudan",value:"Sudan"},{label:"Suriname",value:"Suriname"},{label:"Svalbard and Jan Mayen",value:"Svalbard and Jan Mayen"},{label:"Swaziland",value:"Swaziland"},{label:"Sweden",value:"Sweden"},{label:"Switzerland",value:"Switzerland"},{label:"Syrian Arab Republic",value:"Syrian Arab Republic"},{label:"Taiwan, Province of China",value:"Taiwan, Province of China"},{label:"Tajikistan",value:"Tajikistan"},{label:"Tanzania, United Republic of",value:"Tanzania, United Republic of"},{label:"Thailand",value:"Thailand"},{label:"Timor-leste",value:"Timor-leste"},{label:"Togo",value:"Togo"},{label:"Tokelau",value:"Tokelau"},{label:"Tonga",value:"Tonga"},{label:"Trinidad and Tobago",value:"Trinidad and Tobago"},{label:"Tunisia",value:"Tunisia"},{label:"Turkey",value:"Turkey"},{label:"Turkmenistan",value:"Turkmenistan"},{label:"Turks and Caicos Islands",value:"Turks and Caicos Islands"},{label:"Tuvalu",value:"Tuvalu"},{label:"Uganda",value:"Uganda"},{label:"Ukraine",value:"Ukraine"},{label:"United Arab Emirates",value:"United Arab Emirates"},{label:"United Kingdom",value:"United Kingdom"},{label:"United States of America",value:"USA"},{label:"United States Minor Outlying Islands",value:"United States Minor Outlying Islands"},{label:"Uruguay",value:"Uruguay"},{label:"Uzbekistan",value:"Uzbekistan"},{label:"Vanuatu",value:"Vanuatu"},{label:"Venezuela",value:"Venezuela"},{label:"Viet Nam",value:"Viet Nam"},{label:"Virgin Islands, British",value:"Virgin Islands, British"},{label:"Virgin Islands, U.S.",value:"Virgin Islands, U.S."},{label:"Wallis and Futuna",value:"Wallis and Futuna"},{label:"Western Sahara",value:"Western Sahara"},{label:"Yemen",value:"Yemen"},{label:"Zambia",value:"Zambia"},{label:"Zimbabwe",value:"Zimbabwe"}]},46550:function(e,l,a){"use strict";a.d(l,{p:function(){return s},Z:function(){return ArticleList_provider}});var t=a(26705),i=a(20955),ArticleList_reducer=(e,l)=&gt;{switch(l.type){case"SET_REGIONS":return{...e,region:l.payload,page:"1"};case"SET_STUDIES":return{...e,studies:l.payload,page:"1"};case"SET_CATEGORY":return{...e,category:l.payload,page:"1"};case"SET_KEYWORDS":return{...e,keywords:l.payload,page:"1"};case"SET_SORT":return{...e,sort:l.payload};case"SET_PAGE":return{...e,page:l.payload};case"SET_TAG_REGION":return{...e,region:l.payload,category:void 0,studies:void 0,keywords:void 0,sort:void 0,page:"1"};case"SET_TAG_CATEGORY":return{...e,region:void 0,category:l.payload,studies:void 0,keywords:void 0,sort:void 0,page:"1"};case"SET_TAG_STUDIES":return{...e,region:void 0,category:void 0,studies:l.payload,keywords:void 0,sort:void 0,page:"1"};default:return{...e}}};let r={category:"",keywords:"",page:"1",region:"",sort:"",studies:"",tag:""},s=(0,i.createContext)({state:r,dispatch:()=&gt;{}});var ArticleList_provider=e=&gt;{let{children:l}=e,[a,n]=(0,i.useReducer)(ArticleList_reducer,r);return(0,t.jsx)(s.Provider,{value:{state:a,dispatch:n},children:l})}},19417:function(e,l,a){"use strict";a.d(l,{K:function(){return s},Z:function(){return PictureGallery_provider}});var t=a(26705),i=a(20955),PictureGallery_reducer=(e,l)=&gt;{switch(l.type){case"UPDATE_INDEX":var a,t;if("number"==typeof(null===(a=l.payload)||void 0===a?void 0:a.index))return{...e,index:null===(t=l.payload)||void 0===t?void 0:t.index};return{...e,index:null};case"UPDATE_STATUS":return{...e,selectedStatus:l.payload.selectedStatus};default:return{...e}}};let r={index:null,pictures:[],pictures2:[],selectedStatus:"none"},s=(0,i.createContext)({state:r,dispatch:()=&gt;{}});var PictureGallery_provider=e=&gt;{let{children:l,value:a}=e,[n,o]=(0,i.useReducer)(PictureGallery_reducer,r);return(0,t.jsx)(s.Provider,{value:{state:{...n,...a},dispatch:o},children:l})}},8305:function(e,l,a){"use strict";var t=a(20955),i=a(19417);l.Z=()=&gt;{let{dispatch:e,state:l}=(0,t.useContext)(i.K);return{dispatch:e,state:l}}},11595:function(e,l,a){"use strict";var t=a(20955),i=a(46550);l.Z=()=&gt;{let{dispatch:e,state:l}=(0,t.useContext)(i.p);return{dispatch:e,state:l}}},81655:function(e,l,a){"use strict";a.r(l);var t=a(26705);l.default=e=&gt;{let{sectionId:l}=e;return(0,t.jsx)("div",{id:l||""})}},49239:function(e,l,a){"use strict";a.r(l),a.d(l,{default:function(){return widgets_Article}});var t=a(26705),i=a(56113),r=a(82974),s=a(20955),n=a(24033),o=a(91057),d=a(99997),Article_ArticleBackButton=e=&gt;{let{backNavLabel:l,backToCTA:a}=e,i=(0,n.useRouter)();return(0,t.jsx)("div",{className:"lg:bg-gray-100 md:h-16 flex items-center mb-24 py-2 px-6",children:(0,t.jsxs)(d.Z,{href:"#",onClick:()=&gt;i.back(),className:"transition-colors duration-150 stroke-black hover:text-primary-base flex items-center max-w-[1440px] m-auto w-full",children:[(0,t.jsx)(o.Z,{type:"arrowLeftCTA",className:"ml-1 w-[16px] h-[16px] text-black hover:text-blue-500"}),(0,t.jsx)("span",{className:"text-base font-medium ml-1 transform translate-x-0 hover:translate-x-2 duration-500 ease-in-out",children:a})]})})},Article_ArticleTitleHeader=e=&gt;{let{header:l,title:a}=e;return(0,t.jsxs)("div",{className:"max-w-2xl mx-auto text-center",children:[(0,t.jsx)("div",{className:"mb-2 heading-supertitle lg:mb-4",children:l}),(0,t.jsx)("h1",{className:"text-4xl",children:a})]})},Article_ArticleSubtitleHeader=e=&gt;{let{tags:l}=e,a=(0,n.usePathname)(),i=null==l?void 0:l.filter(e=&gt;"studies"!==e.category);return(0,t.jsx)("div",{className:"text-base font-medium text-primary-base text-center my-4 px-24",children:null==i?void 0:i.map((e,l)=&gt;{var i;return(0,t.jsx)(d.Z,{href:"/".concat((null==a?void 0:null===(i=a.split("/"))||void 0===i?void 0:i[1])||"/","?").concat(e.category,"=").concat((e.url||"").replace(/__OS_RA__|PR__/g,"")),className:"hover:text-primary-dark transition-colors duration-150 mr-5 text-d-small",children:e.label},l)})})},c=a(93605),u=a(40459),Article_ArticleLongText=e=&gt;{let{longText:l}=e,a=(0,u.Z)();return(0,t.jsx)("div",{className:"key-highlights prose max-w-2xl w-full mx-auto mt-3",children:!a&amp;&amp;c.Z.html(l)})},m=a(81240),Article_ArticleAccessAndDownloadButton=e=&gt;{let{downloadBtnFile:l,accessBtnFile:a,downloadBtnLabel:i,accessBtnLabel:r}=e;return(0,t.jsx)("div",{className:"max-w-2xl w-full mx-auto mt-3",children:(0,t.jsxs)("div",{className:"mt-12 mx-auto text-center lg:justify-center flex flex-col lg:flex-row space-y-4 lg:space-y-0 lg:space-x-4",children:[l&amp;&amp;(0,t.jsx)(m.Z,{icon:"download",size:"mini",isExternal:!0,className:"mb-4 lg:mr-4 lg:mb-0",href:"/cap/content/".concat(l,"?download=true"),children:i}),a&amp;&amp;"http://"!==a&amp;&amp;(0,t.jsx)(m.Z,{icon:"external",size:"mini",isExternal:!0,href:a,children:r})]})})},x=a(90872),Article_ArticleAuthorPublication=e=&gt;{let{publicationInfo:l,publishedArticleDate:a,authorsLabel:i,citationLabel:r,publicationLabel:s,publicationDateLabel:n}=e;return(0,t.jsxs)("div",{className:"max-w-2xl w-full mx-auto mt-[5rem] sm:px-12 lg:px-12",children:[a&amp;&amp;(0,t.jsxs)("div",{className:"mb-6",children:[(0,t.jsx)("h3",{className:"text-sm font-medium",children:n}),(0,t.jsx)("span",{className:"text-sm font-normal",children:a})]}),(null==l?void 0:l.Publication)&amp;&amp;(0,t.jsxs)("div",{className:"mb-6",children:[(0,t.jsx)("h3",{className:"text-sm font-medium",children:s}),(0,t.jsx)("span",{className:"text-sm font-normal",children:null==l?void 0:l.Publication})]}),(null==l?void 0:l.Authors)&amp;&amp;(0,t.jsxs)("div",{className:"mt-6",children:[(0,t.jsx)("h3",{className:"text-sm font-medium",children:i}),(0,t.jsx)("span",{className:"text-sm font-normal",children:null==l?void 0:l.Authors})]}),(null==l?void 0:l.Citation)&amp;&amp;(0,t.jsxs)("div",{className:"mt-6",children:[(0,t.jsx)("h3",{className:"text-sm font-medium",children:r}),(0,t.jsx)("span",{className:"text-sm font-normal prose-disclaimer",children:c.Z.html((0,x.N1)(null==l?void 0:l.Citation))})]})]})},hooks_useGetWindow=()=&gt;{let[e,l]=(0,s.useState)();return(0,s.useEffect)(()=&gt;{var e;(null===(e=globalThis)||void 0===e?void 0:e.window)&amp;&amp;l(globalThis.window)},[]),e},h=a(62147),Article_ArticleSocialMedia=e=&gt;{var l;let{shareHeader1:a}=e,i=hooks_useGetWindow(),r=null==i?void 0:null===(l=i.location)||void 0===l?void 0:l.href;return(0,t.jsxs)("div",{className:"border-y border-black lg:py-9 py-7 flex items-center justify-center h-full flex-col mt-12 lg:mt-16 max-w-2xl w-full mx-auto",children:[(0,t.jsx)("span",{children:a}),r&amp;&amp;(0,t.jsx)(h.Z,{url:r})]})},Article_ArticleDateAndReadTime=e=&gt;{let{publishedArticleDate:l,publishedArticleReadTime:a,publicationOnDateLabel:i}=e;return(0,t.jsxs)("div",{className:"flex flex-row key-highlights prose max-w-2xl w-full mt-10 justify-between",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("span",{className:"font-medium",children:i})," ",l]}),(0,t.jsx)("div",{children:a})]})},v=a(48655),Article_ArticleImageBackground=e=&gt;{let{articleImage:l}=e;return(0,t.jsx)("div",{className:"flex items-center w-full justify-center",children:l&amp;&amp;(0,t.jsx)(v.default,{src:l,alt:l,width:"1200",height:"1200",className:"mt-10 bg-white shadow-lg mx-auto max-h-[28rem] relative object-cover"})})},widgets_Article=e=&gt;{let{header:l,title:a,longText:n,articleImage:o,backNavLabel:d,subtitle1:c,subtitle2:u,downloadBtnFile:m,accessBtnFile:x,publicationInfo:h,publishedArticleReadTime:v,publishedArticleDate:p,settings:b,tags:g}=e,{backToResearchCTA:f,backToStoriesCTA:j,shareHeader1:y,downloadBtnLabel:w,accessBtnLabel:N,authorsLabel:S,citationLabel:C,publicationLabel:_,publicationOnDateLabel:A,publicationDateLabel:Z,storiesSliderHeader:k,researchHeader:T}=(0,i.Z)(b),P=(0,s.useRef)(null);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{ref:P}),(0,t.jsx)(r.Z,{ref:P,children:(0,t.jsxs)("div",{children:[(0,t.jsx)(Article_ArticleBackButton,{backNavLabel:d,backToCTA:"__OS_ImpactStories"==l?j:f}),(0,t.jsx)("div",{className:"wrapper-outer max-w-screen-xl w-full m-auto px-4",children:(0,t.jsxs)("div",{className:"wrapper-inner flex flex-col items-center",children:[(0,t.jsx)(Article_ArticleTitleHeader,{header:"__OS_ImpactStories"==l?k:T,title:a}),(0,t.jsx)(Article_ArticleSubtitleHeader,{subtitle1:c,subtitle2:u,tags:g}),"__OS_ImpactStories"==l&amp;&amp;(0,t.jsx)(Article_ArticleImageBackground,{articleImage:o}),"__OS_ImpactStories"==l&amp;&amp;(0,t.jsx)(Article_ArticleDateAndReadTime,{publishedArticleDate:p,publishedArticleReadTime:v,publicationOnDateLabel:A}),(0,t.jsx)(Article_ArticleLongText,{longText:n}),"__OS_ImpactStories"!=l&amp;&amp;(m||x)&amp;&amp;(0,t.jsx)(Article_ArticleAccessAndDownloadButton,{downloadBtnFile:m,accessBtnFile:x,downloadBtnLabel:w,accessBtnLabel:N}),"__OS_ImpactStories"!=l&amp;&amp;(0,t.jsx)(Article_ArticleAuthorPublication,{publicationInfo:h,authorsLabel:S,citationLabel:C,publicationLabel:_,publicationDateLabel:Z,publishedArticleDate:p}),(0,t.jsx)(Article_ArticleSocialMedia,{shareHeader1:y})]})})]})})]})}},87372:function(e,l,a){"use strict";a.r(l);var t=a(26705),i=a(93605),r=a(40459);l.default=e=&gt;{let{longText:l}=e,a=(0,r.Z)();return(0,t.jsx)("div",{className:"px-4 m-auto",children:(0,t.jsx)("div",{className:"key-highlights prose max-w-2xl w-full mx-auto mt-3 font-medium",children:!a&amp;&amp;i.Z.html(l)})})}},30260:function(e,l,a){"use strict";a.r(l);var t=a(26705),i=a(93605);l.default=e=&gt;{let{header:l,longText:a}=e;return(0,t.jsx)("div",{className:"py-24 px-10 text-white bg-primary-800",children:(0,t.jsxs)("div",{children:[(0,t.jsx)("h1",{className:"font-normal text-lg mb-6 md:text-display-2xl",children:l}),(0,t.jsx)("div",{className:"font-medium text-2xl",children:i.Z.html(a)})]})})}},67361:function(e,l,a){"use strict";a.r(l);var t=a(26705),i=a(20955),r=a(93605),s=a(65740),n=a(202),o=a(81240),d=a(64854),c=a(72217),u=a(26093);l.default=e=&gt;{let{form:l,privacyPolicy:a}=e,{register:m,formData:x,isValid:h,validateAll:v,reset:p}=(0,s.Z)(),[b,g]=(0,i.useState)(!1),f={required:!0},j={required:!0},y={required:!0,pattern:/^(([^&lt;&gt;()[\]\\.,;:\s@"]+(\.[^&lt;&gt;()[\]\\.,;:\s@"]+)*)|.(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/},w=null==l?void 0:l.find(e=&gt;"SendMailButton"===e.type),generateInput=(e,l)=&gt;{var a,i,r,s,o,h,v,p,b,g,w,N;switch(e.type){case"TextBox":return(0,t.jsx)(u.Z,{label:e.label,...m(e.name,f),errorMessage:(null===(a=x[e.name])||void 0===a?void 0:a.error)?e.errorMessage||(null===(i=x[e.name])||void 0===i?void 0:i.error):""},l);case"EmailBox":return(0,t.jsx)(u.Z,{label:e.label,...m(e.name,y),errorMessage:(null===(r=x[e.name])||void 0===r?void 0:r.error)?e.errorMessage||(null===(s=x[e.name])||void 0===s?void 0:s.error):""},l);case"CountryOfesidenceSelectionBox":return(0,t.jsx)(d.Z,{placeholder:e.label,label:e.label,options:n.Gd,...m(e.name,{...j}),errorMessage:(null===(o=x[e.name])||void 0===o?void 0:o.error)?e.errorMessage||(null===(h=x[e.name])||void 0===h?void 0:h.error):""},l);case"IWantToSelectionBox":return(0,t.jsx)(d.Z,{label:e.label,placeholder:e.label,options:(null==e?void 0:e.options)||[],...m(e.name,{...j,defaultValue:null==e?void 0:null===(p=e.options)||void 0===p?void 0:null===(v=p[0])||void 0===v?void 0:v.value}),errorMessage:(null===(b=x[e.name])||void 0===b?void 0:b.error)?e.errorMessage||(null===(g=x[e.name])||void 0===g?void 0:g.error):""},l);case"TextArea":return(0,t.jsx)(c.Z,{rows:6,label:e.label,placeholder:e.label,...m(e.name,f),errorMessage:(null===(w=x[e.name])||void 0===w?void 0:w.error)?e.errorMessage||(null===(N=x[e.name])||void 0===N?void 0:N.error):""},l)}},submitHandler=async e=&gt;{e.preventDefault();let l=transformFormData(x),a="".concat(null==l?void 0:l.t1," ").concat(null==l?void 0:l.t2),t=null==l?void 0:l.t3,i=null==l?void 0:l.t4,r=null==l?void 0:l.t5,s=null==l?void 0:l.t6,n=null==l?void 0:l.t7;if(v(),h){g(!0);try{var o;let e=null===(o=globalThis)||void 0===o?void 0:o.window.location.origin;await fetch("".concat(e,"/api/sendResponsys"),{method:"POST",body:JSON.stringify({CommunityOrg:t,ContactName:a,Country:r,Email:i,Topic:s,Message:n})}),alert("Query sent"),g(!1),p()}catch(e){alert("An error has occured"),g(!1),console.log(e)}}},transformFormData=e=&gt;{let l={};for(let t in e)if(l){var a;l[t]=(null==e?void 0:null===(a=e[t])||void 0===a?void 0:a.value)||""}return l};return(0,t.jsx)("div",{className:"py-12 md:py-24",children:(0,t.jsxs)("form",{className:"px-8 grid gap-6 max-w-xl m-auto",onSubmit:submitHandler,children:[null==l?void 0:l.map((e,l)=&gt;generateInput(e,l)),a&amp;&amp;(0,t.jsx)("div",{className:"py-4 prose-disclaimer","data-v-8af91728":"",children:r.Z.html(a)}),(0,t.jsx)(o.Z,{intent:"positive",className:"w-fit",disabled:b,children:null==w?void 0:w.label})]})})}},79328:function(e,l,a){"use strict";a.r(l),a.d(l,{default:function(){return widgets_FormIcons}});var t=a(26705),i=a(93605),r=a(50628),s=a(20955),n=a(81240),o=a(14389),d=a(91057),IVolunteer_IVolunteerMSForm=e=&gt;{let{buttonLabel:l}=e,[a,i]=(0,s.useState)(!1),openHandler=()=&gt;{i(e=&gt;!e)};return(0,t.jsxs)("div",{className:"w-full flex justify-center",children:[(0,t.jsx)(n.Z,{intent:"blue",onClick:openHandler,children:l}),(0,t.jsx)(o.Z,{selector:"#portal",children:a&amp;&amp;(0,t.jsxs)("div",{className:"fixed top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 md:h-[80vh] h-[90vh] md:w-[60%] w-[90%] p-4 pt-14 bg-white shadow-lg",children:[(0,t.jsx)("div",{className:"absolute top-4 right-4",onClick:openHandler,children:(0,t.jsx)(d.Z,{type:"close",className:"w-4 h-4 cursor-pointer"})}),(0,t.jsx)("iframe",{src:"https://forms.office.com/pages/responsepage.aspx?id=96jRx0YFDEqM9T3a6_l9UUR1k3yy27NBsZ5hs1AL141UMUY4OFg3UDlSRkE3VkU5NjNZTFpJRzg3Ti4u&amp;origin=lprLink",height:"100%",width:"100%",className:"select-none"})]})})]})},widgets_FormIcons=e=&gt;{var l,a;let{header:s,icons:n,form:o}=e;return(0,t.jsxs)("div",{className:"max-w-[54rem] m-auto py-12 lg:py-24",children:[(0,t.jsx)("h2",{className:"text-m-h1 font-normal text-center mb-6",children:s}),(0,t.jsx)("div",{className:"grid gap-8 lg:gap-12 grid-cols-1 md:grid-cols-3 px-12 py-6 bg-gray-50 rounded-xl",children:null==n?void 0:n.map((e,l)=&gt;(0,t.jsx)(r.Z,{picture:e.picture,title:e.title,longText:e.longText,type:"small"},l))}),(0,t.jsx)("div",{className:"text-center my-4 px-4",children:(0,t.jsx)(t.Fragment,{children:i.Z.html(o.title)})}),(0,t.jsx)(IVolunteer_IVolunteerMSForm,{buttonLabel:(null==o?void 0:null===(a=o.inputs)||void 0===a?void 0:null===(l=a[0])||void 0===l?void 0:l.label)||"No label"})]})}},66248:function(e,l,a){"use strict";a.r(l),a.d(l,{default:function(){return widgets_HeroDynamicBanner}});var t=a(26705),i=a(78591),r=a(93605),s=a(51685),n=a(20955),o=a(91057),d=a(90872),c=a(60429),u=a.n(c),VideoModal_VideoModal=e=&gt;{let{backgroundVideos:l,closeHandler:a}=e,i="vimeo"===(0,d.kc)(l[0])||"youtube"===(0,d.kc)(l[0]);return(0,t.jsxs)("div",{className:"fixed top-0 left-0 w-full h-full z-20",children:[(0,t.jsx)("div",{className:"bg-gray-900/80 absolute top-0 left-0 h-full w-full z-10"}),(0,t.jsx)("div",{className:"absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 z-20 w-full h-full overflow-hidden flex items-center justify-center cursor-grab",children:(0,t.jsx)(u(),{url:l[0],width:"80vw",height:"80vh",controls:!0,loop:!0,playsinline:!0,playing:!0,style:{margin:"auto",backgroundColor:i?"unset":"black",userSelect:"none"}})}),(0,t.jsx)("div",{className:"z-30 absolute right-0 top-0 p-[10px] bg-gray-950/50 h-11 w-11 flex justify-center items-center cursor-pointer",onClick:a,children:(0,t.jsx)(o.Z,{type:"close",className:"fill-white w-[13.6px] h-[13.6px]"})})]})},m=a(14389),x=a(78240),HeroVideoPlayer_HeroVideoPlayer=e=&gt;{let{backgroundVideos:l}=e,[a,i]=(0,n.useState)(!1),onClickHandler=()=&gt;{i(e=&gt;!e)};return(0,t.jsxs)("div",{className:"relative h-full w-full min-h-[100px]",children:[(0,t.jsx)("div",{onClick:onClickHandler,children:(0,t.jsx)(o.Z,{type:"play",className:"w-24 h-24 absolute left-2/4 top-2/4 -translate-x-2/4 -translate-y-2/4 z-10 cursor-pointer"})}),(0,t.jsx)(m.Z,{selector:"#portal",children:(0,t.jsx)(x.Z,{render:a,initial:"opacity-0",animate:"opacity-100",children:(0,t.jsx)("div",{children:(0,t.jsx)(VideoModal_VideoModal,{backgroundVideos:l,closeHandler:onClickHandler})})})})]})},h=a(82974),v=a(81240),p=a(48655),widgets_HeroDynamicBanner=e=&gt;{let{backgroundImages:l,backgroundVideos:a,header:n,longText:o,overlay:d,button:c,logo:u,EnableX1920:m,fallBackImage:x}=e,b=(0,i.j)(o?"mb-[15px] md:mb-[30px]":"");return(0,t.jsxs)(h.Z,{className:"h-[520px] md:h-[648px] max-h-[85vh] relative",children:[(0,t.jsxs)(t.Fragment,{children:[l&amp;&amp;(0,t.jsx)(s.Z,{url:x,crops:l,alt:n||o||"",name:m?"HeroDynamicBannerHQ":"HeroDynamicBannerLQ",type:"widgets"}),!!(null==a?void 0:a.length)&amp;&amp;(0,t.jsx)("div",{className:"absolute top-0 left-0 h-full w-full z-40",children:(0,t.jsx)(HeroVideoPlayer_HeroVideoPlayer,{backgroundVideos:a})})]}),d&amp;&amp;(0,t.jsx)("div",{className:"absolute top-0 left-0 bg-black/30 w-full h-full z-20 pointer-events-none"}),(0,t.jsx)("div",{className:"h-full flex items-center text-white absolute top-0 left-0 w-full z-30 px-4",children:(0,t.jsx)("div",{className:"max-w-[1440px] m-auto w-full",children:(0,t.jsxs)("div",{className:"max-w-[644px] w-full mr-auto",children:[u&amp;&amp;(0,t.jsx)("div",{className:"flex items-center z-30 max-w-[1440px] m-auto w-full",children:(0,t.jsx)(p.default,{src:u,alt:u,className:"w-auto h-full max-h-[113px]"})}),n&amp;&amp;(0,t.jsx)("h1",{className:"font-light text-m-h2 md:text-d-h1 ".concat(b()),children:n}),o&amp;&amp;(0,t.jsx)("div",{className:"font-light text-d-caption md:text-[22px] leading-7",children:r.Z.html(o)}),c&amp;&amp;(0,t.jsx)(v.Z,{className:"mt-10",icon:"external",size:"mini",intent:"negative",href:null==c?void 0:c.url,isExternal:null==c?void 0:c.isExternal,children:null==c?void 0:c.label})]})})})]})}},85495:function(e,l,a){"use strict";a.r(l);var t=a(26705),i=a(20955),r=a(50628),s=a(81240),n=a(82974),o=a(53452);l.default=e=&gt;{let{header:l,longText:a,icons:d,cta:c}=e,u=(0,o.Z)(),m=u({initial:["h2","mobile"],md:["h1","desktop"]}),x=u({initial:["body","mobile"],md:["body","desktop"]});return(0,t.jsx)(n.Z,{className:"py-16 md:py-24 px-4",children:(0,t.jsxs)("div",{className:"max-w-screen-xl m-auto w-full",children:[(0,t.jsxs)("div",{className:"text-center m-auto max-w-[1034px]",children:[(0,t.jsx)("h1",{className:"font-light mb-[15px] md:mb-[30px] ".concat(m),children:l}),(0,t.jsx)("p",{className:"font-light ".concat(x),children:a})]}),(0,t.jsx)("div",{className:"py-12",children:(0,t.jsx)("div",{className:"grid grid-cols-1 gap-[98px] md:gap-[61px] md:grid-cols-iconCTA max-w-[1034px] m-auto",children:null==d?void 0:d.map((e,l)=&gt;(0,i.createElement)(r.Z,{...e,key:l}))})}),c&amp;&amp;(0,t.jsx)("div",{className:"flex justify-center",children:(0,t.jsx)(s.Z,{href:null==c?void 0:c.url,isExternal:null==c?void 0:c.isExternal,intent:"positive",size:"default",children:null==c?void 0:c.label})})]})})}},9096:function(e,l,a){"use strict";a.r(l);var t=a(26705),i=a(48655);l.default=e=&gt;{var l,a;let{photos:r}=e;return!!(r||[]).length&amp;&amp;(0,t.jsxs)("div",{children:[(null==r?void 0:null===(l=r[0])||void 0===l?void 0:l.src)&amp;&amp;(0,t.jsx)(i.default,{src:r[0].src,alt:r[0].alt,className:"w-full h-full hidden md:block"}),(null==r?void 0:null===(a=r[1])||void 0===a?void 0:a.src)&amp;&amp;(0,t.jsx)(i.default,{src:r[1].src,alt:r[1].alt,className:"w-full h-full block md:hidden"})]})}},93198:function(e,l,a){"use strict";a.r(l);var t=a(26705);a(20955);var i=a(51685),r=a(82974);l.default=e=&gt;{let{altName:l,url:a,crops:s}=e;return(0,t.jsx)(r.Z,{className:"h-[520px] md:h-[648px] relative w-full",children:(0,t.jsx)(i.Z,{crops:s,alt:l||a,name:"ImgBlock",type:"widgets",url:a})})}},75602:function(e,l,a){"use strict";a.r(l),a.d(l,{default:function(){return widgets_ImpactStoriesList}});var t=a(26705),i=a(48044),r=a(38038),s=a(24033),n=a(20955),o=a(11595),d=a(11452),c=a(24848),u=a(45073),m=a(82974),ImpactStoriesList_ImpactStoriesListWrapper=e=&gt;{let{filter:l,sort:a,settings:i}=e,r=(0,s.usePathname)(),{state:x}=(0,o.Z)(),{isPending:h,data:v}=(0,d.Z)(x,"__OS_IS__"),[p,b]=(0,n.useState)();return(0,n.useEffect)(()=&gt;{h||b(v)},[v,h]),(0,t.jsx)(m.Z,{threshold:0,children:(null==r?void 0:r.replace(/\//g,""))==="impact-stories"&amp;&amp;(0,t.jsx)("div",{children:(0,t.jsxs)(c.Z,{data:{articles:(null==p?void 0:p.articles)||[],numFound:(null==p?void 0:p.numFound)||0,filter:l,sort:a,settings:i},children:[(0,t.jsxs)(c.Z.Filters,{children:[(0,t.jsx)(u.Z.Regions,{}),(0,t.jsx)(u.Z.PopulationCategories,{}),(0,t.jsx)(u.Z.Keyword,{})]}),(0,t.jsx)(c.Z.Sort,{}),(0,t.jsx)(c.Z.ImpactStoriesListGrid,{}),(0,t.jsx)(c.Z.Pagination,{})]})})})},x=a(46550),widgets_ImpactStoriesList=e=&gt;{var l;let{searchParams:a,settings:s,keywords:n,populationCat:o,regions:d,studies:c,countHeader:u,filterHeader:m}=e,h=null==s?void 0:null===(l=s.Order)||void 0===l?void 0:l.map((e,l)=&gt;({label:e,value:l})),v=new i.S,p={sort:{options:h},settings:s,filter:{filterHeader:m,regions:d,studies:c,populationCat:o,keywords:n,countHeader:u}};return(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(r.aH,{client:v,children:(0,t.jsx)(x.Z,{children:(0,t.jsx)(ImpactStoriesList_ImpactStoriesListWrapper,{filter:p.filter,settings:p.settings,sort:p.sort})})})})}},1598:function(e,l,a){"use strict";a.r(l);var t=a(26705),i=a(20955),r=a(78591),s=a(93605),n=a(81240),o=a(82974),d=a(51685);let c=(0,r.j)(["flex flex-col-reverse w-full md:flex-row md:min-h-[520px] xxl:min-h-[648px] h-fit"],{variants:{itent:{LeftTextBgBlack:["bg-black text-white md:flex-row"],LeftTextBgWhite:["bg-white text-black md:flex-row"],LeftTextBgSkyblue:["bg-primary-base text-white"],RightTextBgBlack:["bg-black text-white md:flex-row-reverse"],RightTextBgWhite:["bg-white text-black md:flex-row-reverse"],RightTextBgSkyblue:["bg-primary-base text-white md:flex-row-reverse"]}}});l.default=e=&gt;{let{pictureURL:l,header:a,teaserText:r,viewType:u,cta:m,fallBackImage:x}=e,h=c({itent:u}),v=(0,i.useRef)(null);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{ref:v}),(0,t.jsxs)(o.Z,{className:h,ref:v,threshold:0,children:[(0,t.jsxs)("div",{className:"md:w-1/2 w-full px-12 py-12 md:py-24 lg:px-16 xl:px-[120px] flex items-start justify-center flex-col",children:[a&amp;&amp;(0,t.jsx)("h2",{className:"max-w-[526px] font-light mb-6 md:mb-10 text-[24px] md:text-[36px]",children:a}),r&amp;&amp;(0,t.jsx)("div",{className:"max-w-[656px] font-light text-m-body md:text-d-body prose-list prose-textResizeDesktop",children:s.Z.html(r)}),(null==m?void 0:m.url)&amp;&amp;(0,t.jsx)(n.Z,{intent:(e=&gt;{switch(e){case"LeftTextBgBlack":case"RightTextBgBlack":case"LeftTextBgSkyblue":case"RightTextBgSkyblue":return"negative";default:return"positive"}})(u),href:null==m?void 0:m.url,isExternal:null==m?void 0:m.isExternal,className:"mt-10",icon:(null==m?void 0:m.isFileDownload)?"download":void 0,children:null==m?void 0:m.label})]}),(0,t.jsx)("div",{className:"md:w-1/2 w-full flex relative",children:(0,t.jsx)("div",{className:"h-[375px] w-full md:h-full overflow-hidden flex md:absolute top-0 l-0",children:l&amp;&amp;(0,t.jsx)(d.Z,{className:"w-full",crops:l,alt:(null==l?void 0:l.uriTemplate)||"",name:"LRDynamicTextWithVideo",url:x,type:"widgets"})})})]})]})}},21122:function(e,l,a){"use strict";a.r(l);var t=a(26705),i=a(24033),r=a(20955);l.default=e=&gt;{let{languageList:l}=e,[a,s]=(0,r.useState)(""),[n,o]=(0,r.useState)(!1),d=(0,i.useRouter)(),selectHandler=(e,l)=&gt;{s(e),d.push(l)};(0,r.useEffect)(()=&gt;{var e,a,t;let i=null===(t=globalThis)||void 0===t?void 0:null===(a=t.window)||void 0===a?void 0:null===(e=a.location)||void 0===e?void 0:e.pathname,r=null==l?void 0:l.find(e=&gt;null!=e&amp;&amp;!!e.url&amp;&amp;(null==i?void 0:i.includes(e.url)));(null==r?void 0:r.label)&amp;&amp;s((null==r?void 0:r.label)||i.replace(/\//g,""))},[l]);let c=l.every(e=&gt;""!==e.label);return c?(0,t.jsx)("div",{className:"flex py-2 px-4 min-h-[58px] justify-between items-center bg-gray-100 fade-in-bottom w-full relative z-10",children:(0,t.jsx)("div",{className:"max-w-[1440px] m-auto w-full",children:a&amp;&amp;(0,t.jsxs)("div",{className:"px-4 py-2 ml-auto rounded border-[1px] border-c-[#ddd] bg-white cursor-pointer select-none relative w-fit",onClick:()=&gt;o(e=&gt;!e),children:[(0,t.jsx)("span",{className:"flex justify-center items-center",children:a}),n&amp;&amp;l.length&gt;1&amp;&amp;(0,t.jsx)("div",{className:"absolute xl:left-0 xl:right-auto right-0 top-[42px] bg-white border-[1px] border-c-[#ddd] rounded min-w-[120px]",children:(0,t.jsx)("ul",{children:null==l?void 0:l.map((e,l)=&gt;(0,t.jsx)("li",{className:"px-4 py-2 hover:bg-[#f5f5f5]",onClick:()=&gt;selectHandler(e.label,e.url),children:e.label},l))})})]})})}):(0,t.jsx)(t.Fragment,{})}},50540:function(e,l,a){"use strict";a.r(l);var t=a(26705),i=a(81240),r=a(93605),s=a(20955);l.default=e=&gt;{var l,a,n;let{header:o,longText:d,colorSettings:c,placeholder:u,subLink:m,password:x,invalidPassword:h,iframeUrl:v}=e,[p,b]=(0,s.useState)(""),[g,f]=(0,s.useState)(0),j=(null===(n=globalThis)||void 0===n?void 0:null===(a=n.window)||void 0===a?void 0:null===(l=a.document)||void 0===l?void 0:l.createElement("div"))||"";(0,s.useEffect)(()=&gt;{j.innerHTML=u,b((null==j?void 0:j.textContent)||"")},[p,j,u]);let submitHandler=async e=&gt;{var l,a,t,i,r,s,n;if(e.preventDefault(),(null===(i=globalThis)||void 0===i?void 0:null===(t=i.window)||void 0===t?void 0:null===(a=t.document)||void 0===a?void 0:null===(l=a.querySelector("input"))||void 0===l?void 0:l.value)==x)f(1);else{let e=null===(n=globalThis)||void 0===n?void 0:null===(s=n.window)||void 0===s?void 0:null===(r=s.document)||void 0===r?void 0:r.createElement("div");e.innerHTML=h,alert(null==e?void 0:e.textContent)}};return(0,t.jsxs)("div",{children:[!g&amp;&amp;(0,t.jsx)("div",{className:"py-12 md:py-20 px-5 text-center",style:{backgroundColor:null==c?void 0:c.BGColor},children:(0,t.jsxs)("div",{className:"m-auto w-full max-w-[960px]",children:[(0,t.jsxs)("div",{style:{color:null==c?void 0:c.Color},children:[(0,t.jsx)("h1",{className:"font-medium text-5xl md:text-display-2xl",children:o}),(0,t.jsx)("div",{className:"font-normal text-xl py-4",children:d})]}),(0,t.jsx)("div",{className:"flex justify-center w-full mb-5",children:(0,t.jsxs)("form",{className:"grid gap-4 grid-cols-inlineLabel w-full max-w-lg",onSubmit:submitHandler,children:[(0,t.jsx)("input",{id:"password",type:"password",placeholder:p,className:"mt-auto w-full text-[14px] pr-10 pl-3 py-3 border-gray-300 selection:border-primary-base border-s border-[1px] rounded-md outline-primary-base"}),(0,t.jsx)(i.Z,{intent:"negative",children:"Submit"})]})}),(0,t.jsx)("div",{style:{color:null==c?void 0:c.Color},className:"md:px-44",children:r.Z.html(m)})]})}),1==g&amp;&amp;(0,t.jsx)("iframe",{src:v,width:"100%",height:"600px"})]})}},32233:function(e,l,a){"use strict";a.r(l),a.d(l,{default:function(){return widgets_PictureGallery}});var t=a(26705),i=a(8305),r=a(48655),s=a(78240),PictureGallery_PhotoFrame=e=&gt;{let{imageUrl:l,...a}=e;return(0,t.jsx)(s.Z,{initial:"opacity-0",animate:"opacity-1",render:!0,children:(0,t.jsx)("div",{children:(0,t.jsx)("div",{...a,className:"border-8 border-white relative bg-black shadow hover:shadow-xl w-full ".concat(a.className),children:(0,t.jsx)(r.default,{src:l,alt:l,className:"w-full h-full object-cover"})})})})},PictureGallery_GalleryPhoto=e=&gt;{let{imageUrl:l,name:a,subTitle:i}=e;return(0,t.jsxs)("div",{className:"grid gap-4 cursor-pointer",children:[(0,t.jsx)(PictureGallery_PhotoFrame,{imageUrl:l,className:"h-[384px]"}),(0,t.jsxs)("div",{className:"grid gap-[0.5rem]",children:[a&amp;&amp;(0,t.jsx)("div",{className:"text-[18px]",children:a}),i&amp;&amp;(0,t.jsx)("div",{className:"text-[14px] text-gray-500",children:i})]})]})},PictureGallery_GalleryGrid=()=&gt;{let{dispatch:e,state:l}=(0,i.Z)(),a=l.pictures,onClickHandler=l=&gt;{let a=document.querySelector(".elem-to-scroll-picture-gallery");e({type:"UPDATE_INDEX",payload:{index:l}}),null==a||a.scrollIntoView({behavior:"smooth"})};return null!==l.index?(0,t.jsx)(t.Fragment,{}):(0,t.jsx)("div",{className:"wrapper-inner pt-12 lg:pt-24 pb-12 grid grid-cols grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 lg:gap-8",children:null==a?void 0:a.map((e,l)=&gt;(0,t.jsx)("div",{onClick:()=&gt;onClickHandler(l),children:(0,t.jsx)(PictureGallery_GalleryPhoto,{...e})},l))})};a(38020);var n=a(20955),o=a(93605),d=a(69478),c=a(946),u=a(14389),PictureGallery_PhotoFrameCarousel=e=&gt;{let{controlElem:l}=e,{dispatch:a,state:r}=(0,i.Z)(),{pictures:s,index:n}=r,slideChangeHandler=e=&gt;{a({payload:{index:e.activeIndex},type:"UPDATE_INDEX"})};return(0,t.jsx)("div",{className:"shadow mt-[3.75rem] md:mt-0",children:null!==n&amp;&amp;(0,t.jsxs)(d.tq,{onSlideChange:e=&gt;slideChangeHandler(e),initialSlide:n,children:[null==s?void 0:s.map((e,l)=&gt;(0,t.jsx)(d.o5,{children:(0,t.jsx)(PictureGallery_PhotoFrame,{imageUrl:e.imageUrl,className:"h-[720px] select-none"})},l)),(0,t.jsx)(u.Z,{selector:"",elemRef:l,children:(0,t.jsx)(c.Z,{})},"controls")]})})},PictureGallery_GalleryDescription=()=&gt;{let{state:e}=(0,i.Z)(),l=(0,n.useRef)(null),{index:a,pictures:r}=e,d="number"==typeof a?null==r?void 0:r[a]:null;return(0,t.jsxs)("div",{className:"wrapper-inner py-12 lg:py-24 md:grid md:grid-cols-2 md:gap-8 ".concat(null===d?"hidden md:hidden":""),children:[(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)("div",{className:"bg-gradient-circle hidden md:block absolute top-[-2rem] left-[-10rem] pointer-events-none"}),null==r?void 0:r.map((e,l)=&gt;(0,t.jsx)(s.Z,{initial:"opacity-0 absolute top-0 left-0",animate:"opacity-1",render:l===a,children:(0,t.jsx)("div",{children:(0,t.jsxs)("div",{className:"max-w-[24rem] flex flex-col select-none",children:[(0,t.jsx)("p",{className:"bg-black text-white font-medium px-4 py-2 text-lg w-fit mt-12 lg:mt-24",children:null==e?void 0:e.subTitle}),(0,t.jsx)("p",{className:"text-2xl font-medium mt-4",children:null==e?void 0:e.name}),(0,t.jsx)("div",{className:"text-lg mt-2 min-h-[12rem]",children:o.Z.html(null==e?void 0:e.description)})]})})},l)),(0,t.jsx)("div",{id:"galleryCarousel",ref:l})]}),l&amp;&amp;(0,t.jsx)(PictureGallery_PhotoFrameCarousel,{controlElem:l.current})]})},m=a(19417),widgets_PictureGallery=e=&gt;{let{pictures:l}=e;return(0,t.jsxs)("div",{className:"bg-gradient-custom bg-white relative",children:[(0,t.jsx)("div",{className:"elem-to-scroll-picture-gallery absolute left-0 w-full top-[-56px] md:top-[-70px]"}),(0,t.jsxs)(m.Z,{value:{pictures:l},children:[(0,t.jsx)(PictureGallery_GalleryGrid,{}),(0,t.jsx)(PictureGallery_GalleryDescription,{})]})]})}},82229:function(e,l,a){"use strict";a.r(l),a.d(l,{default:function(){return PictureGallery3x3}});var t=a(26705),i=a(8305),r=a(48655),s=a(78240),PhotoFrame3x3=e=&gt;{let{imageUrl:l,...a}=e;return(0,t.jsx)(s.Z,{initial:"opacity-0",animate:"opacity-1",render:!0,children:(0,t.jsx)("div",{children:(0,t.jsx)("div",{...a,className:"border-8 border-white relative bg-black shadow hover:shadow-xl w-full ".concat(a.className),children:(0,t.jsx)(r.default,{src:l,alt:l,className:"w-full h-full object-cover"})})})})},n=a(81240),GalleryPhoto3x3=e=&gt;{let{imageUrl:l,name:a,subTitle:i,onClickHandler:r}=e;return(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)(PhotoFrame3x3,{imageUrl:l,className:"h-[470px] xs:h-auto sm:h-[470px]"}),(0,t.jsx)("div",{className:"absolute top-0 left-0 w-full h-full text-white bg-opacity-40 bg-black opacity-0 hover:opacity-100 transition-opacity",children:(0,t.jsxs)("div",{className:"flex justify-between flex-col xs:flex-row absolute w-full bottom-8 px-8",children:[(0,t.jsxs)("div",{className:"mb-4 xs:mb-0",children:[(0,t.jsx)("div",{className:"text-[22px] pr-3",children:a}),(0,t.jsx)("div",{className:"text-[14px]",children:i})]}),(0,t.jsx)("div",{className:"mt-auto",children:(0,t.jsx)(n.Z,{intent:"negative",onClick:r,children:"Open"})})]})})]})},o=a(20955),Tab_TabHeader=e=&gt;{let{children:l,active:a,onClickHandler:i}=e;return(0,t.jsxs)(t.Fragment,{children:[!a&amp;&amp;(0,t.jsx)("div",{className:"h-[60px] w-fit px-7 flex items-center text-d-small xs:text-xl fill-black cursor-pointer select-none",onClick:i,children:l}),a&amp;&amp;(0,t.jsx)("div",{className:"h-[60px] w-fit px-7 flex items-center text-d-small xs:text-xl text-white bg-black fill-white cursor-pointer select-none",onClick:i,children:l})]})},Tab_Tab=e=&gt;{let{children:l,defaultActive:a=0}=e,[i,r]=(0,o.useState)(a),n=(null==l?void 0:l.length)?l:[l],onClickHandler=e=&gt;{r(e)};return(0,t.jsxs)("div",{className:"max-w-[1440px] m-auto pt-20 relative",children:[(0,t.jsx)("div",{className:"border-t-2 border-black flex justify-center mb-7",children:null==n?void 0:n.map((e,l)=&gt;{var a,r;return(null==e?void 0:null===(a=e.props)||void 0===a?void 0:a.header)&amp;&amp;(0,t.jsx)(Tab_TabHeader,{active:l===i,onClickHandler:()=&gt;onClickHandler(l),children:(null==e?void 0:null===(r=e.props)||void 0===r?void 0:r.header)||""},l)})}),null==n?void 0:n.map((e,l)=&gt;{var a;return i===l&amp;&amp;(0,t.jsx)(s.Z,{initial:"opacity-0",animate:"opacity-1",render:!0,children:(0,t.jsx)("div",{children:(null==e?void 0:null===(a=e.props)||void 0===a?void 0:a.children)||""})},l)})]})},Tab_TabItem=()=&gt;null,d=a(91057);let CustomHeader=e=&gt;{let{type:l,header:a}=e;return(0,t.jsxs)(t.Fragment,{children:[l&amp;&amp;(0,t.jsx)(d.Z,{type:l,className:"mr-4 w-[22px]"}),(0,t.jsx)("span",{children:a})]})};var GalleryGrid3x3=()=&gt;{let{dispatch:e,state:l}=(0,i.Z)(),a=l.pictures,r=l.pictures2,onClickHandler=function(l){let a=arguments.length&gt;1&amp;&amp;void 0!==arguments[1]?arguments[1]:"none",t=document.querySelector(".elem-to-scroll-picture-gallery");e({type:"UPDATE_INDEX",payload:{index:l}}),e({type:"UPDATE_STATUS",payload:{selectedStatus:a}}),null==t||t.scrollIntoView({behavior:"smooth"})};return null!==l.index?(0,t.jsx)(t.Fragment,{}):(0,t.jsxs)(Tab_Tab,{defaultActive:("runnerups"===l.selectedStatus?1:0)||0,children:[(0,t.jsx)(Tab_TabItem,{header:(0,t.jsx)(CustomHeader,{header:l.tab1Label||"",type:"trophy"}),children:(0,t.jsx)("div",{className:"max-w-[1440px] m-auto pb-12 px-4 lg:px-0 grid grid-cols grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-[15px]",children:null==a?void 0:a.map((e,l)=&gt;(0,t.jsx)("div",{children:(0,t.jsx)(GalleryPhoto3x3,{...e,onClickHandler:()=&gt;onClickHandler(l,e.status)})},l))})}),!!(r||[]).length&amp;&amp;(0,t.jsx)(Tab_TabItem,{header:(0,t.jsx)(CustomHeader,{header:l.tab2Label||"",type:"medal"}),children:(0,t.jsx)("div",{className:"max-w-[1440px] m-auto pb-12 px-4 lg:px-0 grid grid-cols grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-[15px]",children:null==r?void 0:r.map((e,l)=&gt;(0,t.jsx)("div",{children:(0,t.jsx)(GalleryPhoto3x3,{...e,onClickHandler:()=&gt;onClickHandler(l,e.status)})},l))})})]})},c=a(19417);a(38020);var u=a(93605),m=a(69478),x=a(14389),h=a(946),PhotoFrameCarousel3x3=e=&gt;{var l;let{controlElem:a}=e,{dispatch:r,state:s}=(0,i.Z)(),{pictures:n,pictures2:o,selectedStatus:d,index:c}=s,slideChangeHandler=e=&gt;{r({payload:{index:e.activeIndex},type:"UPDATE_INDEX"})};return(0,t.jsx)("div",{className:"mt-[3.75rem] md:mt-0",children:null!==c&amp;&amp;"none"!==d&amp;&amp;(0,t.jsxs)(m.tq,{onSlideChange:e=&gt;slideChangeHandler(e),initialSlide:c,children:[null===(l="winners"===d?n:o||n)||void 0===l?void 0:l.map((e,l)=&gt;(0,t.jsx)(m.o5,{children:(0,t.jsx)(PhotoFrame3x3,{imageUrl:e.imageUrl,className:"sm:h-[720px] select-none"})},l)),(0,t.jsx)(x.Z,{selector:"",elemRef:a,children:(0,t.jsx)(h.Z,{})},"controls")]})})},PictureGallery3x3_GalleryDescription3x3=()=&gt;{var e;let{state:l}=(0,i.Z)(),a=(0,o.useRef)(null),{index:r,pictures:n,pictures2:d,selectedStatus:c}=l,getActivePicture=()=&gt;{if("number"!=typeof r)return null;switch(c){case"winners":return n||null;case"runnerups":return d||null;default:return null}};return(0,t.jsxs)("div",{className:"wrapper-inner py-12 lg:py-24 md:grid md:grid-cols-2 md:gap-8 ".concat(null===getActivePicture()?"hidden md:hidden":""),children:[(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)("div",{className:"bg-gradient-circle hidden md:block absolute top-[0rem] left-[-10rem] pointer-events-none"}),null===(e=getActivePicture())||void 0===e?void 0:e.map((e,l)=&gt;(0,t.jsx)(s.Z,{initial:"opacity-0 absolute top-0 left-0",animate:"opacity-1",render:l===r,children:(0,t.jsx)("div",{children:(0,t.jsxs)("div",{className:"max-w-[29rem] flex flex-col select-none",children:[(0,t.jsx)("p",{className:"bg-black text-white font-medium px-4 py-2 text-lg w-fit mt-12 lg:mt-24",children:null==e?void 0:e.subTitle}),(0,t.jsx)("p",{className:"text-2xl font-medium mt-4",children:null==e?void 0:e.name}),(0,t.jsx)("div",{className:"text-lg mt-2 min-h-[12rem] sm:max-h-[20rem] sm:overflow-y-auto custom-scroll pr-12",children:u.Z.html(null==e?void 0:e.description)})]})})},l)),(0,t.jsx)("div",{id:"galleryCarousel",ref:a})]}),a&amp;&amp;(0,t.jsx)(PhotoFrameCarousel3x3,{controlElem:a.current})]})},PictureGallery3x3=e=&gt;{let{pictures:l,pictures2:a,tab1Label:i,tab2Label:r}=e;return(0,t.jsxs)("div",{className:"bg-gradient-custom bg-white relative",children:[(0,t.jsx)("div",{className:"elem-to-scroll-picture-gallery absolute left-0 w-full top-[-56px] md:top-[-70px]"}),(0,t.jsxs)(c.Z,{value:{pictures:l,pictures2:a,tab1Label:i,tab2Label:r},children:[(0,t.jsx)(GalleryGrid3x3,{}),(0,t.jsx)(PictureGallery3x3_GalleryDescription3x3,{})]})]})}},41280:function(e,l,a){"use strict";a.r(l);var t=a(26705),i=a(24033),r=a(99997);l.default=e=&gt;{let{header:l,anchors:a}=e,s=(0,i.usePathname)();return(0,t.jsxs)("div",{className:"py-24 px-8 md:px-0 m-auto w-full max-w-[1200px]",children:[(0,t.jsx)("h1",{className:"font-medium text-lg mb-6 md:text-display-2xl",children:l}),(0,t.jsx)("div",{children:null==a?void 0:a.map((e,l)=&gt;(0,t.jsx)("div",{className:"".concat(l!=a.length-1&amp;&amp;"mb-6 md:mb-0"),style:{whiteSpace:"nowrap",display:"inline-block"},children:(0,t.jsx)(r.Z,{href:"".concat(null==s?void 0:s.slice(0,-1)).concat(e.url),isExternal:e.isExternal,className:"hover:text-primary-dark text-primary-base transition-colors duration-150 mr-5 text-d-small",children:e.label})},l))})]})}},97263:function(e,l,a){"use strict";a.r(l);var t=a(26705),i=a(24033),r=a(93605),s=a(99997);l.default=e=&gt;{let{longText:l,anchors:a}=e,n=(0,i.usePathname)();return(0,t.jsxs)("div",{className:"py-24 px-8 md:px-0 m-auto w-full max-w-[676px]",children:[l&amp;&amp;(0,t.jsx)("div",{className:"prose-list prose-textAnchorResize mb-4",children:r.Z.html(l)}),(0,t.jsx)("div",{children:null==a?void 0:a.map((e,l)=&gt;(0,t.jsx)("div",{className:"".concat(l!=a.length-1&amp;&amp;"mb-6 md:mb-0"),style:{whiteSpace:"nowrap",display:"inline-block",fontWeight:500,fontSize:"1.25rem"},children:(0,t.jsx)(s.Z,{href:"".concat(null==n?void 0:n.slice(0,-1)).concat(e.url),isExternal:e.isExternal,className:"hover:text-primary-dark text-primary-base transition-colors duration-150 mr-5",children:e.label})},l))})]})}},39666:function(e,l,a){"use strict";a.r(l),a.d(l,{default:function(){return widgets_RAGlobe}});var t=a(26705),i=a(20955),r=a(74521),_3DMap=e=&gt;{let{onLoadHandler:l}=e;return(0,t.jsx)(r.Z,{className:"z-20 relative scale-125 md:scale-100 -top-24",onLoad:l,scene:"https://prod.spline.design/v76Ma-62k1leOWDk/scene.splinecode"})},ResearchMap_BGLines=e=&gt;{let{}=e;return(0,t.jsxs)("div",{className:"absolute top-0 left-0 h-full w-full z-10",children:[(0,t.jsx)("div",{className:"w-px h-full bg-white absolute left-0"}),(0,t.jsx)("div",{className:"w-px h-full bg-white absolute left-[25%]"}),(0,t.jsx)("div",{className:"w-px h-full bg-white absolute left-[50%]"}),(0,t.jsx)("div",{className:"w-px h-full bg-white absolute left-[75%]"}),(0,t.jsx)("div",{className:"w-px h-full bg-white absolute left-[100%]"})]})},ResearchMap_MapControls=e=&gt;{let{viewContinentHandler:l}=e,[a,r]=(0,i.useState)("Global"),[s,n]=(0,i.useState)(!1),o=["Global","Africa","North America","Latin America","Europe","Asia","Australia"],onClickHandler=e=&gt;{l(e),r(e),n(e=&gt;!e)};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"hidden md:block absolute top-1/2 w-1/4 -translate-y-1/2 z-30",children:(0,t.jsx)("ul",{children:null==o?void 0:o.map((e,l)=&gt;(0,t.jsx)("li",{className:"list-none cursor-pointer ".concat(a===e?"bg-white":""),onClick:()=&gt;onClickHandler(e),children:(0,t.jsx)("a",{className:"block px-8 py-4 text-lg text-black font-medium hover:text-primary-base transition-colors select-none",children:e})},l))})}),(0,t.jsx)("div",{className:"md:hidden absolute top-10 left-5 z-30 p-6 w-[calc(100%-40px)]",style:{background:s?"hsla(0,0%,100%,.7)":"#FFFFFF"},children:(0,t.jsxs)("div",{className:"mx-auto md:flex md:items-center max-w-screen-xl w-full",children:[(0,t.jsxs)("div",{className:"flex justify-between items-center",children:[(0,t.jsx)("div",{className:"flex items-center flex-shrink-0 text-black mr-6",children:a}),(0,t.jsx)(e=&gt;{let{handleToggle:l,isMobileMenuOpen:a}=e;return(0,t.jsxs)("button",{onClick:l,children:[!a&amp;&amp;(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"#000",className:"w-6 h-6",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M4 6h16M4 12h16M4 18h16"})}),a&amp;&amp;(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",className:"w-6 h-6 text-gray-700",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M6 18L18 6M6 6l12 12"})})]})},{handleToggle:()=&gt;{n(e=&gt;!e)},isMobileMenuOpen:s})]}),s&amp;&amp;(0,t.jsx)("ul",{className:"pt-7",children:null==o?void 0:o.map((e,l)=&gt;(0,t.jsx)("li",{className:"list-none cursor-pointer",onClick:()=&gt;onClickHandler(e),children:(0,t.jsx)("a",{className:"block py-2",children:e})},l))})]})})]})},s=a(93605),n=a(90872),o=a(99997),d=a(91057),c=a(78240),ResearchMap_MapCard=e=&gt;{let{cardInfos:l,country:a}=e,i=["global","africa","north america","latin america","europe","asia","australia"].findIndex(e=&gt;e==a);return(0,t.jsx)(t.Fragment,{children:null==l?void 0:l.map((e,l)=&gt;{var a;return(0,t.jsx)(c.Z,{initial:"scale-0",animate:"scale-100",className:"absolute md:right-0 bottom-5 md:bottom-[unset] md:top-1/2 md:-translate-y-1/2 md:left-[unset] md:-translate-x-[0] left-1/2 -translate-x-1/2 z-30 ml-0 w-[calc(100%-40px)] md:w-1/4 bg-white rounded-xl shadow-sm min-w-[300px]",render:l===i,children:(0,t.jsx)("div",{children:(0,t.jsx)("ul",{children:null==e?void 0:null===(a=e.items)||void 0===a?void 0:a.map((e,l)=&gt;{var a,i;return(0,t.jsxs)("li",{className:"flex justify-between p-8 border-b-[1px] border-gray-200 last-of-type:border-b-0",children:[(0,t.jsxs)("div",{children:[(null==e?void 0:e.teaserTitle)&amp;&amp;(0,t.jsx)("p",{className:"text-5xl",children:e.teaserTitle}),(null==e?void 0:e.teaserText)&amp;&amp;(0,t.jsx)("p",{className:"mt-4 text-sm",children:s.Z.stripHtml(e.teaserText)})]}),(0,t.jsx)("div",{children:(0,t.jsx)(o.Z,{href:null===(i=(0,n.VY)(null==e?void 0:e.teaserTargets))||void 0===i?void 0:null===(a=i[0])||void 0===a?void 0:a.url,isExternal:!0,children:(0,t.jsx)(d.Z,{type:"arrowRightCard",className:"fill-black w-[14px] h-[14px]"})})})]},l)})})})},l)})})},widgets_RAGlobe=e=&gt;{let{cardInfos:l}=e,a=(0,i.useRef)(),[r,s]=(0,i.useState)(!1),[n,o]=(0,i.useState)("global");return(0,t.jsx)("div",{className:"bg-[#FDF9F5] overflow-hidden",children:(0,t.jsxs)("div",{className:"relative max-w-screen-xl m-auto",children:[(0,t.jsx)(ResearchMap_BGLines,{}),(0,t.jsx)("div",{className:"h-[940px] md:h-[1168px]",children:(0,t.jsx)(_3DMap,{onLoadHandler:e=&gt;{let l=["global","africa","north america","latin america","europe","asia","australia"],t=[];for(let a=0;a&lt;l.length;a++){let i=e.findObjectByName(l[a]);t.push(i)}a.current=t,s(!0)}})}),r&amp;&amp;(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(ResearchMap_MapControls,{viewContinentHandler:e=&gt;{let l=a.current,t=l.find(l=&gt;(null==l?void 0:l.name.toLocaleLowerCase())===e.toLocaleLowerCase());o((null==t?void 0:t.name)?null==t?void 0:t.name:"global"),null==t||t.emitEvent("mouseDown")}}),(0,t.jsx)(ResearchMap_MapCard,{country:n,cardInfos:l})]})]})})}},90888:function(e,l,a){"use strict";a.r(l),a.d(l,{default:function(){return widgets_ResearchArticleList}});var t=a(26705),i=a(48044),r=a(38038),s=a(24033),n=a(20955),o=a(11595),d=a(11452),c=a(24848),u=a(45073),m=a(82974),ResearchArticleList_ResearchArticleListWrapper=e=&gt;{let{filter:l,sort:a,settings:i}=e,r=(0,s.usePathname)(),{state:x}=(0,o.Z)(),{isPending:h,data:v}=(0,d.Z)(x,"__OS_RA__"),[p,b]=(0,n.useState)();return(0,n.useEffect)(()=&gt;{h||b(v)},[v,h]),(0,t.jsx)(m.Z,{threshold:0,children:(null==r?void 0:r.replace(/\//g,""))==="research"&amp;&amp;(0,t.jsx)("div",{children:(0,t.jsxs)(c.Z,{data:{articles:(null==p?void 0:p.articles)||[],numFound:(null==p?void 0:p.numFound)||0,filter:l,sort:a,settings:i},children:[(0,t.jsxs)(c.Z.Filters,{children:[(0,t.jsx)(u.Z.Regions,{}),(0,t.jsx)(u.Z.PopulationCategories,{}),(0,t.jsx)(u.Z.Keyword,{})]}),(0,t.jsx)(c.Z.Sort,{}),(0,t.jsx)(c.Z.ResearchGrid,{}),(0,t.jsx)(c.Z.Pagination,{})]})})})},x=a(46550),widgets_ResearchArticleList=e=&gt;{let{keywords:l,populationCat:a,regions:s,studies:n,filterHeader:o,countHeader:d,settings:c}=e,u=((null==c?void 0:c.Order)||[]).map((e,l)=&gt;({label:e,value:l})),m=new i.S;return(0,t.jsx)(r.aH,{client:m,children:(0,t.jsx)(x.Z,{children:(0,t.jsx)(ResearchArticleList_ResearchArticleListWrapper,{sort:{options:u},settings:c,filter:{filterHeader:o,regions:s,studies:n,populationCat:a,keywords:l,countHeader:d}})})})}},59047:function(e,l,a){"use strict";a.r(l);var t=a(26705),i=a(93605),r=a(82974);l.default=e=&gt;{let{itemTableTextColumnOneRowOne:l,itemTableTextColumnOneRowTwoText:a,itemTableTextColumnOneRowTwoTitle:s,itemTableTextColumnTwoRowTwoText:n,itemTableTextColumnTwoRowTwoTitle:o}=e;return(0,t.jsx)(r.Z,{className:"bg-primary-base text-white text-center px-12",children:(0,t.jsxs)("div",{className:"py-[51px] md:py-[67px] max-w-screen-sm m-auto",children:[(0,t.jsx)("div",{className:"flex mb-8 md:mb-12",children:(0,t.jsx)("div",{className:"text-[24px] md:text-[36px] font-light",children:i.Z.html(l)})}),(0,t.jsxs)("div",{className:"grid gap-12 grid-cols-tableTextOneTwo md:gap-3",children:[(s||a)&amp;&amp;(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{className:"text-m-body md:text-d-body font-medium mb-2",children:i.Z.html(s)}),(0,t.jsx)("div",{className:"text-[14px] md:text-d-body font-light",children:i.Z.html(a)})]}),(o||n)&amp;&amp;(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{className:"text-m-body md:text-d-body font-medium mb-2",children:i.Z.html(o)}),(0,t.jsx)("div",{className:"text-[14px] md:text-d-body font-light",children:i.Z.html(n)})]})]})]})})}},81244:function(e,l,a){"use strict";a.r(l);var t=a(26705),i=a(16035);l.default=e=&gt;{let{articles:l}=e;return(0,t.jsx)("div",{className:"grid gap-4 md:gap-8 grid-cols-1 md:grid-cols-3 mb-8 m-auto w-full max-w-[1200px]",children:(l||[]).map((e,l)=&gt;{var a;return(0,t.jsxs)(i.Z,{...e,settings:{Filter_Population:[],Filter_Regions:[],Filter_Types:[],Order:[],Translations:["","","","","","","","","",(null==e?void 0:null===(a=e.cta)||void 0===a?void 0:a.label)||""]},children:[(0,t.jsx)(i.Z.Year,{}),(0,t.jsx)(i.Z.Title,{}),(0,t.jsx)(i.Z.LongText,{}),(0,t.jsx)(i.Z.Tags,{}),(0,t.jsx)(i.Z.Action,{children:(0,t.jsx)(i.Z.Cta,{})})]},l)})})}},8674:function(e,l,a){"use strict";a.r(l);var t=a(26705),i=a(93605),r=a(53452),s=a(82974),n=a(81240),o=a(48655);l.default=e=&gt;{let{header:l,longText:a,backgroundColor:d,color:c,alignment:u,button:m,picture:x}=e,h=(0,r.Z)(),v=h({initial:["h2","mobile"],md:["h2","desktop"]}),p=x?"text-[20px] md:text-[30px]":v,b=(l||"").length&lt;81,g="".concat(x?"sm:max-w-[576px]":"sm:max-w-[100%]"),f=m?"max-w-[311px] sm:max-w-[752px]":"";return(0,t.jsx)(s.Z,{className:"w-full flex px-8 ".concat(b?"md:h-full":"md:h-[648px]"," ").concat("Left-Align"===u?"text-left":"text-center"),style:{backgroundColor:d,color:c},children:(0,t.jsxs)("div",{className:"py-16 md:py-24 m-auto w-full max-w-[960px]",children:[x&amp;&amp;(0,t.jsx)("div",{className:"relative",children:(0,t.jsx)(o.default,{alt:x,src:x,className:"w-[576px] h-full m-auto my-4 object-contain"})}),l&amp;&amp;(0,t.jsx)("h2",{className:"m-auto ".concat(a&amp;&amp;"mb-6"," ").concat(p," font-light ").concat(g," ").concat(f),children:l}),a&amp;&amp;(0,t.jsx)("div",{className:"m-auto font-light ".concat(x?"text-m-body":"text-m-body md:text-d-body","  ").concat(g," ").concat(f),children:i.Z.html(a)}),m&amp;&amp;(0,t.jsx)("div",{className:"max-w-[311px] sm:max-w-[752px] m-auto",children:(0,t.jsx)(n.Z,{className:"mt-10",icon:"external",size:"mini",href:null==m?void 0:m.url,isExternal:!0,children:null==m?void 0:m.teaserTitle})})]})})}},12471:function(e,l,a){"use strict";a.r(l);var t=a(26705),i=a(93605),r=a(82974),s=a(81240);l.default=e=&gt;{let{title:l,longText:a,buttons:n,backgroundColor:o,color:d}=e,c=n.length?"max-w-[311px] sm:max-w-[752px]":"";return(0,t.jsx)(r.Z,{className:"w-full flex px-8 text-justify",style:{backgroundColor:o,color:d},children:(0,t.jsxs)("div",{className:"py-16 md:py-24 m-auto w-full max-w-[960px]",children:[l&amp;&amp;(0,t.jsx)("h2",{className:"m-auto text-[20px] md:text-[30px] ".concat(a&amp;&amp;"mb-6"," ").concat(c),children:l}),a&amp;&amp;(0,t.jsx)("div",{className:"m-auto font-light text-m-body md:text-d-body sm:max-w-[100%] ".concat(c),children:i.Z.html(a)}),(0,t.jsx)("div",{className:"max-w-[311px] sm:max-w-[752px] m-auto",children:null==n?void 0:n.map((e,l)=&gt;(0,t.jsx)(s.Z,{className:"mt-10 mr-1",icon:"external",size:"mini",href:null==e?void 0:e.url,isExternal:null==e?void 0:e.isExternal,children:null==e?void 0:e.label},l))})]})})}},54530:function(e,l,a){"use strict";a.r(l);var t=a(26705),i=a(93605),r=a(53452),s=a(82974),n=a(81240),o=a(48655);l.default=e=&gt;{let{header:l,longText:a,backgroundColor:d,color:c,button:u,picture:m}=e,x=(0,r.Z)(),h=x({initial:["h2","mobile"],md:["h2","desktop"]}),v=m?"text-[20px] md:text-[30px]":h,p=(l||"").length&lt;81,b="".concat(m?"sm:max-w-[576px]":"sm:max-w-[100%]"),g=u?"max-w-[311px] sm:max-w-[752px]":"";return(0,t.jsx)(s.Z,{className:"w-full flex px-8 text-left ".concat(p?"md:h-full":"md:h-[648px]"),style:{backgroundColor:d,color:c},children:(0,t.jsxs)("div",{className:"py-16 md:py-24 m-auto w-full max-w-[660px]",children:[m&amp;&amp;(0,t.jsx)("div",{className:"relative",children:(0,t.jsx)(o.default,{alt:m,src:m,className:"w-[576px] h-full m-auto my-4 object-contain"})}),l&amp;&amp;(0,t.jsx)("h2",{className:"m-auto ".concat(a&amp;&amp;"mb-6"," ").concat(v," font-light ").concat(b," ").concat(g),children:l}),a&amp;&amp;(0,t.jsx)("div",{className:"m-auto font-light ".concat(m?"text-m-body":"text-m-body md:text-d-body","  ").concat(b," ").concat(g," prose-textResizeDesktop"),children:i.Z.html(a)}),u&amp;&amp;(0,t.jsx)("div",{className:"max-w-[311px] sm:max-w-[752px] m-auto",children:(0,t.jsx)(n.Z,{className:"mt-10",size:"mini",intent:"negative",href:null==u?void 0:u.url,children:null==u?void 0:u.label})})]})})}},51340:function(e,l,a){"use strict";a.r(l);var t=a(26705),i=a(93605),r=a(82974);l.default=e=&gt;{let{header:l,longText:a,sectionId:s}=e;return(0,t.jsx)(r.Z,{className:"w-full flex px-8 text-justify",children:(0,t.jsxs)("div",{id:s||"",className:"py-16 md:py-24 m-auto w-full max-w-[1200px]",children:[l&amp;&amp;(0,t.jsx)("h2",{className:"m-auto ".concat(a&amp;&amp;"md:mb-6","  text-4xl font-light"),children:l}),a&amp;&amp;(0,t.jsx)("div",{className:"m-auto font-light md:prose-tableSpacingDesktop prose-tableSpacingMobile ",children:i.Z.html(a)})]})})}},98113:function(e,l,a){"use strict";a.r(l);var t=a(26705),i=a(48655),r=a(93605);l.default=e=&gt;{let{header:l,longText:a,background:s}=e;return(0,t.jsxs)("div",{className:"md:min-h-[576px] flex items-center py-12 lg:py-24 px-4 relative",children:[s&amp;&amp;(0,t.jsx)("div",{className:"absolute top-0 left-0 w-full h-full z-10",children:(0,t.jsx)(i.default,{src:s,alt:s,className:"w-full h-full"})}),(0,t.jsxs)("div",{className:"max-w-[576px] m-auto py-4 z-20",children:[l&amp;&amp;(0,t.jsx)("h2",{className:"max-w-[526px] font-light mb-6 text-m-h2 md:text-d-h2",children:l}),a&amp;&amp;(0,t.jsx)("div",{className:"prose-list md:prose-textResizeDesktop prose-textResizeMobile",children:r.Z.html(a)})]})]})}},61561:function(e,l,a){"use strict";a.r(l);var t=a(26705),i=a(81240),r=a(82974),s=a(93605);l.default=e=&gt;{let{header:l,longText:a,button:n,url:o}=e;return(0,t.jsx)(r.Z,{className:"relative overflow-visible mb-3",children:(0,t.jsx)("div",{className:"pt-12 px-5",children:(0,t.jsxs)("div",{className:"m-auto w-full max-w-[560px]",children:[(0,t.jsx)("h1",{className:"text-2xl md:text-4xl md:mb-2",children:s.Z.html(l)}),(0,t.jsx)("div",{className:"font-normal py-4",children:s.Z.html(a)}),n&amp;&amp;o&amp;&amp;(0,t.jsx)(i.Z,{className:"mt-2",icon:"external",size:"mini",href:o,isExternal:!0,children:n})]})})})}},40942:function(e,l,a){"use strict";a.r(l);var t=a(26705),i=a(93605),r=a(82974),s=a(20955);l.default=e=&gt;{let{url:l,longText:a,backgroundColor:n,color:o,alignment:d}=e;(0,s.useEffect)(()=&gt;{window.onmessage=function(e){var l;if((null===(l=e.data)||void 0===l?void 0:l.type)==="tourLink"){let l=e.data.url,t=document.querySelector("iframe");null==t||t.setAttribute("src",l);let i=document.querySelectorAll("button");for(var a=0;a&lt;i.length;a++)a&gt;=2&amp;&amp;(i[a].style.backgroundColor=i[a].getAttribute("data-url")===l?"red":"white")}}});let onClickHandler=e=&gt;{let l=document.querySelector("iframe");null==l||l.setAttribute("src",null==e?void 0:e.url);let a=document.querySelectorAll("button");for(var t,i=0;i&lt;a.length;i++)i&gt;=2&amp;&amp;(a[i].style.backgroundColor=(null===(t=a[i])||void 0===t?void 0:t.textContent)===(null==e?void 0:e.location)?"red":"white")};return(0,t.jsxs)(r.Z,{className:"relative w-full px-4 ".concat("Left-Align"===d?"text-left":"text-center"),style:{backgroundImage:n,color:o},children:[(0,t.jsx)("div",{className:"h-full flex top-0 left-0 w-full py-16 md:py-24",children:(0,t.jsx)("div",{className:"max-w-[1440px] m-auto w-full",children:(0,t.jsx)("div",{className:"max-w-[644px] w-full mr-auto",children:a&amp;&amp;(0,t.jsx)("div",{className:"text-d-caption leading-7",children:i.Z.html(a)})})})}),[{location:"Australia",url:"https://my.treedis.com/experience/3469/onesight-australia-1261e8b7"},{location:"USA",url:"https://my.treedis.com/tour/onesight-essilorluxottica-foundation-usa-clinic"},{location:"Italy",url:"https://my.treedis.com/tour/onesight-essilorluxottica-foundation-italy-clinic"},{location:"South Africa",url:"https://my.treedis.com/tour/onesight-essilorluxottica-foundation-sa-clinic-2106a075"},{location:"Philippines",url:"https://my.treedis.com/experience/2817/essilor-luxottica-onesight-foundation-d43c14ca"},{location:"Global Center",url:"https://my.treedis.com/tour/onesight-essilorluxottica-foundation-global-center"}].map((e,l)=&gt;(0,t.jsx)("button",{style:{backgroundColor:5!=l?"white":"red",border:"2px solid black"},className:"px-2 mr-1 mb-1","data-url":null==e?void 0:e.url,onClick:()=&gt;onClickHandler(e),children:null==e?void 0:e.location},l)),(0,t.jsx)("iframe",{src:"https://my.treedis.com/tour/onesight-essilorluxottica-foundation-global-center",className:"mt-2",width:"100%",height:"600px"})]})}},17345:function(e,l,a){"use strict";a.r(l),a.d(l,{default:function(){return widgets_WSDForm}});var t=a(26705),i=a(20955),r=a(54829),s=class{async listRecords(){let e=await r.Z.get(this.endpoint,this.apiConfig);return e.data}async getRecords(e){let l=await r.Z.get("".concat(this.endpoint,"/").concat(e.id),this.apiConfig);return l.data}async createRecords(e){let l=await r.Z.post(this.endpoint,{records:[{fields:e}]},this.apiConfig);return l.data}async updateRecords(e){let l=await r.Z.patch("".concat(this.endpoint,"/").concat(e.id),{fields:{Photos:e.photos}},this.apiConfig);return l}constructor({baseId:e,tableId:l}){this.baseUrl="https://api.airtable.com/v0/",this.baseId="",this.tableId="",this.endpoint="",this.apiConfig={headers:{Authorization:"Bearer ".concat("patsCuRQNPnb77zmY.08aad2ea9b67a9460c0d23abf7c99a8dfe8bdfb1c19dfd6acf7781435ab8391a")},baseURL:this.baseUrl},this.baseId=e,this.tableId=l,this.endpoint="".concat(e,"/").concat(l)}},n=a(55885),o=a.n(n),d=class{async uploadImage(e){let{pictures:l}=e;try{if(!(null==l?void 0:l.length))return null;let e=new(o())({...this.imageKitConfig});for(let a of l){let l={file:a.url,fileName:a.filename},t=await e.upload(l).then(e=&gt;e);this.uploads.push(t)}}catch(e){console.log(e)}}async clearUploads(e){if(!e.length)return;let l=new(o())({...this.imageKitConfig});return await l.bulkDeleteFiles(e)}async clearUpload(e){var l,a,t;if(!e.length)return;let i=null===(t=globalThis)||void 0===t?void 0:null===(a=t.window)||void 0===a?void 0:null===(l=a.location)||void 0===l?void 0:l.origin;await r.Z.post("".concat(i,"/api/imagekit/delete/?id=").concat(e[0]),{...this.imageKitConfig})}constructor({}){this.urlEndpoint="https://ik.imagekit.io/tpp09mp10/",this.publickey="public_jPHj2arv/xxWa8dBhMoJPgHm6xQ=",this.privatekey="private_M6hGEltlZB570L95iqLxxcE3B14=",this.imageKitConfig={privateKey:this.privatekey,publicKey:this.publickey,urlEndpoint:this.urlEndpoint},this.uploads=[]}};async function createWSDEntryClient(e,l){let a={Name:"",Email:"",Region:"",Country:"","Business Unit":"","Business Segment":"",Role:"",Photos:"","What makes it special":"",Time:new Date().toString(),"TC Signed":""},t={Name:["T1","T2"],Email:["T3"],Region:["T4"],Country:["T5"],"Business Segment":["T6"],"Business Unit":["T7"],Role:["T8"],Photos:["addPhotos"],"What makes it special":["T9"],Time:[],"TC Signed":[]},getFormDataValue=l=&gt;{var a;return null===(a=t[l].map(l=&gt;e[l].value))||void 0===a?void 0:a.join(" ")};a.Name=getFormDataValue("Name"),a.Email=getFormDataValue("Email"),a.Region=getFormDataValue("Region"),a.Country=getFormDataValue("Country"),a["Business Segment"]=getFormDataValue("Business Segment"),a["Business Unit"]=getFormDataValue("Business Unit"),a.Role=getFormDataValue("Role"),a["What makes it special"]=getFormDataValue("What makes it special"),a["TC Signed"]=!0;try{var i,r;let e=new d({});if(!(null==l?void 0:l.length))return;await e.uploadImage({pictures:[{filename:"user upload",size:l[0].size,url:l[0].url}]});let t=null===(i=e.uploads)||void 0===i?void 0:i.map(e=&gt;({url:e.url,filename:e.name}));a.Photos=t;let n=new s({baseId:"app6C8q7VYHL7lYPh",tableId:"tbljlKusdIw2xoKQZ"});await n.createRecords(a);let o=null===(r=e.uploads)||void 0===r?void 0:r.map(e=&gt;e.fileId);return await e.clearUpload(o),{success:!0}}catch(e){return console.log(e),{success:!1}}}var c=a(65740),u=a(202),m=a(26093),x=a(64854),h=a(72217),v=a(81240),p=a(48655),UploadPreviewV2=e=&gt;{let{upload:l,index:a,removePicture:i}=e;return(0,t.jsx)("div",{className:"flex justify-between",children:(0,t.jsxs)("div",{className:"p-2 bg-gray-100 flex justify-between w-full",children:[(0,t.jsx)(p.default,{unoptimized:!0,src:l.url,alt:l.filename,className:"w-[40px] h-[40px] object-cover"}),(0,t.jsx)("div",{className:"mr-auto ml-4 my-auto",children:(0,t.jsx)("p",{className:"text-m-caption",children:l.filename})}),(0,t.jsx)("div",{className:"ml-auto mr-3 my-auto",children:(0,t.jsxs)("p",{className:"text-m-caption",children:[Math.round(l.size/1e3),"KB"]})})]})})},UploadV2_form=e=&gt;{let{label:l,errorMessage:a,addPicture:i,removePicture:r,pictures:s,...n}=e,getBase64=e=&gt;{if(e){var l=new FileReader;l.readAsDataURL(e),l.onloadend=function(){l.result&amp;&amp;i({url:l.result,filename:e.name,size:e.size})},l.onerror=function(e){console.log("Error: ",e)}}},onChangeHandler=e=&gt;{var l;getBase64(null===(l=e.target.files)||void 0===l?void 0:l[0])};return(0,t.jsxs)("div",{className:"grid gap-4 p-4 pb-6 mb-0 -m-4 ".concat(a?"bg-error-light text-error-base":""),children:[(0,t.jsx)("label",{children:l}),(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{htmlFor:n.name,className:"overflow-hidden font-medium outline relative transition-all ease-out duration-500 before:h-full before:w-full before:absolute before:top-0 before:left-0 before:z-0 before:ease-out before:duration-500 bg-[#155EEF] text-white rounded-lg pr-5 pl-5 outline-2 -outline-offset-2 text-d-caption px-9 py-3 cursor-pointer",children:n.placeholder}),(0,t.jsx)("input",{...n,id:n.name,type:"file",onChange:e=&gt;{onChangeHandler(e),n.onChange&amp;&amp;n.onChange(e)},accept:"image/png, image/jpeg, image/webp",className:"hidden"})]}),!!s.length&amp;&amp;(0,t.jsx)("div",{className:"grid gap-3",children:null==s?void 0:s.map((e,l)=&gt;(0,t.jsx)(UploadPreviewV2,{index:l,upload:e,removePicture:r},l))})]})},b=a(93605),g=a(48044),f=a(38038),j=a(45771);let QueryComponent=e=&gt;{let{description:l}=e,{data:a}=(0,j.a)({queryKey:[l],queryFn:()=&gt;fetch("/api/fetchDataById/?id=".concat(l)).then(e=&gt;e.json())});return(0,t.jsx)("div",{className:"prose-list mt-8",children:b.Z.html(null==a?void 0:a.detailText)})};var Form_FormContentById=e=&gt;{let{description:l}=e,a=new g.S;return(0,t.jsx)(f.aH,{client:a,children:(0,t.jsx)(QueryComponent,{description:l})})},Checkbox_form=e=&gt;{let{label:l,errorMessage:a,description:i,...r}=e;return(0,t.jsxs)("div",{className:"mt-4",children:[(0,t.jsx)("div",{className:"flex p-4 -m-4 ".concat(a?"bg-error-light text-error-base":""),children:(0,t.jsxs)("label",{className:"select-none",children:[(0,t.jsx)("input",{...r,className:"mr-2",checked:!!r.value}),l]})}),i&amp;&amp;(0,t.jsx)(Form_FormContentById,{description:i})]})},WSDForm_WSDFormGrid=e=&gt;{var l,a;let{formObj:r,addPicture:s,removePicture:n,pictures:o,formHook:d,isPending:c}=e,{register:p,error:b,validateAll:g,formData:f,isValid:j}=d,y=(null===(l=f.email)||void 0===l?void 0:l.value)===(null===(a=f.ConfirmEmailBox)||void 0===a?void 0:a.value),generateInput=(e,l)=&gt;{var a,r;switch(e.type){case"TextBox":return(0,i.createElement)(m.Z,{...e,...p(e.name,{required:!0}),errorMessage:b[e.name]?e.errorMessage:null,key:l});case"ConfirmEmailBox":return(0,i.createElement)(m.Z,{...e,...p(e.name,{required:!0}),errorMessage:!y||b[e.name]?e.errorMessage:null,key:l});case"EmailBox":return(0,i.createElement)(m.Z,{...e,...p(e.name,{required:!0,pattern:/^(([^&lt;&gt;()[\]\\.,;:\s@"]+(\.[^&lt;&gt;()[\]\\.,;:\s@"]+)*)|.(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/}),errorMessage:b[e.name]?e.errorMessage:null,key:l});case"CountryOfesidenceSelectionBox":return(0,i.createElement)(x.Z,{...e,...p(e.name,{required:!0}),errorMessage:b[e.name]?e.errorMessage:null,placeholder:e.label,options:u.Gd,key:l});case"RegionSelectionBox":case"DropdownWithList":return(0,i.createElement)(x.Z,{...e,...p(e.name,{required:!0}),errorMessage:b[e.name]?e.errorMessage:null,placeholder:e.label,options:(null==e?void 0:e.options)||[],key:l});case"TextArea":return(0,i.createElement)(h.Z,{...e,...p(e.name,{required:!0}),errorMessage:b[e.name]?e.errorMessage:null,rows:10,key:l});case"Attachment":return(0,i.createElement)(UploadV2_form,{...e,...p("addPhotos",{required:!0,type:"file"}),errorMessage:(null==f?void 0:null===(a=f.addPhotos)||void 0===a?void 0:a.error)?e.errorMessage:null,addPicture:s,removePicture:n,pictures:o,placeholder:e.errorMessage,key:l});case"CheckBox":return(0,i.createElement)(Checkbox_form,{...e,...p(e.name,{type:"checkbox",required:!0}),errorMessage:(null==f?void 0:null===(r=f[e.name])||void 0===r?void 0:r.error)?"true":null,key:l});case"submitButton":return(0,t.jsxs)(v.Z,{intent:"positive",className:"w-fit mt-4",disabled:c,id:"WSDFormSubmitter",onClick:e=&gt;{if(g(),!j||!o.length){var l;e.preventDefault(),null===(l=document.querySelector(".PhotoContestForm"))||void 0===l||l.scrollIntoView({behavior:"smooth"})}},children:[c&amp;&amp;(0,t.jsxs)("div",{className:"lds-facebook",children:[(0,t.jsx)("div",{}),(0,t.jsx)("div",{}),(0,t.jsx)("div",{})]}),!c&amp;&amp;e.label]});default:return(0,t.jsx)(t.Fragment,{})}};return(0,t.jsx)("div",{className:"grid gap-6",children:r.map((e,l)=&gt;(0,t.jsx)("div",{children:generateInput(e,l)},l))})},widgets_WSDForm=e=&gt;{let{formInputs:l,title:a,successMessage:r,anchor:s}=e,n=(0,c.Z)(),[o,d]=(0,i.useState)([]),[u,m]=(0,i.useState)(!1),removePicture=e=&gt;{d(l=&gt;l.filter((l,a)=&gt;a!==e))},onActionHandler=async e=&gt;{e.preventDefault(),m(!0);let l=await createWSDEntryClient(n.formData,o);(null==l?void 0:l.success)?(n.reset(),removePicture(0),alert(r)):alert("Submission failed, please contact our administrator."),m(!1)};return(0,t.jsxs)("div",{className:"py-12 md:py-24",id:s,children:[a&amp;&amp;(0,t.jsx)("div",{className:"m-auto text-center text-m-h2 md:text-d-h2 mb-8 max-w-lg px-4",children:(0,t.jsx)("h1",{children:a})}),(0,t.jsx)("form",{className:"px-8 m-auto max-w-lg",id:"WSDForm",onSubmit:onActionHandler,children:(0,t.jsx)(WSDForm_WSDFormGrid,{formObj:l,addPicture:e=&gt;{let l=e.size/1e3;l/1e3&gt;20?alert("File size requirement exceeded"):e&amp;&amp;d([e])},removePicture:removePicture,pictures:o,formHook:n,isPending:u})})]})}}},function(e){e.O(0,[6990,210,8218,1866,1513,3994,3795,1639,1474,4121,5290,1744],function(){return e(e.s=59289)}),_N_E=e.O()}]);</pre></body></html>