1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7168],{74611:function(e,t,r){var l=r(24246);r(27378),t.Z=e=>{let{styles:t={},...r}=e;return(0,l.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",...r,children:(0,l.jsxs)("g",{fill:"none",children:[(0,l.jsx)("path",{fill:"#C7CACE",d:"M4 0c-.55 0-1 .45-1 1v14c0 .55.45 1 1 1h10c.55 0 1-.45 1-1V4l-4-4H4z"}),(0,l.jsx)("path",{fill:"#939598",d:"M12 4h3l-4-4v3c0 .55.45 1 1 1z"}),(0,l.jsx)("path",{fill:"#E00034",d:"M13 13c0 .275-.225.5-.5.5h-11A.501.501 0 011 13V8c0-.275.225-.5.5-.5h11c.275 0 .5.225.5.5v5z"}),(0,l.jsx)("path",{fill:"#FFF",d:"M3.18 9.474c0-.132.103-.276.27-.276h.924c.52 0 .988.348.988 1.015 0 .632-.468.984-.988.984h-.667v.528c0 .176-.112.276-.256.276a.27.27 0 01-.272-.276V9.474zm.527.227v.996h.667c.268 0 .48-.236.48-.484 0-.28-.212-.511-.48-.511h-.667zm2.438 2.3c-.132 0-.276-.073-.276-.248V9.482c0-.144.144-.248.276-.248h.916c1.827 0 1.787 2.767.036 2.767h-.952zm.252-2.279v1.791h.664c1.08 0 1.127-1.791 0-1.791h-.664zm3.099.032v.635h1.02c.143 0 .287.144.287.284 0 .132-.144.24-.288.24h-1.02v.84c0 .14-.099.247-.239.247-.176 0-.283-.108-.283-.248v-2.27c0-.144.108-.249.283-.249h1.404c.176 0 .28.105.28.248a.276.276 0 01-.28.272H9.496v.001z"})]})})}},76636:function(e,t,r){r.d(t,{j:function(){return s}});var l=r(24246),i=r(76387),n=r(86677);r(27378);var o=e=>{let{styles:t={},...r}=e;return(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",stroke:"currentColor",className:(t.feather||"feather")+" "+(t["feather-rss"]||"feather-rss"),...r,children:[(0,l.jsx)("path",{d:"M4 11a9 9 0 019 9M4 4a16 16 0 0116 16"}),(0,l.jsx)("circle",{cx:"5",cy:"19",r:"1"})]})},a=r(83941);let s=e=>{let{isRssCopied:t,setIsRssCopied:r,...s}=e,{locale:d}=(0,n.useRouter)(),{general:u,stringify:c}=(0,a.$Y)();return(0,l.jsxs)(i.zx,{size:"xs",variant:"clear",borderRadius:0,padding:"5px !important",as:"a",display:"flex",alignItems:"center",href:"/api/robe/rss/".concat(null!=d?d:"en"),target:"_blank",whiteSpace:"pre",onClick:e=>{e.preventDefault(),navigator.clipboard.writeText("".concat(window.location.protocol,"//").concat(window.location.host,"/api/robe/rss/").concat(null!=d?d:"en")).then(()=>{r(!0)})},...s,children:[(0,l.jsx)(i.xu,{mr:".4rem",width:"24px",height:"24px",children:(0,l.jsx)(o,{})})," ",t?c(u.values.rssCopied):"RSS"]})}},15388:function(e,t,r){var l=r(24246),i=r(87685),n=r(76387),o=r(15998),a=r(65910);t.Z=e=>{let{news:t,backTo:r,...s}=e;return(0,l.jsx)(a.Z,{width:"100%",dots:!0,bg:"transparent",slides:t.map(e=>(0,l.jsx)(n.kC,{justifyContent:"center",width:"100%",children:(0,l.jsx)(i._3,{content:e,variant:"simple",style:{maxWidth:"30rem",overflow:"hidden",height:"100%",width:"100%"},...r&&{query:"?backto=".concat(r)},children:(0,l.jsx)(o.Z,{content:e,variant:"default"})},e.id)},0)),responsive:{desktop:{breakpoint:{max:3e3,min:768},items:1},sm:{breakpoint:{max:767,min:480},items:1},xs:{breakpoint:{max:479,min:0},items:1}},arrows:!1,pb:"8rem",...s})}},35142:function(e,t,r){r.d(t,{o:function(){return m}});var l=r(24246),i=r(87685),n=r(76387),o=r(45495),a=r(46197),s=r(86677),d=r(83941),u=r(46737),c=r(27378);t.Z=e=>{let{products:t,category:r,year:m,onChange:h}=e,{locale:g}=(0,s.useRouter)(),{stringify:p}=(0,d.$Y)(),v=(0,i.bL)();return((0,c.useEffect)(()=>{("en-SEA"===g||"en-NA"===g)&&(0,u.Mr)({type:"debug",debugBlock:"filters",message:"news filters options",context:{category:r,products:t}})},[]),v.values)?(0,l.jsx)(n.Kq,{direction:{_:"column",sm:"row"},gap:{_:"1.5rem",sm:"3rem"},children:[(0,l.jsx)(n.xu,{width:"100%",children:(0,l.jsx)(o.NI,{labelText:p(v.values.productPlaceholder),children:(0,l.jsx)(a.Z,{...null==t?void 0:t[0],onChange:h("product"),placeholder:p(v.values.realProductPlaceholder),isMulti:!0})})},"product"),(0,l.jsx)(n.xu,{width:"100%",children:(0,l.jsx)(o.NI,{labelText:p(v.values.categoryPlaceholder),children:(0,l.jsx)(a.Z,{...r[0],onChange:e=>{(0,u.Mr)({type:"debug",message:"News category filter change",debugBlock:"filters",context:{e,category:r,products:t}}),h("category")(e)},placeholder:p(v.values.realCategoryPlaceholder),isMulti:!0})})},"category"),"fr"!==g&&(0,l.jsx)(n.xu,{width:"100%",children:(0,l.jsx)(o.NI,{labelText:p(v.values.yearPlaceholder),children:(0,l.jsx)(a.Z,{...m[0],onChange:e=>h("year")([e]),placeholder:p(v.values.realYearPlaceholder),isClearable:!0})})}
1,"fr")].filter(Boolean)}):null};let m=(e,t)=>e.map(e=>({label:t(e.title),value:e.id})).sort((e,t)=>e.label.localeCompare(t.label))},47168:function(e,t,r){r.d(t,{_Y:function(){return P},PH:function(){return M},G9:function(){return m},o9:function(){return h.o},A$:function(){return q},ZD:function(){return Y}});var l=r(24246),i=r(87685),n=r(76387),o=r(83941),a=r(15998);let s=()=>{var e,t;let r=(0,i.bL)(),[s]=(0,i.CT)(),[u]=(0,i.h0)(),{header:c,general:m,stringify:h}=(0,o.$Y)(),g="news"===r.type,p=g?c.nav.newsPage:c.nav.caseStudiesPage,v=s.filter(e=>e.id!==r.id).slice(0,4);return 0===v.length?null:(0,l.jsxs)(n.xu,{children:[(0,l.jsx)(n.ZT,{variant:"h3",as:"h2",textAlign:"center",mb:"2rem",children:h(u.values.discoverMoreNews)}),g&&(0,l.jsx)(n.kC,{justifyContent:"center",flexWrap:"wrap",mb:"3rem",children:null===(t=r.subCategories)||void 0===t?void 0:null===(e=t["news-categories"])||void 0===e?void 0:e.map(e=>(0,l.jsx)(i._3,{content:c.nav.newsPage,queries:{category:e.id},variant:"simple",children:(0,l.jsx)(n.Vp,{variant:"outline",...d,children:h(e.name)},"tag_"+e.id)},e.id))}),(0,l.jsxs)(n.kC,{width:"100%",justifyContent:"center",alignItems:"center",flexDirection:"column",children:[(0,l.jsx)(n.MI,{gap:"3rem",columns:{_:1,sm:2,lg:4},column:"minmax(100px, 300px)",width:{_:"auto",lg:"100%"},children:v.map(e=>(0,l.jsx)(i._3,{content:e,height:"100%",children:(0,l.jsx)(a.Z,{content:e,variant:"outline"})},e.id))}),(0,l.jsx)(i._3,{content:p,variant:"simple",children:(0,l.jsx)(n.zx,{as:"div",mt:{_:"3rem",sm:"6rem"},children:h(m.values.readMore)})})]})]})},d={margin:".5rem",cursor:"pointer",transition:"background 300ms",color:"#E00034",borderColor:"#E00034",_hover:{background:"#E00034",color:"#fff"}};var u=r(18869),c=r(27378);let m=e=>{let{contents:t}=e;return(0,l.jsx)(n.MI,{gap:"3rem",columns:{_:1,sm:2,md:4,lg:4},column:"minmax(100px, 300px)",width:{_:"auto",lg:"100%"},mb:{_:"3rem",sm:"6rem"},style:{gridAutoFlow:"row dense"},children:null==t?void 0:t.map(e=>e.type&&e.slug&&e.values?(0,l.jsx)(n.bL,{display:"flex",justifyContent:"center",..."fullBackgroundAndWide"===e.values.layout&&{gridColumn:{_:"span 1",sm:"span 2"}},children:(0,l.jsx)(u._3,{content:e,style:{width:"100%",height:"100%"},children:(0,l.jsx)(a.Z,{content:e,variant:"outline",couldBeLarge:!0,zIndex:1,width:"100%"})})},e.id):(0,l.jsx)(c.Fragment,{},e.id))})};r(15388);var h=r(35142),g=r(41312);let p=(0,g.ZP)(n.xu).withConfig({componentId:"sc-de052ebc-0"})(["position:relative;& > div{& > *:not(:last-child){margin-bottom:2rem;}}"]);var v=e=>{let{children:t,...r}=e;return(0,l.jsx)(p,{width:"100%",...r,children:t})},x=r(65389),f=r(60665),b=r(37235),j=r(74611),w=r(29791),y=r(66370),_=r(35286),k=r(22052),C=r(70348),Z=r(76636),z=r(38181),A=r(5800),I=r(89293),S=r(27061);let B={_liClassName:"pdf-list-li",_ulClassName:"pdf-list"},M=e=>{var t,r,i,a,s,d,m;let{news:{id:h,publishedAt:g,values:p},newsDetailPage:j,pdf:w,richtextProducts:y,hideRss:_}=e,{stringify:k,formatDate:C,localize:M,image:P}=(0,o.$Y)(),[T,W]=(0,c.useState)(!1),E=M(g),R=E?null===(t=C(E))||void 0===t?void 0:t.replace(/\//g," / "):null,L=M(null==p?void 0:p.html),F=null===(r=p.products)||void 0===r?void 0:r.filter(e=>!!e.title&&!!e.type&&!!e.slug&&!!e.values),D=null!==(s=S.env.NEXT_PUBLIC_BUZZSPROUT_ACCOUNT_ID)&&void 0!==s?s:"2411650",H=null!==(d=null==p?void 0:null===(i=p.videos)||void 0===i?void 0:i.filter(e=>(null==e?void 0:e.type)&&(null==e?void 0:e.title)&&(null==e?void 0:e.values)))&&void 0!==d?d:[],Y=new Map(null!==(m=null==y?void 0:y.map(e=>[e.id,e]))&&void 0!==m?m:[]);return(0,c.useEffect)(()=>{let e=p.buzzsproutEpisodeId;if(e){let t=document.createElement("script");return t.src="https://www.buzzsprout.com/".concat(D,"/episodes/").concat(e,".js?container_id=buzzsprout-player-").concat(e,"&player=small"),t.type="text/javascript",t.charset="utf-8",t.async=!0,document.body.appendChild(t),()=>{document.body.removeChild(t)}}},[D,p.buzzsproutEpisodeId]),(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)(n.xu,{width:"85rem",maxWidth:"100%",margin:"auto",children:[(0,l.jsxs)(n.xu,{display:"flex",height:"4rem",alignItems:"center",children:[R&&(0,l.jsx)(n.ZT,{width:"100%",fontSize:"1.2rem",lineHeight:"1.6rem",color:"#939598",textAlign:"center",dangerouslySetInnerHTML:{__html:R}}),!w&&!_&&(0,l.jsx)(n.xu,{position:"relative",display:"flex",alignItems:"center",children:(0,l.jsx)(Z.j,{position:"absolute",right:0,isRssCopied:T,setIsRssCopied:W})})]}),(0,l.jsx)(n.ZT,{variant:"h1",textAlign:"center",mt:".5rem",children:(0,l.jsx)(u.CR,{value:k(p.title)})}),(0,l.jsx)(n.Kq,{direction:"column",gap:"1rem",px:{_:"1.5rem",sm:"0"},my:"4rem",children:null===(a=p.paramsOrFeatures)||void 0===a?void 0:a.map((e,t)=>{var r,i,n;let o=(null===(i=e.type)||void 0===i?void 0:null===(r=i.values)||void 0===r?void 0:r.image)?P(e.type.values.image):null;return o&&(0,l.jsx)(A.Z,{name:k(null===(n=e.type)||void 0===n?void 0:n.title),description:(0,l.jsx)(I.Z,{value:e.description,_strong:{color:"darkGray"},productsMap:Y,isPdfRichtext:w,...w?B:{}}),icon:o},t)})}),F&&(0,l.jsxs)(n.xu,{width:"100%",mt:"3rem",children:[(0,l.jsx)(n.ZT,{variant:"h3",as:"h2",mb:{_:".5rem",md:"1.5rem"},textAlign:{_:"center"},children:k(j.values.productInvolved)}),(0,l.jsx)(x.Z,{children:(0,l.jsx)(n.Kq,{gap:"1.5rem",direction:"row",justifyContent:"center",flexWrap:"wrap",flexFlow:"wrap",children:F.map(e=>(0,l.jsx)(f.Z,{popover:w?(0,l.jsx)(l.Fragment,{}):(0,l.jsx)(u._3,{content:e,noUILink:!0,children:(0,l.jsx)(b.Z,{product:e,width:"30rem",cursor:"pointer"})}),_popover:{marginLeft:{_:"0",md:"50%"},left:{_:"50%",md:"auto"},borderTop:"0.6rem solid transparent"},children:(0,l.jsx)(u._3,{content:e,queries:{backto:h},mt:".5rem",children:(0,l.jsx)("span",{style:{color:"#e00034"},children:k(e.title)})})},e.id))})})]}),p.buzzsproutEpisodeId&&(0,l.jsx)(N,{id:"buzzsprout-player-".concat(p.buzzsproutEpisodeId),width:{_:"100%",sm:"80%"},margin:"0 auto",my:"3rem"}
1),k(p.intro)&&(0,l.jsx)(n.ZT,{variant:"lead",textAlign:"center",mt:p.buzzsproutEpisodeId?0:"4rem",mb:"3rem",children:k(p.intro)}),L&&(0,l.jsx)(n.xu,{mb:{_:"3rem"},children:(0,l.jsx)("div",{className:w?"pdf-html-list-scope":void 0,dangerouslySetInnerHTML:{__html:L}})})]}),H.length>0&&(0,l.jsx)(n.xu,{mb:{_:"1rem",sm:"6rem"},px:{...H.length>1&&{_:"2rem",md:"9rem"},md:"7rem",lg:"16rem",xl:"22rem"},children:(0,l.jsx)(z.Z,{videos:H,forceSingleCarousel:!0})}),(0,l.jsx)(n.xu,{width:"85rem",maxWidth:"100%",margin:"auto",children:(0,l.jsx)(v,{children:(0,l.jsx)(I.Z,{value:p.content,_strong:{color:"darkGray"},isPdfRichtext:w,...w?B:{}})})})]})},N=(0,g.ZP)(n.xu).withConfig({componentId:"sc-8e917e17-0"})(["& iframe{transform:scale(0.95);}"]),P=e=>{var t,r,o,a;let{hideRss:d}=e,{stringify:c,image:m}=(0,u.lV)(),h=(0,i.bL)(),[g]=(0,i.h0)(),{values:p,locales:v}=h,x=(0,i.et)(),f=(null==x?void 0:x.data).contents,b=(0,_.g)(),Z=(0,C.oC)({id:h.id,contentLocales:v,type:h.type}),z=(null==p?void 0:p.thumbnail)?m(p.thumbnail,{width:600,height:450}):p.images?m(p.images[0],{width:1290,height:726}):null,A=(null==p?void 0:p.thumbnail)?m(p.thumbnail,{width:600,height:450}):null,I=(null===(t=p.images)||void 0===t?void 0:t[0])?m(null===(r=p.images)||void 0===r?void 0:r[0],{width:1290,height:726}):null,S=Array.isArray(p.images)?null===(o=p.images)||void 0===o?void 0:o.map(e=>({src:m(e),alt:e.id,retina:m(e)})):[];return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(y.Z,{googleStructuredData:b,title:[c(p.title)],description:c(p.title),...z&&{img:z},img:null!==(a=null!=A?A:I)&&void 0!==a?a:void 0}),(0,l.jsxs)(n.W2,{flexDirection:"column",paddingTop:{_:"3rem",sm:"5rem"},paddingBottom:{_:"6rem",sm:"10rem"},children:[(0,l.jsx)(M,{news:h,newsDetailPage:g,richtextProducts:f,hideRss:d}),p.images&&(0,l.jsx)(n.xu,{mt:{_:"4rem",sm:"8rem"},mb:{_:"2rem",sm:"8rem"},children:(0,l.jsx)(w.Z,{disableScroll:!0,hideSubHeader:!0,fitToPageContent:!0,images:S})}),Z&&(0,l.jsx)(n.kC,{justifyContent:"center",flexWrap:"wrap",width:"100%",children:(0,l.jsx)(k.hU,{as:"a",mb:"8rem",target:"_blank",href:Z,bg:"black",icon:(0,l.jsx)(j.Z,{}),boxShadow:"0 3.5rem 2.5rem -2.5rem rgba(30, 30, 30, 1)",children:c(g.values.showPdfBtn)})}),(0,l.jsx)(s,{})]})]})};var T=r(46737),W=r(86677);let E=async function(e,t){let{year:r,category:l,product:i,...n}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return e.content.multipleByType("news",{fields:["title","intro","images","layout","thumbnail","content","thumbnailIntro","products"],sort:{fieldName:"publishedAt",orderBy:"Descending"},..."fr"===t&&{locales:["fr"]},includeCategories:!0,...l&&{categories:[Array.isArray(l)?l.map(e=>+e):[+l]]},...r?{publishedAt:["".concat(r,"-01-01"),"".concat(Number(r)+1,"-01-01")]}:{},relations:(Array.isArray(i)?i:[i]).filter(e=>!(0,T.kK)(e)).map(Number),...L(n)})},R=async function(e,t){let{...r}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return e.content.multipleByType("caseStudies",{fields:["title","intro","images","layout","thumbnail","content","thumbnailIntro","products"],sort:{fieldName:"publishedAt",orderBy:"Descending"},..."fr"===t&&{locales:["fr"]},includeCategories:!0,...L(r)})},L=e=>{let t=(0,T.M9)(e.page);return{page:1,perPage:t?12*+t:15}},F=(e,t)=>{let{query:r}=(0,W.useRouter)(),l=(0,i.bL)(),{replace:n}=(0,i.Uv)(),o=t=>{let{key:r,values:l}=t;return{...Object.assign({},...e.map(e=>{let[t,i,n]=e;return n===r?i(l):i()}))}};return{onChange:e=>i=>{let a=(null!=i?i:[]).filter(e=>!!e),s=r;if(e in r){let{[e]:t,page:l,...i}=r;s=i}let d="product"===e?a.map(e=>{let{value:t}=e;return t}):o({key:e,values:a})[e].map(e=>{let{value:t}=e;return t});return(0,T.Mr)({type:"debug",debugBlock:"filters",context:{key:e,values:a,valuesProvided:i,query:r,queryWithoutCurrentKey:s,queryValues:d,content:l}}),n(l,{queries:{[e]:d,...s},...t})},nextPage:()=>{var e;return{...r,page:Number(null!==(e=r.page)&&void 0!==e?e:1)+1}}}},D=(e,t)=>{let{query:r}=(0,W.useRouter)(),l=(0,c.useMemo)(()=>{var l;return(0,C.iZ)(null!==(l=r[e])&&void 0!==l?l:[],t)},[t,e,r]);return[{options:t,value:l},t=>({[e]:null!=t?t:l}),e]},H=()=>{let{query:e}=(0,W.useRouter)();return"product"in e?(Array.isArray(e.product)?e.product:[e.product]).filter(e=>!isNaN(Number(e))).map(Number):[]},Y=(e,t)=>
1{let{pagination:r,contents:l}=e,{stringify:n,localize:a}=(0,o.$Y)(),s=(0,i.zf)(),d=H(),u=(0,c.useMemo)(()=>[...s[0]].filter(e=>{let{name:t,contentCount:r}=e;return!!t&&r&&r>0}).sort((e,t)=>n(e.name).localeCompare(n(t.name),"en")),[s,n]),m=(0,C.kB)("category",u),h=D("year",[...Array(new Date().getFullYear()-2001)].map((e,t)=>{let r=2002+t;return{label:r.toString(),value:r}}).reverse()),g=D("product",t.filter(e=>!e.values.discontinuedGlob&&!a(e.values.discontinuedReg)&&e.title).map(e=>({label:n(e.title),value:e.id})).sort((e,t)=>e.label.localeCompare(t.label))),{nextPage:p,onChange:v}=F([g,m,h],{shallow:!0});return{category:m,years:h,products:g,onChange:v,nextPage:p,news:(0,c.useMemo)(()=>{if(!(null==r?void 0:r.next))return l;let e=d.length?l.filter(e=>{var t;return null===(t=e.values.products)||void 0===t?void 0:t.some(e=>{let{id:t}=e;return d.includes(t)})}):l,t=e.reduce((e,t)=>e+$(t.values.layout),0),i=t%12,n=0,o=[];for(let r of e){if((n+=$(r.values.layout))>t-i)break;o.push(r)}return e},[l,null==r?void 0:r.next,a,n,d])}},$=e=>"fullBackgroundAndWide"===e?2:1,q=e=>{let{type:t,category:r,ready:l=!0}=e,{query:i,locale:n}=(0,W.useRouter)(),{core:a}=(0,o.$Y)(),[s,d]=(0,c.useState)(),[u,m]=(0,c.useState)(!0);return(0,c.useEffect)(()=>{let e=async()=>{let e="caseStudies"===t?await R(a,null!=n?n:"en",i):await E(a,null!=n?n:"en",{...i,...null!=r&&{category:r}});m(!1),e&&d(e)};l&&e()},[a,n,i,r,l,t]),{news:s,isLoading:u,nextPage:()=>{var e;return{...i,page:Number(null!==(e=i.page)&&void 0!==e?e:1)+1}}}}},15998:function(e,t,r){r.d(t,{i:function(){return g}});var l=r(24246),i=r(76387),n=r(7082),o=r(27378),a=r(83941),s=r(48875),d=r(79495),u=r(64221),c=r(62125),m=r(18869);let h=(0,o.forwardRef)((e,t)=>{var r,h,g,p,v,x,f,b,j;let{content:{values:w,type:y,publishedAt:_,subCategories:k},couldBeLarge:C,...Z}=e,{image:z,stringify:A,formatDate:I,richtextToString:S,localize:B}=(0,a.$Y)(),[M,N]=(0,m.h0)(),[P,T]=(0,o.useState)(!0),[W,E]=(0,o.useState)(!1),{values:{title:R}}=(0,m.bL)(),L=A("caseStudies"===y?(null==N?void 0:N.title)?null==N?void 0:N.title:R:null==k?void 0:null===(h=k["news-categories"])||void 0===h?void 0:null===(r=h[0])||void 0===r?void 0:r.name),F=(0,o.useRef)(null),D=A(null==w?void 0:w.layout),H="fullBackground"===D||"fullBackgroundAndWide"===D,Y=(null==w?void 0:w.thumbnail)?z(null==w?void 0:w.thumbnail,"fullBackgroundAndWide"===D?{width:600,height:450}:"fullBackground"===D?{width:300,height:480}:{width:300,height:225}):(null==w?void 0:w.images)?"fullBackgroundAndWide"===D?z(null==w?void 0:null===(g=w.images)||void 0===g?void 0:g[0],{width:600,height:450}):"fullBackground"===D?z(null==w?void 0:null===(p=w.images)||void 0===p?void 0:p[0],{width:300,height:480}):z(null==w?void 0:null===(v=w.images)||void 0===v?void 0:v[0],{width:300,height:225}):"",$=(null==w?void 0:w.thumbnail)?z(null==w?void 0:w.thumbnail,"fullBackgroundAndWide"===D?{width:600,height:450,enlargement:2}:"fullBackground"===D?{width:300,height:480,enlargement:2}:{width:300,height:225,enlargement:2}):(null==w?void 0:w.images)?"fullBackgroundAndWide"===D?z(null==w?void 0:null===(x=w.images)||void 0===x?void 0:x[0],{width:600,height:450,enlargement:2}):"fullBackground"===D?z(null==w?void 0:null===(f=w.images)||void 0===f?void 0:f[0],{width:300,height:480,enlargement:2}):z(null==w?void 0:null===(b=w.images)||void 0===b?void 0:b[0],{width:300,height:225,enlargement:2}):"",q=Y?H?"#ffffff":"#1e1e1e":"#ffffff",U=Y?H?"#ffffff":"#5e6062":"#ffffff",V="string"==typeof _?_:B(_),O=V?I(V):null,G=B(w.thumbnailIntro),K=B(w.intro);return(0,o.useEffect)(()=>{var e;(null===(e=F.current)||void 0===e?void 0:e.complete)&&T(!1)},[]),(0,o.useEffect)(()=>{if(P){let e=setTimeout(()=>E(!0),400);return()=>clearTimeout(e)}E(!1)},[P]),(0,l.jsx)(c.Zb,{ref:t,...Z,variant:"elevated",media:(0,l.jsx)(i.oM,{ratio:"fullBackgroundAndWide"===D?113/300:.75,pb:"fullBackgroundAndWide"===D?{_:"75%",sm:C?"39%":"75%"}:"75%",children:!H&&Y&&(0,l.jsxs)(l.Fragment,{children:[W&&(0,l.jsx)(n.Z,{"data-testid":"skeleton",style:{position:"absolute"},variant:"rectangular",width:"100%",height:"100%"})," ",(0,l.jsx)("img",{ref:F,src:Y,...(0,s.fb)(Y,$),alt:A(w.title),width:"100%",height:"100%",loading:"lazy",onLoad:()=>T(!1)})]})}),_media:{justifyContent:"center",marginTop:0,marginX:0,background:Y?"#fff":"text",flex:"0 0 auto"},body:(0,l.jsxs)(d.Z,{minWidth:"100%",flex:"1 1 100%",children:[H&&Y&&$&&(0,l.jsxs)(d.Z,{width:"100%",height:"100%",position:"absolute",top:0,left:0,style:{transform:"translateZ(0)"},children:[W&&(0,l.jsx)(n.Z,{"data-testid":"skeleton",style:{position:"absolute"},variant:"rectangular",width:"100%",height:"100%"})," ",(0,l.jsx)("img",{ref:F,src:Y,...(0,s.fb)(Y,$),alt:A(w.title),width:"100%",height:"100%",loading:"lazy",style:{objectFit:"cover"},onLoad:()=>T(!1)}),(0,l.jsx)(d.Z,{height:"23.5rem",sx:{background:"linear-gradient(180deg, rgba(30, 30, 30, 0) 0%, black 100%)"},position:"absolute",bottom:0,left:0,right:0,zIndex:1e3})]}),(0,l.jsxs)(u.Z,{gap:"1rem",direction:"column",position:"relative",zIndex:1e3,children:[O&&(0,l.jsx)("p",{style:{color:H?"#fff":"#939598",fontSize:"1.2rem",lineHeight:"1.6rem",margin:0,fontFamily:"'Avenir', sans-serif",...H&&{textShadow:"1px 1px #000000"}},children:O}),(0,l.jsx)("h4",{style:{color:q,fontSize:"1.5rem",lineHeight:"2rem",margin:0,fontFamily:"'Avenir', sans-serif",...H&&{textShadow:"1px 1px #000000"}},children:A(w.title)}),(0,l.jsx)("p",{style:{fontSize:"1.5rem",lineHeight:"2rem",color:U,display:"-webkit-box",WebkitLineClamp:5,WebkitBoxOrient:"vertical",margin:0,overflow:"hidden",fontFamily:"'Avenir', sans-serif",...H&&{textShadow:"1px 1px #000000"}}
1,children:null!==(j=null!=G?G:K)&&void 0!==j?j:S(w.content)})]})]}),_body:{padding:"fullBackgroundAndWide"===D?"2rem 2rem 7rem 2rem":"2rem",background:Y?"rgb(255, 255, 255)":"text",height:"100%"},tag:L,_tag:{position:"absolute",margin:0,right:0,top:0,_group:{_hover:{bg:"#1e1e1e",borderColor:"#1e1e1e"}},zIndex:1},transition:"box-shadow 300ms, border 300ms",boxShadow:"0 3px 10px 0 rgba(30, 30, 30, 0.25);",_hover:{boxShadow:"0 0.6rem 1.5rem 0 rgba(30, 30, 30, 0.5)"},maxWidth:"none",height:"100%"})});t.Z=h;let g=["images","title","intro","content","thumbnail","thumbnailIntro","layout"]},65389:function(e,t,r){var l=r(24246),i=r(76387);let n=(0,r(41312).ZP)(i.xu).withConfig({componentId:"sc-e3ea5072-0"})(['width:100%;a{display:flex;font-weight:600;border-bottom:0;padding-bottom:1rem;> *{transition:border 300ms;border-bottom:0.1rem solid #e00034;}&:hover{border-bottom:0;> *{border-color:transparent;}}&.active{align-items:center;justify-content:space-between;> *{border-color:transparent;color:#1e1e1e;}}@media screen and (min-width:64em){padding-bottom:0;&.active{&:after{content:"";width:3rem;height:0.2rem;background-color:#dee1e5;}}}}']),o=e=>{let{children:t,...r}=e;return(0,l.jsx)(n,{...r,children:t})};o.displayName="LeftMenu",t.Z=o}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.