PageSourceSearch

https://www.brisbanetimes.com.au/hashed-metro-assets/templates-Goo…ood-Recipe-Recipe.43c2d2406908ba8e.chunk.js

js brisbanetimes.com.au collected 2026-09-24 08:32:50 UTC 14,103 bytes, 1 lines download raw bytes

1"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([["5084"],{20538:function(e,t,i){i.d(t,{Z:()=>s});var n=i(17845),o=i(56111),r=i(69414),a=i(27421);let s=e=>{let{brand:t}=(0,o.Z)(),{data:i,error:s,loading:l,networkStatus:d}=(0,a.Z)(t.shortSiteName,e);if(!i)return{content:null,error:s,loading:l,networkStatus:d};let{error:c,page:p}=i.pageByType||{};return c||!p?(r.Y.error("PageByType failure",n.log.EventType("asset","pageByType"),n.log.Error(c)),{content:null,error:Error(c.message||"Unable to retrieve page"),loading:l,networkStatus:d}):{content:p.content,error:s,loading:l,networkStatus:d}}},89550:function(e,t,i){i.d(t,{Z:()=>Z});var n=i(52322),o=i(75724),r=i(90016),a=i(64870),s=i(84641),l=i(2784),d=i(40966),c=i(83628),p=i(79644),m=i(78943);let g=(0,m.iv)(["border-top:none;margin-bottom:40px;margin-top:0;header{margin-bottom:16px;padding-top:0;}"]),u=m.ZP.div.withConfig({componentId:"sc-df8e6ee0-0"})(["",""],({$rightRail:e})=>e?g:""),h=(0,m.iv)(["> div:first-child{@media ","{border-bottom:1px solid ",";margin-bottom:0;padding-bottom:24px;}}"],p.Z.query.large,({theme:e})=>e.colorLightAccent),x=m.ZP.div.withConfig({componentId:"sc-df8e6ee0-1"})(["align-items:stretch;display:flex;flex-direction:column;gap:24px;min-height:289px;@media ","{flex-direction:",";min-height:120px;}",";> div{flex:1;}"],p.Z.query.medium,({$stacked:e})=>e?"column":"row",({$stacked:e})=>e?h:""),y=m.ZP.div.withConfig({componentId:"sc-df8e6ee0-2"})(["&&{border-bottom:1px solid ",";padding:0 0 24px;@media ","{border-bottom:none;padding:0;}}"],({theme:e})=>e.colorLightAccent,p.Z.query.medium),b=m.ZP.div.withConfig({componentId:"sc-df8e6ee0-3"})(["&&{padding:0;}"]),f=(e,t)=>({editingState:s.C7.Ready,heading:{text:"From our partners"},id:`FOP${t}${e}`,links:[],name:"FromOurPartners",publicId:"",type:s.MD.Custom}),Z=({adPosStart:e=1,className:t,contentUnitPos:i,rightRail:s=!1,stacked:p=!1})=>{let m,[g,h]=(0,l.useState)(f(s||p,e)),Z=(0,d.G)(),{ads:P}=Z||{},I=P?.suppress,w=Z&&(0,c.gg)(Z);return((0,l.useEffect)(()=>{h(f(s||p,e))},[e,s,p]),I||w)?null:(0,n.jsx)(u,{$rightRail:s,as:a.Z,Content:(m=s||p,()=>(0,n.jsxs)(x,{$stacked:m,children:[(0,n.jsx)(y,{as:o.Z,largeUnit:r.U.native(e),mediumUnit:r.U.native(e),smallUnit:r.U.native(e)}),(0,n.jsx)(b,{as:o.Z,largeUnit:r.U.native(e+1),mediumUnit:r.U.native(e+1),smallUnit:r.U.native(e+1)})]})),className:`noPrint ${t||""}`,contentUnit:g,contentUnitGroup:"everything",contentUnitPos:i,hasContent:!0,isPagebuilder:!1,withBackground:!1})}},51734:function(e,t,i){i.d(t,{Z:()=>x});var n=i(52322),o=i(73302),r=i(53896),a=i(72649),s=i(79916),l=i(6066),d=i(41549),c=i(95204),p=i(89049),m=i(79644),g=i(78943);let u=(0,g.iv)(["","{gap:24px;}","{align-self:center;}","{width:calc(50% - 12px);}"],c.StoryTile,c.Summary,d.B),h=g.ZP.div.withConfig({componentId:"sc-bf2e3672-0"})(["margin-bottom:48px;","{gap:16px;}","{align-self:flex-start;}@media ","{margin-bottom:40px;","{margin-bottom:",";}","}"],c.StoryTile,c.Summary,m.Z.query.large,p.Header,e=>e.$rightRail?"16px":"24px",e=>!e.$rightRail&&u),x=({rightRail:e,...t})=>{if((0,s.Un)((0,r.TH)().pathname)!==a.AX)return null;let i={headlineSizes:e?o.Mo.XS_XS_XS:o.Mo.XS_XS_M,imageSizes:{large:e?{aspectRatio:"1x1",width:96}:{aspectRatio:"3x2",width:264},medium:{aspectRatio:"1x1",width:120},small:{aspectRatio:"1x1",width:120}},showAuthor:!1};return(0,n.jsx)(h,{$rightRail:e,as:l.Z,className:"noPrint",isCompact:e,overridingDisplayOptions:i,...t},"MoreFromGoodFood")}},6066:function(e,t,i){i.d(t,{Z:()=>h});var n=i(52322),o=i(56111),r=i(73302),a=i(3488),s=i(64870),l=i(95204),d=i(79644),c=i(78943),p=i(86055);let m=(0,c.iv)(["flex-direction:column;gap:0;","{","}"],l.StoryTile,p.A),g=c.ZP.div.withConfig({componentId:"sc-a4aa27f-0"})(["display:flex;@media ","{","}@media ","{flex-direction:row;gap:24px;","{flex-basis:50%;flex-grow:1;}}@media ","{","}"],d.Z.query.smallMax,m,d.Z.query.medium,l.StoryTile,d.Z.query.large,e=>e.$isCompact&&m),u={headlineSizes:r.Mo.XS_XS_M,imagePositions:"left",imageSizes:{large:{aspectRatio:"3x2",width:264},medium:{aspectRatio:"1x1",width:120},small:{aspectRatio:"1x1",width:120}},showAuthor:!0,showLabel:!0,showPrimaryTag:!0},h=({className:e,contentUnit:t,contentUnitGroup:i,contentUnitPos:r,hasBorderTop:l=!0,isCompact:d=!1,overridingDisplayOptions:c={}})=>{let{PAGEBUILDER:{ENABLED:p}}=(0,o.Z)();return(0,n.jsx)(s.Z,{Content:((e,t,i=[])=>({linkAttributes:o})=>i.length>0&&(0,n.jsx)(g,{$isCompact:t,children:i.slice(0,2).map((t,i)=>(0,n.jsx)(a.Z,{asset:t,displayOptions:{...u,...e},linkAttributes:o,position:i+1},t.id))}))(c,d,t?.content?.assets),className:e,contentUnit:t,contentUnitGroup:i,contentUnitPos:r,hasBorderTop:l,isPagebuilder:p})}},6908:function(e,t,i){i.d(t,{Z:()=>h});var n=i(52322),o=i(56111),r=i(73302),a=i(3488),s=i(64870),l=i(41549),d=i(95204),c=i(79644),p=i(78943);let m=p.ZP.div.withConfig({componentId:"sc-f4dd9415-0"})(["overflow-y:hidden;@media ","{left:50%;margin-bottom:-20px;overflow-x:scroll;position:relative;transform:translateX(-50%);width:100vw;}@media ","{margin-bottom:0;overflow-x:hidden;width:100%;}"],c.Z.query.mediumMax,c.Z.query.large),g=p.ZP.div.withConfig({componentId:"sc-f4dd9415-1"})(["display:flex;flex-direction:row;gap:24px;padding:0 max(20px,calc((100vw - 584px) / 2)) 20px;@media ","{padding:0 max(20px,calc((100vw - 768px) / 2)) 20px;width:fit-content;}@media ","{padding:0;width:auto;","{flex:1 1 20%;}","{width:100%;}}","{max-width:206px;}"],c.Z.query.medium,c.Z.query.large,d.StoryTile,l.B,d.StoryTile),u={headlineSizes:r.Mo.S_S_S,imageSizes:{large:{aspectRatio:"3x2",width:206},medium:{aspectRatio:"3x2",width:206},small:{aspectRatio:"3x2",width:206}},showAuthor:!0,showLabel:!0,showPrimaryTag:!0},h=({contentUnit:e,contentUnitGroup:t,contentUnitPos:i,hasBorderTop:r=!0})=>{let{PAGEBUILDER:{ENABLED:l}}=(0,o.Z)();return(0,n.jsx)(s.Z,{Content:((e=[])=>({linkAttributes:t})=>e.length>0&&(0,n.jsx)(m,{children:(0,n.jsx)(g,{children:e.slice(0,5).map((e,i)=>(0,n.jsx)(a.Z,{asset:e,displayOptions:u,linkAttributes:t,position:i+1},e.publicId))})}))(e?.content?.assets),contentUnit:e,contentUnitGroup:t,contentUnitPos:i,hasBorderTop:r,isPagebuilder:l})}},30412:function(e,t,i){i.r(t),i.d(t,{default:()=>ee});var n=i(52322),o=i(17845),r=i(50971),a=i(75724),s=i(90016),l=i(71378),d=i(44114),c=i(71723),p=i(29311),m=i(30921),g=i(96876),u=i(63710),h=i(38936),x=i(36785),y=i(54539),b=i.n(y),f=i(56111),Z=i(98051),P=i(53896),I=i(72649),w=i(79916),v=i(14
1658);let j=(e,t)=>"Instructions"===t&&"RECIPE"===e.type?e.instructionGroups?.map(e=>e.instructions?.map(e=>e.instruction?.map(e=>e.markup))):"Ingredients"===t&&"RECIPE"===e.type?e.ingredientGroups?.map(e=>e.ingredients?.map(e=>e.ingredient?.map(e=>e.markup))):null,C=e=>e.filter(Boolean)?.[0]?.[0]?.flat().map(e=>e.replace(/(<([^>]+)>)/gi,""))||[],S=({asset:e})=>{let{brand:{shortSiteName:t,siteUrl:i},GOODFOOD:{image:{LOGO_HEIGHT:o,LOGO_URL:r,LOGO_WIDTH:a},LONG_SITE_NAME:s},imageRenditionUrlPrefix:l}=(0,f.Z)(),d=(0,w.Un)((0,P.TH)().pathname),c=d===I.AX,p=c?i.concat("/goodfood"):i,m={brand:(0,v.jN)(o,r,a,s,p),canonical:(0,v.Z2)(c,e,t),description:e.overview?.about||e.headlines.headline,id:e.id,keywords:(0,v.CS)(e,"Keywords"),paywall:{accessibleForFree:!1,cssSelectors:[`.${Z.Jn}`]},recipe:{authors:(0,v.P6)(e.byline,d,t),cookTime:v.dC[e.extensions?.times?.total],cuisine:(0,v.CS)(e,"Cuisine"),firstPublished:e.dates.published,imageURLs:(0,v.Jn)(e.images,l),ingredients:C(e.body.blocks.map(e=>j(e,"Ingredients"))),instructions:C(e.body.blocks.map(e=>j(e,"Instructions"))),yield:e.extensions?.yield?.serves||e.extensions?.yield?.makes},section:(0,v.CS)(e,"Category"),title:e.headlines.headline,type:"recipe"};return(0,n.jsx)(h.ZP,{children:(0,n.jsx)(b(),{meta:m})})};var U=i(17255),k=i(93673),E=i(20538),A=i(72671),B=i(41289),q=i(53299),R=i(2499),T=i(89550),_=i(51734),$=i(6908),M=i(84641);let z=({Component:e,assets:t,contentUnitPos:i,heading:o,name:r})=>{if(!e||!t)return null;let a={content:{assets:t},editingState:M.C7.Ready,heading:{text:o},id:"",links:[],name:r,publicId:"",type:M.MD.Resolved};return(0,n.jsx)(e,{contentUnit:a,contentUnitGroup:"everything",contentUnitPos:i},r)};var O=i(46397),D=i(69414),G=i(2784),L=i(8652),F=i(79644),N=i(78943);let X=(0,N.ZP)(F.Z.Content).withConfig({componentId:"sc-56f88136-0"})(["padding-bottom:40px;@media ","{padding-bottom:48px;}@media ","{padding-bottom:72px;}@media ","{min-width:100%;padding-bottom:0;header{border:none;}p{font-size:13px;line-height:1.5;}figcaption,img,video{display:none;}figure{img{display:initial;max-width:100%;}float:right;margin-bottom:16px;margin-left:16px;max-width:fit-content;width:40%;}&&{h1{font-size:28px;line-height:38px;margin-top:18px;}h2{font-size:18px;}h3{font-size:16px;}h4{font-size:11px;}h5{font-size:13px;}*{color:black;text-decoration:none;}}}"],F.Z.query.medium,F.Z.query.large,F.Z.query.printOnly),H=N.ZP.div.withConfig({componentId:"sc-56f88136-1"})(["&&{@media ","{position:static;width:100%;}}@media ","{clear:both;}"],F.Z.query.mediumMax,F.Z.query.printOnly),V=N.ZP.div.withConfig({componentId:"sc-56f88136-2"})(["position:relative;","{display:none;}@media ","{min-height:600px;","{display:block;position:absolute;right:0;top:0;}}"],L.P,F.Z.query.large,L.P),W=N.ZP.div.withConfig({componentId:"sc-56f88136-3"})(["&&{border-top:1px solid ",";margin-top:24px;padding-bottom:0;@media ","{margin-top:32px;padding-bottom:24px;}@media ","{display:none;}}"],e=>e.theme.colorLightAccent,F.Z.query.medium,F.Z.query.large),Y=N.ZP.div.withConfig({componentId:"sc-56f88136-4"})(["display:flex;flex-direction:column;@media ","{flex-direction:row;justify-content:space-between;}"],F.Z.query.large),J=N.ZP.div.withConfig({componentId:"sc-56f88136-5"})(["@media ","{width:",";}"],F.Z.query.large,F.Z.columnWidth(8,12)),K=N.ZP.div.withConfig({componentId:"sc-56f88136-6"})(["@media ","{width:300px;}"],F.Z.query.large),Q=N.ZP.div.withConfig({componentId:"sc-56f88136-7"})(["display:none;@media ","{display:block;margin-top:12px;text-align:center;}"],F.Z.query.printOnly),ee=({asset:e})=>{let t=(0,k.Z)("large"),{brand:{shortSiteName:i}}=(0,f.Z)(),{content:y}=(0,E.Z)("article"),b=y?.groups?.[0]?.name,{contentWallVisible:P}=(0,A.Z)(),{data:w,error:v,loading:j}=(0,B.ux)(e.tags?.primary?.publicId,i,I.AX,[M.h3.Recipe],!e.tags?.primary?.publicId||!i,6);(v||w?.tagByPublicId?.error)&&D.Y.error("tagByPublicId query error",o.log.
1EventType("tag","byPublicId"),o.log.Error(v||w?.tagByPublicId?.error),o.log.String("description",`Tag id: ${e.tags?.primary?.publicId}`)),w?.tagByPublicId?.tag?.latestStoriesConnection?.error&&D.Y.error("tagByPublicId latestConnection query error",o.log.EventType("tag","byPublicId","latestConnection"),o.log.Error(w?.tagByPublicId?.tag?.latestStoriesConnection?.error),o.log.String("description",`Tag id: ${e.tags?.primary?.publicId}`));let C=(w?.tagByPublicId?.tag?.latestStoriesConnection?.edges||[]).filter(t=>t?.node?.publicId!==e?.publicId).map(e=>e?.node),L=C?.length>4?C.slice(0,5):[],F=e.byline?.filter(e=>e.type===M.tF.Author).length,N=e.byline?.[0]?.type===M.tF.Author?e.byline[0]?.author:void 0,ee=N?.publicId,{data:et,error:ei,loading:en}=(0,U.ZP)(ee,i,I.AX,6,[M.h3.Recipe],!ee||!i||F>1);ei&&(et?.authorByPublicId?.author?.latestStoriesConnection?.error?D.Y.error("AuthorByPublicID latestConnection query error",o.log.EventType("author","byPublicId","latestConnection"),o.log.Error(et?.authorByPublicId?.author?.latestStoriesConnection?.error),o.log.String("description",`Author id: ${ee}
1`)):D.Y.error("AuthorByPublicID query error",o.log.EventType("author","byPublicId"),o.log.Error(et?.authorByPublicId?.error||ei),o.log.String("description",`Author id: ${ee}`)));let eo=(et?.authorByPublicId?.author?.latestStoriesConnection?.edges||[]).filter(t=>t?.node?.publicId!==e.publicId).map(e=>e?.node),er=eo?.length>4?eo.slice(0,5):[];return(0,n.jsxs)(X,{className:`recipe ${Z.Jn}`,children:[(0,n.jsx)(d.Z,{}),(0,n.jsx)(Q,{children:(0,n.jsx)(r.Z,{width:"120px"})}),(0,n.jsx)(m.Z,{asset:e}),((e,t)=>{var i;let{body:o}=e;if(!o.blocks)return null;t&&(o={...o,blocks:o.blocks.slice(0,2)});let r=(i=o)?i.blocks.map((e,t)=>e?.type==="RECIPE"?t:-1).filter(e=>e>-1):[];if(0===r.length){let i;return(0,n.jsxs)(V,{children:[(0,n.jsx)(l.Z,{adPos:2}),(0,n.jsx)(c.default,{asset:e,blocksEndIndex:t?2:o.blocks.length,blocksStartIndex:0,contentWallVisible:t}),(i=e.type,(0,n.jsx)(R.Z,{assetType:i,pianoId:Z.d4})),(0,n.jsx)(g.Z,{asset:e})]})}let d=[],p=0;d.push((0,n.jsx)(l.Z,{adPos:2},"adslider-2"));for(let i=0;i<r.length;i+=1)d.push((0,n.jsx)(c.default,{asset:e,blocksEndIndex:r[i],blocksStartIndex:p,contentWallVisible:t},`body${i}`)),0===i&&d.push((0,n.jsx)(W,{as:a.Z,mediumUnit:s.U.leaderboardMrec(2),smallUnit:s.U.mobbannerMrec(2)},"ad2")),d.push((0,n.jsx)(H,{as:c.default,asset:e,blocksEndIndex:r[i]+1,blocksStartIndex:r[i],contentWallVisible:t},`recipe${i}`)),p=r[i]+1;return o.blocks.slice(p,o.blocks.length).length&&d.push((0,n.jsx)(c.default,{asset:e,blocksEndIndex:o.blocks.length,blocksStartIndex:p,className:"noPrint",contentWallVisible:t},"bodyBottom")),d.push((0,n.jsx)(g.Z,{asset:e},"collection-recirc")),(0,n.jsx)(V,{children:d})})(e,P),(0,n.jsx)(x.Z,{asset:e}),(0,n.jsx)(S,{asset:e}),(0,n.jsxs)(Y,{className:"noPrint",children:[(0,n.jsxs)(J,{children:[(0,n.jsx)(p.Z,{asset:e}),(0,n.jsx)(u.Z,{asset:e})]}),(0,n.jsx)(h.ZP,{children:(0,n.jsx)(K,{as:T.Z,contentUnitPos:1,stacked:t})})]}),(0,n.jsxs)("div",{className:"noPrint",children:[(0,n.jsx)(_.Z,{className:"noPrint",contentUnit:(0,O.z)(y,"story-set-zhiou"),contentUnitGroup:b,contentUnitPos:1},"MoreFromGoodFood"),!j&&!v&&(0,n.jsx)(z,{assets:L,Component:$.Z,contentUnitPos:2,heading:"Similar Recipes",name:"SimilarRecipes"}),(0,n.jsx)(h.ZP,{children:!en&&!ei&&(0,n.jsx)(z,{assets:er,Component:$.Z,contentUnitPos:3,heading:`More by ${N?.name??"author"}`,name:"MoreByAuthor"})}),(0,n.jsx)($.Z,{contentUnit:(0,O.z)(y,"story-set-frfaz"),contentUnitGroup:b,contentUnitPos:4},"PopularCollections")]}),(0,n.jsx)(R.Z,{assetType:e.type,pianoId:Z.aP}),(0,n.jsxs)(G.Fragment,{children:[(0,n.jsx)(q.x,{assetType:e.type,pianoId:Z.dV}),(0,n.jsx)(q.x,{assetType:e.type,pianoId:Z.Nt})]},"piano-reg")]})}}}]);

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.