1"use strict";(self.webpackChunkgatsby_starter_default=self.webpackChunkgatsby_starter_default||[]).push([[82],{85841:function(e,t,n){n.r(t),n.d(t,{Head:function(){return E}});n(27207);var l=n(71082),i=n(67294),a=n(93029),o=n(97985),r=n(94139),s=n(83782),c=n(94112),d=n(50014),u=n(24881),g=n(49326),p=n(32933),m=n(12010),f=n(18277),v=n(1820),b=n(64684),h=n(63907),C=n(32653);const E=()=>{var e;const t="undefined"!=typeof window?null===(e=window)||void 0===e?void 0:e.gtmDataLayer:{};return i.createElement(i.Fragment,null,i.createElement(l.Script,{strategy:"off-main-thread",id:"first-unique-id",type:"text/javascript",dangerouslySetInnerHTML:{__html:"var MdlzdataLayer = "+JSON.stringify(t)+";"}}),i.createElement("script",{async:!0,type:"text/javascript",dangerouslySetInnerHTML:{__html:f.gTagScriptConsent}}))};t.default=e=>{var t,n,l,f,E,y,I;const{pageContext:D}=e,{itemData:T,contentfulProps:M,dataLayer:P,seoData:R,globalComponents:k,pageType:N,apiData:B={},lyticsEvent:L}=D,{allProductDetails:S=[],relatedRecipes:A={},favouriteRecipes:_=[]}=B,x=(e,t)=>{var n;return null==e||null===(n=e.find((e=>(null==e?void 0:e.PhotoTypeID)===t)))||void 0===n?void 0:n.PhotoLink},G=(null==S?void 0:S.length)&&S.filter((e=>e.ProductBrand===T.ProductBrand)),{ProductLongName:w,ProductImage:H=[],ProductLongDescription:O="",RedirectUrl:U="",BuyOnline:W={label:null===u.p8||void 0===u.p8||null===(t=u.p8.productDetail)||void 0===t?void 0:t.buyOnline,url:U,gaEventClass:d.KT,gaEventLabel:null===u.p8||void 0===u.p8||null===(n=u.p8.productDetail)||void 0===n?void 0:n.buyOnline},DietaryType:V=""}=T||{};if("undefined"!=typeof window){const e={...P,page:{url:window.location.href,title:(null==R?void 0:R.title)||(null==R?void 0:R.metaTitle)},content:{type:"Product Detail Page",category:""}};window.gtmDataLayer=e}"undefined"==typeof window||(0,m.uW)()||window.dataLayer.push({event:"LyticsEvent",...L,GAeventValue:0,GAeventNonInteraction:!0});const j={contentCollection:{items:[{heading:"",contentCollection:{items:[{title:u.p8.ingredients.title,description:(null==T?void 0:T.IngredientsText)||""},{title:u.p8.nutritionTitle,description:s.default,data:{records:null==T?void 0:T.NutritionalTable,leftTitle:null==T?void 0:T.NutritionText}}]}}]}},Z=null===u.yT||void 0===u.yT?void 0:u.yT.includes(null==T||null===(l=T.ProductBrand)||void 0===l||null===(f=l.replaceAll("\n",""))||void 0===f?void 0:f.trim()),z=null==T||null===(E=T.ProductBrand)||void 0===E||null===(y=E.replaceAll("\n",""))||void 0===y||null===(I=y.trim())||void 0===I?void 0:I.toLowerCase(),F={heading2:"crunchie"===z?"DISCOVER THE<br/> CRUNCHIE RANGE":"DISCOVER THE<br/> MINI EGGS RANGE",headingTextColor:"Golden",images:{imageDesktop:null,imageMobile:null,internalTitle:"Crunchies",altText:null,bgDesktop:{url:"crunchie"===z?"https://images.ctfassets.net/ptbpley6s50g/7vAZBHbNkKZ5Fi2xUltyeD/540d546d43160ba74aa6a6eee114c8c3/Crunchies-BG-Desktop.png":"https://images.ctfassets.net/ptbpley6s50g/4H0fbtsBGHOgFVNgWd6fuo/92a957ee6ad02bee77282732811cd812/MiniEggs-BG-Desktop.png",title:"crunchie"===z?"Crunchies Range Background Image":"Mini Eggs Background Image",description:""},bgMobile:{url:"crunchie"===z?"https://images.ctfassets.net/ptbpley6s50g/3pSgs7A0FWZ7EBI75QkRSW/2cadea9e1d145d0b213f943075c52acb/Crunchies-BG-Mobile.png":"https://images.ctfassets.net/ptbpley6s50g/2EjgGUk1kbgjoh8BnDf37D/01377de41c6fec91d6bec5914a8c6ddd/MiniEggs-BG-Mobile.png",title:"crunchie"===z?"Crunchies Range Background Image":"Mini Eggs Background Image",description:""}},link:{image:null,label:"VIEW RANGE",title:"VIEW RANGE",url:"crunchie"===z?"/products/brands/crunchie/":"/products/brands/mini-eggs/",target:"_self",scrollToElementId:null,gaEventClass:"event_button_click",gaEventLabel:"VIEW RANGE",accessKeyValue:null},cameoImages:{cameoSmall:null,internalTitle:"Product Details Images",altText:null,cameoMedium:{url:"crunchie"===z?"https://images.ctfassets.net/ptbpley6s50g/4FqzWPBKUwaAB0Wner9Ras/702d6e1e68af3a4007e37624d7738531/Crunchie-Cameo-DesktopM.png":"https://images.ctfassets.net/ptbpley6s50g/29kdw7J5wGnnuzeWjbxeOB/df2506ef019817c774f6758d544673ab/Minieggs-Cameo-DesktopM.png",title:"rightSmCameoImg",description:"Cadbury Crunchies Piece"},cameoLarge:"crunchie"===z?{url:"https://images.ctfassets.net/ptbpley6s50g/4981hPTmqm5nGKMJk3wsnU/5dcfac7bcbf6529d7bb5625e671c0827/Crunchie-Cameo-MobileL.png",title:"leftSmCameoImg",description:"Cadbury Dairy Milk Chocolate Chunk"}:null,cameoMediumMobile:{url:"crunchie"===z?"https://images.ctfassets.net/ptbpley6s50g/EzfUGywePd6CQQUDzqIt4/12d6f867a83
10f08b7c71581402fad05d/Crunchie-Cameo-MobileM.png":"https://images.ctfassets.net/ptbpley6s50g/3VjgtoO4jkpHCsYVLY8Adk/265d8b3ad38a8fe27f9c540898e1ee3e/Minieggs-Cameo-MobileM.png",title:"rightSmCameoImg",description:"Cadbury Crunchies Piece"},cameoLargeMobile:"crunchie"===z?{url:"https://images.ctfassets.net/pmzhtobns06n/50kWLCbBXmm5Ju8MOPuRu1/a76fce8fa65e572062827fcebd276e0e/Crunchie-Cameo-MobileL.png",title:"leftSmCameoImg",description:"Cadbury Dairy Milk Chocolate Chunk"}:null},variant:"PRODUCT_DETAIL_PAGE_BANNER"};return i.createElement("div",null,i.createElement(r.default,{seoData:R,globalComponents:k},i.createElement(c.default,{productImages:H,prodDescription:O,ProductLongName:w,categoryType:V,variant:g.Z.CADBURY_PRODUCT_HEADER,accordionData:j,contentfulProps:M,productBrand:z}),("crunchie"===z||"mini eggs"===z)&&i.createElement(C.default,F),"crunchie"!==z&&"mini eggs"!==z&&i.createElement(a.default,j),i.createElement(p.Z,{componentsProps:null!=M&&M.length?[M[0]]:[]}),"crunchie"!==z&&"mini eggs"!==z&&i.createElement(p.Z,{componentsProps:null!=M&&M.length?[M[1]]:[]}),!Z&&(null==A?void 0:A.length)>0&&i.createElement(o.default,(e=>{var t,n;const l={};return l.heading2=null==e?void 0:e.RecipeName,l.variant=null===g.Z||void 0===g.Z?void 0:g.Z.RIGHT_IMAGE_CARD,l.description=null==e?void 0:e.MoodText,l.underlineText=null===u.p8||void 0===u.p8||null===(t=u.p8.productDetail)||void 0===t?void 0:t.learnMore,l.link={url:"/recipes/"+(0,m.QF)(null==e?void 0:e.SeoPageName),label:null===u.p8||void 0===u.p8||null===(n=u.p8.productDetail)||void 0===n?void 0:n.seeMore,gaEventLabel:null==e?void 0:e.RecipeName,gaEventClass:d.KT},l.images={altText:null==e?void 0:e.RecipeName,imageDesktop:{url:x(null==e?void 0:e.PhotoURLAdditional,1729)||"https://images.ctfassets.net/pmzhtobns06n/5sv6FyIOW6s9CXSNHuLSxa/8f3deb4d60b2365f1d73189e5e14dcf5/ProductPage_RecipesImage_1440x1200px.jpg"},imageMobile:{url:x(null==e?void 0:e.PhotoURLAdditional,1989)||"https://images.ctfassets.net/pmzhtobns06n/3S2zX5AdIeg94lbsXSMdv8/adcccaeac3c0f4c89b8ebffc07c62545/ProductPage_RecipesImage_750x750px.jpg"}},l})(A[0])),_&&_.length>0&&i.createElement(v.default,{recipelist:_,numberOfCards:2,heading2:"crunchie"===z?"CRUNCHIE IN THE KITCHEN":"mini eggs"===z?"MINI EGGS IN THE KITCHEN":"OUR FAVOURITE RECIPES",sliderSettings:b.vj,pageType:N,variant:"RECIPE_SLIDER_CARD",cameoImage:null===h.B||void 0===h.B?void 0:h.B.sliderCameo,cameoStyle:"absolute max-w-[68px] left-[14px] lg:left-[200px] mt-[-68px] lg:mt-[-28px]",containerClass:"latest_recipes relative recipeSliderHome"}),i.createElement(p.Z,{componentsProps:null!=M&&M.length?M.slice(Z?3:2):[],pageType:N,products:G})))}}}]);
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.