PageSourceSearch

https://www.oetker.ca/_next/static/chunks/8632.6da88c11ea03e175.js

js oetker.ca collected 2026-09-24 23:19:41 UTC 3,276 bytes, 29 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8632],{39543:(e,t,r)=>{r.r(t),r.d(t,{GenericPromotionsOverview:()=>h});var l=r(37876),s=r(86061),n=r(14232),i=r(68831),a=r(3874),o=r(97384);let c=a.A.div`
2  grid
3  grid-cols-4
4  gap-20
5`,g=a.A.div`
6  col-span-4
7  ${e=>1===e.$total?"lg:col-span-4":""}
8  ${e=>2===e.$total?"lg:col-span-2":""}
9  ${e=>3===e.$total&&(0===e.$current||1===e.$current)?"lg:col-span-2":""}
10  ${e=>3===e.$total&&2===e.$current?"lg:col-span-4":""}
11  ${e=>e.$total>3&&(0===e.$current||1===e.$current)?"lg:col-span-1":""}
12  ${e=>e.$total>3&&2===e.$current&&!e.$isRegularGrid?"lg:col-span-2 lg:row-span-2":""}
13  ${e=>e.$total>3&&3===e.$current?"lg:col-span-2":""}
14  ${e=>5===e.$total&&4===e.$current?"lg:col-span-4":""}
15  ${e=>e.$total>5&&e.$current>3?"lg:col-span-2":""}
16  ${e=>e.$isRegularGrid?"lg:col-span-2 lg:row-span-1":""}
17`,u=a.A.div`
18  text-center
19  lg:mb-30
20  sm:mb-5
21`,d=(0,a.A)(o.Text)`
22  mt-10
23  mb-2.5
24  text-darkgray
25  opacity-70
26`,$=(0,a.A)(o.Title)`
27  mb-5
28`;var p=r(7710);let h=({templateProps:e,isRegularGrid:t=!1})=>{let{pathTranslations:r}
28=(0,p.S)(),[a,o]=(0,n.useState)(!1),[h,m]=(0,n.useState)(500),[v,x]=(0,n.useState)(),[w,j]=(0,n.useState)(!1),f=[...e.genericQualifios,...e.genericPages.filter(e=>e.showInPromotionsOverview)],C=e.learnMoreText?.value,b=e.genericPromotionsOverviews?.[0]?.title,y=e.genericPromotionsOverviews?.[0]?.subTitle;(0,n.useEffect)(()=>{x(f.map(e=>("slug"in e&&(e.slug=`${r.productPromotion}${e.slug??""}`),e)));let e=window.innerWidth;o(e<=640),e<=320&&m(438)},[]),(0,n.useEffect)(()=>{j(!0)},[v]);let A=!1;return(0,l.jsxs)("section",{className:"max-w-none p-0",children:[(0,l.jsxs)(u,{children:[(0,l.jsx)(d,{tag:"p",type:"lead",children:y}),(0,l.jsx)($,{tag:"h2",type:"md",children:b})]}),w?(0,l.jsx)(i.Grid,{children:(0,l.jsx)(i.GridRow,{children:(0,l.jsx)(c,{children:v?.map((e,r)=>{var n;return(0,l.jsx)(g,{$total:f.length,$current:r,$isRegularGrid:t,children:(0,l.jsx)(s.x,{isAuthorableGrid:!0,image:e.image?.asset?.[0],title:e.title||"",copy:e.copy||"",link:{url:e.genericPages?.[0]?.slug||e.slug||"",text:C},height:`${f.length>3&&2===r&&!a&&!t?2*h+20:h}px`,position:r+1,isOdd:(n=f.length,n>3&&r%2==0&&(A=!A),3===n&&2===r&&(A=!A),A)})},`grid-authorable-${e.id??r}`)})})})}):null]})}},75626:(e,t,r)=>{r.d(t,{f:()=>l});let l=({cardVariation:e,isOdd:t,customColor:r})=>"product"===e?`var(--color-emphasize, ${r??"none"})`:"articleImage"===e?`var(--color-secondary, ${r??"none"})`:t?"#EFDBB2":"#E1B87F"},92160:(e,t,r)=>{r.d(t,{c:()=>s});var l=r(37876);let s=({className:e})=>(0,l.jsx)("svg",{preserveAspectRatio:"none",width:"21",height:"21",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",className:e,children:(0,l.jsx)("path",{d:"M16.5781 6.1875L16.2031 6.51562C16.0156 6.75 16.0156 7.07812 16.2031 7.3125L20.1406 11.2031H2.5625C2.23438 11.2031 2 11.4844 2 11.7656V12.2344C2 12.5625 2.23438 12.7969 2.5625 12.7969H20.1406L16.2031 16.7344C16.0156 16.9688 16.0156 17.2969 16.2031 17.5312L16.5781 17.8594C16.7656 18.0938 17.1406 18.0938 17.375 17.8594L22.8125 12.4219C23.0469 12.1875 23.0469 11.8594 22.8125 11.625L17.375 6.1875C17.1406 5.95312 16.7656 5.95312 16.5781 6.1875Z"})})}}]);
29//# sourceMappingURL=8632.6da88c11ea03e175.js.map

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.