"use strict";(self.webpackChunkui=self.webpackChunkui||[]).push([[61],{766:(e,t,r)=>{r.r(t),r.d(t,{default:()=>n});const n={wrapper:"WJvgLSeH"}},765:(e,t,r)=>{r.r(t),r.d(t,{default:()=>n});const n={wrapper:"QvWz8Li5",wrapperContentBlock:"bFHLttfH",wrapperContentBlockHeader:"g2qgSrSV",wrapperContentBlockText:"obieEw0e",wrapperContentBlockMedia:"yuB83VI0",wrapperContentBlockMediaVideo:"_F4G16Mq",wrapperContentBlockMediaImage:"C3qbD2RY"}},490:(e,t,r)=>{r.r(t),r.d(t,{default:()=>n});const n={wrapper:"jMkugIhU",wrapperContent:"ZQ7nFBxE",wrapperContentContainer:"OFkdJ66M",wrapperContentContainerColumn:"AUfpzRBd",wrapperContentContainerColumnTitle:"ylC69VhN",wrapperContentContainerColumnTitleHorizontal:"j187NOPD",wrapperContentContainerColumnSubtitle:"H9kr2y1p",wrapperContentContainerColumnFeatureRows:"Tauyf7gd",wrapperContentContainerColumnFeatures:"Xm12AcBn",wrapperContentContainerColumnFeaturesHorizontal:"AtFUB2P7"}},40:(e,t,r)=>{r.r(t),r.d(t,{default:()=>n});const n={wrapperIcon:"U95GyUvc",wrapperIconSvg:"RMAMx3Ds",wrapperItem:"mlnEDM1B",wrapperItemIcon:"TfR8vQjh",wrapperItemIconHorizontal:"FP68HLLq",wrapperItemText:"Uyn0pUL5",wrapperItemTextTitle:"QXywq34_",wrapperItemTextTitleHorizontal:"yVTLg8so",wrapperItemTextDescription:"xUmZ0G6e",wrapperItemTextDescriptionHorizontal:"M6UB0Uey",wrapper:"J5jcvRfD",wrapperItemTextTextHorizontal:"pCrzUdsG"}},763:(e,t,r)=>{const n=r(764);(0,r(5).createEntrypoint)("features-section",n.FeaturesSectionContainer)},764:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.FeaturesSectionContainer=void 0;const n=r(0),a=(r(1),r(254));t.FeaturesSectionContainer=function({productFeatures:e,productDetails:t,jetpackPdpMediaSections:r,jetpackPdpProductFeaturesSections:o,useSharedState:i}){var l,s,c;const d=i(),{currentVariant:u,currentProductHandle:p,currentJetpackProduct:m,currentJetpackVariant:C}=d((e=>({currentVariant:e.currentVariant,currentProductHandle:e.product.handle,currentJetpackProduct:e.currentJetpackProduct,currentJetpackVariant:e.currentJetpackVariant}))),w=(null==p?void 0:p.includes("jetpack-"))?p:null,v=null!==(l={"jetpack-latte":0,"jetpack-protein-smoothie":1,"jetpack-smoothies":2}[(null==m?void 0:m.handle)?null==m?void 0:m.handle:null!=w?w:"jetpack-latte"])&&void 0!==l?l:0,j=((null==m?void 0:m.handle)||w)&&null!==(s=o[v])&&void 0!==s?s:e,g=((null==m?void 0:m.handle)||w)&&null!==(c=r[v])&&void 0!==c?c:t,k=(null==C?void 0:C.id)?C.nutritionFactsImage:u.nutritionFactsImage,h=(null==k?void 0:k.src)?Object.assign(Object.assign({},g),{sections:[...g.sections.map((e=>e.heading.toLowerCase().includes("nutrition facts")?Object.assign(Object.assign({},e),{media:Object.assign(Object.assign({},k),{type:"image"})}):e))]}):g;return(0,n.jsx)(a.FeaturesSectionAllProducts,{productDetails:h,productFeatures:{features:j,rowCount:2}})}},254:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.FeaturesSectionAllProducts=void 0;const a=r(0),o=r(119),i=r(256),l=n(r(766)),{wrapper:s}=l.default;t.FeaturesSectionAllProducts=function(e){return(0,a.jsxs)("div",Object.assign({className:s},{children:[(0,a.jsx)(o.ProductFeatures,Object.assign({},e.productFeatures)),(0,a.jsx)(i.ProductDetailsWarriorBlend,Object.assign({},e.productDetails))]}))}},256:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ProductDetailsWarriorBlend=void 0;const a=r(0),o=(r(1),r(2)),i=n(r(765)),{wrapper:l,wrapperContentBlock:s,wrapperContentBlockHeader:c,wrapperContentBlockText:d,wrapperContentBlockMedia:u,wrapperContentBlockMediaVideo:p,wrapperContentBlockMediaImage:m}=i.default;t.ProductDetailsWarriorBlend=function({sections:e,lazyVideos:t=!1}){return(0,a.jsx)("div",Object.assign({className:l},{children:e.map(((e,r)=>{var n,i;return(0,a.jsxs)("div",Object.assign({className:s},{children:[(0,a.jsx)("div",Object.assign({className:c},{children:e.heading})),(0,a.jsx)("div",{className:d,dangerouslySetInnerHTML:{__html:e.text}}),null!==e.media?(0,a.jsx)("div",Object.assign({className:u},{children:"video"===e.media.type?(null==e?void 0:e.videoWiseCode)?(0,a.jsx)("div",{id:null!==(n=e.videoWiseId)&&void 0!==n?n:"defaultID",dangerouslySetInnerHTML:{__html:e.videoWiseCode}}):(0,a.jsx)("video",{autoPlay:!0,loop:!0,muted:!0,"webkit-playsInline":!0,playsInline:!0,className:(0,o.cx)(p,t?" lazy":""),width:"400",height:"400",onLoad:()=>{},src:null===(i=null==e?void 0:e.media)||void 0===i?void 0:i.src,type:"video/mp4"}):""!=e.media.src?(0,a.jsx)("img",{src:e.media.src,className:m,alt:e.media.alt,loading:"lazy",height:500}):null})):null]}),r)}))}))}}},e=>{e.O(0,[1,2,4,3,43],(()=>(763,e(e.s=763)))),e.O()}]);