1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1335],{9851:(e,i,t)=>{"use strict";t.d(i,{A:()=>g});var r=t(76403),n=t(4964),s=t(10537),o=t(69933),a=t(77483),c=t(91152),l=t(77544),d=t.n(l);let g=(e,i)=>{let t=(0,n.useMemo)(()=>d()(e.map(e=>e.contentfulId).filter(e=>void 0!==e)),[e]),l=(0,a.A)(e),[g,p]=(0,o.A)(l),u=(0,s.A)(l),m=(e=>{let[i,t]=(0,n.useState)([]);return(0,n.useEffect)(()=>{let i=!0;return(async()=>{let r=await c.A.findProductReviewSummaries(e);i&&t(r)})(),()=>{i=!1}},[e]),i})(t);return(0,n.useMemo)(()=>(0,r.NL)(e,g,p,u,m,i),[e,g,p,u,m,i])}},48831:(e,i,t)=>{"use strict";t.d(i,{default:()=>B});var r=t(70952),n=t(4964),s=t(32041),o=t(60982),a=t(53375),c=t(7752),l=t(43623),d=t(99396),g=t(42691),p=t(90608),u=t(45432),m=t(3309),h=t(49826),x=t(92679),f=t(71819),y=t(60286),w=t(43879),j=t(63743),b=t(41694),k=t(40910),A=t(26854),v=t(95835);let C=a.Ay.section.withConfig({componentId:"sc-66787614-0"})(["margin:0 0 20px;"]),P=a.Ay.ul.withConfig({componentId:"sc-66787614-1"})(["list-style:none;display:flex;align-items:flex-start;padding-inline-start:0px;flex-wrap:wrap;justify-content:flex-start;margin-top:",";"],({theme:e})=>e.spacing.base.spacing400),I=a.Ay.li.withConfig({componentId:"sc-66787614-2"})(["width:50%;padding:10px;margin:0;box-sizing:border-box;@media only screen and (min-width:","){width:50%;}@media only screen and (min-width:","){width:33.33333%;}@media only screen and (min-width:","){width:20%;}@media only screen and (min-width:","){width:16.66666%;}"],({theme:e})=>e.legacyBreakpoints.xxs.min,({theme:e})=>e.legacyBreakpoints.xs.min,({theme:e})=>e.legacyBreakpoints.sm.min,({theme:e})=>e.legacyBreakpoints.md.min),S=({category:e,ancestors:i,products:t,childCategories:n=[]})=>{let{spacing:s}=(0,a.DP)();return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(m.Y,{}),(0,r.jsxs)(h.A,{children:[(0,r.jsxs)(w.A,{children:[(0,r.jsx)(c.A,{ancestors:i,category:e}),(0,r.jsx)(l.A,{title:e.title,description:e.description,image:e.image}),(n?.length??0)>0&&(0,r.jsx)("nav",{"aria-label":"Alikategoriat",children:(0,r.jsx)(P,{"data-gtm-id":"ecom-category:ul:sub-navigation","data-testid":"childCategories",children:n?.filter(b.R).filter(e=>!e.isHidden&&e.image?.url).map(i=>{let t=k.UG.categoryLink(i,e);return(0,r.jsx)(I,{children:(0,r.jsx)(d.A,{category:i,href:t})},t)})})}),(0,r.jsx)(u.A,{})]}),e.crossLinks.length>0&&(0,r.jsx)(p.Ay,{crosslinks:e.crossLinks,style:{marginTop:`-${s.base.spacing300}`},gtmId:"ecom-category:div:cross-links"}),(0,r.jsx)(f.A,{title:e.quickLinksTitle??"Pikavalinnat",quickLinks:e.quickLinks||[]}),(0,r.jsxs)(w.A,{"data-gtm-id":"ecom-category:div:category-content",children:[(0,r.jsx)(C,{children:0===t.length?(0,A._)():(0,r.jsx)(v.SearchParamsProvider,{children:(0,r.jsx)(x.A,{gaList:"category listing",products:t,gtmIdPrefix:"ecom-category"})})}),e.seoBlockContent&&(0,r.jsx)(y.A,{...e})]}),(0,r.jsx)(g.A,{contentBlocks:e.contentArea??[],gtmId:"ecom-category:div:content-area-block"}),(0,r.jsx)(j.A,{})]})]})};var q=t(9851);let L=({categoryOrProductSelection:e,products:i,ancestors:t,childCategories:o})=>{let a=(0,q.A)(i,"ProductListing"),{update:c}=(0,s.HI)(),{productSelection:l,category:d}=e;return((0,n.useEffect)(()=>(c({ancestors:t,category:d??null,productSelection:l??null,childCategories:o}),()=>{c({ancestors:[],childCategories:[],category:null,productSelection:null})}),[c,t,l,d,o]),l)?(0,r.jsx)(A.A,{productSelection:l,ancestors:t,products:a}):(0,r.jsx)(S,{category:d,ancestors:t,childCategories:o,products:a})};function B(e){let{products:i,categoryOrProductSelection:t}=e,{ancestors:n}=t,a=t.category?t.childCategories:[];return(0,r.jsx)(s.TR,{category:t.category,children:(0,r.jsx)(o.CmsContextProvider,{uniqueSellingPoints:e.uniqueSellingPoints,children:(0,r.jsx)(L,{products:i,categoryOrProductSelection:t,childCategories:a,ancestors:n})})})}},49826:(e,i,t)=>{"use strict";t.d(i,{A:()=>r});let r=t(53375).Ay.main.withConfig({componentId:"sc-c268ebe8-0"})(["padding:0;display:flex;align-items:center;flex-direction:column;min-height:100vh;background:",";"],({theme:e})=>e.colors.backgroundGray)},91152:(e,i,t)=>{"use strict";t.d(i,{A:()=>n});var r=t(99927);let n={findProductReviewSummaries:async e=>(await r.Ay.post("/product-reviews",{productIds:e})).data}},94724:(e,i,t)=>{Promise.resolve().then(t.bind(t,48831)),Promise.resolve().then(t.bind(t,87374))},99396:(e,i,t)=>{"use strict";t.d(i,{A:()=>l});var r=t(70952);t(4964);var n=t(53375),s=t(98307);let o=n.Ay.figure.withConfig({componentId:"sc-fd95eb2f-0"})(["margin-inline-start:0;position:relative;width:100%;border-radius:4px;border:4px solid transparent;box-shadow:0 2px 8px 0 rgba(58,58,58,0.12);background-color:",";display:flex;justify-content:center;align-items:center;overflow:hidden;&:hover{box-shadow:0 6px 24px 0 rgba(58,58,58,0.12);}& img,picture{padding:0;height:96px;}@media screen and (min-width:","){& img,picture{height:128px;}}"],({theme:e})=>e.colors.white,({theme:e})=>e.legacyBreakpoints.xlg.min),a=(0,n.Ay)(s.N).withConfig({componentId:"sc-fd95eb2f-1"})(["width:100%;border:none;background:none;cursor:pointer;display:block;text-decoration:none;&:active,&:focus{outline:none;","{border:4px solid ",";}}"],o,({theme:e})=>e.colors.blue300),c=n.Ay.span.withConfig({componentId:"sc-fd95eb2f-2"})(["font-size:14px;font-weight:500;margin-top:8px;padding:4px;color:",";display:block;word-break:break-word;hyphens:auto;"],({theme:e})=>e.colors.brandOffBlack),l=({category:e,href:i})=>{if(!e.image?.url)return null;let t=`${e.image.url}?fit=pad&w=128&h=128&fm=jpg&fl=progressive&q=90, ${e.image.url}?fit=pad&w=256&h=256&fm=jpg&fl=progressive&q=70 2x`,n=`${e.image.url}?fit=pad&w=96&h=96&fm=jpg&fl=progressive&q=90, ${e.image.url}?fit=pad&w=192&h=192&fm=jpg&fl=progressive&q=70 2x, ${e.image.url}?fit=pad&w=288&h=288&fm=jpg&fl=progressive&q=70 3x`;return(0,r.jsxs)(a,{href:i,onClick:e=>{e.currentTarget.blur()},children:[(0,r.jsx)(o,{children:(0,r.jsxs)("picture",{children:[(0,r.jsx)("source",{media:"(min-width: 1440px)",srcSet:t}),(0,r.jsx)("source",{media:"(max-width: 1439px)",srcSet:n}),(0,r.jsx)("img",{loading:"lazy",alt:e.title,src:`${e.image.url}?fit=pad&w=128&h=128&fm=jpg&fl=progressive&q=90`})]},i)}),(0,r.jsx)(c,{children:e.title})]})}}},e=>{e.O(0,[3655,708,6196,4072,4325,2848,2984,9580,5995,1118,8761,5039,1566,2648,2536,3309,8074,4189,4855,2226,5186,2679,8127,7424,6134,7358],()=>e(e.s=94724)),_N_E=e.O()}]);
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.