"use strict";(self.webpackChunkui=self.webpackChunkui||[]).push([[29],{151:(t,e,s)=>{s.r(e),s.d(e,{default:()=>n});const n={wrapper:"ePuZqenT",swapped:"SlU32pa9",image:"SLlxYO6e",contentWrapper:"zYoP71_N",title:"wnifViYP",html:"l12LmPtN",button:"Fjr4MvkJ"}},150:(t,e,s)=>{const n=s(70);(0,s(2).createEntrypoint)("information_alternating_cards",n.AlternatingInformationCards)},70:function(t,e,s){var n=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.AlternatingInformationCards=function(t){return t.information_cards?(0,a.jsx)(i.Fragment,{children:t.information_cards.map(((e,s)=>{var n,c;if("image"!==(null===(n=e.image)||void 0===n?void 0:n.type))return(0,a.jsx)(i.Fragment,{});const o=s%2?l.default.swapped:"";return(0,a.jsxs)("section",{className:`${l.default.wrapper} ${o}`,children:[(0,a.jsx)(r.LazyImage,{src:null!==(c=e.image.url)&&void 0!==c?c:"",initialWidth:"desktop"===t.device?800:400,cssClass:l.default.image,alt:e.image.altText,fullSizeWidth:"desktop"===t.device?2600:800}),(0,a.jsxs)("div",{className:l.default.contentWrapper,children:[(0,a.jsx)("h2",{className:l.default.title,children:e.title}),e.text&&(0,a.jsx)("div",{className:l.default.html,dangerouslySetInnerHTML:{__html:e.text}}),e.button_text&&e.button_link&&(0,a.jsx)("a",{href:e.button_link,class:l.default.button,children:e.button_text})]})]})}))}):(0,a.jsx)(i.Fragment,{})};const a=s(0),i=s(1),l=n(s(151)),r=s(4)},4:(t,e,s)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.LazyImage=function({src:t,initialWidth:e,fullSizeWidth:s,cssClass:a,alt:i="",width:r,height:c,style:o}){const u=l(t,e,s);return r&&c?(0,n.jsx)("img",{src:u,class:a,alt:i,width:r,height:c,style:o}):(0,n.jsx)("img",{src:u,class:a,alt:i,style:o})},e.useBestImage=l;const n=s(0),a=(s(1),s(7)),i=s(3);function l(t,e,s){const n=(0,a.getFastImage)(t,e),l=(0,a.getFastImage)(t,s),[r,c]=(0,i.useState)({});(0,i.useEffect)((()=>{if(document){const t=document.createElement("img");t.src=l,t.onload=()=>c(Object.assign(Object.assign({},r),{[l]:!0}))}}),[l]);const o=(0,i.useMemo)((()=>r[l]?l:n),[t,e,s,r]);return(0,i.useEffect)((()=>{if(document){const t=document.createElement("img");t.src=l,t.onload=()=>c(Object.assign(Object.assign({},r),{[l]:!0}))}}),[l]),o}}},t=>{t.O(0,[1,2,3],(()=>t(t.s=150))),t.O()}]);