"use strict";(self.webpackChunkui=self.webpackChunkui||[]).push([[94],{996:(e,t,r)=>{r.r(t)},23:(e,t,r)=>{r.r(t),r.d(t,{default:()=>i});const i={wrapper:"uA5i17C3",wrapperShow:"i5mp68DB",wrapperWhite:"tLl82WUv",wrapperBlack:"z7TQU7uE",wrapperHeader:"CaAAsOsW"}},27:(e,t,r)=>{r.r(t),r.d(t,{default:()=>i});const i={wrapper:"uAnwomBg",wrapperContent:"GrbIFY7W",wrapperContentMobileFullScreen:"z1OIxmvK",wrapperContentModal:"ZcGe7eQY",wrapperContentModalMobileFullScreen:"plktbgPs",wrapperShow:"J8CIuLp0"}},997:(e,t,r)=>{r.r(t),r.d(t,{default:()=>i});const i={wrapper:"bKz7Iaur",wrapperTitle:"Aa9T9QFa",wrapperNutrition:"yLYUAsuM",wrapperNutritionBox:"iWL27dSr",wrapperNutritionBoxAmount:"OFNJ0qR9",wrapperNutritionBoxName:"GkJ_k3sM",wrapperBtn:"gp8C8uRC"}},9:(e,t,r)=>{r.r(t),r.d(t,{default:()=>i});const i={wrapper:"jeoYiegV",wrapperRight:"AIokLt1C",wrapperLeft:"NihyFReM"}},8:(e,t,r)=>{r.r(t),r.d(t,{default:()=>i});const i={wrapper:"NxzIhXo4"}},994:(e,t,r)=>{const i=r(383);(0,r(5).createEntrypoint)("nutritionV2",i.Nutrition)},995:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.NutritionModal=void 0;const i=r(0);r(996),t.NutritionModal=function({content:e}){return(0,i.jsx)("div",Object.assign({class:" nutrition-modal-space"},{children:(0,i.jsx)("div",{class:"nutrition-modal",dangerouslySetInnerHTML:{__html:e}})}))}},383:function(e,t,r){var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Nutrition=void 0;const n=r(0),a=r(3),s=r(995),o=r(25),p=i(r(997)),{wrapper:u,wrapperTitle:l,wrapperNutrition:c,wrapperNutritionBox:d,wrapperNutritionBoxAmount:w,wrapperNutritionBoxName:N,wrapperBtn:h}=p.default;t.Nutrition=({details:e,nutritionFacts:t})=>{const[r,i]=(0,a.useState)(!1);return(0,n.jsxs)("div",Object.assign({className:u},{children:[(0,n.jsx)("h2",Object.assign({className:l},{children:"Nutrition"})),(0,n.jsx)("div",Object.assign({className:c},{children:e.map((({size:e,unit:t},r)=>(0,n.jsxs)("div",Object.assign({className:d},{children:[(0,n.jsx)("p",Object.assign({className:w},{children:e})),(0,n.jsx)("p",Object.assign({className:N},{children:t}))]}),r)))})),t&&(0,n.jsx)("div",Object.assign({className:h},{children:(0,n.jsx)("button",Object.assign({onClick:()=>i(!0)},{children:"Full nutrition facts"}))})),t&&(0,n.jsx)(o.Modal,Object.assign({show:r,width:"414",onClose:()=>i(!1)},{children:(0,n.jsx)(s.NutritionModal,{content:t})}))]}))}}},e=>{e.O(0,[1,2,4,3,5,6,12,15],(()=>(994,e(e.s=994)))),e.O()}]);