1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3309],{691:(e,t,i)=>{i.d(t,{A:()=>l});var a=i(70952),n=i(31039);i(4964);let l=({children:e,description:t,...i})=>(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("span",{"aria-hidden":!0,...i,children:e}),(0,a.jsx)(n.s,{children:t})]})},770:(e,t,i)=>{i.d(t,{VF:()=>o,OV:()=>s,Ay:()=>d});var a=i(53375),n=i(62750);let l={sm:"28px",md:"36px",lg:"40px",xl:"44px"},r=(e,t)=>"primary"===e?t.colors.purple550:"purchase"===e?t.colors.green500:"destructive"===e?t.colors.red500:void 0,s=a.Ay.button.withConfig({componentId:"sc-b71f6e67-0"})(["background-color:",";color:",";border:2px solid ",";cursor:pointer;display:inline-flex;text-decoration:none;justify-content:center;align-items:center;transition:all 0.2s;padding:0 ",";border-radius:999px;height:",";font-size:12px;letter-spacing:0.34px;font-family:",";font-weight:bold;text-transform:uppercase;&:hover{background-color:",";color:",";& > img{filter:",";}}&:disabled{","}"," &:focus-visible{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 6px #09f;}"],e=>e.$reverseColors?"#ffffff":r(e.$variant,e.theme),e=>e.$reverseColors?r(e.$variant,e.theme):"#ffffff",e=>e.$reverseColors?r(e.$variant,e.theme):"transparent",e=>"sm"===e.size?e.theme.spacing.base.spacing200:e.theme.spacing.base.spacing300,e=>l[e.size],n.aZ,e=>e.$reverseColors?r(e.$variant,e.theme):((e,t)=>"primary"===e?t.colors.purple600:"purchase"===e?t.colors.green700:"destructive"===e?t.colors.red600:void 0)(e.$variant,e.theme),({theme:e})=>e.colors.white,({theme:e})=>e.cssFilterColors.white,e=>` 2 color: ${e.$reverseColors?e.theme.colors.gray300:e.theme.colors.white}; 3 background-color: ${e.$reverseColors?"#ffffff":e.theme.colors.gray300}; 4 border: 2px solid ${e.$reverseColors?e.theme.colors.gray300:"transparent"}; 5 cursor: not-allowed; 6 7 & > img { 8 filter: ${e.$reverseColors?e.theme.cssFilterColors.gray400:e.theme.cssFilterColors.white}; 9 } 10 `,e=>"xl"===e.size&&` 11 font-size: 14px; 12 letter-spacing: 0.4px; 13 `),o=a.Ay.div.withConfig({componentId:"sc-b71f6e67-1"})(["margin-top:",";",""],({theme:e})=>e.spacing.base.spacing25,({$iconOnRight:e,theme:t})=>e?`margin-left: ${t.spacing.base.spacing150};`:`margin-right: ${t.spacing.base.spacing150};`),d=s},3192:(e,t,i)=>{i.d(t,{LogoContainer:()=>a});let a=i(53375).Ay.div.withConfig({componentId:"sc-9fde2325-0"})(["color:",";height:40px;svg{height:100%;}"],({theme:e})=>e.colors.purple550)},3309:(e,t,i)=>{i.d(t,{K:()=>tt,Y:()=>ti});var a=i(70952),n=i(99750),l=i(40910),r=i(78217),s=i(4964),o=i(53375),d=i(52950),c=i(91295),u=i(92633),p=i(65634),g=i(31574);let m=o.Ay.div.withConfig({componentId:"sc-bdf35577-0"})(["width:24px;height:24px;background-color:",";border-radius:50%;color:",";font-size:11px;font-weight:700;line-height:24px;text-align:center;letter-spacing:-1px;"],({theme:e})=>e.colors.purple550,({theme:e})=>e.colors.white),h=o.Ay.div.withConfig({componentId:"sc-bdf35577-1"})(["margin-left:6px;"]),f=({...e})=>{let t=(0,c.Jd)(),[i,n]=(0,s.useState)(""),l=(0,u.A)(),[r,o]=(0,s.use
13State)({isLoggedIn:!1,isCustomerBenefitsEligible:!1});return((0,s.useEffect)(()=>{o(t)},[t]),(0,s.useEffect)(()=>{n(window.location.href)},[]),r.isLoggedIn)?(0,a.jsx)(eX,{href:"https://www.telia.fi/OmatSivut/main.do",children:(0,a.jsx)(m,{children:r.initials})}):r.isLoading?(0,a.jsx)(eX,{href:"#",children:(0,a.jsx)(g.y$,{size:"xs"})}):(0,a.jsxs)(eX,{href:`https://www.telia.fi/kirjaudu?redirect=${i}`,children:[(0,a.jsx)(p.q,{size:"md"}),!l&&(0,a.jsx)(h,{children:"Kirjaudu"})]})};var x=i(40420),b=i.n(x),y=i(56406),k=i(78686),v=i(96871),w=i.n(v),j=i(21772),I=i(62750),A=i(9642),C=i(98307),S=i(97137);let M=o.Ay.div.withConfig({componentId:"sc-3c3fca1-0"})(["padding-top:",";display:flex;flex-direction:column;"],({theme:e})=>e.spacing.base.spacing400),z=()=>{let[e,t]=(0,s.useState)(!0),{spacing:i}=(0,o.DP)();return(0,a.jsxs)(A.A,{title:(0,a.jsx)("h3",{className:I.Il.heading.lg,style:{fontSize:"24px"},children:"Ostoskorissasi on tuotteita molemmista verkkokaupoistamme"}),isOpen:e,onSecondaryButtonClick:()=>t(!1),removeButtonArea:!0,children:[(0,a.jsx)("p",{children:"Kumpaan ostoskoriin haluat siirty\xe4?"}),(0,a.jsxs)(M,{children:[(0,a.jsx)(C.v,{"aria-label":"Siirry laitekaupan ostoskoriin",variant:"purchase",iconOnRight:!0,icon:(0,a.jsx)(S.V,{size:"xs"}),href:l.UG.checkout.cart(),children:"Laitteet"}),(0,a.jsx)(C.v,{"aria-label":"Siirry liittym\xe4t ja palvelut -ostoskoriin",variant:"purchase",iconOnRight:!0,icon:(0,a.jsx)(S.V,{size:"xs"}),href:l.UG.checkout.classicEcomCart(),style:{marginTop:i.base.spacing300},children:"Liittym\xe4t ja palvelut"})]})]})};var E=i(81778),D=i(67621);let T=o.Ay.span.withConfig({componentId:"sc-48b725ef-0"})(["cursor:pointer;position:absolute;top:-8px;right:-8px;width:16px;height:16px;line-height:17px;font-size:11px;border-radius:50%;text-align:center;background-color:",";color:",";z-index:",";"],({theme:e})=>e.colors.purple550,({theme:e})=>e.colors.white,({theme:e})=>e.zIndexes.default),H=(0,o.Ay)(b()).withConfig({componentId:"sc-48b725ef-1"})(["position:relative;color:",";"],({theme:e})=>e.colors.brandOffBlack),_=(0,o.Ay)(j.A).withConfig({componentId:"sc-48b725ef-2"})(["position:relative;color:",";"],({theme:e})=>e.colors.brandOffBlack),L=()=>{let[e,t]=(0,s.useState)(!1),[i,n]=(0,s.useState)("/"),r=(0,k.A)(),o=(0,E.GV)(y.VH),d=r?o.items.map(e=>e.quantity).reduce((e,t)=>e+t,0):0,c=w().get("eshop.CartCountOrder"),u=c?parseInt(c,10):0,p=u>0,g=p&&d>0,m=u+d;return((0,s.useEffect)(()=>{n(p?l.UG.checkout.classicEcomCart():l.UG.checkout.cart())},[p]),g)?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(_,{onClick:()=>t(!e),"aria-label":"Siirry ostoskoriin","data-e2e-selector":"cart-icon-link",children:[(0,a.jsx)(D.c,{size:"md"}),d>0&&(0,a.jsx)(T,{children:m})]}),e&&(0,a.jsx)(z,{})]}):(0,a.jsxs)(H,{href:i,prefetch:!1,"aria-label":"Siirry ostoskoriin","data-e2e-selector":"cart-icon-link",children:[(0,a.jsx)(D.c,{size:"md"}),m>0&&(0,a.jsx)(T,{children:m})]})},O=(e=[],t,i)=>e.map((e,a)=>{let n=[i,`${a}`].filter(Boolean).join("_");return e.menuItems?{...e,id:n,menuItems:O(e.menuItems,t,n)}:{...e,id:n}});var P=i(51147);let N=o.Ay.div.withConfig({componentId:"sc-3d47a570-0"})(["background-color:",";z-index:",";"],({theme:e})=>e.colors.white,({theme:e})=>e.zIndexes.header),R=o.Ay.a.withConfig({componentId:"sc-94f5aabb-0"})(["display:flex;align-items:center;padding:17px 18px 17px 24px;line-height:20px;cursor:pointer;user-select:none;color:",";font-size:14px;@media screen and (max-width:","){padding:10px 0 10px 44px;}@media screen and (min-width:","){font-size:16px;background-color:",";width:230px;}&:hover{background-color:",";color:",";}"],({theme:e})=>e.colors.brandOffBlack,({theme:e})=>e.legacyBreakpoints.sm.max,({theme:e})=>e.legacyBreakpoints.md.min,({theme:e})=>e.colors.backgroundGray,({theme:e})=>e.colors.gray50,({theme:e})=>e.colors.brandOffBlack),G=({item:e})=>(0,a.jsx)(R,{href:e.url??"#","data-gtm-id":"ecom-navi:a:top-item-level-3",children:e.text}),B=o.Ay.a.withConfig({componentId:"sc-b8e7e6ca-0"})(["box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;background-color:",";padding:14px 18px 14px ",";line-height:20px;cursor:pointer;user-select:none;width:100%;color:",";font-size:14px;@media screen and (max-width:","){border-bottom:1px solid ",";font-weight:500;}@media screen and (min-width:","){font-size:16px;padding:17px 18px 17px 24px;border-bottom:1px solid ",";background-color:",";width:230px;&:hover{background-color:",";}}&:hover{color:",";}"],({theme:e})=>e.colors.white,({theme:e})=>e.spacing.base.spacing400,({theme:e})=>e.colors.brandOffBlack,({theme:e})=>e.legacyBreakpoints.sm.max,({$isOpen:e,theme:t})=>e?t.colors.white:t.colors.gray50,({theme:e})=>e.legacyBreakpoints.md.min,({theme:e})=>e.colors.gray50,({$isOpen:e,theme:t})=>e?t.colors.gray50:t.colors.white,({theme:e})=>e.colors.gray50,({theme:e})=>e.colors.brandOffBlack),U=o.Ay.div.withConfig({componentId:"sc-b8e7e6ca-1"})(["position:relative;z-index:",";@media screen and (min-width:","){position:absolute;
13left:230px;top:0;}"],({theme:e})=>e.zIndexes.sticky+2,({theme:e})=>e.legacyBreakpoints.md.min),V=o.Ay.div.withConfig({componentId:"sc-b8e7e6ca-2"})(["position:relative;@media screen and (max-width:","){border-bottom:1px solid ",";}@media screen and (min-width:","){&:hover{","{background-color:",";}}}"],({theme:e})=>e.legacyBreakpoints.sm.max,({$isOpen:e,theme:t})=>e?t.colors.gray50:t.colors.white,({theme:e})=>e.legacyBreakpoints.md.min,B,({theme:e})=>e.colors.gray50),K=({item:e,openMenuItems:t,onItemClick:i})=>{let n=!!e.menuItems?.length,l=t.includes(e.id),{ref:r,refStyle:o}=function(e){let t=(0,s.useRef)(null),{height:i=0}=(()=>{let[e,t]=(0,s.useState)({width:void 0,height:void 0});return(0,s.useEffect)(()=>{function e(){t({width:window.innerWidth,height:window.innerHeight})}return window.addEventListener("resize",e),e(),()=>window.removeEventListener("resize",e)},[]),e})(),[a,n]=(0,s.useState)({transform:"none"});return(0,s.useEffect)(()=>{if(e&&t.current){let{height:e}=t.current.getBoundingClientRect(),a=t.current.parentNode,{top:l}=a?.getBoundingClientRect()??{top:0};i<l+e?e>i?n({overflowY:"scroll",maxHeight:"100vh",transform:`translateY(${-l}px`}):n({transform:`translateY(${Math.min(i-(l+e),0)}px`}):n(e=>"none"!==e.transform?{transform:"none"}:e)}},[e,i]),{ref:t,refStyle:a}}(l),d=e.menuItems;return n?(0,a.jsxs)(V,{$isOpen:l,"data-gtm-id":"ecom-navi:div:top-item-level-2",children:[(0,a.jsxs)(B,{$isOpen:l,onClick:()=>i?.(e.id),children:[(0,a.jsx)("span",{children:e.text}),(0,a.jsx)(S.V,{size:"xxs"})]}),l&&(0,a.jsx)(U,{ref:r,style:o,children:d?.map(e=>(0,a.jsx)(G,{item:e},e.id))})]}):(0,a.jsx)(B,{href:e.url??"#","data-gtm-id":"ecom-navi:a:top-item-level-2",children:e.text})};var F=i(45449),$=i(43650);let Q=o.Ay.span.withConfig({componentId:"sc-aae010e9-0"})(["@media screen and (max-width:","){display:flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:17px;background-color:",";}span{@media screen and (min-width:","){margin-left:",";}}"],({theme:e})=>e.legacyBreakpoints.sm.max,({theme:e})=>e.colors.gray50,({theme:e})=>e.legacyBreakpoints.md.min,({theme:e})=>e.spacing.base.spacing100),W=o.Ay.button.withConfig({componentId:"sc-aae010e9-1"})(["border:none;outline:none;font-size:18px;font-family:",";color:",";box-sizing:border-box;display:flex;justify-content:space-between;cursor:pointer;user-select:none;align-items:center;background-color:",";@media screen and (max-width:","){height:70px;width:100%;padding:0 "," 0 ",";border-bottom:1px solid ",";}@media screen and (min-width:","){font-size:16px;background-color:",";padding:8px 12px;","}&:hover{@media screen and (min-width:","){color:",";}}"],I.aZ,({theme:e})=>e.colors.brandOffBlack,({$isOpen:e,theme:t})=>e?t.colors.white:t.colors.gray50,({theme:e})=>e.legacyBreakpoints.sm.max,({theme:e})=>e.spacing.base.spacing200,({theme:e})=>e.spacing.base.spacing300,({theme:e})=>e.colors.gray50,({theme:e})=>e.legacyBreakpoints.md.min,({theme:e})=>e.colors.white,({$isOpen:e,theme:t})=>e?(0,o.AH)(["color:",";"],t.colors.purple550):null,({theme:e})=>e.legacyBreakpoints.md.min,({theme:e})=>e.colors.purple550),Y=o.Ay.div.withConfig({componentId:"sc-aae010e9-2"})(["@media screen and (min-width:","){position:absolute;top:50px;left:-12px;}"],({theme:e})=>e.legacyBreakpoints.md.min),q=o.Ay.div.withConfig({componentId:"sc-aae010e9-3"})(["position:relative;@media screen and (max-width:","){border-bottom:1px solid ",";}@media screen and (max-width:","){width:100%;}"],({theme:e})=>e.legacyBreakpoints.sm.max,({theme:e})=>e.colors.gray200,({theme:e})=>e.legacyBreakpoints.sm.max),J=({item:e,openMenuItems:t,onItemClick:i})=>{let n=!!e.menuItems?.length,l=t.includes(e.id),r=e.menuItems;return(0,a.jsxs)(q,{children:[(0,a.jsxs)(W,{"data-gtm-id":"ecom-navi:div:top-item-level-1",$isOpen:l,onClick:()=>i(e.id),children:[(0,a.jsx)("span",{className:`MenuItem1Level-${e.id}`,children:e.text}),(0,a.jsx)(Q,{children:l?(0,a.jsx)($.o,{size:"xxs"}):(0,a.jsx)(F.r,{size:"xxs"})})]}),n&&l&&(0,a.jsx)(Y,{children:r?.map(e=>(0,a.jsx)(K,{onItemClick:i,openMenuItems:t,item:e},e.id))})]})},X=o.Ay.div.withConfig({componentId:"sc-59a9d0bb-0"})(["display:flex;background-color:",";flex-wrap:wrap;height:40px;line-height:35px;margin-top:5px;align-items:center;@media screen and (max-width:","){display:block;height:auto;line-height:initial;margin-top:0;max-height:calc(100vh - (72px + 46px + 70px));overflow-y:auto;"," ~ "," &{max-height:calc(100vh - (72px + 46px + 40px));}}@media screen and (min-width:","){margin-left:",";}"],({theme:e})=>e.colors.white,({theme:e})=>e.legacyBreakpoints.sm.max,P.m,N,({theme:e})=>e.legacyBreakpoints.md.min,({theme:e})=>e.spacing.base.spacing300),Z=({menuItems:e,openMenuItems:t,setOpenMenuItems:i,minunTeliaItem:n})=>{let l=(0,s.useMemo)(()=>O(e,t),[e]),r=(0,s.useMemo)(()=>O(n.menuItems,t),[n]),o={...n,id:"mt",menuItems:r},d=e=>{let a=(e=>{let t=e.split("_").length,i=e.split("_"),a=[];if(2===t){let e=i[0];a.push(e)}if(3===t){let e=i[1],t=i[0],n=[e,t].join("_");a.push(n),a.push(t)}return a})(e),n=t.filter(e=>a.includes(e));t.includes(e)||n.push(e),i(n)};return(0,a.jsxs)(X,{children:[l.map(e=>(0,a.jsx)(J,{item:e,openMenuItems:t,onItemClick:e=>d(e)},e.id)),(0,a.jsx)(J,{item:o,openMenuItems:t,onItemClick:e=>d(e)})]})};var ee=i(28433),et=i(25113),ei=i(79410),ea=i(32399),en=i(20112),el=i(50639),er=i(77916),es=i(65056),eo=i(22880),ed=i(8683),ec=i(75418),eu=i(31761),ep=i(85825),eg=i(691),em=i(21752),eh=i(18541);let ef=o.Ay.div.withConfig({componentId:"sc-f803a1bd-0"})(["display:flex;flex-direction:column;width:400px;position:absolute;top:49px;right:-28px;background-color:white;box-shadow:0 8px 32px 0 rgba(58,58,58,0.18);z-index:",";padding:",';max-height:calc(100vh - 120px);&:before{position:absolute;content:"";width:0;height:0;top:-20px;right:28px;border:10px solid transparent;border-bottom:10px solid white;@media screen and (max-width:',"){right:80px;}@media screen and (max-width:","){display:none;}}@media screen and (max-width:","){right:-80px;}@media screen and (max-width:","){position:fixed;left:0;right:0;top:0;width:calc(100vw - ",");margin:",";height:auto;max-height:calc(100vh - ",");overflow-x:hidden;}"],e=>
13e.theme.zIndexes.overlay,({theme:e})=>`${e.spacing.base.spacing200} ${e.spacing.base.spacing200} ${e.spacing.base.spacing300};`,({theme:e})=>e.legacyBreakpoints.sm.min,({theme:e})=>e.legacyBreakpoints.xs.min,({theme:e})=>e.legacyBreakpoints.sm.min,({theme:e})=>e.legacyBreakpoints.xs.min,({theme:e})=>e.spacing.base.spacing600,({theme:e})=>e.spacing.base.spacing100,({theme:e})=>e.spacing.base.spacing200),ex=o.Ay.div.withConfig({componentId:"sc-f803a1bd-1"})(["display:none;@media screen and (max-width:","){display:block;left:0;right:0;top:0;position:fixed;background-color:#222222b3;z-index:",";width:100vw;height:100%;}"],({theme:e})=>e.legacyBreakpoints.xs.min,e=>e.theme.zIndexes.dropdown),eb=o.Ay.div.withConfig({componentId:"sc-f803a1bd-2"})(["display:flex;justify-content:space-between;margin:0px 0px 16px ",";line-height:26px;p{line-height:18px;font-size:18px;}"],({theme:e})=>e.spacing.base.spacing100),ey=o.Ay.button.withConfig({componentId:"sc-f803a1bd-3"})(["cursor:pointer;background-color:transparent;color:",";border:0;text-align:center;display:inline-block;width:40px;padding-right:0px;&:focus{outline:3px solid ",";outline-offset:1px;}"],({theme:e})=>e.colors.gray400,({theme:e})=>e.colors.purple400),ek=o.Ay.div.withConfig({componentId:"sc-f803a1bd-4"})(["margin:16px 8px 0;display:flex;align-items:center;.items{font-size:14px;cursor:pointer;}"]),ev=o.Ay.div.withConfig({componentId:"sc-f803a1bd-5"})(["display:flex;justify-content:space-between;align-items:center;margin:0 ",";"],({theme:e})=>e.spacing.base.spacing100),ew=o.Ay.div.withConfig({componentId:"sc-f803a1bd-6"})(["display:flex;flex-direction:column;"]),ej=(0,o.Ay)(C.N).withConfig({componentId:"sc-f803a1bd-7"})(["text-decoration:none;color:inherit;"]),eI=o.Ay.div.withConfig({componentId:"sc-f803a1bd-8"})(["flex:1;overflow-y:auto;min-height:0;padding:",";"],({theme:e})=>e.spacing.base.spacing25),eA=()=>{let{spacing:e,colors:t}=(0,o.DP)(),[i,n]=(0,s.useState)(!1),r=(0,E.jL)(),d=(0,s.useRef)(null),c=(0,E.GV)(y.VH),u=(0,k.A)(),p=(0,E.GV)(y.gI),g=(0,E.GV)(y.te),m=(0,E.GV)(y.pJ),h=(0,E.GV)(e=>(0,y.Hc)(e,m?.id)),f=(0,E.GV)(y.M8),x=(0,E.GV)(er.gZ),b=(0,E.GV)(y.qp),v=(0,E.GV)(e=>e.ui.showQuickCart),[j,A]=(0,s.useState)(),S=(0,s.useRef)({quantity:f,latestCartItem:m}),M=(0,eh.D)(),T=(0,s.useCallback)(e=>r((0,es.f6)(e)),[r]),H=(0,s.useMemo)(()=>({allowOutsideClick:!0,clickOutsideDeactivates:!1,tabbableOptions:{displayCheck:void 0}}),[]),_=(0,E.GV)(e=>m?e.cart.active.complimentarySelections[m.id]:void 0)??void 0;if(((e,t,i=!0)=>{let a=(0,s.useRef)(en.A),n=(0,s.useRef)(!1);(0,s.useEffect)(()=>{a.current=t},[t]),(0,s.useEffect)(()=>{if(!i)return en.A;let t=t=>{n.current=e.current?.contains(t.target)??!1},l=t=>{("Enter"===t.key||" "===t.key)&&(n.current=e.current?.contains(t.target)??!1)},r=()=>{n.current||a.current?.()};return document.addEventListener("mousedown",t),document.addEventListener("keydown",l),document.addEventListener("click",r),()=>{document.removeEventListener("mousedown",t),document.removeEventListener("keydown",l),document.removeEventListener("click",r)}},[e,i])})(d,()=>{T(!1)},v),(0,s.useEffect)(()=>{let e=m?.id!==S.current.latestCartItem?.id,t=f!==S.current.quantity;!l.UG.isInCheckout()&&(e||t)&&!v&&T(!0),S.current={quantity:f,latestCartItem:m}},[f,m,T,v]),(0,s.useEffect)(()=>{let e=e=>{"Escape"===e.key&&v&&T(!1)};return window.addEventListener("keydown",e),()=>{window.removeEventListener("keydown",e)}},[v,T]),v&&(window.onpopstate=()=>{T(!1)}),!m||!v||f<=0)return null;let L=h.reduce((e,t)=>e+t.quantity,0),O=w().get("eshop.CartCountOrder"),P=O?parseInt(O,10):0,N=(void 0!==P&&P>0&&f>0)??!0;if(p||!u)return null;let R=async()=>{let e=await r((0,el.Mr)({newItem:{...m,complimentaryId:_},cart:c}));(0,eu.TK)(e)?A(e.payload?.message):A(void 0)},G=async()=>{let e=await r((0,el.I1)({removedItem:{...m,complimentaryId:_},cart:c}));(0,eu.TK)(e)?A(e.payload?.message):A(void 0)};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(ex,{}),(0,a.jsx)(ee.FocusTrap,{focusTrapOptions:H,children:(0,a.jsxs)(ef,{ref:d,role:"dialog","aria-modal":"true","aria-label":"Lis\xe4tty ostoskoriin","data-testid":"quickCartPopup",children:[(0,a.jsxs)(eb,{children:[(0,a.jsx)("p",{className:I.Il.bodyText.md,style:{fontWeight:
13I.Wy.medium},children:"Lis\xe4tty ostoskoriin"}),(0,a.jsx)(ey,{type:"button",onClick:()=>T(!1),"aria-label":"sulje",children:(0,a.jsx)(ep.g,{size:"xs"})})]}),(0,a.jsx)(eI,{children:(0,a.jsxs)(eo.A,{children:[(0,a.jsx)(ed.A,{errorMessage:j,item:{...m,quantity:f},quantitySelector:{increaseCart:R,decreaseCart:G,disabled:g,totalItems:c.items.length},availability:null,showComplimentaryControls:!0,showWarranty:!1}),L>0&&(0,a.jsx)(ec.A,{children:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(C.N,{href:l.UG.checkout.cart(),className:I.Il.bodyText.sm,style:{color:t.purple550},children:["+ ",L,1===L?" kaupanp\xe4\xe4llinen":" kaupanp\xe4\xe4llist\xe4"]}),(0,a.jsx)("span",{className:I.Il.bodyText.md,style:{color:t.gray800,float:"right",fontWeight:I.Wy.bold},children:"0,00 â¬"})]})})]})}),(0,a.jsxs)(ek,{children:[(0,a.jsx)("div",{style:{marginRight:e.base.spacing50},children:(0,a.jsx)(D.c,{size:"xs"})}),(0,a.jsxs)(ej,{href:l.UG.checkout.cart(),className:`items ${I.Il.bodyText.md}`,children:[(0,a.jsx)("u",{"aria-live":"polite",children:b>1?`${b} tuotetta`:"1 tuote"})," ","yhteens\xe4"]})]}),(0,a.jsxs)(ev,{"data-testid":"quickCartFooter",children:[(0,a.jsxs)(ew,{children:[(0,a.jsx)(eg.A,{description:`Hinta ${(0,ea.Zx)(x)} â¬`,children:(0,a.jsx)(ei.A,{value:(0,ea.Zx)(x),fixedSize:!0,style:{margin:`${e.base.spacing50} 0`}})}),M&&(0,a.jsxs)(em.f,{variant:"additional-100",children:["tai ",(0,ea.Zx)(x/36)," â¬/kk (36kk)"]})]}),N?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(et.$,{variant:"purchase",onClick:()=>n(!i),children:"Kassalle"}),i&&(0,a.jsx)(z,{})]}):(0,a.jsx)(C.v,{href:l.UG.checkout.cart(),variant:"purchase",children:"Kassalle"})]})]})})]})};var eC=i(43879);let eS=(0,o.Ay)(eC.A).withConfig({componentId:"sc-383bdbdd-0"})(["background-color:",";"],({theme:e})=>e.colors.white);var eM=i(82560),ez=i(3192),eE=i(61453);let eD=(0,o.Ay)(ez.LogoContainer).withConfig({componentId:"sc-2084ee3c-0"})(["",""],({$checkout:e})=>e&&(0,o.AH)(["height:24px;@media screen and (min-width:","){height:32px;}"],({theme:e})=>e.legacyBreakpoints.md.min)),eT=({href:e,checkout:t,ariaLabel:i})=>{let n=(0,eM.A)(e);return(0,a.jsx)(b(),{href:n||e,"aria-label":i,children:(0,a.jsx)(eD,{$checkout:!!t,children:(0,a.jsx)(eE.LogoSVG,{})})})};var eH=i(32041),e_=i(80562);let eL=o.Ay.div.withConfig({componentId:"sc-c1c21a73-0"})(["background:",";z-index:",";border-top:1px solid ",";border-bottom:1px solid rgba(0,0,0,0.11);","{background-color:",";&.left{box-shadow:15px 0px 11px 11px rgba(255,255,255,0.5);}&.right{box-shadow:-15px 0px 11px 11px rgba(255,255,255,0.5);}}"],({theme:e})=>e.colors.white,({theme:e})=>e.zIndexes.sticky+1,({theme:e})=>e.colors.gray200,e_.U_,({theme:e})=>e.colors.white),eO=(0,o.Ay)(eC.A).withConfig({componentId:"sc-d394919a-0"})(["background:",";z-index:",";width:100%;"],({theme:e})=>e.colors.white,({theme:e})=>e.zIndexes.sticky-1),eP=(0,o.Ay)(e_.yE).withConfig({componentId:"sc-58bf25e8-0"})(["list-style:none;height:44px;display:flex;margin:0;padding:0;li{height:44px;line-height:44px;font-size:14px;margin-right:20px;box-sizing:border-box;}a{height:42px;user-select:none;outline:none;color:",";display:block;font-size:14px;&:focus,&:active{outline:none;color:",";}@media (hover:hover){&:hover{color:",";}}}li.active{outline:none;a{color:",";border-bottom:2px solid ",";}}@media screen and (min-width:","){height:56px;li{height:56px;line-height:56px;a{height:54px;font-size:16px;}}}"],({theme:e})=>e.colors.brandOffBlack,({theme:e})=>e.colors.brandOffBlack,({theme:e})=>e.colors.purple550,({theme:e})=>e.colors.brandOffBlack,({theme:e})=>e.colors.purple550,({theme:e})=>e.legacyBreakpoints.md.min);var eN=i(48488);let eR=()=>{let{colors:e}=(0,o.DP)(),t=(0,eH.HI)(),i=(0,eN.A)(),n=(0,r.usePathname)(),s=l.UG.useIsInCheckout(n),d=l.UG.useIsInCheckoutConfirmed(n),c=l.UG.mhsOrderConfirmed(),u=n?.split("/").filter(e=>""!==e)[0]?`/${n?.split("/").filter(e=>""!==e)[0]}`:n;return!s||d||c?(0,a.jsx)(eL,{children:(0,a.jsx)(e_.Ay,{id:"category-navigation","data-gtm-id":"ecom-navi:div:sub-navi","data-testid":"categoryNavigation",children:r=>(0,a.jsx)(eO,{as:"nav","aria-label":"Kategorianavigointi",children:(0,a.jsxs)(eP,{as:"ul",ref:r,children:[(0,a.jsx)("li",{...n===l.UG.home()&&{className:"active"},children:(0,a.jsx)(C.N,{href:l.UG.home(),"data-gtm-id":"ecom-navi:a:sub-item ecom-navi:a:sub-all-devices",children:"Kaikki laitteet"})}),(()=>{let t=i.discountHighlights.filter(e=>!!e.highlightLinkTitle);return 0===t.length?(0,a.jsx)("li",{...u?.includes(l.UG.discounts())&&{className:"active"},children:(0,a.jsx)(C.N,{href:l.UG.discounts(),"data-gtm-id":"ecom-navi:a:sub-item ecom-navi:a:sub-offers",style:{color:e.purple550},children:(0,a.jsx)("strong",{children:"Tarjoukset"})})}):t.map(t=>(0,a.jsx)("li",{...u?.includes(t.slug)&&{className:"active"},children:(0,a.jsx)(C.N,{href:l.UG.productSelectionLink({slug:t.slug}),"data-gtm-id":"ecom-navi:a:sub-item ecom-navi:a:sub-offers",style:{color:e.purple550},children:(0,a.jsx)("strong",{children:t.highlightLinkTitle})})},t.slug))})(),t.categoryTree.filter(e=>!e.isHidden).map(e=>{let i=t.category?.id===e.id,n=!!t.ancestors.find(t=>
13t.id===e.id);return(0,a.jsx)("li",{...(i||n)&&{className:"active"},children:(0,a.jsx)(C.N,{href:l.UG.categoryLink(e),"data-testid":"categoryNavigationLink","data-gtm-id":`ecom-navi:a:sub-item${e.analyticsId?` ecom-navi:a:sub-${e.analyticsId}`:""}`,children:e.menuTitle??e.title})},e.title)})]})})})}):null},eG=o.Ay.div.withConfig({componentId:"sc-3d71cd7b-0"})(["z-index:",";background-color:",";@media screen and (max-width:","){display:none;}"],({theme:e})=>e.zIndexes.sticky+1,({theme:e})=>e.colors.white,({theme:e})=>e.legacyBreakpoints.sm.max),eB=o.Ay.a.withConfig({componentId:"sc-3d71cd7b-1"})(["font-family:",";text-transform:uppercase;letter-spacing:1px;font-weight:500;font-size:12px;line-height:23px;border-bottom:3px solid transparent;color:#707070;box-sizing:border-box;&:not(:last-of-type){margin-right:16px;}&:focus{outline:4px solid ",";}@media screen and (max-width:","){display:inline-block;height:45px;line-height:42px;}@media screen and (min-width:","){border-bottom:2px solid transparent;font-size:11px;}",""],I.aZ,({theme:e})=>e.colors.blue400,({theme:e})=>e.legacyBreakpoints.sm.max,({theme:e})=>e.legacyBreakpoints.md.min,({$isActive:e,theme:t})=>e&&(0,o.AH)(["border-bottom:3px solid ",";color:",";@media screen and (min-width:","){border-bottom:2px solid ",";}"],t.colors.purple550,t.colors.purple550,t.legacyBreakpoints.md.min,t.colors.purple550)),eU=o.Ay.a.withConfig({componentId:"sc-3d71cd7b-2"})(["padding:0 12px;color:#707070;font-size:12px;font-weight:500;letter-spacing:1px;@media screen and (min-width:","){font-size:11px;padding:0 8px;}"],({theme:e})=>e.legacyBreakpoints.md.min),eV=o.Ay.div.withConfig({componentId:"sc-3d71cd7b-3"})(["height:38px;display:flex;flex-direction:row;align-items:center;justify-content:space-between;z-index:",";"],({theme:e})=>e.zIndexes.sticky),eK=({marketSegments:e,languages:t})=>(0,a.jsx)(eG,{className:"ui-topbar",children:(0,a.jsx)(eS,{children:(0,a.jsxs)(eV,{children:[e&&(0,a.jsx)("div",{children:e.map(e=>(0,a.jsx)(eB,{href:e.url,$isActive:"Yksityisille"===e.text,children:e.text},e.text))}),t&&(0,a.jsx)("div",{children:t.map(e=>(0,a.jsx)(eU,{href:e.url,children:e.text},e.text))})]})})}),eF=o.Ay.div.withConfig({componentId:"sc-c880b0a4-0"})(["position:absolute;width:100%;left:0;top:72px;z-index:",";margin:0 auto;background-color:",";"],({theme:e})=>e.zIndexes.sticky+2,({theme:e})=>e.colors.white),e$=(0,o.Ay)(eS).withConfig({componentId:"sc-c880b0a4-1"})(["border-bottom:1px solid ",";"],({theme:e})=>e.colors.gray200),eQ=(0,o.Ay)(eS).withConfig({componentId:"sc-c880b0a4-2"})(["background-color:",";padding-left:12px;height:70px;display:flex;align-items:center;"],({theme:e})=>e.colors.gray50),eW=({marketSegments:e,languages:t,menuItems:i,minunTeliaItem:n,openMenuItems:l,setOpenMenuItems:r})=>(0,a.jsxs)(eF,{children:[e&&(0,a.jsx)(e$,{children:e.map(e=>(0,a.jsx)(eB,{href:e.url,$isActive:"Yksityisille"===e.text,children:e.text},e.text))}),(0,a.jsx)(Z,{menuItems:i,minunTeliaItem:n,openMenuItems:l,setOpenMenuItems:r}),t&&(0,a.jsx)(eQ,{children:t.map(e=>(0,a.jsx)(eU,{href:e.url,children:e.text},e.text))})]});var eY=i(6655);let eq=o.Ay.div.withConfig({componentId:"sc-3e93d550-0"})(["width:100%;z-index:",";position:sticky;top:0;background-color:",";"],({theme:e})=>e.zIndexes.sticky+2,({theme:e})=>e.colors.white),eJ=o.Ay.div.withConfig({componentId:"sc-3e93d550-1"})(["display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding:"," 0;height:72px;box-sizing:border-box;z-index:302;position:relative;"],({theme:e})=>e.spacing.base.spacing200),eX=(0,o.Ay)(b()).withConfig({componentId:"sc-3e93d550-2"})(["margin-left:16px;cursor:pointer;background-color:",";color:",";display:inline-flex;align-items:center;&::-moz-focus-inner{border:0;}&:focus{outline-offset:3px;outline:solid 4px ",";}&:hover{color:",";img{filter:brightness(0) saturate(100%) ",";}}img{width:28px;height:28px;}svg{display:block;}",""],({theme:e})=>e.colors.white,({theme:e})=>e.colors.brandOffBlack,({theme:e})=>e.colors.blue400,({theme:e})=>e.colors.purple550,({theme:e})=>e.cssFilterColors.purple500,({$active:e})=>e&&(0,o.AH)(["border-radius:50%;span{top:12px;&:nth-child(1){width:0;left:50%;}&:nth-child(2){width:22px;transform:rotate(45deg);background-color:",";}&:nth-child(3){width:22px;transform:rotate(-45deg);background-color:",";}&:nth-child(4){width:0;left:50%;}}"],({theme:e})=>e.colors.brandOffBlack,({theme:e})=>e.colors.brandOffBlack)),eZ=o.Ay.div.withConfig({componentId:"sc-3e93d550-3"})(["margin-left:16px;background-color:",";color:",";display:inline-flex;align-items:center;&::-moz-focus-inner{border:0;}&:focus{outline-offset:3px;outline:solid 4px ",";}&:hover{color:",";img{filter:brightness(0) saturate(100%) ",";}}img{width:28px;height:28px;}svg{display:block;}cursor:pointer;transform:rotate(0deg);transition:transform 0.2s ease-in-out;height:23px;width:24px;
13span{display:block;position:absolute;height:2px;width:22px;background:",";border-radius:999px;opacity:1;left:1px;transform:rotate(0deg);transition:0.2s ease-in-out;&:nth-child(1){top:5px;}&:nth-child(2),&:nth-child(3){top:11px;}&:nth-child(4){top:17px;}}",""],({theme:e})=>e.colors.white,({theme:e})=>e.colors.brandOffBlack,({theme:e})=>e.colors.blue400,({theme:e})=>e.colors.purple550,({theme:e})=>e.cssFilterColors.purple500,({theme:e})=>e.colors.brandOffBlack,({$active:e})=>e&&(0,o.AH)(["border-radius:50%;span{top:12px;&:nth-child(1){width:0;left:50%;}&:nth-child(2){width:22px;transform:rotate(45deg);background-color:",";}&:nth-child(3){width:22px;transform:rotate(-45deg);background-color:",";}&:nth-child(4){width:0;left:50%;}}"],({theme:e})=>e.colors.brandOffBlack,({theme:e})=>e.colors.brandOffBlack)),e0=o.Ay.div.withConfig({componentId:"sc-3e93d550-4"})(["display:flex;flex-direction:row;align-items:center;"]),e1=o.Ay.div.withConfig({componentId:"sc-3e93d550-5"})(["display:flex;align-items:center;@media screen and (max-width:","){","{display:none;}}"],({theme:e})=>e.legacyBreakpoints.sm.max,X),e4=o.Ay.div.withConfig({componentId:"sc-3e93d550-6"})(["position:relative;margin-left:16px;cursor:pointer;background-color:",";&::-moz-focus-inner{border:0;}"],({theme:e})=>e.colors.white),e2=({mobileMenuOpen:e,onMobileMenuClick:t,logo:i,marketSegments:l,languages:r,menuItems:s,minunTeliaItem:o,openMenuItems:d,setOpenMenuItems:c})=>{let u=(0,n.A)();return(0,a.jsxs)(eq,{className:"ui-navigation",children:[(0,a.jsx)(eS,{children:(0,a.jsxs)(eJ,{children:[(0,a.jsxs)(e1,{"data-gtm-id":"ecom-navi:div:top-navi",children:[(0,a.jsx)(eT,{href:i.link,ariaLabel:i.linkAriaLabel}),u>=4&&(0,a.jsx)(Z,{menuItems:s,minunTeliaItem:o,openMenuItems:d,setOpenMenuItems:c})]}),(0,a.jsxs)(e0,{"data-gtm-id":"ecom-navi:div:icons",children:[(0,a.jsx)(eX,{href:"https://telia.fi/haku","data-gtm-id":"ecom-navi:div:magnifier","aria-label":"Etsi sivulta",children:(0,a.jsx)(eY.C,{size:"md"})}),(0,a.jsxs)(e4,{"data-gtm-id":"ecom-navi:div:cart",children:[(0,a.jsx)(L,{}),(0,a.jsx)(eA,{})]}),(0,a.jsx)(f,{"data-gtm-id":"ecom-navi:div:user"}),u<4&&(0,a.jsxs)(eZ,{onClick:t,$active:e,children:[(0,a.jsx)("span",{}),(0,a.jsx)("span",{}),(0,a.jsx)("span",{}),(0,a.jsx)("span",{})]})]})]})}),(0,a.jsx)(eR,{}),u<4&&e&&(0,a.jsx)(eW,{marketSegments:l,languages:r,menuItems:s,minunTeliaItem:o,openMenuItems:d,setOpenMenuItems:c})]})};var e5=i(45761);let e3=({logo:e,marketSegments:t,languages:i,menuItems:l,minunTeliaItem:r,backdropState:o,onMenuToggle:d,mobileMenuOpen:c,setMobileMenuOpen:u})=>{let p=(0,n.A)(),[g,m]=(0,s.useState)([]);(0,e5.A)(g.length>0||c),(0,s.useEffect)(()=>{o||m([])},[o]),(0,s.useEffect)(()=>{p>=4&&c&&u(!1)},[p]);let h=()=>{d(!1),g.length&&m([])},f=()=>{d(!0)};return(0,s.useEffect)(()=>{p<4&&(c?f():h())},[c]),(0,s.useEffect)(()=>{g.length?f():h()},[g]),(0,a.jsxs)(a.Fragment,{children:[p>=4?(0,a.jsx)(eK,{marketSegments:t,languages:i}):null,(0,a.jsx)(e2,{logo:e,marketSegments:t,languages:i,mobileMenuOpen:c,menuItems:l,minunTeliaItem:r,onMobileMenuClick:()=>u(!c),openMenuItems:g,setOpenMenuItems:m})]})};var e8=i(82972),e6=i(99927);let e7={async getGlobalNavigationContent(){let{data:e}=await e6.Ay.get("/content/navigation");return e}},e9=o.Ay.div.withConfig({componentId:"sc-f3331445-0"})(["background:rgba(0,0,0,0.23);position:fixed;left:0;width:100%;height:0;transition:opacity 0.2s,height 0s ease-out 0.2s;opacity:0;z-index:",";",""],({theme:e})=>e.zIndexes.sticky+1,({$isVisible:e})=>e&&(0,o.AH)(["opacity:1;height:100%;transition:opacity 0.2s,height 0s;"])),te=o.Ay.div.withConfig({componentId:"sc-f3331445-1"})(["height:48px;display:flex;align-items:center;justify-content:space-between;@media screen and (min-width:","){height:64px;}"],({theme:e})=>e.legacyBreakpoints.md.min),tt=({backButtonUrl:e,backButtonText:t,children:i})=>{let n=(0,E.GV)(e=>e.user);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(eS,{children:(0,a.jsxs)(te,{children:[(0,a.jsx)(eT,{href:e||l.UG.home(),ariaLabel:t||"Telia",checkout:!0}),(0,a.jsxs)("div",{style:{display:"flex",justifyContent:"space-between"},children:[(0,a.jsx)(d.A,{href:e||l.UG.home(),back:!0,"data-gtm-id":"link:cart-view:back-to-shop-header",children:t||"Takaisin kauppaan"}),n.devices.isLoggedIn&&(0,a.jsx)(f,{})]})]})}),i]})},ti=()=>
13{let e=(0,r.usePathname)(),t=(0,n.A)(),[i,o]=(0,s.useState)(!1),[d,c]=(0,s.useState)(!1),u=(()=>{let[e,t]=(0,s.useState)(void 0);return(0,s.useEffect)(()=>{e7.getGlobalNavigationContent().then(e=>e&&t(e))},[]),e})(),p=e===l.UG.comparison(),g=u||e8;return t<4&&p?null:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{children:(0,a.jsx)(e9,{$isVisible:i||d&&t<4,onClick:()=>{o(!1),d&&t<4&&c(!1)}})}),(0,a.jsx)(e3,{backdropState:i,onMenuToggle:o,marketSegments:g.marketSegments,languages:g.languages,logo:g.logo,menuItems:g.menuItems,minunTeliaItem:g.minunTeliaItem,mobileMenuOpen:d,setMobileMenuOpen:c})]})}},8683:(e,t,i)=>{i.d(t,{A:()=>U});var a=i(70952),n=i(4964),l=i(53375),r=i(62750),s=i(65229),o=i(66739),d=i(45231);let c=l.Ay.div.withConfig({componentId:"sc-f055cc7-0"})(['display:flex;input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0;}input[type="number"]{-moz-appearance:textfield;}']),u=l.Ay.button.withConfig({componentId:"sc-f055cc7-1"})(["height:40px;width:40px;border:1px solid ",";border-radius:"," 0 0 ",";display:flex;justify-content:center;align-items:center;background:",";cursor:pointer;&:hover{background:",";}&:disabled{background:",";cursor:not-allowed;}"],({theme:e})=>e.colors.gray200,({theme:e})=>e.border.radius.full,({theme:e})=>e.border.radius.full,({theme:e})=>e.colors.white,({theme:e})=>e.colors.gray50,({theme:e})=>e.colors.gray50),p=l.Ay.button.withConfig({componentId:"sc-f055cc7-2"})(["height:40px;width:40px;border:1px solid ",";border-radius:0 "," "," 0;display:flex;justify-content:center;align-items:center;background:",";cursor:pointer;&:hover{background:",";}&:disabled{background:",";cursor:not-allowed;}"],({theme:e})=>e.colors.gray200,({theme:e})=>e.border.radius.full,({theme:e})=>e.border.radius.full,({theme:e})=>e.colors.white,({theme:e})=>e.colors.gray50,({theme:e})=>e.colors.gray50),g=l.Ay.input.withConfig({componentId:"sc-f055cc7-3"})(["all:unset;height:40px;width:40px;border:none;border-top:1px solid ",";border-bottom:1px solid ",";box-sizing:border-box;color:",";-webkit-text-fill-color:",";background-color:",";font-family:",";font-size:16px;text-align:center;",""],({theme:e})=>e.colors.gray200,({theme:e})=>e.colors.gray200,({theme:e})=>e.colors.brandOffBlack,({theme:e})=>e.colors.brandOffBlack,({theme:e})=>e.colors.white,r.aZ,e=>e.$componentDisabled&&`background: ${e.theme.colors.gray50};`),m=({value:e,decrease:t,increase:i,disabled:l,totalItems:r})=>{let m=(0,n.useRef)(null),h=(0,n.useRef)(null),[f,x]=(0,n.useState)(!1),[b,y]=(0,n.useState)(!1),k=!!(r&&r>=d.OQ);return(0,n.useEffect)(()=>{!l&&(f&&m.current?.focus(),b&&h.current?.focus())},[l,f,b]),(0,a.jsxs)(c,{children:[(0,a.jsx)(u,{onClick:()=>{r&&x(!0),t()},disabled:l,"data-e2e-selector":"decrease-quantity-button","aria-label":"Poista",ref:m,onBlur:()=>x(!1),onMouseOver:()=>x(!0),children:(0,a.jsx)(s.Y,{size:"xs"})}),(0,a.jsx)(g,{readOnly:!0,disabled:!0,type:"number",value:e,$componentDisabled:l,"aria-label":"Tuotteiden lukum\xe4\xe4r\xe4"}),(0,a.jsx)(p,{onClick:()=>{y(!0),i()},disabled:l||k,"data-e2e-selector":"increase-quantity-button","aria-label":"Lis\xe4\xe4",ref:h,onBlur:()=>y(!1),onMouseOver:()=>y(!0),children:(0,a.jsx)(o.u,{size:"xs"})})]})};var h=i(13273),f=i(92337),x=i(76803),b=i(50639),y=i(56406),k=i(82303),v=i(85363),w=i(81778),j=i(31464),I=i(88114),A=i(92144);let C=({item:e,quantitySelector:t})=>{let[i,s]=(0,n.useState)(!1),[o,d]=(0,n.useState)([]),{spacing:c}=(0,l.DP)();(0,n.useEffect)(()=>{if(!e.complimentaryOf)return void d([]);(async e=>{let t=await k.A.getTeliaComplimentaryCampaign(e),i=t?.benefitVariants?.map(e=>e.id)??[];d(await Promise.all(i.map(e=>k.A.getProductById({id:e}))))})(e.complimentaryOf)},[e.complimentaryOf]);let u=(0,x.A)((0,n.useMemo)(()=>o||[],[o])),p=(0,w.jL)(),g=(0,w.GV)(y.VH),m=async t=>{p((0,j.eq)({variantId:e.complimentaryOf,complimentaryVariantId:t?.id??null})),t?await p((0,b.JU)({removedComplimentary:e,addedComplimentaryId:t.
13id,cart:g})):await p((0,b.I1)({removedItem:e,cart:g})),s(!1)};return e.complimentaryOf?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{style:{display:"flex",gap:c.base.spacing200},children:[o.length>1&&(0,a.jsxs)(f.$n,{variant:"text",size:"xs",onClick:()=>s(!0),children:[(0,a.jsx)(I._,{size:"xs"})," Vaihda"]}),(0,a.jsxs)(f.$n,{variant:"text",size:"xs",onClick:()=>t?.decreaseCart(),children:[(0,a.jsx)(A.C,{size:"xs"})," Poista"]})]}),i&&(0,a.jsx)(v.EI,{variants:u,selectedVariant:o.find(t=>t.id===e.id)??void 0,title:(0,a.jsx)("span",{className:r.Il.title.xs,children:"Valitse kaupanp\xe4\xe4llinen"}),onSelect:e=>m(e),onCancel:()=>s(!1)})]}):null};var S=i(75418),M=i(25113);let z=l.Ay.dialog.withConfig({componentId:"sc-b661316d-0"})(["position:absolute;left:0;right:0;bottom:0;width:100%;height:100%;background-color:",";display:flex;border:0;outline:0;box-sizing:border-box;align-items:center;> p{text-align:center;width:100%;> span{font-weight:bold;padding-bottom:24px;display:block;color:",";}> button{margin:0 12px;}}"],({theme:e})=>e.colors.blue900,({theme:e})=>e.colors.white),E=(0,l.Ay)(M.$).withConfig({componentId:"sc-b661316d-1"})(["background-color:transparent;color:",";border-color:",";&:hover{background-color:",";color:",";}"],({theme:e})=>e.colors.white,({theme:e})=>e.colors.white,({theme:e})=>e.colors.white,({theme:e})=>e.colors.blue900),D=(0,l.Ay)(M.$).withConfig({componentId:"sc-b661316d-2"})(["background-color:",";color:",";border-color:",";&:hover{background-color:",";color:",";}"],({theme:e})=>e.colors.red500,({theme:e})=>e.colors.white,({theme:e})=>e.colors.red500,({theme:e})=>e.colors.red600,({theme:e})=>e.colors.white),T=e=>(0,a.jsx)(z,{style:e.dialogStyle,children:(0,a.jsxs)("p",{className:r.Il.bodyText.md,children:[(0,a.jsx)("span",{children:"Haluatko poistaa tuotteen?"}),(0,a.jsx)(E,{size:"lg",onClick:e.onCancel,children:"Peruuta"}),(0,a.jsx)(D,{size:"lg",onClick:e.onRemove,"data-e2e-selector":"dialog-remove",children:"Poista"})]})});var H=i(79495),_=i(76470),L=i(691),O=i(21752);let P=l.Ay.div.withConfig({componentId:"sc-987c5fb6-0"})(["display:flex;justify-content:space-between;margin-bottom:12px;"]),N=(0,l.Ay)(h.A).withConfig({componentId:"sc-987c5fb6-1"})(["padding:unset;text-align:unset;@media screen and (min-width:","){padding:unset;}"],({theme:e})=>e.legacyBreakpoints.sm.min),R=l.Ay.div.withConfig({componentId:"sc-987c5fb6-2"})(["display:flex;justify-content:space-between;align-items:center;> :first-child{margin-right:auto;}> :last-child{margin-left:auto;}"]),G=(0,l.Ay)(_.M).withConfig({componentId:"sc-987c5fb6-3"})(["color:",";"],({theme:e})=>e.colors.purple600),B=l.Ay.p.withConfig({componentId:"sc-987c5fb6-4"})(["color:",";align-self:center;@media screen and (max-width:","){padding-left:",";}"],({theme:e})=>e.colors.gray800,({theme:e})=>e.legacyBreakpoints.xxxs.max,({theme:e})=>e.spacing.base.spacing200),U=({item:e,errorMessage:t,quantitySelector:i,availability:s,showComplimentaryControls:o,showWarranty:c})=>{let[u,p]=(0,n.useState)(!1),g=d.kQ.getCartRowPricing(e),{spacing:h,colors:f}=(0,l.DP)(),x=!u&&i&&!e.complimentaryOf&&(0,a.jsx)("div",{style:{display:"flex",alignItems:"center"},children:(0,a.jsx)(m,{value:e.quantity,decrease:e.quantity>1?()=>i.decreaseCart():()=>p(!0),increase:()=>i.increaseCart?.(),totalItems:i.totalItems,minValue:0,maxValue:20,disabled:i.disabled,"data-e2e-selector":"quantity-selector"})}),b="warranty"in e?e.warranty??"":"",y=!e.image||e.image.includes(H.vn)?e.image:`${H.vn}${e.image}`,k=`${y}?io=transform:extend,width:240,height:240`;return(0,a.jsxs)(S.A,{borderTop:e.complimentaryOf?"dashed":void 0,dividerText:e.complimentaryOf?"Kaupan p\xe4\xe4lle":null,imageSrc:k,imageAlt:`${e.name} ${e.brand}`,title:`${e.brand} ${e.name}`,slug:e.slug,sku:e.sku,isComplimentaryProduct:!!e.complimentaryOf,details:(0,a.jsxs)(a.Fragment,{children:[e.selectedVariant&&(0,a.jsx)("p",{className:r.Il.bodyText.xs,style:{marginBottom:"12px",color:f.gray700},children:(e=>{if(!e)return"";let t=[];return Object.values(e).forEach(e=>{e&&t.push(e)}),t.join(", ")})(e.selectedVariant)}),c&&(0,a.jsx)("span",{className:r.Il.bodyText.xs,style:{marginBottom:"12px",color:f.gray700},children:b&&(0,a.jsx)("p",{children:`Takuu ${b} kk`})}),(0,a.jsx)(P,{children:!e.complimentaryOf&&(0,a.jsx)("p",{className:r.Il.bodyText.xs,style:{color:f.gray700},children:g.unitPrice})})]}),children:[(0,a.jsxs)(R,{children:[(0,a.jsxs)("div",{children:[x,!i&&!e.complimentaryOf&&(0,a.jsx)(B,{className:r.Il.bodyText.md,children:`${e.quantity} kpl`}),o&&(0,a.jsx)(C,{item:e,quantitySelector:i})]}),(0,a.jsxs)("div",{className:r.Il.bodyText.md,style:{display:"flex",flexDirection:"column",alignItems:"flex-end",fontWeight:r.Wy.bold,color:f.gray800,textAlign:"right"},children:[(0,a.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:h.base.spacing50},children:[g.isCustomerPrice&&(0,a.jsx)(G,{size:"xs"}),g.discount&&(0,a.jsx)(L.A,{description:g.discount?`Alennus ${g.discount}`:"",children:(0,a.jsx)(N,{style:{backgroundColor:f.white,color:g.isCustomerPrice?f.purple600:f.red600},"data-testid":"cartRowDiscountTag",children:g.discount})})]}),(0,a.jsx)(L.A,{description:`Hinta ${g.price}`,children:(0,a.jsx)(O.f,{variant:"paragraph-100-bold",children:g.price})}),g.normalPrice&&g.price!==g.normalPrice&&(0,a.jsx)(L.A,{description:`Vertailuhinta ${g.normalPrice}`,children:(0,a.jsx)(O.f,{variant:"additional-100",children:(0,a.jsx)("s",{children:g.normalPrice})})})]})]}),t&&(0,a.jsx)("p",{className:r.Il.bodyText.sm,style:{marginTop:h.base.spacing200,marginBottom:h.base.spacing100,fontWeight:r.Wy.bold,color:f.red400},children:t}),s,u&&(0,a.jsx)(T,{onCancel:()=>p(!1),onRemove:()=>i?.decreaseCart()})]})}},9642:(e,t,i)=>{i.d(t,{A:()=>v});var a=i(70952),n=i(4964),l=i(25113),r=i(85825),s=i(92337),o=i(28433),d=i(53375),c=i(45761);let u=d.Ay.div.withConfig({componentId:"sc-4714f6e3-0"})(["position:fixed;right:0px;bottom:0px;top:0px;left:0px;z-index:1000;"]),p=d.Ay.div.withConfig({componentId:"sc-4714f6e3-1"})(["background:rgba(0,0,0,0.23);z-index:1000;opacity:1;height:100%;transition:opacity 0.2s,height 0s;"]),g=d.Ay.div.withConfig({componentId:"sc-4714f6e3-2"})(["position:relative;overflow:auto;height:100%;display:flex;align-items:center;justify-content:center;pointer-events:none;"]),m=d.Ay.div.withConfig({componentId:"sc-4714f6e3-3"})(["margin:",";max-height:calc(100% - 64px);width:540px;position:relative;background:",";padding-bottom:",";border-radius:16px;box-sizing:border-box;display:flex;flex-direction:column;z-index:1000;box-shadow:0 8px 32px 0 rgb(58 58 58 / 18%);pointer-events:all;",""],({theme:e})=>e.spacing.base.spacing100,({theme:e})=>e.colors.white,({theme:e})=>e.spacing.base.spacing300,e=>e.$hasImage&&` 14 width: 95%; 15 @media screen and (min-width: ${e.theme.legacyBreakpoints.md.max}) { 16 width: 848px; 17 } 18 `),h=d.Ay.div.withConfig({componentId:"sc-4714f6e3-4"})(["flex:0 0 auto;padding-top:",";padding-right:",";"],({theme:e})=>e.spacing.base.spacing200,({theme:e})=>e.spacing.base.spacing200),f=d.Ay.div.withConfig({componentId:"sc-4714f6e3-5"})(["padding:",";"],({theme:e})=>`${e.spacing.base.spacing200} ${e.spacing.base.spacing400} ${e.spacing.base.spacing400} ${e.spacing.base.spacing400}`),x=d.Ay.div.withConfig({componentId:"sc-4714f6e3-6"})(["flex:1 1 auto;overflow:auto;padding:0 ",";"],({theme:e})=>e.spacing.base.spacing400),b=d.Ay.div.withConfig({componentId:"sc-4714f6e3-7"})(["flex:0 0 50%;"]),y=d.Ay.div.withConfig({componentId:"sc-4714f6e3-8"})(["padding:",";display:flex;justify-content:center;@media screen and (min-width:","){justify-content:flex-end;}"," "," > button{margin:0 ",";height:40px;width:100%;@media screen and (min-width:","){width:25%;}}"],({theme:e})=>`${e.spacing.base.spacing300} ${e.spacing.base.spacing200} 0`,({theme:e})=>e.legacyBreakpoints.md.max,e=>e.$removeButtonArea&&` 19 display: none; 20 `,e=>e.$hasOneButton&&` 21 @media screen and (min-width: ${e.theme.legacyBreakpoints.md.max}) { 22 justify-content: center; 23 `,({theme:e})=>e.spacing.base.spacing100,({theme:e})=>e.legacyBreakpoints.sm.max),k=(0,d.Ay)(s.$n).withConfig({componentId:"sc-4714f6e3-9"})(["&&{top:",";right:",";position:absolute;}"],({theme:e})=>e.spacing.base.spacing200,({theme:e})=>e.spacing.base.spacing200),v=({isOpen:e,title:t,primaryButton:i,secondaryButton:s,primaryButtonText:d,secondaryButtonText:v,primaryButtonDisabled:w,secondaryButtonDisabled:j,primaryButtonClassName:I,secondaryButtonClassName:A,onPrimaryButtonClick:C,onSecondaryButtonClick:S,children:M,className:z,hasImage:E,hasOneButton:D,removeButtonArea:T,focusTrapOptions:H,..._})=>((0,c.A)(!!e),(0,n.useEffect)(()=>{let t=t=>{"Escape"===t.key&&!0===e&&S?.()};return document.addEventListener("keydown",t),()=>document.removeEventListener("keydown",t)},[S,e]),e)?(0,a.jsx)(u,{children:(0,a.jsx)(o.FocusTrap,{focusTrapOptions:H,children:(0,a.jsx)(p,{className:z,"aria-modal":"true",onClick:e=>{e.target===e.currentTarget&&S?.()},children:(0,a.jsx)(g,{children:(0,a.jsxs)(m,{role:"dialog",$hasImage:E,..._,children:[(0,a.jsxs)(h,{children:[(0,a.jsx)(f,{children:t}),(0,a.jsx)(k,{variant:"primary",size:"sm",iconOnly:!0,onClick:S,"aria-label":"sulje",children:(0,a.jsx)(r.g,{size:"md"})})]}),(0,a.jsx)(x,{children:M}),(0,a.jsx)(b,{children:(0,a.jsxs)(y,{$hasOneButton:D,$removeButtonArea:T,children:[!s&&v&&(0,a.jsx)(l.$,{size:"lg",className:A,onClick:S,disabled:j,reverseColors:!0,children:v}),!i&&d&&(0,a.jsx)(l.$,{size:"lg",className:I,onClick:C,disabled:w,children:d}),s,i]})})]})})})})}):null},10537:(e,t,i)=>{i.d(t,{A:()=>
23o});var a=i(70018),n=i(4964),l=i(78206);let r=new(i(97975)).A(60),s=e=>({...l.pr,id:e}),o=(e,t=!1)=>{let[i,l]=(0,n.useState)(()=>e.map(s));return(0,n.useEffect)(()=>{let i=!0;if(0!==e.length)return(async()=>{let n=await r.call(e,e=>a.A.getAvailabilitiesByIds(e,t));i&&l(n)})(),()=>{i=!1}},[e,t]),i}},10948:(e,t,i)=>{i.d(t,{M:()=>s});var a=i(20112),n=i(4964);let l={scrollLeft:0,scrollTop:0,scrollHeight:0,scrollWidth:0,clientWidth:0,clientHeight:0},r=e=>{let{scrollTop:t,scrollLeft:i,scrollWidth:a,scrollHeight:n,clientWidth:l,clientHeight:r}=e;return{scrollLeft:i,scrollTop:t,scrollWidth:a,scrollHeight:n,clientWidth:l,clientHeight:r}},s=e=>{let t=(0,n.useRef)(0),[i,s]=(0,n.useState)(l);return(0,n.useEffect)(()=>{if(null===e)return a.A;let i=e??document,n=e??document.documentElement;s(r(n));let l=()=>{t.current||(t.current=requestAnimationFrame(()=>{s(r(n)),t.current=0}))};return i.addEventListener("scroll",l),window.addEventListener("resize",l),()=>{i.removeEventListener("scroll",l),window.removeEventListener("resize",l),cancelAnimationFrame(t.current)}},[e]),i}},13273:(e,t,i)=>{i.d(t,{A:()=>a});let a=i(53375).Ay.div.withConfig({componentId:"sc-8dbec2c3-0"})(["box-sizing:border-box;padding:3px ",";text-align:center;font-size:10px;display:inline-block;border-radius:4px;line-height:12px;letter-spacing:0.34px;text-transform:uppercase;font-weight:bold;background-color:",";color:",";@media screen and (min-width:","){padding:5px ",";font-size:12px;}"],({theme:e})=>e.spacing.base.spacing50,({theme:e})=>e.colors.red600,({theme:e})=>e.colors.white,({theme:e})=>e.legacyBreakpoints.sm.min,({theme:e})=>e.spacing.base.spacing100)},18541:(e,t,i)=>{i.d(t,{D:()=>s,J:()=>r});var a=i(52925),n=i(73277),l=i(4964);let r=()=>{let e=(0,l.useContext)(a.FeatureFlagContext);if(!e.featureFlags)throw Error("useFeatureFlagContext must be used within a FeatureFlagContextProvider");return{isEnabled:t=>!!e.featureFlags?.some(e=>e.feature===t&&e.isEnabled)}},s=()=>{let{isEnabled:e}=r();return e(n.IH.FUNDING)}},20112:(e,t,i)=>{i.d(t,{A:()=>a});let a=()=>{}},21772:(e,t,i)=>{i.d(t,{A:()=>c});var a=i(70952),n=i(4964),l=i(53375),r=i(62750),s=i(33418);let o=n.forwardRef((e,t)=>{let{spacing:i}=(0,l.DP)(),{children:n,icon:r,loading:o,size:c="md",disabled:u,color:p,hoverColor:g,onClick:m}=e;return(0,a.jsxs)(d,{type:"button",ref:t,disabled:u,$color:p,$hoverColor:g,$size:c,onClick:m,children:[o&&(0,a.jsx)(s.A,{size:"sm",style:{fontSize:"14px",marginRight:"16px"}}),n,!o&&r&&(0,a.jsx)("div",{style:{marginLeft:i.base.spacing25,marginTop:i.base.spacing50},children:r})]})});o.displayName="TextButton";let d=l.Ay.button.withConfig({componentId:"sc-421fcba7-0"})(["background:none;color:",";border:2px solid transparent;cursor:pointer;display:inline-flex;text-decoration:none;justify-content:center;align-items:center;transition:all 0.2s;font-size:14px;padding:0;font-family:",";"," &:hover{color:",";& > img{filter:",";}}"," "," &:focus-visible{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 6px #09f;}"],e=>e.$color??e.theme.colors.brandOffBlack,r.aZ,e=>e.disabled&&` 24 color: ${e.theme.colors.gray300}; 25 cursor: not-allowed; 26 `,e=>e.$hoverColor??e.theme.colors.purple550,({theme:e})=>e.cssFilterColors.gray400,e=>"xl"===e.$size&&"font-size: 16px;",e=>"lg"===e.$size&&"font-size: 14px;"),c=o},22880:(e,t,i)=>{i.d(t,{A:()=>a});let a=i(53375).Ay.div.withConfig({componentId:"sc-aadee4bd-0"})(["border:1px solid ",";background-color:",";border-radius:8px;position:relative;margin:0;display:flex;flex-direction:column;margin-top:-1px;"],({theme:e})=>e.colors.gray200,({theme:e})=>e.colors.white)},24899:e=>{e.exports=JSON.parse('{"L":[{"order":1,"parent":null,"children":[{"order":2,"parent":"phone","children":[],"_id":"6ab452d97384a852d7c1af8c","title":"Puhelimet","slug":"puhelimet","isHidden":false,"id":"9Mw5k7FC5nKyKWDt2aI3A","filters":[{"title":"K\xe4ytt\xf6j\xe4rjestelm\xe4","values":["Android","Apple iOS","Muu"]},{"title":"N\xe4yt\xf6n koko","values":["Alle 5,8\\"","Yli 6\\""]},{"title":"Tallennustila","values":["64 Gt","128 Gt","256 Gt","512 Gt","1 Tt"]},{"title":"Puhelimen ominaisuudet","values":["3,5 mm liit\xe4nt\xe4","5G","Dual-SIM","Kasvojentunnistus","Langaton lataus","L\xe4himaksu","Pikalataus","Roiskeenkest\xe4v\xe4 (IP67)","Sormenj\xe4lkitunnistus","Taittuvan\xe4ytt\xf6inen puhelin","USB-C-liit\xe4nt\xe4","Vedenkest\xe4v\xe4 (IP68)","eSIM"]},{"title":"Keskusmuisti","values":["4 Gt","6 Gt","8 Gt","12 Gt","16 Gt"]}]},{"order":3,"parent":"phone","children":[],"_id":"6ab452d97384a89f56c1afa5","title":"K\xe4ytetyt puhelimet â Telia Recycled","slug":"telia-recycled-kierratyspuhelimet","id":"6cQfbbxg7G0DUXKHVhawFl","filters":[{"title":"K\xe4ytt\xf6j\xe4rjestelm\xe4","values":["Android","Apple iOS"]},{"title":"N\xe4yt\xf6n koko","values":["Alle 5,8\\"","Yli 6\\""]},{"title":"Tallennustila","values":["128 Gt","256 Gt","64 Gt"]},{"title":"Puhelimen ominaisuudet","values":["5G","Dual-SIM","Kasvojentunnistus","Langaton lataus","L\xe4himaksu","Pikalataus","Roiskeenkest\xe4v\xe4 (IP67)","Sormenj\xe4lkitunnistus","USB-C-liit\xe4nt\xe4","Vedenkest\xe4v\xe4 (IP68)","eSIM"]},{"title":"Keskusmuisti","values":["6 Gt","8 Gt"]}]},{"order":4,"parent":"phone","children":[],"_id":"6ab452d97384a8cf0ec1af8f","title":"Suojakuoret ja suojalasit","slug":"suojakuoret-ja-suojalasit","id":"5fQm9hjnkrlxUjkt15WukP","filters":[]},{"order":5,"parent":"phone","children":[{"order":6,"parent":"phone_accessory","children":[{"order":7,"parent":"55S9FW9UqrUjPSimGYrtKx","children":[],"_id":"6ab452d97384a819dcc1afda","title":"Lightning-kaapelit","slug":"lightning-kaapelit","id":"2AUHMgLMQcbPSjoQEOE5zc","filters":[]},{"order":8,"parent":"55S9FW9UqrUjPSimGYrtKx","children":[],"_id":"6ab452d97384a8e608c1afd7","title":"USB-C -kaapelit","slug":"usb-c-kaapelit","id":"qWJWPDXuolQy88QxCDJ2h","filters":[]},{"order":9,"parent":"55S9FW9UqrUjPSimGYrtKx","children":[],"_id":"6ab452d97384a8ca4cc1afd6","title":"Micro-USB -kaapelit","slug":"micro-usb-kaapelit","id":"4D7HoAiKwOVOI3WNeLfJeA","filters":[]}],"_id":"6ab452d97384a84176c1afd9","title":"Kaapelit ja adapterit","slug":"kaapelit-ja-adapterit","id":"55S9FW9UqrUjPSimGYrtKx","filters":[]},{"order":10,"parent":"phone_accessory","children":[],"_id":"6ab452d97384a872dec1afd4","title":"Puhelimen laturit","slug":"laturit","id":"2haYOMbLVx3dkiM0i1mHJg","filters":[]},{"order":11,"parent":"phone_accessory","children":[],"_id":"6ab452d97384a8b938c1afe8","title":"Autotarvikkeet","slug":"autoon","id":"2jYcgDpbzUpXuuTRLRXoKl","filters":[]},{"order":12,"parent":"phone_accessory","children":[],"_id":"6ab452d97384a83554c1b002","title":"Muistikortit","slug":"muistikortit","id":"10lHBvmgNGwt5OWSqi8bmL","filters":[]},{"order":13,"parent":"phone_accessory","children":[],"_id":"6ab452d97384a88817c1b001","title":"Varavirtal\xe4hteet","slug":"varavirtalahteet","id":"KdtMjGWjuxBybNa6Ei0vy","filters":[]},{"order":15,"parent":"phone_accessory","children":[],"_id":"6ab452d97384a89a07c1afe4","title":"Muut tuotteet","slug":"muut-tuotteet","id":"1q9gVLNHxJ4ES1p1q3C1nE","filters":[]}],"_id":"6ab452d97384a87c22c1afc2","title":"Muut puhelintarvikkeet","slug":"puhelintarvikkeet","id":"phone_accessory","filters":[]}],"_id":"6ab452d97384a871fdc1af8d","title":"Puhelimet ja tarvikkeet","menuTitle":"Puhelimet","breadcrumbTitle":"Puhelimet ja tarvikkeet","slug":"puhelimet","analyticsId":"phones","id":"phone","filters":[{"title":"K\xe4ytt\xf6j\xe4rjestelm\xe4","values":["Android","Apple iOS","Muu"]},{"title":"N\xe4yt\xf6n koko","values":["Alle 5,8\\"","Yli 6\\""]},{"title":"Tallennustila","values":["64 Gt","128 Gt","256 Gt","512 Gt","1 Tt"]},{"title":"Puhelimen ominaisuudet","values":["3,5 mm liit\xe4nt\xe4","5G","Dual-SIM","Kasvojentunnistus","Langaton lataus","L\xe4himaksu","Pikalataus","Roiskeenkest\xe4v\xe4 (IP67)","Sormenj\xe4lkitunnistus","Taittuvan\xe4ytt\xf6inen puhelin","USB-C-liit\xe4nt\xe4","Vedenkest\xe4v\xe4 (IP68)","eSIM"]},{"title":"Keskusmuisti","values":["4 Gt","6 Gt","8 Gt","12 Gt","16 Gt"]}]},{"order":16,"parent":null,"children":[{"order":17,"parent":"tablet","children":[],"_id":"6ab452d97384a869dac1afe5","title":"Tabletit","slug":"tabletit","id":"1oWZkwDoNpNUvqDxDiSmZn","filters":[{"title":"Muut ominaisuudet","values":["4G/5G","Kasvojentunnistus","Muistikorttipaikka","Sormenj\xe4lkitunnistus","USB-C -liit\xe4nt\xe4","WiFi","eSIM"]},{"title":"K\xe4ytt\xf6j\xe4rjestelm\xe4","values":["Android","iPad OS"]},{"title":"N\xe4yt\xf6n koko","values":["Pienempi kuin 9,7\\"","Suurempi kuin 10.1\\"","10.1\\""]},{"title":"Tallennustila","values":["32 Gt","64 Gt","128 Gt","256 Gt"]},{"title":"Keskusmuisti","values":["4 Gt","6 Gt","8 Gt","12 Gt"]}]},{"order":18,"parent":"tablet","children":[],"_id":"6ab452d97384a8f007c1afca","title":"Suojakuoret ja -lasit","slug":"tabletti-kuoret-ja-lasit","id":"1v2WXwF7qcDmZd2Fsj2vhe","filters":[]},{"order":19,"parent":"tablet","children":[{"order":20,"parent":"1xqfVnyhZNhogiFsBc2VFb","children":[],"_id":"6ab452d97384a8fddec1b000","title":"Kaapelit","slug":"kaapelit","id":"fVwFZHGlI0EiNWD26yMnk","filters":[]},{"order":21,"parent":"1xqfVnyhZNhogiFsBc2VFb","children":[],"_id":"6ab452d97384a8259ac1afd8","title":"Tablettien laturit","slug":"laturit","id":"2xSPYkl0HEcU4FVlSodi16","filters":[]},{"order":22,"parent":"1xqfVnyhZNhogiFsBc2VFb","children":[],"_id":"6ab452d97384a85f08c1af97","title":"Kosketusn\xe4ytt\xf6kyn\xe4t","slug":"kosketusnayttokynat","id":"4aVGQirB2uXRGi4cHHsACK","filters":[]},{"order":23,"parent":"1xqfVnyhZNhogiFsBc2VFb","children":[],"_id":"6ab452d97384a86873c1afff","title":"Muistikortit","slug":"muistikortit","id":"7an
265V6jwGp0hpqtM1K3QiG","filters":[]},{"order":24,"parent":"1xqfVnyhZNhogiFsBc2VFb","children":[],"_id":"6ab452d97384a84d5cc1affe","title":"Muut tuotteet","slug":"muut-tarvikkeet","id":"1T13mU5XWt0Sg1sIJeFt7R","filters":[]}],"_id":"6ab452d97384a8c6dbc1af98","title":"Muut tarvikkeet","slug":"tablettitarvikkeet","id":"1xqfVnyhZNhogiFsBc2VFb","filters":[]}],"_id":"6ab452d97384a8d603c1afc4","title":"Tabletit ja tarvikkeet","menuTitle":"Tabletit","breadcrumbTitle":"Tabletit ja tarvikkeet","slug":"tabletit","analyticsId":"tablets","id":"tablet","filters":[{"title":"Muut ominaisuudet","values":["4G/5G","Kasvojentunnistus","Muistikorttipaikka","Sormenj\xe4lkitunnistus","USB-C -liit\xe4nt\xe4","WiFi","eSIM"]},{"title":"K\xe4ytt\xf6j\xe4rjestelm\xe4","values":["Android","iPad OS"]},{"title":"N\xe4yt\xf6n koko","values":["Pienempi kuin 9,7\\"","Suurempi kuin 10.1\\"","10.1\\""]},{"title":"Tallennustila","values":["32 Gt","64 Gt","128 Gt","256 Gt"]},{"title":"Keskusmuisti","values":["4 Gt","6 Gt","8 Gt","12 Gt"]}]},{"order":25,"parent":null,"children":[{"order":26,"parent":"4n4d4aVfQHtK3IL7bBw6yy","children":[],"_id":"6ab452d97384a83a78c1afb9","title":"Kannettavat tietokoneet","slug":"kannettavat","id":"laptop","filters":[{"title":"N\xe4yt\xf6nohjain","values":["AMD Radeon","Integroitu","NVIDIA GeForce","Muu"]},{"title":"N\xe4yt\xf6n koko","values":["13,4\\" - 14,9\\"","15\\" - 15,6\\"","15,7\\" - 16,9\\"","17\\" - 17,3\\""]},{"title":"Muut ominaisuudet","values":["Kamera","Kortinlukija","Kosketusn\xe4ytt\xf6","Sormenj\xe4lkilukija"]},{"title":"K\xe4ytt\xf6j\xe4rjestelm\xe4","values":["MacOS","Windows 11"]},{"title":"Tallennustilan koko","values":["128 Gt tai v\xe4hemm\xe4n","256 Gt","512 Gt","Enemm\xe4n kuin 1 Tt","1 Tt"]},{"title":"Keskusmuisti","values":["8 Gt","16 Gt","24 Gt","32 Gt","36 Gt","48 Gt","64 Gt"]},{"title":"Suoritin","values":["AMD","AMD Ryzen 3","AMD Ryzen 5","AMD Ryzen 7","AMD Ryzen 9","Intel","Intel Core 3","Intel Core 5","Intel Core Ultra 5","Intel Core Ultra 7","Intel Core Ultra 9","Intel Core i5","Intel Core i7","Intel Pentium","Intel muu suoritin","Muu"]},{"title":"Tallennustilan tyyppi","values":["M.2 SSD","Muu","UFS"]}]},{"order":27,"parent":"4n4d4aVfQHtK3IL7bBw6yy","children":[],"_id":"6ab452d97384a8089dc1afd1","title":"P\xf6yt\xe4tietokoneet","slug":"poytatietokoneet","id":"10kkqCadLPWbwAugyaCUno","filters":[{"title":"Suoritin","values":["AMD Ryzen 7","Apple M4","Intel Core i5","Intel Ultra 7","Muu"]},{"title":"Keskusmuisti","values":["8 Gt","16 Gt","24 Gt"]},{"title":"Tallennustilan tyyppi","values":["M.2 SSD"]},{"title":"Tallennustilan koko","values":["256 Gt","512 Gt","1 Tt"]},{"title":"N\xe4yt\xf6nohjain","values":["Integroitu","NVIDIA GeForce","Muu"]},{"title":"K\xe4ytt\xf6j\xe4rjestelm\xe4","values":["MacOS","Windows 11"]},{"title":"Muut ominaisuudet","values":["Kamera"]},{"title":"N\xe4yt\xf6n koko","values":["24\\"","27\\""]}]},{"order":28,"parent":"4n4d4aVfQHtK3IL7bBw6yy","children":[{"order":29,"parent":"60IBdFy7V5ElsUgyQvK3pa","children":[{"order":30,"parent":"5K6ktYCpNGlbxDFGTMW7CN","children":[],"_id":"6ab452d97384a8b4ffc1afdb","title":"Hiiret","slug":"hiiret","id":"2BR0X0eedfG0qrvAFrcunG","filters":[]},{"order":31,"parent":"5K6ktYCpNGlbxDFGTMW7CN","children":[],"_id":"6ab452d97384a8758ec1afea","title":"N\xe4pp\xe4imist\xf6t","slug":"nappaimistot","id":"6emLJzuJzoBZXhAkKY0lkb","filters":[]},{"order":32,"parent":"5K6ktYCpNGlbxDFGTMW7CN","children":[],"_id":"6ab452d97384a81314c1afeb","title":"Hiirimatot","slug":"hiirimatot","id":"2SpkK7VT1fJj8y2Vt3IFWv","filters":[]}],"_id":"6ab452d97384a83f44c1afa1","title":"Hiiret ja n\xe4pp\xe4imist\xf6t","slug":"hiiret-ja-nappaimistot","id":"5K6ktYCpNGlbxDFGTMW7CN","filters":[]},{"order":33,"parent":"60IBdFy7V5ElsUgyQvK3pa","children":[],"_id":"6ab452d97384a8c90dc1affd","title":"Kaapelit, laturit ja adapterit","slug":"kaapelit-ja-laturit","id":"6DYnyjkOYna15GU8u5ndO7","filters":[]},{"order":34,"parent":"60IBdFy7V5ElsUgyQvK3pa","children":[],"_id":"6ab452d97384a87236c1afe2","title":"N\xe4yt\xf6t","slug":"naytot","id":"computers_displays","filters":[{"title":"Paneelitekniikka","values":["IPS","MiniLED","OLED","VA"]},{"title":"N\xe4yt\xf6n koko","values":["23,8\\"","24\\"","24,5\\"","27\\"","31,5\\"","32\\"","34\\"","39\\"","49\\"","57\\"","Muu koko"]},{"title":"Muut ominaisuudet","values":["FreeSync","G-Sync","Kaareva n\xe4ytt\xf6paneeli","QLED"]},{"title":"Resoluutio","values":["1920 x 1080 (FULL HD)","2560 x 1440 (QHD)","3440 x 1440 (Ultrawide QHD)","3840 x 2160 (Ultra HD 4K)","5120 x 1440 (DQHD)","7680 x 2160 (Dual UHD)","Muu"]},{"title":"Virkistystaajuus","values":["60 Hz","100 Hz","120 Hz","144 Hz","160 Hz","165 Hz","175 Hz","180 Hz","200 Hz","210 Hz","240 Hz","280 Hz","320 Hz","350 Hz","360 Hz","380 Hz"]},{"title":"Vasteaika","values":["0,03 ms","0,3 ms","0,5 ms","1 ms","4 ms","5 ms"]}]},{"order":35,"parent":"60IBdFy7V5ElsUgyQvK3pa","children":[],"_id":"6ab452d97384a88344c1affc","title":"Tietokonelaukut","slug":"tietokonelaukut","id":"5tDRUDecMFm9PdSbSDvB5q","filters":[]},{"order":36,"parent":"60IBdFy7V5ElsUgyQvK3pa","children":[],"_id":"6ab452d97384a8795dc1af9c","title":"Tulostimet","slug":"tulostimet","id":"6ZpP24ECLjj38oVfKUgl7X","filters":[]},{"order":37,"parent":"60IBdFy7V5ElsUgyQvK3pa","children":[],"_id":"6ab452d97384a8d4d6c1afd5","title":"Kovalevyt","slug":"kovalevyt","id":"Y5CCNtOY0IxrR17UbsB8W","filters":[]},{"order":38,"parent":"60IBdFy7V5ElsUgyQvK3pa","children":[],"_id":"6ab452d97384a80023c1afe0","title":"Muut tuotteet","slug":"muut","id":"10IJ9I38mtWclQJTRsUFEe","filters":[]}],"_id":"6ab452d97384a85969c1af94","title":"Tietokonetarvikkeet","slug":"tietokonetarvikkeet","id":"60IBdFy7V5ElsUgyQvK3pa","filters":[{"title":"Paneelitekniikka","values":["IPS","MiniLED","OLED","VA"]},{"title":"N\xe4yt\xf6n koko","values":["23,8\\"","24\\"","24,5\\"","27\\"","31,5\\"","32\\"","34\\"","39\\"","49\\"","57\\"","Muu koko"]},{"title":"Muut ominaisuudet","values":["FreeSync","G-Sync","Kaareva n\xe4ytt\xf6paneeli","QLED"]},{"title":"Resoluutio","values":["1920 x 1080 (FULL HD)","2560 x 1440 (QHD)","3440 x 1440 (Ultrawide QHD)","3840 x 2160 (Ultra HD 4K)","5120 x 1440 (DQHD)","7680 x 2160 (Dual UHD)","Muu"]},{"title":"Virkistystaajuus","values":["100 Hz","120 Hz","144 Hz","160 Hz","165 Hz","175 Hz","180 Hz","200 Hz","210 Hz","240 Hz","280 Hz","320 Hz","350 Hz","360 Hz","380 Hz","60 Hz"]},{"title":"Vasteaika","values":["0,03 ms","0,3 ms","0,5 ms","1 ms","4 ms","5 ms"]}]}],"_id":"6ab452d97384a8f620c1afc5","title":"Tietokoneet ja tarvikkeet","menuTitle":"Tietokoneet","slug":"tietokoneet","analyticsId":"computers","id":"4n4d4aVfQHtK3IL7bBw6yy","filters":[{"title":"Suoritin","values":["AMD","AMD Ryzen 3","AMD Ryzen 5","AMD Ryzen 7","AMD Ryzen 9","Apple M4","Intel","Intel Core 3","Intel Core 5","Intel Core Ultra 5","Intel Core Ultra 7","Intel Core Ultra 9","Intel Core i5","Intel Core i7","Intel Pentium","Intel Ultra 7","Intel muu suoritin","Muu"]},{"title":"Keskusmuisti","values":["16 Gt","24 Gt","32 Gt","36 Gt","48 Gt","64 Gt","8 Gt"]},{"title":"Tallennustilan tyyppi","values":["M.2 SSD","Muu","UFS"]},{"title":"Tallennustilan koko","values":["1 Tt","128 Gt tai v\xe4hemm\xe4n","256 Gt","512 Gt","Enemm\xe4n kuin 1 Tt"]},{"title":"N\xe4yt\xf6nohjain","values":["AMD Radeon","Integroitu","Muu","NVIDIA GeForce"]},{"title":"K\xe4ytt\xf6j\xe4rjestelm\xe4","values":["MacOS","Windows 11"]},{"title":"Muut ominaisuudet","values":["FreeSync","G-Sync","Kaareva n\xe4ytt\xf6paneeli","Kamera","Kortinlukija","Kosketusn\xe4ytt\xf6","QLED","Sormenj\xe4lkilukija"]},{"title":"N\xe4yt\xf6n koko","values":["13,4\\" - 14,9\\"","15\\" - 15,6\\"","15,7\\" - 16,9\\"","17\\" - 17,3\\"","23,8\\"","24\\"","24,5\\"","27\\"","31,5\\"","32\\"","34\\"","39\\"","49\\"","57\\"","Muu koko"]},{"title":"Paneelitekniikka","values":["IPS","MiniLED","OLED","VA"]},{"title":"Resoluutio","values":["1920 x 1080 (FULL HD)","2560 x 1440 (QHD)","3440 x 1440 (Ultrawide QHD)","3840 x 2160 (Ultra HD 4K)","5120 x 1440 (DQHD)","7680 x 2160 (Dual UHD)","Muu"]},{"title":"Virkistystaajuus","values":["100 Hz","120 Hz","144 Hz","160 Hz","165 Hz","175 Hz","180 Hz","200 Hz","210 Hz","240 Hz","280 Hz","320 Hz","350 Hz","360 Hz","380 Hz","60 Hz"]},{"title":"Vasteaika","values":["0,03 ms","0,3 ms","0,5 ms","1 ms","4 ms","5 ms"]}]},{"order":39,"parent":null,"children":[{"order":40,"parent":"tv","children":[],"_id":"6ab452d97384a8cb36c1afa7","title":"Televisiot","menuTitle":"Televisiot","slug":"televisiot","id":"1xHSV9iDUxEAOZ46D4jGZl","filters":[{"title":"Television koko","values":["27\\"","32\\"","40\\"","42\\"","43\\"","48\\"","50\\"","55\\"","65\\"","75\\"","77\\"","83\\"","85\\"","86\\"","98\\"","100\\""]},{"title":"Paneelin tyyppi","values":["MiniLED","OLED","QLED","Muu"]},{"title":"V\xe4ri","values":["Harmaa","Musta","Valkoinen"]},{"title":"HDMI-liit\xe4nt\xf6jen m\xe4\xe4r\xe4","values":["1","2","3","4","5"]},{"title":"Muut ominaisuudet","values":["Ambilight TV","Google TV -k\xe4ytt\xf6j\xe4rjestelm\xe4","HDR","TITAN-k\xe4ytt\xf6j\xe4rjestelm\xe4","Tizen OS -k\xe4ytt\xf6j\xe4rjestelm\xe4","webOS -k\xe4ytt\xf6j\xe4rjestelm\xe4"]}]},{"order":41,"parent":"tv","children":[{"order":42,"parent":"LlpxuJ0dc0ejtTHu9nlRI","children":[],"_id":"6ab452d97384a8d07ec1afbb","title":"Mediatoistimet","slug":"mediatoistimet","id":"Pt40T7nm8fwdISEJbcVPB","filters":[]},{"order":43,"parent":"LlpxuJ0dc0ejtTHu9nlRI","children":[],"_id":"6ab452d97384a80499c1afba","title":"Kaapelit","slug":"kaapelit","id":"3OPzCb9XLE1YXoqYyiU1iC","filters":[]},{"order":44,"parent":"LlpxuJ0dc0ejtTHu9nlRI","children":[],"_id":"6ab452d97384a831dbc1afbc","title":"Sein\xe4telineet","slug":"seinatelineet","id":"29XaBJiGxKJ23hSORNfAZ3","filters":[]},{"order":45,"parent":"LlpxuJ0dc0ejtTHu9nlRI","children":[],"_id":"6ab452d97384a87622c1affb","title":"Muut tuotteet","slug":"muut","id":"7yyKs2uR0dAfBrJk1rGoEm","filters":[]}],"_id":"6ab452d97384a86066c1afc8","title":"TV-tarvikkeet","slug":"tv-tarvikkeet","id":"LlpxuJ0dc0ejtTHu9nlRI","filters":[]}],"_id":"6ab452d97384a83b69c1afb4","title":"Televisiot ja tarvikkeet","menuTitle":"Televisiot","slug":"televisiot","analyticsId":"televisions","id":"tv","filters":[{"title":"Television koko","values":["27\\"","32\\"","40\\"","42\\"","43\\"","48\\"","50\\"","55\\"","65\\"","75\\"","77\\"","83\\"","85\\"","86\\"","98\\"","100\\""]},{"title":"Paneelin tyyppi","values":["MiniLED","OLED","QLED","Muu"]},{"title":"V\xe4ri","values":["Harmaa","Musta","Valkoinen"]},{"title":"HDMI-liit\xe4nt\xf6jen m\xe4\xe4r\xe4","values":["1","2","3","4","5"]},{"title":"Muut ominaisuudet","values":["Ambilight TV","Google TV -k\xe4ytt\xf6j\xe4rjestelm\xe4","HDR","TITAN-k\xe4ytt\xf6j\xe4rjestelm\xe4","Tizen OS -k\xe4ytt\xf6j\xe4rjestelm\xe4","webOS -k\xe4ytt\xf6j\xe4rjestelm\xe4"]}]},{"order":46,"parent":null,"children":[{"order":47,"parent":"7kjVsFMNusRqdcbaJj95gE","children":[],"_id":"6ab452d97384a88af2c1afaa","title":"Bluetooth-kaiuttimet","slug":"bluetooth","i
26d":"2dVsdXIVooiLBnwRpQPxOX","filters":[]},{"order":48,"parent":"7kjVsFMNusRqdcbaJj95gE","children":[],"_id":"6ab452d97384a818f8c1afc9","title":"Aktiivikaiuttimet","slug":"aktiivikaiuttimet","id":"2Mv8gMljZ39HRN3BAopILC","filters":[]},{"order":49,"parent":"7kjVsFMNusRqdcbaJj95gE","children":[],"_id":"6ab452d97384a82f72c1afa9","title":"Soundbarit","slug":"soundbar","id":"1PT2Fz2Yhc1eJ54H6hgf0u","filters":[]},{"order":50,"parent":"7kjVsFMNusRqdcbaJj95gE","children":[],"_id":"6ab452d97384a82aafc1afc7","title":"Kaiuttimet radiolla","slug":"radiolla","id":"5MeNQLHDuNz1MvB9kMv912","filters":[]}],"_id":"6ab452d97384a804a8c1afa8","title":"Kaiuttimet","slug":"kaiuttimet","analyticsId":"speakers","id":"7kjVsFMNusRqdcbaJj95gE","filters":[]},{"order":51,"parent":null,"children":[{"order":52,"parent":"rNeKRaDISS6ixfEY4D8Nr","children":[],"_id":"6ab452d97384a84af6c1afae","title":"Bluetooth-kuulokkeet","slug":"bluetooth-kuulokkeet","id":"01wWx3hvPPaNdIfSUTpOnW","filters":[]},{"order":53,"parent":"rNeKRaDISS6ixfEY4D8Nr","children":[],"_id":"6ab452d97384a89e51c1afb1","title":"Vastamelukuulokkeet","slug":"vastamelukuulokkeet","id":"3Y5IGHeZLWV2aFpwnGVNFR","filters":[]},{"order":54,"parent":"rNeKRaDISS6ixfEY4D8Nr","children":[],"_id":"6ab452d97384a8f617c1afb2","title":"Nappikuulokkeet","slug":"nappikuulokkeet","id":"2eMQgvlYjaRHhSnMAOXjmi","filters":[]},{"order":55,"parent":"rNeKRaDISS6ixfEY4D8Nr","children":[],"_id":"6ab452d97384a84e7dc1afb0","title":"Langattomat kuulokkeet","slug":"langattomat-kuulokkeet","id":"3HjbyzH3j3WCx28JygpHsU","filters":[]},{"order":56,"parent":"rNeKRaDISS6ixfEY4D8Nr","children":[],"_id":"6ab452d97384a8734ac1afaf","title":"Urheilukuulokkeet","slug":"urheilukuulokkeet","id":"4LqWVJp5hvr52A1FdtNm0q","filters":[]},{"order":57,"parent":"rNeKRaDISS6ixfEY4D8Nr","children":[],"_id":"6ab452d97384a87991c1afcd","title":"Langalliset kuulokkeet","slug":"langalliset-kuulokkeet","id":"27XanV1QOuWceEGAZRPIHb","filters":[]}],"_id":"6ab452d97384a81c6dc1afac","title":"Kuulokkeet","slug":"kuulokkeet","analyticsId":"headphones","id":"rNeKRaDISS6ixfEY4D8Nr","filters":[]},{"order":58,"parent":null,"children":[{"order":59,"parent":"gaming","children":[{"order":60,"parent":"7fMrgJKvZcccQJwFUMzo4E","children":[],"_id":"6ab452d97384a82b72c1afb6","title":"PlayStation 5","slug":"ps5","id":"3uiZVUAKYt2i9PCfI10XHk","filters":[]},{"order":63,"parent":"7fMrgJKvZcccQJwFUMzo4E","children":[],"_id":"6ab452d97384a807dac1affa","title":"Nintendo Switch -konsolit","menuTitle":"Nintendo Switch","breadcrumbTitle":"Nintendo Switch","slug":"nintendo","id":"lpgrTq4PPrNHsM4cgN3gC","filters":[]},{"order":64,"parent":"7fMrgJKvZcccQJwFUMzo4E","children":[],"_id":"6ab452d97384a842b3c1aff9","title":"Muut pelikonsolit","slug":"muut-pelikonsolit","id":"7hbso5a762PRXmIXk04zW1","filters":[]}],"_id":"6ab452d97384a8776bc1afa2","title":"Pelikonsolit","slug":"pelikonsolit","id":"7fMrgJKvZcccQJwFUMzo4E","filters":[]},{"order":65,"parent":"gaming","children":[{"order":66,"parent":"65wO8xAxUIQMaw4TvgAWk2","children":[],"_id":"6ab452d97384a89d3ec1afd3","title":"PS5-pelit","slug":"ps5-pelit","id":"bow2CNhMkuScJUoGegwk3","filters":[]},{"order":67,"parent":"65wO8xAxUIQMaw4TvgAWk2","children":[],"_id":"6ab452d97384a8dba2c1afe9","title":"PS4-pelit","slug":"ps4-pelit","id":"6WAwijiH3mAcJoHFsHdgSu","filters":[]},{"order":69,"parent":"65wO8xAxUIQMaw4TvgAWk2","children":[],"_id":"6ab452d97384a8a1f8c1aff8","title":"Nintendo Switch -pelit","slug":"nintendo-switch-pelit","id":"8M5Se3FJRUjz5wsoYlKTC","filters":[]}],"_id":"6ab452d97384a88299c1afd2","title":"Konsolipelit","slug":"konsolipelit","id":"65wO8xAxUIQMaw4TvgAWk2","filters":[]},{"order":72,"parent":"gaming","children":[{"order":73,"parent":"2GMU7XDFnBXCTzeyxRjEOv","children":[],"_id":"6ab452d97384a86227c1afe6","title":"PS5-tarvikkeet","slug":"ps5-tarvikkeet","id":"7LDDXeM18tjxD9riCdkOXQ","filters":[]},{"order":74,"parent":"2GMU7XDFnBXCTzeyxRjEOv","children":[],"_id":"6ab452d97384a852f1c1afb8","title":"PS4-tarvikkeet","slug":"ps4-tarvikkeet","id":"6eUish0KwRlbx8j78kYZQn","filters":[]},{"order":76,"parent":"2GMU7XDFnBXCTzeyxRjEOv","children":[],"_id":"6ab452d97384a81fbcc1aff7","title":"Nintendo Switch -tarvikkeet","slug":"nintendo-switch-tarvikkeet","id":"2QYfGcKqChCQLB8zVAqgtl","filters":[]}],"_id":"6ab452d97384a80df8c1af93","title":"Konsolitarvikkeet","slug":"konsolitarvikkeet","id":"2GMU7XDFnBXCTzeyxRjEOv","filters":[]},{"order":77,"parent":"gaming","children":[{"order":78,"parent":"D8UvApwjQswzgbaUKK4WB","children":[],"_id":"6ab452d97384a88549c1afe3","title":"Pelil\xe4pp\xe4rit","slug":"pelilapparit","id":"4lX0asXIFmSog6mr0HwHnO","filters":[{"title":"Suoritin","values":["AMD","AMD Ryzen 5","AMD Ryzen 7","AMD Ryzen 9","Intel Core 5","Intel Core Ultra 7","Intel Core Ultra 9","Intel Core i5","Intel Core i7","Muu"]},{"title":"N\xe4yt\xf6nohjain","values":["AMD Radeon","Integroitu","NVIDIA GeForce"]},{"title":"Tallennustilan koko","values":["1 Tt","512 Gt","Enemm\xe4n kuin 1 Tt"]},{"title":"Keskusmuisti","values":["16 Gt","32 Gt","64 Gt"]},{"title":"Tallennustilan tyyppi","values":["M.2 SSD"]},{"title":"N\xe4yt\xf6n koko","values":["13,4\\" - 14,9\\"","15\\" - 15,6\\"","15,7\\" - 16,9\\"","17\\" - 17,3\\""]},{"title":"K\xe4ytt\xf6j\xe4rjestelm\xe4","values":["MacOS","Windows 11"]},{"title":"Muut ominaisuudet","values":["Kamera","Kortinlukija"]}]},{"order":79,"parent":"D8UvApwjQswzgbaUKK4WB","children":[],"_id":"6ab452d97384a81c7ac1aff0","title":"Pelip\xf6yt\xe4koneet","slug":"pelitietokone","id":"2Ey0TBhvMLuDkY0tRNEC59","filters":[{"title":"Suoritin","values":["AMD Ryzen 7","Intel Core i5","Intel Ultra 7","Muu"]},{"title":"Keskusmuisti","values":["16 Gt"]},{"title":"Tallennustilan tyyppi","values":["M.2 SSD"]},{"title":"Tallennustilan koko","values":["1 Tt","512 Gt"]},{"title":"K\xe4ytt\xf6j\xe4rjestelm\xe4","values":["Windows 11"]},{"title":"N\xe4yt\xf6nohjain","values":["NVIDIA GeForce"]}]}],"_id":"6ab452d97384a8121dc1afb7","title":"Pelitietokoneet","slug":"pelitietokoneet","id":"D8UvApwjQswzgbaUKK4WB","filters":[{"title":"Suoritin","values":["AMD","AMD Ryzen 5","AMD Ryzen 7","AMD Ryzen 9","Intel Core 5","Intel Core Ultra 7","Intel Core Ultra 9","Intel Core i5","Intel Core i7","Intel Ultra 7","Muu"]},{"title":"N\xe4yt\xf6nohjain","values":["AMD Radeon","Integroitu","NVIDIA GeForce"]},{"title":"Tallennustilan koko","values":["1 Tt","512 Gt","Enemm\xe4n kuin 1 Tt"]},{"title":"Keskusmuisti","values":["16 Gt","32 Gt","64 Gt"]},{"title":"Tallennustilan tyyppi","values":["M.2 SSD"]},{"title":"N\xe4yt\xf6n koko","values":["13,4\\" - 14,9\\"","15\\" - 15,6\\"","15,7\\" - 16,9\\"","17\\" - 17,3\\""]},{"title":"K\xe4ytt\xf6j\xe4rjestelm\xe4","values":["MacOS","Windows 11"]},{"title":"Muut ominaisuudet","values":["Kamera","Kortinlukija"]}]},{"order":80,"parent":"gaming","children":[{"order":81,"parent":"4lQ0NL26YzgVXD6LWdcMRJ","children":[],"_id":"6ab452d97384a8f00cc1afdc","title":"144 Hz -pelin\xe4yt\xf6t","slug":"144hz-naytot","id":"6w24GvkuGMQu4kqzW3vFAq","filters":[{"title":"Muut ominaisuudet","values":["FreeSync","Kaareva n\xe4ytt\xf6paneeli"]},{"title":"N\xe4yt\xf6n koko","values":["49\\""]},{"title":"Paneelitekniikka","values":["VA"]},{"title":"Resoluutio","values":["5120 x 1440 (DQHD)"]},{"title":"Virkistystaajuus","values":["144 Hz"]},{"title":"Vasteaika","values":["1 ms"]}]},{"order":82,"parent":"4lQ0NL26YzgVXD6LWdcMRJ","children":[],"_id":"6ab452d97384a85e40c1afdd","title":"240 Hz -pelin\xe4yt\xf6t","slug":"240hz-naytto","id":"6JWKmaxCuxbQqiL2P5J3Rr","filters":[{"title":"Paneelitekniikka","values":["IPS","OLED","VA"]},{"title":"N\xe4yt\xf6n koko","values":["23,8\\"","24,5\\"","27\\"","32\\"","39\\"","49\\"","57\\"","Muu koko"]},{"title":"Muut ominaisuudet","values":["FreeSync","G-Sync","Kaareva n\xe4ytt\xf6paneeli","QLED"]},{"title":"Resoluutio","values":["1920 x 1080 (FULL HD)","2560 x 1440 (QHD)","3440 x 1440 (Ultrawide QHD)","3840 x 2160 (Ultra HD 4K)","5120 x 1440 (DQHD)","7680 x 2160 (Dual UHD)"]},{"title":"Virkistystaajuus","values":["210 Hz","240 Hz"]},{"title":"Vasteaika","values":["0,03 ms","0,3 ms","0,5 ms","1 ms"]}]},{"order":83,"parent":"4lQ0NL26YzgVXD6LWdcMRJ","children":[],"_id":"6ab452d97384a8e871c1afde","title":"4K-pelin\xe4yt\xf6t","slug":"4k-naytot","id":"6tIEwqwtSr3HCtKmXDMtPp","filters":[{"title":"Muut ominaisuudet","values":["FreeSync","G-Sync","Kaareva n\xe4ytt\xf6paneeli"]},{"title":"N\xe4yt\xf6n koko","values":["27\\"","31,5\\"","32\\"","Muu koko"]},{"title":"Paneelitekniikka","values":["IPS","VA"]},{"title":"Resoluutio","values":["3840 x 2160 (Ultra HD 4K)","Muu"]},{"title":"Virkistystaajuus","values":["144 Hz","160 Hz","165 Hz","180 Hz","320 Hz","350 Hz","360 Hz"]},{"title":"Vasteaika","values":["0,5 ms","1 ms"]}]},{"order":84,"parent":"4lQ0NL26YzgVXD6LWdcMRJ","children":[],"_id":"6ab452d97384a88da7c1afdf","title":"Kaarevat pelin\xe4yt\xf6t","slug":"kaarevat-naytot","id":"3QqRB7AIq8gEG06BwA72Wd","filters":[{"title":"Paneelitekniikka","values":["MiniLED","OLED","VA"]},{"title":"N\xe4yt\xf6n koko","values":["27\\"","31,5\\"","34\\"","39\\"","49\\"","57\\"","Muu koko"]},{"title":"Muut ominaisuudet","values":["FreeSync","G-Sync","Kaareva n\xe4ytt\xf6paneeli","QLED"]},{"title":"Resoluutio","values":["1920 x 1080 (FULL HD)","2560 x 1440 (QHD)","3440 x 1440 (Ultrawide QHD)","3840 x 2160 (Ultra HD 4K)","5120 x 1440 (DQHD)","7680 x 2160 (Dual UHD)","Muu"]},{"title":"Virkistystaajuus","values":["120 Hz","144 Hz","165 Hz","175 Hz","180 Hz","200 Hz","240 Hz"]},{"title":"Vasteaika","values":["0,03 ms","0,5 ms","1 ms"]}]}],"_id":"6ab452d97384a86d90c1afcc","title":"Pelin\xe4yt\xf6t","slug":"pelinaytot","id":"4lQ0NL26YzgVXD6LWdcMRJ","filters":[{"title":"Paneelitekniikka","values":["IPS","MiniLED","OLED","VA"]},{"title":"N\xe4yt\xf6n koko","values":["23,8\\"","24,5\\"","27\\"","31,5\\"","32\\"","34\\"","39\\"","49\\"","57\\"","Muu koko"]},{"title":"Muut ominaisuudet","values":["FreeSync","G-Sync","Kaareva n\xe4ytt\xf6paneeli","QLED"]},{"title":"Resoluutio","values":["1920 x 1080 (FULL HD)","2560 x 1440 (QHD)","3440 x 1440 (Ultrawide QHD)","3840 x 2160 (Ultra HD 4K)","5120 x 1440 (DQHD)","7680 x 2160 (Dual UHD)","Muu"]},{"title":"Virkistystaajuus","values":["120 Hz","144 Hz","160 Hz","165 Hz","175 Hz","180 Hz","200 Hz","210 Hz","240 Hz","280 Hz","320 Hz","350 Hz","360 Hz","380 Hz"]},{"title":"Vasteaika","values":["0,03 ms","0,3 ms","0,5 ms","1 ms"]}]},{"order":85,"parent":"gaming","children":[],"_id":"6ab452d97384a818b5c1afc3","title":"Tietokonekomponentit","slug":"tietokonekomponentit","id":"6mGnEFfLGR69zsATwSaJzy","filters":[]},{"order":88,"parent":"gaming","children":[{"order":89,"parent":"1l7WkhDp8jzZ6w57adp2Xd","children":[],"_id":"6ab452d97384a8d9cfc1aff6","title":"Langalliset pelikuulokkeet","slug":"langalliset","id":"4KiRp3CyXkF7YEUG0LgLze","filters":[]},{"order":90,"parent":"1l7WkhDp8jzZ6w57adp2Xd","children":[],"_id":"6ab452d97384a8187ac1aff5","title":"Langattomat pelikuulokkeet","slug":"langattomat","id":"5F4kcyycFHSZvlYpJ4mhbC","filters":[]}],"_id":"6ab452d97384a8b896c1afcf","title":"Pelikuulokkeet","slug":"pelikuulokkeet","id":"1l7WkhDp8jzZ6w57adp2Xd","filters":[]},{"order":91,"parent":"gaming","children":[{"order":92,"parent":"1vfThwnDGURFM643aFOC1J","children":[],"_id":"6ab452d97384a81a5fc1afed","title":"Langattomat pelin\xe4pp\xe4imist\xf6t","slug":"langaton","id":"33PhMLLl1PouRU1EpGJXtS","filters":[]},{"order":93,"parent":"1vfThwnDGURFM643aFOC1J","children":[],"_id":"6ab452d97384a89f08c1afec","title":"Langalliset pelin\xe4pp\xe4imist\xf6t","slug":"langalliset","id":"45LmzmeRMPhskUYBcsBMiT","filters":[]}],"_id":"6ab452d97384a83cfbc1afbd","title":"Pelin\xe4pp\xe4imist\xf6t","slug":"pelinappaimistot","id":"1vfThwnDGURFM643aFOC1J","filters":[]},{"order":94,"parent":"gaming","children":[{"order":95,"parent":"6jDxUekqQmISqPdvg3jPl3","children":[],"_id":"6ab452d97384a8ec93c1afef","title":"Langattomat pelihiiret","slug":"langaton","id":"4eRHzunSGkGGJb2K0AWph9","filters":[]},{"order":96,"parent":"6jDxUekqQmISqPdvg3jPl3","children":[],"_id":"6ab452d97384a8316ac1afee","title":"Langalliset pelihiiret","slug":"langalliset","id":"1j88hTuMjrAjk3i8GDsWUs","filters":[]}],"_id":"6ab452d97384a864b2c1afbe","title":"Pelihiiret","slug":"pelihiiret","id":"6jDxUekqQmISqPdvg3jPl3","filters":[]},{"order":97,"parent":"gaming","children":[],"_id":"6ab452d97384a8808dc1afce","title":"Pelihiirimatot","slug":"pelihiirimatot","id":"39qFtrqQktvihlUbYBOA40","filters":[]},{"order":98,"parent":"gaming","children":[],"_id":"6ab452d97384a82f70c1aff4","title":"Pelituolit","slug":"pelituolit","id":"2BeBBNUZGsu5ANgVtg1pyz","filters":[]},{"order":99,"parent":"gaming","children":[{"order":100,"parent":"4HnsB1fg6bSRRDajHSgjrG","children":[],"_id":"6ab452d97384a85d28c1afbf","title":"Pelip\xf6yd\xe4t","slug":"pelipoydat","id":"mGiRPmOXLDfQpYoiu0wEL","filters":[]},{"order":101,"parent":"4HnsB1fg6bSRRDajHSgjrG","children":[],"_id":"6ab452d97384a8ca48c1afc1","title":"Pelireput","slug":"pelireput","id":"75GBCJNTy48fC5CqlIzl6u","filters":[]},{"order":102,"parent":"4HnsB1fg6bSRRDajHSgjrG","children":[],"_id":"6ab452d97384a8bd0dc1aff3","title":"Ohjaimet, ratit ja polkimet","slug":"ratit-ja-polkimet","id":"6ycMUAj6ElEpAc8aM5DmM8","filters":[]},{"order":103,"parent":"4HnsB1fg6bSRRDajHSgjrG","children":[],"_id":"6ab452d97384a8a042c1afc0","title":"Kamerat ja mikrofonit","slug":"kamerat-ja-mikrofonit","id":"2rnJ2sdLaFiOxkXpSCyD58","filters":[]},{"order":106,"parent":"4HnsB1fg6bSRRDajHSgjrG","children":[],"_id":"6ab452d97384a8afebc1af9b","title":"Muut tuotteet","slug":"muut","id":"7jM0Sqkd2bcDKQISEjkEav","filters":[]}],"_id":"6ab452d97384a82da5c1af95","title":"Muut pelituotteet","slug":"muut-pelituotteet","id":"4HnsB1fg6bSRRDajHSgjrG","filters":[]}],"_id":"6ab452d97384a84a6bc1afb5","title":"Pelaaminen","slug":"pelaaminen","analyticsId":"gaming","id":"gaming","filters":[{"title":"Suoritin","values":["AMD","AMD Ryzen 5","AMD Ryzen 7","AMD Ryzen 9","Intel Core 5","Intel Core Ultra 7","Intel Core Ultra 9","Intel Core i5","Intel Core i7","Intel Ultra 7","Muu"]},{"title":"N\xe4yt\xf6nohjain","values":["AMD Radeon","Integroitu","NVIDIA GeForce"]},{"title":"Tallennustilan koko","values":["1 Tt","512 Gt","Enemm\xe4n kuin 1 Tt"]},{"title":"Keskusmuisti","values":["16 Gt","32 Gt","64 Gt"]},{"title":"Tallennustilan tyyppi","values":["M.2 SSD"]},{"title":"N\xe4yt\xf6n koko","values":["13,4\\" - 14,9\\"","15\\" - 15,6\\"","15,7\\" - 16,9\\"","17\\" - 17,3\\"","23,8\\"","24,5\\"","27\\"","31,5\\"","32\\"","34\\"","39\\"","49\\"","57\\"","Muu koko"]},{"title":"K\xe4ytt\xf6j\xe4rjestelm\xe4","values":["MacOS","Windows 11"]},{"title":"Muut ominaisuudet","values":["FreeSync","G-Sync","Kaareva n\xe4ytt\xf6paneeli","Kamera","Kortinlukija","QLED"]},{"title":"Paneelitekniikka","values":["IPS","MiniLED","OLED","VA"]},{"title":"Resoluutio","values":["1920 x 1080 (FULL HD)","2560 x 1440 (QHD)","3440 x 1440 (Ultrawide QHD)","3840 x 2160 (Ultra HD 4K)","5120 x 1440 (DQHD)","7680 x 2160 (Dual UHD)","Muu"]},{"title":"Virkistystaajuus","values":["120 Hz","144 Hz","160 Hz","165 Hz","175 Hz","180 Hz","200 Hz","210 Hz","240 Hz","280 Hz","320 Hz","350 Hz","360 Hz","380 Hz"]},{"title":"Vasteaika","values":["0,03 ms","0,3 ms","0,5 ms","1 ms"]}]},{"order":107,"parent":null,"children":[{"order":108,"parent":"watches","children":[],"_id":"6ab452d97384a86ca5c1af91","title":"\xc4lykellot","menuTitle":"\xc4lykellot","slug":"alykellot","id":"5V0cCz1IizT0a6zJUWpDya","filters":[]},{"order":109,"parent":"watches","children":[],"_id":"6ab452d97384a84534c1afe1","title":"Urheilukellot","slug":"urheilukellot","id":"5MoemxwIxtOYOvhgmI38v5","filters":[]},{"order":110,"parent":"watches","children":[],"_id":"6ab452d97384a84cd4c1aff2","title":"Aktiivisuusrannekkeet","slug":"aktiivisuusrannekkeet","id":"3BsGC3zH6gFkeKlGrth5cP","filters":[]},{"order":111,"parent":"watches","children":[],"_id":"6ab452d97384a8b6bec1af92","title":"Lasten \xe4lykellot ja kellopuhelimet","slug":"lasten-alykellot","id":"BKr0c3NbfPEvv6dlDphMp","filters":[]},{"order":112,"parent":"watches","children":[],"_id":"6ab452d97384a8a344c1afd0","title":"\xc4lysormukset","slug":"alysormukset","id":"6o3iRk7kaJdOdy9Y0yHRfr","filters":[]},{"order":113,"parent":"watches","children":[],"_id":"6ab452d97384a82b1ac1afa4","title":"Tarvikkeet","menuTitle":"\xc4lykellojen tarvikkeet","slug":"tarvikkeet","id":"52UzloFuB7s5UaYMkFtSFS","filters":[]}],"_id":"6ab452d97384a8da36c1af90","title":"\xc4lykellot","slug":"alyk
26ellot","analyticsId":"watches","id":"watches","filters":[]},{"order":114,"parent":null,"children":[{"order":115,"parent":"6lomcw6S601zBbH1vLvQMO","children":[{"order":116,"parent":"4sEArawMuQ38ZWrTScMZ71","children":[],"_id":"6ab452d97384a86b39c1afa0","title":"Valvontakamerat","slug":"valvontakamerat","id":"2EmojVcRumUo7ae7LwsquD","filters":[]},{"order":117,"parent":"4sEArawMuQ38ZWrTScMZ71","children":[],"_id":"6ab452d97384a8ed94c1afa6","title":"Riistakamerat","slug":"riistakamerat","id":"3KS85wnfEwKYs0QFcuHZgM","filters":[]}],"_id":"6ab452d97384a8247cc1af96","title":"Turvallisuus ja valvonta","slug":"turvallisuus-ja-valvonta","id":"4sEArawMuQ38ZWrTScMZ71","filters":[]},{"order":118,"parent":"6lomcw6S601zBbH1vLvQMO","children":[],"_id":"6ab452d97384a81d8cc1afc6","title":"\xc4lyvalaistus","slug":"alyvalot","id":"3fgG8Zb5SpQXckI4BsxapZ","filters":[]},{"order":119,"parent":"6lomcw6S601zBbH1vLvQMO","children":[],"_id":"6ab452d97384a8006cc1af99","title":"\xc4lykaiuttimet","slug":"alykaiuttimet","id":"4sRklecQk4SZIZVdnJ8NYL","filters":[]},{"order":120,"parent":"6lomcw6S601zBbH1vLvQMO","children":[],"_id":"6ab452d97384a82a11c1afa3","title":"Robotti-imurit","slug":"robotti-imurit","id":"59oJuJqpdOHNpH6k4Qllm3","filters":[]},{"order":121,"parent":"6lomcw6S601zBbH1vLvQMO","children":[],"_id":"6ab452d97384a86774c1afcb","title":"S\xe4hk\xf6potkulaudat","slug":"sahkopotkulaudat","id":"1rnCu8X2VuUAiis08YgF81","filters":[]},{"order":122,"parent":"6lomcw6S601zBbH1vLvQMO","children":[],"_id":"6ab452d97384a8320fc1af8e","title":"Muut \xe4lykodin tuotteet","slug":"muut-tuotteet","id":"6a6e5vFrEVdBYaMCGixrLU","filters":[]}],"_id":"6ab452d97384a822ddc1afab","title":"\xc4lykoti","slug":"alykoti","analyticsId":"smart-home","id":"6lomcw6S601zBbH1vLvQMO","filters":[]},{"order":123,"parent":null,"children":[{"order":124,"parent":"5CujtOViaGrjv1nrQww7b7","children":[],"_id":"6ab452d97384a8191fc1af9e","title":"Keitti\xf6n pienkoneet","slug":"keittio","id":"65qjR6LYDensNa4cV64QdT","filters":[]},{"order":125,"parent":"5CujtOViaGrjv1nrQww7b7","children":[],"_id":"6ab452d97384a85efac1af9f","title":"Kauneus ja terveys","slug":"kauneus-ja-terveys","id":"3MKOjdbYbhAzUTGa2No3Ny","filters":[]}],"_id":"6ab452d97384a8478ec1afb3","title":"Pienkoneet","slug":"pienkoneet","id":"5CujtOViaGrjv1nrQww7b7","filters":[]},{"order":126,"parent":null,"children":[{"order":127,"parent":"network","children":[],"_id":"6ab452d97384a882d6c1aff1","title":"Reitittimet","slug":"reitittimet","id":"2958e4bdP5p3ug6oVBgSuC","filters":[]},{"order":128,"parent":"network","children":[],"_id":"6ab452d97384a87853c1af9d","title":"Mesh-laitteet","slug":"mesh-laitteet","id":"4FyKOFOCF6rkfRuZ53Oig6","filters":[]}],"_id":"6ab452d97384a8a4cac1afad","title":"Nettilaitteet","slug":"reitittimet-ja-modeemit","analyticsId":"wireless","id":"network","filters":[]},{"order":129,"parent":null,"children":[],"_id":"6ab452d97384a826ccc1afe7","title":"Kampanjatuotteet","slug":"kampanjatuotteet","isHidden":true,"id":"3s4ysIXbehadswsBmjk6SL","filters":[{"title":"N\xe4yt\xf6n koko","values":["27\\""]},{"title":"Muut ominaisuudet","values":["FreeSync"]},{"title":"Paneelitekniikka","values":["IPS"]},{"title":"Resoluutio","values":["2560 x 1440 (QHD)"]},{"title":"Virkistystaajuus","values":["75 Hz"]},{"title":"Vasteaika","values":["5 ms"]}]},{"order":131,"parent":null,"children":[],"_id":"6ab452d97384a8143dc1af9a","title":"Leikattavat suojakalvot","slug":"leik-suoj-kalv-sbs","isHidden":true,"id":"l5UHFzSzN4BhYu2LvnD2k","filters":[]}]}')},25113:(e,t,i)=>{i.d(t,{$:()=>s});var a=i(70952),n=i(4964),l=i(33418),r=i(770);let s=n.forwardRef((e,t)=>{let{children:i,loading:s,size:o="md",variant:d="primary",type:c="button",reverseColors:u,iconOnRight:p,icon:g,...m}=e,h=!s&&g;return(0,a.jsxs)(r.Ay,{type:c,size:o,$variant:d,ref:t,$reverseColors:u,...m,children:[s&&(0,a.jsx)(l.A,{size:"sm",style:{fontSize:"14px",marginRight:"16px"},light:!u}),h&&!p&&(0,a.jsx)(r.VF,{children:g}),i&&n.Children.map(i,e=>(0,a.jsx)("span",{children:e})),h&&p&&(0,a.jsx)(r.VF,{$iconOnRight:p,children:g})]})});s.displayName="Button"},32041:(e,t,i)=>{i.d(t,{Ay:()=>m,HI:()=>h,TR:()=>f});var a=i(70952),n=i(4964),l=i(24899),r=i(41694),s=i(20112);let o=e=>[e.id,...e.children?.flatMap(e=>o(e))??[]],d=l.L,c=e=>{let t={},i=e.id,a=o(e).filter(r.R)||[];t[i]=a;let n=e.children?.map(c);
26return n?.forEach(e=>{Object.entries(e).forEach(([e,i])=>{t[e]=i})}),t},u=d.reduce((e,t)=>(Object.entries(c(t)).forEach(([t,i])=>{e[t]=i}),e),{}),p=d.reduce((e,t)=>(t.children?.forEach(i=>{e[i.title]=t.title,i.children?.forEach(t=>{e[t.title]=i.title})}),e),{}),g=(0,n.createContext)({categoryTree:d,categoryHierarchy:u,categoryParentMap:p,ancestors:[],productSelection:null,category:null,categoryFilters:[],getFilterCategories:()=>[],update:s.A}),m=g,h=()=>(0,n.useContext)(g),f=({category:e=null,children:t})=>{let[i,l]=(0,n.useState)([]),[s,o]=(0,n.useState)([]),[c,m]=(0,n.useState)(null),[h,f]=(0,n.useState)(e),x=(0,n.useCallback)(e=>{l(e.ancestors),e.category?.id!==h?.id&&f(e.category??null),m(e.productSelection??null),o(e.childCategories??null)},[h?.id]),b=(0,n.useCallback)(e=>{let t=[];if(h)t=s?.map(e=>e.title).filter(r.R).sort()||[];else{let i=e.flatMap(e=>e.category).map(e=>e.title).filter((e,t,i)=>i.indexOf(e)===t);t=d.filter(e=>{let t=e.children?.filter(r.R).flatMap(e=>[...e.children??[],e]).map(e=>e.title)??[];return t.length?i.some(e=>t.includes(e)):i.includes(e.title)}).flatMap(e=>e.title)}let i=d.find(e=>e.id===c?.category?.id);return i?.children?.forEach(e=>{t.includes(e.title)||t.push(e.title)}),t},[h,c,s]),y=(0,n.useMemo)(()=>h?h.filters:c?.filters??[],[h,c]),k=(0,n.useMemo)(()=>({categoryTree:d,categoryHierarchy:u,categoryParentMap:p,ancestors:i,productSelection:c,category:h,categoryFilters:y,getFilterCategories:b,update:x}),[i,c,h,y,b,x]);return(0,a.jsx)(g.Provider,{value:k,children:t})}},41165:(e,t,i)=>{i.d(t,{A:()=>r,E:()=>l});var a=i(4964),n=i(53375),l=function(e){return e[e.XXXS=0]="XXXS",e[e.XXS=1]="XXS",e[e.XS=2]="XS",e[e.SM=3]="SM",e[e.MD=4]="MD",e[e.LG=5]="LG",e[e.XLG=6]="XLG",e[e.XXLG=7]="XXLG",e}({});let r=()=>{let e=(0,n.DP)(),[t,i]=(0,a.useState)(7),l=(0,a.useRef)([]),r=(0,a.useCallback)(()=>{let e=l.current.find(({matcher:e})=>e.matches);return e?.breakpoint??7},[]),s=(e=>[{breakpoint:0,query:`(max-width: ${e.legacyBreakpoints.xxxs.max})`},{breakpoint:1,query:`(max-width: ${e.legacyBreakpoints.xxs.max})`},{breakpoint:2,query:`(max-width: ${e.legacyBreakpoints.xs.max})`},{breakpoint:3,query:`(max-width: ${e.legacyBreakpoints.sm.max})`},{breakpoint:4,query:`(max-width: ${e.legacyBreakpoints.md.max})`},{breakpoint:5,query:`(max-width: ${e.legacyBreakpoints.lg.max})`},{breakpoint:6,query:`(max-width: ${e.legacyBreakpoints.xlg.max})`}])(e);return(0,a.useEffect)(()=>{l.current=s.map(({breakpoint:e,query:t})=>({breakpoint:e,matcher:matchMedia(t)}));let e=()=>{i(r())};return l.current.forEach(({matcher:t})=>t.addEventListener?t.addEventListener("change",e):t.addListener(e)),i(r()),()=>{l.current.forEach(({matcher:t})=>t.removeEventListener?t.removeEventListener("change",e):t.removeListener(e))}},[r,s]),t}},43879:(e,t,i)=>{i.d(t,{A:()=>r,s:()=>l});var a=i(53375);let n=(e,t)=>{switch(e){case"zero":default:return t.spacing.base.spacing0;case"xxxs":return t.spacing.base.spacing25;case"xxs":return t.spacing.base.spacing50;case"xs":return t.spacing.base.spacing100;case"sm":return t.spacing.base.spacing200;case"md":return t.spacing.base.spacing300;case"lg":return t.spacing.base.spacing400;case"xlg":return t.spacing.base.spacing600;case"xxlg":return t.spacing.base.spacing1250}},l=e=>` 27 padding-left: ${e.grid.largePadding}px; 28 padding-right: ${e.grid.largePadding}px; 29 30 @media screen and (max-width: ${e.legacyBreakpoints.md.max}) { 31 padding-left: ${e.spacing.base.spacing400}; 32 padding-right: ${e.spacing.base.spacing400}; 33 } 34 35 @media screen and (max-width: ${e.legacyBreakpoints.xs.max}) { 36 padding-left: ${e.spacing.base.spacing200}; 37 padding-right: ${e.spacing.base.spacing200}; 38 } 39`,r=a.Ay.div.withConfig({componentId:"sc-3cd2ebb4-0"})(["box-sizing:border-box;width:100%;max-width:",";margin:0 auto;"," "," ",""],e=>e.$narrow?"800px":`${e.theme.grid.maxWidthWithLargePadding}px`,e=>e.$paddingTop?`padding-top: ${n(e.$paddingTop,e.theme)};`:"",e=>e.$paddingBottom?`padding-bottom: ${n(e.$paddingBottom,e.theme)};`:"",e=>l(e.theme))},45761:(e,t,i)=>{i.d(t,{A:()=>n});var a=i(4964);let n=e=>{(0,a.useEffect)(()=>
39{if(e){let e=document.body.clientWidth;document.body.classList.add("no-scroll"),document.body.style.paddingRight=`${document.body.clientWidth-e}px`}else document.body.classList.remove("no-scroll"),document.body.style.paddingRight="0";return()=>{document.body.classList.remove("no-scroll"),document.body.style.paddingRight="0"}},[e])}},48488:(e,t,i)=>{i.d(t,{A:()=>s,HighlightsContextProvider:()=>r});var a=i(70952),n=i(4964);let l=n.createContext({discountHighlights:[]}),r=({discountHighlights:e,children:t})=>{let i=(0,n.useMemo)(()=>({discountHighlights:e}),[e]);return(0,a.jsx)(l.Provider,{value:i,children:t})},s=()=>(0,n.useContext)(l)},50780:(e,t,i)=>{i.d(t,{A:()=>s,x:()=>r});var a=i(70952),n=i(4964),l=i(41165);let r=(0,n.createContext)(l.E.XXLG),s=({children:e})=>{let t=(0,l.A)();return(0,a.jsx)(r.Provider,{value:t,children:e})}},51147:(e,t,i)=>{i.d(t,{A:()=>b,m:()=>x});var a=i(70952);i(4964);var n=i(53375),l=i(62750),r=i(85825),s=i(67540),o=i(76436),d=i(51331),c=i(68e3),u=i(16868);let p=n.Ay.div.withConfig({componentId:"sc-d220aecc-0"})(["display:flex;align-items:center;min-height:40px;@media only screen and (max-width:","){.notification-icon{display:none;}}"],({theme:e})=>e.legacyBreakpoints.xs.max),g=n.Ay.p.withConfig({componentId:"sc-d220aecc-1"})(["padding:"," 0;margin-right:auto;line-height:1.5em;"],({theme:e})=>e.spacing.base.spacing100),m=n.Ay.a.withConfig({componentId:"sc-d220aecc-2"})(["padding:0 ",";@media only screen and (max-width:","){span{display:none;}}@media only screen and (min-width:","){svg{display:none;}}"],({theme:e})=>e.spacing.base.spacing300,({theme:e})=>e.legacyBreakpoints.sm.max,({theme:e})=>e.legacyBreakpoints.md.min),h=n.Ay.button.withConfig({componentId:"sc-d220aecc-3"})(["padding:5px 0 5px 5px;border:none;background:none;cursor:pointer;color:",";&:hover{img{opacity:0.7;}}"],({theme:e,$color:t})=>t??e.colors.white),f=n.Ay.span.withConfig({componentId:"sc-d220aecc-4"})(["margin-right:",";"],({theme:e})=>e.spacing.base.spacing300),x=n.Ay.div.withConfig({componentId:"sc-d220aecc-5"})(["position:",";background:",";overflow:hidden;text-overflow:ellipsis;font-family:",";color:",";font-size:14px;font-weight:500;z-index:",";@media only screen and (max-width:","){font-size:12px;}","{font-family:",";font-weight:500;color:",";}"],e=>e.$position,e=>e.$backgroundColor,l.aZ,({$color:e})=>e,({theme:e})=>e.zIndexes.growlNotification,({theme:e})=>e.legacyBreakpoints.xs.max,m,l.aZ,({$color:e})=>e),b=({shown:e,notification:t,position:i="relative",variant:l="info",onClose:m,className:b,style:k,ctaText:v,ctaTo:w,ctaOnClick:j})=>{let{colors:I}=(0,n.DP)(),A={warning:{icon:(0,a.jsx)(s.O,{size:"sm"}),backgroundColor:I.orange200,color:I.orange700},error:{icon:(0,a.jsx)(o.m,{size:"sm"}),backgroundColor:I.red600,color:I.white},success:{icon:(0,a.jsx)(d.k,{size:"sm"}),backgroundColor:I.green500,color:I.white},info:{icon:(0,a.jsx)(c.E,{size:"sm"}),backgroundColor:I.blue500,color:I.white},other:{icon:(0,a.jsx)(u.S,{size:"sm"}),backgroundColor:I.purple550,color:I.white},secondary:{icon:(0,a.jsx)(o.m,{size:"sm"}),backgroundColor:I.gray800,color:I.white}};return!1===e?null:(0,a.jsx)(x,{$position:i,$color:A[l].color,$backgroundColor:A[l].backgroundColor,className:b,style:k,children:(0,a.jsxs)(p,{className:"notification-content",children:[(0,a.jsx)(f,{children:A[l].icon}),(0,a.jsx)(g,{children:t}),v&&(w||j)&&(0,a.jsx)(y,{ctaText:v,ctaTo:w,ctaOnClick:j}),m&&(0,a.jsx)(h,{onClick:m,"aria-label":"Sulje",$color:A[l].color,children:(0,a.jsx)(r.g,{size:"sm"})})]})})},y=({ctaText:e,ctaTo:t,ctaOnClick:i})=>(0,a.jsxs)(m,{href:t,onClick:i,children:[(0,a.jsx)("span",{children:e}),(0,a.jsx)(k,{})]}),k=()=>(0,a.jsx)("svg",{width:"32",viewBox:"0 0 64 64",fill:"currentColor",children:(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18 36a4 4 0 1 1 0-8 4 4 0 0 1 0 8zm10-4a4 4 0 1 0 8 0 4 4 0 0 0-8 0zm18 4a4 4 0 1 1 0-8 4 4 0 0 1 0 8z"})})},52925:(e,t,i)=>{i.r(t),i.d(t,{FeatureFlagContext:()=>l,FeatureFlagContextProvider:()=>s,PrepaidFeatureFlagContext:()=>r,PrepaidFeatureFlagContextProvider:()=>o});var a=i(4964);let n=()=>a.createContext({featureFlags:[]}),l=n(),r=n(),s=({featureFlags:e,children:t})=>{let i=(0,a.useMemo)(()=>({featureFlags:e}),[e]);return a.createElement(l.Provider,{value:i},t)},o=({featureFlags:e,children:t})=>{let[i,n]=(0,a.useState)([]),l=(0,a.useMemo)(()=>({featureFlags:[...e,...i]}),[e,i]);return(0,a.useEffect)(()=>{let e=window.localStorage.getItem("prepaid_feature_flags_overrides");e&&n(JSON.parse(e))},[]),a.createElement(r.Provider,{value:l},t)}},52950:(e,t,i)=>{i.d(t,{A:()=>u});var a=i(70952);i(4964);var n=i(53375),l=i(98307),r=i(62750),s=i(97137),o=i(55494);let d=(0,n.Ay)(l.N).withConfig({componentId:"sc-e4618296-0"})(["color:",";line-height:24px;display:inline-flex;align-items:center;text-decoration:none;cursor:pointer;"],({theme:e})=>e.colors.purple550),c=n.Ay.div.withConfig({componentId:"sc-e4618296-1"})(["display:flex;align-items:center;span{margin-top:2px;}"]),u=({children:e,back:t,...i})=>{let{spacing:l}=(0,n.DP)();return(0,a.jsx)(d,{className:r.Il.bodyText.md,...i,children:t?(0,a.jsxs)(c,{children:[(0,a.jsx)("div",{style:{marginTop:l.base.spacing50},children:(0,a.jsx)(o.g,{size:"xs"})}),(0,a.jsx)("span",{style:{marginLeft:l.base.spacing50},children:e})]}):(0,a.jsxs)(c,{children:[(0,a.jsx)("span",{style:{marginRight:l.base.spacing50},children:e}),(0,a.jsx)("div",{style:{marginTop:l.base.spacing50},children:(0,a.jsx)(s.V,{size:"xs"})})]})})}},61453:(e,t,i)=>{i.d(t,{LogoSVG:()=>n});var a=i(4964);let n=({role:e,ariaLabel:t})=>a.createElement("svg",{role:e,"aria-label":t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 760.71 300"},a.createElement("path",{fill:"currentColor",d:"M455.19 105.91H408.9v130.4h-29.37v-130.4H332.8V80.54h122.39v25.37zM543.31 188.47H461.2c2.89 16.47 14.69 27.37 29.82 27.37 11.35 0 20.47-5.12 26.04-13.57l21.81 13.13c-11.13 14.91-29.37 23.81-47.84 23.81-30.48 0-56.96-24.25-56.96-58.97s26.26-58.74 55.63-58.74c38.48-.01 57.39 30.7 53.61 66.97zm-81.22-20.7h54.74c-3.34-14.46-12.68
39-23.59-27.15-23.59-13.57.01-23.81 9.35-27.59 23.59zM601.61 236.75c-4.23.89-8.68 1.11-12.68 1.11-19.58 0-28.26-9.35-28.26-28.26V80.54h27.37v125.28c0 9.57 5.79 10.9 13.57 10.01v20.92zM615.85 93.45c0-8.68 7.57-15.8 16.24-15.8 8.46 0 16.02 7.12 16.02 15.8s-7.57 15.8-16.02 15.8c-8.67 0-16.24-7.12-16.24-15.8zm2.45 142.86V125.05h27.37v111.26H618.3zM760.71 157.54v78.77h-25.59V223.4c-8.68 11.35-22.48 15.58-34.05 15.58-24.03 0-38.27-15.13-38.27-34.05 0-21.58 24.26-39.16 53.85-39.16 5.79 0 12.02.45 17.58 2.23v-7.34c0-11.13-6.45-16.91-19.58-16.91-11.79 0-22.25 6.01-28.7 13.8l-19.36-14.24c10.9-12.68 29.6-21.58 48.51-21.58 29.59-.02 45.61 12.89 45.61 35.81zm-26.48 35.82v-4.9c-4.45-1.56-9.12-2-14.91-2-20.03 0-30.26 8.01-30.26 17.8 0 8.01 6.9 13.13 17.36 13.13 13.79 0 27.81-8.23 27.81-24.03z"}),a.createElement("path",{fill:"currentColor",d:"M196.36 210.79c38.9-22.56 73.94-60.82 84.99-88.1 3.14-22.58 3.78-25.43 4.16-50.27.05-3.44-.16-6.74-.48-9.9-2.27 36.48-49.42 82.35-111.8 112.32-75.25 36.15-131.7 45.88-156.89 18.31 8.75 17.28 14.49 25.67 24.33 38.49 29.06 25.74 90.22 17.13 155.69-20.85z"}),a.createElement("path",{fill:"currentColor",d:"M164.46 148.99c70.98-34.24 120.42-82.95 111.8-115.24C262.11 9.31 233.47 0 202.76 0 111.73 0 0 60 0 136.55c0 9.84 2.17 20.84 6.06 32.37 20.76 27.55 84.24 15.84 158.4-19.93zM158.47 257.49c-49.92 20.24-78.49 13.79-94.28 1.17l-.23-.18c24.44 24.38 52.3 41.53 76.73 41.53 42.78 0 101.35-51.9 129.07-132.38-15.62 29.05-49.14 64.74-111.29 89.86z"}))},69152:(e,t,i)=>{i.d(t,{A:()=>n});var a=i(99750);let n=e=>(0,a.A)()<e},69933:(e,t,i)=>{i.d(t,{A:()=>p});var a=i(4964),n=i(70018),l=i(97975),r=i(56406),s=i(91295),o=i(37316),d=i.n(o),c=i(81778);let u=new l.A(60),p=e=>{let[t,i]=(0,a.useState)([[],[]]),l=(0,c.GV)(r.Nr),o=(0,s.sJ)();return(0,a.useEffect)(()=>(e.length>0&&(async()=>{let t=await u.call(e,e=>n.A.getPricingsByIds(e,l)),a=e.filter(e=>!t.some(t=>t.id===e));i([d()(t,t=>e.indexOf(t.id)),a])})(),()=>{u.unset(e)}),[e,l,o]),t}},70018:(e,t,i)=>{i.d(t,{A:()=>r});var a=i(45231),n=i(99927);let l=e=>({...e,futureAvailabilityDate:e.futureAvailabilityDate?new Date(e.futureAvailabilityDate):void 0}),r={async getPricingsByIds(e,t){if(0===e.length)return[];let{data:i}=await n.Ay.post("/variant/pricing",{variantIds:e,eligibleCampaignCode:t});return i.sort((e,t)=>{let i=a.kQ.hasDiscount(e),n=a.kQ.hasDiscount(t),l=a.kQ.getEffectivePriceWithVat(e),r=a.kQ.getEffectivePriceWithVat(t);if(!i&&n){if(l-r==0)return 1}else if(i&&!n&&l-r==0)return -1;return l-r})},async getAvailabilitiesByIds(e,t=!1){if(0===e.length)return[];let{data:i}=await n.Ay.post("/variant/availability",{variantIds:e,forceRefresh:t});return i.map(l)},async getProductWithVariants(e){let{data:t}=await n.Ay.get("/variant/ids",{params:{variantIds:e}});return t},async getProductsBySlugs(e){let{data:t}=await n.Ay.get("/variant/slugs",{params:{slugs:e}});return t}}},73277:(e,t,i)=>{var a,n,l,r,s,o,d,c,u,p,g,m,h,f,x,b,y;i.d(t,{IH:()=>a,Kn:()=>r,Lu:()=>f,MJ:()=>y,Ux:()=>d,aj:()=>g,eM:()=>h,k6:()=>p,zk:()=>o}),function(e){e.CARD="CARD",e.NETBANK="NETBANK",e.FUNDING="FUNDING",e.MOBILEPAY="MOBILEPAY",e.KLARNA="KLARNA"}(a||(a={})),(n||(n={})).MHS_OLD="MHS_OLD",function(e){e.MHS_SIM_USER_SELECTION="MHS_SIM_USER_SELECTION",e.MHS_ESIM_CARD_SELECTION="MHS_ESIM_CARD_SELECTION"}(l||(l={})),function(e){e.POSTI_PICKUPPOINT="POSTI_PICKUPPOINT",e.POSTI_SMARTPOST="POSTI_SMARTPOST",e.POSTI_PRIVATE_LOCKER="POSTI_PRIVATE_LOCKER",e.HOME_DELIVERY="HOME_DELIVERY",e.PICKUP_FROM_TELIA_SHOP="PICKUP_FROM_TELIA_SHOP",e.HOME_DELIVERY_PALLET="HOME_DELIVERY_PALLET",e.POSTNORD_PICKUPPOINT="POSTNORD_PICKUPPOINT",e.MATKAHUOLTO_PICKUPPOINT="MATKAHUOLTO_PICKUPPOINT",e.MATKAHUOLTO_HOME_DELIVERY="MATKAHUOLTO_HOME_DELIVERY",e.WOLT_DELIVERY="WOLT_DELIVERY"}(r||(r={})),(s||(s={})).POSTNORD_DELIVERY="POSTNORD_DELIVERY",(o||(o={})).MATKAHUOLTO_DELIVERY="MATKAHUOLTO_DELIVERY",(d||(d={})).HIGH_TRAFFIC_SHOP_AVAILABILITY="HIGH_TRAFFIC_SHOP_AVAILABILITY",(c||(c={})).DIRECT_SPOCK_CONNECTION="DIRECT_SPOCK_CONNECTION",(u||(u={})).ALSO_STOCK="ALSO_STOCK",function(e){e.LIPSCORE_REQUEST_REVIEWS="LIPSCORE_REQUEST_REVIEWS",e.LIPSCORE_DISPLAY_REVIEWS="LIPSCORE_DISPLAY_REVIEWS"}(p||(p={})),(g||(g={})).DEVICE_CHECKOUT_STRONG_AUTHENTICATION="DEVICE_CHECKOUT_STRONG_AUTHENTICATION",(m||(m={}
39)).BDL_PDF_ORDER_CONFIRMATION_SUBMIT="BDL_PDF_ORDER_CONFIRMATION_SUBMIT",(h||(h={})).KLARNA_MULTIPLE_INTEREST_RATES="KLARNA_MULTIPLE_INTEREST_RATES",(f||(f={})).KLARNA_INTEREST_RATE_INFO="KLARNA_INTEREST_RATE_INFO",function(e){e.AUTO_TOPUP="AUTO_TOPUP",e.UPDATE_PAYMENT_CARD="UPDATE_PAYMENT_CARD",e.REFILL_WITH_AUTO_TOPUP="REFILL_WITH_AUTO_TOPUP",e.ANALYTICS_KAFKA="ANALYTICS_KAFKA",e.ESIM="ESIM",e.ESIM_PACKAGE_SELECTION="ESIM_PACKAGE_SELECTION",e.SPECIAL_CAMPAIGN="SPECIAL_CAMPAIGN",e.AUTH_NEW_FLOW="AUTH_NEW_FLOW"}(x||(x={})),function(e){e.DQM_UPLOAD="DQM_UPLOAD",e.TERRA_UPLOAD="TERRA_UPLOAD"}(b||(b={})),(y||(y={})).KLARNA_PROMO_CODE="KLARNA_PROMO_CODE"},75418:(e,t,i)=>{i.d(t,{A:()=>f});var a=i(70952);i(4964);var n=i(53375),l=i(40910),r=i(98307);let s=n.Ay.article.withConfig({componentId:"sc-36743d24-0"})(["display:flex;flex-direction:column;position:relative;padding:"," ",";&:nth-child(1){border-top:none;}"," "," ",""],({theme:e})=>e.spacing.base.spacing200,({theme:e})=>e.spacing.base.spacing100,e=>e.$articleBorder&&` 40 border-top-style: solid; 41 border-top-width: 1px; 42 border-top-color: ${e.theme.colors.gray200}; 43 `,e=>e.$complimentaryBorder&&` 44 padding-top: 0; 45 `,e=>e.$hasImage&&` 46 min-height: 110px; 47 `),o=n.Ay.div.withConfig({componentId:"sc-36743d24-1"})(["border-top-style:",";border-top-width:1px;border-top-color:",";padding-bottom:",";"],e=>e.$borderTopStyle,({theme:e})=>e.colors.gray200,({theme:e})=>e.spacing.base.spacing200),d=n.Ay.div.withConfig({componentId:"sc-36743d24-2"})(["position:relative;max-width:80px;width:80px;"]),c=n.Ay.img.withConfig({componentId:"sc-36743d24-3"})(["object-fit:contain;max-height:80px;max-width:80px;"]),u=n.Ay.img.withConfig({componentId:"sc-36743d24-4"})(["position:absolute;top:0px;left:55px;width:30px;",""],({$fill:e,theme:t})=>e?` 48 position: relative; 49 top: 10%; 50 left: 25%; 51 width: 80%; 52 `:` 53 @media screen and (max-width: ${t.legacyBreakpoints.sm.min}) { 54 width: 25px; 55 } 56 `),p=n.Ay.h1.withConfig({componentId:"sc-36743d24-5"})(["font-size:16px;font-weight:bold;line-height:1.43;color:",";margin:0;"],({theme:e})=>e.colors.gray800),g=n.Ay.p.withConfig({componentId:"sc-36743d24-6"})(["position:absolute;font-size:10px;text-transform:uppercase;left:6px;padding:0 8px 0px 12px;top:-6px;background-color:",";color:",";"],({theme:e})=>e.colors.white,({theme:e})=>e.colors.gray300),m=n.Ay.div.withConfig({componentId:"sc-36743d24-7"})(["display:flex;flex-direction:row;gap:16px;"]),h=n.Ay.div.withConfig({componentId:"sc-36743d24-8"})(["min-width:80px;@media screen and (max-width:","){min-width:0;margin-left:-",";}"],({theme:e})=>e.legacyBreakpoints.xxxs.max,({theme:e})=>e.spacing.base.spacing100),f=({imageSrc:e,imageAlt:t,borderTop:i,isComplimentaryProduct:n,dividerText:f,title:x,children:b,details:y,sku:k,slug:v})=>(0,a.jsxs)(s,{$articleBorder:!n,$complimentaryBorder:!!i,$hasImage:!!e,"data-gtm-id":"ecom-flow:div:cart-product",children:[i&&(0,a.jsx)(o,{$borderTopStyle:i}),f&&(0,a.jsx)(g,{children:f}),(0,a.jsxs)(m,{children:[(0,a.jsxs)(d,{children:[e&&(0,a.jsx)(c,{src:e,alt:t}),n&&(0,a.jsx)(u,{src:`${(0,l.DJ)()}/images/percent.svg`,alt:"alennus kuvituskuva",$fill:!e})]}),(0,a.jsxs)("div",{children:[x&&(v&&k?(0,a.jsx)(r.N,{href:l.UG.product({slug:v,sku:k}),target:"_blank",rel:"noreferrer noopener","data-testid":"productTitleLink",children:(0,a.jsx)(p,{children:x})}):(0,a.jsx)(p,{children:x})),y]})]}),(0,a.jsxs)(m,{children:[(0,a.jsx)(h,{}),(0,a.jsx)("div",{style:{width:"100%"},children:b})]})]})},76403:(e,t,i)=>{i.d(t,{NL:()=>d,gk:()=>o});var a=i(98947),n=i(41694),l=i(45231),r=i(60054),s=i(78206);let o=(e,t,i,n="ProductListing")=>{let s=!!e.variants;if(!(null==t?void 0:t.length)&&!i.length)return e;let o=s?e.variants.map(e=>({...e,pricing:t.find(t=>t.id===e.id),pricingStatus:i.includes(e.id)?a.iw.NO_PRICE:a.iw.HAS_PRICE,variants:[]})):[],d=o.some(e=>e.pricingStatus===a.iw.HAS_PRICE),c=e.variants.map(e=>e.id),u="ProductListing"===n?t.filter(e=>c.includes(e.id)).sort(l.kQ.sortByPriceAscending).shift():t.find(t=>t.id===e.sapId),p={...e,pricing:u?(0,r.n)(u):void 0,pricingStatus:d||void 0!==u?a.iw.HAS_PRICE:a.iw.NO_PRICE,variants:o},g=("ProductPage"===n?l.kQ.hasDiscount(p.pricing):o.some(e=>l.kQ.hasDiscount(e.pricing)))?a.Sz.IS_DISCOUNT:e.status,m=o.sort((e,t)=>
56l.kQ.sortByPriceAscending(e.pricing,t.pricing)).filter(e=>l.kQ.hasDiscount(e.pricing)).shift();return{...p,status:g,discountText:l.kQ.getDiscountText(m)}},d=(e,t=[],i=[],a=[],l=[],r="ProductListing")=>{let d=new Map;return l.forEach(e=>{d.set(e.productId,e)}),e.map(e=>e.isTeaser?e:((e,t)=>{let i=!!e.variants;if(t&&t.length>0&&i){let i=e.variants.map(e=>t.find(t=>t.id===e.id)).filter(n.R),a=(0,s.vA)(i),l=e.variants.map(e=>({...e,status:a||null,availability:i.filter(t=>t.id===e.id)}));return{...e,variants:l,availability:i,status:a||e.status||null}}return e})(o(e,t,i,r),a)).map(e=>((e,t)=>e.contentfulId?{...e,productReviewSummary:t.get(e.contentfulId)}:e)(e,d))}},76803:(e,t,i)=>{i.d(t,{A:()=>c});var a=i(41694),n=i(76403),l=i(78206),r=i(4964),s=i(10537),o=i(69933),d=i(77483);let c=e=>{let t=(0,d.A)(e),[i,c]=(0,o.A)(t),u=(0,s.A)(t);return(0,r.useMemo)(()=>e.map(e=>(0,n.gk)(e,i,c,"ProductPage")).map(e=>{let t=u.filter(t=>t.id===e.id).filter(a.R),i=(0,l.vA)(t);return{...e,availability:t,status:i||e.status}}),[e,i,u,c])}},77483:(e,t,i)=>{i.d(t,{A:()=>r});var a=i(77544),n=i.n(a),l=i(4964);let r=e=>{let t=e.every(e=>!!e.variants);return(0,l.useMemo)(()=>t?n()(e.flatMap(e=>e.variants?.map(e=>e.id))):n()(e.map(e=>e.id)),[e,t])}},78686:(e,t,i)=>{i.d(t,{A:()=>n});var a=i(4964);let n=()=>{let[e,t]=(0,a.useState)(!1);return(0,a.useEffect)(()=>{t(!0)},[]),e}},79410:(e,t,i)=>{i.d(t,{A:()=>o});var a=i(70952),n=i(62750);i(4964);var l=i(53375);let r=l.Ay.span.withConfig({componentId:"sc-4c7d7564-0"})(["line-height:1em;",""],({$fixedSize:e})=>e?"font-size: 24px;":""),s=l.Ay.span.withConfig({componentId:"sc-4c7d7564-1"})(["line-height:1em;",""],({$fixedSize:e})=>e?"font-size: 16px;":(0,n.xo)(16,14,12)),o=({value:e,fixedSize:t,...i})=>(0,a.jsxs)("div",{...i,children:[(0,a.jsx)(r,{className:n.Il.pricingText.md,$fixedSize:!!t,children:e}),(0,a.jsx)(s,{className:n.Il.pricingText.sm,$fixedSize:!!t,children:"\xa0â¬"})]})},80562:(e,t,i)=>{i.d(t,{U_:()=>g,yE:()=>u,Ay:()=>m});var a=i(70952),n=i(4964),l=i(31044),r=i.n(l),s=i(53375),o=i(10948),d=i(55494),c=i(97137);let u=s.Ay.div.withConfig({componentId:"sc-62c7d4a3-0"})(["box-sizing:border-box;overflow-x:auto;overflow-y:hidden;white-space:nowrap;scrollbar-width:none;-ms-overflow-style:none;&::-webkit-scrollbar{display:none;}"]),p=s.Ay.div.withConfig({componentId:"sc-62c7d4a3-1"})(["position:relative;overflow:hidden;"]),g=s.Ay.button.withConfig({componentId:"sc-62c7d4a3-2"})(["position:absolute;width:40px;top:0;height:100%;border:none;z-index:",";cursor:pointer;color:",";background-color:"," !important;&.left{left:0;}&.right{right:0;}"],({theme:e})=>e.zIndexes.sticky-1,({theme:e})=>e.colors.purple550,({theme:e})=>e.colors.backgroundGray),m=({style:e,id:t,children:i,...l})=>{let s=(0,n.useRef)(null),{scrollLeft:u,scrollWidth:m,clientWidth:h}=(0,o.M)(s.current);return!function(e,t){let i=(0,n.useCallback)(()=>{!r()(e.current)&&t&&window.localStorage.setItem(`sp-${t}`,Math.floor(e.current.scrollLeft).toString())},[t]);(0,n.useEffect)(()=>{let t=e.current;return r()(t)||t.addEventListener("scroll",i),()=>{r()(t)||t.removeEventListener("scroll",i)}},[i]),(0,n.useEffect)(()=>{let i=e.current;if(!r()(i)&&window.localStorage&&t){let e=window.localStorage.getItem(`sp-${t}`);e&&(i.scrollLeft=parseInt(e,10))}},[t])}(s,t),(0,a.jsxs)(p,{style:e,...l,children:[i(s),u>0&&(0,a.jsx)(g,{className:"left",onClick:()=>{if(!r()(s.current)){let e=Math.max(0,u-m/3);s.current.scrollTo({left:e,behavior:"smooth"})}},"aria-label":"Vierit\xe4 vasemmalle",children:(0,a.jsx)(d.g,{size:"xs"})}),u+h<m&&(0,a.jsx)(g,{className:"right",onClick:()=>{if(!r()(s.current)){let e=Math.min(m,u+m/3);s.current.scrollTo({left:e,behavior:"smooth"})}},"aria-label":"Vierit\xe4 oikealle",children:(0,a.jsx)(c.V,{size:"xs"})})]})}},82303:(e,t,i)=>{i.d(t,{A:()=>n});var a=i(99927);let n={async getProductById({id:e,view:t="full"}){let i=`/products/cms/${e}`,{data:n}=await a.Ay.get(i,{params:{view:t}});return n},async getTeliaComplimentaryCampaign(e){let t=`/products/cms/${e}/complimentary-campaign`,{data:i}=await a.Ay.get(t);return i},async getShopAvailability(e,t,i,n){let{data:l}=await a.Ay.get(`/products/${e}/shop-availability?latitude=${t}&longitude=${i}&shops=${n}`);return l},async getShopAvailabilityByPlaceId(e,t,i){let{data:n}=await a.Ay.get(`/products/${e}/shop-availability/${t}?&shops=${i}`);return n},async getMatchProducts(e,t){let{data:i}=await a.Ay.get("/products/cms/match/products",{params:{ruleSet:JSON.stringify(e),extraProductIds:t}});return i},async getProductSelectionProducts(e){let{data:t}=await a.Ay.get(`/products/product-selection/${e}`);return t},async getPricingHistory(e){let{data:t}=await a.Ay.get(`/products/${e}/pricing/history`);return t},async getAllProducts(){let e=[],t=0,i=0;for(;t<10;){let{data:n}=await a.Ay.get(`/products/cms/match/products/all?limit=500&skip=${i}`,{timeout:6e5});if(0===n.length)break;e.push(...n),t+=1,i+=500}return e},async postNotificationForProduct(e){let{data:t}=await a.Ay.post(`/products/${e.variantId}/notifications`,{email:e.email,phone:e.phone});return t}}},82560:(e,t,i)=>{i.d(t,{A:()=>r});var a=i(4964),n=i(78217),l=i(43499);let r=e=>{let t=(0,n.usePathname)(),[i,r]=(0,a.useState)();return(0,a.useEffect)(()=>{let t=`${(()=>{let{protocol:e,hostname:t,port:i}
56=window.location;return`${e}//${t}${i?`:${i}`:""}`})()}${l.L.basePath}`;e.startsWith(t)&&r(e.replace(t,""))},[e,t]),i}},85363:(e,t,i)=>{i.d(t,{EI:()=>x,Ay:()=>b});var a=i(70952),n=i(4964),l=i(53375),r=i(62750),s=i(79495);let o=l.Ay.button.withConfig({componentId:"sc-30a5edb4-0"})(["width:100%;height:96px;background:",";margin:8px 0;padding:18px 16px;outline:0;"," box-sizing:border-box;border-radius:4px;display:flex;align-items:center;cursor:default;& > img{width:60px;max-height:60px;margin-right:8px;}& > span{text-align:left;display:flex;flex-grow:2;flex-direction:column;}&:focus-visible{border:4px solid ",";border-radius:4px;}&:disabled{cursor:not-allowed;img{mix-blend-mode:multiply;opacity:0.5;}}&:hover:not(:disabled):not(:focus){","}"],({theme:e})=>e.colors.white,({$isActive:e,theme:t})=>e?`border: 2px solid ${t.colors.purple500};`:`border: 1px solid ${t.colors.gray200};`,({theme:e})=>e.colors.blue400,({$isActive:e,theme:t})=>!e&&` 57 border: 1px solid ${t.colors.brandOffBlack}; 58 border-radius: 4px; 59 `),d=({onClick:e,isActive:t,icon:i,image:n,title:d,color:c,disabled:u,...p})=>{let{colors:g,spacing:m}=(0,l.DP)(),h=n?.src??"",f=""===h||h.includes(s.vn)?h:`${s.vn}${h}`;return(0,a.jsxs)(o,{onClick:e,$isActive:t,disabled:u,...p,children:[f&&(0,a.jsx)("img",{src:f,alt:n?.name}),(0,a.jsxs)("span",{className:r.Il.bodyText.md,style:{color:u?g.gray300:g.brandOffBlack},children:[d,c&&(0,a.jsx)("em",{className:r.Il.bodyText.sm,style:{color:u?g.gray300:g.gray500},children:c})]}),i&&(0,a.jsx)("div",{style:{marginLeft:"auto",paddingRight:m.base.spacing100,color:g.purple550},children:i})]})};var c=i(78206),u=i(45231),p=i(9642),g=i(81778),m=i(31464),h=i(50666),f=i(45449);let x=({onSelect:e,onCancel:t,title:i,variants:l,selectedVariant:r})=>{let[s,o]=(0,n.useState)(r);return(0,a.jsxs)(p.A,{primaryButtonText:"Valitse",secondaryButtonText:"Peruuta",onPrimaryButtonClick:()=>e(s),title:i,isOpen:!0,onSecondaryButtonClick:()=>t(),children:[(0,a.jsx)(d,{onClick:()=>o(void 0),title:"Ei kaupanp\xe4\xe4llist\xe4",isActive:void 0===s,"data-e2e-selector":"no-complimentary-option",icon:void 0===s?(0,a.jsx)(h.V,{size:"md"}):void 0}),l.map(e=>{let t=e.id===s?.id,i=e.availability?.some(e=>c.xO.isAvailable(e)||c.xO.isAvailableInFuture(e));return(0,a.jsx)(d,{onClick:()=>{i&&o(e)},image:e.bynderImages?.[0],title:e.pageTitle,color:u.N2.getColor(e)?.variantName||void 0,icon:t?(0,a.jsx)(h.V,{size:"md"}):void 0,isActive:t,disabled:!i},e.id)})]})},b=({variants:e,parentVariantId:t})=>{let{spacing:i}=(0,l.DP)(),s=(0,g.jL)(),[o,c]=(0,n.useState)(!1),[p,h]=(0,n.useState)(void 0),b=(0,g.GV)(e=>e.cart.active.complimentarySelections[t]);return(0,n.useEffect)(()=>{h(e.find(e=>e.id===b))},[b,e]),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(d,{onClick:()=>c(!0),image:p?p.bynderImages?.[0]:void 0,title:p?p.pageTitle:"Ei kaupanp\xe4\xe4llist\xe4",color:p&&u.N2.getColor(p)?.variantName||void 0,icon:(0,a.jsx)(f.r,{size:"md"}),isActive:!0,"data-e2e-selector":"complimentary-alternative-selection-button"}),o&&(0,a.jsx)(x,{variants:e,selectedVariant:p,title:(0,a.jsx)("span",{className:r.Il.title.xs,style:{paddingBottom:i.base.spacing400},children:"Valitse kaupanp\xe4\xe4llinen"}),onSelect:e=>(e=>{c(!1),h(e),s((0,m.eq)({variantId:t,complimentaryVariantId:e?.id??null}))})(e),onCancel:()=>{c(!1)}})]})}},92633:(e,t,i)=>{i.d(t,{A:()=>l});var a=i(69152),n=i(41165);let l=()=>(0,a.A)(n.E.MD)},97975:(e,t,i)=>{i.d(t,{A:()=>a});class a{constructor(e){this.cache={},this.ttlInMs=1e3*e}set(e){this.cache[e.id]={value:e,storedAt:Date.now()}}get(e){let t=this.cache[e];if(t&&t.storedAt+this.ttlInMs>Date.now())return t.value}unset(e){Array.isArray(e)?e.forEach(e=>delete this.cache[e]):delete this.cache[e]}async call(e,t){let i=[],a=e.filter(e=>{let t=this.get(e);return!t||(i.push(t),!1)});if(0===a.length)return i;let n=await t(a);return n.forEach(e=>{this.set(e)}),[...i,...n]}}},98307:(e,t,i)=>{i.d(t,{N:()=>u,v:()=>p});var a=i(70952);i(4964);var n=i(40420),l=i.n(n),r=i(82560),s=i(25113),o=i(54598),d=i.n(o),c=i(78217);let u=({href:e,passHref:t,prefetch:i=!1,children:n,className:s,...o})=>{let c=(0,r.A)(e);return(0,a.jsx)(l(),{href:c||e,passHref:t,prefetch:i,className:d()("d-link",s),...o,children:n})},p=({href:e,onClick:t,...i})=>{let n=(0,c.useRouter)(),l=e?()=>{n.push(e)}:void 0;return(0,a.jsx)(s.$,{...i,onClick:t||l})}},99750:(e,t,i)=>{i.d(t,{A:()=>l});var a=i(4964),n=i(50780);let l=()=>(0,a.useContext)(n.x)}}]);
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.