1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[304],{55634:function(e){var t=function(e,t){var r,n,a=1,l=0,s=0,i=String.alphabet;function o(e,t,n){if(n){for(r=t;(n=o(e,r))<76&&n>65;)++r;return+e.slice(t-1,r)}return(n=i&&i.indexOf(e.charAt(t)))>-1?n+76:(n=e.charCodeAt(t)||0)<45||n>127?n:n<46?65:n<48?n-1:n<58?n+18:n<65?n-11:n<91?n+11:n<97?n-37:n<123?n+5:n-63}if((e+="")!=(t+="")){for(;a;)if(n=o(e,l++),a=o(t,s++),n<76&&a<76&&n>66&&a>66&&(n=o(e,l,l),a=o(t,s,l=r),s=r),n!=a)return n<a?-1:1}return 0};try{e.exports=t}catch(e){String.naturalCompare=t}},37963:function(e,t,r){"use strict";r.d(t,{I:function(){return l}}),r(67294);var n=r(85893);let a=e=>{let{characterCount:t=null,className:r="ad-placement dai-placeholder",paragraphsLeft:a=null}=e;return(0,n.jsx)("div",{"data-testid":"ad-placement",className:r,"data-count":t,"data-paragraphs-left":a})},l=()=>(0,n.jsx)("div",{className:"dai-placeholder","data-testid":"dai-placeholder"});a.displayName="DynamicAdPlaceholder",t.Z=a},84863:function(e,t,r){"use strict";var n=r(67294),a=r(90512),l=r(55634),s=r.n(l),i=r(71738),o=r(31855),c=r(9811),u=r(85893);let d=e=>e.replace(/<[^>]+>|&[^;]+;/g,""),p=e=>d(String(e??"")).toLowerCase(),m=e=>{let{ariaLabel:t=null,className:r=null,columnHeadings:l,enableSorting:d=!0,highlightedColumn:m=null,rows:h=null,stickyFirstColumn:g=null,type:b=null,sctrack:f=null}=e,{0:y,1:x}=(0,n.useState)(null),j=async e=>{if(!h?.length)return;let t=e===y?.column&&y?.direction==="ascending"?"descending":"ascending",r=l[e]?.slug;r&&("ascending"===t?h.sort((e,t)=>s()(p(e[r]),p(t[r]))):h.reverse(),x({column:e,direction:t}))},v=(0,n.useRef)(null),_=(0,n.useRef)(null),O=(0,n.useRef)(null),w="gridView"===b,N=d&&!w;return((0,n.useEffect)(()=>{if(!w)return;let e=v.current,t=_.current,r=O.current;if(!e||!t||!r)return;let n=()=>{setTimeout(()=>{if("function"!=typeof e.scrollTo)return;e.scrollTo(0,0);let a=(t.offsetWidth-e.offsetWidth-r.offsetWidth)/2;e.scrollTo({left:t.getBoundingClientRect().left-e.getBoundingClientRect().left+a,behavior:"smooth"}),window.removeEventListener("focus",n)},1e3)};window.addEventListener("focus",n),document.hidden||n()},[]),l?.length)?(0,u.jsx)("div",{ref:v,className:(0,a.Z)(r,"table oflow-x-auto d-flex p-relative body-copy-small",b&&`table--${b.toLowerCase()}`),children:(0,u.jsxs)("table",{className:(0,a.Z)("table__container",{"pr-xs pt-sm pb-sm":w}),"aria-label":t??void 0,children:[(0,u.jsx)("thead",{children:(0,u.jsx)("tr",{children:l.map((e,t)=>{let r=m===e.slug;if(e.name?.toString().includes("#colspan#")){if(t)return null;e.name=""}let n=(()=>{let e=1;for(let r=t+1;r<l.length;r+=1){let t=l[r];if(!t?.name?.toString().includes("#colspan#"))break;e+=1}return e>1?e:null})();return(0,u.jsxs)("th",{"data-testid":"table-heading",scope:"col",ref:e=>{t||(O.current=e),r&&(_.current=e)},className:(0,a.Z)("table__cell table__cell--heading",{"p-relative":!w,"table__cell--highlight-col":r,"table__cell--sticky":g&&!t,"table__cell--first-col":!t,"table__cell--sort-key":y?.column===t}),colSpan:n??void 0,"aria-label":e.name||e.displayText||e.slug,onClick:async()=>N&&j(t),"data-sctrack":(0,i.Z)(`Table-Sort-${e.slug}`,f),children:[(0,o.Z)(e.displayText||e.name||""),N&&(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(c.Z,{name:"caret",size:9,className:(0,a.Z)("table__sort-icon table__sort-icon--ascending",{"table__sort-icon--showing":y?.column===t&&y?.direction==="ascending"})}),(0,u.jsx)(c.Z,{name:"caret",size:9,rotate:180,className:(0,a.Z)("table__sort-icon table__sort-icon--descending",{"table__sort-icon--showing":y?.column===t&&y?.direction==="descending"})})]})]},e.slug)})},"headings-row")}),h&&(0,u.jsx)("tbody",{children:h.map(e=>(0,u.jsx)("tr",{className:"table__row",children:l.map((t,r)=>{let n=w&&!r,s=!n&&!0===e[t.slug],i=!n&&!1===e[t.slug];if(e[t.slug]?.toString().includes("#colspan#")){if(r)return null;e[t.slug]=""}let d=(()=>{let t=1;for(let n=r+1;n<l.length;n+=1){let r=l[n];if(!r||!e[r.slug]?.toString().includes("#colspan#"))break;t+=1}return t>1?t:null})();return(0,u.jsxs)(n?"th":"td",{scope:n?"row":void 0,className:(0,a.Z)("table__cell table__cell--data",{"table__cell--ticked":s,"table__cell--highlight-col":m===t.slug,"table__cell--sticky":g&&!r,"table__cell--first-col":!r}),colSpan:d??void 0,children:[i?(0,u.jsx)("span",{className:"sr-only",children:"no"}):null,s?(0,u.jsx)(c.Z,{className:"ma-auto",name:"tick",color:"baseWhite",size:18,srOnly:"yes"}):(0,o.Z)(String(e[t.slug]??""))]},t.slug)})},JSON.stringify(e)))})]})}):null};m.displayName="Table",t.Z=m},41325:function(e,t,r){"use strict";r(67294);var n=r(22120),a=r(85893);let l=e=>{let{seconds:t,className:r}=e,l=Math.floor(t/3600),s=Math.round(t%3600/60),{t:i}=(0,n.$G)(),o=[l>0?i("atoms.time.formatTimeHours",{count:l,hours:l}):"",s>0?i("atoms.time.formatTimeMins",{count:s,minutes:s}
1):""].filter(e=>e.length).join(` ${i("atoms.time.conjunction")} `);return(0,a.jsx)("time",{className:r,dateTime:`PT${l}H${s}M`,children:o})};l.displayName="Time",t.Z=l},49217:function(e,t,r){"use strict";r(67294);var n=r(41325),a=r(85893);let l=e=>{let{min:t=0,max:r=0,className:l}=e,s=t?(0,a.jsx)(n.Z,{seconds:t}):null,i=r?(0,a.jsx)(n.Z,{seconds:r}):null;return(0,a.jsxs)("span",{className:l,children:[s,s&&i?" - ":"",i]})};l.displayName="TimeRange",t.Z=l},76756:function(e,t,r){"use strict";r.d(t,{Z:function(){return tj}});var n=r(67294),a=r(37963);let l=["ul","ol","h1","h2","h3","h4","h5","h6"],s=e=>e&&!Array.isArray(e)&&"string"!=typeof e&&l.includes(String(e.type))?0:"string"==typeof e?e.length:Array.isArray(e)?e.reduce((e,t)=>e+s(t),0):e?.props?.children?e?.props?.children&&"string"!=typeof e?.props?.children&&(Array.isArray(e?.props?.children)||e?.props?.children.props)?s(e?.props?.children):"string"==typeof e?.type&&"string"==typeof e?.props?.children?e?.props?.children?.length:0:0,i=e=>!!e&&"bottomMpu"===e.key,o=e=>!!e&&"iframe"===e.type,c=e=>!!e&&"p"===e.type,u=e=>!e||Array.isArray(e)||"string"==typeof e?null:e,d=e=>{let t=u(e.props?.children);if(c(e)&&o(t)){let e=t?.src;return"string"==typeof e&&e.startsWith("https://www.youtube.com/embed/")}return!1},p=e=>!d(e)&&c(e)&&0===s(e.props?.children),m=(e,t)=>{let r=[...e],n=r.find(i),a=n?r.indexOf(n):-1;return r.slice(t,a>-1?a:r.length).filter(e=>c(e)&&!d(e)&&!p(e)).length},h=e=>"object"==typeof e?e.displayName||e.name:e,g=(e,t)=>[e.key,h(e.type)].some(e=>void 0!==e&&t.includes(e)),b=(e,t)=>!e.includes(t),f=(e,t)=>!g(e,t)&&!d(e),y=(e,t)=>!g(e,t)&&!p(e),x=(e,t)=>(0,n.createElement)(a.Z,{key:`ad-placeholder-${e}-${t}`,characterCount:e,paragraphsLeft:t});var j=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:void 0;if(!e||"recipes"===n)return e;let a=0,l=[];return e.flatMap((n,i)=>{if(i<=1||i===e.length)return n;let o=e[i-1];if(!o)return n;if(b(l,a+=s(o))&&f(n,t)&&y(o,r)){l.push(a);let t=m(e,i);return[x(a,t),n]}return n})},v=r(42485),_=r(30899),O=r(27618),w=r(48092),N=r(8307),P=r(14257),Z=r(67240),S=r(9445),k=r(85893);let D={purposes:[1,2,3,4,5,6,7,8,9,10,11],vendorIds:[]},E=e=>{let{element:t=null}=e;return(0,S.Z)(D)?t:(0,k.jsx)("span",{})};function C(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function R(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?C(Object(r),!0).forEach(function(t){(0,N.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):C(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}E.displayName="IframeBlock";let $=e=>{if("function"==typeof e?.type){let t=e.type;return t.displayName||t.name}return e?.type},U=["p","ul","ol"],T=e=>{let t=$(e);return!!(t&&U.includes(t)&&n.Children.toArray(e?.props?.children)?.length>0)},I=e=>e.reduce((e,t,r)=>T(t)?[...e,r]:e,[]),L=e=>e.find((t,r)=>t-1===e[r-1]),A=e=>!!e?.props?.adSettings?.nativeAdvertiser&&"none"!==e.props.adSettings.nativeAdvertiser,B=e=>[P.Z.displayName].includes($(e)),z=e=>[Z.Z.displayName,w.Z.displayName].includes($(e)),M=(e,t)=>A(e[t-1])||A(e[t]),W=(e,t)=>B(e[t-1])||B(e[t]),F=(e,t)=>z(e[t-1])||z(e[t]),G=(e,t)=>{let r=e[t-1];return["h1","h2","h3","h4"].includes(r?.type)},V=(e,t,r)=>{null!==t&&e.splice(t,0,r)},H=e=>n.isValidElement(e)&&"string"==typeof e.type&&"iframe"===e.type.toLowerCase(),q=e=>n.Children.toArray(e).some(e=>!!(0,n.isValidElement)(e)&&(!!H(e)||!!e.props&&!!e.props.children&&q(e.props.children))),K=e=>n.Children.map(e,e=>{if(!(0,n.isValidElement)(e))return e;if(H(e))return(0,k.jsx)(E,{element:e},e.key);let t=e.props?.children;if(null==t)return e;let r=K(t);return r===t?e:(0,n.cloneElement)(e,R(R({},e.props),{},{children:r}))}),Y=["review","reviews","glossary","plant"];var X=(e,t)=>{let r=null;if(Y.includes(t))return r;let n=I(e);return n.length>=1&&(r=n[0]+1),r};let J=["plant"];var Q=(e,t)=>{let r=null;if(J.includes(t))return r;let n=I(e),a=n.length,l=n.length-1;return a>=3&&G(e,r=n[l])&&(r=n[l-1]+1),r},ee=e=>{let t=null,r=I(e),n=r.length,a=r.length-1;return n>=5&&G(e,t=r[a-2])&&(t=r[a-3]+1),t},et=e=>{let t=null,r=I(e),n=r.length;return n>=5&&((M(e,t=r[2]+1)||F(e,t)||W(e,t))&&(t=L(r)),G(e,t)&&(t=r[4]),t||(t=r[n-1]+1)),t},er=(e,t,r,n)=>
1{let{topMpu:a,bottomMpu:l,nativeAd:s,teads:i}=t;V(e,X(e,n),a),V(e,Q(e,n),l),V(e,ee(e),s),r||V(e,et(e),i)},en=r(55367);let ea=e=>"p"===$(e);var el=(e,t)=>{let{heading:r,getItemsUrl:n}=t||{},a=e.reduce((e,t,r)=>(ea(t)&&e.push(r),e.length,e),[]);if(a.length>=5){let t=a[4]+1;V(e,t,(0,k.jsx)(en.Z,{dataFeature:"NextRead",dataPlacement:"Body",src:n,heading:r,singleColumn:!0,leftAlignHeading:!0},t))}},es=r(5152),ei=r.n(es),eo=r(54938);let ec=ei()(()=>r.e(390).then(r.bind(r,70390))),eu=e=>{let{loop:t=!1,type:r,url:a,width:l=null}=e,{postContent:s,siteContext:i}=(0,n.useContext)(_.Z),{track:o}=(0,eo.hI)(),c=s?.postId;return a?(0,k.jsx)(ec,{className:"media-player mb-xl",controls:!0,"data-testid":"media-player",height:"audio"===r?"50px":"auto",loop:t,onStart:()=>{o(i?.siteKey,`${r}_started`,{postId:c})},style:{maxWidth:"100%"},url:a,width:l?`${l}px`:"100%"}):null};eu.displayName="MediaPlayer";var ed=r(20181),ep=r(31855),em=r(77009),eh=r(14306),eg=r(86206),eb=r(22120),ef=r(46307),ey=r(26140);let ex={id:"",purposes:[]},ej=e=>{let{url:t,captioned:r,consent:a=ex}=e,{t:l}=(0,eb.$G)(),s=l("atoms.facebookEmbed.lang"),{id:i="",purposes:o=[]}=a,c=(0,n.useRef)(null),u=(0,S.Z)({purposes:o,vendorIds:[i]}),[d,p]=(0,ef.Z)({src:u?`https://connect.facebook.net/${s}/sdk.js`:void 0,defer:!0});return((0,n.useEffect)(()=>{if(d||p||!u)return;let e=window;e.FB&&(e.FB.init({xfbml:!0,version:"v25.0"}),e.FB.XFBML.parse(c.current))},[d,p,t,r,u]),u)?(0,k.jsx)("div",{className:"facebook-embed",ref:c,children:(0,k.jsx)("div",{className:"fb-post","data-href":t,"data-show-text":r?"true":"false","data-testid":"facebook-embed-media"})}):(0,k.jsx)(ey.Z,{providerName:"Facebook",className:"mb-md",consentModalButton:!0,requiredConsent:{purposeIds:o,vendorIds:[i]}})};ej.displayName="FacebookEmbed";var ev=r(90512),e_=r(91033),eO=r(50934),ew=r(23258),eN=r(61256),eP=r(41537),eZ=r(9811),eS=r(71738),ek=r(88928);function eD(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function eE(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?eD(Object(r),!0).forEach(function(t){(0,N.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):eD(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}let eC=e=>{let{expansionCoordinates:t=[0,0],gtmLabel:r=null,images:a=[],isOpen:l=!1,isOpenCallback:s=()=>{},highlightedImg:i=0,sctrack:o=null}=e;if(!l||!a?.length)return null;let{t:c}=(0,eb.$G)(),u=(0,eS.Z)("Lightbox",o),d=(0,n.useRef)(null),p=(0,ew.Z)(a),m=(0,n.useRef)(0),{0:h,1:g}=(0,n.useState)(l),b=["p-fixed","bg-black"],f=!!a.find(e=>e.caption),{0:y,1:x}=(0,n.useState)(!0),{0:j,1:v}=(0,n.useState)(!1),{0:_,1:O}
1=(0,n.useState)(!0),{0:w,1:N}=(0,n.useState)(!1),{0:Z,1:S}=(0,n.useState)("none"),D=(0,n.useRef)(),E=()=>{clearTimeout(D.current),document.body.classList.remove(...b),window.scrollTo({behavior:"instant",top:m.current}),x(!0),O(!1),setTimeout(()=>{g(!1),s(!1)},200)},C=e=>{"Escape"===e.code&&E()};(0,n.useEffect)(()=>(document.addEventListener("keydown",C),()=>document.removeEventListener("keydown",C)),[]);let R=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=p[i];if(!t?.current)return;let r=window.innerHeight>t.current.offsetHeight?(window.innerHeight-t.current.offsetHeight)/2:0;d.current?.scrollTo({behavior:"instant",top:t.current.offsetTop-r}),e<100&&setTimeout(()=>{0===window.scrollY&&window.innerHeight>(t.current?.offsetHeight??0)&&R(e+=1)},10)};return((0,n.useEffect)(()=>{h&&(x(!1),m.current=window.scrollY,setTimeout(()=>{S("grid")},50),D.current=setTimeout(()=>{d.current&&(R(),document.body.classList.add(...b),v(!0))},200),setTimeout(()=>{N(!0)},350))},[h]),h)?(0,k.jsxs)("div",{className:(0,ev.Z)("lightbox p-fixed d-block oflow-y-scroll",{"lightbox--transitioned":j}),"data-feature-variant":"lightbox",style:{transform:y?`translate(${t[0]}px, ${t[1]}px) scale(0)`:void 0},ref:d,children:[(0,k.jsx)(eN.Z,{ariaLabel:c("molecules.lightBox.ariaLabel.close"),className:"lightbox__close p-fixed ma-reset pa-reset",color:"baseWhite",gtmLabel:r?`${r}-close-button`:null,icon:"cross",iconSize:22,noFocusOutline:!0,noMinWidth:!0,noPadding:!0,onClick:E,small:!0,transparent:!0}),_?a.map((e,t)=>{if(!w&&t>i+2)return null;let n=(()=>{let{sourceName:t,sourceUrl:n}=e;if(!t)return null;let a=n?ek.Z:"span",l=n?{href:n,gtmLabel:r?`${r}-img-src-link`:null,sctrack:(0,eS.Z)("Source",u)}:{};return(0,k.jsx)("div",{className:"lightbox__img-src editor-content body-copy-extra-small",children:(0,k.jsx)(a,eE(eE({className:"fs-italic"},l),{},{children:t}))})})();return(0,k.jsxs)("div",{ref:p[t],className:(0,ev.Z)(`lightbox__img-wrap d-${Z}`,{"lightbox__img-wrap--has-captions":f,"lightbox__img-wrap--hidden-above":t<i,"lightbox__img-wrap--hidden-below":t>=i,"lightbox__img-wrap--highlight":t===i}),children:[(0,k.jsx)(P.Z,eE(eE({},e),{},{dataIndex:t,caption:null,className:"lightbox__img d-flex pb-xxs",contain:"all",aspectRatio:"dynamic",fluid:!0,loading:i===t?"eager":"lazy",loadingIcon:!0,scaleUp:!0,sourceName:null,sourceUrl:null,srcSetBreakpoints:[1440],sctrack:u})),(0,k.jsx)("div",{className:"lightbox__img-count editor-content pr-sm body-copy-bold body-copy-extra-small",children:`${t+1} of ${a.length}`}),e.caption&&(0,k.jsx)("div",{className:"lightbox__img-caption editor-content body-copy-extra-small","data-component-variant":r?`${r}-img-caption`:null,"data-gtm-class":r?`${r}-img-caption`:null,children:(0,ep.Z)(e.caption)}),n]},e.url)}):null]}):null};function eR(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function e$(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?eR(Object(r),!0).forEach(function(t){(0,N.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):eR(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}eC.displayName="Lightbox";let eU=e=>{let{images:t,sctrack:r=null}=e,{t:a}=(0,eb.$G)(),l=(0,eS.Z)("Gallery",r),s=(0,n.useRef)(null),i=(0,n.useRef)(null),o=(0,n.useRef)(null),c=(0,ew.Z)(t||[]),{0:u,1:d}=(0,n.useState)(0),{0:p,1:m}=(0,n.useState)(Array(t?.length).fill("lazy")),{0:h,1:g}=(0,n.useState)(),{0:b,1:f}=(0,n.useState)(!1),y=e=>a("molecules.gallery.imgCountText",{slideCount:e+1,images:t?.length}),x=e=>{i.current&&e?.current&&(i.current.style.height=`${e.current.offsetHeight}px`)};return((0,n.useEffect)(()=>{if(!t?.length)return()=>{};x(c[0]);let e=new e_.default(e=>{e.forEach(()=>{x(c.find(e=>e.current?.classList.contains("gallery__source--current"))||c[0])})});return i.current&&e.observe(i.current),()=>{e.disconnect()}},[c,i]),t?.length)?(0,k.jsxs)("div",{className:"gallery oflow-hidden p-relative","data-feature":"Gallery","data-feature-variant":"Slideshow",children:[(0,k.jsx)(eP.Z,{aspectRatio:"landscape",className:"gallery__carousel ma-reset",dots:!0,dotType:"small",gtmLabel:"gallery",onAfterSlideChange:e=>{m(t.map((t,r)=>r<=e+2?"auto":"lazy")),d(e)},onBeforeSlideChange:(e,r)=>{o.current&&(o.current.innerHTML=y(r)),c[e]?.current?.classList.remove("gallery__source--current"),c[r]?.current?.classList.add("gallery__source--current","gallery__source--aligned"),t[r]?.caption?s.current?.classList.add("gallery__caption-icon-container--showing","gallery__caption-icon-container--enable-transition"):(s.current?.classList.add("gallery__caption-icon-container--enable-transition"),s.current?.classList.remove("gallery__caption-icon-container--showing")),x(c[r]||
1c[0]),(0,eO.V)("gallery-slide-change",null,{category:"Gallery",action:`Transitioned to ${r>e?"next":"previous"} slide (${e+1}/${t.length} to ${r+1}/${t.length})`,label:`Slide ${r+1} img src: ${t[r]?.url}`,value:t.length})},children:t.map((e,t)=>(0,n.createElement)(P.Z,e$(e$({},e),{},{dataIndex:t,gtmLabel:"gallery",key:e.url,className:"gallery__img",sourceUrl:null,sourceName:null,caption:null,fluid:!0,contain:"all",aspectRatio:2/3,loading:p[t],scaleUp:!0,sizes:["(min-width: 768px) 748px","(min-width: 544px) 556px","calc(100vw - 20px)"],srcSetBreakpoints:[300,375,450,600,750,900,1200,1400,1600,2200],sctrack:l})))}),(0,k.jsx)(eN.Z,{className:"gallery__enlarge-btn pt-reset p-absolute ma-reset",gtmLabel:"gallery-enlarge-button",small:!0,transparent:!0,noBorder:!0,noPadding:!0,noMinWidth:!0,noFocusOutline:!0,ariaLabel:a("molecules.gallery.ariaLabel.fullScreen"),onClick:e=>{g([e.clientX,e.clientY]),f(!0)},"data-testid":"gallery-enlarge-btn",children:(0,k.jsx)(eZ.Z,{className:"gallery__enlarge-btn-icon pa-xxs",name:"enlarge",color:"baseGrey",size:29})}),(0,k.jsxs)("div",{className:"gallery__footer body-copy-extra-small d-flex",ref:i,children:[(0,k.jsxs)(eN.Z,{className:"body-copy-extra-small",fillHeight:!0,gtmLabel:"gallery-footer-enlarge-button",small:!0,transparent:!0,noBorder:!0,noPadding:!0,noMinWidth:!0,noFocusOutline:!0,onClick:e=>{g([e.clientX,e.clientY]),f(!0)},"data-testid":"gallery-footer-enlarge-btn",children:[(0,k.jsx)("div",{className:"gallery__img-count body-copy-extra-small",ref:o,children:y(0)}),(0,k.jsx)("div",{className:(0,ev.Z)("gallery__caption-icon-container d-flex",{"gallery__caption-icon-container--showing":t[0]?.caption}),ref:s,children:(0,k.jsx)(eZ.Z,{className:"gallery__caption-icon",name:"caption",color:"baseWhite",width:14,style:{height:void 0,minHeight:void 0}})})]}),(0,k.jsx)("div",{className:"p-relative flex-grow-1 text-right fs-italic pa-reset",children:t.map((e,t)=>e.sourceUrl&&e.sourceName?(0,k.jsx)(ek.Z,{className:(0,ev.Z)("gallery__source pr-reset",{"gallery__source--current gallery__source--aligned":!t,"gallery__source--has-caption":e.caption}),ref:c[t],href:e.sourceUrl,gtmLabel:"gallery-img-src-link",sctrack:(0,eS.Z)("Source",l),children:e.sourceName},`${e.url}-src-${e.sourceName}`):(0,k.jsx)("div",{className:(0,ev.Z)("gallery__source pr-reset",{"gallery__source--current gallery__source--aligned":!t,"gallery__source--has-caption":e.caption}),ref:c[t],children:e.sourceName},`${e.url}-src-${e.sourceName}`))})]}),(0,k.jsx)(eC,{expansionCoordinates:h,gtmLabel:"gallery-fullscreen",images:t,isOpen:b,isOpenCallback:f,highlightedImg:u})]}):null};eU.displayName="Gallery";var eT=r(77533),eI=r(64593),eL=r(21626);function eA(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function eB(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?eA(Object(r),!0).forEach(function(t){(0,N.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):eA(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}let ez=e=>{let{className:t=null,contentId:r=null,licenceKey:a=null,loaderUrl:l=null,playerId:s=null,schema:i=null}=e,o=(0,n.useRef)(null);return((0,n.useEffect)(()=>{if(!o.current)return()=>{};let e=e=>{let{payload:t,type:r}=e.detail||{},n={event:"podcastEvent",playerId:s,podcastDuration:t?.content?.duration,podcastId:t?.content_id,podcastProvider:"greenPodcast",podcastTitle:t?.content?.title,podcastUrl:`https://immediate-demo.greensuite.io/dashboard/media/podcasts/${t?.content_id}`},a=(e,t)=>{window.dataLayer.push(eB(eB({},n),{},{podcastPercent:t,podcastStatus:e}))};switch(r){case"play":a("start");break;case"ms_25":a("progress",25);break;case"ms_50":a("progress",50);break;case"ms_75":a("progress",75);break;case"ms_100":a("complete")}},t=o.current.querySelector("green-podcast");return t?(t.addEventListener("gp-event",e),()=>{t.removeEventListener("gp-event",e)}):()=>{}},[]),r&&a&&l&&s)?(0,k.jsxs)(k.Fragment,{children:[i&&(0,k.jsx)(eL.Z,{schema:eB({"@context":"https://schema.org","@type":"VideoObject"},i)}),(0,k.jsx)(eI.Helmet,{children:(0,k.jsx)("script",{src:l,"data-license-key":a,async:!0})}),(0,k.jsx)("div",{className:(0,ev.Z)("green-podcast",t),ref:o,children:(0,k.jsx)("green-podcast",{"embed-id":s,"content-id":r})})]}):null};ez.displayName="GreenPodcast";var eM=r(59343);function eW(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function eF(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?eW(Object(r),!0).forEach(function(t){(0,N.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):eW(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}let eG=e=>{let{images:t=null,sctrack:r=null}=e,{t:a}=(0,eb.$G)();return t&&t.length?(0,k.jsx)("div",{className:"inline-gallery","data-testid":"inline-gallery","data-feature":"Gallery","data-feature-variant":"VerticalInline",children:t.map((e,l)=>(0,k.jsxs)("div",{className:"inline-gallery__item","data-testid":"inline-gallery-item",children:[(0,k.jsx)("p",{className:"inline-gallery__index",children:a("molecules.inlineGallery.imageCount",{imageCount:l+1,totalImages:t.length})}),(0,n.createElement)(P.Z,eF(eF({},e),{},{dataIndex:l,gtmLabel:"gallery",key:e.key,className:"inline-gallery__image",fluid:!0,contain:"all",aspectRatio:"dynamic",loading:"lazy",scaleUp:!0,srcSetBreakpoints:[325,375,650,750,975,1100,1300,2200,3300],sizes:["(min-width: 992px) 940px","(min-width: 768px) 728px","(min-width: 544px) 556px","calc(100vw - 20px)"],sctrack:(0,eS.Z)("InlineGallery",r)})),e.title&&(0,k.jsx)("p",{className:"inline-gallery__heading","data-testid":"inline-gallery-item-title",children:(0,ep.Z)(e.title)}),e.description&&(0,k.jsx)("div",{className:"inline-gallery__description","data-testid":"inline-gallery-item-description",children:(0,ep.Z)(e.description,`inline-gallery-item-description-${l}`)}),(0,k.jsx)(v.Z,{slotKey:"vertical-gallery",index:l+1})]},`${e.url}-src-${e.sourceName}`))}):null};function eV(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function eH(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?eV(Object(r),!0).forEach(function(t){(0,N.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):eV(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}eG.displayName="InlineGallery";let eq={id:"",purposes:[]},eK=e=>{let{captioned:t,consent:r=eq,requisiteConsentOverride:a=!1,sctrack:l=null,url:s}=e,{t:i}=(0,eb.$G)(),{id:o,purposes:c}=r,u=(0,S.Z)({purposes:c,vendorIds:[o]}),d=a||u;return((0,ef.Z)({src:d?"https://www.instagram.com/embed.js":void 0,defer:!0}),n.useEffect(()=>{let e=window;e.instgrm?.Embeds?.process&&e.instgrm.Embeds.process()}),d)?(0,k.jsx)("div",{className:"instagram-embed",children:(0,k.jsx)("blockquote",eH(eH({className:"instagram-media","data-instgrm-permalink":s,"data-instgrm-version":14,"data-testid":"instagram-embed-media"},t&&{"data-instgrm-captioned":!0}),{},{children:(0,k.jsxs)(ek.Z,{href:s,styled:!0,target:"_blank",sctrack:(0,eS.Z)("InstagramEmbed",l),children:[(0,k.jsx)(eZ.Z,{color:"baseBlack",name:"instagram",size:50,className:(0,ev.Z)("mb-xxs")},"1"),`${i("atoms.instagramEmbed.viewPostOnInstagram")}`]})}))}):(0,k.jsx)(ey.Z,{providerName:"Instagram",className:"mb-md",consentModalButton:!0,requiredConsent:{purposeIds:c,vendorIds:[o]}})};eK.displayName="InstagramEmbed";var eY=r(25370);let eX=e=>{let{value:t}=e;return t?(0,k.jsx)("div",{className:"mrm",children:(0,k.jsx)(eY.Z,{children:(0,k.jsx)("script",{src:t})})}):null};eX.displayName="MRM";var eJ=r(17812),eQ=r(63038);let e0=e=>{let{quote:t=[],author:r=null}=e;return(0,k.jsxs)("blockquote",{className:"pullquote heading-4",children:[(0,k.jsxs)("div",{className:"pullquote__quote","data-testid":"pullquote-quote",children:[(0,k.jsx)(eZ.Z,{name:"pullquote",color:"inherit",size:15,width:14,height:10,className:"pullquote__icon--quote"}),t?.map(e=>k.jsx("span",{className:"pullquote__line","data-testid":"pullquote-line",children:e},e)),(0,k.jsx)(eZ.Z,{name:"pullquote",color:"inherit",size:15,width:14,height:10,className:"pullquote__icon--endquote ml-xs"})]}),r&&(0,k.jsx)("footer",{className:"pullquote__author body-copy-small","data-testid":"pullquote-author",children:r})]})};e0.displayName="Pullquote";var e1=r(98001),e2=r(33201),e5=r(99086),e4=r(75123),e8=r(86583),e6=r(41325);class e3{constructor(){this.meatMatrix={turkey:{name:"Turkey",baseWeight:500,baseTime:1200,steps:[{temperature:"190C/170C fan/gas 5"},{temperature:"180C/160C fan/gas 4"}]},beef_rare:{name:"Beef (rare)",baseWeight:450,baseTime:1200,steps:[{temperature:"220C/200C fan/gas 7"}]},beef_medium:{name:"Beef (medium)",baseWeight:450,baseTime:1500,steps:[{temperature:"220C/200C fan/gas 7"}]},beef_well_done:{name:"Beef (well done)",baseWeight:450,baseTime:1800,steps:[{temperature:"220C/200C fan/gas 7"}]},lamb_rare:{name:"Lamb (rare)",baseWeight:450,baseTime:1200,steps:[{temperature:"220C/200C fan/gas 7"}]},lamb_medium:{name:"Lamb (medium)",baseWeight:450,baseTime:1500,steps:[{temperature:"220C/200C fan/gas 7"}]},lamb_well_done:{name:"Lamb (well done)",baseWeight:450,baseTime:1800,steps:[{temperature:"220C/200C fan/gas 7"}]},venison_rare:{name:"Venison (rare)",baseWeight:450,baseTime:1200,steps:[{temperature:"220C/200C fan/gas 7"}]},venison_medium:{name:"Venison (medium)",baseWeight:450,baseTime:1500,steps:[{temperature:"220C/200C fan/gas 7"}]},venison_well_done:{name:"Venison (well done)",baseWeight:450,baseTime:1800,steps:[{temperature:"220C/200C fan/gas 7"}]},pork:{name:"Pork",baseWeight:450,baseTime:900,steps:[{temperature:"230C/210C fan/gas 8"},{temperature:"180C/160C fan/gas 4"}]},chicken:{name:"Chicken",baseWeight:500,baseTime:1200,steps:[{temperature:"200C/180C fan/gas 6"},{temperature:"180C/160C fan/gas 4"}]},goose:{name:"Goose",baseWeight:500,baseTime:1200,steps:[{temperature:"220C/200C fan/gas 7"},{temperature:"180C/160C fan/gas 4"}]},duck:{name:"Duck",baseWeight:500,baseTime:1200,steps:[{temperature:"220C/200C fan/gas 7"},{temperature:"180C/160C fan/gas 4"}]}}}getRoastTimes(e,t){let r=Math.floor(t/e.baseWeight*e.baseTime),n={stepTime:r,baseTime:e.baseTime,totalTime:r};return e.steps.length>1&&("Pork"===e.name?n.totalTime=25/15*r+e.baseTime:n.totalTime=r
1+e.baseTime),n}getRoastSteps(e,t,r){let{steps:n}=e,a=[];return 1===e.steps.length?a.push({instruction:"Cook for",time:t,temperature:n[0].temperature}):a.push({instruction:"Cook for",time:r,temperature:n[0].temperature},{instruction:"Turn down the oven and cook for a further",time:"Pork"===e.name?25/15*t:t,temperature:n[1].temperature}),a}getRoastDetails(e,t){let r=this.meatMatrix[e];if(!r)return{error:`Unknown roast type: ${e}`};let{name:n}=r,a={};if(r.baseWeight<=t){let{totalTime:e,stepTime:n,baseTime:l}=this.getRoastTimes(r,t);a.totalTime=e,a.roastSteps=this.getRoastSteps(r,n,l)}else a.error=`Minimum weight for ${n} is ${r.baseWeight}g / ${450===r.baseWeight?"1lb":"1lb 2oz"}`;return a}}e3.displayName="utils.RoastCalculations";class e7{toPounds(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"f",n={kg:()=>2.2046226218*+t,g:()=>.0022046226218*+t,lbs:()=>+t,oz:()=>+t/16};return({f:()=>n[e](),w:()=>this.extractWholeNumber(n[e]())+this.extractWholeNumber(Number(this.extractDecimalNumberConvertToImperial(n[e]()).toFixed(1))/16),d:()=>this.extractDecimalNumber(n[e]()),di:()=>Number(this.extractDecimalNumberConvertToImperial(n[e]()).toFixed(1))%16})[r]()}toOunces(e,t){return({kg:()=>35.2739619488*+t,g:()=>.0352739619488*+t,lbs:()=>16*+t,oz:()=>+t})[e]()}extractWholeNumber(e){return Math.trunc(e)}extractDecimalNumber(e){return e%1}extractDecimalNumberConvertToImperial(e){return this.toOunces("lbs",e%1)}toKilograms(e,t){return({kg:()=>+t,g:()=>+t/1e3,lbs:()=>+t/2.2046226218,oz:()=>+t/35.2739619488})[e]()}toGrams(e,t){return({kg:()=>1e3*+t,g:()=>+t,lbs:()=>+t/.0022046226218,oz:()=>+t/.0352739619488})[e]()}}e7.displayName="utils.WeightConverter";var e9=e=>`${e}`.replace(/(\.)(?!.*\.)|\./g,"$1").replace(/[^\d.]/g,"").replace(/^0*(.+)$/g,"$1").replace(/^\./g,"0.");let te={metric:{unit:["kg","g"]},imperial:{unit:["lbs","oz"]}},tt={metric:{kg:"",g:""},imperial:{lbs:"",oz:""}};var tr=()=>{let{t:e}=(0,eb.$G)();return[{value:"beef_rare",text:e("organisms.roastCalculator.meat.beefRare")},{value:"beef_medium",text:e("organisms.roastCalculator.meat.beefMedium")},{value:"beef_well_done",text:e("organisms.roastCalculator.meat.beefWellDone")},{value:"chicken",text:e("organisms.roastCalculator.meat.chicken")},{value:"duck",text:e("organisms.roastCalculator.meat.duck")},{value:"goose",text:e("organisms.roastCalculator.meat.goose")},{value:"lamb_rare",text:e("organisms.roastCalculator.meat.lambRare")},{value:"lamb_medium",text:e("organisms.roastCalculator.meat.lambMedium")},{value:"lamb_well_done",text:e("organisms.roastCalculator.meat.lambWellDone")},{value:"pork",text:e("organisms.roastCalculator.meat.pork")},{value:"turkey",text:e("organisms.roastCalculator.meat.turkey")},{value:"venison_rare",text:e("organisms.roastCalculator.meat.venisonRare")},{value:"venison_medium",text:e("organisms.roastCalculator.meat.venisonMedium")},{value:"venison_well_done",text:e("organisms.roastCalculator.meat.venisonWellDone")}]};function tn(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function ta(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?tn(Object(r),!0).forEach(function(t){(0,N.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):tn(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}let tl=e=>{let t,{className:r=null,title:a=null,meatTypeDefault:l=null}=e,{0:s,1:i}=(0,n.useState)(!1),{0:o,1:c}=(0,n.useState)(null),u=(0,n.useRef)(null),{0:d,1:p}=(0,n.useState)(null),m=tr();l&&(t=m.find(e=>e.value===l));let h=new e3,{0:g,1:b}=(0,n.useState)(!1),{0:f,1:y}=(0,n.useState)("metric"),{0:x,1:j}=(0,n.useState)({metric:"g",imperial:"lbs"}),{0:v,1:_}=(0,n.useState)(!1),{0:O,1:w}=(0,n.useState)(tt),N=()=>{let e=new e7;return"metric"===f?e.toGrams(x[f],O[f][x[f]]??""):e.toGrams("lbs",O[f].lbs)+e.toGrams("oz",O[f].oz)};(0,n.useEffect)(()=>{let e;let t=N();return s&&(c(h.getRoastDetails(u.current?.value||"",t)),_(!0),e=setTimeout(()=>{_(!1)},500)),()=>clearTimeout(e)},[O,d]);let P=e=>{w(ta(ta({},O),{},{[f]:ta(ta({},O[f]),{},{[e.target.id]:e9(e.target.value)})}
1))},Z=e=>{let t=N();c(h.getRoastDetails(u.current?.value||"",t)),!1===s&&i(!s),e.preventDefault()},{t:S}=(0,eb.$G)();return(0,k.jsxs)("div",{className:(0,ev.Z)("roast-calculator",r),"data-testid":"roast-calculator",children:[a&&(0,k.jsx)("div",{className:"roast-calculator__header pt-xs pb-xs text-center",children:(0,k.jsx)(e8.Z,{size:2,styledSize:6,color:"baseGrey",children:a})}),(0,k.jsxs)(e2.Z,{className:"roast-calculator__elements d-flex align-items-center flex-direction-column pt-md pb-sm",onSubmit:Z,children:[(0,k.jsxs)(e2.Z.Group,{inputId:"select-conversion",children:[(0,k.jsx)(e2.Z.Label,{className:"sr-only",children:"Toggle Unit"}),(0,k.jsx)(e2.Z.Toggle,{name:"toggle",className:"mb-xs",leftLabel:S("organisms.roastCalculator.imperialLabel"),rightLabel:S("organisms.roastCalculator.metricLabel"),defaultChecked:!0,onClick:()=>{y("imperial"===f?"metric":"imperial"),s&&i(!s),w(tt),c(null)},legacyBehaviour:!0})]}),(0,k.jsxs)(e2.Z.Group,{className:"roast-calculator__form-group",inputId:"select-meat",children:[(0,k.jsx)(e2.Z.Label,{className:"sr-only",children:S("organisms.roastCalculator.sr.selectMeat")}),(0,k.jsx)(e2.Z.Input,{as:"select",ref:u,options:m,onChange:()=>{p(u.current?.value||null)},defaultValue:t?.value})]}),(0,k.jsxs)("div",{"data-testid":"input",className:(0,ev.Z)("roast-calculator__input-section d-flex align-items-baseline p-relative pl-md mb-md",{"roast-calculator__input-section--has-focus":g}),children:["metric"===f&&(0,k.jsxs)(k.Fragment,{children:[(0,k.jsxs)(e2.Z.Group,{inputId:x[f],className:"roast-calculator__input-group d-flex flex-grow-1 mb-reset",children:[(0,k.jsx)(e2.Z.Label,{className:"sr-only",children:S("organisms.roastCalculator.sr.metricConverterLabel",{unit:x[f]})}),(0,k.jsx)("input",{onChange:P,value:O[f][x[f]],autoComplete:"off",type:"text",inputMode:"decimal",className:(0,ev.Z)("roast-calculator__input pt-xs pb-xs fw-600",{"roast-calculator__input--error":o?.error}),id:x[f],placeholder:"0",onFocus:()=>b(!0),onBlur:()=>b(!1)})]}),(0,k.jsxs)(e2.Z.Group,{inputId:"unit-change",className:"roast-calculator__input-units mb-reset",children:[(0,k.jsx)(e2.Z.Label,{className:"sr-only",children:S("organisms.roastCalculator.sr.metricConverterUnit",{converter:f})}),(0,k.jsx)("select",{onChange:e=>{j(ta(ta({},x),{},{[f]:e.target.value})),s&&i(!s),w(tt),c(null)},value:x[f],className:"roast-calculator__select",id:"unit-change",onFocus:()=>b(!0),onBlur:()=>b(!1),children:te[f].unit.map(e=>(0,k.jsx)("option",{value:e,children:e},e))})]})]}),"imperial"===f&&(0,k.jsxs)(k.Fragment,{children:[(0,k.jsxs)(e2.Z.Group,{inputId:"lbs",className:"roast-calculator__input-group d-flex mb-reset",children:[(0,k.jsx)(e2.Z.Label,{className:"sr-only",children:S("organisms.roastCalculator.sr.imperialValuePounds")}),(0,k.jsx)("input",{onChange:P,value:O[f].lbs,autoComplete:"off",type:"text",inputMode:"decimal",className:"roast-calculator__input pt-xs pb-xs fw-600",id:"lbs",placeholder:"0",onFocus:()=>b(!0),onBlur:()=>b(!1)})]}),(0,k.jsx)("div",{id:"imperial-large",className:"roast-calculator__unit body-copy-extra-small text-align-right pr-lg",children:"lbs"}),(0,k.jsxs)(e2.Z.Group,{inputId:"oz",className:"roast-calculator__input-group mb-reset",children:[(0,k.jsx)(e2.Z.Label,{className:"sr-only",children:S("organisms.roastCalculator.sr.imperialValueOunces")}),(0,k.jsx)("input",{onChange:P,value:O[f].oz,autoComplete:"off",type:"text",inputMode:"decimal",className:"roast-calculator__input pt-xs pb-xs ml-md fw-600",id:"oz",placeholder:"0",onFocus:()=>b(!0),onBlur:()=>b(!1)})]}),(0,k.jsx)("div",{id:"imperial-small",className:"roast-calculator__unit body-copy-extra-small text-align-right pr-md",children:"oz"})]})]}),!s&&(0,k.jsx)(eN.Z,{className:"mb-sm",id:"calculateBtn",text:"Calculate",onClick:Z})]}),s&&o?.error&&(0,k.jsxs)("div",{className:"roast-calculator__results",children:[(0,k.jsx)("div",{className:"roast-calculator__result-header roast-calculator__result-header--error pt-xs pb-xs",children:(0,k.jsx)("p",{className:"body-copy-extra-small",children:(0,k.jsx)("span",{className:"body-copy-extra-small fw-600",children:"Error:"})})}),(0,k.jsx)("div",{className:"roast-calculator__method roast-calculator__method--error pt-md pb-md body-copy-small","data-testid":"error",children:o?.error})]}),s&&!o?.error&&(0,k.jsxs)("div",{className:"roast-calculator__results","data-testid":"result",children:[(0,k.jsx)("div",{className:"roast-calculator__result-header pt-xs pb-xs",children:(0,k.jsxs)("p",{className:"ma-reset",children:[(0,k.jsx)("span",{className:"d-inline-block body-copy-extra-small pr-
1xs",children:"Total cooking time:"}),!v&&(0,k.jsx)("span",{className:"body-copy-small fw-600","data-testid":"total-time",children:(0,k.jsx)(e6.Z,{seconds:o?.totalTime??0})})]})}),(0,k.jsxs)("div",{className:"roast-calculator__method pt-md pb-md",children:[v&&(0,k.jsx)("div",{className:"roast-calculator__spinner d-flex align-items-center justify-content-center","data-testid":"spinner",children:(0,k.jsx)(eZ.Z,{name:"loading",size:72,spinning:!0})}),!v&&(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(e5.Z,{"data-testid":"steps-list",children:o?.roastSteps?.map((e,t)=>k.jsxs(e4.Z,{className:"roast-calculator__method-list-item d-flex mb-xs",children:[k.jsx("div",{className:"roast-calculator__counter-container pr-xs",children:k.jsx("span",{className:"roast-calculator__counter-badge p-relative d-inline-flex align-items-center justify-content-center",children:k.jsx("span",{className:"roast-calculator__counter body-copy-small",children:t+1})})}),k.jsxs("div",{className:"roast-calculator__Steps-container",children:[k.jsxs("p",{"data-testid":`instruction-${t+1}`,className:"roast-calculator__method-instruction ma-reset mb-xxs body-copy-small fw-600",children:[e.instruction," ",k.jsx(e6.Z,{seconds:e.time})]}),k.jsx("p",{"data-testid":`sub-instruction-${t+1}`,className:"roast-calculator__method-sub-instruction ma-reset body-copy-extra-small",children:e.temperature})]})]},e.temperature))}),(0,k.jsx)("div",{className:"roast-calculator__reset-button-container pt-xxs pb-sm text-center",children:(0,k.jsx)(eN.Z,{onClick:()=>{i(!s),w(tt)},"data-testid":"reset-button",children:S("organisms.roastCalculator.button.resetText")})})]})]})]})]})};tl.displayName="RoastCalculator";var ts=r(20630),ti=r(84863);function to(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function tc(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?to(Object(r),!0).forEach(function(t){(0,N.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):to(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}let tu=(e,t,r)=>{let n={key:`node-${t}`};switch(e.type){case"html":if(!e?.data?.value?.replace(" ","").trim())return null;return(0,ep.Z)(e.data.value,n.key);case"image":return(0,k.jsx)(P.Z,tc(tc(tc({},n),e.data),{},{avif:r,srcSetBreakpoints:[325,375,650,750,975,1100,1300,2200,3300],sizes:["(min-width: 992px) 940px","(min-width: 768px) 728px","(min-width: 544px) 556px","calc(100vw - 20px)"],maxWidth:700,fillContainerWidth:!0}));case"gallery":return(0,k.jsx)(eU,tc({},e.data),n.key);case"green-carousel":return(0,k.jsx)(eT.Z,tc(tc({},e.data),{},{dataFeature:"greenCarousel"}),n.key);case"green-podcast":return(0,k.jsx)(ez,tc({},e.data),n.key);case"green-video":return(0,k.jsx)(w.Z,tc(tc({},e.data),{},{isContentVideo:!0}),n.key);case"inline-gallery":return(0,k.jsx)(eG,tc(tc({},n),e.data));case"highlight-box":return(0,k.jsx)(eM.Z,tc(tc({},n),e.data));case"oembed":return(0,k.jsx)(Z.Z,tc(tc({},n),e.data));case"riddle":return(0,k.jsx)(Z.Z,tc(tc(tc({},n),e.data),{},{dataFeature:"Riddle",htmlAttributes:{"data-riddle-id":e.data.id},itemSpacingY:null}));case"squirrel-affiliate-embed":case"squirrel-affiliate-playlist":return(0,k.jsx)(ts.Z,tc(tc({},n),e.data));case"editorial-ratings":return(0,k.jsx)(e1.Z,tc(tc({},n),e.data));case"pullquote":return(0,k.jsx)(e0,tc(tc({},n),e.data));case"video":case"audio":return(0,k.jsx)(eu,tc(tc(tc({},n),e.data),{},{type:e.type}));case"newsletter-signup":return(0,k.jsx)(eJ.Z,tc(tc({},n),e.data));case"mrm":return(0,k.jsx)(eX,tc({},e.data),n.key);case"table":return(0,k.jsx)(ti.Z,tc({},e.data),n.key);case"burdaffi-placement":return(0,k.jsx)(eh.Z,tc(tc({},n),e.data));case"ediplayer-video-placement":return(0,k.jsx)(eg.Z,tc(tc({},n),e.data));case"instagram-embed":return(0,k.jsx)(eK,tc(tc({},n),e.data));case"bmp-survey":return(0,k.jsx)(em.Z,tc(tc({},n),e.data));case"onnetwork-player":return(0,k.jsx)(eQ.Z,tc(tc({},n),e.data));case"roast-calculator":return(0,k.jsx)(tl,tc(tc({},n),e.data));case"facebook-embed":return(0,k.jsx)(ej,tc(tc({},n),e.data));default:return null}},td=e=>{let{content:t=[],postType:r=null}=e,a=!!((0,ed.ZP)(ed.sK)&&"article"===r),l=t?.reduce((e,t,r)=>{let l=tu(t,r,a);if(null===l)return e;if(q(l)){let t=K(l);return Array.isArray(t)?[...e,...t]:[...e,t]}return n.isValidElement(l)?[...e,l]:Array.isArray(l)?[...e,...l]:[...e,l]},[]);return l?.map((e,t)=>n.isValidElement(e)?n.cloneElement(e,{key:e.key||`node-${t}`}):e)};td.displayName="TinyMceContent.TinyMceContentNodes";var tp=r(36841);let tm=["h2","h3","h4","h5","h6"],th=e=>tm.find(t=>e.some(e=>$(e)===t))||null,tg=(e,t)=>$(e)===t,tb=e=>{let t=th(e);if(!t)return e.length;let r=e.reduce((e,r,n)=>(tg(r,t)&&(e.count+=1,1===e.count&&(e.index=n)),e),{count:0,index:-1});return r.index>=0?r.index:e.length};var tf=(e,t,r)=>{let n=tb(e);V(e,n,(0,k.jsx)(tp.Z,{position:"in_an_article",relatedEdiPlayer:t,ediplayerSettings:r},n))};let ty=e=>e.displayName??e.name,tx=e=>
1{let{content:t=[],sponsorIsNative:r=!1,injectAds:l=!1,injectNextToRead:s=!1,nextToRead:i={},relatedEdiPlayer:o=null,ediplayerSettings:c=null,slots:u,suppressAllAds:d=!1,className:p=null,postType:m=null}=e,h=(0,n.useContext)(_.Z),g=h?.adSettings?.targets?.channel||"post",b=td({content:t,postType:m});s&&el(b,i),o&&tf(b,o,c),l&&u&&Object.keys(u)?.length===4&&er(b,u,r,g);let f=["ol","ul",ty(w.Z),ty(eu),ty(v.Z),ty(Z.Z),ty(eg.Z),ty(a.Z)],y=[ty(v.Z),ty(eg.Z),ty(a.Z)],x=d?b:j(b,f,y,h?.adSettings?.targets?.channel);return(0,k.jsx)(O.Z,{className:p,children:x})};tx.displayName="TinyMceContent";var tj=tx},82049:function(e,t,r){"use strict";r(67294);var n=r(90512),a=r(88928),l=r(71738),s=r(85893);let i=e=>{let{children:t=null,url:r=null,suffix:i=null,className:o=null,authors:c=null,sctrack:u=null}=e,d=(0,l.Z)("AuthorLink",u);if(!c?.length&&!t)return null;let p=c?.filter(e=>!!e)??[];return(0,s.jsxs)("div",{className:(0,n.Z)("author-link",{"d-inline-block":!c,"d-inline":c,"pa-reset author-link__list":c},o),"data-feature":"Author",children:[c&&(0,s.jsx)("ul",{className:"d-inline pa-reset list-style-none",children:p.map((e,t)=>(0,s.jsxs)("li",{className:"d-inline",children:[t?", ":"",e.url?(0,s.jsx)(a.Z,{styled:!0,href:e.url,rel:"author",sctrack:d,children:e.name}):e.name,e.suffix&&` ${e.suffix}`]},`${e.name}-${e.url}`))}),!c&&(r?(0,s.jsx)(a.Z,{styled:!0,href:r,rel:"author",sctrack:d,children:t}):t),i&&` ${i}`]})};i.displayName="AuthorLink",t.Z=i},55367:function(e,t,r){"use strict";r.d(t,{Z:function(){return f}});var n=r(8307),a=r(67294),l=r(90512),s=r(31855),i=r(63144),o=e=>{let{0:t,1:r}=(0,a.useState)(null);return(0,a.useEffect)(()=>{(async()=>{let t=await i(e);r(await t.json())})()},[]),t},c=r(77107),u=r(88455),d=r(86583),p=r(8863),m=r(85893);function h(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function g(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?h(Object(r),!0).forEach(function(t){(0,n.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):h(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}let b=e=>{let{aspectRatio:t="landscape",className:r=null,color:n="backgroundExtraLight",dataFeature:i=null,dataPlacement:h=null,descriptionMaxLines:b=3,heading:f=null,leftAlignHeading:y=null,singleColumn:x=null,src:j}=e,v=o(j),_=v?.items||[],{colors:O}=(0,c.Z)();return 0===_.length?null:(0,m.jsxs)("div",{className:(0,l.Z)("dynamic-cards-list pr-sm pl-sm",r,{"dynamic-cards-list--single-column":x,"pt-xs pb-sm":y,"pt-md pb-md":!y}),style:{backgroundColor:O[n]},"data-feature":i,"data-placement":h,"data-testid":"dynamic-cards-list",children:[f&&a.createElement(d.Z,{className:(0,l.Z)("dynamic-cards-list-heading",r,{"mb-xs text-left":y,"mb-lg text-center":!y}),size:y?6:3},(0,s.Z)(f)),a.createElement(p.Z,{listview:!0,singleColumn:x},_.map((e,r)=>{let{id:n,image:l,description:s,label:i,postType:o,rating:c,title:d,url:p}=e;return a.createElement(u.Z,{borderless:!0,description:s,descriptionMaxLines:b,headingSize:4,headingStyledSize:6,horizontal:!0,id:n,image:g(g({},l),{},{aspectRatio:t}),index:r,inline:!0,key:d,label:i,postType:o,rating:c,title:d,url:p})}))]})};b.displayName="DynamicCardsList";var f=b},36841:function(e,t,r){"use strict";var n=r(67294),a=r(90512),l=r(58500),s=r(86206),i=r(85893);let o=e=>{let{position:t,className:r="",relatedEdiPlayer:o=null,ediplayerSettings:c=null}=e,u=(0,l.Z)();if(!o)return null;let d=c?.mobilePosition||"above_an_article",p=c?.desktopPosition||"in_an_article",m="no_player_at_all"!==d&&d===t,h="no_player_at_all"!==p&&p===t;if(u&&!m||!u&&!h)return null;let g=u?`mobile-${t}`:`desktop-${t}`,b=[];return d!==t&&"no_player_at_all"!==d&&b.push("hidden-for-sm-down"),p!==t&&"no_player_at_all"!==p&&b.push("hidden-for-md-up"),(0,i.jsx)("div",{className:(0,a.Z)("mt-sm mb-sm container hidden-print",g,...b,r),children:n.createElement(s.Z,o)})};o.displayName="EdiPlayerRenderer",t.Z=o},59343:function(e,t,r){"use strict";var n=r(8307);r(67294);var a=r(90512),l=r(14257),s=r(71738),i=r(85893);function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function c(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?o(Object(r),!0).forEach(function(t){(0,n.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}let u=e=>{let{children:t=null,className:r=null,content:n="",hasBackdrop:o=!1,hideCaption:u=!1,image:d={},useCommercialTheme:p=!1,sctrack:m=null}=e;return(0,i.jsxs)("section",{className:(0,a.Z)(r,"highlight-box",{"highlight-box--backdrop":o,"highlight-box--commercial":p}),"data-feature":"Highlight Box","data-feature-variant":p?"commercial":"editorial","data-testid":"highlight-box",children:[n&&(0,i.jsx)("div",{className:"highlight-box__content editor-content",dangerouslySetInnerHTML:{__html:n}}),d&&Object.keys(d).length>0&&(0,i.jsx)("div",{className:"highlight-box__image",children:(0,i.jsx)(l.Z,c(c({fluid:!0},d),{},{hideCaption:u,maxWidth:767,sizes:["(min-width: 992px) 205px","100vw"],srcSetBreakpoints:[1982,991,820,615,410,205],sctrack:(0,s.Z)("HighlightBox",m)}))}),t]})};u.displayName="HighlightBox",t.Z=u},89294:function(e,t,r){"use strict";r(67294);var n=r(90512),a=r(99086),l=r(82624),s=r(10191),i=r(85893);let o=s.Z,c=["extra-small","small","large"],u=e=>{let{labels:t=[],className:r=null}=e;return(0,i.jsx)("div",{className:(0,n.Z)("labels",r),children:t.map(e=>(0,i.jsx)(a.Z,{horizontal:!0,className:"d-flex flex-direction-row",children:e.map(e=>{let{value:t,size:r,tooltip:s,bold:u}=e,d=[];return c.includes(r??"")&&d.push(`body-copy-${r}`),u&&d.push("body-copy-bold"),(0,i.jsxs)(a.Z.Item,{className:(0,n.Z)("labels__label","mb-xxs",...d),children:[t,s&&(0,i.jsx)("sup",{className:"labels__tooltip","data-testid":"labels-tooltip",children:(0,i.jsx)(l.Z,{position:"auto",content:s,children:(0,i.jsxs)(o,{className:"ml-xxs",children:[(0,i.jsx)(o.Icon,{color:"baseWhite",name:"info",size:13}),(0,i.jsx)(o.Icon,{color:"inherit",name:"circle",size:15})]})})})]},t)})},e.map(e=>{let{value:t}=e;return t}).join("-")))})};u.displayName="Labels",t.Z=u},86304:function(e,t,r){"use strict";r.d(t,{Z:function(){return tX}});var n=r(8307),a=r(67294),l=r(90512),s=r(22120),i=function(){return(i=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var a in t=arguments[r])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e}).apply(this,arguments)},o=function(){return(o=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var a in t=arguments[r])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e}).apply(this,arguments)},c=r(1902);function u(e,t){var r=e.charAt(0),n=e.substr(1).toLowerCase();return t>0&&r>="0"&&r<="9"?"_"+r+n:""+r.toUpperCase()+n}function d(e,t){return 0===t?e.toLowerCase():u(e,t)}var p=r(42485),m=r(22359),h=r(88928),g=r(86583),b=r(80219),f=r(2524),y=r(71738),x=r(85893);function j(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function v(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?j(Object(r),!0).forEach(function(t){(0,n.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):j(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}let _=e=>{let{authors:t=[],className:r=null,sctrack:n=null}=e;return(0,x.jsxs)("section",{className:(0,l.Z)(r,"author-bios"),children:[(0,x.jsx)(g.Z,{size:2,className:"sr-only",children:"Authors"}),t?.map((e,a)=>{let{avatar:s,bio:i,facebook:o,instagram:c,jobTitle:u,name:d,twitter:p,url:m}=e;return d?x.jsxs("div",{className:l.Z("author-bios__bio",r,{"mb-md":a<t.length-1}),"data-placement":"AuthorBio","data-testid":"author-bio",children:[x.jsxs("div",{className:l.Z("d-flex"),children:[s&&x.jsx(b.Z,v(v({},s),{},{className:"author-bios__avatar mr-md",maxWidth:60,sizes:["60px"],srcSetBreakpoints:[60,120,180,240],fallbackIcon:"person"})),x.jsxs("div",{className:"d-flex flex-direction-column justify-content-center",children:[x.jsx(h.Z,{className:"author-bios__name",href:m,styled:!!m,sctrack:y.Z("AuthorBios",n),children:d}),u&&x.jsx("span",{className:"body-copy-small author-bios__job-title","data-testid":"job-title",children:u})]})]}),(i||o||c||p)&&x.jsxs("div",{children:[i&&x.jsx("p",{className:"body-copy-small mt-xs mb-xs","data-testid":"bio",children:i}),x.jsx(f.Z,{coloured:!0,twitterHandle:p,facebookProfile:o,instagramProfile:c}
1)]})]},`author-${a+1}`):null})]})};_.displayName="AuthorBios";var O=r(48995),w=r(30899),N=r(76756),P=r(6138),Z=r(96160),S=r(9811);let k=e=>0!==e.button||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey,D=e=>{let{className:t=null,page:r=1,pagesTotal:n,includeFirstPagePagination:i=!1,isPathPagination:o=!1,useTrailingSlash:c=!0,queryParams:u,onNavigate:d}=e,{t:p}=(0,s.$G)(),m=(0,Z.Z)(),g=h.Z,b=S.Z,f=(0,a.useMemo)(()=>{if(n<4)return[...Array(n+1).keys()].slice(1);let e=[r-1,r,r+1].filter(e=>e>0&&e<n+1);return e.push(1),e.push(n),r<4&&e.push(2,3,4),r>n-3&&e.push(n-3,n-2,n-1),e.sort((e,t)=>e-t).filter((e,t,r)=>r.indexOf(e)===t)},[r,n]);if(!n||1===n||r<=0||r>n)return null;let y=(e,t)=>1!==e&&e!==n?null:f[t]>f[t-1]+1?"numeric-paginator__item--has-gap-prev":f[t]<f[t+1]-1?"numeric-paginator__item--has-gap-next":null,j=m?.split("page/")[0]?.split("?")[0]?.replace(/\/$/,"")||"",v=u&&Object.keys(u).length?`?${new URLSearchParams(u).toString()}`:"",_=e=>{let{pageNumber:t,includePageNumber:r}=e,n=c?"/":"";if(!r)return`${j}${n}${v}`;if(o)return`${j}/page/${t}${n}${v}`;let a=new URLSearchParams(u);return a.set("page",String(t)),`${j}?${a.toString()}`},O=(e,t,r)=>{!d||k(e)||(e.preventDefault(),d(t,r))};return(0,x.jsxs)("nav",{className:(0,l.Z)(t,"numeric-paginator","d-flex","justify-content-space-between","body-copy-small","align-items-center"),"aria-label":"Pagination","data-testid":"numeric-paginator",children:[(0,x.jsx)("p",{role:"region","aria-live":"polite","aria-atomic":"true",className:"sr-only",children:p("molecules.numericPaginator.sr.nav",{page:r})}),(0,x.jsx)("div",{className:"numeric-paginator__arrow-link",children:r>1&&(()=>{let e=_({pageNumber:r-1,includePageNumber:r>2||2===r&&i});return(0,x.jsxs)(g,{className:(0,l.Z)("d-flex","justify-content-flex-start","align-items-center"),"data-testid":"arrow",href:e,onClick:t=>O(t,e,r-1),title:`Page ${r-1}`,children:[(0,x.jsx)(b,{className:"mr-xs",name:"chevron",color:"clickableRegular",rotate:270,size:18}),(0,x.jsxs)("span",{className:"hidden-for-sm-down",children:[p("molecules.numericPaginator.icon.prev"),(0,x.jsx)("span",{className:"sr-only",children:` ${p("molecules.numericPaginator.sr.icon")}`})]})]})})()}),(0,x.jsx)("ul",{className:" numeric-paginator__list d-flex align-items-center justify-content-center pl-reset mb-reset ",children:f.map((e,t)=>{let n=e===r?"active":"",a=_({pageNumber:e,includePageNumber:e>1||1===e&&i});return(0,x.jsx)("li",{className:(0,l.Z)("numeric-paginator__item","d-flex","align-items-center","justify-content-center",y(e,t),{"numeric-paginator__item--active":n}),children:(0,x.jsxs)(g,{className:(0,l.Z)("numeric-paginator__numeric-link","d-flex","align-items-center","justify-content-center",{"numeric-paginator__numeric-link--active":n}),href:a,onClick:t=>O(t,a,e),children:[(0,x.jsx)("span",{className:"sr-only",children:`${p("molecules.numericPaginator.sr.icon")} `}),e]})},e)})}),(0,x.jsx)("div",{className:"numeric-paginator__arrow-link",children:r<n&&(()=>{let e=_({pageNumber:r+1,includePageNumber:!0});return(0,x.jsxs)(g,{className:(0,l.Z)("d-flex","justify-content-flex-end","align-items-center"),"data-testid":"arrow",href:e,onClick:t=>O(t,e,r+1),title:`Page ${r+1}`,children:[(0,x.jsxs)("span",{className:"hidden-for-sm-down",children:[p("molecules.numericPaginator.icon.next"),(0,x.jsx)("span",{className:"sr-only",children:` ${p("molecules.numericPaginator.sr.icon")}`})]}),(0,x.jsx)(b,{className:"ml-xs",name:"chevron",color:"clickableRegular",rotate:90,size:18})]})})()})]})};D.displayName="NumericPaginator";var E=r(57478);let C=e=>{let{pronunciation:t=null,className:r=null}=e;return t?(0,x.jsxs)("div",{className:(0,l.Z)("pronunciation",r,"body-copy"),children:["|",(0,x.jsx)("span",{className:"pronunciation__text",children:t}),"|"]}):null};C.displayName="Pronunciation";var R=r(82049);function $(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function U(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?$(Object(r),!0).forEach(function(t){(0,n.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):$(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}let T=e=>{let{authors:t,className:r="",preloadImage:n=!1}=e;return t?.length?(0,x.jsx)("div",{className:(0,l.Z)("enhanced-authors-attribution",r),"data-testid":"enhanced-authors-attribution",children:t?.map((e,r)=>x.jsxs(a.Fragment,{children:[x.jsx(h.Z,{href:e.url,"data-testid":"enhanced-authors-attribution-author",children:x.jsxs("div",{className:"enhanced-authors-attribution__author",children:[x.jsxs("div",{className:"d-flex",children:[e.avatar?.url&&x.jsx(b.Z,U(U({},e.avatar),{},{className:"enhanced-authors-attribution__avatar",fallbackIcon:"person",height:35,maxWidth:35,preload:n,sizes:["35px"],srcSetBreakpoints:[140,280],width:35})),x.jsx("div",{className:"d-flex flex-direction-column justify-content-center","data-testid":"enhanced-authors-attribution-name",children:e.name})]}),x.jsx("div",{className:"full-height d-flex flex-direction-column justify-content-center",children:x.jsx(S.Z,{className:"enhanced-authors-attribution__arrow-icon",color:"clickableRegular",name:"arrow-light",size:16})})]})}),r<t.length-1&&x.jsx("div",{className:"enhanced-authors-attribution__separator","data-testid":"enhanced-authors-attribution-separator"})]},e.url))}):null};T.displayName="EnhancedAuthorsAttribution";let I=e=>{let{authors:t=null,authorPrefix:r=null,isMasthead:n=!1,published:l=null}=e,{t:i}=(0,s.$G)(),{archivePageSettings:o}=(0,a.useContext)(w.Z)||{},c=o?.enhancedAuthors?.enabled;return t||l?(0,x.jsxs)("div",{className:"post-header__body__author","data-testid":"post-header-authors",children:[n&&c?(0,x.jsx)(T,{authors:t??void 0,className:"mt-xs mb-sm"}):(0,x.jsxs)(x.Fragment,{children:[r&&(0,x.jsx)("span",{className:"post-header__author-prefix",children:r}),(0,x.jsx)(R.Z,{authors:t})]}),l&&(0,x.jsx)("div",{className:"post-header__publish-date",suppressHydrationWarning:!0,children:i("organisms.postHeader.publishDate",{published:l})})]}):null},L=e=>{let{colors:t,headerBackgroundColor:r,sponsorIsNative:n}=e;return r in t&&!n?t[r]:null};var A=r(31855),B=r(27618);let z=e=>{let{description:t=null,layout:r="masthead"}=e;if(!t)return null;let n="masthead"===r?B.Z:"div";return(0,x.jsx)(n,{"data-testid":"post-header-description-section",className:(0,l.Z)("post-header__description mt-sm pr-xxs hidden-print",{"body-copy-large":!!r&&["headline","image"].includes(r)}),children:"masthead"===r?t:(0,A.Z)(t)})};var M=r(48917);let W=e=>{let{description:t=null}=e,{t:r}=(0,s.$G)();return t?(0,x.jsx)("div",{"data-testid":"post-header--masthead__description post-header-expandable-description-section",children:(0,x.jsx)(M.Z,{domId:"recipe-masthead-description",maxLines:3,className:"recipe-masthead__description",expandButtonText:r("molecules.postTeaser.readMore"),collapseButtonText:r("molecules.postTeaser.readLess"),children:(0,x.jsx)(B.Z,{children:t})})}):null},F=e=>{let{expandableSections:t=[]}=e;return t?.map((e,t)=>x.jsxs("article",{className:"mb-sm","data-testid":"post-header-expandable-section",children:[e.title&&x.jsx("div",{className:"d-flex flex-direction-row mb-xxs post-header__heading",children:x.jsx(g.Z,{size:2,styledSize:6,children:e.title})}),x.jsx(M.Z,{domId:`expandable-section-${e.title.replace(/\\s+/g,"")}`,maxLines:4,gtmLabel:e.title,children:"string"==typeof e.content||e.content instanceof String?x.jsx(B.Z,{wrapper:/<(p|div|h[1-6]|ul|ol|li|blockquote|pre|hr|table|thead|tbody|tr|td|th|section|article|header|footer|main|aside|nav)\b/i.test(String(e.content))?"div":"p",children:e.content}):x.jsx(N.Z,{content:e.content})})]},e.id||e.title||t))},G=e=>{let{isSaveable:t,pocketPrefix:r}=e;return t?(0,x.jsx)(E.Z,{className:"mb-sm",name:`${r}Actions`}):null};var V=r(61256);let H=e=>{let{showPrintButton:t,isPrivate:r,t:n}=e;return t?(0,x.jsx)(V.Z,{dataFeature:"print",noMinWidth:!0,secondary:!0,text:n("organisms.postHeader.button.print"),icon:"print",onClick:()=>window.print(),gtmLabel:"print-button",className:(0,l.Z)("hidden-for-sm-down"),disabled:r}):null},q=e=>{let{isPrivate:t=!1,isSaveable:r=!1,pocketPrefix:n,showPrintButton:a=!1}=e,{t:l}=(0,s.$G)(),i=G({isSaveable:r,pocketPrefix:n}),o=H({showPrintButton:a,isPrivate:t,t:l});return o||i?(0,x.jsxs)("div",{className:"post-header__actions hidden-print mt-sm",children:[i,o]}):null};var K=r(48092),Y=r(64593),X=r(54938),J=r(14257),Q=r(21626),ee=r(5275);function et(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function er(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?et(Object(r),!0).forEach(function(t){(0,n.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):et(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}let en=e=>{let{className:t=null,licenceKey:r,loaderUrl:n,playerId:i=null,schema:o=null,sctrack:c=null,thumbnail:u=null,videoId:d}=e,p=(0,a.useRef)(null),{track:m}=(0,X.hI)(),{0:h,1:g}=(0,a.useState)(!d),{0:b,1:f}=(0,a.useState)(!!d),{postContent:j,siteContext:v}=(0,a.useContext)(w.Z),_=j?.postId,O=()=>p?.current?.querySelector("green-video")??null;(0,a.useEffect)(()=>{if(!p.current||!h)return()=>{};let e=e=>{let{payload:t,type:r}=e.detail||{},n={event:"videoEvent",playerId:i,videoDuration:t?.content?.duration,videoId:t?.content_id,videoProvider:"greenVideo",videoTitle:t?.content?.title,videoUrl:`https://immediate-demo.greensuite.io/dashboard/media/videos/${t?.content_id}`},a=(e,t)=>{window.dataLayer?.push(er(er({},n),{},{videoPercent:t,videoStatus:e}))};switch(r){case"play":a("start");break;case"content_start":m(v?.siteKey,"video_started",{postId:_,videoId:d});break;case"first_play":t?.is_autoplay&&f(!1);break;case"ms_25":a("progress",25);break;case"ms_50":a("progress",50);break;case"ms_75":a("progress",75);break;case"ms_100":a("complete")}},t=O();return t?(t.addEventListener("gv-player-event",e),()=>{t.removeEventListener("gv-player-event",e)}):()=>{}},[h]);let N=()=>{f(!1);let e='[aria-label*="play"i]',t=t=>t?.querySelector(e),r=t=>{let r=t.querySelector(e);r&&r.click()},n=e=>new Promise(r=>{let n=new MutationObserver(()=>{let a=p.current?.querySelector(e);a&&t(a)&&(r(a),n.disconnect())});n.observe(document.body,{childList:!0,subtree:!0});let a=p.current?.querySelector(e);a&&t(a)&&(r(a),n.disconnect())}),a=O();if(a){a.ui?.preventDock(!1),a.ui?.resumePlayer(),r(a);return}(async()=>{let e=await n("green-video");e&&r(e)})()};(0,a.useEffect)(()=>{let e=()=>{g(!0);let{CLICK_TO_PLAY_CONSENTED:e}=ee.SESSION_STORAGE_ITEM_NAMES;sessionStorage.getItem(e)&&(N(),sessionStorage.removeItem(e))};if(["complete","interactive"].includes(document.readyState))return e(),()=>{};let t="load",r="DOMContentLoaded";return window.addEventListener(t,e),window.addEventListener(r,e),()=>{window.removeEventListener(t,e),window.removeEventListener(r,e)}},[]);let{t:P}=(0,s.$G)();return r&&n?(0,x.jsxs)("div",{className:(0,l.Z)("square-video",{"square-video--plays":!b}),ref:p,style:{backgroundImage:`url(${u})`},children:[o&&(0,x.jsx)(Q.Z,{schema:er({"@context":"https://schema.org","@type":"VideoObject"},o)}),(0,x.jsx)(Y.Helmet,{children:(0,x.jsx)("script",{src:n,"data-license-key":r,async:!0})}),!b&&(0,x.jsx)("button",{type:"button",className:"square-video__close-btn","data-testid":"square-video-close-btn","data-sctrack":(0,y.Z)("SquareVideo-Close",c),"aria-label":"close",onClick:()=>{let e=O(),t=e?.ui;t&&(f(!0),t.stopPlayer(),t.preventDock(!0))},children:(0,x.jsx)(S.Z,{name:"menu-close",color:"inherit",width:12})}),(0,x.jsxs)("div",{className:(0,l.Z)("square-video__content",{"d-flex justify-content-center":b},t),"data-testid":"square-video",children:[b&&(0,x.jsxs)("button",{"aria-label":P("atoms.greenVideo.playVideo",`${o?.name}: Play video`),className:"square-video__facade-btn","data-testid":"square-video-facade-btn","data-sctrack":(0,y.Z)("SquareVideo-Play",c),onClick:N,style:{alignItems:"center",border:"none",display:"flex",flexDirection:"column",height:"100%",justifyContent:"center",padding:0,position:"relative",width:"100%"},tabIndex:0,title:P(`${o?.name}: Play video`),type:"button",children:[(0,x.jsx)("div",{className:"square-video__facade-focus-border",tabIndex:-1}),(0,x.jsx)(J.Z,{aspectRatio:u?.aspectRatio,className:"bg-regular",constrainToParentDimensions:!0,height:500,loading:"lazy",noPlaceholder:!0,scaleUp:!0,sizes:["(min-width: 992px) 900px","(min-width: 768px) 728px","(min-width: 544px) 556px","calc(100vw - 20px)"],srcSetBreakpoints:[300,400,556,675,800,900],style:{height:"100%",width:"100%"},url:u?.url,width:500}),(0,x.jsx)("div",{style:{alignItems:"center",aspectRatio:1,display:"flex",flexDirection:"column",height:"100%",
1justifyContent:"center",left:"50%",maxWidth:"100%",position:"absolute",top:0,transform:"translate(-50%, 0)"},children:(0,x.jsx)("div",{className:"square-video__facade-icon",style:{alignItems:"center",display:"flex",height:"35%",justifyContent:"center",width:"35%"},children:(0,x.jsx)(S.Z,{color:"baseWhite",constrainSvgToParentDimensions:!0,name:"play",style:{height:"65%",width:"65%"}})})})]}),h&&(0,x.jsx)("green-video",{"content-id":d,"data-testid":"green-video-player","embed-id":i})]})]}):null};en.displayName="SquareVideo";var ea=r(4730),el=r(42473),es=r.n(el);let ei=["className","dataTestId","layout","aspectRatio","overlayIcon","avif","containIn16x9","sctrack"];function eo(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function ec(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?eo(Object(r),!0).forEach(function(t){(0,n.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):eo(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}let eu=(e,t)=>{let r=t?({masthead:{dynamic:{aspectRatio:"dynamic",maxWidth:708,srcSetBreakpoints:[350,440,700,800,1060,1200,1420,2130],sizes:["(min-width: 992px) 400px","(min-width: 768px) 708px","(min-width: 544px) 536px","calc(100vw - 40px)"]},letterbox:{aspectRatio:"letterbox",maxWidth:708,srcSetBreakpoints:[350,440,700,800,1060,1200,1420,2130],sizes:["(min-width: 992px) 400px","(min-width: 768px) 708px","(min-width: 544px) 536px","calc(100vw - 40px)"]},landscape:{aspectRatio:"landscape",maxWidth:708,srcSetBreakpoints:[350,440,700,800,1060,1200,1420,2130],sizes:["(min-width: 992px) 400px","(min-width: 768px) 708px","(min-width: 544px) 536px","calc(100vw - 40px)"]},portrait:{aspectRatio:"portrait",maxWidth:708,srcSetBreakpoints:[350,440,700,800,1060,1200,1420,2130],sizes:["(min-width: 992px) 400px","(min-width: 768px) 708px","(min-width: 544px) 536px","calc(100vw - 40px)"]},square:{aspectRatio:"square",maxWidth:708,srcSetBreakpoints:[350,440,700,800,1060,1200,1420,2130],sizes:["(min-width: 992px) 400px","(min-width: 768px) 708px","(min-width: 544px) 536px","calc(100vw - 40px)"]}},image:{letterbox:{aspectRatio:"letterbox",maxWidth:940,srcSetBreakpoints:[300,400,556,675,800,940,1200,1500,1880,2820,3760],sizes:["(min-width: 768px) 940px","(min-width: 544px) 556px","calc(100vw - 20px)"]}},headline:{portrait:{aspectRatio:"portrait",maxWidth:556,srcSetBreakpoints:[300,375,450,650,900,1100,1400,1800,2200],sizes:["(min-width: 768px) 460px","(min-width: 544px) 556px","calc(100vw - 20px)"]},square:{aspectRatio:"square",maxWidth:556,srcSetBreakpoints:[300,375,450,650,900,1100,1400,1800,2200],sizes:["(min-width: 768px) 460px","(min-width: 544px) 556px","calc(100vw - 20px)"]}}})[e]?.[t]:void 0;return es()(!t||!!r,`The "${t}" aspect ratio is not currently configured for the "${e}" layout`),r||({masthead:{aspectRatio:"square",maxWidth:708,srcSetBreakpoints:[350,440,700,800,1060,1200,1420,2130],sizes:["(min-width: 992px) 400px","(min-width: 768px) 708px","(min-width: 544px) 536px","calc(100vw - 40px)"]},headline:{aspectRatio:"landscape",maxWidth:980,srcSetBreakpoints:[300,400,550,750,1e3,1200,1500,1750,2250,2750,3500,4500],sizes:["(min-width: 992px) 980px","(min-width: 768px) 748px","(min-width: 544px) 556px","calc(100vw - 20px)"]},image:{aspectRatio:"landscape",maxWidth:940,srcSetBreakpoints:[300,400,556,675,800,940,1200,1500,1880,2820,3760],sizes:["(min-width: 768px) 940px","(min-width: 544px) 556px","calc(100vw - 20px)"]}})[e]},ed=e=>{let{className:t=null,dataTestId:r=null,layout:n="masthead",aspectRatio:a=null,overlayIcon:s=null,avif:i=!1,containIn16x9:o=!1,sctrack:c=null}=e,u=(0,ea.Z)(e,ei),d=(0,x.jsx)(J.Z,ec(ec(ec(ec({},u),eu(n,a)),{},{className:(0,l.Z)("post-header-image",{"post-header-image--contained":o},t),fluid:!0,scaleUp:!0,preload:!0,avif:i},o&&{contain:"all",constrainToParentDimensions:!0}),{},{sctrack:(0,y.Z)("PostHeaderImage",c)})),p=o?(0,x.jsxs)("div",{className:"post-header-image__16-9-container",children:[(0,x.jsx)("div",{className:"post-header-image__blurred-bg",style:{backgroundImage:`url(${String(u.url??"")})`}}),(0,x.jsx)("div",{className:"post-header-image__overlay"}),d]}):d;return(0,x.jsxs)("div",{className:"p-relative","data-testid":r,children:[s&&(0,x.jsx)("div",{className:"post-header-image__hero-image-overlay-icon p-absolute d-grid justify-content-center align-content-center",children:(0,x.jsx)(S.Z,{name:s,color:"baseWhite",size:60})}),p]})};ed.displayName="PostHeaderImage";var ep=r(86206),em=r(63038),eh=r(20181);function eg(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function eb(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?eg(Object(r),!0).forEach(function(t){(0,n.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):eg(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}let ef=e=>{let{aspectRatio:t=null,ediplayer:r=null,greenVideo:n=null,heroImageOverlayIcon:a=null,image:l=null,layout:s="masthead",onnetworkplayer:i=null,postType:o=null}=e,{isTrailer:c=!1}=n||{},u=(0,eh.ZP)(eh.sK)&&"article"===o,d=c?K.Z:en,p=l?.height>l?.width;return(0,x.jsxs)("div",{className:"post-header--masthead__hero","data-testid":"post-header-masthead-hero",children:[r&&(0,x.jsx)(ep.Z,eb({},r)),!r&&i&&(0,x.jsx)(em.Z,eb({},i)),!r&&!i&&n&&(0,x.jsx)(d,eb(eb({},c&&{noMargin:!0}),{},{isMastheadHero:!0,thumbnail:l},n)),!r&&!i&&!n&&l&&(0,x.jsx)(ed,eb(eb({},l),{},{aspectRatio:t,dataTestId:"masthead-hero-image",layout:s,overlayIcon:a,avif:u,containIn16x9:"show"===o&&p}))]})};var ey=r(8770);function ex(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function ej(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ex(Object(r),!0).forEach(function(t){(0,n.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ex(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}let ev=e=>{let{heroImageOverlayIcon:t=null,highlightMessage:r=null,image:n=null,aspectRatio:a=null,layout:s="masthead",notification:i=null,postType:o=null}=e,c=(0,eh.ZP)(eh.sK)&&"article"===o;return(0,x.jsxs)("div",{className:(0,l.Z)("post-header__image-container",{"mt-sm":"headline"===s}),"data-testid":"post-hero-image",children:[r&&(0,x.jsx)(ey.Z,{className:"pa-xxs",children:r}),(0,x.jsx)(ed,ej(ej({},n),{},{layout:s,aspectRatio:a,overlayIcon:t,avif:c})),i&&(0,x.jsx)(ey.Z,{contentAlign:"left",className:"mt-sm",children:(0,x.jsx)(N.Z,{content:i})})]})},e_=e=>{let{itemCount:t=null,itemDescription:r=null}=e,{t:n}=(0,s.$G)();return t?(0,x.jsx)("div",{className:"post-header__item-count mr-lg body-copy-bold d-inline-block mt-sm","data-testid":"post-header-item-count",children:`${t} ${r||n("organisms.postHeader.itemCount.items",{count:t})}`}):null};var eO=r(89294);let ew=e=>{let{labels:t=[]}=e;return t?.length?(0,x.jsx)(eO.Z,{labels:t,className:"mb-xxs post-header__labels"}):null};var eN=r(59353);let eP=e=>{let{authorPublishedSection:t=null,expandableDescriptionSection:r=null,expandableSection:n=null,heroSection:a=null,itemCountSection:s=null,labelsSection:i=null,logoSection:o=null,metaPocket:c=null,postType:u=null,plantSection:d=null,priceSection:p=null,printButton:m=null,promoSection:h=null,pronunciationSection:g=null,ratingSection:b=null,showHeroImage:f=!0,socialShareSection:y=null,sponsorSection:j=null,tableSection:v=null,tagsSection:_=null,titleSection:O=null,recipeCookAndPrepTimeSection:w=null,saveButton:N=null,userRatingsSection:P=null}=e,Z=(0,eN.Z)();return(0,x.jsxs)(x.Fragment,{children:[(0,x.jsxs)("div",{children:[a,Z&&y]}),(0,x.jsxs)("div",{className:(0,l.Z)("post-header__body oflow-x-hidden",{"ml-reset":!f,"post-header__body--recipe":"recipe"===u}),role:"banner","data-testid":"masthead-layout",children:[j,O,g,t,N,w,b,p,s,c,P,h,o,i,"show"===u?n:r,v,d,_,m,!Z&&y]})]})},eZ=e=>{let{actionsSection:t=null,authorPublishedSection:r=null,cookAndPrepTimeSection:n=null,descriptionSection:a=null,expandableSection:l=null,imageSection:s=null,itemCountSection:i=null,labelsSection:o=null,logoSection:c=null,metaPocket:u=null,plantSection:d=null,priceSection:p=null,promoSection:m=null,pronunciationSection:h=null,ratingSection:g=null,showHeroImage:b=!0,socialShareSection:f=null,sponsorSection:y=null,tableSection:j=null,termsSection:v=null,titleSection:_=null,userRatingsSection:O=null,videoSection:w=null}=e;return(0,x.jsxs)("div",{className:"post-header__body oflow-x-hidden ml-reset",role:"banner",children:[y,_,h,a,b&&s,w,r,g,p,i,u,O,m,n,c,o,l,j,d,v,t,f]})},eS=e=>{let{actionsSection:t=null,authorPublishedSection:r=null,cookAndPrepTimeSection:n=null,descriptionSection:a=null,expandableSection:l=null,itemCountSection:s=null,labelsSection:i=null,logoSection:o=null,metaPocket:c=null,plantSection:u=null,priceSection:d=null,promoSection:p=null,pronunciationSection:m=null,ratingSection:h=null,
1socialShareSection:g=null,sponsorSection:b=null,tableSection:f=null,termsSection:y=null,titleSection:j=null,userRatingsSection:v=null}=e;return(0,x.jsxs)("div",{className:"post-header__body oflow-x-hidden ml-reset",role:"banner",children:[b,j,m,r,h,d,s,c,v,p,n,o,i,a,l,f,u,y,t,g]})},ek=["layout","actionsSection","authorPublishedSection","cookAndPrepTimeSection","descriptionSection","expandableDescriptionSection","expandableSection","heroSection","imageSection","itemCountSection","labelsSection","logoSection","mastheadPocketSection","metaPocket","openWebRatingEnabled","plantSection","postType","priceSection","printButton","promoSection","pronunciationSection","ratingSection","recipeCookAndPrepTimeSection","saveButton","showHeroImage","socialShareSection","sponsorSection","tableSection","tagsSection","termsSection","titleSection","userRatingsSection","videoSection"];function eD(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function eE(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?eD(Object(r),!0).forEach(function(t){(0,n.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):eD(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}let eC=e=>{let{layout:t="masthead",actionsSection:r=null,authorPublishedSection:n=null,cookAndPrepTimeSection:a=null,descriptionSection:l=null,expandableDescriptionSection:s=null,expandableSection:i=null,heroSection:o=null,imageSection:c=null,itemCountSection:u=null,labelsSection:d=null,logoSection:p=null,mastheadPocketSection:m=null,metaPocket:h=null,openWebRatingEnabled:g,plantSection:b=null,postType:f=null,priceSection:y=null,printButton:j=null,promoSection:v=null,pronunciationSection:_=null,ratingSection:O=null,recipeCookAndPrepTimeSection:w=null,saveButton:N=null,showHeroImage:P=!0,socialShareSection:Z=null,sponsorSection:S=null,tableSection:k=null,tagsSection:D=null,termsSection:E=null,titleSection:C=null,userRatingsSection:R=null,videoSection:$=null}=e,U=eE({actionsSection:r,authorPublishedSection:n,cookAndPrepTimeSection:a,descriptionSection:l,expandableDescriptionSection:s,expandableSection:i,heroSection:o,imageSection:c,itemCountSection:u,labelsSection:d,logoSection:p,mastheadPocketSection:m,metaPocket:h,openWebRatingEnabled:g,plantSection:b,postType:f,priceSection:y,printButton:j,promoSection:v,pronunciationSection:_,ratingSection:O,recipeCookAndPrepTimeSection:w,saveButton:N,showHeroImage:P,socialShareSection:Z,sponsorSection:S,tableSection:k,tagsSection:D,termsSection:E,titleSection:C,userRatingsSection:R,videoSection:$},(0,ea.Z)(e,ek));return"headline"===t?(0,x.jsx)(eZ,eE({},U)):"image"===t?(0,x.jsx)(eS,eE({},U)):(0,x.jsx)(eP,eE({},U))};function eR(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function e$(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?eR(Object(r),!0).forEach(function(t){(0,n.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):eR(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}let eU=e=>{let{logo:t=null}=e;return t&&t.image.url&&t.linkTo?(0,x.jsx)(h.Z,{className:"post-header__logo d-block mb-xs hidden-print",href:t.linkTo,target:"_blank",rel:"nofollow","data-testid":"post-header-logo",children:(0,x.jsx)(J.Z,e$(e$({},t.image),{},{fluid:!0,maxWidth:160,maxHeight:35,srcSetBreakpoints:[60,120,180,240,320,480,640],sizes:["(min-width: 768px) 160px","60px"]}))}):null},eT=e=>{let{pocketPrefix:t,showMastheadPocket:r=!0}=e;return r?(0,x.jsx)("div",{className:"post-header__masthead-promotional hidden-print",children:(0,x.jsx)(E.Z,{name:`${t}Masthead`})}):null};var eI=r(63144),eL=e=>{let{enabled:t=!1,fallbackCountry:r="GB"}=e,{0:n,1:l}=(0,a.useState)();return(0,a.useEffect)(()=>{(async()=>
1{if(!n){if(!t){l(r);return}try{let e=await eI("https://geoip.immediatemedia.co.uk/country-code").then(e=>e.json());l(e.countryCode)}catch(e){console.error(e),l(r)}}})()},[]),n};let eA={AX:"EUR",AL:"EUR",AS:"USD",AD:"EUR",AI:"USD",AG:"USD",AW:"USD",AU:"AUD",AT:"EUR",BS:"USD",BB:"USD",BY:"EUR",BE:"EUR",BZ:"USD",BM:"USD",BA:"EUR",BG:"EUR",CA:"USD",KY:"USD",CC:"AUD",CK:"AUD",CR:"USD",HR:"EUR",CU:"USD",CX:"AUD",CZ:"EUR",DK:"EUR",DM:"USD",DO:"USD",SV:"USD",EE:"EUR",FO:"EUR",FJ:"AUD",FI:"EUR",FR:"EUR",PF:"AUD",DE:"EUR",GB:"GBP",GI:"EUR",GR:"EUR",GL:"USD",GD:"USD",GP:"EUR",GU:"AUD",GT:"USD",GG:"GBP",HT:"USD",HM:"AUD",VA:"EUR",HN:"USD",HU:"EUR",IS:"EUR",IE:"EUR",IM:"GBP",IT:"EUR",JM:"USD",JE:"GBP",KI:"AUD",LV:"EUR",LI:"EUR",LT:"EUR",LU:"EUR",MK:"EUR",MT:"EUR",MH:"USD",MQ:"EUR",MX:"USD",FM:"USD",MD:"EUR",MC:"EUR",ME:"EUR",MS:"USD",NR:"AUD",AN:"USD",NL:"EUR",NC:"AUD",NZ:"AUD",NI:"USD",NU:"AUD",NF:"AUD",MP:"USD",NO:"EUR",PW:"USD",PA:"USD",PG:"AUD",PN:"AUD",PL:"EUR",PT:"EUR",PR:"USD",RO:"EUR",KN:"USD",LC:"USD",PM:"EUR",VC:"USD",WS:"AUD",SM:"EUR",RS:"EUR",SK:"EUR",SI:"EUR",SB:"AUD",ES:"EUR",SJ:"EUR",SE:"EUR",CH:"EUR",TK:"AUD",TO:"AUD",TT:"USD",TC:"USD",TV:"AUD",UA:"EUR",UM:"USD",US:"USD",VU:"AUD",VG:"USD",VI:"USD",WF:"AUD",BQ:"USD",IO:"USD",TL:"USD",EU:"EUR",CY:"EUR",GF:"EUR",TF:"EUR",YT:"EUR",RE:"EUR",BL:"EUR"},eB={GBP:(0,x.jsx)(x.Fragment,{children:"\xa3"}),EUR:(0,x.jsx)(x.Fragment,{children:"â¬"}),USD:(0,x.jsx)(x.Fragment,{children:"$"}),AUD:(0,x.jsx)(x.Fragment,{children:"$"})},ez=(e,t)=>{if(eB[t]&&e[t])return{currencyCode:t,symbol:eB[t],amount:Number(e[t])};if(e.GBP)return{currencyCode:"GBP",symbol:eB.GBP,amount:Number(e.GBP)};let[r,n]=Object.entries(e)[0];return{currencyCode:r,symbol:eB[r],amount:Number(n)}},eM=e=>{let{type:t,amounts:r,showRRP:n=!1,enableGeoIPLookup:a=!1,className:s=null}=e,i=eL({enabled:a&&Object.keys(r).length>1}),{currencyCode:o,symbol:c,amount:u}=ez(r,eA[i]||"GBP");return(0,x.jsxs)("span",{className:(0,l.Z)("price",s),children:["from"===t&&"From ",(0,x.jsxs)("span",{className:(0,l.Z)({"price--skeleton":!i&&a&&Object.keys(r).length>1}),"data-testid":"price-skeleton",children:[o," ",(0,x.jsxs)("span",{className:"price__value",children:[c,u%1==0?u:u.toFixed(2),n&&" RRP"]})]})]})};eM.displayName="Price";let eW=e=>{let{price:t=null}=e;return t&&t.type&&t.amounts?(0,x.jsxs)("div",{className:"mt-sm","data-testid":"post-header-price",children:[(0,x.jsx)(eM,{type:t.type,amounts:t.amounts,showRRP:!0,enableGeoIPLookup:!0}),t.note&&(0,x.jsx)("p",{className:"mt-sm body-copy-small",children:t.note})]}):null},eF=e=>{let{promo:t=null}=e;return t?(0,x.jsx)(h.Z,{styled:!0,href:t.url,className:"post-header__promo body-copy-small d-inline-block mt-sm hidden-print",children:(0,A.Z)(t.label)}):null};var eG=r(98001);let eV=e=>{let{rating:t=null}=e,{t:r}=(0,s.$G)();return t?(0,x.jsxs)("span",{className:"d-flex mt-sm post-header__rating","data-testid":"post-header-rating",children:[(0,x.jsx)("span",{children:r("organisms.postHeader.ourRatingText")}),(0,x.jsx)(eG.Z,{hasRatingValue:!0,isPrecise:!0,ratingValue:t})]}):null};var eH=r(99086),eq=r(10191),eK=r(52221);function eY(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function eX(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?eY(Object(r),!0).forEach(function(t){(0,n.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):eY(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}let eJ=e=>{let t;try{t=new URL(e)}catch(e){return console.error(e),null}let{origin:r,pathname:n,search:a,hash:l}=t,s=e.split("?")[0]?.slice(-1)==="/",i=n.replace(/\/$/,"");return s&&(i+="/"),`${r}${i}${encodeURIComponent(a)}${l}`},eQ=function(){let{url:e,title:t,tweet:r,imageUrl:n,emailSubject:a,emailBody:l}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{facebook:`https://www.facebook.com/sharer.php?u=${e}`,pinterest:`https://www.pinterest.com/pin/create/button/?url=${e}&media=${n}&description=${t}`,twitter:`https://twitter.com/intent/tweet?text=${r}%0A%0A&url=${e}`,email:`mailto:?subject=${a}&body=${l}%0A%0A${e}`,whatsapp:`whatsapp://send?text=%22${t}%22%20${e}`,reddit:`https://www.reddit.com/submit?url=${e}&title=${t}`,tumblr:`https://www.tumblr.com/widgets/share/tool?posttype=link&canonicalUrl=${e}&title=${t}`,blogger:`https://www.blogger.com/blog-this.g?u=${e}&n=${t}`,vkontakt:`https://vk.com/share.php?url=${e}&title=${t}`}},e0=(e,t)=>{let r={facebook:{size:22,bottom:-1,right:2},pinterest:{size:25,bottom:-1,left:3},reddit:{size:18}};return Object.keys(eQ()).reduce((e,n)=>(e[n]=[eX({name:n,size:16,color:"baseWhite"},r[n]),{name:"circle",color:t?"backgroundRegular":`social${(0,eK.Z)(n)}`,size:30}],e),{})[e]},e1=e=>{let{platforms:t=[],url:r,title:n="",tweet:a="",imageUrl:i="",emailSubject:o="",emailBody:c="",className:u=null,disabled:d=!1}=e,p=d?"span":h.Z,{t:m}=(0,s.$G)();return(0,x.jsx)(eH.Z,{horizontal:!0,className:(0,l.Z)("social-share hidden-print",u),gtmLabel:"social-share","data-feature":"SocialShare",children:t.map(e=>{let t=e0(e,d);
1return t?(0,x.jsx)(eH.Z.Item,{className:`social-share__${e}`,gtmLabel:`social-share-${e}`,"data-method":e,"data-component":`SocialShare-${e}-link`,children:(0,x.jsx)(p,{href:d?null:eQ({url:eJ(r),title:n,tweet:a,imageUrl:i,emailSubject:o,emailBody:c})[e],className:"social-share__link",target:d||"email"===e?void 0:"_blank",rel:d?void 0:`nofollow noopener${"email"!==e?" noreferrer":""}`,children:(0,x.jsx)(eq.Z,{className:"social-share__icon",srOnly:"email"===e?m("molecules.socialShare.sr.iconEmail"):m("molecules.socialShare.sr.iconShare",{platform:e}),children:t.map(t=>(0,x.jsx)(eq.Z.Icon,eX({},t),`${e}-${t.name}`))})})},e):null})})};function e2(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}e1.displayName="SocialShare";let e5=e=>{let{socialShare:t=null}=e;return!!t?.platforms?.length&&(0,x.jsx)(e1,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?e2(Object(r),!0).forEach(function(t){(0,n.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):e2(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({circle:!0,className:"post-header__social-share"},t))};var e4=r(90357);function e8(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function e6(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?e8(Object(r),!0).forEach(function(t){(0,n.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):e8(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}let e3=e=>{let{bgColor:t=null,layout:r="masthead",sponsor:n=null,sponsorIsNative:a=!1,sponsorTracking:s=null}=e;return(0,x.jsxs)(x.Fragment,{children:[n?.image?.url&&(0,x.jsx)("div",{className:(0,l.Z)("post-header__sponsor-image hidden-print",`post-header__sponsor-image--${r}-layout`,{[`post-header__sponsor-image--${r}-native`]:a&&"masthead"!==r,"post-header__sponsor-image--bg-color-set":t&&!a}),children:(0,x.jsx)(h.Z,{href:n?.url,target:"_blank",rel:"nofollow",children:(0,x.jsx)(J.Z,e6(e6({},n.image),{},{aspectRatio:null,maxWidth:180,maxHeight:54,srcSetBreakpoints:[80,160,180,240,320,360,540,720],sizes:["(min-width: 768px) 180px","80px"],fluid:!0}))})}),n&&(0,x.jsx)("div",{className:(0,l.Z)("post-header__row post-header__row--center-aligned hidden-print"),children:(0,x.jsx)(P.Z,{hasFlag:a,bgColor:"commercialRegular",color:"baseWhite",prefix:n.prefix,rel:"nofollow",text:n?.name,url:n?.url})}),s&&(0,x.jsx)(e4.Z,e6({},s))]})};var e7=r(84863);function e9(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}let te=e=>{let{table:t=null}=e;return t?(0,x.jsx)(e7.Z,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?e9(Object(r),!0).forEach(function(t){(0,n.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):e9(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({className:"body-copy-extra-small mt-md mb-md"},t)):null},tt=e=>{let{terms:t=[]}=e;return t?.length?(0,x.jsx)("div",{className:"post-header--masthead__tags","data-testid":"post-header-masthead-tags",children:t.map((e,t)=>(0,x.jsx)("div",{className:"post-header--masthead__tags-item",children:e.display},e.id||e.display||t))}):null};var tr=r(89276);let tn=e=>{let{terms:t=[]}=e;return t?.length?(0,x.jsx)(tr.Z,{className:"post-header__term-icons-list mt-sm hidden-print",getIconClass:e=>`post-header__term-icon${e?"-base":""}`,terms:t}):null};var ta=r(23425);let tl=e=>{let{kicker:t=null,layout:r="masthead",smallTitle:n=!1,title:a,titleIcon:s=null}=e;return a?(0,x.jsx)(ta.Z,{size:1,styledSize:n?2:1,icon:s,kicker:t,className:(0,l.Z)("post-header__title",`post-header__title--${r}-layout`),children:(0,A.Z)(a)}):null};var ts=r(77107);function ti(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function to(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?ti(Object(r),!0).forEach(function(t){(0,n.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ti(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}let tc=e=>{let{ediplayer:t=null,greenVideo:r=null,layout:n="masthead",onnetworkplayer:a=null,thumbnail:s=null}=e;return t||r||a?(0,x.jsxs)("div",{className:(0,l.Z)("post-header__video-container",{"mt-sm":"headline"===n}),children:[t&&(0,x.jsx)(ep.Z,to({},t)),r&&(0,x.jsx)(K.Z,to({masthead:"masthead"===n,showingFacade:!0,thumbnail:s},r)),a&&(0,x.jsx)(em.Z,to({},a))]}):null};var tu=r(49217);let td=e=>{let{servings:t=null,skillLevel:r=null,preparationMin:n=null,preparationMax:a=null,cookingMin:l=null,cookingMax:i=null,total:o=null,note:c=null}=e,{t:u}=(0,s.$G)(),d=!!n||!!a,p=!!l||!!i,m=!!o&&!(d||p);return(0,x.jsxs)("div",{className:"recipe-cook-and-prep-details",children:[(0,x.jsxs)("div",{className:"recipe-cook-and-prep-details__section","data-testid":"recipe-cook-and-prep-details-section-difficulty-servings",children:[t&&(0,x.jsx)("div",{className:"recipe-cook-and-prep-details__item","data-testid":"recipe-cook-and-prep-details-servings",children:(0,x.jsx)("strong",{children:t})}),r&&(0,x.jsx)("div",{className:"recipe-cook-and-prep-details__item","data-testid":"recipe-cook-and-prep-details-skillLevel",children:(0,x.jsx)("strong",{children:r})})]}),(0,x.jsxs)("div",{className:"recipe-cook-and-prep-details__section","data-testid":"recipe-cook-and-prep-details-section-time",children:[d&&(0,x.jsxs)("div",{className:"recipe-cook-and-prep-details__item","data-testid":"recipe-cook-and-prep-details-prep-time",children:[u("molecules.cookAndPrepTime.timeRange.prep"),"\xa0",(0,x.jsx)("strong",{children:(0,x.jsx)(tu.Z,{min:n??void 0,max:a??void 0})})]}),p&&(0,x.jsxs)("div",{className:"recipe-cook-and-prep-details__item","data-testid":"recipe-cook-and-prep-details-cook-time",children:[u("molecules.cookAndPrepTime.timeRange.cook"),"\xa0",(0,x.jsx)("strong",{children:(0,x.jsx)(tu.Z,{min:l??void 0,max:i??void 0})})]}),m&&(0,x.jsxs)("div",{className:"recipe-cook-and-prep-details__item","data-testid":"recipe-cook-and-prep-details-total-time",children:[u("molecules.cookAndPrepTime.timeRange.total"),":\xa0",(0,x.jsx)("strong",{children:(0,x.jsx)(tu.Z,{min:o})})]}),c&&(0,x.jsx)("div",{className:"recipe-cook-and-prep-details__note","data-testid":"recipe-cook-and-prep-details-note",children:c})]})]})};td.displayName="RecipeCookAndPrepDetails";let tp=h.Z,tm=e=>{let{count:t=0,anchor:r="#comments"}=e,{t:n}=(0,s.$G)();return(0,x.jsx)(tp,{styled:!0,className:"d-inline-flex",href:r,children:n("molecules.commentsLink.text",{count:t})})};tm.displayName="CommentsLink";let th=e=>{let{userRatings:t=null,commentsAnchor:r="#commentsFeed",globalOpenWebSettings:n={avgRatingOnPost:!0,numCommentsOnPost:!0},openWebRatingEnabled:a=!1}=e,l=t?.avg??0,s=t?.total??0,i=t?.commentCount??0,o=n?.avgRatingOnPost??!1,c=n?.numCommentsOnPost??!1,u=!!t&&o,d=i>0&&c;return(u||d)&&a?(0,x.jsxs)("div",{className:"d-flex mt-sm mb-sm post-header__user-ratings body-copy-small","data-testid":"post-header-user-ratings",children:[u&&(0,x.jsx)(eG.Z,{hasRatingValue:!1,hasRatingCount:!0,ratingValue:l,ratingCount:s,isHalfStar:!0,isInline:!0,canRate:!0,ratingLink:r||"#commentsFeed"}),d&&(0,x.jsx)(tm,{count:i,anchor:r||"#commentsFeed"})]}):null},tg=()=>{let{siteContext:e,postContent:t,zephrSettings:r}=(0,a.useContext)(w.Z),{siteKey:n}=e||{},{postType:l}=t||{},{enabled:s}=r||{};return s&&n&&l?(0,x.jsx)("div",{id:`zephr-promo-banner-${n}-${l}`,"data-testid":"post-header-masthead-zephr-promo-banner"}):null};function tb(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}let tf=e=>{let{aspectRatio:t=null,authorPrefix:r=null,authors:a=null,className:i="",commentsAnchor:o="#commentsFeed",cookAndPrepTimeSection:c=null,description:u=null,ediplayer:d=null,expandableSections:p=[],globalOpenWebSettings:m=null,greenVideo:h=null,headerBackgroun
1dColor:g=null,heroImageOverlayIcon:b=null,highlightMessage:f=null,image:y=null,isPrivate:j=!1,isSaveable:v=!1,itemCount:_=null,itemDescription:O=null,kicker:w=null,labels:N=[],layout:P="masthead",logo:Z=null,notification:S=null,onnetworkplayer:k=null,openWebRatingEnabled:D=!1,plantSection:R=null,pocketPrefix:$,postType:U=null,price:T=null,promo:A=null,pronunciation:B=null,published:M=null,rating:V=null,resetMainPadding:K=!1,showHeroImage:Y=!0,showMastheadPocket:X=!0,showPrintButton:J=!1,smallTitle:Q=!1,socialShare:ee=null,sponsor:et=null,sponsorTracking:er=null,table:en=null,terms:ea=[],title:el,titleIcon:es=null,userRatings:ei=null}=e,{t:eo}=(0,s.$G)(),{colors:ec}=(0,ts.Z)(),eu=et?.type?.includes("native"),ed=L({colors:ec,headerBackgroundColor:g,sponsorIsNative:eu}),{cookAndPrepTime:ep={},servings:em="",skillLevel:eh=""}=c?.props||{};P&&["image","masthead"].includes(P)&&h&&(h.isLargeTabletHero=!0);let eg="masthead"===P,eb=(0,x.jsx)(ev,{aspectRatio:t,heroImageOverlayIcon:b,highlightMessage:f,image:y,layout:P,notification:S,postType:U}),ey=(0,x.jsx)(ef,{aspectRatio:t,ediplayer:d,greenVideo:h,heroImageOverlayIcon:b,image:y,layout:P,onnetworkplayer:k,postType:U}),ex=null;"recipe"===U&&(ex=(0,x.jsx)(td,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?tb(Object(r),!0).forEach(function(t){(0,n.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):tb(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({servings:em,skillLevel:eh},ep)));let ej=(0,x.jsx)(tc,{ediplayer:d,greenVideo:h,layout:P,onnetworkplayer:k,thumbnail:y}),eO=(0,x.jsx)(z,{description:u,layout:P}),eN=(0,x.jsx)(W,{description:u}),eP=(0,x.jsx)(eT,{pocketPrefix:$,showMastheadPocket:X}),eZ=(0,x.jsx)(q,{isPrivate:j,isSaveable:v,pocketPrefix:$,showPrintButton:J}),eS=H({showPrintButton:J,isPrivate:j,t:eo}),ek=G({isSaveable:v,pocketPrefix:$}),eD=(0,x.jsx)(e5,{socialShare:ee}),eE=(0,x.jsx)(e3,{sponsorIsNative:eu,sponsor:et,sponsorTracking:er,layout:P,bgColor:ed}),eR=(0,x.jsx)(tl,{title:el,smallTitle:Q,titleIcon:es,kicker:w,layout:P}),e$=(0,x.jsx)(C,{pronunciation:B}),eI=(0,x.jsx)(I,{authors:a,authorPrefix:r,isMasthead:eg,published:M}),eL=(0,x.jsx)(eV,{rating:V}),eA=(0,x.jsx)(th,{userRatings:ei,globalOpenWebSettings:m,commentsAnchor:o,openWebRatingEnabled:D}),eB=(0,x.jsx)(eW,{price:T}),ez=(0,x.jsx)(e_,{itemCount:_,itemDescription:O}),eM=(0,x.jsx)(E.Z,{name:`${$}Meta`,className:"post-header__row--center-aligned body-copy-small",horizontal:!0,itemSpacingX:"lg",itemSpacingY:"sm"}),eG=(0,x.jsx)(eF,{promo:A}),eH=(0,x.jsx)(eU,{logo:Z}),eq=(0,x.jsx)(ew,{labels:N}),eK=(0,x.jsx)(F,{expandableSections:p}),eY=(0,x.jsx)(te,{table:en}),eX=(0,x.jsx)(tt,{terms:ea}),eJ=(0,x.jsx)(tn,{terms:ea}),eQ="recipe"===U&⪚return(0,x.jsxs)("section",{className:(0,l.Z)(i,"post-header",`post-header--${P}-layout`,t&&`post-header--${t}-aspect-ratio`,{"post-header--native":eu&&ec.commercialRegular,"post-header--small-title":Q,"post-header--masthead":eg}),style:{backgroundColor:ed},"data-placement":"PostHeader","data-placement-variant":P,children:[eQ&&(0,x.jsx)("div",{className:"hidden-print",children:(0,x.jsx)(tg,{})}),(0,x.jsx)("div",{className:(0,l.Z)("container post-header__container",`post-header__container--${P}-layout`,{"post-header__container--masthead":eg,"pl-xs pr-xs":(eu||ed)&&"masthead"!==P,"pa-reset":K}),children:(0,x.jsx)(eC,{layout:P,actionsSection:eZ,authorPublishedSection:eI,cookAndPrepTimeSection:c,recipeCookAndPrepTimeSection:ex,descriptionSection:eO,expandableDescriptionSection:eN,expandableSection:eK,heroSection:ey,imageSection:eb,itemCountSection:ez,labelsSection:eq,logoSection:eH,mastheadPocketSection:eP,metaPocket:eM,plantSection:R,printButton:eS,postType:U,priceSection:eB,promoSection:eG,pronunciationSection:e$,ratingSection:eL,saveButton:ek,showHeroImage:Y,socialShareSection:eD,sponsorSection:eE,tableSection:eY,tagsSection:eX,termsSection:eJ,titleSection:eR,userRatingsSection:eA,videoSection:ej,openWebRatingEnabled:D})})]})};tf.displayName="PostHeader";var ty=r(3672),tx=r(25853),tj=r(32797),tv=r(13080),t_=r(26335);let tO=a.useLayoutEffect,tw=e=>{let{name:t,className:r=null,overridePocketItemNames:n=null,overrideSelectedItemName:s=null,overrideRenderedPocketItems:i=null}=e,{pocketItemNames:o,renderedPocketItems:c,selectedPocketItemName:u,selectPocketItemByName:d}=(0,tx.Wu)(t),p=s||u,m=i||c,{0:h,1:g}=(0,a.useState)(0),b=(0,a.useRef)(null),f=(n||o).map((e,t)=>{let r=e===p;return(0,x.jsx)(tv.Z,{className:(0,l.Z)({active:r}),onClick:()=>d(e),tabSelected:r,text:e,ariaLabel:e,dataFeature:"TabbedPocketButton",dataFeatureVariant:e,dataIndex:t},e)});tO(()=>{let e=()=>{g(b.current?b.current.offsetWidth:0)};e();let t=(0,t_.Z)(()=>{e()},100);return window.addEventListener("resize",t),()=>{window.removeEventListener("resize",t)}},[b]);let{0:y,1:j}=(0,a.useState)(!1),{0:v,1:_}
1=(0,a.useState)(!1),O=(0,a.useRef)(null),w=()=>{let e=O.current;e&&(j(e.scrollLeft>0),_(e.scrollLeft<e.scrollWidth-e.clientWidth))};return((0,a.useEffect)(()=>{let e=O.current;return e?(w(),e.addEventListener("scroll",w),window.addEventListener("resize",w),()=>{e.removeEventListener("scroll",w),window.removeEventListener("resize",w)}):()=>{}},[]),m?.length===0)?null:(0,x.jsxs)("div",{className:(0,l.Z)("tabbed-pocket",r),"data-placement":t,"data-placement-variant":p,ref:b,"data-component":"TabbedPocket",children:[(0,x.jsx)("div",{className:"tabbed-pocket__wrapper",children:(0,x.jsx)("div",{style:{width:h},ref:O,className:(0,l.Z)("tabbed-pocket__tabs",{"button-cluster__area--shadow-left":y,"button-cluster__area--shadow-right":v}),children:f})}),(0,x.jsx)("div",{className:"tabbed-pocket__item-container",children:m.map(e=>(0,x.jsx)(tj.Z,{children:e},e.key))})]})};tw.displayName="TabbedPocket";var tN=r(45381),tP=r(27647),tZ=r(75123);let tS=e=>{let{ratingsCriteria:t,rating:r,className:n=null}=e,{t:a}=(0,s.$G)();return t?.length&&r?(0,x.jsxs)("div",{className:(0,l.Z)("rating-criteria",n),children:[(0,x.jsx)(eH.Z,{className:"rating-criteria__list",children:t?.map(e=>x.jsx(tZ.Z,{separator:!0,className:"rating-criteria__list-item",children:x.jsxs("div",{className:"d-flex justify-content-space-between",children:[x.jsx("span",{className:"rating-criteria__label",children:e.name}),x.jsx(eG.Z,{isPrecise:!0,hasRatingValue:!0,ratingValuePosition:"left",ratingValue:e.rating})]})},e.name))}),(0,x.jsx)("div",{className:"rating-criteria__overall-score",children:(0,x.jsx)("div",{className:"col-12 col-lg-6 pl-reset pr-reset",children:(0,x.jsxs)("div",{className:"d-flex justify-content-space-between pb-md",children:[(0,x.jsx)("span",{className:"rating-criteria__label rating-criteria__label--large",children:a("molecules.ratingsCriteria.overallLabel")}),(0,x.jsx)(eG.Z,{isPrecise:!0,hasRatingValue:!0,ratingValuePosition:"left",ratingValue:r})]})})})]}):null};tS.displayName="RatingsCriteria";var tk=r(59343);let tD={pros:{iconName:"plus",color:"formSuccessRegular"},cons:{iconName:"minus",color:"formWarningRegular"}},tE=e=>{let{name:t,color:r}=e;return(0,x.jsxs)(eq.Z,{children:[(0,x.jsx)(S.Z,{name:"ring",color:r,size:20},"1"),(0,x.jsx)(S.Z,{name:t,color:r,size:12},"2")]})},tC=e=>{let{type:t,headingCopy:r,list:n}=e,a=tD[t];return(0,x.jsxs)("div",{className:`col-12 col-md-6 pros-and-cons__column-${t}`,children:[(0,x.jsxs)("div",{className:"d-flex align-items-center pb-xs ",children:[(0,x.jsx)(tE,{name:a.iconName,color:a.color}),(0,x.jsx)(g.Z,{size:4,className:"pl-xs",children:r})]}),(0,x.jsx)(eH.Z,{"data-testid":`${t}-list`,children:n?.map(e=>x.jsx(tZ.Z,{className:l.Z("body-copy-small","pb-xs","pros-and-cons__list-item",{"pros-and-cons__list-item--bulleted":n.length>1}),children:e},e))})]})},tR=e=>{let{positivesHeadingCopy:t="",negativesHeadingCopy:r="",className:n=null,positives:a=[],negatives:s=[]}=e;return t&&r&&a?.length>0&&s?.length>0?(0,x.jsx)("div",{className:(0,l.Z)("pros-and-cons",n),children:(0,x.jsx)(tk.Z,{hasBackdrop:!0,children:(0,x.jsxs)("div",{className:"row flex-grow-1",children:[(0,x.jsx)(tC,{type:"pros",headingCopy:t,list:a}),(0,x.jsx)(tC,{type:"cons",headingCopy:r,list:s})]})})}):null};
1tR.displayName="ProsAndCons";let t$=e=>{let{summaryHeadingCopy:t,summary:r="",ratingsCriteria:n=[],rating:a=null,positivesHeadingCopy:l,negativesHeadingCopy:i,positives:o=[],negatives:c=[]}=e,{t:u}=(0,s.$G)();return(0,x.jsxs)(x.Fragment,{children:[t&&r&&(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)(g.Z,{size:3,children:t}),(0,x.jsx)("p",{children:r})]}),n?.length>0&&a&&(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)(g.Z,{className:"pb-xs",color:"highlightRegular",size:4,children:u("organisms.reviewSummary.heading")}),(0,x.jsx)(tS,{ratingsCriteria:n,rating:a})]}),(0,x.jsx)(tR,{positives:o,negatives:c,positivesHeadingCopy:l,negativesHeadingCopy:i})]})};t$.displayName="ReviewSummary";let tU=[],tT=e=>{let{className:t=null,itemGroups:r=tU}=e,n=r??tU;return n.length?(0,x.jsx)("div",{className:(0,l.Z)("plant-overview",t),children:n.map(e=>{let t=e.items?.filter(e=>null!==e)||[],r=`plant-${e.heading||JSON.stringify(e)}`;return t.length?(0,x.jsxs)(a.Fragment,{children:[e.heading?(0,x.jsx)(ta.Z,{className:"mt-md",size:3,lineSeparated:!0,children:e.heading}):null,(0,x.jsx)("table",{className:"full-width","data-testid":"plant-overview-group",children:(0,x.jsx)("tbody",{className:"plant-overview__inner d-flex",children:t.filter(e=>e)?.map(e=>{let t=e.text?.filter(e=>e)||[],n=`${r}-${e.heading||JSON.stringify(e)}`;return x.jsx("tr",{className:" plant-overview__item-row pa-xs body-copy-small d-flex ",children:x.jsxs("td",{className:"plant-overview__item-cell d-flex",children:[e.icon?x.jsx("div",{"aria-hidden":"true","data-testid":"plant-overview-icon",children:x.jsx(S.Z,{className:"mr-sm",name:e.icon,size:60})}):null,x.jsxs("div",{children:[e.heading?x.jsx("div",{className:"fw-700","data-testid":"plant-overview-text",children:`${e.heading}${t.length?":":""}`}):null,t.map(e=>x.jsx("div",{"data-testid":"plant-overview-text",children:e},`${n}-${e}`))]})]})},n)})})})]},r):null})}):null};tT.displayName="PlantOverview";var tI=r(84920);let tL=e=>{let{title:t,description:r,image:n,authors:a,published:l,canonicalUrl:i}=e,{t:o}=(0,s.$G)();return(0,x.jsxs)("div",{className:"post-teaser",children:[(0,x.jsx)(ta.Z,{size:1,className:"post-teaser__title",children:(0,A.Z)(t)}),r&&(0,x.jsx)("p",{className:"post-teaser__introduction body-regular",children:(0,A.Z)(r)}),n&&(0,x.jsx)(ed,{layout:"headline",url:n.url,className:"post-teaser__image",fluid:!0,scaleUp:!0,loading:"eager"}),(a||l)&&(0,x.jsxs)("div",{className:"post-teaser__info body-copy-small d-inline-block mr-lg mt-sm hidden-print",children:[(0,x.jsx)(R.Z,{authors:a,className:"mr-sm"}),l&&(0,x.jsx)("div",{className:"post-teaser__publish-date",children:o("molecules.postTeaser.publishDate",{published:l})})]}),(0,x.jsx)("div",{className:"post-teaser__action",children:(0,x.jsx)(V.Z,{as:"a",className:"post-teaser__button",href:i,text:o("molecules.postTeaser.readMore")})})]})};tL.displayName="PostTeaser";var tA=r(37963),tB=r(36841),tz=r(91614);function tM(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function tW(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?tM(Object(r),!0).forEach(function(t){(0,n.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):tM(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}let tF=m.Z,tG=ep.Z,tV=K.Z,tH=ta.Z,tq=e7.Z,tK=tI.k.Provider,tY=e=>{var t,r;let{affiliateMessage:n=null,aspectRatio:m=null,authorBioShow:h=!1,authorPrefix:g=null,authors:b=null,breadcrumbs:f=null,callout:y,canonicalUrl:j=null,children:v=null,className:Z=null,contentWallExperience:S=null,currentPage:k=1,description:C,ediplayer:R=null,ediplayerSettings:$=null,editorialRatings:U=null,endSummary:T=null,expandableSections:I=null,globalOpenWebSettings:L=null,greenVideo:A=null,header:z={},headerBackgroundColor:M=null,heroImageAspectRatioOverride:W=null,hideHeroImage:F=!1,highlightMessage:G=null,image:V=null,introduction:H=null,isPrivate:q=!1,isSaveable:K=!1,itemCount:Y=null,itemDescription:X=null,kicker:J=null,labels:Q=null,layout:ee="masthead",notification:et=null,onnetworkplayer:er=null,openWebRatingEnabled:en=!1,plantGrowCalendar:ea=null,plantOverview:el=null,plantRecommended:es=null,postCreatorUrls:ei,postFormat:eo="standard",postId:ec="",postStatus:eu,postType:ep,preContentSlot:eg=null,preHeaderSlot:eb=null,price:ef=null,promo:ey=null,promoPostTeaser:ex=null,publication:ej=null,published:ev=null,recommendedPost:e_={},relatedEdiPlayer:eO=null,showCalloutButtons:ew,showHeroImageOverlayIcon:eN=!1,showSponsorInBody:eP=!0,sidebar:eZ=!1,socialShare:eS={},sponsor:ek=null,sponsorTracking:eD=null,statusMessage:eE=null,table:eC=null,title:eR="",titleIcon:e$=null,userRatings:eU=null}=e,{t:eT}=(0,s.$G)(),{colors:eI}=(0,ts.Z)(),eL=(0,eh.ZP)(eh.sK)&&"article"===ep,eA=ep.includes("-")?(void 0===t&&(t={}),void 0===(r=i({transform:d},t))&&(r={}),(0,c.B)(ep,o({delimiter:"",transform:u},r))):ep,eB=ek?.type?.includes("native"),ez=H?.length||1,eM=k>0&&k<=ez&&(0,x.jsx)(D,{page:k,pagesTotal:ez,className:"mb-lg"}),eW=h&&b?.length,eF=!F&&1===k&&!R&&!A&&!er,eG=(()=>
1{if(!eN)return null;let e={audio:"microphone",gallery:"camera"};return e[eo]?e[eo]:null})(),eV=(0,x.jsx)(tf,tW({aspectRatio:W||m,authorPrefix:g,authors:b,className:"post__header mb-lg",description:C,ediplayer:R,expandableSections:I,greenVideo:A,headerBackgroundColor:M,heroImageOverlayIcon:eG,highlightMessage:G,image:V,isPrivate:q,isSaveable:K,itemCount:Y,itemDescription:X,kicker:J,labels:Q,layout:ee,notification:et,onnetworkplayer:er,pocketPrefix:eA,postType:ep,price:ef,promo:ey,published:ev,rating:U?.rating,showHeroImage:eF,socialShare:eS,sponsor:ek,sponsorTracking:eD,table:eC,title:eR,titleIcon:e$,userRatings:eU,globalOpenWebSettings:L,openWebRatingEnabled:en},z)),{adSettings:{suppressionOptions:{disableAllAds:eH}={},stitcher:{disableAllAdvertising:eq,useEditag:eK=!1}={},enableAdvertBeforeBodyOfContent:eY={}}={},zephrSettings:{enabled:eX}={},siteContext:{siteKey:eJ}={}}=(0,a.useContext)(w.Z),eQ=S?.enabled===!0,e0=["article","recipe"].includes(ep)&&eY?.[ep]===!0,e1=eq||eH?void 0:{topMpu:(0,x.jsx)(p.Z,{showLabel:!0,showBorders:!0,slotKey:"inline",index:"1",className:"hidden-for-md hidden-for-lg"},"topMpu"),bottomMpu:(0,x.jsx)(p.Z,{showLabel:!0,showBorders:!0,slotKey:"inline",index:"3",className:"hidden-for-md hidden-for-lg"},"bottomMpu"),nativeAd:(0,x.jsx)(tF,{location:"article",adIndex:1},"nativeAd"),teads:(0,x.jsx)(tA.Z,{className:"ad-placement-inline--2"},"teads")},e2=["review","glossary","plant"];return(0,x.jsxs)("div",{className:(0,l.Z)("post",Z,{"post--native":eB&&eI.commercialRegular}),"data-gtm-class":`${ep}-template`,"data-content-type":ep,"data-item-id":ec,"data-item-name":eR,"data-testid":"post",children:[(0,x.jsx)(tB.Z,{position:"above_an_article",relatedEdiPlayer:eO,ediplayerSettings:$}),f&&(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)(O.Z,{items:f,className:"mt-sm mb-sm container",canonicalUrl:j??void 0}),(0,x.jsx)(tA.I,{})]}),eb,n&&(0,x.jsx)(B.Z,{className:"container mt-md mb-md",children:n}),(0,x.jsx)(ty.Z,{callout:y,postCreatorUrls:ei,postStatus:eu,showCalloutButtons:ew}),(0,x.jsx)(tA.I,{}),ex&&0!==Object.keys(ex).length&&(0,x.jsx)("div",{className:"container",children:(0,x.jsxs)("div",{className:"layout-md-rail",children:[(0,x.jsx)("div",{className:"layout-md-rail__primary",children:(0,x.jsx)(tL,tW({},ex))}),(0,x.jsx)("div",{className:"layout-md-rail__secondary hide-sm-down"})]})}),"masthead"===ee&&eV,"image"===ee&&(R||A||er||eF)&&(0,x.jsxs)(x.Fragment,{children:[(0,x.jsxs)("div",{className:"post__hero-image post__hero-image--image-layout container","data-testid":"post-hero-image",children:[R&&(0,x.jsx)(tG,tW({},R)),er&&(0,x.jsx)(em.Z,tW({},er)),A&&(0,x.jsx)(tV,tW(tW({},A),{},{imageLayoutHero:!0,thumbnail:V})),eF&&(0,x.jsx)(ed,tW(tW({},V),{},{layout:ee,aspectRatio:m,overlayIcon:eG,avif:eL,containIn16x9:"show"===ep&&(V?.height??0)>(V?.width??0)}))]}),(0,x.jsx)(tA.I,{})]}),(0,x.jsxs)("div",{className:(0,l.Z)("container post__body",`post__body--${ee}-layout`,{"post__body--native":eB}),role:"main",children:["recipe"===ep&&(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)("div",{className:"mb-lg",children:e1?.topMpu}),(0,x.jsx)(tN.Z,{targetId:"ingredients-list",children:eT("organisms.post.recipe.skipLink")}),(0,x.jsx)(tA.I,{}),(0,x.jsx)(E.Z,{className:"mb-md",name:`${eA}Header`}),(0,x.jsx)(tA.I,{}),(0,x.jsx)(tw,{className:"mb-md hidden-print",name:`${eA}AboveContent`}),(0,x.jsx)(tA.I,{})]}),(0,x.jsxs)("div",{className:"layout-md-rail",children:[(0,x.jsxs)("div",{className:"layout-md-rail__primary",children:["masthead"!==ee&&eV,e2.includes(ep)&&(0,x.jsx)("div",{className:"mb-lg",children:e1?.topMpu}),"recipe"!==ep&&!e2.includes(ep)&&!H?.length&&(0,x.jsx)("div",{className:"mb-lg",children:e1?.topMpu}),(0,x.jsxs)("div",{id:eX&&eQ?`zephr-paywall-${eJ}-${ep}`:void 0,"data-testid":"post-content",className:(0,l.Z)("post__content",{"pt-sm pr-xs pb-sm pl-xs full-width":eB,"zephr-locked-content":eX&&eQ}),children:[(0,x.jsxs)("div",{id:eX&&eQ?`zephr-datawall-${eJ}-${ep}`:void 0,children:[e0&&(0,x.jsx)(p.Z,{showLabel:!0,showBorders:!0,className:"mb-lg hidden-for-md hidden-for-lg",slotKey:"banner",index:"2",containerClassName:"ad-slot__banner-container"}),eg&&(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)("div",{className:"mb-lg hidden-print",children:eg}),(0,x.jsx)(tA.I,{})]}),U&&(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)(t$,tW({},U)),(0,x.jsx)(tA.I,{})]}),"recipe"!==ep&&(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)(E.Z,{className:"mb-md",name:`${eA}AboveContent`}),(0,x.jsx)(tA.I,{})]}),eE&&(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)(tH,{size:2,styledSize:5,icon:eE?.icon,color:eE?.color,className:"mb-sm",children:eE.text}),(0,x.jsx)(tA.I,{})]}),eM,!eM&&(0,x.jsx)(tA.I,{}),el&&(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)(tT,{className:(0,l.Z)("mb-md"),itemGroups:el}),(0,x.jsx)(tA.I,{})]}),!!H?.length&&(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)(tK,{value:["article","glossary","review"].includes(ep)?"Body":"Introduction",children:(0,x.jsx)(N.Z,{injectAds:["article","review"].includes(ep)&&!eK,injectNextToRead:!!(e_?.getItemsUrl&&["article"].includes(ep)),nextToRead:e_,relatedEdiPlayer:"in_an_article"===($?.desktopPosition||"in_an_article")||"in_an_article"===($?.mobilePosition||"above_an_article")?eO:null,ediplayerSettings:$,slots:eK?void 0:e1,suppressAllAds:eH||eK,sponsorIsNative:eB,className:"mb-lg hidden-print",content:H[k-1],postType:ep})}),(0,x.jsx)(tA.I,{})]}),["plant"].includes(ep)&&(0,x.jsx)("div",{className:"mb-md",children:e1?.bottomMpu}),ea&&(0,x.jsxs)(x.Fragment,{children:[(0,x.jsxs)("section",{className:"mb-lg",children:[(0,x.jsx)(tH,{size:3,lineSeparated:!0,children:"Plant calendar"}),(0,x.jsx)(tq,tW(tW({},ea),{},{className:"body-copy-extra-small",smallerText:!0,stickyFirstColumn:!0}))]}),(0,x.jsx)(tA.I,{})]}),eM,!eM&&(0,x.jsx)(tA.I,{}),eB&&eP&&(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)(P.Z,{bgColor:"commercialRegular",className:"post__native-banner full-width fw-600 hidden-print",color:"baseWhite",prefix:ek?.longPrefix,rel:"nofollow",target:"_blank",text:ek?.name??"",url:ek?.url}),(0,x.jsx)(tA.I,{})]}),v&&(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)("div",{className:"mb-lg","data-placement":"Body",children:v}),(0,x.jsx)(tA.I,{})]}),(0,x.jsx)("div",{className:"post__content-end row hidden-print",children:(0,x.jsx)("div",{className:"col-12",children:T&&(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)(tK,{value:"Summary",children:(0,x.jsx)(N.Z,{className:"mb-lg",content:T,postType:ep})}),(0,x.jsx)(tA.I,{})]})})}),ej&&(0,x.jsxs)("p",{className:"post__publication-link hidden-print",children:[ej.message,ej.srcText]})]}),(0,x.jsx)(tB.Z,{position:"below_an_article",relatedEdiPlayer:eO,ediplayerSettings:$}),(eW||es)&&(0,x.jsxs)("div",{className:"pt-sm pb-sm full-width",children:[eW&&(0,x.jsx)(_,{className:"mb-lg",authors:b??void 0}),es]}),(0,x.jsx)(E.Z,{className:"mb-md",itemSpacingY:"md",name:`${eA}BelowContent`}),(0,x.jsx)(tA.I,{}),!["article","review"].includes(ep)&&(0,x.jsx)(p.Z,{showLabel:!0,showBorders:!0,className:"mb-lg hidden-for-md hidden-for-lg",slotKey:"inline",index:"4"}),(0,x.jsx)(E.Z,{name:`${eA}ContentBottom`}),(0,x.jsx)(tA.I,{})]})]}),(0,x.jsx)("div",{className:"layout-md-rail__secondary layout-md-rail__push hidden-print",children:eZ||(0,x.jsxs)(tP.Z,{children:[(0,x.jsx)(tP.Z.Item,{sticky:["article"].includes(ep),fill:["article"].includes(ep)?25:0,className:"hidden-for-sm-down mb-lg","data-testid":null,children:(0,x.jsx)(p.Z,{showLabel:!0,showBorders:!0,slotKey:"mpu",index:"1",className:"hidden-for-sm-down",containerClassName:"ad-slot__mpu-container"})}),(0,x.jsx)(tP.Z.Item,{sticky:!0,fill:["article"].includes(ep)?25:50,className:"hidden-for-sm-down mb-lg","data-testid":null,children:(0,x.jsx)(p.Z,{showLabel:!0,showBorders:!0,slotKey:"mpu",index:"2",className:"hidden-for-sm-down",containerClassName:"ad-slot__mpu-container"})}),(0,x.jsx)(tP.Z.Item,{"data-testid":null,children:(0,x.jsx)(E.Z,{className:"post__sidebar-pocket mb-lg",itemSpacingY:"lg",name:`${eA}Sidebar`})}),(0,x.jsx)(tP.Z.Item,{sticky:!0,className:"hidden-for-sm-down mb-lg","data-testid":null,children:(0,x.jsx)(p.Z,{showLabel:!0,showBorders:!0,slotKey:"mpu",index:"3",className:"hidden-for-sm-down",containerClassName:"ad-slot__mpu-container"})})]})})]}),(0,x.jsx)(E.Z,{className:"pt-md mb-md",itemSpacingY:"md",name:`${eA}Footer`})]}),(0,x.jsx)(E.Z,{className:"mb-xl",itemSpacingY:"xl",name:`${eA}AboveFooter`}),(0,x.jsxs)("div",{className:"hiddden-print",children:[(0,x.jsx)(tz.Z,{customId:"post-[brand]"}),(0,x.jsx)(tz.Z,{customId:"global-[brand]"})]})]})};tY.displayName="Post";var tX=tY},50934:function(e,t,r){"use strict";r.d(t,{V:function(){return y}});var n=r(67881);function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function s(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?l(Object(r),!0).forEach(function(t){i(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function c(e){var t="function"==typeof Map?new Map:void 0;return(c=function(e){if(null===e||-1===Function.toString.call(e).indexOf("[native code]"))return e;if("function"!=typeof e)throw TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return u(e,arguments,m(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),p(r,e)})(e)}function u(e,t,r){return(u=d()?Reflect.construct:function(e,t,r){var n=[null];n.push.apply(n,t);var a=new(Function.bind.apply(e,n));return r&&p(a,r.prototype),a}).apply(null,arguments)}function d(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function m(e){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var h=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&p(e,t)}(n,e);var t,r=(t=d(),function(){var e,r=m(n);return e=t?Reflect.construct(r,arguments,m(this).constructor):r.apply(this,arguments),function(e,t){if(t&&("object"===a(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,e)});function n(){return!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,n),r.apply(this,arguments)}return n}(c(Error)),g=function(e){if(e instanceof Event)return e;if(!((null==e?void 0:e.nativeEvent)instanceof Event))throw new h("An `Event` (or React `SyntheticEvent`) object must be given as the second argument.");return e.persist(),e.nativeEvent},b=function(e){var t,r="programmatic.gtm",n={element:void 0,elementClasses:"",elementId:"",elementTarget:void 0,elementText:"",elementUrl:""};if(!e)return Object.entries(n).reduce(function(e,t){var n=function(e){if(Array.isArray(e))return e}(t)||function(e,t){var r,n,a=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var l=[],s=!0,i=!1;try{for(a=a.call(e);!(s=(r=a.next()).done)&&(l.push(r.value),2!==l.length);s=!0);}catch(e){i=!0,n=e}finally{try{s||null==a.return||a.return()}finally{if(i)throw n}}return l}}(t,2)||function(e,t){if(e){if("string"==typeof e)return o(e,2);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return o(e,2)}}(t,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),a=n[0],l=n[1];return s(s({},e),{},i({},"".concat(r,".").concat(a),l))},{});var a=g(e);return i(t={},"".concat(r,".element"),a.target||n.element),i(t,"".concat(r,".elementClasses"),a.target.className||n.elementClasses),i(t,"".concat(r,".elementId"),a.target.id||n.elementId),i(t,"".concat(r,".elementTarget"),a.target.target||n.elementTarget),i(t,"".concat(r,".elementText"),a.target.textContent||n.elementText),i(t,"".concat(r,".elementUrl"),a.target.href||a.target.action||n.elementUrl),t},f=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t={category:"string",action:"string",label:"string",value:"number"},r=Object.keys(t);return Object.keys(e).forEach(function(e){if(!r.includes(e))throw new h("Unsupported analytics property: ".concat(e))}),r.reduce(function(r,n){var l=e[n],o=t[n];if(l&&"string"===o&&!("string"==typeof l||l instanceof String))throw new h('The value for analytics property "'.concat(n,'" must be a string but got a ').concat(a(l),": ").concat(l));if(l&&"number"===o&&!Number.isFinite(l))throw new h('The value for analytics property "'.concat(n,'" must be a finite number but got a ').concat(a(l),": ").concat(l));var c=l&&"string"===o?l.split(" ").map(function(e){return e[0]?e[0].toUpperCase()+e.slice(1):e}).join(" "):l;return s(s({},r),{},i({},"programmatic.analytics.".concat(n),c))},{})},y=function(e,t,r){if("string"!=typeof e&&!(e instanceof String))throw new h("An event name must be given as the first argument and it must be a string.");window.dataLayer=window.dataLayer||[],window.dataLayer.push(s(s({event:"programmatic.event.".concat((0,n.o)(e))},b(t)),f(r)))}},27837:function(e,t,r){"use strict";var n=r(20968);function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function l(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?a(Object(r),!0).forEach(function(t){n(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return u},noSSR:function(){return c}});let s=r(38754);r(85893),r(67294);let i=s._(r(52849));function o(e){return{default:(null==e?void 0:e.default)||e}}function c(e,t){return delete t.webpack,delete t.modules,e(t)}function u(e,t){let r=i.default,n={loading:e=>{let{error:t,isLoading:r,pastDelay:n}=e;return null}};e instanceof Promise?n.loader=()=>e:"function"==typeof e?n.loader=e:"object"==typeof e&&(n=l(l({},n),e));let a=(n=l(l({},n),t)).loader;return(n.loadableGenerated&&(n=l(l({},n),n.loadableGenerated),delete n.loadableGenerated),"boolean"!=typeof n.ssr||n.ssr)?r(l(l({},n),{},{loader:()=>null!=a?a().then(o):Promise.resolve(o(()=>null))})):(delete n.webpack,delete n.modules,c(r,n))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},99376:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"LoadableContext",{enumerable:!0,get:function(){return n}});let n=r(38754)._(r(67294)).default.createContext(null)},52849:function(e,t,r){"use strict";var n=r(20968);function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function l(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach(function(t){n(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return g}});let s=r(38754)._(r(67294)),i=r(99376),o=[],c=[],u=!1;function d(e){let t=e(),r={loading:!0,loaded:null,error:null};return r.promise=t.then(e=>(r.loading=!1,r.loaded=e,e)).catch(e=>{throw r.loading=!1,r.error=e,e}),r}class p{promise(){return this._res.promise}retry(){this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};let{_res:e,_opts:t}=this;e.loading&&("number"==typeof t.delay&&(0===t.delay?this._state.pastDelay=!0:this._delay=setTimeout(()=>{this._update({pastDelay:!0})},t.delay)),"number"==typeof t.timeout&&(this._timeout=setTimeout(()=>{this._update({timedOut:!0})},t.timeout))),this._res.promise.then(()=>{this._update({}),this._clearTimeouts()}).catch(e=>{this._update({}),this._clearTimeouts()}),this._update({})}_update(e){this._state=l(l({},this._state),{},{error:this._res.error,loaded:this._res.loaded,loading:this._res.loading},e),this._callbacks.forEach(e=>e())}_clearTimeouts(){clearTimeout(this._delay),clearTimeout(this._timeout)}getCurrentValue(){return this._state}subscribe(e){return this._callbacks.add(e),()=>{this._callbacks.delete(e)}}constructor(e,t){this._loadFn=e,this._opts=t,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}}function m(e){return function(e,t){let r=Object.assign({loader:null,loading:null,delay:200,timeout:null,webpack:null,modules:null},t),n=null;function a(){if(!n){let t=new p(e,r);n={getCurrentValue:t.getCurrentValue.bind(t),subscribe:t.subscribe.bind(t),retry:t.retry.bind(t),promise:t.promise.bind(t)}}return n.promise()}if(!u){let e=r.webpack?r.webpack():r.modules;e&&c.push(t=>{for(let r of e)if(t.includes(r))return a()})}function l(e,t){!function(){a();let e=s.default.useContext(i.LoadableContext);e&&Array.isArray(r.modules)&&r.modules.forEach(t=>{e(t)})}();let l=s.default.useSyncExternalStore(n.subscribe,n.getCurrentValue,n.getCurrentValue);return s.default.useImperativeHandle(t,()=>({retry:n.retry}),[]),s.default.useMemo(()=>{var t;return l.loading||l.error?s.default.createElement(r.loading,{isLoading:l.loading,pastDelay:l.pastDelay,timedOut:l.timedOut,error:l.error,retry:n.retry}):l.loaded?s.default.createElement((t=l.loaded)&&t.default?t.default:t,e):null},[e,l])}return l.preload=()=>a(),l.displayName="LoadableComponent",s.default.forwardRef(l)}(d,e)}function h(e,t){let r=[];for(;e.length;){let n=e.pop();r.push(n(t))}return Promise.all(r).then(()=>
1{if(e.length)return h(e,t)})}m.preloadAll=()=>new Promise((e,t)=>{h(o).then(e,t)}),m.preloadReady=e=>(void 0===e&&(e=[]),new Promise(t=>{let r=()=>(u=!0,t());h(c,e).then(r,r)})),window.__NEXT_PRELOADREADY=m.preloadReady;let g=m},5152:function(e,t,r){e.exports=r(27837)}}]);
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.