1"use strict";(self.webpackChunkltfi=self.webpackChunkltfi||[]).push([[575],{2108:function(e,t,n){n.r(t),n.d(t,{default:function(){return $}});var i=n(6540),a=n(9751),l=n(823),r=n(3679),o=n(795),d=n(1815),m=n(5982),s=n(4926),c=n(5823),p=n(4633),g=n(6733);const u=(0,r.styled)(d.A).withConfig({displayName:"NewFooter__StyledLink",componentId:"sc-47vq8t-0"})(["&::part(duet-link){text-decoration:none;&:hover{text-decoration:underline;color:inherit;}}&::part(duet-link-content){text-decoration:none;}&.segment-e-link{font-size:4vw;letter-spacing:0px;@media (max-width:27.5rem){font-size:1.1rem;}@media (min-width:28.4091rem){font-size:1.13636rem;}}"]),h=r.styled.div.attrs({slot:"extra"}).withConfig({displayName:"NewFooter__SlotContainer",componentId:"sc-47vq8t-1"})(["width:100%;display:block;text-align:left;padding:0 20px 0 28px !important;@media ","{padding:28px !important;}@media ","{padding-right:0px !important;padding-left:8px !important;}"],(0,p._n)(l.iqz),(0,p._n)(l.GOF)),f="70.563em",y="68.375em",x=r.styled.div.withConfig({displayName:"NewFooter__ColumnsABCD",componentId:"sc-47vq8t-2"})(["display:grid;gap:35px;grid-template-columns:1fr;grid-template-areas:'A' 'B' 'C' 'D';@media ","{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-areas:",";}@media ","{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-areas:",";}@media (min-width:","){","}@media (min-width:","){","}& > [data-area='A']{grid-area:A;min-width:0;}& > [data-area='B']{grid-area:B;min-width:0;}& > [data-area='C']{grid-area:C;min-width:0;}& > [data-area='D']{grid-area:D;min-width:0;}"],(0,p._n)(l.M8k),(e=>{let{$dEmpty:t}=e;return t?'\n "A B"\n "C ."\n ':'\n "A B"\n "C D"\n '}),(0,p._n)(l.GOF),(e=>{let{$dEmpty:t}=e;return t?'\n "A B"\n "C ."\n ':'\n "A B"\n "C D"\n '}),y,(e=>{let{$dEmpty:t}=e;return t&&r.css` 2 grid-template-columns: 230px 230px minmax(460px, 1fr); 3 grid-template-areas: 'A B C'; 4 `}),f,(e=>{let{$dEmpty:t}=e;return!t&&r.css` 5 grid-template-columns: repeat(4, minmax(230px, 1fr)); 6 grid-template-areas: 'A B C D'; 7 `})),C=r.styled.section.withConfig({displayName:"NewFooter__Area",componentId:"sc-47vq8t-3"})(["display:flex;flex-direction:column;gap:12px;text-align:left;.rich-text,.rich-text *{min-width:0;overflow-wrap:anywhere;word-break:break-word;}.rich-text duet-link::part(duet-link-content){color:",";text-decoration:underline;&:hover{text-decoration:none;}}"],(e=>(0,g.KK)(e.$textColor))),b=r.styled.ul.withConfig({displayName:"NewFooter__LinksList",componentId:"sc-47vq8t-4"})(["list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px;"]),k=r.styled.li.withConfig({displayName:"NewFooter__LinkItem",componentId:"sc-47vq8t-5"})(["margin:0;padding:0;a{display:inline-block;text-decoration:none;}"]),v=r.styled.div.withConfig({displayName:"NewFooter__SegmentE",componentId:"sc-47vq8t-6"})(["width:100%;display:grid;gap:35px;margin-top:35px;grid-template-columns:1fr;@media ","{grid-template-columns:repeat(2,minmax(0,1fr));}@media ","{grid-template-columns:repeat(2,minmax(0,1fr));}@media (min-width:","){","}@media (min-width:","){","}"],(0,p._n)(l.M8k),(0,p._n)(l.GOF),y,(e=>{let{$dEmpty:t}=e;return t&&r.css` 8 grid-template-columns: 230px 230px minmax(460px, 1fr); 9 `}),f,(e=>{let{$dEmpty:t}=e;return!t&&r.css` 10 grid-template-columns: repeat(4, minmax(230px, 1fr)); 11 `}));var E=(0,c.A)((e=>{let t,n,l,r,d,c,g,f,y,E,w,A;e.locale===o.$52&&(t=e.headingA,n=e.headingB,l=e.headingC,r=e.headingD,d=e.linkListA,c=e.linkListB,g=e.linkListC,f=e.linkListD,y=e.bodyTextA,E=e.bodyTextB,w=e.bodyTextC,A=e.bodyTextD),e.locale===o.RHJ&&(t=e.headingAEn,n=e.headingBEn,l=e.headingCEn,r=e.headingDEn,d=e.linkListAEn,c=e.linkListBEn,g=e.linkListCEn,f=e.linkListDEn,y=e.bodyTextAEn,E=e.bodyTextBEn,w=e.bodyTextCEn,A=e.bodyTextDEn),e.locale===o.hCU&&(t=e.headingASv,n=e.headingBSv,l=e.headingCSv,r=e.headingDSv,d=e.linkListASv,c=e.linkListBSv,g=e.linkListCSv,f=e.linkListDSv,y=e.bodyTextASv,E=e.bodyTextBSv,w=e.bodyTextCSv,A=e.bodyTextDSv);const L=r,D=Array.isArray(f)&&f.length>0,_=A?A.raw:void 0,N=!(L||D||_),B=(0,p.Tn)()?"gray-lightest-turva":"gray-lightest",S=(e,t,n,a)=>{const l=Array.isArray(n)?n:[],r=!(null==a||!a.raw);return!!t||l.length>0||r?i.createElement(C,{"data-area":e,$textColor:B}
11,t?i.createElement(s.A,{level:"h3",visualLevel:"h5",color:B},t):null,r?i.createElement(m.A,{body:a,childrenContentfulRichTextStyleJsonNode:[{textColor:B}],parentComponent:o.gy0}):null,l.length>0&&i.createElement(b,null,l.map(((e,t)=>i.createElement(k,{key:`footer-link-${t}`},i.createElement(u,{href:e.href,label:e.label,labelFinnish:e.labelFinnish,linkColor:B,parentComponent:o.gy0})))))):null};return i.createElement(a.Oq,{theme:e.theme,id:"duet-footer",variation:"default",accessibleLabel:e.accessibleLabel,logoHref:e.logoHref,menu:e.menu,onDuetMenuClick:e.onDuetMenuClick,onDuetLogoClick:e.onDuetLogoClick,"data-testid":"duet-footer",margin:"none"},i.createElement(h,null,i.createElement(x,{$dEmpty:N},S("A",t,d,y),S("B",n,c,E),S("C",l,g,w),S("D",r,f,A)),(e=>{const t=Array.isArray(e)?e:[];return 0===t.length?null:i.createElement(v,{$dEmpty:N},t.map(((e,t)=>i.createElement(u,{className:"segment-e-link",href:e.href,label:e.label,labelFinnish:e.labelFinnish,parentComponent:o.gy0,linkColor:B,key:`E-${t}`,childrenContentfulLinkStyleJsonNode:[{fontWeight:"semi-bold",fontSize:"override-default"}]}))))})(e.segmentE)))})),w=n(4081),A=n(2428),L=n(9992);var D=()=>{const e=i.useContext(A.A),t=e.node_locale===o.Xn3?"/":`/${e.node_locale}/`;return(0,L.hg)(`${t}${e.defaultSegment.slug}`)},_=n(3518),N=n(4919),B=n(7411),S=n(102);var T=e=>{const t=(0,w.A)(),n=D(),{navigateTo:a}=(0,_.A)(),l=(0,N.Mf)(B.pQ),r=i.useCallback((e=>{const{data:t,originalEvent:n}=e.detail;l((0,p.Tn)()?B.Hz:B.$f);const i=(0,S.gD)(S.bE.INTERNAL,t.href);(0,S.mi)(i),a(t.href),n.preventDefault()}),[l,a]),d=i.useCallback((e=>{const{data:t,originalEvent:n}=e.detail;if(!t.href)return;l(t.analyticsId);const i=(0,S.gD)(S.bE.INTERNAL,t.href);(0,S.mi)(i),a(t.href),n.preventDefault()}),[l,a]),m=e.bottomLinks?e.bottomLinks.reduce(((e,n)=>{var i;const a=(0,B.bh)(n.analyticsKey,o.gy0,n.labelFinnish),l=null!==(i=(0,L.Lo)(n.href))&&void 0!==i?i:"";return e.push({analyticsId:a,label:n.label,href:l,external:t&&(0,L.kG)(n.href),icon:n.icon}),e}),[]):[];return i.createElement(E,Object.assign({menu:m,logoHref:n},e,{onDuetMenuClick:d,onDuetLogoClick:r,locale:e.locale}))};var $=e=>{var t;let{data:n,sliceContext:a}=e;const l=null===(t=n.contentfulSegment)||void 0===t?void 0:t.footer;return l?i.createElement(T,Object.assign({},l,{accessibleLabel:a.footerAccessibleLabel||"",locale:a.locale})):null}}}]);
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.