1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2954,3786,7542,7740,8700],{552:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Button:()=>s,ButtonBlock:()=>d,ButtonGroup:()=>r,ButtonGroupBlock:()=>o});var i=n(95155),a=n(88107),l=n(26474);let r=({buttons:e,buttonAlignment:t="start"})=>(0,i.jsx)(a.so,{flexDirection:"row",gap:"space-4",flexWrap:"wrap",marginTop:"space-6",justifyContent:t,children:e?.map((e,n)=>{let r=e.asset?.filename||e.link||e.action?.url,o=(0,l.B)(r),s=e.text||e.action?.title,d=e.action?.target||(o.startsWith("http")?"_blank":"_self");return o&&s?(0,i.jsx)(a.$n,{as:"a",href:o,target:d,rel:"_blank"===d?"noopener noreferrer":void 0,variant:e.variant??"primary",style:{display:"inline-flex",marginTop:0},alignSelf:t,children:s},n):null})}),o=({blok:e})=>(0,i.jsx)(r,{buttons:e.buttons,buttonAlignment:e.align||void 0}),s=e=>(0,i.jsx)(r,{buttons:[e],buttonAlignment:e.buttonAlignment??"start"}),d=({blok:e})=>(0,i.jsx)(s,{...e})},9069:(e,t,n)=>{"use strict";n.d(t,{h:()=>eb});var i=n(32980);let a={default:{periImage:{backgroundColor:"background-secondary"},periVideo:{backgroundColor:"background-secondary"}}};var l=n(95155),r=n(23466),o=n(80300),s=n(87722),d=n(93959),c=n(77542),p=n(89814),u=n(56425),m=n(88107);let g=({blok:e})=>(0,l.jsx)(m.so,{alignItems:"baseline",flexDirection:"row",gap:"space-2",justifyContent:"space-evenly",marginTop:"space-6",children:e.content?.map(t=>t.image?.filename?(0,l.jsxs)(m.so,{flexDirection:"column",gap:"space-2",alignItems:"center",children:[(0,l.jsx)(u.pn,{image:t.image,className:{0:"md:max-h-[268px] max-w-full",1:"md:max-h-[302px] max-w-full",2:"md:h-[423px] max-w-full"}[String(e?.content?.indexOf(t)??"0")]}),(0,l.jsx)(m.EY,{fontWeight:"bold",fontSize:"body-sm",children:t.heading})]},`${t._uid}-${t.heading}`):null)});var h=n(45881);function x({content:e}){let t=(e,n)=>{switch(e.type){case"paragraph":if(!e.content||0===e.content.length)return(0,l.jsx)("p",{},n);return(0,l.jsx)("p",{children:e.content.map((e,n)=>t(e,n))},n);case"text":{let t=e.text||"";return e.marks&&e.marks.forEach(e=>{switch(e.type){case"bold":t=(0,l.jsx)("strong",{children:t});break;case"link":let n=(0,h.K)(e.attrs?.href)||"#",i=e.attrs?.target;t=(0,l.jsx)("a",{href:n,target:i,rel:"_blank"===i?"noopener noreferrer":void 0,children:t})}}),(0,l.jsx)("span",{children:t},n)}default:if(e.content)return(0,l.jsx)("div",{children:e.content.map((e,n)=>t(e,n))},n);return null}};return e&&e.content?(0,l.jsx)("div",{children:e.content.map((e,n)=>t(e,n))}):null}var f=n(26474);let j=({blok:e})=>{if(!e)return null;let t=(0,f.B)(e.url);return(0,l.jsxs)(m.az,{children:[e.title&&(0,l.jsx)(m.EY,{as:"h1",fontSize:"heading-1",fontFamily:"flavour",children:e.title}),(0,l.jsxs)(m.so,{gap:"space-6",marginTop:"space-6",children:[(0,l.jsxs)(m.so,{gridColumn:"span-8",gap:"space-6",flexDirection:"row",justifyContent:"space-between",children:[e.prepTime&&(0,l.jsxs)(m.az,{children:[(0,l.jsx)(m.EY,{color:"text-secondary",display:"block",fontSize:"body-xs",children:"Prep"}),(0,l.jsx)(m.EY,{fontWeight:"bold",fontSize:"body-xs",children:e.prepTime})]}),e.cookTime&&(0,l.jsxs)(m.az,{children:[(0,l.jsx)(m.EY,{color:"text-secondary",display:"block",fontSize:"body-xs",children:"Cook"}),(0,l.jsx)(m.EY,{fontWeight:"bold",fontSize:"body-xs",children:e.cookTime})]}),e.serves&&(0,l.jsxs)(m.az,{children:[(0,l.jsx)(m.EY,{color:"text-secondary",display:"block",fontSize:"body-xs",children:"Serves"}),(0,l.jsx)(m.EY,{fontWeight:"bold",fontSize:"body-xs",children:e.serves})]})]}),(e.vegetarian||e.vegan)&&(0,l.jsxs)(m.so,{gridColumn:"span-4",gap:"space-4",justifyContent:"flex-end",children:[e.vegetarian&&(0,l.jsx)(m._V,{alt:"Vegetarian",height:"size-1/1",objectFit:"cover",src:"/replatform/dietary/vegetarian.svg",style:{maxHeight:"24px",width:"24px"}}),e.vegan&&(0,l.jsx)(m._V,{alt:"Vegan",height:"size-1/1",objectFit:"cover",src:"/replatform/dietary/vegan.svg",style:{maxHeight:"24px",width:"24px"}})]})]}),(0,l.jsxs)(m.so,{justifyContent:"space-between",alignItems:"flex-end",marginTop:t?"space-0":"space-6",children:[e.category&&(0,l.jsx)(m.az,{children:(0,l.jsx)(m.vw,{backgroundColor:"theme-turquoise-primary",textColour:"dark",children:e.category?.[0]?.name})}),t&&(0,l.jsx)(m.az,{children:(0,l.jsx)(m.$n,{variant:"primary",as:"a",buttonSize:"medium",href:t,target:"_blank",rel:"noopener noreferrer",children:"Download Recipe"})})]}),e.intro&&(0,l.jsx)(m.az,{className:"text-2xl",children:"string"==typeof e.intro?(0,l.jsx)("p",{children:e.intro}):(0,l.jsx)(x,{content:e.intro})})]})};var k=n(1296),b=n(47855),w=n(43786),y=n(52954),v=n(29653),Y=n(88700),I=n(25846),C=n(11210),z=n(552),_=n(89648),T=n(40708);let S=e=>e.replace(":"," / ");var E=n(37251);let O=({image:e,alt_text:t,width:n="100",alignment:i,aspect_ratio:a=_.XS,outset:r=_.kE,testid:o,objectFit:s,removeMarginY:d=!1})=>(0,l.jsx)(E.E,{width:n,alignment:i,outset:r,noMarginTop:d,noMarginBottom:
1d,children:(0,l.jsxs)(m.az,{as:"figure",marginTop:"100"===n?"space-12":"space-3",marginBottom:"100"===n?"space-12":"space-0",style:{position:"relative",aspectRatio:S(a)},children:[(0,l.jsx)(u.pn,{"data-testid":o,image:e,alt:t??e.alt??"",style:{objectFit:s??"cover",width:"100%",height:"100%",position:"absolute",inset:0,color:"transparent"},sizes:(0,T.i)(n,r)}),(0,l.jsx)("figcaption",{children:t})]})}),B=({images:e,aspect_ratio:t=_.XS,outset:n=_.kE})=>(0,l.jsx)(E.E,{width:"100",outset:n,children:(0,l.jsx)(m.xA,{marginTop:"space-12",marginBottom:"space-12",columnGap:"space-6",gridTemplateColumns:{xs:"grid-2"},children:e.map((e,n)=>(0,l.jsxs)(m.az,{as:"figure",position:"relative",style:{aspectRatio:S(t)},children:[(0,l.jsx)(u.pn,{image:{filename:e.filename,alt:e.alt_text??"",focus:e.focus,width:e.width,height:e.height},alt:e.alt_text??"",variant:"desktop",width:"size-1/1",height:"size-1/1",objectFit:"cover"}),(0,l.jsx)("figcaption",{children:e.alt_text??""})]},n))})}),L=({table:e,sb:t})=>{let n=e.thead.length,i=n>2?`${60*n}%`:void 0;return(0,l.jsx)("div",{...t,className:"scrollbar-grey w-full overflow-x-auto",children:(0,l.jsx)("div",{"data-testid":"table-inner",style:{width:i,minWidth:"100%"},children:(0,l.jsxs)(m.XI,{children:[(0,l.jsx)(m.XI.Head,{children:(0,l.jsx)(m.XI.Row,{children:e.thead.map(e=>(0,l.jsx)(m.XI.Header,{children:e.value},e._uid))})}),(0,l.jsx)(m.XI.Body,{children:e.tbody.map(e=>(0,l.jsx)(m.XI.Row,{children:e.body.map(e=>(0,l.jsx)(m.XI.Cell,{children:e.value},e._uid))},e._uid))})]})})})};var R=n(55653);let D=R.k5(["1:1","3:4","4:3","6:1","8:9","9:16","9:21","16:9","21:9"]),N=R.vk(e=>"string"!=typeof e||isNaN(Number(e))?e:Number(e),function(e){let t=e.map(e=>R.eu(e));return R.KC(t)}([0,1,2,3])),P=R.Ik({component:R.eu("Image with Alt"),image:R.Ik({filename:R.Yj().url(),focus:R.Yj().nullable().optional(),width:R.ai().nullable().optional(),height:R.ai().nullable().optional()}),alt_text:R.Yj().optional()});R.Ik({component:R.eu("peri-button"),Text:R.Yj(),Variant:R.k5(["primary","primary-on-dark","secondary","secondary-on-dark"]),URL:R.Ik({url:R.Yj().url()})}),R.Ik({component:R.eu("peri-video"),URL:R.Ik({url:R.Yj().url()})});let A=R.Ik({component:R.eu("peri-table"),table:R.bz()}),$=R.Ik({image:R.Ik({filename:R.Yj().url(),alt:R.Yj(),focus:R.Yj().nullable().optional(),width:R.ai().nullable().optional(),height:R.ai().nullable().optional()}),alt_text:R.Yj().optional(),width:R.KC([R.eu("50"),R.eu("100")]).optional(),alignment:R.KC([R.eu("left"),R.eu("right")]).optional(),aspect_ratio:D.optional(),outset:N.optional(),objectFit:R.k5(["cover","contain"]).optional(),removeMarginY:R.zM().optional()}),M=R.Ik({images:R.YO(P),aspect_ratio:D.optional(),outset:N.optional()});var W=n(67255);let F=R.Ik({URL:R.Ik({url:R.Yj()}),caption:R.Yj().optional()}),X=R.Ik({isPdf:R.zM().optional(),source:R.Yj(),pdf:R.Ik({filename:R.Yj().nullable().optional(),alt:R.Yj().nullable().optional()}).optional(),title:R.Yj().optional(),outset:R.Yj().optional()}),G=R.Ik({text:R.Yj().optional(),link:R.Yj().optional(),action:R.Ik({url:R.Yj().optional(),cached_url:R.Yj().optional(),target:R.Yj().optional(),title:R.Yj().optional()}).optional(),asset:R.Ik({filename:R.Yj().nullable().optional()}).optional(),variant:R.KC([R.ai(),R.Yj()]).optional(),buttonAlignment:R.k5(["","start","center","end"]).optional()}),V=R.Ik({buttons:R.YO(G).optional(),align:R.k5(["","start","center","end"]).optional()}),U=R.Ik({appStoreLink:R.Yj().optional(),playStoreLink:R.Yj().optional()}),K=R.Ik({leftColumn:R.Ik({type:R.Yj(),content:R.YO(R.bz())}),rightColumn:R.Ik({type:R.Yj(),content:R.YO(R.bz())})}),H=R.Ik({content:R.YO(R.Ik({heading:R.Yj(),image:R.Ik({filename:R.Yj()}).optional()}))}),Z=R.Ik({heading:R.Yj().optional(),image:R.Ik({filename:R.Yj()}).optional()}),q=R.Ik({leftImage:R.Ik({filename:R.Yj()}).optional(),rightImage:R.Ik({filename:R.Yj()}).optional(),title:R.Yj().optional()}),J=R.Ik({images:R.YO(R.Ik({filename:R.Yj(),alt:R.Yj().optional()})),aspectRatio:R.k5(["","landscape","portrait"]).optional(),heading:R.Yj().optional(),variant:R.k5(["","article","category","logos"]).optional(),description:R.Yj().optional(),backgroundColour:R.L5().optional(),patternColour:R.L5().optional(),outset:R.KC([R.ai(),R.Yj()]).optional(),removePaddingY:R.zM().optional()}),Q=R.Ik({headline:R.Yj(),subHeadline:R.Yj().optional(),trailingText:R.Yj().optional(),description:R.Yj().optional(),darkDescription:R.zM().optional(),button:R.L5().optional(),buttonVariant:R.KC([R.ai(),R.Yj()]).optional(),desktopImage:R.L5().optional(),mobileImage:R.L5().optional(),textureType:R.k5(["","to
1p-tear","bottom-tear"]).optional(),backgroundColour:R.L5().optional(),subHeadlineBackgroundColour:R.L5().optional(),trailingTextBackgroundColour:R.L5().optional(),trailingTextDarkText:R.zM().optional(),subHeadlineDarkText:R.zM().optional(),slant:R.L5().optional(),overrideSlant:R.KC([R.ai(),R.Yj()]).optional(),overrideTexture:R.KC([R.ai(),R.Yj()]).optional(),overrideBackgroundColour:R.L5().optional(),overrideSubHeadlineBackgroundColour:R.KC([R.ai(),R.Yj()]).optional(),useAppDownloadLinks:R.zM().optional(),appStoreLink:R.Yj().optional(),playStoreLink:R.Yj().optional(),patternVariant:R.L5().optional(),patternColour:R.L5().optional(),bottomSlant:R.zM().optional(),lightHeadline:R.zM().optional(),compactPaddingY:R.zM().optional()}),ee=R.Ik({items:R.YO(R.Ik({_uid:R.Yj(),value:R.Yj(),description:R.Yj().optional()})),backgroundColour:R.L5().optional(),slant:R.k5(["","top","bottom","top-bottom"]).optional(),darkText:R.zM().optional()}),et=R.Ik({assets:R.YO(R.Ik({title:R.Yj(),link:R.Ik({url:R.Yj(),title:R.Yj().optional()}),image:R.Ik({filename:R.Yj()}),description:R.L5().optional()})).optional(),outset:R.Yj().optional()}),en=R.Ik({items:R.YO(R.Ik({name:R.Yj(),slug:R.Yj()})).optional(),manualItems:R.YO(R.Ik({heading:R.Yj(),id:R.Yj()})).optional(),manual:R.zM()}),ei=R.Ik({heading:R.Yj(),body:R.Yj(),retailers:R.YO(R.Ik({uuid:R.Yj().optional(),name:R.Yj(),content:R.Ik({logo:R.Ik({filename:R.Yj()}).optional(),link:R.Ik({url:R.Yj().optional(),cached_url:R.Yj().optional()}).optional()})}))}),ea=R.Ik({title:R.Yj(),category:R.YO(R.Ik({name:R.Yj()})).optional(),cookTime:R.Yj().optional(),intro:R.KC([R.Yj(),R.Ik({type:R.Yj(),content:R.YO(R.bz())})]).optional(),prepTime:R.Yj().optional(),serves:R.Yj().optional(),url:R.Yj().optional(),vegan:R.zM().optional(),vegetarian:R.zM().optional()}),el=R.Ik({animationData:R.Ik({filename:R.Yj()}).optional(),animationDataMobile:R.Ik({filename:R.Yj()}).optional()}),er=R.Ik({image:R.Ik({filename:R.Yj()}).optional(),heading:R.Yj().optional(),description:R.Yj().optional()}),eo=R.Ik({rewardStep:R.YO(er),heading:R.Yj().optional()}),es=R.Ik({_uid:R.Yj().optional(),component:R.Yj().optional(),filterBy:R.L5().optional(),limit:R.KC([R.ai(),R.Yj()]).optional(),arrangeBy:R.Yj().optional(),showRegionDescriptions:R.zM().optional(),showDividers:R.zM().optional(),cardType:R.k5(["simple","default"]).optional(),openByDefault:R.zM().optional()});function ed(e,t,n){let i=e.safeParse(t);return i.success?i.data:((0,W.Qg)("CMS validation error",{component:n,errors:i.error.issues,receivedData:t}),null)}var ec=n(44483);let ep={[i.e5]:e=>(0,l.jsx)("strong",{children:e}),[i.Dr]:(e,t)=>{let n="email"===t.linktype,i=(t.href??"").trim(),a=n?/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(i)?`mailto:${i}`:"":(0,f.B)(i),r="_blank"===t.target?"noopener noreferrer":void 0;return(0,l.jsx)(m.N_,{href:a,target:t.target,rel:r,children:e})},[i.aU]:(e,t)=>(0,l.jsx)("span",{id:t.id,className:"md:scroll-mt-20",children:e}),[i.gL]:e=>(0,l.jsx)(l.Fragment,{children:e}),[i.R7]:e=>(0,l.jsx)(l.Fragment,{children:e})};var eu=n(56526),em=n(12115);let eg=["blockquote","div","figcaption","figure","h1","h2","h3","h4","h5","h6","hr","img","li","ol","p","section","table","tbody","td","tfoot","th","thead","tr","ul"],eh=["a","abbr","b","bdi","bdo","br","cite","code","data","del","dfn","em","i","input","ins","kbd","label","mark","q","s","samp","small","span","strong","sub","sup","textarea","time","u","var"],ex=e=>"string"==typeof e&&""===e.trim(),ef=(e,t=0,n=10)=>{if(!(t>=n)){if("string"==typeof e)return e;if(e&&"function"==typeof e&&"styledComponentId"in e&&"target"in e)return ef(e.target,t+1,n)}},ej=e=>{if(!em.isValidElement(e))return!1;let t=e.type;if(t===O)return!0;if(t===m.N_)return!1;let n=(e=>{if("object"==typeof e.props&&null!==e.props&&"as"in e.props&&"string"==typeof e.props.as)return e.props.as;if("string"==typeof e.type)return e.type;let t=e.type?ef(e.type):void 0;if(t)return t})(e);if(n){if(eg.includes(n))return!0;if(eh.includes(n))return!1}return!0};var ek=n(78409);let eb=({content:e,renderingType:t,customNodeResolvers:n={},customMarkResolvers:u={},customBlokResolvers:h={},pageDarkMode:x,pageData:f})=>(a[t],e)?(0,i.XX)(e,{nodeResolvers:{...{[i.Uv]:(e,t)=>{let n=(e=>"object"==typeof e&&null!==e&&"textAlign"in e)(t)?t.textAlign:void 0,i=em.Children.toArray(e),a=[],r=[],o=!1,s=()=>
1{if(0!==r.length){if(!o){r=[];return}a.push((0,l.jsx)(m.EY,{as:"p",textAlign:n,children:r},`paragraph-${a.length}`)),r=[],o=!1}};return(i.forEach((e,t)=>{if(null!=e&&"boolean"!=typeof e){if(ej(e)){s(),a.push(em.isValidElement(e)?em.cloneElement(e,{key:e.key??`block-${a.length}-${t}`}):e);return}if(ex(e))return void r.push(e);o=!0,r.push(e)}}),s(),0===a.length)?(e=>{let t=em.Children.toArray(e).filter(e=>!ex(e));return 0!==t.length&&t.every(ej)})(e)?(0,l.jsx)(l.Fragment,{children:e}):(0,l.jsx)(m.EY,{as:"p",textAlign:n,children:e}):1===a.length?a[0]:(0,l.jsx)(l.Fragment,{children:a})},[i.q0]:(e,t)=>{let{level:n,textAlign:i}=t,a=6===n?"body-lg":`heading-${n}`,r=1===n?"flavour":void 0,o=(e=>{let t=[],n=[],i=()=>{0!==n.length&&(t.push({type:"heading",children:n}),n=[])};return em.Children.forEach(e,e=>{if((e=>!!em.isValidElement(e)&&("string"==typeof e.type?["img","figure","picture"].includes(e.type):e.type===O))(e)){i(),t.push({type:"node",node:e});return}null!=e&&"boolean"!=typeof e&&n.push(e)}),i(),t})(e),s=(e,t)=>(0,l.jsx)(m.EY,{as:`h${n}`,fontSize:a,textAlign:i,...r?{fontFamily:r}:{},children:e},t);return 0===o.length?s(e):1===o.length&&"heading"===o[0].type?s(o[0].children):(0,l.jsx)(l.Fragment,{children:o.map((e,t)=>"heading"===e.type?s(e.children,`heading-${t}`):em.cloneElement(e.node,{key:`node-${t}`}))})},[i.lz]:(e,{src:t,alt:n})=>(0,l.jsx)(O,{image:{filename:t,alt:n??""},width:"100",aspect_ratio:"16:9"}),[i.nG]:e=>(0,l.jsx)(m.B8,{type:"bullet",children:e}),[i.v$]:(e,t)=>(0,l.jsx)(m.B8,{type:"number",start:t?.order,children:e}),[i.pG]:e=>{let t=(e=>{if(!em.isValidElement(e)||e.type!==m.EY)return!1;let t=e.props;return"p"===t.as&&void 0!==t.textAlign})(Array.isArray(e)?e[0]:e)?e:(0,ek.o)(e);return(0,l.jsx)(m.ck,{children:t})},[i.gR]:()=>(0,l.jsx)(eu.ClientDivider,{variant:"dotted",marginY:"space-8"}),[i.oy]:e=>{let t=(0,ek.o)(e),n=e=>{if("string"==typeof e)return e;if("number"==typeof e)return String(e);if(Array.isArray(e))return e.map(n).join("");if(em.isValidElement(e)){let t=e.props;if(t.children)return n(t.children)}return""},i=n(t);return(0,l.jsx)(m.az,{marginTop:"space-10",marginBottom:"space-10",children:(0,l.jsx)(m.VO,{variant:x?"on-dark":"on-light",children:(0,l.jsx)(m.VO.Blockquote,{children:i})})})}},...n},markResolvers:{...ep,...u},blokResolvers:{...((e,t)=>({"peri-table":e=>{let t=A.safeParse(e);return t.success?(0,l.jsx)(L,{sb:(0,ec.K1)(t.data),table:t.data.table}):null},"Rich Content Image":e=>{let t=$.safeParse(e);return t.success?(0,l.jsx)(O,{...t.data,image:{...t.data.image,focus:t.data.image.focus??void 0,width:t.data.image.width??void 0,height:t.data.image.height??void 0}}):null},"Rich Content Image Grid":e=>{let t=M.safeParse(e);if(!t.success)return null;let n=t.data.images.map(e=>({filename:e.image.filename,alt_text:e.alt_text,focus:e.image.focus??void 0,width:e.image.width??void 0,height:e.image.height??void 0}));return(0,l.jsx)(B,{images:n,aspect_ratio:t.data.aspect_ratio,outset:t.data.outset})},video:e=>{let t=ed(F,e,"video");return t?(0,l.jsx)(C.Video,{blok:t}):null},button:e=>{let t=ed(G,e,"button");return t?(0,l.jsx)(z.Button,{text:t.text,link:t.link,action:t.action,asset:t.asset,variant:t.variant??"primary",buttonAlignment:""===t.buttonAlignment?void 0:t.buttonAlignment}):null},buttonGroup:e=>{let t=ed(V,e,"buttonGroup");return t?(0,l.jsx)(z.ButtonGroup,{buttons:t.buttons,buttonAlignment:""===t.align?void 0:t.align}):null},imagesWithText:e=>{let t=ed(H,e,"imagesWithText");return t?(0,l.jsx)(g,{blok:t}):null},imageWithText:e=>{let t=ed(Z,e,"imageWithText");return t?(0,l.jsx)(g,{blok:{content:[t]}}):null},retailerSection:e=>{let t=ed(ei,e,"retailerSection");return t?(0,l.jsx)(b.RetailerSection,{blok:t}):null},recipeInfo:e=>{let t=ed(ea,e,"recipeInfo");return t?(0,l.jsx)(j,{blok:t}):null},twoColumnsRichText:e=>{let t=ed(K,e,"twoColumnsRichText");return t?(0,l.jsx)(I.TwoColumnsRichText,{blok:t}):null},iframe:e=>{let t=ed(X,e,"iframe");return t?(0,l.jsx)(s.Iframe,{blok:t}):null},appDownloadLinks:e=>{let t=ed(U,e,"appDownloadLinks");return t?(0,l.jsx)(r.AppDownloadLinks,{blok:t}):null},promoBlockCentered:e=>{let t=ed(Q,e,"promoBlockCentered");return t?(0,l.jsx)(p.PromoBlockCentered,{blok:t}):null},imageCarousel:e=>{let t=ed(J,e,"imageCarousel");return t?(0,l.jsx)(d.ImageCarousel,{blok:t,isEmbeddedInRichText:!0}):null},statsBlock:e=>{let t=ed(ee,e,"statsBlock");return t?(0,l.jsx)(c.StatsBlock,{blok:t}):null},gallery:e=>{let t=ed(et,e,"gallery");return t?(0,l.jsx)(o.Gallery,{blok:t}):null},topNavigation:e=>{let t=ed(en,e,"topNavigation");return t?(0,l.jsx)(v.TopNavigation,{blok:t}):null},rewardAnimation:e=>{let t=ed(el,e,"rewardAnimation");return t?(0,l.jsx)(w.RewardAnimation,{blok:t}):null},rewardStep:e=>{let t=ed(er,e,"rewardStep");return t?(0,l.jsx)(y.RewardStep,{blok:t}):null},rewardStepGroup:e=>{let t=ed(eo,e,"rewardStepGroup");return t?(0,l.jsx)(y.RewardStepGroup,{blok:t}):null},twoColumnsImage:e=>{let t=ed(q,e,"twoColumnsImage");return t?(0,l.jsx)(Y.TwoColumnsImage,{blok:t}):null},restaurantsListings:e=>{if(!t)return null;let n=ed(es,e,"restaurantsListings");return n?(0,l.jsx)(k.RestaurantsListings,{blok:{_uid:n._uid||"restaurants-listings-rich-text",component:"restaurantsListings",filterBy:n.filterBy,limit:n.limit,arrangeBy:n.arrangeBy,showRegionDescriptions:n.showRegionDescriptions,showDividers:n.showDividers,cardType:n.cardType,openByDefault:n.openByDefault},pageData:t,fromRichText:!0}):null}}))(0,f),...h}}):null},10355:(e,t,n)=>{"use strict";n.d(t,{K:()=>a});let i=new Set(["www.youtube.com","www.youtube-nocookie.com","player.vimeo.com","www.google.com","a.storyblok.com","tracker-detail-page.trustarc.com"]),a=e=>{let t;if("string"!=typeof e)return null;let n=e.trim();if(!n)return null;try{t=new URL(n)}catch{return null}return"https:"===t.protocol&&i.has(t.hostname)?n:null}},11210:(e,t,n)=>{"use strict";n.d(t,{Video:()=>p});var i=n(95155);let a={"<":"\\u003C",">":"\\u003E","&":"\\u0026","\u2028":"\\u2028","\u2029":"\\u2029"},l=/[<>&\u2028\u2029]/g,r=({data:e,...t})=>(0,i.jsx)("script",{type:"application/ld+json",...t,dangerouslySetInnerHTML:{__html:(e=>("string"==typeof e?e:JSON.stringify(e??{})).replace(l,e=>a[e]??e))(e)}});var o=n(88107),s=n(37251);let d=new Set(["www.youtube.com","www.youtube-nocookie.com"]);var c=n(10355);let p=({blok:e})=>{let t=(0,c.K)(e.URL?.url);if(!t)return null;let n=(({embedUrl:e,caption:t})=>{let n;try{n=new URL(e)}catch{return null}let i=(e=>{if(!d.has(e.hostname))return null;let t=e.pathname.match(/^\/embed\/([\w-]+)/);return t?t[1]:null})(n),a=i?`https://i.ytimg.com/vi/${i}/hqdefault.jpg`:void 0,l=t?.trim()||"Nando's video",r=t?.trim()||l,o={"@context":"https://schema.org","@type":"VideoObject",name:l,description:r,contentUrl:e,embedUrl:e};return a&&(o.thumbnailUrl=a),JSON.stringify(o)})({embedUrl:t,caption:e.caption});return(0,i.jsxs)(s.E,{width:"100",outset:1,noMarginBottom:!0,children:[n&&(0,i.jsx)(r,{data:n}),(0,i.jsx)(o.so,{justifyContent:"center",children:(0,i.jsx)("iframe",{sandbox:"allow-scripts allow-same-origin allow-presentation",width:"100%",src:t,title:"YouTube video player",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture;
1 web-share",referrerPolicy:"strict-origin-when-cross-origin",allowFullScreen:!0,style:{aspectRatio:"16 / 9"}})}),e.caption&&(0,i.jsx)(o.EY,{fontSize:"body-sm",marginTop:"space-1",display:"block",children:e.caption})]})}},25846:(e,t,n)=>{"use strict";n.d(t,{TwoColumnsRichText:()=>o});var i=n(95155),a=n(88107),l=n(37251),r=n(9069);let o=({blok:e})=>(0,i.jsx)(l.E,{width:"100",outset:2,noMarginTop:!0,children:(0,i.jsxs)(a.xA,{columnGap:"space-6",gridTemplateColumns:{sm:"grid-2",md:"grid-12"},children:[(0,i.jsx)(a.az,{gridColumnStart:{lg:"track-1",md:"track-1",xs:"track-1"},gridColumnEnd:{lg:"track-7",md:"track-7",xs:"track-3"},children:(0,i.jsx)(r.h,{content:e.leftColumn,renderingType:"default"})}),(0,i.jsx)(a.az,{gridColumnStart:{lg:"track-7",md:"track-7",xs:"track-1"},gridColumnEnd:{lg:"track-13",md:"track-13",xs:"track-3"},children:(0,i.jsx)(r.h,{content:e.rightColumn,renderingType:"default"})})]})})},29653:(e,t,n)=>{"use strict";n.r(t),n.d(t,{TopNavigation:()=>c});var i=n(95155),a=n(26474),l=n(88107),r=n(20063),o=n(12115);let s=e=>(0,a.B)(`/${e?.full_slug??""}`),d=(e,t)=>{let n=(0,a.B)(e),i=(0,a.B)(t);return!!n&&(i===n||i.startsWith(`${n}/`))},c=({blok:e,basePath:t})=>{let{items:n,showAllLink:a,manual:c=!1,manualItems:p,darkMode:u=!0,showDivider:m=!0,sticky:g=!1}=e,h=(0,r.usePathname)(),[x,f]=(0,o.useState)("");(0,o.useEffect)(()=>{f(window.location.hash);let e=()=>{f(window.location.hash)};return window.addEventListener("hashchange",e),()=>{window.removeEventListener("hashchange",e)}},[]);let j=((e,t,n,i)=>e?!t||""===t:!n.some(e=>d(s(e),i)))(c,x,n,h),k=t||h;return(0,i.jsxs)(l.az,{paddingX:{xs:"space-4",md:"space-6",xl:"space-0"},paddingTop:"space-6",position:g?"sticky":void 0,backgroundColor:"background-black",maxWidth:"max-content",marginX:"auto",top:g?"space-15":void 0,style:{...g?{zIndex:9}:{}},children:[(0,i.jsx)(l.az,{textAlign:"center",overflow:"auto",children:(0,i.jsxs)(l.IS,{withControls:!0,variant:u?"on-dark":"on-light",children:[a&&(0,i.jsx)(l.IS.Item,{children:(0,i.jsx)(l.IS.Link,{href:k,current:j,children:"All"})}),((e,t,n,a,r)=>e&&t?t.map((e,t)=>{let n=e?._uid||e?.id||`manual-item-${t}`,r=`#${e.id}`;return(0,i.jsx)(l.IS.Item,{children:(0,i.jsx)(l.IS.Link,{href:r,current:a===r,children:e.heading})},n)}):n.map((e,t)=>{let n=e?._uid||e?.slug||`category-${t}`,a=s(e);return(0,i.jsx)(l.IS.Item,{children:(0,i.jsx)(l.IS.Link,{href:a,current:d(a,r),children:e?.name})},n)}))(c,p,n,x,h)]})}),m&&(0,i.jsx)(l.cG,{color:u?"primary-on-dark":"primary"})]})}},37251:(e,t,n)=>{"use strict";n.d(t,{E:()=>p});var i=n(95155),a=n(83058),l=n.n(a),r=n(89648),o=n(40708),s=n(88107),d=n(85203),c=n.n(d);n(12115);let p=({width:e="100",alignment:t,outset:n=r.kE,children:a,noMarginTop:d=!1,noMarginBottom:p=!1})=>{let u="100"===e,m="50"===e,g=(0,o.U)(l(),e,t,n),h=u?l()["width-100"]:l()["width-50"],x=!u&&t?l()[`float-${t}`]:void 0,f=e=>{switch(e){case"top":if(d)return"space-0";return u?{xs:"space-12",md:"space-20"}:"space-3";case"bottom":if(p)return"space-0";return u?"space-20":"space-3";case"left":if(m&&"right"===t)return"space-6";return;case"right":if(m&&"left"===t)return"space-6";return;default:return}};return(0,i.jsx)(s.az,{className:c()(h,x,g),marginRight:f("right"),marginLeft:f("left"),marginTop:f("top"),marginBottom:f("bottom"),children:a})}},40708:(e,t,n)=>{"use strict";n.d(t,{U:()=>a,i:()=>i});let i=(e,t)=>{if("100"===e){if(0===t)return"(min-width: 1280px) 620px, (min-width: 1024px) 65vw, (min-width: 768px) 90vw, 100vw";if(1===t)return"(min-width: 1280px) 830px, (min-width: 1024px) 81vw, 100vw";if(2===t)return"(min-width: 1280px) 1040px, 100vw";if(3===t)return"(min-width: 1280px) 1200px, 100vw"}if("50"===e){if(0===t)return"(min-width: 1280px) 300px, (min-width: 1024px) 35vw, (min-width: 768px) 40vw, 100vw";if(1===t)return"(min-width: 1280px) 410px, (min-width: 1024px) 40vw, (min-width: 768px) 50vw, 100vw";if(2===t)return"(min-width: 1280px) 510px, (min-width: 768px) 50vw, 100vw";if(3===t)return"(min-width: 1280px) 600px, (min-width: 768px) 55vw, 100vw"}return"100vw"},a=(e,t,n,i)=>{if("100"===t)return 1===i?e["pullOut-8-full"]:2===i?e["pullOut-10-full"]:3===i?e["pullOut-12-full"]:"";if(1===i){if("left"===n)return e["pullOut-8-left"];
1if("right"===n)return e["pullOut-8-right"]}if(2===i){if("left"===n)return e["pullOut-10-left"];if("right"===n)return e["pullOut-10-right"]}return""}},43786:(e,t,n)=>{"use strict";n.r(t),n.d(t,{RewardAnimation:()=>s});var i=n(95155),a=n(8745),l=n(88107),r=n(12115);let o=e=>{if(e)return e.replace(/^https:\/\/a\.storyblok\.com\/f\/\d+\//,"/restaurants/cdn-assets/")},s=({blok:e})=>{let t=(0,r.useRef)(null),s=(0,a.U)(),[d,c]=(0,r.useState)(!1),p=o(e?.animationData?.filename),u=o(e?.animationDataMobile?.filename);return((0,r.useEffect)(()=>{let e,i,a;if(!t.current||!p&&!u)return;let l=!1,r=async()=>{let a=window.innerWidth<1024,r=(a?u:p)??p??u;if(r&&a!==i){i=a,c(!1),e?.destroy();try{let i=(await n.e(9066).then(n.t.bind(n,29081,23))).default;if(l||!t.current)return;(e=i.loadAnimation({container:t.current,renderer:"svg",loop:!0,autoplay:!0,path:r,rendererSettings:{progressiveLoad:!0}})).addEventListener("DOMLoaded",()=>{l||c(!0)})}catch(e){s.error("Failed to load reward animation",{error:e})}}};r();let o=()=>{clearTimeout(a),a=setTimeout(()=>void r(),200)};return window.addEventListener("resize",o),()=>{l=!0,clearTimeout(a),window.removeEventListener("resize",o),e?.destroy()}},[p,u,s]),p||u)?(0,i.jsx)(l.az,{display:"flex",justifyContent:"center",padding:"space-4",children:(0,i.jsxs)("div",{className:"relative w-full max-w-[1236px] aspect-[670/894] lg:aspect-[1236/978]",children:[!d&&(0,i.jsx)("div",{className:"absolute inset-0",children:(0,i.jsx)(l.jt,{inlineHeight:"100%",variant:"rectangle"})}),(0,i.jsx)("div",{ref:t,className:"absolute inset-0",style:{opacity:+!!d,transition:"opacity 300ms ease"}})]})}):null}},47855:(e,t,n)=>{"use strict";n.r(t),n.d(t,{RetailerSection:()=>s});var i=n(95155),a=n(56425),l=n(26474),r=n(88107);let o=e=>{let t=e?.content?.link;if(t)return(0,l.B)(t.url||t.cached_url)},s=({blok:e})=>{let t=e.retailers?.some(e=>e?.name?.includes("Nando"));return"centered"===e.layout?(0,i.jsx)(r.T6,{backgroundColor:"background-white",paddingY:"space-12",safeZone:"slant-top-bottom",slant:"top",zIndex:1,children:(0,i.jsxs)(r.az,{margin:"auto",paddingX:{xs:"space-4",lg:"space-8"},className:"max-w-[714px]",textAlign:{xs:"left",md:"center"},children:[(0,i.jsx)(r.EY,{as:"h2",fontSize:"heading-2",children:e.heading}),(0,i.jsx)(r.EY,{as:"p",fontSize:"body-sm",marginTop:"space-4",children:e.body}),(0,i.jsx)(r.so,{alignItems:"center",columnGap:"space-8",flexWrap:"wrap",justifyContent:{xs:"flex-start",md:"center"},marginTop:"space-12",rowGap:"space-8",children:e.retailers?.map((e,t)=>{if(!e||!e?.content?.logo?.filename)return null;let n=`${e.uuid??"rt"}-${t}`,l=o(e),s=(0,i.jsx)(a.pn,{image:e?.content?.logo,className:"max-w-32",style:{maxWidth:"128px"}});return l?(0,i.jsx)(r.N_,{href:l,style:{marginTop:0},children:s},n):(0,i.jsx)(r.az,{style:{marginTop:0},children:s},n)})})]})}):(0,i.jsxs)(r.so,{flexDirection:"column",rowGap:"space-6",children:[(0,i.jsxs)(r.az,{children:[(0,i.jsx)(r.EY,{as:"h2",fontSize:"heading-2",children:e.heading}),(0,i.jsx)(r.EY,{as:"p",fontSize:"body-sm",marginTop:"space-4",children:e.body})]}),(0,i.jsx)(r.xA,{rowGap:"space-6",gridTemplateColumns:{xs:"grid-2",sm:"grid-2"},alignItems:"center",marginTop:"space-10",children:e.retailers?.map((e,t)=>{if(!e||!e?.content?.logo?.filename||e?.name?.includes("Nando"))return null;let n=`${e.uuid??"rt"}-${t}`,l=o(e),s=(0,i.jsx)(a.pn,{image:e?.content?.logo,className:"max-w-32"});return l?(0,i.jsx)(r.N_,{href:l,style:{marginTop:0},children:s},n):(0,i.jsx)(r.az,{style:{marginTop:0},children:s},n)})}),t&&(0,i.jsxs)(r.so,{flexDirection:"column",marginTop:"space-10",children:[(0,i.jsx)(r._V,{src:"/replatform/logo-without-barci.svg",className:"max-w-[160px]",alt:"Nando's Logo"}),(0,i.jsx)(r.EY,{fontSize:"body-xs",children:"In your local restaurant"})]})]})}},52954:(e,t,n)=>{"use strict";n.r(t),n.d(t,{RewardStep:()=>r,RewardStepGroup:()=>o});var i=n(95155),a=n(56425),l=n(88107);let r=({blok:e})=>(0,i.jsxs)(l.so,{alignItems:"center",flexDirection:{xs:"row",lg:"column"},gap:"space-2",children:[(0,i.jsx)(l.az,{padding:"space-1",children:(0,i.jsx)("div",{className:"mt-3 h-20 w-20 lg:h-[110px] lg:w-[110px]",children:(0,i.jsx)(a.pn,{image:e.image,style:{width:"100%",height:"auto",margin:"auto"}})})}),(0,i.jsxs)(l.az,{className:"max-w-70 lg:max-w-64 lg:justify-items-center",textAlign:{xs:"left",lg:"center"},children:[(0,i.jsx)(l.EY,{as:"h3",fontSize:{xs:"heading-4",lg:"heading-3"},fontFamily:"flavour",marginBottom:"space-2",children:e.title}),(0,i.jsx)(l.EY,{as:"p",fontSize:"body-sm",children:e.body})]})]}),o=({blok:e})=>(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(l.T6,{slant:"top",overflow:"hidden",safeZone:"slant-top",backgroundColor:"background-secondary"}),(0,i.jsxs)(l.T6,{paddingY:"space-15",paddingX:"space-2",safeZone:"slant-bottom",backgroundColor:"background-secondary",children:[(0,i.jsx)(l.EY,{as:"h2",fontSize:{xs:"heading-1",lg:"shout-2"},fontFamily:"flavour",marginBottom:"space-4",textAlign:{xs:"left",lg:"center"},paddingLeft:{xs:"space-4",lg:"space-0"},children:e.title}),(0,i.jsx)(l.so,{alignContent:"center",flexDirection:{xs:"column",lg:"row"},flexWrap:"wrap",justifyContent:"center",gap:{xs:"space-6",lg:"space-2"},margin:"auto",children:e.rewardStep.map(e=>(0,i.jsx)(r,{blok:e},e._uid))})]})]})},56526:(e,t,n)=>{"use strict";n.r(t),n.d(t,{ClientDivider:()=>l});var i=n(95155),a=n(88107);let l=e=>(0,i.jsx)(a.cG,{...e})},77542:(e,t,n)=>{"use strict";n.r(t),n.d(t,{StatsBlock:()=>r});var i=n(95155),a=n(88107);let l="space-20",r=({blok:e})=>{let{items:t,backgroundColour:n,slant:r,darkText:o}=e,s=o?"text-primary":"text-primary-on-dark",d="top"===r||"top-bottom"===r,c="bottom"===r||"top-bottom"===r,p=d?128:40,u=c?128:48;return(0,i.jsx)(a.az,{...d&&{marginTop:l},...c&&{marginBottom:l},children:(0,i.jsx)(a.T6,{...n&&{backgroundColor:n},...r&&{slant:r},children:(0,i.jsx)(a.so,{flexDirection:{xs:"column",sm:"row"},justifyContent:"center",flexWrap:"wrap",paddingX:{xs:"space-6",md:"space-10"},gap:{xs:"space-8",md:"space-10"},style:{paddingTop:`${p}px`,paddingBottom:`${u}px`},children:t.map(e=>(0,i.jsxs)(a.so,{flexDirection:"column",alignItems:"center",flex:1,gap:"space-3",children:[(0,i.jsx)(a.EY,{fontFamily:"flavour",color:s,style:{fontSize:"80px",lineHeight:1},children:e.value}),e.description&&(0,i.jsx)(a.EY,{color:s,textAlign:"center",children:e.description})]},e._uid))})})})}},80300:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Gallery:()=>p});var i=n(95155),a=n(56425),l=n(24793),r=n(26865),o=n(45881),s=n(88107),d=n(12115),c=n(37251);let p=({blok:e})=>{let{assets:t,outset:n}=e,[p,u]=(0,d.useState)();if(!t||0===t.length)return null;let m=async e=>{try{let t=await fetch(e),n=await t.blob(),i=window.URL.createObjectURL(n),a=document.createElement("a");a.href=i,a.download=e.split("/").pop()||"download",document.body.appendChild(a),a.click(),document.body.removeChild(a),window.URL.revokeObjectURL(i)}catch(t){window.open(e,"_blank")}},g=parseInt(n??"2",10),h=(0,r.cn)("grid grid-cols-1 gap-4 md:grid-cols-2 md:gap-6",{0:"lg:grid-cols-2",1:"lg:grid-cols-3",2:"lg:grid-cols-4",3:"lg:grid-cols-4"}[g]||"lg:grid-cols-4"),x=(0,o.K)(p?.link?.url),f=(p?.description?.content?.length??0)>0;return(0,i.jsx)(c.E,{outset:g,children:(0,i.jsxs)(s.az,{marginX:"auto",maxWidth:"max-content",paddingX:{xs:"space-4",md:"space-6",xl:"space-0"},paddingBottom:"space-12",children:[(0,i.jsx)("div",{className:h,children:t.map((e,n)=>(0,i.jsx)(s.az,{className:"overflow-hidden",children:(0,i.jsx)(a.pn,{image:e.image,style:{cursor:"pointer",minHeight:"400px",
1width:"100%",display:"block",objectFit:"cover"},onClick:()=>u(t[n]),sizes:"(min-width: 1024px) 25vw, (min-width: 768px) 33vw, 50vw"})},e?.image?.filename??`image-${n}`))}),(0,i.jsxs)(s.aF,{fullscreen:!0,open:!!p,onClose:()=>u(void 0),children:[(0,i.jsx)(s.aF.Header,{marginBottom:"space-6",children:(0,i.jsx)("div",{className:"flex min-h-[48px] items-center",children:p?.title&&(0,i.jsx)(s.EY,{fontSize:"body-lg",marginRight:"space-15",children:p.title})})}),(0,i.jsx)(s.aF.Content,{children:(0,i.jsx)(a.pn,{image:p?.image,style:{width:"100%",height:"100%",display:"block",objectFit:"contain"}})}),(x||f)&&(0,i.jsx)(s.aF.Footer,{children:(0,i.jsxs)(s.so,{flexDirection:{sm:"row",xs:"column"},gap:"space-4",justifyContent:f?"space-between":"flex-end",alignItems:{sm:"center",xs:"stretch"},children:[f&&(0,i.jsx)(s.az,{className:"flex-1",children:(0,i.jsx)(l.r,{content:p.description})}),x&&([".jpg",".jpeg",".png",".gif",".webp",".svg"].some(e=>x.toLowerCase().includes(e))?(0,i.jsx)(s.$n,{variant:"primary",onClick:()=>m(x),children:p?.link?.title||p?.title}):(0,i.jsx)(s.$n,{as:"a",href:x,target:"_blank",rel:"noopener noreferrer",variant:"primary",children:p?.link?.title||p?.title}))]})})]})]})})}},83058:e=>{e.exports={"width-100":"PullOutPanel_width-100__VSxyY","width-50":"PullOutPanel_width-50__juyni","float-left":"PullOutPanel_float-left__aulLV","float-right":"PullOutPanel_float-right__R7ZVD","pullOut-8-left":"PullOutPanel_pullOut-8-left__XnsGH","pullOut-10-left":"PullOutPanel_pullOut-10-left___Vbjs","pullOut-12-left":"PullOutPanel_pullOut-12-left__it5eP","pullOut-8-right":"PullOutPanel_pullOut-8-right__ZAd3c","pullOut-10-right":"PullOutPanel_pullOut-10-right__aEddH","pullOut-12-right":"PullOutPanel_pullOut-12-right__hNJsb","pullOut-8-full":"PullOutPanel_pullOut-8-full__tcZi1","pullOut-10-full":"PullOutPanel_pullOut-10-full__T0Pg5","pullOut-12-full":"PullOutPanel_pullOut-12-full__f7lkF"}},87722:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Iframe:()=>d});var i=n(95155),a=n(88107),l=n(67909),r=n(37251),o=n(10355);let s=(0,l.default)(()=>Promise.all([n.e(6174),n.e(2084),n.e(6004),n.e(7158)]).then(n.bind(n,47158)).then(e=>({default:e.PDFViewer})),{loadableGenerated:{webpack:()=>[47158]},ssr:!1,loading:()=>(0,i.jsx)("div",{style:{textAlign:"center",padding:"2rem"},children:"Loading PDF..."})}),d=({blok:e})=>{let t=e.pdf?.filename??"",n=e.isPdf&&t?`/api/pdf-proxy?url=${encodeURIComponent(t)}`:(0,o.K)(e.source);if(!n)return null;let l=Number(e.outset);return(0,i.jsx)(r.E,{width:"100",outset:l??1,...e.marginBottom?{noMarginBottom:!1}:{noMarginBottom:!0},noMarginTop:!1===e.marginTop,children:(0,i.jsx)(a.so,{justifyContent:"center",flexDirection:"column",children:e.isPdf?(0,i.jsx)(s,{source:n}):(0,i.jsx)("iframe",{src:n,title:e.title||"Embedded content",width:"100%",height:"600px",loading:"lazy",style:{border:0},sandbox:"allow-scripts allow-same-origin allow-presentation",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0})})})}},88700:(e,t,n)=>{"use strict";n.r(t),n.d(t,{TwoColumnsImage:()=>o});var i=n(95155),a=n(56425),l=n(88107),r=n(94187);let o=({blok:e})=>{let{columns:t,backgroundColour:n}=e;if(!t||0===t.length)return null;let o=e=>e?(0,i.jsxs)(l.so,{flexDirection:"column",gap:"space-4",alignItems:"center",className:"w-full",children:[(0,i.jsxs)(l.so,{flexDirection:"column",className:"mb-4",gap:"space-4",children:[e.title&&(0,i.jsx)(l.EY,{as:"h3",fontSize:"heading-3",fontWeight:"bold",textAlign:"center",children:e.title}),e.description&&(0,i.jsx)(l.EY,{fontSize:"body",textAlign:"center",children:e.description})]}),e.image?.filename&&(0,i.jsx)(a.pn,{image:e.image,className:"h-auto w-full max-w-[260px]",sizes:"(min-width: 768px) 50vw, 100vw"})]}):null;return(0,i.jsx)(r.W,{backgroundColour:n,children:(0,i.jsx)(l.az,{paddingX:{xs:"space-4",md:"space-6"},paddingY:"space-12",marginX:"auto",maxWidth:"max-content",children:(0,i.jsxs)(l.so,{flexDirection:{xs:"column",md:"row"},gap:{xs:"space-8",md:"space-12"},justifyContent:"center",alignItems:"flex-start",children:[o(t[0]),o(t[1])]})})})}}
1,89648:(e,t,n)=>{"use strict";n.d(t,{Kx:()=>l,XS:()=>i,kE:()=>a});let i="1:1",a=0,l="/replatform/blog/fallback.webp"},93959:(e,t,n)=>{"use strict";n.r(t),n.d(t,{ImageCarousel:()=>c});var i=n(95155),a=n(56425),l=n(89648),r=n(88107),o=n(94187),s=n(37251);let d=[0,1,2,3],c=({blok:e,isEmbeddedInRichText:t=!1})=>{let{images:n,aspectRatio:c,variant:p,heading:u,description:m,darkMode:g}=e,h=e.backgroundColour||"background-dark-secondary";if(!n||0===n.length)return null;let x="landscape"===c,f=x?"400px":"300px",j=x?"220px":"320px";if("logos"===p){let e=g??!!h?.startsWith("background-dark"),t=e?"text-primary-on-dark":"text-primary";return(0,i.jsxs)(r.az,{backgroundColor:h,paddingX:{xs:"space-6",md:"space-10"},paddingTop:{xs:"space-10",md:"space-12"},paddingBottom:{xs:"space-6",md:"space-8"},children:[(u||m)&&(0,i.jsxs)(r.so,{flexDirection:"column",alignItems:"start",gap:"space-4",marginBottom:"space-8",children:[u&&(0,i.jsx)(r.EY,{as:"h2",fontSize:"heading-2",color:t,children:u}),m&&(0,i.jsx)(r.EY,{color:t,textAlign:"left",children:m})]}),(0,i.jsx)(r.rO,{slideWidth:f,variant:e?"on-dark":"on-light",children:n.map((e,t)=>{let n;return(0,i.jsx)(r.rO.Slide,{children:(0,i.jsx)(r.az,{style:{height:j,position:"relative"},children:(0,i.jsx)(a.pn,{image:e,alt:e.alt,style:{width:"100%",height:"100%",objectFit:(n=e.filename,n?.toLowerCase().endsWith(".png"))?"contain":"cover"}})})},e.filename??`image-${t}`)})})]})}let k=n.length<4,b=(0,i.jsx)(o.W,{...e,variant:"logos"===e.variant?void 0:e.variant,allowTransparent:t,children:k?(0,i.jsx)(r.az,{display:"grid",gap:"space-4",maxWidth:"max-content",paddingY:"space-10",margin:"auto",gridTemplateColumns:{xs:"grid-1",md:"grid-3"},children:n.map((e,t)=>(0,i.jsx)(r.az,{margin:"auto",overflow:"hidden",style:{height:j,position:"relative",maxWidth:f},children:(0,i.jsx)(a.pn,{alt:e.alt,image:e,objectFit:"cover",height:"size-1/1",width:"size-1/1"})},e.filename??`image-${t}`))}):(0,i.jsx)(r.az,{marginX:"auto",maxWidth:"max-content",paddingX:{xs:"space-4",md:"space-6",xl:"space-0"},paddingTop:"space-6",children:(0,i.jsx)(r.az,{paddingY:"space-12",children:(0,i.jsx)(r.rO,{slideWidth:f,children:n?.map((e,t)=>(0,i.jsx)(r.rO.Slide,{children:(0,i.jsx)(r.az,{style:{height:j,position:"relative",overflow:"hidden"},children:(0,i.jsx)(a.pn,{image:e,alt:e.alt,style:{width:"100%",height:"100%",objectFit:"cover"}})})},e.filename??`image-${t}`))})})})});return t?(0,i.jsx)(s.E,{outset:(e=>{let t=Number(e??l.kE);return d.includes(t)?t:l.kE})(e.outset),noMarginTop:!0,noMarginBottom:!0,children:b}):b}},94187:(e,t,n)=>{"use strict";n.d(t,{W:()=>l});var i=n(95155),a=n(88107);let l=({isLastOfType:e,variant:t,patternColour:n="theme-red-primary",pageDarkMode:l,removePaddingY:r=!1,backgroundColour:o,allowTransparent:s=!1,children:d})=>{let c=l?"background-dark-primary":"background-tertiary";if("article"===t)return(0,i.jsxs)(a.T6,{backgroundColor:o||c,slant:"top",safeZone:"slant-top",zIndex:0,...r?{}:{paddingTop:"space-20"},children:[(0,i.jsx)(a.T6,{maxWidth:"max-content",marginX:"auto",paddingX:"space-4",...r?{}:{paddingBottom:"space-20"},children:d}),(0,i.jsx)(a.EX,{color:n,variant:"bottom"})]});let p=o||(s?void 0:c);return(0,i.jsx)(a.az,{paddingBottom:e?"space-20":"space-6",backgroundColor:p,color:l?"text-primary-on-dark":"text-primary",children:d})}}}]);
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.