PageSourceSearch

https://www.folksam.se/_next/static/chunks/pages/[[...slug]]-e6802507635c8bea.js

js folksam.se collected 2026-09-24 09:13:13 UTC 139,841 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[243],{169:(e,n,l)=>{"use strict";l.d(n,{A:()=>o});var t=l(8595);let i=()=>{if(window.OptanonActiveGroups&&window.adobe){var e=[],n={aa:",C0002,",ecid:",C0002,",target:",C0005,"};for(var l in n)window.OptanonActiveGroups.indexOf(n[l])>-1&&e.push(l);e.length>0&&adobe.optIn.approve(e,!0),adobe.optIn.complete()}};var r=l(3030);let o=(e,n)=>{let l=(0,r.usePathname)();window.OptanonWrapper=i,(0,t.useMemo)(()=>{window.datalayer={...n}},[e,l,n])}},3674:(e,n,l)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/[[...slug]]",function(){return l(9249)}])},9249:(e,n,l)=>{"use strict";l.r(n),l.d(n,{__N_SSP:()=>nM,default:()=>nY});var t=l(9787),i=l(169),r=l(8595),o=l(6410);let a=e=>(0,t.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(e.structuredData)}});var d=l(6342),s=l(836);let x=e=>{let{image:n,heading:l,paragraph:i}=e;return(0,t.jsxs)(t.Fragment,{children:[n&&"string"==typeof n.src&&"string"==typeof n.alt&&(0,t.jsx)(o.azJ,{sx:{margin:"auto",width:"100%",position:"relative",height:"153px",[d.Ay.from(d.Ay.TABLET)]:{height:"250px"},[d.Ay.from(d.Ay.LARGE_DESKTOP)]:{maxWidth:"2560px",height:"335px"}},children:(0,t.jsx)(o._V3,{fill:!0,priority:!0,src:n.src,alt:n.alt,sx:{display:"block",width:"100%"}})}),("string"==typeof(null==l?void 0:l.text)||"string"==typeof i)&&(0,t.jsx)(o.azJ,{sx:{marginX:"1rem"},children:(0,t.jsxs)(o.azJ,{sx:{maxWidth:"700px",paddingY:"2rem",margin:"auto"},children:[l&&(0,t.jsx)(s.gA,{as:l.as,variant:l.variant,color:l.color,sx:{paddingBottom:"0.75rem"},children:l.text}),"string"==typeof i&&i&&(0,t.jsx)(o.fzL,{children:i})]})})]})},u=e=>{let{link:n,icon:l}=e;return(null==n?void 0:n.text)&&(null==n?void 0:n.url)?(0,t.jsx)(o.son,{as:"li",sx:{[d.Ay.to(d.Ay.SMALL_MOBILE)]:{hyphens:"auto",overflowWrap:"break-word"},borderTop:e=>{var n,l;return"solid 1px ".concat(null==(l=e.colors)||null==(n=l.greyScale)?void 0:n[2])},"&:last-of-type":{borderBottom:e=>{var n,l;return"1px solid ".concat(null==(l=e.colors)||null==(n=l.greyScale)?void 0:n[2])}},paddingY:"3",WebkitTextSizeAdjust:"100%"},children:(0,t.jsxs)(o.N_E,{sx:{width:"100%"},href:n.url,rel:"noopener noreferrer",target:"_blank",children:[(0,t.jsx)(o.azJ,{sx:{marginRight:"5px",minWidth:"24px"},children:(0,t.jsx)(s.FI,{icon:l})}),n.text]})},n.text):null},c=e=>{let{heading:n,text:l,linkIconCollection:i}=e;return(0,t.jsxs)(o.son,{sx:{maxWidth:"42rem",flexDirection:"column"},children:[n&&(0,t.jsx)(s.gA,{as:n.as,variant:n.variant,color:n.color,children:n.text}),(0,t.jsxs)(o.azJ,{children:[l&&(0,t.jsx)(s.sD,{richTextArray:l,sx:{paddingY:"6"}}),i&&i.length>0&&(0,t.jsx)(o.azJ,{as:"ul",sx:{padding:0},children:i.map((e,n)=>(0,t.jsx)(u,{link:null==e?void 0:e.link,icon:e.icon},n))})]})]})},m=e=>{let{icon:n,paragraph:l,boldParagraph:i,link:r}=e;return(0,t.jsxs)(o.son,{sx:{paddingX:"1rem",borderRadius:"0.5rem",boxShadow:"0px 0px 2px rgba(93, 105, 126, 0.1), 0px 3px 8px rgba(93, 105, 126, 0.15)"},children:[(0,t.jsxs)(o.son,{sx:{gap:"10px",flexDirection:"column"},children:[i&&(0,t.jsx)(o.fzL,{sx:{fontFamily:"var(--folksamSans-bold)",fontSize:"1.25rem"},children:i}),l&&(0,t.jsx)(o.fzL,{children:l}),r.text&&(0,t.jsxs)(o.N_E,{href:r.href?r.href:"",children:[r.text," ",(0,t.jsx)(o.rWz,{})]})]}),h(n)]})},h=e=>{switch(e){case"/media/Bird-cloud-blue_tcm5-18773_ver_2_tcm5-18773.svg":return(0,t.jsx)(o.J8t,{height:"50px",width:"50px"});case"/media/Appletrad_tcm5-18772_ver_2_tcm5-18772.svg":return(0,t.jsx)(o._Su,{height:"50px",width:"50px"});default:return null}},p=e=>{let{data:n}=e;return(0,t.jsx)(o.son,{sx:{maxWidth:"1000px",margin:"auto",gap:"2rem",marginY:"3rem",flexDirection:"column",paddingX:"2.5rem",[d.Ay.from(d.Ay.DESKTOP)]:{flexDirection:"row"}},children:Array.isArray(n)&&(null==n?void 0:n.map((e,n)=>{let{icon:l,content:i,subHeading:r,link:o}=e;return(0,t.jsx)(m,{paragraph:i.text,boldParagraph:r.text,icon:l,link:o},n)}))})},g=e=>{let{paragraph:n,boldParagraph:l,title:i}=e;return n||l||i?(0,t.jsxs)(o.azJ,{as:o.N_E,href:"#",sx:{all:"unset",paddingX:"1rem",backgroundColor:"greyScale.1",cursor:"pointer"},children:[i&&(0,t.jsx)(o.fzL,{sx:{color:"greyScale.4"},children:i}),l&&(0,t.jsx)(o.fzL,{sx:{fontFamily:"var(--folksamSans-bold)",color:"blueScale.4",fontSize:"1.25rem"},children:l}),n&&(0,t.jsx)(o.fzL,{children:n})]}):null},v=e=>{let{data:n}=e;return(0,t.jsx)(o.son,{sx:{maxWidth:"1000px",margin:"auto",gap:"1rem",marginY:"2rem",flexDirection:"column",paddingX:"2.5rem",[d.Ay.from(d.Ay.DESKTOP)]:{flexDirection:"row"}},children:Array.isArray(n)&&(null==n?void 0:n.map((e,n)=>{let{content:l,subHeading:i,link:r}=e;return(0,t.jsx)(g,{paragraph:l.text,boldParagraph:i.text,title:r.text},n)}))})},f=e=>{let n=e.target.value;window.location.href=n},j=e=>{let{heading:n,text:l,alignment:i,dropdownPlaceholder:r,dropdownOptions:a}=e;return(null==a?void 0:a.length)<0?null:(0,t.jsxs)(o.son,{sx:{flexDirection:"column",gap:2,alignItems:i},children:[n&&(0,t.jsx)(s.gA,{as:n.as,variant:n.variant,color:n.color,children:n.text}),l&&(0,t.jsx)(o.fzL,{children:l}),(0,t.jsx)(o.son,{sx:{width:"100%",marginTop:2,">div":{width:"100%",flex:1},[d.Ay.from(d.Ay.TABLET)]:{width:"fit-content"}},children:(null==a?void 0:a.length)>0&&(0,t.jsx)(o.l6P,{onChange:f,placeholder:r,children:null==a?void 0:a.map(e=>{var n;return(0,t.jsx)(o.l6P.Option,{value:null!=(n=e.selectOptionValue)?n:"",style:{fontFamily:"var(--folksamSans)"},children:e.selectOptionText},e.selectOptionText)})})})]})},y=e=>{let{list:n}=e;return(0,t.jsx)(t.Fragment,{children:n.map(e=>(0,t.jsxs)(o.son,{as:"li",sx:{paddingBottom:"2rem"},children:[(0,t.jsx)(o.azJ,{sx:{color:"blueScale.3",minWidth:"fit-content"},children:(0,t.jsx)(o.iWP,{})}),(0,t.jsx)(o.fzL,{sx:{marginLeft:"3",fontSize:"md"},children:e})]},e))})},A=e=>{let{heading:n,text:l,list:i,buttonText:r}=e;return(0,t.jsx)(o.son,{sx:{justifyContent:"center",flexDirection:"column",alignItems:"center"},children:(0,t.jsx)(o.son,{sx:{alignItems:"center",flexDirection:"column",paddingY:["6",null,null,"10"],paddingX:["5",null,"8","0"],width:"100%"},children:(0,t.jsxs)(o.son,{sx:{alignItems:"center",flexDirection:"column"},children:[n&&(0,t.jsx)(o.DZT,{as:"h2",sx:{textAlign:"center",color:"blueScale.4",paddingBottom:"4",fontSize:"lg"},children:n}),l&&(0,t.jsx)(o.fzL,{sx:{marginBottom:"1.75rem"},children:l}),(0,t.jsx)(o.azJ,{as:"ul",sx:{listStyle:"none",padding:0},children:i&&(0,t.jsx)(y,{list:i})}),(0,t.jsx)(o.azJ,{sx:{paddingTop:"8"},children:r&&(0,t.jsx)(o.$nd,{variant:"outlined",children:r})})]})})})};var k=l(9365);let w=e=>{let{cards:n,sx:l,showedItemsMobile:i,showedItemsTablet:r,showedItemsDesktop:a,showAllItems:x}=e,{setActiveModalButton:u}=(0,k.h)();return(null==n?void 0:n.length)<=0?null:(0,t.jsx)(o.azJ,{sx:{display:"grid",alignItems:"center",gap:3,...l},children:null==n?void 0:n.map((e,n)=>{var l,c,m,h,p,g,v;return(0,t.jsx)(o.pqK,{sx:{backgroundColor:"white",maxHeight:"115px !important",width:"100% !important",justifyItems:"center !important",paddingX:"0.5rem !important",opacity:x||i>n?"1":"0",display:x||i>n?"block":"none",[d.Ay.from(d.Ay.TABLET)]:{display:x||r>n?"block":"none",opacity:x||r>n?"1":"0"},[d.Ay.from(d.Ay.DESKTOP)]:{display:x||a>n?"block":"none",opacity:x||a>n?"1":"0"},transition:x?"opacity 0.3s ease-in":"opacity 0.1s ease-out",":hover":{boxShadow:"md"},boxShadow:"xs",textDecoration:"none",flexDirection:"column",borderRadius:"lg",justifyContent:"center",alignItems:"center",flexGrow:1,cursor:"pointer",">
1 *":{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",width:"inherit","> svg":{margin:"auto"}}},icon:()=>null===e.illustration?(0,t.jsx)(t.Fragment,{}):(0,t.jsx)(s.KQ,{illustrationObject:e.illustration}),as:(null==e||null==(c=e.link)||null==(l=c.url)?void 0:l.toLowerCase().includes("modal="))?"button":"a",rel:"string"==typeof(null==e||null==(m=e.link)?void 0:m.rel)?e.link.rel:void 0,onClick:n=>{var l,t;void 0!==(null==e||null==(l=e.link)?void 0:l.url)&&((e,n)=>{(null==n?void 0:n.toLowerCase().includes("modal="))&&(e.preventDefault(),u(null==n?void 0:n.split("modal=")[1]))})(n,null==e||null==(t=e.link)?void 0:t.url)},href:(null==e||null==(p=e.link)||null==(h=p.url)?void 0:h.toLowerCase().includes("modal="))||null==e||null==(g=e.link)?void 0:g.url,children:null==e||null==(v=e.link)?void 0:v.text},n)})})},T=e=>{let{showedItemsMobile:n,showedItemsTablet:l,showedItemsDesktop:i,itemsPerRowMobile:a,itemsPerRowTablet:s,itemsPerRowDesktop:x,cards:u,showMoreButton:c}=e,[m,h]=(0,r.useState)(!1),p=(e,n,l)=>n?133*Math.ceil(l/e)+133*Math.ceil((null==u?void 0:u.length)-l/e):133*Math.ceil(l/e),g=p(a,!1,n),v=p(s,!1,l),f=p(x,!1,i),j=p(a,!0,n),y=p(s,!0,l),A=p(x,!0,i);return(0,t.jsx)(o.azJ,{sx:{width:"100%"},children:(0,t.jsxs)(o.azJ,{sx:{margin:"auto"},children:[(0,t.jsx)(w,{cards:u,showedItemsMobile:n,showedItemsTablet:l,showedItemsDesktop:i,showAllItems:m,sx:{fontFamily:"var(--folksamSans-bold)",height:"100%",transition:m?"max-height 0.4s ease-in-out, padding 0.2s ease-in-out":"max-height 0.2s cubic-bezier(0, 1, 0, 1), padding 0.1s cubic-bezier(0, 1, 0, 1)",overflowY:"clip",paddingTop:3,paddingBottom:(null==u?void 0:u.length)<=n||m||!c?3:0,gridTemplateColumns:"repeat(".concat(a,", 1fr)"),maxHeight:m?j:g,[d.Ay.from(d.Ay.TABLET)]:{paddingBottom:(null==u?void 0:u.length)<=l||m||!c?3:0,maxHeight:m?y:v,gridTemplateColumns:"repeat(".concat(s,", 1fr)")},[d.Ay.from(d.Ay.DESKTOP)]:{paddingBottom:(null==u?void 0:u.length)<=i||m||!c?3:0,maxHeight:m?A:f,gridTemplateColumns:"repeat(".concat(x,", 1fr)")},[d.Ay.MODAL]:{paddingBottom:(null==u?void 0:u.length)<=n||m?3:0,maxHeight:m?j:g,gridTemplateColumns:"repeat(".concat(a,", 1fr)")}}}),c&&(0,t.jsx)(o.son,{sx:{justifyContent:"center"},children:(0,t.jsx)(o.$nd,{variant:"outlined",sx:{width:"100%",marginY:6,maxWidth:"335px",display:(null==u?void 0:u.length)>n?"flex":"none",[d.Ay.from(d.Ay.TABLET)]:{display:(null==u?void 0:u.length)>l?"flex":"none"},[d.Ay.from(d.Ay.DESKTOP)]:{display:(null==u?void 0:u.length)>i?"flex":"none"},[d.Ay.MODAL]:{display:(null==u?void 0:u.length)>n?"flex":"none"}},onClick:()=>{h(e=>!e)},children:m?(0,t.jsxs)(t.Fragment,{children:["Visa f\xe4rre ",(0,t.jsx)(o.YPw,{})]}):(0,t.jsxs)(t.Fragment,{children:["Visa fler ",(0,t.jsx)(o.uID,{})]})})})]})})};var b=l(5738);let L=e=>{let{headings:n,paragraph:l,centerHeading:i,centerText:r,spacingTop:a,spacingBottom:x,data:u}=e,c=e=>{let{headings:n,paragraph:l,centerHeading:i}=e;return(0,t.jsxs)(t.Fragment,{children:[n&&n.map((e,n)=>(0,t.jsx)(s.gA,{as:e.as,variant:e.variant,color:e.color,className:"heading-".concat(null==e?void 0:e.as),sx:{textAlign:i?"center":"start",marginBottom:"0.75rem",padding:"0.1rem"},children:e.text},n)),l&&(0,t.jsx)(b.s,{richTextArray:l,sx:r?{margin:r?"auto":"0",textAlign:r?"center":"start",width:"100%",color:"greyScale.5",[d.Ay.from(d.Ay.TABLET)]:{width:"80%"}}:{margin:r?"auto":"0",textAlign:r?"center":"start",width:"100%",color:"greyScale.5"}})]})};return u&&Array.isArray(u)?(0,t.jsx)(o.son,{sx:{gap:"1.25rem",flexDirection:"column"},children:u.map((e,n)=>{let{headings:l,paragraph:i,centerHeading:r,centerText:d}=e;return(0,t.jsx)(o.azJ,{children:c({headings:l,paragraph:i,centerHeading:r,centerText:d,spacingTop:a,spacingBottom:x})},n)})}):(0,t.jsx)(o.azJ,{sx:{marginTop:null!=a?a:null,marginBottom:null!=x?x:null},children:c({headings:n,paragraph:l,centerHeading:i,centerText:r})})},B=e=>{let{heading:n,headingColor:l,paragraph:i,link:r,convertLinkToButton:a,simpleCardVariant:d,badge:x,icon:u}=e;return(0,t.jsx)(o.ZpM,{variant:"article",backgroundColor:"grey"===d?"greyScale.1":"blue"===d?"blueScale.1":"green"===d?"greenScale.1":d,sx:{width:"100%",maxWidth:"816px",alignSelf:"center",height:"100%"},children:(0,t.jsxs)(o.son,{sx:{width:"100%",height:"100%",paddingX:6,paddingY:5,flexDirection:"column",gap:"0.6rem","> svg":{color:l}},children:[u&&(0,t.jsx)(s.FI,{icon:u}),x.text&&x.color&&(0,t.jsx)(o.Exy,{as:"span",variant:x.color,sx:{width:"fit-content",paddingY:"2px",paddingX:"8px"},children:x.text}
1),n&&(0,t.jsx)(s.gA,{as:n.as,variant:n.variant,sx:{display:"-webkit-box",WebkitLineClamp:"2",overflow:"hidden",WebkitBoxOrient:"vertical",fontSize:"1.25rem"},children:n.text}),i&&(0,t.jsx)(o.fzL,{sx:{display:"-webkit-box",WebkitLineClamp:"4",overflow:"hidden",WebkitBoxOrient:"vertical",color:"greyScale.5"},children:i}),a&&r&&(null==r?void 0:r.url)&&(null==r?void 0:r.text)&&(null==r?void 0:r.target)?(0,t.jsx)(o.$nd,{as:o.N_E,href:r.href,variant:"primary",rel:"string"==typeof r.rel?r.rel:void 0,target:r.target,sx:{width:"100%"},children:r.text}):r&&r.url&&r.text&&r.target&&(0,t.jsxs)(o.N_E,{href:r.url,rel:"string"==typeof r.rel?r.rel:void 0,target:r.target,sx:{width:"fit-content",color:"green"===d?"greenScale.4":"blueScale.3",marginTop:"auto"},children:[r.text,(0,t.jsx)(o.rWz,{})]})]})})},C=e=>{var n,l;let{image:i,heading:r,paragraph:a,richTextParagraph:x,link:u,convertLinkToButton:c,buttonVariant:m,cardVariant:h,imagePlacementMobile:p}=e,g=null==i||null==(l=i.src)||null==(n=l.toString())?void 0:n.endsWith(".svg"),{isLargeMobile:v}=(0,o.dvO)();return(0,t.jsxs)(o.son,{sx:{width:"100%",gap:4,flexDirection:"imageBottom"===p?"column-reverse":"column",paddingX:"imageTop"!==h&&"1rem",maxWidth:"imageTop"!==h?"initial":"335px",[d.Ay.from(d.Ay.TABLET)]:{alignItems:"imageTop"!==h&&"center",justifyContent:"imageTop"!==h&&"center",flexDirection:"imageRight"===h?"row-reverse":"imageLeft"===h&&"row",gap:"imageTop"!==h&&12}},children:[i&&"string"==typeof i.src&&i.src.length>0&&(0,t.jsx)(o.azJ,{sx:{position:"relative",width:"100%",aspectRatio:"2.1",height:"200px",alignItems:"center",[d.Ay.from(d.Ay.TABLET)]:{flexBasis:"imageTop"!==h&&"50%",height:"imageTop"!==h&&"300px",maxWidth:"imageTop"!==h&&"408px"},"> div":{width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center"}},children:(0,t.jsx)(o._V3,{fill:!g,width:0,height:g&&v?40:g&&!v?52:0,alt:i.alt,src:i.src,sx:{borderRadius:"16px",width:"100%",height:"auto"}})}),(0,t.jsxs)(o.son,{sx:{flexDirection:"column",gap:"0.6rem",[d.Ay.from(d.Ay.TABLET)]:{flexBasis:"imageTop"!==h&&"50%",maxWidth:"imageTop"!==h&&"300px"}},children:[r&&(0,t.jsx)(s.gA,{as:r.as,variant:r.variant,sx:{display:"-webkit-box",WebkitLineClamp:"2",overflow:"hidden",WebkitBoxOrient:"vertical",fontSize:"1.25rem"},children:r.text}),a&&(0,t.jsx)(o.fzL,{color:"greyScale.5",sx:{display:"-webkit-box",WebkitLineClamp:"4",overflow:"hidden",WebkitBoxOrient:"vertical"},children:a}),x&&(0,t.jsx)(s.sD,{richTextArray:x}),c&&u&&(null==u?void 0:u.url)&&(null==u?void 0:u.text)&&(null==u?void 0:u.target)?(0,t.jsx)(o.N_E,{href:u.url,rel:"string"==typeof u.rel?u.rel:void 0,target:null==u?void 0:u.target,sx:{marginTop:"0.25rem",width:"100%",paddingTop:"0.5rem",paddingBottom:"0.5rem",paddingLeft:"1.25rem",paddingRight:"1.25rem",boxShadow:"0px 1px 4px 0px #5D697E33, 0px 0px 1px 0px #5D697E1A",fontFamily:"var(--folksamSans)",fontWeight:700,borderRadius:"100px",border:"2px solid #074670",color:"outlined"===m?"#074670":"var(--theme-ui-colors-background);",backgroundColor:"outlined"===m?"#FFFFFF":"#0075BC",gap:"0.5rem",borderColor:"outlined"===m?"#074670":"#0075BC",textDecoration:"none",justifyContent:"center","&:hover":{boxShadow:"0px 3px 16px 0px #5D697E26, 0px 0px 4px 0px #5D697E0D",textDecoration:"none"},"&:active:not(:disabled)":{backgroundColor:"outlined"===m?"#FFFFFF":"#074670",borderColor:"outlined"===m?"#1F2933":"#074670",color:"outlined"===m?"#1F2933":"#FFFFFF"},"&:focus":{outline:"2px solid #1F2933",outlineOffset:"1px",boxShadow:"none"},"&:focus:not(:active)":{outline:"2px solid #1F2933",outlineOffset:"2px",boxShadow:"none"},[d.Ay.from(d.Ay.TABLET)]:{width:"imageTop"!==h&&"fit-content"}},variant:"primary",children:u.text}):u&&u.url&&u.text&&(0,t.jsxs)(o.N_E,{href:u.url,rel:"string"==typeof u.rel?u.rel:void 0,target:null==u?void 0:u.target,sx:{width:"fit-content"},children:[u.text,(0,t.jsx)(o.rWz,{})]})]})]})};var S=l(9271),D=l(9835);let E=e=>{let{heading:n,headingColor:l,paragraph:i,link:r,convertLinkToButton:a,badge:d,icon:x}=e;return(0,t.jsx)(o.ZpM,{variant:"article",sx:{backgroundColor:"#D2EAFA",boxShadow:"none",borderRadius:"12px",width:"100%",maxWidth:"816px",alignSelf:"center",height:"100%"},children:(0,t.jsxs)(o.son,{sx:{width:"100%",height:"100%",paddingX:6,paddingY:6,flexDirection:"column",gap:"8px","> svg":{color:D.hk}},children:[x&&(0,t.jsx)(s.FI,{icon:x}),d.text&&d.color&&(0,t.jsx)(o.Exy,{as:"span",variant:d.color,sx:{width:"fit-content",paddingY:"2px",paddingX:"8px"},children:d.text}
1),n&&(0,t.jsx)(s.gA,{as:n.as,variant:n.variant,color:l,sx:{display:"-webkit-box",WebkitLineClamp:"2",overflow:"hidden",WebkitBoxOrient:"vertical",color:l,fontSize:"1.25rem"},children:n.text}),i&&(0,t.jsx)(o.fzL,{sx:{display:"-webkit-box",WebkitLineClamp:"4",overflow:"hidden",WebkitBoxOrient:"vertical",color:D.hk},children:i}),a&&r&&(null==r?void 0:r.url)&&(null==r?void 0:r.text)&&(null==r?void 0:r.target)?(0,t.jsx)(o.$nd,{as:o.N_E,href:r.href,variant:"primary",rel:"string"==typeof r.rel?r.rel:void 0,target:r.target,sx:{width:"100%"},children:r.text}):r&&r.url&&r.text&&r.target&&(0,t.jsx)(o.N_E,{href:r.url,rel:"string"==typeof r.rel?r.rel:void 0,target:r.target,sx:{width:"fit-content",color:D.hk,fontWeight:"700",marginTop:"auto"},children:r.text})]})})},z=e=>{let{data:n,templateName:l}=e,{regionMaxWidth:i}=(0,S.G0)(),r=null==n?void 0:n.length;return(0,t.jsx)(o.xA9,{sx:{width:"imageCardCollection"===l?"fit-content":"100%",gap:"imageCardCollection"===l?"3rem":"1.25rem",margin:"auto",paddingX:"fullWidth"===i||void 0===i?"1rem":0,gridTemplateColumns:"1fr",[d.Ay.from(d.Ay.LARGE_MOBILE)]:{gridTemplateColumns:"repeat(min(".concat(r,", 2), 1fr)"),gap:"1.25rem",maxWidth:"816px"},[d.Ay.from(d.Ay.DESKTOP)]:{gridTemplateColumns:"repeat(".concat(4===r?4:"min(".concat(r,", 3)"),", 1fr)"),maxWidth:r<=2?"816px":4===r?"1232px":"1024px"}},children:null==n?void 0:n.map((e,n)=>{let{image:i,heading:r,headingColor:o,paragraph:a,link:d,convertLinkToButton:s,buttonVariant:x,cardVariant:u,badge:c,simpleCardVariant:m,icon:h}=e;switch(l){case"imageCardCollection":return(0,t.jsx)(C,{convertLinkToButton:s,heading:r,headingColor:o,image:i,paragraph:a,link:d,cardVariant:u,buttonVariant:x},n);case"simpleCardCollection":return(0,t.jsx)(B,{convertLinkToButton:s,heading:r,headingColor:o,paragraph:a,link:d,badge:c,icon:h,simpleCardVariant:m},n);case"tempSimpleCardCollection":return(0,t.jsx)(E,{convertLinkToButton:s,heading:r,headingColor:o,paragraph:a,link:d,badge:c,icon:h,simpleCardVariant:m},n)}})})},I=e=>{let{accordionCollection:n,icon:l}=e;return n.length>0?(0,t.jsx)(o.Upq,{"data-testid":"accordionsHolder",children:null==n?void 0:n.map((e,n)=>(null==e?void 0:e.answer)&&"string"==typeof(null==e?void 0:e.question)?(0,t.jsx)(o.nD3,{id:(null==e?void 0:e.question)+n.toString(),icon:l?o.yJX:void 0,title:null==e?void 0:e.question,children:(0,t.jsx)(b.s,{richTextArray:null==e?void 0:e.answer})},n):null)}):(0,t.jsx)(t.Fragment,{})},F=e=>{let{turnOnFAQ:n,heading:l,centerHeading:i,accordionCollection:r}=e;return(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)(o.son,{sx:{height:"fit-content",width:"100%",alignItems:i?"center":"start",flexDirection:"column"},children:[l&&(0,t.jsx)(s.gA,{color:null==l?void 0:l.color,variant:null==l?void 0:l.variant,as:null==l?void 0:l.as,sx:{marginTop:"50px",marginBottom:"25px",[d.Ay.from(d.Ay.TABLET)]:{marginTop:"40px"}},children:null==l?void 0:l.text}),(0,t.jsx)(o.azJ,{sx:{width:"100%",[d.Ay.from(d.Ay.TABLET)]:{minWidth:"fit-content"},[d.Ay.from(d.Ay.DESKTOP)]:{minWidth:"700px"}},children:(0,t.jsx)(I,{accordionCollection:r,icon:!!n})})]})})},O=e=>{let{listColor:n,listIcon:l,listItems:i}=e;return Array.isArray(i)&&i.length>0?(0,t.jsx)(o.B8B,{children:i.map((e,i)=>e.heading||e.richTextArray?(0,t.jsx)(o.B8B.Item,{color:n||"black",icon:()=>(0,t.jsx)(s.FI,{icon:l}),children:(0,t.jsxs)(o.son,{sx:{flexDirection:"column",color:"greyScale.5"},children:[e.heading&&(0,t.jsx)(o.EYj,{as:"b",sx:{fontFamily:"var(--folksamSans-bold)"},children:e.heading}),e.richTextArray&&(0,t.jsx)(s.sD,{richTextArray:e.richTextArray},i)]})},i):(0,t.jsx)(r.Fragment,{},i))}):null},R=e=>{let{heading:n,text:l,illustration:i}=e;return(0,t.jsxs)(o.son,{sx:{alignItems:"center",gap:"1rem"},children:[(0,t.jsx)(o.son,{sx:{backgroundColor:"white",borderRadius:"4rem",padding:"0.5rem",flexShrink:0,height:"max-content"},children:i&&(0,t.jsx)(s.KQ,{illustrationObject:i})}),(0,t.jsxs)(o.son,{sx:{flexDirection:"column"},children:[n&&(0,t.jsx)(s.gA,{as:n.as,variant:n.variant,color:n.color,sx:{marginBottom:"1"},children:n.text}),l&&(0,t.jsx)(s.sD,{richTextArray:l})]})]})},P=e=>{let{deviceMediaQuery:n,href:l,text:i,icon:r,centerButton:a,rel:x,...u}=e;return i?(0,t.jsxs)(o.azJ,{sx:{display:n[0],justifyContent:"center",width:"100%",position:"sticky",bottom:"0",maxWidth:"700px",margin:"auto",borderTop:"1px solid white",background:"rgba(255, 255, 255, 0.50)",backdropFilter:"blur(20px)",[d.Ay.from(d.Ay.LARGE_MOBILE)]:{display:n[1]},[d.Ay.from(d.Ay.TABLET)]:{borderTop:"none",backdropFilter:"none",background:"inherit",position:"static",display:n[2]},[d.Ay.from(d.Ay.DESKTOP)]:{justifyContent:a?"center":"left",display:n[3]},[d.Ay.from(d.Ay.LARGE_DESKTOP)]:{display:n[4]}},children:[(0,t.jsxs)(o.$nd,{as:l&&!u.modalRef?o.N_E:o.$nd,rel:null!==x?x:void 0,...u,sx:{marginY:"1.5rem",marginX:"1rem",maxWidth:"335px",
1width:"100%",[d.Ay.from(d.Ay.DESKTOP)]:{marginX:"0",width:"fit-content"}},href:l&&!u.modalRef?l:void 0,children:[i," ",r&&null!==r?(0,t.jsx)(s.FI,{icon:r}):null]}),(0,t.jsx)(o.azJ,{hidden:!0,sx:{position:"fixed"}})]}):null},H=e=>{let{backgroundColor:n,badge:l,clickable:i,href:r,iconStart:a,iconEnd:d,illustrationStart:x,paragraph:u,paragraphBold:c,children:m,rel:h}=e;return(0,t.jsxs)(o.P8x,{as:r?o.N_E:o.azJ,href:r||void 0,rel:null!==h?h:void 0,backgroundColor:n,entryIcon:(0,t.jsx)(s.FI,{icon:d}),icon:x||a?()=>x?(0,t.jsx)(s.KQ,{illustrationObject:x}):a?(0,t.jsx)(s.FI,{icon:a}):null:null,nonClickable:"true"!==i,...r?{noTextDecoration:!0}:null,children:[null!=m?m:null,c&&void 0!==c&&(0,t.jsx)(o.EYj,{children:c}),u&&void 0!==u&&(0,t.jsx)(o.EYj,{variant:"sm",children:(0,t.jsx)(s.sD,{richTextArray:u})}),((null==l?void 0:l.icon)||(null==l?void 0:l.paragraph))&&(0,t.jsx)(s.Ex,{icon:l.icon,iconPositionAfterText:l.iconPositionAfterText,paragraph:l.paragraph,variant:l.variant})]})};var J=l(2198);let W=e=>{let{heading:n,shortcutButtons:l}=e;return(null==l?void 0:l.length)<=0?null:(0,t.jsxs)(t.Fragment,{children:[n&&(0,t.jsx)(s.gA,{as:null==n?void 0:n.as,variant:null==n?void 0:n.variant,color:null==n?void 0:n.color,sx:{paddingBottom:8,textAlign:"center"},children:null==n?void 0:n.text}),(0,t.jsx)(J.xA9,{gap:4,sx:{gridTemplateColumns:"1fr",[d.Ay.from(d.Ay.TABLET)]:{gridTemplateColumns:"1fr 1fr"},fontFamily:"var(--folksamSans-bold)","> * > div":{width:"100%"}},children:null==l?void 0:l.map((e,n)=>(0,t.jsx)(H,{href:e.href,iconStart:e.iconStart,backgroundColor:e.backgroundColor,badge:e.badge,clickable:e.clickable,illustrationStart:e.illustrationStart,paragraphBold:e.paragraphBold,paragraph:e.paragraph,iconEnd:e.iconEnd},n))})]})},N=e=>{var n,l;let{scrollable:i=!1,headerVariant:r,bodyVariant:a,firstColumnSticky:s=i,size:x="md",separateRows:u,tableHeader:c,tableBody:m,tableCaption:h}=e;return(0,t.jsx)(o.mcf,{sx:{fontFamily:"var(--folksamSans)",table:{tableLayout:"fixed"}},children:(0,t.jsxs)(o.XIK,{scrollable:i,headerVariant:r,bodyVariant:a,firstColumnSticky:s,size:x,separateRows:u,children:[h&&(0,t.jsx)(o.XIK.Caption,{sx:{border:"0",clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:"0",position:"absolute",width:"1px"},children:h}),(0,t.jsx)(o.XIK.Header,{children:(0,t.jsx)(o.XIK.Row,{children:null==(n=c.tableRow.tableColumns)?void 0:n.map((e,n)=>(0,t.jsx)(o.XIK.HeaderColumn,{scope:"col",sx:{[d.Ay.to(d.Ay.SMALL_MOBILE)]:{hyphens:"auto",overflowWrap:"break-word"},[d.Ay.to(d.Ay.LARGE_MOBILE)]:{padding:"0.75rem"}},children:e},n+e))})}),(0,t.jsx)(o.XIK.Body,{children:null==(l=m.tableRows)?void 0:l.map((e,n)=>{var l;return(0,t.jsx)(o.XIK.Row,{children:null==e||null==(l=e.tableColumns)?void 0:l.map(e=>(0,t.jsx)(o.XIK.Column,{sx:{[d.Ay.to(d.Ay.LARGE_MOBILE)]:{padding:"0.75rem"}},children:e},n+e))},n)})})]})})},_=e=>{let{image:n,text:l}=e;return(0,t.jsx)(o.lZ$,{heading:"Utformad i samarbete med Coop",variant:"white",children:(0,t.jsxs)(o.son,{sx:{alignItems:"center"},children:[(0,t.jsx)(o.son,{sx:{alignItems:"center",justifyContent:"center",width:"42px",height:"42px",border:e=>{var n,l;return"1px solid ".concat(null==e||null==(l=e.colors)||null==(n=l.greyScale)?void 0:n[2])},borderRadius:"50%",marginRight:"20px",flexShrink:0},children:n.src?(0,t.jsx)(o._V3,{src:n.src,alt:n.alt,width:30,height:30,sx:{objectFit:"fill",paddingTop:"6px"}}):null}),(0,t.jsx)(b.s,{richTextArray:l})]})})};var X=function(e){return e.EMPTY_FIELD="Fyll i f\xe4ltet",e.INVALID_REGNR="Ogiltigt registreringsnummer",e.INVALID_SSN="Ogiltigt personnummer",e.INVALID_POST_CODE="Ogiltigt postnummer",e}(X||{});let K=e=>{if(!("string"==typeof e&&e.match(/^([a-zA-Z]{3})([\d]{2})([\d]|[a-zA-Z]{1})$/)))return e.length<=0?"Fyll i f\xe4ltet":"Ogiltigt registreringsnummer"},V=e=>{if("string"!=typeof e||!(e.length>0))return"Fyll i f\xe4ltet"},M=e=>{if(!e.match(/^[0-9]{3}\s?[0-9]{2}$/))return 0===e.length?"Fyll i f\xe4ltet":"Ogiltigt postnummer"},Y=e=>{let n,l;e.indexOf("-")>=0&&(e=e.replace("-","")),12===e.length&&(e=e.substring(2));let t=0,i=e.length,r=i%2;for(n=0;n<i;n+=1)l=parseInt(e.charAt(n)),n%2===r&&(l*=2),l>9&&(l-=9),t+=l;if(!("string"==typeof e&&t%10==0&&(e.match(/^([12]{1}[90]{1})?[0-9]{2}([0]{1}[1-9]{1}|[1]{1}[0-2])([0]{1}[1-9]{1}|[1-2]{1}[0-9]{1}|[3]{1}[0-1]{1}|[6]{1}[1-9]{1}|[7-8]{1}[0-9]{1}|[9]{1}[0-1]{1})-?[0-9]{4}$/)||e.match(/^(?:19|20).{11}$/)&&13===e.length)))return 0===e.length?"Fyll i f\xe4ltet":"Ogiltigt personnummer"},Z=e=>e&&G(e)?({ssn:Y,childSsn:Y,regnr:K,postnr:M})[e]:V,G=e=>"regnr"===e||"ssn"===e||"childSsn"===e||"postnr"===e,$=e=>{let{flowURL:n,hiddenFields:l,fields:i,conditionalFields:r,buttonLabel:a}=e,{changeFieldsInForm:d,setFormValidationErrors:s}=U();return"string"!=typeof n?null:(0,t.jsx)("form",{action:n,method:"post",onSubmit:e=>{s((e=>{let n;return new FormData(e.currentTarget).forEach((l,t)=>{"string"==typeof l?(n="object"==typeof n?{...n,[t]:Z(t)(l)}:{[t]:Z(t)(l)},"string"==typeof Z(t)(l)&&e.preventDefault()):(console.error("no validation for",l),e.preventDefault())}),n})(e))},children:(0,t.jsxs)(o.son,{sx:{flexDirection:"column",gap:"1rem",overflowWrap:"break-word"},children:[null==i?void 0:i.map((e,n)=>(0,t.jsx)(ea,{inputType:e.inputType,label:e.label,tooltip:e.tooltip,labelExample:e.labelExample,placeholder:null==e?void 0:e.placeholder,selectValues:e.selectValues,jsonFile:null==e?void 0:e.jsonFile},n)),null==r?void 0:r.map(e=>{var n;return(null==e?void 0:e.inputType)&&((null==d?void 0:d[e.inputType])===""||void 0!==e.value&&(null==d?void 0:d[e.inputType])===(null==e?void 0:e.value))?null==(n=e.fields)?void 0:n.map((e,n)=>(0,t.jsx)(ea,{inputType:e.inputType,label:e.label,tooltip:e.tooltip,labelExample:e.labelExample,placeholder:null==e?void 0:e.placeholder,selectValues:e.selectValues,jsonFile:null==e?void 0:e.jsonFile},n)):null}),null==l?void 0:l.map((e,n)=>(null==e?void 0:e.inputType)&&e.value?(0,t.jsx)("input",{type:"hidden",name:e.inputType,value:e.value},n):null),(0,t.jsx)(o.$nd,{type:"submit",sx:{width:"100%",marginY:"0.25rem"},rel:"nofollow",children:a||"Se pris och k\xf6p"})]})})},q=(0,r.createContext)({changeFieldsInForm:void 0,setChangeFieldsInForm:()=>void 0,formValidationErrors:void 0,setFormValidationErrors:()=>void 0,validateInput:()=>void 0}),U=()=>{let e=(0,r.useContext)(q);
1if(void 0===e)throw Error("useFormContext must be used inside FormContext.Provider");return e},Q=e=>{let{children:n}=e,[l,i]=(0,r.useState)(void 0),[o,a]=(0,r.useState)(void 0),d=(0,r.useCallback)(e=>{let n=e.target.name,l=e.target.value;"string"==typeof l&&a(e=>({...e,[n]:Z(n)(l)}))},[]);return(0,t.jsx)(q.Provider,{value:{changeFieldsInForm:l,setChangeFieldsInForm:i,formValidationErrors:o,setFormValidationErrors:a,validateInput:d},children:n})},ee=e=>{let{label:n,tooltip:l,labelExample:i,placeholder:r,inputType:a}=e,{formValidationErrors:d,validateInput:s}=U();if(!a)return null;let x=null==d?void 0:d[a];return(0,t.jsx)(o.zBI,{label:n,tooltip:l,labelExample:i,component:o.ZvU,inputProps:{className:"sessioncamexclude",id:a+n,name:a,invalid:void 0!==x,placeholder:r,onBlur:s,onChange:x?s:void 0,maxLength:6},labelProps:{sx:{color:x?"redScale.4":"text",marginBottom:"10px",fontFamily:"var(--folksamSans-bold)"}},error:null==d?void 0:d[a]})},en=e=>{let{label:n,tooltip:l,labelExample:i,placeholder:r,inputType:a}=e,{validateInput:d,formValidationErrors:s,setChangeFieldsInForm:x}=U();if(!a)return null;let u=null==s?void 0:s[a];return(0,t.jsx)(o.zBI,{label:n,tooltip:l,labelExample:i,component:o.pde,inputProps:{className:"sessioncamexclude",id:a+n,name:a,invalid:void 0!==u,placeholder:r,onBlur:d,onChange:"string"==typeof u?d:void 0,onFocus:()=>{x(e=>({...e,[a]:""}))},sx:{width:"100%"},maxLength:13},labelProps:{sx:{color:u?"redScale.4":"text",marginBottom:"10px",fontFamily:"var(--folksamSans-bold)"}},error:u})},el=e=>{let{label:n,tooltip:l,placeholder:i,inputType:r,labelExample:a}=e,{formValidationErrors:d,validateInput:s}=U();if(!r)return null;let x=null==d?void 0:d[r];return(0,t.jsx)(o.zBI,{label:n,tooltip:l,labelExample:a,component:o.pde,inputProps:{className:"sessioncamexclude",id:r+n,name:r,invalid:void 0!==x,placeholder:i,onBlur:s,onChange:x?s:void 0,sx:{width:"100%"}},error:x,labelProps:{sx:{color:x?"redScale.4":"text",marginBottom:"10px",fontFamily:"var(--folksamSans-bold)"}}})},et=e=>{let{label:n,tooltip:l,placeholder:i,inputType:r,selectValues:a,labelExample:d}=e,{formValidationErrors:s,validateInput:x,setChangeFieldsInForm:u}=U();if(!r)return null;let c=null==s?void 0:s[r];return(0,t.jsx)(o.zBI,{label:n,tooltip:l,labelExample:d,component:o.l6P,inputProps:{id:r+n,className:"sessioncamexclude",name:r,invalid:void 0!==c,placeholder:i,onChange:e=>{u(n=>({...n,[r]:e.target.value})),x(e)},sx:{width:"100%"},children:a?a.map(e=>e.flowValue&&e.displayValue?(0,t.jsx)(J.Bq0.Item,{value:e.flowValue,style:{fontFamily:"var(--folksamSans)"},children:e.displayValue},e.displayValue):null):void 0},labelProps:{sx:{color:c?"redScale.4":"text",marginBottom:"10px",fontFamily:"var(--folksamSans-bold)"}},error:c})},ei=e=>{let{label:n,labelExample:l,tooltip:i,placeholder:r,inputType:a}=e,{formValidationErrors:d,validateInput:s}=U();if(!a)return null;let x=null==d?void 0:d[a];return(0,t.jsx)(o.zBI,{label:n,tooltip:i,labelExample:l,component:o.pde,inputProps:{className:"sessioncamexclude",id:a+n,name:a,invalid:void 0!==x,placeholder:r,onBlur:s,onChange:x?s:void 0,maxLength:6},error:x,labelProps:{sx:{color:x?"redScale.4":"text",marginBottom:"10px",fontFamily:"var(--folksamSans-bold)"}}})},er=e=>{let{label:n,tooltip:l,placeholder:i,inputType:a,jsonFile:d,labelExample:s}=e,[x,u]=(0,r.useState)(),[c,m]=(0,r.useState)(!1),[h,p]=(0,r.useState)(),[g,v]=(0,r.useState)();(0,r.useEffect)(()=>{fetch("/media/idit-ids.json",{headers:{"Content-Type":"application/json"}}).then(e=>e.json()).then(e=>{p(e)}).catch(()=>{m(!0),console.log("error getting json for idit values")}),fetch(d,{headers:{"Content-Type":"application/json"}}).then(e=>e.json()).then(e=>{u(e)}).catch(()=>{m(!0),console.log("error getting json for select")})},[d]);let{formValidationErrors:f,validateInput:j,setChangeFieldsInForm:y}=U();if(!a)return null;let A=null==f?void 0:f[a];return x&&(null==x?void 0:x.length)>=0?(0,t.jsxs)(t.Fragment,{children:[(null==g?void 0:g.IditGroupAgreementId)&&(null==g?void 0:g.IditGroupId)&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("input",{type:"hidden",name:"groupId",value:g.IditGroupId}),(0,t.jsx)("input",{type:"hidden",name:"groupAgreementId",value:g.IditGroupAgreementId})]}),(0,t.jsx)(o.zBI,{label:n,tooltip:l,labelExample:s,component:o.l6P,inputProps:{id:a+n,name:a,invalid:void 0!==A,placeholder:i,onChange:e=>{(e=>{if((null==h?void 0:h.prod)&&"www.folksam.se"===window.location.host)v(h.prod.find(n=>n.forbundsId.toString()===e));else{var n;v(null==h||null==(n=h.stst)?void 0:n.find(n=>n.forbundsId.toString()===e))}})(e.target.value),y(n=>({...n,[a]:e.target.value})),j(e)},sx:{width:"100%"},children:Array.isArray(x)?x.map(e=>e.kortkod&&e.klarText?(0,t.jsx)(o.Bq0.Item,{value:e.kortkod,style:{fontFamily:"var(--folksamSans)"},children:e.klarText},e.klarText):null):void 0},labelProps:{sx:{color:A?"redScale.4":"text",marginBottom:"10px",fontFamily:"var(--folksamSans-bold)"}},error:A})]}):c?(0,t.jsx)(t.Fragment,{}):(0,t.jsxs)(o.azJ,{sx:{height:"75.19px"},children:[(0,t.jsx)(o.EAD,{height:23.5,style:{marginBottom:"9px"}}),(0,t.jsx)(o.EAD,{height:40,borderRadius:"0.25rem"})]})},eo={ssn:e=>{let{placeholder:n,label:l,tooltip:i,labelExample:r,inputType:o}=e;return(0,t.jsx)(en,{label:l,tooltip:i,labelExample:r,placeholder:n,inputType:o})},childSsn:e=>{let{placeholder:n,label:l,labelExample:i,tooltip:r,inputType:o}=e;return(0,t.jsx)(en,{label:l,tooltip:r,labelExample:i,placeholder:n,inputType:o})},regnr:e=>{let{placeholder:n,label:l,tooltip:i,labelExample:r,inputType:o}=e;return(0,t.jsx)(ee,{label:l,tooltip:i,labelExample:r,placeholder:n,inputType:o})},postnr:e=>{let{placeholder:n,label:l,tooltip:i,labelExample:r,inputType:o}=e;return(0,t.jsx)(ei,{placeholder:n,labelExample:r,label:l,tooltip:i,inputType:o})}},ea=e=>{let{inputType:n,placeholder:l,label:i,tooltip:r,labelExample:o,selectValues:a,jsonFile:d}=e;return n&&G(n)?eo[n]({inputType:n,placeholder:l,labelExample:o,label:i,tooltip:r}):n&&"string"==typeof d&&d.endsWith(".json")?(0,t.jsx)(er,{placeholder:l,label:i,tooltip:r,labelExample:o,inputType:n,jsonFile:d}):n&&a.length>1?(0,t.jsx)(et,{placeholder:l,label:i,tooltip:r,labelExample:o,inputType:n,selectValues:a}):n?(0,t.jsx)(el,{placeholder:l,label:i,tooltip:r,labelExample:o,inputType:n}):(0,t.jsx)(t.Fragment,{})},ed=e=>{var n;let{image:l,salesText:i,heading:a,partner:x,link:u,formConfig:c,badge:m,gdprPricingInfoTitle:h,gdprPricingInfoText:p,formReplacementText:g}=e,{isFolksamArticlePage:v,isArticlePage:f}=(0,S.nm)(),[j,y]=(0,r.useState)(!1);return(0,t.jsxs)(o.son,{sx:{flexDirection:"column",alignItems:"center",width:"100%",maxWidth:v||f?1240:"none",marginLeft:v||f?"auto":0,marginRight:v||f?"auto":0,paddingX:v||f?4:0,marginBottom:v||f?10:0,marginTop:v||f?6:0,[d.Ay.from(d.Ay.DESKTOP)]:{flexDirection:"row-reverse"},[d.Ay.to(d.Ay.TABLET)]:{gap:"1rem"}},children:[(0,t.jsx)(o.azJ,{sx:{width:"100%"},children:(0,t.jsxs)(o.son,{sx:{flexDirection:"column",maxWidth:"355px",gap:"1rem",marginX:"auto",marginY:"2rem"},children:[(null==m?void 0:m.text)&&(null==m?void 0:m.color)&&(0,t.jsx)(o.Exy,{variant:m.color,sx:{width:"fit-content",[d.Ay.to(d.Ay.SMALL_MOBILE)]:{hyphens:"auto",whiteSpace:"normal"},fontFamily:"var(--folksamSans-bold)"},children:m.text}),(null==m?void 0:m.text)&&!(null==m?void 0:m.color)&&(0,t.jsx)(o.fzL,{children:null==m?void 0:m.text}),a&&(0,t.jsx)(s.gA,{as:a.as,variant:a.variant,color:a.color,children:a.text}),i&&(0,t.jsx)(o.fzL,{children:i}),g&&g.length>0&&(0,t.jsx)(s.sD,{richTextArray:g}),c&&(0,t.jsx)(Q,{children:(0,t.jsx)($,{fields:c.fields,flowURL:c.flowURL,hiddenFields:c.hiddenFields,conditionalFields:c.conditionalFields,buttonLabel:c.buttonLabel})}),(null==u?void 0:u.text)&&(null==u?void 0:u.url)&&u.target&&(0,t.jsxs)(o.N_E,{href:u.url,rel:"string"==typeof u.rel?u.rel:void 0,target:u.target,sx:{fontSize:"0.875rem",":hover":{textDecoration:"none"}}
1,children:[u.text," ",(0,t.jsx)(o.rWz,{width:"1rem",height:"1rem"})]}),h&&p&&(0,t.jsxs)(J.I8C,{text:"",icon:()=>null,showBorder:!1,expanded:j,onClick:()=>y(!j),sx:{fontSize:"0.875rem"},children:[(0,t.jsxs)(J.I8C.Header,{sx:{padding:0,display:"flex",width:"100%",gap:"0.5rem","&:hover":{textDecoration:"underline",textUnderlineOffset:"4px"},"&:focus-visible:not(:active)":{outline:"2px solid #003E80",outlineOffset:"4px",borderRadius:"3px"}},children:[h,(0,t.jsx)(o.azJ,{sx:{svg:{height:18,width:18}},children:(0,t.jsx)(J.I8C.Header.Icon,{})})]}),(0,t.jsx)(J.I8C.Content,{children:(0,t.jsx)(o.fzL,{sx:{paddingTop:"8px"},children:p})})]}),(null==x?void 0:x.image.src)&&(null==x||null==(n=x.text)?void 0:n.length)>0&&(0,t.jsx)(_,{image:x.image,text:x.text})]})}),(0,t.jsx)(o.azJ,{sx:{width:"100%",margin:"auto",height:"375px",[d.Ay.from(d.Ay.DESKTOP)]:{height:"600px"},position:"relative"},children:(null==l?void 0:l.src)&&(0,t.jsx)(o._V3,{priority:!0,fill:!0,src:l.src,alt:l.alt})})]})},es=e=>{var n;let{image:l,salesText:i,heading:a,partner:x,link:u,formConfig:c,badge:m,gdprPricingInfoTitle:h,gdprPricingInfoText:p,formReplacementText:g}=e,{isFolksamArticlePage:v,isArticlePage:f}=(0,S.nm)(),[j,y]=(0,r.useState)(!1);return(0,t.jsxs)(o.son,{sx:{flexDirection:"column",alignItems:"center",width:"100%",maxWidth:v||f?1240:"none",marginLeft:v||f?"auto":0,marginRight:v||f?"auto":0,paddingX:v||f?4:0,marginBottom:v||f?10:0,marginTop:v||f?6:0,[d.Ay.from(d.Ay.DESKTOP)]:{flexDirection:"row-reverse"},[d.Ay.to(d.Ay.TABLET)]:{gap:"1rem"}},children:[(0,t.jsx)(o.azJ,{sx:{width:"100%"},children:(0,t.jsxs)(o.son,{sx:{flexDirection:"column",maxWidth:"355px",gap:"1rem",marginX:"auto",marginY:"2rem"},children:[(null==m?void 0:m.text)&&(null==m?void 0:m.color)&&(0,t.jsx)(o.Exy,{variant:m.color,sx:{width:"fit-content",[d.Ay.to(d.Ay.SMALL_MOBILE)]:{hyphens:"auto",whiteSpace:"normal"},fontFamily:"var(--folksamSans-bold)"},children:m.text}),(null==m?void 0:m.text)&&!(null==m?void 0:m.color)&&(0,t.jsx)(o.fzL,{children:null==m?void 0:m.text}),a&&(0,t.jsx)(s.gA,{as:a.as,variant:a.variant,color:a.color,children:a.text}),i&&(0,t.jsx)(o.fzL,{children:i}),g&&g.length>0&&(0,t.jsx)(s.sD,{richTextArray:g}),(null==c?void 0:c.flowURL)&&(0,t.jsx)(o.$nd,{as:"a",href:c.flowURL,rel:"nofollow",sx:{width:"100%",marginY:"0.25rem"},children:c.buttonLabel||"Till k\xf6pfl\xf6det"}),(null==u?void 0:u.text)&&(null==u?void 0:u.url)&&u.target&&(0,t.jsxs)(o.N_E,{href:u.url,rel:"string"==typeof u.rel?u.rel:void 0,target:u.target,sx:{fontSize:"0.875rem",":hover":{textDecoration:"none"}}
1,children:[u.text," ",(0,t.jsx)(o.rWz,{width:"1rem",height:"1rem"})]}),h&&p&&(0,t.jsxs)(J.I8C,{text:"",icon:()=>null,showBorder:!1,expanded:j,onClick:()=>y(!j),sx:{fontSize:"0.875rem"},children:[(0,t.jsxs)(J.I8C.Header,{sx:{padding:0,display:"flex",width:"100%",gap:"0.5rem","&:hover":{textDecoration:"underline",textUnderlineOffset:"4px"},"&:focus-visible:not(:active)":{outline:"2px solid #003E80",outlineOffset:"4px",borderRadius:"3px"}},children:[h,(0,t.jsx)(o.azJ,{sx:{svg:{height:18,width:18}},children:(0,t.jsx)(J.I8C.Header.Icon,{})})]}),(0,t.jsx)(J.I8C.Content,{children:(0,t.jsx)(o.fzL,{sx:{paddingTop:"8px"},children:p})})]}),(null==x?void 0:x.image.src)&&(null==x||null==(n=x.text)?void 0:n.length)>0&&(0,t.jsx)(_,{image:x.image,text:x.text})]})}),(0,t.jsx)(o.azJ,{sx:{width:"100%",margin:"auto",height:"375px",[d.Ay.from(d.Ay.DESKTOP)]:{height:"600px"},position:"relative"},children:(null==l?void 0:l.src)&&(0,t.jsx)(o._V3,{priority:!0,fill:!0,src:l.src,alt:l.alt})})]})},ex=e=>{let{image:n}=e;return(0,t.jsx)(o.azJ,{sx:{position:"relative",width:"250px",aspectRatio:"2.1",margin:"auto"},children:n&&"string"==typeof n.src&&n.src.length>0&&(0,t.jsx)(o._V3,{alt:n.alt,src:n.src,fill:!0,sx:{objectFit:"fill"}})})},eu=e=>{let{image:n}=e;return(0,t.jsx)(o.azJ,{sx:{position:"relative",width:"100%",aspectRatio:"1.1"},children:n&&"string"==typeof n.src&&n.src.length>0&&(0,t.jsx)(o._V3,{alt:n.alt,src:n.src,fill:!0})})};var ec=l(1326),em=l(9777),eh=l(8170);let ep=e=>{let{rowTitle:n,foldoutExpanded:l,handleFoldOutHeaderClick:i,index:r,isInTab:a}=e;return(0,eh.j)(l,!1,n,a),(0,t.jsxs)(o.I8C.Header,{color:l?"blueScale.4":"blueScale.3",onClick:()=>i(r),"aria-expanded":l,children:[(0,t.jsx)(J.iK9.Rotate,{transition:{bounce:.25,stiffness:200,damping:15,duration:.2},rotated:l,children:l?(0,t.jsx)(o.YPw,{}):(0,t.jsx)(o.uID,{})}),(0,t.jsx)(o.EYj,{sx:{fontSize:"1rem",textAlign:"start",lineHeight:"1.8",[d.Ay.to(d.Ay.LARGE_MOBILE)]:{textOverflow:l?"none":"ellipsis",whiteSpace:l?"normal":"nowrap",overflow:"hidden"}},children:n})]})},eg=e=>{let{tableHeading:n,productMainHeader:l,productTableRows:i,isInTab:a}=e,[x,u]=(0,r.useState)([]),c=e=>{u(n=>n.includes(e)?n.filter(n=>n!==e):[...n,e])},m=1===l.length,h=(0,r.useRef)(null),{dynamicHeaderHeight:p}=(0,S.nm)(),[g,v]=(0,r.useState)(0),[f,j]=(0,r.useState)(!1),[y,A]=(0,r.useState)(window.innerWidth),k=y&&y<250;(0,r.useEffect)(()=>{let e=()=>A(window.innerWidth);return window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[y]);let w=k?"50px":m?"96px":"88px",T=(0,r.useCallback)(()=>{var e;(null==(e=p.current)?void 0:e.offsetHeight)&&v(p.current.offsetHeight)},[p]);return(0,r.useEffect)(()=>(T(),window.addEventListener("resize",T),()=>{window.removeEventListener("resize",T)}),[T]),(0,r.useEffect)(()=>{var e,n;(null==(e=p.current)?void 0:e.offsetHeight)&&v(null==(n=p.current)?void 0:n.offsetHeight);let l=window.scrollY,t=()=>{var e;let n=window.scrollY,t=null==h||null==(e=h.current)?void 0:e.getBoundingClientRect();(null==t?void 0:t.top)&&j(n<l&&(null==t?void 0:t.top)<=-200),l=n};T();let i=new IntersectionObserver(e=>{let[n]=e;j(!1),n.isIntersecting?window.addEventListener("scroll",t):window.removeEventListener("scroll",t)},{threshold:0,rootMargin:"0px 0px -100% 0px"});return h.current&&i.observe(h.current),()=>{i.disconnect(),window.removeEventListener("scroll",t)}},[p,T]),(0,t.jsx)(o.son,{sx:{width:"100%",contain:"layout style paint",borderRadius:"12px",[d.Ay.from(d.Ay.TABLET)]:{borderRadius:"20px"}},ref:h,children:(0,t.jsxs)(o.XIK,{headerVariant:"muted",size:"md",children:[(0,t.jsx)(o.XIK.Caption,{sx:{border:"0",clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:"0",position:"absolute",width:"1px"},children:n}),(0,t.jsx)(o.XIK.Header,{sx:{[d.Ay.to(d.Ay.LARGE_MOBILE)]:{position:"sticky",top:"-1px",zIndex:"1",transition:"transform 0.2s ease-out",transform:f?"translateY(".concat(g,"px)"):void 0}},children:(0,t.jsxs)(o.XIK.Row,{sx:{borderBottom:"none",position:"relative","&::after":{content:'""',position:"absolute",left:0,right:0,bottom:0,marginX:"auto",height:"1px",width:a?"100%":"calc(100% - 2.5rem)",borderBottom:e=>{var n,l;return"1px solid ".concat(null==(l=e.colors)||null==(n=l.greyScale)?void 0:n[2])}},display:"grid",gridTemplateColumns:m?"5fr ".concat(w):"repeat(".concat(l.length,", 1fr)"),width:"100%",textAlign:m?"left"
1:"center",[d.Ay.from(d.Ay.TABLET)]:{gridTemplateColumns:"5fr repeat(".concat(l.length,", ").concat(w,")"),textAlign:"left"}},children:[(0,t.jsx)(o.XIK.HeaderColumn,{scope:"col",sx:{borderBottom:"none",gridColumn:"span ".concat(l.length),[d.Ay.to(d.Ay.SMALL_MOBILE)]:{hyphens:"auto",wordBreak:"break-word"},[d.Ay.from(d.Ay.TABLET)]:{gridColumn:"span 1"}},children:n}),(null==l?void 0:l.length)>0&&(null==l?void 0:l.map((e,n)=>(0,t.jsx)(o.XIK.HeaderColumn,{scope:"col",sx:{textAlign:"center",borderBottom:"none",fontSize:m?"1rem":"0.875rem",minWidth:"".concat(w),[d.Ay.from(d.Ay.TABLET)]:{fontSize:"1rem"}},children:e.columnHeaderLabel},n+e.columnHeaderLabel)))]})}),(0,t.jsx)(o.XIK.Body,{children:i.map((e,n)=>{var u,h,p;let g=x.includes(n);return(0,t.jsx)(r.Fragment,{children:(0,t.jsxs)(o.XIK.Row,{sx:{backgroundColor:"#F4F8FA",position:"relative","&::after":{content:'""',position:"absolute",left:0,right:0,bottom:0,marginX:"auto",height:"1px",width:a?"100%":"calc(100% - 2.5rem)",borderBottom:n===i.length-1?"none":e=>{var n,l;return"1px solid ".concat(null==(l=e.colors)||null==(n=l.greyScale)?void 0:n[2])}},display:"grid",gridTemplateColumns:m?"5fr ".concat(w):"repeat(".concat(e.allProductFeatures.length,", 1fr)"),width:"100%",[d.Ay.from(d.Ay.TABLET)]:{gridTemplateColumns:"5fr repeat(".concat(e.allProductFeatures.length,", ").concat(w,")")}},children:[(0,t.jsxs)(o.XIK.HeaderColumn,{scope:"row",sx:{borderBottom:"none",gridColumn:"span ".concat(e.allProductFeatures.length),paddingLeft:a?"0":"1.25rem",paddingRight:a?"0":"1.25rem",[d.Ay.from(d.Ay.TABLET)]:{gridColumn:"span 1"},"> button":{alignItems:"center"}},children:[(null==e?void 0:e.expandDescription)?(0,t.jsx)(ep,{rowTitle:e.rowTitle,foldoutExpanded:g,handleFoldOutHeaderClick:c,isInTab:a,index:n}):(0,t.jsx)(o.azJ,{sx:{padding:"8px 0px"},children:(0,t.jsx)(o.EYj,{sx:{fontSize:"1rem"},children:e.rowTitle})}),(0,t.jsxs)(o.azJ,{"aria-hidden":!g,sx:{gridColumn:m?"span 2":"span ".concat(e.allProductFeatures.length),width:m?"calc(100% + ".concat(e.allProductFeatures.length,"*").concat(w,")"):"inherit",[d.Ay.from(d.Ay.TABLET)]:{gridColumn:"span ".concat(e.allProductFeatures.length+1),width:"calc(100% + ".concat(e.allProductFeatures.length,"*").concat(w,")")}},children:[(0,t.jsx)(em.N,{initial:!1,children:g&&(0,t.jsx)(J.iK9.FoldOut,{children:(0,t.jsx)(o.son,{sx:{justifyContent:"center",alignItems:"center",width:"100%",borderBottom:"none",position:"relative",paddingTop:m?"18px":"12px",[d.Ay.from(d.Ay.TABLET)]:{paddingTop:"18px"},"&::after":{content:'""',position:"absolute",bottom:0,marginX:"auto",height:"1px",width:a?"100%":"calc(100% - 2.5rem)"}},children:(0,t.jsx)(o.son,{sx:{flexDirection:"column",fontSize:"1rem",backgroundColor:"#FFFFFF",borderRadius:"12px",padding:"12px 16px",width:"100%",[d.Ay.to(d.Ay.SMALL_MOBILE)]:{wordBreak:"break-word",hyphens:"auto"}},children:null==e||null==(u=e.expandDescription)?void 0:u.content.map((e,n)=>{var l,i,r,a,x,u,c,m;return(0,t.jsxs)(o.son,{sx:{flexDirection:"column",gap:(e.linkList||e.textList||e.text)&&4,fontSize:"1rem",paddingTop:0!==n&&"1.25rem"},children:[(0,t.jsx)(s.gA,{as:"h5",variant:"heading.h5",color:"#1F2933",sx:{fontSize:"inherit"},children:e.header}),(0,t.jsx)(s.sD,{sx:{marginTop:(e.textList||e.text)&&"0 !important"},richTextArray:e.text}),(null==e?void 0:e.textListHeader)&&(0,t.jsx)(s.gA,{as:"h5",variant:"heading.h5",color:"#1F2933",sx:{fontSize:"inherit"},children:e.textListHeader}),(null==e?void 0:e.textList)&&(0,t.jsx)(o.B8B,{children:e.textList.map((l,i)=>(0,t.jsx)(o.B8B.Item,{sx:{paddingBottom:"1",lineHeight:"145%",fontWeight:"400",[d.Ay.to(d.Ay.SMALL_MOBILE)]:{wordBreak:"break-word"}},icon:"Dots"===e.textListType?o.ysc:o.iWP,children:l},l+n+i))}),((null==e?void 0:e.infoBoxHeader)||(null==e||null==(l=e.infoBoxText)?void 0:l.length)>0)&&(0,t.jsxs)(o.son,{sx:{backgroundColor:null!=(m=e.infoBoxBGColor)?m:"blueScale.1",padding:"24px",flexDirection:"column"},children:[(null==e?void 0:e.infoBoxHeader)&&(0,t.jsx)(o.fzL,{sx:{fontWeight:600,paddingBottom:2},children:e.infoBoxHeader}),(null==e||null==(i=e.infoBoxText)?void 0:i.length)>0&&(0,t.jsx)(s.sD,{richTextArray:e.infoBoxText})]}),e.linkList&&(null==e||null==(u=e.linkList)||null==(x=u[0])||null==(a=x.pageLink)||null==(r=a.stdLink)?void 0:r.externalLink)&&(0,t.jsx)(o.son,{sx:{flexDirection:"column",gap:4,[d.Ay.to(d.Ay.SMALL_MOBILE)]:{wordBreak:"break-word"}},children:null==e||null==(c=e.linkList)?void 0:c.map((e,l)=>{var i,r,a,d,s,x,u,c,m;return(0,t.jsxs)(o.N_E,{underlined:(null==(i=e.pageLink)?void 0:i.targetWindow)!=="_blank",href:null!=(c=null==(a=e.pageLink)||null==(r=a.stdLink)?void 0:r.externalLink)?c:void 0,target:null!=(m=null==(d=e.pageLink)?void 0:d.targetWindow)?m:"_self",children:[null==(x=e.pageLink)||null==(s=x.stdLink)?void 0:s.linkText," ",(null==(u=e.pageLink)?void 0:u.targetWindow)==="_blank"&&(0,t.jsx)(o.HW5,{})]},l+n)})})]},n)})})})})}),!g&&(0,t.jsx)(o.azJ,{sx:{display:"none"},children:null==e||null==(h=e.expandDescription)?void 0:h.content.map((e,n)=>{var l,i,a,d,x,u,c;return(0,t.jsxs)(r.Fragment,{children:[(0,t.jsx)(s.gA,{as:"h5",variant:"heading.h5",color:"#1F2933",sx:{fontSize:"inherit"},children:e.header}),(0,t.jsx)(s.sD,{richTextArray:e.text}),(null==e?void 0:e.textListHeader)&&(0,t.jsx)(s.gA,{as:"h5",variant:"heading.h5",color:"#1F2933",sx:{fontSize:"inherit"},children:e.textListHeader}),(null==e?void 0:e.textList)&&(0,t.jsx)(o.B8B,{children:e.textList.map((l,i)=>(0,t.jsx)(o.B8B.Item,{sx:{fontWeight:"400"},icon:"Dots"===e.textListType?o.ysc:o.iWP,children:l},l+n+i))}),((null==e?void 0:e.infoBoxHeader)||(null==e||null==(l=e.infoBoxText)?void 0:l.length)>0)&&(0,t.jsxs)(t.Fragment,{children:[(null==e?void 0:e.infoBoxHeader)&&(0,t.jsx)(o.fzL,{children:e.infoBoxHeader}),(null==e||null==(i=e.infoBoxText)?void 0:i.length)>0&&(0,t.jsx)(s.sD,{richTextArray:e.infoBoxText})]}),e.linkList&&(null==e||null==(u=e.linkList)||null==(x=u[0])||null==(d=x.pageLink)||null==(a=d.stdLink)?void 0:a.externalLink)&&(0,t.jsx)(t.Fragment,{children:null==e||null==(c=e.linkList)?void 0:c.map((e,l)=>{var i,r,a,d,s,x,u,c,m;return(0,t.jsxs)(o.N_E,{underlined:(null==(i=e.pageLink)?void 0:i.targetWindow)!=="_blank",href:null!=(c=null==(a=e.pageLink)||null==(r=a.stdLink)?void 0:r.externalLink)?c:void 0,target:null!=(m=null==(d=e.pageLink)?void 0:d.targetWindow)?m:"_self",children:[null==(x=e.pageLink)||null==(s=x.stdLink)?void 0:s.linkText," ",(null==(u=e.pageLink)?void 0:u.targetWindow)==="_blank"&&(0,t.jsx)(o.HW5,{})]},l+n)})})]},n)})})]})]}),null==e||null==(p=e.allProductFeatures)?void 0:p.map((i,r)=>{var a,s,x;
1return l.length-1<r?null:(0,t.jsx)(o.XIK.Column,{sx:{textAlign:"center",minWidth:"".concat(w),borderBottom:"none",maxHeight:m&&"68.8px",alignContent:"center",padding:m?"16px 4px":"12px 8px",[d.Ay.from(d.Ay.TABLET)]:{padding:"16px 4px",maxHeight:"68.8px"}},children:(0,t.jsx)(o.son,{sx:{justifyContent:"center"},children:(null==i||null==(a=i.productText)?void 0:a.linkText)?(0,t.jsx)(o.$nd,{as:"a",href:i.productText.href,target:i.productText.target,sx:{[d.Ay.to(d.Ay.LARGE_MOBILE)]:{width:"100%"}},children:i.productText.linkText}):(null==(s=i.productText)?void 0:s.text)?(0,t.jsx)(o.EYj,{children:(0,ec.T)(null==(x=i.productText)?void 0:x.text)}):i.included?(0,t.jsx)(o.iWP,{"aria-label":"Ing\xe5r"}):(0,t.jsx)(o.YPw,{color:"greyScale.4","aria-label":"Ing\xe5r inte"})})},e.rowTitle+n+r)})]},n)},n)})})]})})},ev=e=>{var n,l;let{heading:i,paragraph:r,link:a,icon:x}=e;return(0,t.jsxs)(o.son,{sx:{flexDirection:"column",gap:"2",width:"100%",color:"blueScale.4",maxHeight:"fit-content"},children:[(0,t.jsxs)(o.son,{sx:{gap:"2"},children:[x&&(0,t.jsx)(s.FI,{icon:x}),i&&(0,t.jsx)(s.gA,{variant:i.variant,as:null!=(n=i.as)?n:"p",color:i.color,sx:{"word-break":"auto-phrase"},children:i.text})]}),(0,t.jsxs)(o.azJ,{sx:{paddingLeft:x&&"32px"},children:[r&&(0,t.jsx)(o.fzL,{sx:{display:"inline",color:"var(--theme-ui-colors-text);",[d.Ay.to(d.Ay.SMALL_MOBILE)]:{hyphens:"auto",overflowWrap:"break-word"}},children:r}),a&&a.text&&a.url&&(0,t.jsxs)(o.N_E,{sx:{[d.Ay.to(d.Ay.SMALL_MOBILE)]:{hyphens:"auto",overflowWrap:"break-word",wordBreak:"break-word"}},color:"blueScale.4",href:null==a?void 0:a.url,target:null==a?void 0:a.target,rel:null!=(l=null==a?void 0:a.rel)?l:void 0,children:[null==a?void 0:a.text,(null==a?void 0:a.target)==="_blank"&&(0,t.jsx)(o.HW5,{})]})]})]})},ef=e=>{let{uspList:n}=e,l=(null==n?void 0:n.length)===1;return n&&(0,t.jsx)(o.son,{sx:{flexDirection:"column",justifyContent:"center",alignItems:"center",gap:12,paddingX:8,paddingY:10,[d.Ay.from(d.Ay.TABLET)]:{gap:6,paddingX:l?20:12,paddingY:l?32:12},[d.Ay.from(d.Ay.DESKTOP)]:{paddingX:24,paddingY:l?48:24},[d.Ay.from(d.Ay.LARGE_DESKTOP)]:{paddingX:l?32:40,paddingY:l?48:40},"> *":{flexBasis:"50%"}},children:n.map((e,n)=>(0,t.jsx)(ev,{heading:e.heading,paragraph:e.paragraph,link:e.link,icon:e.icon},n))})},ej=e=>{let{icon:n,question:l,answer:i,iconPlus:a}=e,[x,u]=(0,r.useState)(!1);return(0,t.jsx)(t.Fragment,{children:l&&(0,t.jsx)(o.I8C,{id:null!=l?l:void 0,icon:n?(0,s.GE)(n):()=>null,text:l,headingTag:"h3",rightSideIconPlus:a,expanded:x,onClick:()=>u(!x),sx:{borderBottomStyle:"solid",whiteSpace:"normal",[d.Ay.to(d.Ay.SMALL_MOBILE)]:{hyphens:"auto"},borderBottomColor:x?"blueScale.4":"greyScale.2",borderBottomWidth:"1px",paddingY:"2"},children:i.length>0&&(0,t.jsx)(o.azJ,{sx:{backgroundColor:"white",borderRadius:"12px",padding:"16px",width:"100%","> div > div > p > a":{display:"inline"}},children:(0,t.jsx)(L,{data:i,headings:null,centerHeading:!1,centerText:!1,paragraph:null})})})})},ey=e=>{let{data:n}=e;return(0,t.jsx)(t.Fragment,{children:n.map((e,n)=>{var l,i;return(0,t.jsxs)(r.Fragment,{children:[(null==e||null==(l=e.texts)?void 0:l.length)>0&&(0,t.jsx)(ek,{texts:e.texts}),(null==e||null==(i=e.links)?void 0:i.length)>0&&(0,t.jsx)(eA,{links:e.links})]},n)})})},eA=e=>{let{links:n}=e;return(0,t.jsx)(o.azJ,{sx:{display:"flex",flexDirection:"column"},children:n.map((e,n)=>(0,t.jsx)(s.Ek,{pageLink:null==e?void 0:e.pageLink,pageLinkType:null==e?void 0:e.pageLinkType},n))})},ek=e=>{let{texts:n}=e;return(0,t.jsx)(t.Fragment,{children:n.map((e,n)=>(0,t.jsxs)(o.azJ,{sx:{marginBottom:"1.25rem"},children:[e.heading&&(0,t.jsx)(s.gA,{as:"h3",variant:"h3",sx:{marginBottom:"0.25rem"},children:e.heading}),e.text&&(0,t.jsx)(o.fzL,{sx:{fontFamily:"var(--folksamSans-bold)",marginBottom:"1rem"},children:e.text}),e.content&&(0,t.jsx)(s.sD,{richTextArray:e.content})]},n))})},ew=e=>{let{heading:n,paragraph:l,link:i,convertLinkToButton:r,variant:a,list:x}=e;return(0,t.jsx)(o.son,{children:(0,t.jsxs)(o.son,{sx:{flexDirection:"column",gap:"6",width:"100%",paddingX:8,paddingY:10,[d.Ay.from(d.Ay.TABLET)]:{paddingX:16,paddingY:16},[d.Ay.from(d.Ay.DESKTOP)]:{paddingX:24,paddingY:24},[d.Ay.from(d.Ay.LARGE_DESKTOP)]:{paddingX:32,paddingY:48}},children:[n&&n.map((e,n)=>(0,t.jsx)(s.gA,{as:e.as,variant:e.variant,color:e.color,sx:{hyphens:"auto","word-break":"auto-phrase"},children:e.text},n)),l&&(0,t.jsx)(s.sD,{richTextArray:l}),x&&(0,t.jsx)(O,{...x}),r&&i&&i.text&&i.url&&i.target?(0,t.jsx)(o.$nd,{as:o.N_E,href:null==i?void 0:i.url,variant:a,rel:"string"==typeof i.rel?i.rel:void 0,target:i.target,sx:{margin:"auto",[d.Ay.from(d.Ay.DESKTOP)]:{maxWidth:"75%"},[d.Ay.from(d.Ay.LARGE_DESKTOP)]:{maxWidth:"65%"}},children:null==i?void 0:i.text}):i&&i.text&&i.url&&i.target&&(0,t.jsxs)(o.N_E,{href:i.url,rel:"string"==typeof i.rel?i.rel:void 0,target:i.target,sx:{width:"fit-content"},children:[i.text,(0,t.jsx)(o.rWz,{})]})]})})},eT=e=>{var n,l,i,r,a,d,x,u,c,m,h;let{data:p}=e,g=p[0].templateData.data.isTabOpen,v=(null==p?void 0:p.length)>0&&(null==(i=p[0])||null==(l=i.templateData)||null==(n=l.data)?void 0:n.tabIcon)?()=>(0,t.jsx)(s.FI,{icon:p[0].templateData.data.tabIcon}):null;return(null==p?void 0:p.length)>0&&(null==(a=p[0].templateData)||null==(r=a.data)?void 0:r.heading)&&(0,t.jsx)(o.Upq,{children:p[0].templateData.data.variant?(0,t.jsx)(o.nD3,{expanded:g,isOpenFromStart:g,icon:v,title:p[0].templateData.data.heading,variant:p[0].templateData.data.variant,accordionHeaderTag:p[0].templateData.data.headingTag,description:p[0].templateData.data.description,children:(0,t.jsx)(o.son,{sx:{paddingTop:5,flexDirection:"column",gap:p.length>2?null==(u=p[0])||null==(x=u.templateData)||null==(d=x.data)?void 0:d.tabGap:0},children:p.map((e,n)=>0!==n?(0,t.jsx)(nO,{templates:Array(e)},n):null)})}):(0,t.jsx)(o.I8C,{expanded:p[0].templateData.data.isTabOpen,isOpenFromStart:p[0].templateData.data.isTabOpen,icon:v,text:p[0].templateData.data.heading,rightSideIconPlus:p[0].templateData.data.iconPlus,description:p[0].templateData.data.description,children:(0,t.jsx)(o.son,{sx:{paddingTop:5,flexDirection:"column",gap:p.length>
12?null==(h=p[0])||null==(m=h.templateData)||null==(c=m.data)?void 0:c.tabGap:0},children:p.map((e,n)=>0!==n?(0,t.jsx)(nO,{templates:Array(e)},n):null)})})})},eb=e=>{var n,l,i,r,a,d;let{data:s}=e;return(0,t.jsxs)(o.azJ,{marginY:5,children:[(null==(i=s[0])||null==(l=i.templateData)||null==(n=l.data)?void 0:n.showGroupHeader)==="Yes"?(0,t.jsx)(o.DZT,{as:"h2",color:"blueScale.4",sx:{paddingBottom:"0.75rem"},children:null==(d=s[0])||null==(a=d.templateData)||null==(r=a.data)?void 0:r.tabGroupHeader}):null,s.map((e,n)=>{if(0!==n)return(0,t.jsx)(nO,{templates:Array(e)},n)})]})},eL=e=>{var n,l,i,r,a;let{data:d}=e,x="Open"===d[0].templateData.metadata.tabShow,u=(null==d?void 0:d.length)>0&&(null==(i=d[0])||null==(l=i.templateData)||null==(n=l.data)?void 0:n.tabIcon)?()=>(0,t.jsx)(s.FI,{icon:d[0].templateData.data.tabIcon}):null;return(0,t.jsx)(o.Upq,{children:(0,t.jsx)(o.nD3,{id:null!=(a=null==(r=d[0].templateData.data)?void 0:r.id)?a:void 0,expanded:x,isOpenFromStart:x,icon:u,title:d[0].templateData.data.tabHeader,children:(0,t.jsx)(o.azJ,{children:d.map((e,n)=>{if(0!==n)return(0,t.jsx)(nO,{templates:Array(e)},n)})})})})},eB=e=>{let{topSubHeader:n,header:l,subHeader:i}=e;return(0,t.jsxs)(o.azJ,{sx:{marginY:"12px"},children:[n.text&&(0,t.jsx)(o.fzL,{color:n.color,sx:{fontFamily:"var(--folksamSans)",marginBottom:"12px"},children:n.text}),l.text&&(0,t.jsx)(s.gA,{as:"h1",variant:"h1",color:l.color,marginBottom:"12px",children:l.text}),i.text&&(0,t.jsx)(s.gA,{as:"h2",variant:"h2",color:i.color,children:i.text})]})},eC=e=>{let{topSubHeader:n,header:l,subHeader:i}=e;return(0,t.jsxs)(o.azJ,{sx:{textAlign:"center",marginY:"12px"},children:[n.text&&(0,t.jsx)(s.gA,{as:"h3",variant:"h3",color:n.color,sx:{marginBottom:"12px"},children:n.text}),l.text&&(0,t.jsx)(s.gA,{as:"h1",variant:"h1",sx:{marginBottom:"12px"},color:l.color,children:l.text}),i.text&&(0,t.jsx)(o.fzL,{sx:{fontFamily:"var(--folksamSans)"},color:i.color,marginBottom:"12px",children:i.text})]})},eS=e=>{let{topSubHeader:n,header:l,subHeader:i}=e;return(0,t.jsxs)(o.azJ,{sx:{textAlign:"center",marginY:"12px"},children:[n.text&&(0,t.jsx)(s.gA,{as:"h3",sx:{marginBottom:"12px"},variant:"h3",children:n.text}),l.text&&(0,t.jsx)(s.gA,{as:"h1",variant:"h1",color:l.color,sx:{marginBottom:"12px"},children:l.text}),i.text&&(0,t.jsx)(s.gA,{as:"h2",color:i.color,sx:{marginBottom:"12px"},variant:"h2",children:i.text})]})},eD=e=>{let{imageLink:n}=e,[l,i]=(0,r.useState)(!1),[a,s]=(0,r.useState)("Visa fler"),[x,u]=(0,r.useState)(4),[c,m]=(0,r.useState)(!1);return((0,r.useEffect)(()=>{let e=()=>{m(window.innerWidth>=1024)};return e(),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}},[]),!n||n.length<=0)?null:(0,t.jsxs)(o.azJ,{sx:{display:"grid",gridTemplateColumns:"repeat(1, 1fr)",gap:"4",maxWidth:"1024px",marginX:"auto","> * > div":{width:"100%"},[d.Ay.from(d.Ay.DESKTOP)]:{gridTemplateColumns:n.length>1?"repeat(2, 1fr)":"repeat(1, 1fr)"}},children:[(c?n:n.slice(0,x)).map((e,n)=>{var l;return(0,t.jsx)(H,{href:e.link.href,backgroundColor:"background",clickable:"true",iconEnd:"IconCaretRight",children:(0,t.jsxs)(o.son,{sx:{alignItems:"center",gap:"2",width:"100%"},children:[(null==(l=e.image)?void 0:l.src)&&(0,t.jsx)(o._V3,{src:e.image.src,alt:e.image.alt,width:"47",height:"47"}),(0,t.jsx)(o.EYj,{sx:{fontFamily:"var(--folksamSans-bold)",fontSize:"0.875rem",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"break-spaces",[d.Ay.from(d.Ay.TABLET)]:{fontSize:"inherit"}},children:e.link.text})]})},n)}),(0,t.jsx)(o.son,{children:!c&&(0,t.jsxs)(o.$nd,{onClick:()=>{var e;return e=null==n?void 0:n.length,void(l?(s("Visa fler"),u(4)):(s("Visa f\xe4rre"),u(e)),i(!l))},sx:{margin:"auto",marginTop:"1",width:"90%",display:(null==n?void 0:n.length)<=4?"none":"inherit",[d.Ay.from(d.Ay.TABLET)]:{width:"60%"}},children:[a,(0,t.jsx)(o.WuD,{rotated:l,children:(0,t.jsx)(o.LcW,{height:20,width:20})})]})})]})},eE=e=>{let{productList:n}=e;return(0,t.jsx)(t.Fragment,{children:n&&n.map((e,n)=>{var l;return(0,t.jsxs)(o.azJ,{sx:{backgroundColor:"greyScale.1",padding:4,[d.Ay.from(d.Ay.TABLET)]:{padding:8}},children:[(0,t.jsx)(o.son,{sx:{[d.Ay.from(d.Ay.TABLET)]:{justifyContent:"center"}},children:(0,t.jsx)(o.DZT,{as:"h3",sx:{fontSize:"1.25rem",marginBottom:"4",color:"blueScale.4",[d.Ay.from(d.Ay.TABLET)]:{fontSize:"1.375rem"}},children:null==e||null==(l=e.header)?void 0:l.text})}),(null==e?void 0:e.imageLink)&&(0,t.jsx)(eD,{imageLink:null==e?void 0:e.imageLink})]},n)})})},ez=e=>{let{productList:n}=e;return(0,t.jsx)(t.Fragment,{children:n&&n.map((e,n)=>{var l,i;return(0,t.jsxs)(o.azJ,{sx:{backgroundColor:"greyScale.1",padding:5,borderRadius:"10px",marginBottom:12,[d.Ay.from(d.Ay.TABLET)]:{padding:8}},children:[(0,t.jsx)(s.gA,{as:"h3",variant:"h2",sx:{marginBottom:"1",color:null==e||null==(l=e.header)?void 0:l.color},children:null==e||null==(i=e.header)?void 0:i.text}),(null==e?void 0:e.text)&&(0,t.jsx)(s.sD,{richTextArray:e.text}),(0,t.jsx)(o.son,{sx:{flexDirection:"column",gap:"4","> * > div":{width:"100%"},marginTop:"4"}
1,children:(null==e?void 0:e.imageLink)&&(null==e?void 0:e.imageLink.map((e,n)=>{var l;return(0,t.jsx)(H,{href:e.link.href,backgroundColor:"background",clickable:"true",iconEnd:"IconCaretRight",children:(0,t.jsxs)(o.son,{sx:{alignItems:"center",gap:"4"},children:[(null==(l=e.image)?void 0:l.src)&&(0,t.jsx)(o._V3,{src:e.image.src,alt:e.image.alt,width:"47",height:"47"}),(0,t.jsx)(o.EYj,{sx:{fontSize:"0.875rem",fontFamily:"var(--folksamSans-bold)",[d.Ay.from(d.Ay.TABLET)]:{fontSize:"inherit"}},children:e.link.text})]})},n)}))})]},n)})})},eI=e=>{var n;let{heading:l,text:i,backGroundSelection:r}=e;return l||i||r?(0,t.jsxs)(o.azJ,{sx:{width:"100%",backgroundColor:null!=(n=null==r?void 0:r.color)?n:"blueScale.1",paddingX:"19px",paddingY:"20px",marginBottom:"19px",borderRadius:"10px",[d.Ay.from(d.Ay.TABLET)]:{paddingX:"30px",paddingY:"24px"},[d.Ay.from(d.Ay.DESKTOP)]:{paddingX:"40px",paddingY:"35px"}},children:[l&&(0,t.jsx)(o.DZT,{as:"h2",color:null==r?void 0:r.headingColor,marginBottom:"17px",children:l}),i&&(null==i?void 0:i.length)>0&&(0,t.jsx)(o.son,{as:"ul",sx:{flexDirection:"column",gap:2,listStyleType:"none",padding:"0"},children:i.map((e,n)=>(0,t.jsxs)(o.son,{as:"li",sx:{color:null==r?void 0:r.textColor},children:[(null==r?void 0:r.listSelect)&&(0,t.jsx)(o.iWP,{width:"24px",height:"24px",marginRight:"5px"}),(0,t.jsx)(o.son,{sx:{flexDirection:"column"},children:(0,t.jsx)(s.sD,{richTextArray:e})})]},n))})]}):null},eF=e=>{let{text:n,backGroundSelection:l}=e;return n||l?(0,t.jsx)(o.azJ,{sx:{marginBottom:"18px"},children:n&&(null==n?void 0:n.length)>0&&(0,t.jsx)(o.azJ,{as:"ul",sx:{listStyleType:"none",padding:(null==l?void 0:l.color)?"35px 40px 25px":"0",backgroundColor:null==l?void 0:l.color,borderRadius:(null==l?void 0:l.color)?"10px":void 0},children:n.map((e,n)=>(0,t.jsxs)(o.son,{as:"li",sx:{color:null==l?void 0:l.textColor,marginBottom:"2"},children:[(null==l?void 0:l.listSelect)&&(0,t.jsx)(o.iWP,{width:"24px",height:"24px",marginRight:"5px"}),(0,t.jsx)(o.son,{sx:{flexDirection:"column"},children:(0,t.jsx)(s.sD,{richTextArray:e})})]},n))})}):null},eO=e=>{let{quotation:n,quoteBy:l,textColor:i,sx:r}=e;return n?(0,t.jsxs)(o.azJ,{as:"blockquote",sx:{display:"flex",flexDirection:"column",gap:4,borderLeft:"10px solid #ebf9fe",paddingLeft:"24px",...r},children:[(0,t.jsx)(o.EYj,{sx:{color:i,fontSize:"1.375rem",lineHeight:"1.5",[d.Ay.from(d.Ay.TABLET)]:{fontSize:"1.625rem"}},children:'"'+n+'"'}),l?(0,t.jsx)("cite",{children:(0,t.jsx)(o.EYj,{sx:{color:i,fontStyle:"normal",[d.Ay.from(d.Ay.TABLET)]:{fontSize:"1.125rem"}},children:l})}):null]}):null},eR=e=>{let{block:n}=e;return(null==n?void 0:n.length)<=0?null:(0,t.jsx)(o.son,{sx:{gap:5,marginY:"20px",flexDirection:"column",justifyContent:"center",[d.Ay.from(d.Ay.TABLET)]:{flexDirection:"row"},[d.Ay.from(d.Ay.DESKTOP)]:{gap:10}},children:n.map(e=>{var n;return null==e||null==(n=e.editorialContent)?void 0:n.map((e,n)=>e&&(null==e?void 0:e.content)?(0,t.jsx)(eP,{editorialContent:e},n):null)})})},eP=e=>{var n,l,i,r,a,x,u,c,m,h,p,g,v,f,j,y,A,k,w,T,b,L,B,C,S,D,E,z,I,F;let{editorialContent:O}=e,R=null!=(z=null!=(E=null==O||null==(l=O.content)||null==(n=l.media)?void 0:n.alt)?E:null==O||null==(i=O.content)?void 0:i.alternateText)?z:"";return(0,t.jsxs)(o.son,{sx:{backgroundColor:"blueScale.1",borderRadius:"20px",flexDirection:"column",flex:1,[d.Ay.from(d.Ay.LARGE_DESKTOP)]:{flexDirection:"row"}},children:[(0,t.jsxs)(o.azJ,{sx:{paddingTop:"25px",paddingX:"19px",[d.Ay.from(d.Ay.TABLET)]:{paddingTop:"25px",paddingX:"24px"},[d.Ay.from(d.Ay.DESKTOP)]:{paddingLeft:"40px",paddingRight:"40px",paddingY:"30px"}},children:[(null==O||null==(r=O.content)?void 0:r.subheading)&&(0,t.jsx)(o.DZT,{as:"h2",sx:{marginBottom:"2",color:null!=(I=null==(a=O.style)?void 0:a.headingColor)?I:"blueScale.4",[d.Ay.from(d.Ay.DESKTOP)]:{marginBottom:"5px"}},children:O.content.subheading}),(null==O||null==(x=O.content)?void 0:x.content)&&(0,t.jsx)(s.sD,{richTextArray:O.content.content,sx:{marginBottom:"20px",color:null!=(F=null==(u=O.style)?void 0:u.textColor)?F:"greyScale.5"}}),(null==O||null==(h=O.content)||null==(m=h.link)||null==(c=m.pageLink)?void 0:c.link)&&(null==O||null==(f=O.content)||null==(v=f.link)||null==(g=v.pageLink)||null==(p=g.stdLink)?void 0:p.linkText)&&(0,t.jsxs)(o.N_E,{sx:{display:"flex",alignItems:"center",width:"fit-content"},href:null==O||null==(A=O.content)||null==(y=A.link)||null==(j=y.pageLink)?void 0:j.link.url,children:[null==O||null==(T=O.content)||null==(w=T.link)||null==(k=w.pageLink)?void 0:k.link.linkText,(0,t.jsx)(o.rWz,{height:18,width:18})]})]}),(null==O||null==(b=O.content)?void 0:b.media)&&(null==(B=O.content)||null==(L=B.media)?void 0:L.src)&&(0,t.jsx)(o.azJ,{sx:{width:"100%",height:"100%",display:"flex",justifyContent:"flex-end",alignItems:"end"},children:(0,t.jsx)(o.azJ,{sx:{position:"relative",aspectRatio:"240/150",width:"50%",[d.Ay.from(d.Ay.LARGE_DESKTOP)]:{width:"100%"}},children:(0,t.jsx)(o._V3,{src:null==O||null==(S=O.content)||null==(C=S.media)?void 0:C.src,fill:!0,alt:R})})})]},null==O||null==(D=O.content)?void 0:D.subheading)},eH=e=>{let{block:n}=e;return(0,t.jsx)(o.son,{sx:{width:"100%",gap:"5",flexDirection:"column",marginBottom:"19px",paddingX:"19px",borderRadius:"20px",[d.Ay.from(d.Ay.DESKTOP)]:{flexDirection:"row"}},children:n.map((e,n)=>{var l,i,r,a,x,u,c,m,h,p,g,v,f;let j=null==e||null==(l=e.editorialContent)?void 0:l[0];return(0,t.jsx)(o.azJ,{sx:{display:"flex",flex:1},children:(0,t.jsxs)(o.azJ,{as:"a",href:null==j||null==(x=j.content)||null==(a=x.link)||null==(r=a.pageLink)||null==(i=r.link)?void 0:i.url,title:null!=(f=null==j||null==(h=j.content)||null==(m
1=h.link)||null==(c=m.pageLink)||null==(u=c.link)?void 0:u.title)?f:void 0,sx:{all:"unset",display:"flex",width:"100%",backgroundColor:"greyScale.1",flexDirection:"column",paddingLeft:"20px",paddingRight:"55px",paddingTop:"18px",paddingBottom:"23px",boxShadow:"xs",cursor:"pointer",outline:"2px solid transparent",borderRadius:"20px",transition:"all 0.1s ease-in-out","&:hover":{boxShadow:"md"},"&:hover > h3":{textDecoration:"underline",textDecorationThickness:" 2px"},"&:focus":{outlineOffset:"4px",outlineColor:"blueScale.4",boxShadow:"primary"},[d.Ay.from(d.Ay.DESKTOP)]:{paddingRight:"20px"}},children:[(null==j?void 0:j.contentType)&&(0,t.jsx)(s.gA,{as:"h2",variant:"h4",sx:{marginBottom:"2",color:"blueScale.4"},children:null==j?void 0:j.contentType}),(null==j||null==(p=j.content)?void 0:p.subheading)&&(0,t.jsx)(s.gA,{as:"h3",variant:"h3",sx:{marginBottom:"7px","&:hover":{textDecoration:"underline",textDecorationThickness:" 2px"}},children:null==j?void 0:j.content.subheading}),(null==j||null==(g=j.content)?void 0:g.content)&&(0,t.jsx)(s.sD,{richTextArray:null==j||null==(v=j.content)?void 0:v.content})]})},n)})})},eJ=e=>{let{isTopLine:n,bulletItem:l}=e;return(0,t.jsx)(o.azJ,{sx:{width:"100%",position:"relative","&::before":{content:n?'""':"none",position:"absolute",margin:"auto",left:0,right:0,height:"1px",width:"calc(100% - 4rem)",borderBottom:e=>{var n,l;return"1px solid ".concat(null==(l=e.colors)||null==(n=l.greyScale)?void 0:n[2])}},">  :nth-of-type(1)":{marginBottom:"0"}},children:l.map((e,n)=>{var l,i,r,a,x,u,c,m,h;return(0,t.jsxs)(o.azJ,{sx:{marginBottom:"24px",paddingBottom:"24px",paddingTop:"19px",[d.Ay.from(d.Ay.TABLET)]:{paddingTop:"24px"},[d.Ay.from(d.Ay.DESKTOP)]:{marginBottom:"40px",paddingY:"40px"},position:"relative","&::after":{content:e.isLine?'""':"none",position:"absolute",bottom:"0",left:"0",right:"0",marginX:"auto",height:"1px",width:"calc(100% - 4rem)",borderBottom:e=>{var n,l;return"1px solid ".concat(null==(l=e.colors)||null==(n=l.greyScale)?void 0:n[2])}}},children:[e.image&&(0,t.jsx)(o.azJ,{sx:{position:"relative",width:"100%",aspectRatio:"2.1",marginBottom:"30px",[d.Ay.from(d.Ay.TABLET)]:{marginBottom:"37px"}},children:(0,t.jsx)(o._V3,{fill:!0,src:e.image,alt:null==e?void 0:e.alternateText,sx:{maxWidth:"100%"}})}),e.heading&&(0,t.jsx)(o.DZT,{as:"h3",children:e.heading}),e.text&&(0,t.jsx)(s.sD,{richTextArray:e.text,sx:{marginBottom:"20px"}}),(null==(i=e.link)||null==(l=i.pageLink)?void 0:l.link)&&(null==e||null==(x=e.link)||null==(a=x.pageLink)||null==(r=a.stdLink)?void 0:r.linkText)&&(0,t.jsxs)(o.N_E,{sx:{display:"flex",alignItems:"center",width:"fit-content"},href:null==e||null==(c=e.link)||null==(u=c.pageLink)?void 0:u.link.url,children:[null==e||null==(h=e.link)||null==(m=h.pageLink)?void 0:m.link.linkText,(0,t.jsx)(o.rWz,{height:18,width:18})]})]},n)})})},eW=e=>{let{backgroundColor:n,contactHeading:l,numberList:i,templateName:r}=e,a="Content:CampaignNumberBoxList"===r;return(0,t.jsxs)(o.son,{sx:{flexDirection:"column",gap:10,backgroundColor:n},children:[l?(0,t.jsx)(o.EYj,{as:"h2",children:l}):null,(null==i?void 0:i.length)>0&&i.map((e,n)=>{var l,i,r,x,u,c,m,h,p,g,v,f,j,y,A,k;return(0,t.jsxs)(o.son,{sx:{gap:4,flexDirection:"column",[d.Ay.from(d.Ay.TABLET)]:{flexDirection:"row"}},children:[(0,t.jsx)(o.son,{sx:{minWidth:"62px",maxWidth:"62px",height:"62px",backgroundColor:"blueScale.1",borderRadius:"50%",justifyContent:"center",alignItems:"center",fontSize:"1.75rem",color:"blueScale.4",fontFamily:"var(--folksamSans-bold)"},children:n+1}),(0,t.jsxs)(o.son,{sx:{flexDirection:"column",gap:4},children:[(null==e||null==(l=e.textContent)?void 0:l.heading)?(0,t.jsx)(o.EYj,{as:"h3",sx:{color:"blueScale.4"},children:e.textContent.heading}):null,(null==e||null==(i=e.textContent)?void 0:i.text)?(0,t.jsx)(o.EYj,{as:"p",sx:{fontFamily:"var(--folksamSans-bold)"},children:e.textContent.text}):null,(null==e||null==(r=e.textContent)?void 0:r.content)?(0,t.jsx)(s.sD,{richTextArray:e.textContent.content,sx:{fontFamily:a&&"var(--folksamSans-bold)"}}):null,(null==e?void 0:e.telephoneDetail)?(0,t.jsxs)(o.son,{sx:{borderTop:"1px solid #E9E8E5",paddingTop:"16px",flexDirection:"column",gap:2},children:[(null==e||null==(x=e.telephoneDetail)?void 0:x.subHeading)?(0,t.jsx)(o.EYj,{as:"h4",children:e.telephoneDetail.subHeading}):null,(null==e||null==(u=e.telephoneDetail)?void 0:u.phoneNumber)?(0,t.jsx)(s.sD,{richTextArray:e.telephoneDetail.phoneNumber}):null,(null==e||null==(c=e.telephoneDetail)?void 0:c.openingHours)?(0,t.jsx)(s.sD,{richTextArray:e.telephoneDetail.openingHours}):null]}
1):null,(null==e||null==(h=e.link)||null==(m=h.pageLink)?void 0:m.link)&&(null==e||null==(v=e.link)||null==(g=v.pageLink)||null==(p=g.stdLink)?void 0:p.linkText)&&(0,t.jsxs)(o.N_E,{href:null==(j=e.link)||null==(f=j.pageLink)?void 0:f.link.url,sx:{display:"flex"},children:[null==(A=e.link.pageLink)||null==(y=A.stdLink)?void 0:y.linkText," ",(null==(k=e.link.pageLink)?void 0:k.targetWindow)==="_blank"?(0,t.jsx)(o.HW5,{}):null]})]})]},n)})]})},eN=e=>{var n,l;let t=document.cookie.split(/; */).reduce((e,n)=>{let l=n.indexOf("="),t=n.slice(0,l).trim(),i=decodeURIComponent(n.slice(l+1)),r="OptanonConsent"===t?i.split("&").reduce((e,n)=>e={...e,[n.split(/=.*/)[0]]:n.split("=")[1]},{}):i;return{...e,[t]:r}},{});(null==t||null==(l=t.OptanonConsent)||null==(n=l.groups)?void 0:n.includes("C0003:1"))&&e(!0)},e_=e=>{let{src:n,title:l,className:i,attribute:a}=e,[s,x]=(0,r.useState)(!1);return((0,r.useEffect)(()=>{eN(x),window.addEventListener("OTConsentApplied",()=>eN(x))},[s]),s)?(0,t.jsx)(o.azJ,{as:"iframe",src:n,title:l,className:null!=i?i:void 0,sx:{border:"none",width:"100%",aspectRatio:"16/9",backgroundColor:"#EEE"},...a}):(0,t.jsxs)(o.son,{sx:{flexDirection:"column",justifyContent:"space-evenly",[d.Ay.from(d.Ay.LARGE_MOBILE)]:{justifyContent:"center",gap:"2rem"},alignItems:"center",textAlign:"center",border:"none",width:"100%",aspectRatio:"16/9",backgroundColor:"blueScale.1",color:"blueScale.1",paddingX:"1rem"},className:"u-align-center",children:[(0,t.jsx)(o.GqI,{}),(0,t.jsx)(o.DZT,{sx:{maxWidth:"600px",fontSize:"1rem",[d.Ay.from(d.Ay.LARGE_MOBILE)]:{fontSize:"1.5rem"}},as:"p",color:"blueScale.4",children:"F\xf6r att kunna se filmen beh\xf6ver du godk\xe4nna cookies f\xf6r f\xf6rb\xe4ttrad anv\xe4ndarupplevelse"}),(0,t.jsx)(o.$nd,{as:"a",href:"/hjalp/cookie-policy/cookieinstallningar",sx:{fontSize:"0.875rem",[d.Ay.from(d.Ay.LARGE_MOBILE)]:{fontSize:"1rem"}},children:"\xc4ndra val av cookies"})]})},eX=e=>{let{mediaItem:n}=e;return(0,t.jsx)(t.Fragment,{children:n&&(null==n?void 0:n.length)>0&&n.map((e,n)=>{var l,i,r,a,s,x;let u=null!=(s=e.alternateText)?s:null==(l=e.media)?void 0:l.alt;return(0,t.jsx)(o.azJ,{sx:{width:null==e?void 0:e.width,height:null==e?void 0:e.height},children:(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)(o.azJ,{as:"figure",sx:{marginBottom:"30px",[d.Ay.from(d.Ay.TABLET)]:{marginBottom:"37px"}},children:[(null==e?void 0:e.link)&&"string"==typeof(null==e?void 0:e.link)&&(0,t.jsx)(e_,{src:null==e?void 0:e.link,title:null!=(x=null==e?void 0:e.caption)?x:"",attribute:null==e?void 0:e.attribute}),(null==e||null==(i=e.media)?void 0:i.src)&&!(null==e?void 0:e.link)&&"string"==typeof(null==e||null==(r=e.media)?void 0:r.src)&&(null==e||null==(a=e.media)?void 0:a.src.length)>0&&(0,t.jsx)(o.azJ,{sx:{position:"relative",width:"100%",aspectRatio:"1.8"},children:(0,t.jsx)(o._V3,{src:e.media.src,alt:u,fill:!0})},n),(null==e?void 0:e.caption)&&(0,t.jsx)(o.azJ,{as:"figcaption",sx:{marginTop:"14px",fontSize:"0.875rem"},children:null==e?void 0:e.caption})]})})},n)})})},eK=e=>{let{mediaItem:n}=e;return(0,t.jsx)(t.Fragment,{children:n&&(null==n?void 0:n.length)>0&&n.map((e,n)=>{var l,i,r;return(null==e?void 0:e.media)&&"string"==typeof(null==e||null==(l=e.media)?void 0:l.src)&&(null==e||null==(i=e.media)?void 0:i.src.length)>0&&(0,t.jsx)(o.azJ,{sx:{position:"relative",width:"100%",marginBottom:3,height:"200px",[d.Ay.from(d.Ay.TABLET)]:{maxWidth:"1240px",marginBottom:5,height:"300px"},[d.Ay.from(d.Ay.LARGE_DESKTOP)]:{height:"350px",marginX:"auto"}},children:(0,t.jsx)(o._V3,{src:e.media.src,alt:null==e||null==(r=e.media)?void 0:r.alt,fill:!0,priority:!0})},n)})})},eV=e=>{var n,l,i;let{facts:r}=e;return r.text.length<=0?null:(0,t.jsxs)(o.azJ,{sx:{backgroundColor:null!=(n=r.boxBackgroundColor)?n:"blueScale.1",width:"100%",paddingX:"19px",paddingTop:"20px",paddingBottom:"15px",marginBottom:"19px",borderRadius:"10px",[d.Ay.from(d.Ay.TABLET)]:{paddingX:"24px",paddingTop:"30px",paddingBottom:"20px",marginBottom:"24px"},[d.Ay.from(d.Ay.DESKTOP)]:{paddingX:"40px",paddingTop:"35px",paddingBottom:"25px",marginBottom:"40px"}},children:[(null==r?void 0:r.heading)&&(0,t.jsx)(o.DZT,{as:null!=(l=null==r?void 0:r.headingType)?l:"h2",color:null!=(i=r.headingColor)?i:"blueScale.4",sx:{marginBottom:"17px",fontSize:"1.5rem"},children:r.heading}),(0,t.jsx)(o.azJ,{as:r.listNumbered?"ol":"ul",sx:{listStyle:r.listNumbered||r.listNumbered&&r.listSelect?void 0:"none",paddingInlineStart:r.listNumbered?"20px":"0",display:r.listSelect?"flex":"box",gap:2*!!r.listSelect,flexDirection:r.listSelect?"column":void 0},children:r.text.map((e,n)=>(0,t.jsxs)(s.Xy.Item,{sx:{display:r.listNumbered||r.listNumbered&&r.listSelect?void 0:"flex",marginBottom:r.listSelect?void 0:2,color:r.textColor},children:[!r.listNumbered&&r.listSelect?(0,t.jsx)(o.azJ,{sx:{color:"blueScale.3",minWidth:"fit-content"},children:(0,t.jsx)(o.iWP,{})}):null,(0,t.jsx)(o.son,{sx:{flexDirection:"column"},children:(0,t.jsx)(s.sD,{sx:{color:r.textColor,marginLeft:r.listSelect&&!r.listNumbered?"3":0},richTextArray:e})})]},n))})]})};var eM=l(5528);let eY=e=>{let{extendedArticle:n}=e,{isCampaignPage:l,isSectionPage:i,isOneToTwoColumnPage:a}=(0,eM.n)();return n.length<0?null:(0,t.jsx)(r.Fragment,{children:n.map((e,n)=>{var r,x,u,c,m,h,p,g,v,f,j,y,A,k,w,T,b,L,B,C,S,D,E,z,I,F,O,R,P,H,J,W,N,_,X,K;let V=(null==(x=e.mediaItem)||null==(r=x.media)?void 0:r.src)&&!(null==(u=e.mediaItem)?void 0:u.link)&&(null==e||null==(c=e.mediaItem)?void 0:c.caption)||(null==(m=e.mediaItem)?void 0:m.link),M=null!=(J=null!=(H=null==(p=e.mediaItem)||null==(h=p.media)?void 0:h.alt)?H:null==(g=e.mediaItem)?void 0:g.alternateText)?J:"";return(0,t.jsx)(o.son,{sx:{flexDirection:"column",width:"100%",backgroundColor:null==e?void 0:e.backgroundColor,maxWidth:a?"45.625rem":void 0},children:(0,t.jsxs)(o.azJ,{sx:{width:"100%",marginX:"auto"},children:[V&&(null==e||null==(v=e.mediaItem)?void 0:v.caption)?(0,t.jsxs)(o.azJ,{as:"figure",sx:{maxWidth:"100%",marginBottom:"30px",[d.Ay.from(d.Ay.TABLET)]:{marginBottom:"37px"}},children:[(null==(f=e.mediaItem)?void 0:f.link)&&(0,t.jsx)(e_,{src:null==e||null==(j=e.mediaItem)?void 0:j.link,title:null!=(W=e.mediaItem.caption)?W:"",className:"optanon-category-C0003",attribute:null==e||null==(y=e.mediaItem)?void 0:y.attribute}),(null==(k=e.mediaItem)||null==(A=k.media)?void 0:A.src)&&!(null==(w=e.mediaItem)?void 0:w.link)&&(0,t.jsx)(o.son,{sx:{position:"relative",aspectRatio:"1.6",maxWidth:i||l?"350px":void 0,width:"100%",marginX:i||l?"auto":void 0,[d.Ay.from(d.Ay.TABLET)]:{marginBottom:"37px"}},children:(0,t.jsx)(o._V3,{src:null==(b=e.mediaItem)||null==(T=b.media)?void 0:T.src,fill:null==(L=e.mediaItem)||!L.width,width:null!=(N=null==(B=e.mediaItem)?void 0:B.width)?N:void 0,height:null!=(_=null==(C=e.mediaItem)?void 0:C.height)?_:void 0,isOldPageTemplate:a,alt:M})}),(0,t.jsx)(o.azJ,{as:"figcaption",sx:{marginTop:"14px",fontSize:"0.875rem"},children:null==e||null==(S=e.mediaItem)?void 0:S.caption})]}):(null==(E=e.mediaItem)||null==(D=E.media)?void 0:D.src)&&!(null==(z=e.mediaItem)?void 0:z.link)&&(0,t.jsx)(o.azJ,{sx:{position:"relative",aspectRatio:"1/1",marginX:i||l?"auto":void 0,maxWidth:i||l?"350px":void 0,marginBottom:"30px",[d.Ay.from(d.Ay.TABLET)]:{marginBottom:"37px"}},children:(0,t.jsx)(o._V3,{src:null==(F=e.mediaItem)||null==(I=F.media)?void 0:I.src,fill:null==(O=e.mediaItem)||!O.width,width:null!=(X=null==(R=e.mediaItem)?void 0:R.width)?X:void 0,height:null!=(K=null==(P=e.mediaItem)?void 0:P.height)?K:void 0,isOldPageTemplate:a,alt:M})}),(null==e?void 0:e.topSubHeader)&&(0,t.jsx)(o.DZT,{as:"p",variant:"h4",sx:{marginBottom:"5px",textAlign:l||i?"center":void 0},color:null==e?void 0:e.topSubHeaderColor,children:null==e?void 0:e.topSubHeader}),(null==e?void 0:e.header)&&(0,t.jsx)(s.gA,{as:"h1",variant:"h1",sx:{marginBottom:"10px",fontSize:"1.875rem",textAlign:l||i?"center":void 0,[d.Ay.from(d.Ay.TABLET)]:{fontSize:"2.625rem"}},color:null==e?void 0:e.mainHeaderColor,children:null==e?void 0:e.header}),(null==e?void 0:e.subHeader)&&(0,t.jsx)(s.gA,{as:"h2",variant:"h2",sx:{marginBottom:"10px",textAlign:l||i?"center":void 0},color:null==e?void 0:e.subHeaderColor,children:null==e?void 0:e.subHeader}),(null==e?void 0:e.contentLinkblock)&&(0,t.jsx)(ey,{data:[e.contentLinkblock]}),(null==e?void 0:e.facts)&&(0,t.jsx)(eV,{facts:e.facts}),(null==e?void 0:e.quotation)&&(0,t.jsx)(eO,{quotation:null==e?void 0:e.quotation,quoteBy:null==e?void 0:e.quoteBy,textColor:null==e?void 0:e.quoteColor,imageSrc:null,
1sx:{marginBottom:"40px"}})]})},n)})})};var eZ=l(5277),eG=l.n(eZ);let e$=e=>{let{heading:n,image:l,text:i}=e;return(0,t.jsxs)(o.son,{sx:{flexDirection:"column",marginBottom:5},children:[l&&"string"==typeof(null==l?void 0:l.src)&&(0,t.jsx)(o.azJ,{sx:{position:"relative",width:"50px",aspectRatio:"1.1",[d.Ay.from(d.Ay.DESKTOP)]:{width:"70px"}},children:(0,t.jsx)(eG(),{src:l.src,alt:l.alt,fill:!0})}),n&&(0,t.jsx)(o.DZT,{as:"h3",sx:{fontSize:"1.25rem",marginY:2,[d.Ay.from(d.Ay.TABLET)]:{fontSize:"1.375rem"},color:"blueScale.4"},children:n}),i&&i.length>0&&i.map((e,n)=>(0,t.jsx)(s.sD,{richTextArray:e},n))]})},eq=e=>{let{question:n,answer:l}=e;return(0,t.jsx)(t.Fragment,{children:n&&(0,t.jsx)(o.I8C,{id:null!=n?n:void 0,icon:(0,s.GE)("IconChatOne"),text:n,headingTag:"h3",sx:{borderBottomStyle:"solid",borderBottomColor:"greyScale.2",borderBottomWidth:"1px",paddingY:"2",">  button > div > svg":{width:"18px",height:"18px"}},children:l&&(0,t.jsx)(o.azJ,{sx:{backgroundColor:"white",borderRadius:"12px",padding:"16px",width:"100%"},children:l&&l.length>0&&l.map((e,n)=>(0,t.jsx)(s.sD,{richTextArray:e},n))})})})},eU=e=>{let{editorialContent:n}=e;return(null==n?void 0:n.length)<=0?null:(0,t.jsx)(o.azJ,{sx:{display:"grid !important",width:"fit-content !important",gap:"1rem",margin:"auto",marginBottom:"19px",paddingX:"1rem",gridTemplateColumns:"1fr",[d.Ay.from(d.Ay.LARGE_MOBILE)]:{gridTemplateColumns:"repeat(min(".concat(n.length,", 2), 1fr)"),marginBottom:"24px"},[d.Ay.from(d.Ay.DESKTOP)]:{gridTemplateColumns:"repeat(".concat(4===n.length?4:"min(".concat(n.length,", 3)"),", 1fr)"),marginBottom:"40px"}},children:n.map((e,n)=>{var l,i,r,o,a,d,s,x,u,c,m,h,p;return(0,t.jsx)(C,{convertLinkToButton:!1,heading:{text:null==e||null==(l=e.content)?void 0:l.subheading,as:"h2",variant:"heading.h2"},headingColor:D.SA,image:null==e||null==(i=e.content)?void 0:i.media,cardVariant:"imageTop",richTextParagraph:null==e||null==(r=e.content)?void 0:r.content,link:{url:null!=(h=null==e||null==(s=e.content)||null==(d=s.link)||null==(a=d.pageLink)||null==(o=a.link)?void 0:o.url)?h:null,text:null!=(p=null==e||null==(m=e.content)||null==(c=m.link)||null==(u=c.pageLink)||null==(x=u.link)?void 0:x.linkText)?p:null,rel:null}},n)})})},eQ=e=>{let{editorialContent:n}=e;return(null==n?void 0:n.length)<=0?null:(0,t.jsx)(t.Fragment,{children:n.map((e,n)=>{var l,i,r,a,x,u,c,m,h,p,g,v,f,j,y,A,k,w,T,b,L,B,C,S,E,z,I,F;let O=null!=(I=null!=(z=null==e||null==(i=e.content)||null==(l=i.media)?void 0:l.alt)?z:null==e||null==(r=e.content)?void 0:r.alternateText)?I:"";return(0,t.jsxs)(o.azJ,{sx:{display:"block !important",marginTop:"18px",marginBottom:"24px",backgroundColor:"blueScale.1",padding:"19px",borderRadius:"10px",[d.Ay.from(d.Ay.TABLET)]:{padding:"24px",marginBottom:"19px"},[d.Ay.from(d.Ay.DESKTOP)]:{padding:"30px",marginTop:"20px",marginBottom:"40px"}},children:[(null==(x=e.content)||null==(a=x.media)?void 0:a.src)&&(0,t.jsx)(o.azJ,{sx:{position:"relative",width:"50px",marginBottom:"18px",[d.Ay.from(d.Ay.DESKTOP)]:{width:"75px"}},children:(0,t.jsx)(o._V3,{src:null==(c=e.content)||null==(u=c.media)?void 0:u.src,alt:O,width:0,height:0,sx:{width:"100%",height:"auto"}})}),(null==e||null==(m=e.content)?void 0:m.subheading)&&(0,t.jsx)(s.gA,{as:"h3",sx:{marginBottom:"4px",fontSize:"1.25rem"},color:D.SA,variant:"h3",children:e.content.subheading}),(null==e||null==(h=e.content)?void 0:h.content)&&(0,t.jsx)(s.sD,{richTextArray:null==e||null==(p=e.content)?void 0:p.content,sx:{marginBottom:"20px"}}),(null==e||null==(f=e.content)||null==(v=f.link)||null==(g=v.pageLink)?void 0:g.link)&&(null==e||null==(k=e.content)||null==(A=k.link)||null==(y=A.pageLink)||null==(j=y.stdLink)?void 0:j.linkText)&&(0,t.jsxs)(o.N_E,{sx:{display:"flex",alignItems:"center",width:"fit-content"},href:null!=(F=null==e||null==(L=e.content)||null==(b=L.link)||null==(T=b.pageLink)||null==(w=T.link)?void 0:w.url)?F:void 0,children:[null==e||null==(E=e.content)||null==(S=E.link)||null==(C=S.pageLink)||null==(B=C.link)?void 0:B.linkText,(0,t.jsx)(o.rWz,{height:18,width:18})]})]},n)})})},e0=e=>{let{editorialContent:n}=e;return(null==n?void 0:n.length)<=0?null:(0,t.jsx)(t.Fragment,{children:n.map((e,n)=>{var l,i,r,a,d,s,x,u,c,m,h,p;let g=null!=(h=null!=(m=null==e||null==(i=e.content)||null==(l=i.media)?void 0:l.alt)?m:null==(r=e.content)?void 0:r.alternateText)?h:"";return(null==(a=e.content)?void 0:a.content)&&(0,t.jsx)(o.lZ$,{heading:"",variant:"white",sx:{dis
1play:"flex"},children:(0,t.jsxs)(o.son,{sx:{alignItems:"center"},children:[(null==e||null==(s=e.content)||null==(d=s.media)?void 0:d.src)&&(0,t.jsx)(o.son,{sx:{alignItems:"center",justifyContent:"center",padding:"20px",minWidth:"fit-content",border:e=>{var n,l;return"1px solid ".concat(null==(l=e.colors)||null==(n=l.greyScale)?void 0:n[2])},borderRadius:"100%",marginRight:"20px"},children:(0,t.jsx)(o._V3,{src:null!=(p=null==e||null==(u=e.content)||null==(x=u.media)?void 0:x.src)?p:null,alt:g,width:100,height:100,sx:{objectFit:"fill"}})}),(0,t.jsx)(b.s,{richTextArray:null==e||null==(c=e.content)?void 0:c.content})]})},n)})})},e1=e=>{let{editorialContent:n}=e;return(null==n?void 0:n.length)<=0?null:(0,t.jsx)(t.Fragment,{children:n.map((e,n)=>{var l,i,r,a,s,x,u,c,m,h,p,g,v,f,j,y,A,k,w,T,L,B,C,S,D,E;let z=null!=(D=null!=(S=null==e||null==(i=e.content)||null==(l=i.media)?void 0:l.alt)?S:null==(r=e.content)?void 0:r.alternateText)?D:"";return(null==(a=e.content)?void 0:a.content)&&(0,t.jsx)(o.lZ$,{heading:"",variant:"white",sx:{display:"flex",marginBottom:"19px",[d.Ay.from(d.Ay.TABLET)]:{marginBottom:"24px",flexDirection:"row"},[d.Ay.from(d.Ay.DESKTOP)]:{marginBottom:"40px",flexDirection:"row"}},children:(0,t.jsxs)(o.son,{sx:{alignItems:"center",flexDirection:"column",[d.Ay.from(d.Ay.LARGE_MOBILE)]:{flexDirection:"row"},[d.Ay.from(d.Ay.DESKTOP)]:{flexDirection:"row"}},children:[(null==e||null==(x=e.content)||null==(s=x.media)?void 0:s.src)&&(0,t.jsx)(o.son,{sx:{alignItems:"center",justifyContent:"center",padding:"20px",minWidth:"fit-content",border:e=>{var n,l;return"1px solid ".concat(null==(l=e.colors)||null==(n=l.greyScale)?void 0:n[2])},borderRadius:"100%",marginRight:"20px",marginBottom:"20px",[d.Ay.from(d.Ay.TABLET)]:{marginBottom:"0"}},children:(0,t.jsx)(o._V3,{src:null!=(E=null==e||null==(c=e.content)||null==(u=c.media)?void 0:u.src)?E:null,alt:z,width:100,height:100,sx:{objectFit:"fill"}})}),(0,t.jsxs)(o.son,{sx:{flexDirection:"column"},children:[(null==e||null==(m=e.content)?void 0:m.subheading)&&(0,t.jsx)(o.DZT,{as:"h3",color:"blueScale.4",sx:{fontSize:"1.25rem",marginBottom:"5px"},children:e.content.subheading}),(0,t.jsx)(b.s,{richTextArray:null==e||null==(h=e.content)?void 0:h.content}),(null==e||null==(v=e.content)||null==(g=v.link)||null==(p=g.pageLink)?void 0:p.link)&&(null==e||null==(A=e.content)||null==(y=A.link)||null==(j=y.pageLink)||null==(f=j.stdLink)?void 0:f.linkText)&&(0,t.jsxs)(o.N_E,{sx:{display:"flex",alignItems:"center",width:"fit-content",marginTop:"20px"},href:null==e||null==(T=e.content)||null==(w=T.link)||null==(k=w.pageLink)?void 0:k.link.url,children:[null==e||null==(C=e.content)||null==(B=C.link)||null==(L=B.pageLink)?void 0:L.link.linkText,(0,t.jsx)(o.rWz,{height:18,width:18})]})]})]})},n)})})};var e2=l(2783),e3=l.n(e2);let e5=e=>{let{editorialContent:n,structuredData:l}=e;return(null==n?void 0:n.length)<=0?null:(0,t.jsxs)(t.Fragment,{children:[l&&(0,t.jsx)(e3(),{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(l)}}),null==n?void 0:n.map((e,n)=>{var l,i,r,a,x,u,c,m,h,p,g,v,f,j,y,A,k,w,T,b,L,B,C,S,D,E,z,I,F,O,R,P;let H=null!=(F=null!=(I=null==e||null==(i=e.content)||null==(l=i.media)?void 0:l.alt)?I:null==e||null==(r=e.content)?void 0:r.alternateText)?F:"";return(0,t.jsxs)(o.azJ,{sx:{display:"block !important",marginTop:"18px",marginBottom:"24px",backgroundColor:null!=(O=null==e||null==(a=e.style)?void 0:a.color)?O:"blueScale.1",padding:"19px",borderRadius:"10px",color:null!=(R=null==(x=e.style)?void 0:x.textColor)?R:"greyScale.5",[d.Ay.from(d.Ay.TABLET)]:{padding:"24px",marginBottom:"19px"},[d.Ay.from(d.Ay.DESKTOP)]:{padding:"30px",marginTop:"20px",marginBottom:"40px"}},children:[(null==(c=e.content)||null==(u=c.media)?void 0:u.src)&&(0,t.jsx)(o.azJ,{sx:{position:"relative",aspectRatio:"1",width:"120px !important",height:"23px",marginBottom:"18px",[d.Ay.from(d.Ay.DESKTOP)]:{width:"120px !important",height:"23px !important"}},children:(0,t.jsx)(o._V3,{src:null==(h=e.content)||null==(m=h.media)?void 0:m.src,alt:H,fill:!0})}),(null==e||null==(p=e.content)?void 0:p.subheading)&&(0,t.jsx)(o.DZT,{as:"h3",sx:{marginBottom:"4px",fontSize:"1.25rem"},color:"blueScale.4",children:e.content.subheading}),(null==e||null==(g=e.content)?void 0:g.content)&&(0,t.jsx)(s.sD,{richTextArray:null==e||null==(v=e.content)?void 0:v.content,sx:{marginBottom:"20px"}}),(null==e||null==(y=e.content)||null==(j=y.link)||null==(f=j.pageLink)?void 0:f.link)&&(null==e||null==(T=e.content)||null==(w=T.link)||null==(k=w.pageLink)||null==(A=k.stdLink)?void 0:A.linkText)&&(0,t.jsxs)(o.N_E,{sx:{display:"flex",alignItems:"center",width:"fit-content"},href:null!=(P=null==e||null==(C=e.content)||null==(B=C.link)||null==(L=B.pageLink)||null==(b=L.link)?void 0:b.url)?P:void 0,children:[null==e||null==(z=e.content)||null==(E=z.link)||null==(D=E.pageLink)||null==(S=D.link)?void 0:S.linkText,(0,t.jsx)(o.rWz,{height:18,width:18})]})]},n)})]})},e4=e=>{var n,l;let{dropDownOption:i}=e;return(null==i?void 0:i.option)&&(null==i||null==(n=i.option)?void 0:n.length)<=0?null:(0,t.jsx)(o.son,{sx:{width:"fit-content",minWidth:"215px"},children:(0,t.jsx)(o.l6P,{onChange:f,placeholder:null==i?void 0:i.defaultOption,children:null==i||null==(l=i.option)?void 0:l.map(e=>{var n,l,i,r,a,d;return(null==e?void 0:e.internalPageLink)&&(null==e||null==(n=e.stdLink)?void 0:n.linkText)||(null==e||null==(l=e.stdLink)?void 0:l.externalLink)&&(null==e||null==(i=e.stdLink)?void 0:i.linkText)&&(0,t.jsx)(o.l6P.Option,{value:null!=(d=null==e?void 0:e.internalPageLink)?d:e.stdLink.externalLink,children:null==e||null==(r=e.stdLink)?void 0:r.linkText},null==e||null==(a=e.stdLink)?void 0:a.linkText)})})})},e8=e=>{var n;let{textSnippet:l,color:i,dropDownOption:r}=e;return(0,t.jsxs)(o.son,{sx:{paddingY:"26px",paddingX:"19px",backgroundColor:null!=i?i:"greyScale.2",width:"100%",[d.Ay.from(d.Ay.DESKTOP)]:{paddingX:"40px",paddingY:"35px"}},children:[(0,t.jsx)(o.son,{sx:{display:"none",[d.Ay.from(d.Ay.TABLET)]:{display:"flex",flexWrap:"wrap",marginRight:"12px"}},children:l&&l.length>0&&l.map((e,n)=>
1(0,t.jsxs)(o.azJ,{as:"span",sx:{display:"flex",justifyContent:"center",alignItems:"center"},children:[(0,t.jsx)(o.lHv,{}),e]},n))}),(0,t.jsx)(o.son,{sx:{width:"100%",minWidth:"215px",">div":{width:"100%",flex:1},[d.Ay.from(d.Ay.TABLET)]:{width:"fit-content"}},children:(0,t.jsx)(o.l6P,{onChange:()=>{},placeholder:null==r?void 0:r.defaultOption,sx:{width:"100%",flex:1},children:null==r||null==(n=r.option)?void 0:n.map(e=>{var n,l,i,r,a,d;return(null==e?void 0:e.internalPageLink)&&(null==e||null==(n=e.stdLink)?void 0:n.linkText)||(null==e||null==(l=e.stdLink)?void 0:l.externalLink)&&(null==e||null==(i=e.stdLink)?void 0:i.linkText)&&(0,t.jsx)(o.l6P.Option,{value:null!=(d=null==e?void 0:e.internalPageLink)?d:e.stdLink.externalLink,children:null==e||null==(r=e.stdLink)?void 0:r.linkText},null==e||null==(a=e.stdLink)?void 0:a.linkText)})})})]})},e9=e=>{var n;let{textSnippet:l,heading:i,dropDownOption:r}=e;return(0,t.jsxs)(o.son,{sx:{maxWidth:"700px",flexDirection:"column",paddingY:"40px",marginX:"auto"},children:[i&&(0,t.jsx)(o.DZT,{as:"h2",color:"blueScale.4",marginBottom:"12px",children:i}),(0,t.jsx)(o.azJ,{sx:{marginBottom:"32px"},children:l&&l.length>0&&l.map((e,n)=>e&&(0,t.jsx)(o.fzL,{children:e},n))}),(null==r?void 0:r.option)&&(null==r||null==(n=r.option)?void 0:n.length)>0&&(0,t.jsx)(o.azJ,{as:"ul",sx:{padding:0},children:r.option.map((e,n)=>{var l,i,r,a;return e.stdLink&&(null==e||null==(l=e.stdLink)?void 0:l.externalLink)&&(null==(i=e.stdLink)?void 0:i.linkText)&&(0,t.jsx)(o.son,{as:"li",sx:{borderTop:e=>{var n,l;return"solid 1px ".concat(null==(l=e.colors)||null==(n=l.greyScale)?void 0:n[2])},"&:last-of-type":{borderBottom:e=>{var n,l;return"1px solid ".concat(null==(l=e.colors)||null==(n=l.greyScale)?void 0:n[2])}},paddingY:"3"},children:(0,t.jsxs)(o.N_E,{sx:{width:"100%"},href:null==e||null==(r=e.stdLink)?void 0:r.externalLink,children:[(0,t.jsx)(o.azJ,{sx:{marginRight:"5px"},children:(0,t.jsx)(o.i8u,{})}),null==(a=e.stdLink)?void 0:a.linkText]})},n)})})]})},e6=e=>{var n,l,i;let{textSnippet:r,heading:a,dropDownOption:s}=e;return r&&(null==r?void 0:r.length)<0&&(null==s?void 0:s.option)&&(null==s||null==(n=s.option)?void 0:n.length)<0?null:(0,t.jsxs)(o.azJ,{sx:{maxWidth:"700px",paddingY:"37px",marginX:"auto"},children:[a&&(0,t.jsx)(o.DZT,{as:"h2",sx:{marginBottom:"24px"},children:a}),r&&(0,t.jsx)(o.azJ,{sx:{marginBottom:"20px"},children:r&&r.map(e=>(0,t.jsx)(o.fzL,{children:e}))}),(null==s?void 0:s.option)&&(null==s||null==(l=s.option)?void 0:l.length)>0&&(0,t.jsx)(o.son,{sx:{width:"100%",">div":{width:"100%",flex:1},[d.Ay.from(d.Ay.TABLET)]:{width:"fit-content"}},children:(0,t.jsx)(o.l6P,{onChange:f,placeholder:null==s?void 0:s.defaultOption,children:null==s||null==(i=s.option)?void 0:i.map(e=>{var n,l,i,r,a,d;return(null==e?void 0:e.internalPageLink)&&(null==e||null==(n=e.stdLink)?void 0:n.linkText)||(null==e||null==(l=e.stdLink)?void 0:l.externalLink)&&(null==e||null==(i=e.stdLink)?void 0:i.linkText)&&(0,t.jsx)(o.l6P.Option,{value:null!=(d=null==e?void 0:e.internalPageLink)?d:e.stdLink.externalLink,children:null==e||null==(r=e.stdLink)?void 0:r.linkText},null==e||null==(a=e.stdLink)?void 0:a.linkText)})})})]})},e7=e=>{let{spacing:n}=e;return"string"!=typeof n?null:(0,t.jsx)(o.azJ,{sx:{marginBottom:"Remove"===n?"-1.1875rem":"0.59375rem",[d.Ay.from(d.Ay.TABLET)]:{marginBottom:"Remove"===n?"-1.5rem":"0.75rem"},[d.Ay.from(d.Ay.DESKTOP)]:{marginBottom:"Remove"===n?"-2.5rem":"1.25rem"}}})},ne=e=>{let{bgColor:n,contactInfo:l}=e,i=null==l?void 0:l.some(e=>{var n;return null==e||null==(n=e.imageIllustration)?void 0:n.url});return(0,t.jsxs)(o.ZpM,{sx:{display:"grid",backgroundColor:n&&"None"!==n?n:"blueScale.1",padding:"1rem",marginY:"1.25rem",[d.Ay.from(d.Ay.TABLET)]:{gridTemplateColumns:i&&"1fr 1fr",gridTemplateRows:i&&"auto 1fr",gridTemplateAreas:i&&'"item1 item3"\n              "item2 item3"'},gridTemplateColumns:"1fr 1fr 1fr",gridTemplateAreas:'"item1 item1 item1"\n            "item2 item2 item3"'},children:[l&&l.map((e,n)=>{var l,i,r,a;let x=null==e||null==(i=e.link)||null==(l=i.externalLink)?void 0:l.startsWith("tel");return(0,t.jsxs)(o.son,{sx:{gridArea:"item".concat(n+1),marginBottom:!x&&"2rem",flexDirection:"column",gap:"1rem"},children:[e.subHeading&&(0,t.jsx)(s.gA,{as:"h3",variant:"h3",children:e.subHeading}),(null==e||null==(r=e.link)?void 0:r.externalLink)&&(null==e||null==(a=e.link)?void 0:a.linkText)&&(0,t.jsxs)(o.N_E,{href:e.link.externalLink,sx:{[d.Ay.from(d.Ay.DESKTOP)]:x&&{fontSize:"1.563rem"},[d.Ay.from(d.Ay.TABLET)]:x&&{fontSize:"2rem"},fontSize:x?"1.375rem":"0.938rem",fontWeight:!x&&"bold",textDecoration:"none"},children:[e.link.linkText,!x&&(0,t.jsx)(o.rWz,{width:15,height:15})]}),(null==e?void 0:e.richText)&&(0,t.jsx)(s.sD,{richTextArray:e.richText})]},n)}),null==l?void 0:l.map((e,n)=>{var l;return e.imageIllustration.url&&(0,t.jsx)(o.azJ,{sx:{position:"relative",aspectRatio:1.6,[d.Ay.from(d.Ay.TABLET)]:{width:"60%"},width:"100%",alignSelf:"end",justifySelf:"end",right:0,gridArea:"item3"},children:(0,t.jsx)(o._V3,{src:e.imageIllustration.url,alt:null!=(l=e.imageIllustration.altText)?l:"",fill:!0})},n)})]})},nn=e=>{var n,l;return(null==e?void 0:e.texts)&&(null==e?void 0:e.links)?(0,t.jsxs)(t.Fragment,{children:[null==e||null==(n=e.texts)?void 0:n.map((e,n)=>(0,t.jsxs)(o.azJ,{sx:{marginBottom:"1.25rem"},children:[e.heading&&(0,t.jsx)(s.gA,{as:"h3",variant:"h3",color:"#1F2933",sx:{marginBottom:"0.25rem"},children:e.heading}),e.text&&(0,t.jsx)(o.fzL,{sx:{fontFamily:"var(--folksamSans-bold)",marginBottom:"1rem"},children:e.text}),e.content&&(0,t.jsx)(s.sD,{richTextArray:e.content})]},n)),null==e||null==(l=e.links)?void 0:l.map((e,n)=>(0,t.jsx)(s.Ek,{pageLink:null==e?void 0:e.pageLink,pageLinkType:null==e?void 0:e.pageLinkType},n))]}):null},nl=e=>{let{checkList:n,heading:l,foldOutItem:i}=e;return(0,t.jsx)(t.Fragment,{children:l&&i&&(0,t.jsx)(o.I8C,{headingTag:"h4",text:l,icon:n?o.iWP:()=>null,sx:{"> button":{width:"auto"},"> button > div > svg":{width:"1.125rem",height:"1.125rem"},"> button > div > h4":{fontFamily:"var(--folksamSans) !important",fontSize:"0.875rem"}},children:(0,t.jsx)(o.azJ,{children:Array.isArray(i)&&i.length>0&&(null==i?void 0:i.map((e,n)=>{var l,i,a;return(0,t.jsxs)(r.Fragment,{children:[(null==e?void 0:e.heading)&&(0,t.jsx)(s.gA,{as:"h5",color:"#1F2933",variant:"md",sx:{marginBottom:2},children:e.heading}),Array.isArray(null==e?void 0:e.paragraph)&&(null==e?void 0:e.paragraph)&&(null==e||null==(l=e.paragraph)?void 0:l.length)>0&&e.paragraph.map((e,n)=>(0,t.jsx)(s.sD,{richTextArray:e,sx:{marginBottom:2}},n)),(null==e?void 0:e.textListHeader)&&(0,t.jsx)(s.gA,{as:"h5",variant:"md",color:"#1F2933",sx:{marginBottom:2,marginTop:4},children:e.textListHeader}),Array.isArray(null==e?void 0:e.textList)&&(null==e?void 0:e.textList)&&(null==e||null==(i=e.textList)?void 0:i.length)>0&&(0,t.jsx)(o.B8B,{sx:{marginBottom:4},children:e.textList.map((n,l)=>(0,t.jsx)(o.B8B.Item,{sx:{"> svg":{color:"blueScale.4"}},icon:(null==e?void 0:e.textListType)==="Dots"?o.ysc:o.iWP,children:n},l))}),((null==e?void 0:e.infoBoxHeader)||(null==e?void 0:e.infoBoxText))&&(0,t.jsxs)(o.azJ,{sx:{backgroundColor:(null==e?void 0:e.infoBoxBGColor)?e.infoBoxBGColor:"blueScale.1",marginBottom:8,":last-child":{marginBottom:2},padding:10},children:[(null==e?void 0:e.infoBoxHeader)&&(0,t.jsx)(s.gA,{as:"p",variant:"md",color:"#1F2933",sx:{marginBottom:4},children:e.infoBoxHeader}),(null==e?void 0:e.infoBoxText)&&(0,t.jsx)(s.sD,{richTextArray:e.infoBoxText})]}),Array.isArray(null==e?void 0:e.linkList)&&(null==e||null==(a=e.linkList)?void 0:a.length)>0&&e.linkList.map((e,n)=>{var l,i,a,d,s,x,u,c,m,h;return(0,t.jsx)(r.Fragment,{children:(null==e||null==(i=e.pageLink)||null==(l=i.stdLink)?void 0:l.linkText)?(0,t.jsxs)(o.N_E,{href:null!=(h=null==e||null==(d=e.pageLink)||null==(a=d.stdLink)?void 0:a.externalLink)?h:void 0,target:(null==e||null==(s=e.pageLink)?void 0:s.targetWindow)==="_blank"?"_blank":"_self",children:[(null==e||null==(u=e.pageLink)||null==(x=u.stdLink)?void 0:x.linkText)!=="undefined"&&(null==e||null==(m
1=e.pageLink)||null==(c=m.stdLink)?void 0:c.linkText),e&&(null==e?void 0:e.pageLinkType)==="External"&&(0,t.jsx)(o.HW5,{})]},n):null},n)})]},n)}))})})})},nt=e=>{let{checkList:n,heading:l,foldOutItem:i}=e;return(0,t.jsx)(t.Fragment,{children:l&&i&&(0,t.jsx)(o.Upq,{children:(0,t.jsx)(o.nD3,{icon:n?o.iWP:void 0,title:l,children:(0,t.jsx)(o.azJ,{sx:{marginBottom:2},children:Array.isArray(i)&&i.length>0&&i.map((e,n)=>{var l,i,a;return(0,t.jsxs)(r.Fragment,{children:[(null==e?void 0:e.heading)&&(0,t.jsx)(s.gA,{as:"h5",color:D.SA,variant:"md",sx:{marginBottom:2},children:e.heading}),Array.isArray(null==e?void 0:e.paragraph)&&(null==e?void 0:e.paragraph)&&(null==e||null==(l=e.paragraph)?void 0:l.length)>0&&e.paragraph.map((e,n)=>(0,t.jsx)(s.sD,{richTextArray:e,sx:{marginBottom:2}},n)),(null==e?void 0:e.textListHeader)&&(0,t.jsx)(s.gA,{as:"h5",variant:"md",color:D.SA,sx:{marginBottom:2,marginTop:4},children:e.textListHeader}),Array.isArray(null==e?void 0:e.textList)&&(null==e?void 0:e.textList)&&(null==e||null==(i=e.textList)?void 0:i.length)>0&&(0,t.jsx)(o.B8B,{sx:{marginBottom:2},children:e.textList.map((n,l)=>(0,t.jsx)(o.B8B.Item,{sx:{"> svg":{color:"blueScale.4"}},icon:(null==e?void 0:e.textListType)==="Dots"?o.ysc:o.iWP,children:n},l))}),Array.isArray(null==e?void 0:e.linkList)&&(null==e?void 0:e.linkList)&&(null==e||null==(a=e.linkList)?void 0:a.length)>0&&e.linkList.map((e,n)=>{var l,i,a,d,s,x,u,c,m;return(0,t.jsx)(r.Fragment,{children:(null==e||null==(i=e.pageLink)||null==(l=i.stdLink)?void 0:l.linkText)?(0,t.jsxs)(o.N_E,{href:null!=(m=null==e||null==(d=e.pageLink)||null==(a=d.stdLink)?void 0:a.externalLink)?m:void 0,children:[(null==e||null==(x=e.pageLink)||null==(s=x.stdLink)?void 0:s.linkText)!=="undefined"&&(null==e||null==(c=e.pageLink)||null==(u=c.stdLink)?void 0:u.linkText),e&&(null==e?void 0:e.pageLinkType)==="External"&&(0,t.jsx)(o.HW5,{})]},n):null},n)}),((null==e?void 0:e.infoBoxHeader)||(null==e?void 0:e.infoBoxText))&&(0,t.jsxs)(o.azJ,{sx:{backgroundColor:(null==e?void 0:e.infoBoxBGColor)?e.infoBoxBGColor:"blueScale.1",marginBottom:8,":last-child":{marginBottom:2},padding:10},children:[(null==e?void 0:e.infoBoxHeader)&&(0,t.jsx)(s.gA,{as:"p",variant:"md",color:D.SA,sx:{marginBottom:4},children:e.infoBoxHeader}),(null==e?void 0:e.infoBoxText)&&(0,t.jsx)(s.sD,{richTextArray:e.infoBoxText})]})]},n)})})})})})},ni=e=>{var n,l,i,r;let{type:a,heading:x,details:u,rowLabel:c,colLabel:m,colHeader:h}=e;return(0,t.jsxs)(o.son,{sx:{flexDirection:"column",gap:2,marginBottom:4},children:[x&&(0,t.jsx)(o.EYj,{as:"h3",children:x}),u&&(0,t.jsx)(o.EYj,{as:"p",children:u}),(0,t.jsx)(o.son,{sx:{display:"card"===a?"none":"flex",[d.Ay.to(d.Ay.LARGE_MOBILE)]:{display:"standard"===a?"flex":"none"}},children:(0,t.jsxs)(o.XIK,{headerVariant:"yes"===c?"muted":"background",children:["yes"===c&&(0,t.jsx)(o.XIK.Header,{children:(0,t.jsx)(o.XIK.Row,{children:null==h||null==(l=h[0])||null==(n=l.cellData)?void 0:n.map((e,n)=>null===e.columnHeaderLabel?(0,t.jsx)(o.XIK.Column,{}):(0,t.jsx)(o.XIK.HeaderColumn,{scope:"col",children:(0,t.jsx)(s.sD,{richTextArray:e.columnHeaderLabel,sx:{fontFamily:"var(--folksamSans-bold)"}})},n))})}),(0,t.jsxs)(o.XIK.Body,{children:["yes"!==c&&(0,t.jsx)(o.XIK.Row,{children:null==h||null==(r=h[0])||null==(i=r.cellData)?void 0:i.map((e,n)=>"yes"===m&&0===n?(0,t.jsx)(o.XIK.HeaderColumn,{scope:"row",children:(0,t.jsx)(s.sD,{richTextArray:e.columnHeaderLabel,sx:{fontFamily:"var(--folksamSans-bold)"}})},n):(0,t.jsx)(o.XIK.Column,{children:(0,t.jsx)(s.sD,{richTextArray:e.columnHeaderLabel})},n))}),null==h?void 0:h.slice(1).map((e,n)=>{var l;return(0,t.jsx)(o.XIK.Row,{children:null==(l=e.cellData)?void 0:l.map((e,n)=>"yes"===m&&0===n?(0,t.jsx)(o.XIK.HeaderColumn,{scope:"row",children:(0,t.jsx)(s.sD,{richTextArray:e.columnHeaderLabel,sx:{fontFamily:"var(--folksamSans-bold)"}})},n):(0,t.jsx)(o.XIK.Column,{children:(0,t.jsx)(s.sD,{richTextArray:e.columnHeaderLabel})},n))},n)})]})]})}),(0,t.jsx)(o.son,{sx:{display:"none",[d.Ay.to(d.Ay.LARGE_MOBILE)]:{display:"collapsible"===a?"flex":"none",borderRadius:"12px",overflow:"hidden"}},children:(0,t.jsx)(nr,{rowLabel:c,colHeader:h})}),(0,t.jsx)(o.son,{sx:{display:"card"===a?"flex":"none",flexDirection:"column"},children:(0,t.jsx)(no,{colHeader:h})})]})},nr=e=>{let{rowLabel:n,colHeader:l}=e,[i,a]=(0,r.useState)([]);return(0,t.jsx)(J.XIK,{children:(0,t.jsx)(J.XIK.Body,{sx:{backgroundColor:"greyScale.1"},children:null==l?void 0:l.map((e,r)=>{var d;let x=i.includes(r);return"yes"===n&&0===r?null:(0,t.jsx)(J.XIK.Row,{sx:{display:"grid",gridTemplateColumns:"repeat(2, 1fr)"},onClick:()=>(e=>{i.includes(e)?a(i.filter(n=>n!==e)):a([...i,e])})(r),children:null==(d=e.cellData)?void 0:d.map((a,d)=>{var u,c;return 0===d?(0,t.jsxs)(J.XIK.HeaderColumn,{scope:"row",sx:{gridColumn:"span 2",display:"flex",flexDirection:"row",justifyContent:"space-between",borderBottom:"none",alignItems:"center"},children:[(0,t.jsx)(s.sD,{richTextArray:a.columnHeaderLabel,sx:{fontFamily:"var(--folksamSans-bold)",color:x?"blueScale.4":"blueScale.3"}}),(0,t.jsx)(J.iK9.Rotate,{rotated:i.includes(r),children:(0,t.jsx)(o.LcW,{sx:{color:x?"blueScale.4":"blueScale.3"}})})]},d):(0,t.jsx)(J.azJ,{as:"td",sx:{gridColumn:"span 2",padding:"0px 20px",borderBottom:l.length-1!==r&&e.cellData.length-1===d?"1px solid #DCE3EE":"none"},children:(0,t.jsx)(em.N,{children:x&&(0,t.jsx)(J.iK9.FoldOut,{children:(0,t.jsxs)(J.son,{sx:{display:"grid",paddingBottom:3,gridTemplateColumns:"yes"===n?"repeat(2, 1fr)":"repeat(1, 1fr)"},children:["yes"===n&&(0,t.jsx)(s.sD,{richTextArray:null==l||null==(c=l[0])||null==(u=c.cellData)?void 0:u[d].columnHeaderLabel}),(0,t.jsx)(s.sD,{richTextArray:a.columnHeaderLabel})]})})})},d)})},r)})})})},no=e=>{let{colHeader:n}=e;return(0,t.jsx)(t.Fragment,{children:null==n?void 0:n.slice(1).map((e,l)=>
1(0,t.jsx)(J.son,{sx:{marginBottom:"16px"},children:(0,t.jsx)(J.XIK,{children:(0,t.jsx)(J.XIK.Body,{children:e.cellData.map((e,l)=>{var i,r;return(0,t.jsxs)(J.XIK.Row,{sx:{display:"flex",flexDirection:"column"},children:[(0,t.jsx)(J.XIK.HeaderColumn,{scope:"row",sx:{backgroundColor:"greyScale.1"},children:(0,t.jsx)(s.sD,{richTextArray:null==n||null==(r=n[0])||null==(i=r.cellData)?void 0:i[l].columnHeaderLabel,sx:{fontFamily:"var(--folksamSans-bold)"}})}),(0,t.jsx)(J.XIK.Column,{children:(null==e?void 0:e.columnHeaderLabel)?(0,t.jsx)(s.sD,{richTextArray:null==e?void 0:e.columnHeaderLabel}):"\xa0"})]},l)})})})},l))})},na=e=>{let{mainHeading:n,mainHeadingColor:l,heading:i,headingColor:r,content:a,navLink:x,backgroundColor:u,isInTab:c}=e;return(0,t.jsxs)(o.son,{sx:{backgroundColor:u,paddingY:"2.5rem",paddingX:"1rem",flexDirection:"column",gap:"0.75rem"},children:[n&&(0,t.jsx)(o.DZT,{as:"h1",color:null!=l?l:"blueScale.4",children:n}),i&&(0,t.jsx)(o.DZT,{as:"h2",variant:"h2",color:null!=r?r:"blueScale.4",children:i}),a&&(0,t.jsx)(s.sD,{richTextArray:a}),x&&Array.isArray(x)&&x.length&&(0,t.jsx)(o.azJ,{as:"ul",sx:{listStyle:"none",paddingInline:0,display:"grid",gap:4,gridTemplateColumns:"1fr",[d.Ay.from(d.Ay.TABLET)]:{gridTemplateColumns:c?"1fr":"1fr 1fr"}},children:x.map((e,n)=>{var l,i,r,a,d;return(0,t.jsx)(o.azJ,{as:"li",sx:{display:"flex",flexDirection:"row","> div > div":{height:"100%"}},children:c?(0,t.jsx)(o.N_E,{href:(null==e||null==(l=e.link)?void 0:l.href)?e.link.href:void 0,children:e.link.text}):(0,t.jsx)(H,{href:e.link.href,iconEnd:"IconCaretRight",clickable:"true",backgroundColor:"White",children:(0,t.jsxs)(o.azJ,{sx:{display:"flex",alignItems:"center"},children:[(null==e||null==(i=e.image)?void 0:i.src)&&(0,t.jsx)(o.azJ,{sx:{position:"relative",width:"24px",height:"24px"},children:(0,t.jsx)(eG(),{src:e.image.src,alt:null!=(d=null==e||null==(r=e.image)?void 0:r.alt)?d:"",fill:!0})}),(null==e||null==(a=e.link)?void 0:a.text)&&(0,t.jsx)(o.EYj,{variant:"sm",sx:{fontFamily:"var(--folksamSans-bold)",paddingLeft:"1rem",paddingY:"0.75rem"},children:e.link.text})]})})},n)})})]})},nd=e=>{var n,l,i,r,a,s;let{pageLink:x}=e;return(0,t.jsx)(t.Fragment,{children:x&&(0,t.jsx)(o.$nd,{as:o.N_E,title:null!=(r=null==x||null==(n=x.link)?void 0:n.title)?r:void 0,href:null!=(a=null==x||null==(l=x.link)?void 0:l.url)?a:void 0,target:null!=(s=null==x?void 0:x.targetWindow)?s:"_self",sx:{[d.Ay.from(d.Ay.TABLET)]:{width:"fit-content"}},children:null==x||null==(i=x.link)?void 0:i.linkText})})},ns=e=>{var n,l,i,r,a;let{text:x,textColor:u,heading:c,headingColor:m,mainText:h,link:p,icon:g,bgColor:v,button:f}=e,j=(null==p?void 0:p.anchorId)?(null==p||null==(n=p.stdLink)?void 0:n.externalLink)?"".concat(null==p||null==(l=p.stdLink)?void 0:l.externalLink,"#").concat(null==p?void 0:p.anchorId):"#".concat(null==p?void 0:p.anchorId):null==p||null==(i=p.stdLink)?void 0:i.externalLink;return(0,t.jsx)(o.azJ,{as:"section",sx:{width:"100%",backgroundColor:v,marginBottom:"1.1875rem"},children:(0,t.jsxs)(o.son,{sx:{flexDirection:"column",maxWidth:"1240px",marginX:"auto",[d.Ay.from(d.Ay.TABLET)]:{flexDirection:"row",marginBottom:"1.5rem"}},children:[(0,t.jsxs)(o.son,{sx:{flexDirection:"column",gap:2,width:"100%",paddingTop:10,paddingBottom:10,paddingLeft:6,paddingRight:8,[d.Ay.from(d.Ay.TABLET)]:{width:"70%"}},children:[x&&(0,t.jsx)(o.fzL,{variant:"lg",color:null!=u?u:void 0,children:x}),c&&(0,t.jsx)(s.gA,{as:"h1",color:m,variant:"h1",sx:{marginBottom:2},children:c}),h&&(0,t.jsx)(o.fzL,{color:u,sx:{marginBottom:2},children:h}),f&&j&&(0,t.jsx)(o.N_E,{href:j,target:null!=(r=null==p?void 0:p.targetWindow)?r:"_self",sx:{marginTop:"0.25rem",width:"100%",paddingTop:"0.5rem",paddingBottom:"0.5rem",paddingLeft:"1.25rem",paddingRight:"1.25rem",boxShadow:"0px 1px 4px 0px #5D697E33, 0px 0px 1px 0px #5D697E1A",fontFamily:"var(--folksamSans)",fontWeight:700,borderRadius:"100px",border:"2px solid #074670",color:"var(--theme-ui-colors-background);",backgroundColor:"#0075BC",gap:"0.5rem",borderColor:"#0075BC",textDecoration:"none",justifyContent:"center","&:hover":{boxShadow:"0px 3px 16px 0px #5D697E26, 0px 0px 4px 0px #5D697E0D",textDecoration:"none"},"&:active:not(:disabled)":{backgroundColor:"#074670",borderColor:"#074670",color:"#FFFFFF"}
1,"&:focus":{outline:"2px solid #1F2933",outlineOffset:"1px",boxShadow:"none"},"&:focus:not(:active)":{outline:"2px solid #1F2933",outlineOffset:"2px",boxShadow:"none"},[d.Ay.from(d.Ay.TABLET)]:{width:"fit-content"}},children:f})]}),(0,t.jsx)(o.azJ,{sx:{width:"17.625rem",position:"relative",aspectRatio:"1.6",marginLeft:"auto",marginRight:"1.1875rem",[d.Ay.from(d.Ay.TABLET)]:{marginLeft:0,marginRight:0,marginTop:"auto"}},children:g.url&&g&&(0,t.jsx)(o._V3,{alt:null!=(a=g.altText)?a:"",src:g.url,fill:!0})})]})})},nx=e=>{let{applicationName:n,scripts:l,generalReactConfiguration:i,loadAsModule:r}=e;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{"data-folksam-app-id":n}),i&&i.map(e=>(0,t.jsx)("input",{type:"hidden",className:"general-config",value:'{"'.concat(e.name,'":"').concat(e.value,'"}')})),null==l?void 0:l.map(e=>(0,t.jsx)(e3(),{src:e,type:r?"module":void 0}))]})},nu=e=>{let{image:n,heading:l,text:i,link:r}=e;return(0,t.jsxs)(o.ZpM,{marginY:5,sx:{paddingX:6,paddingY:5,flexDirection:"row",display:"flex",gap:4},children:[n&&"string"==typeof n.src&&n.src.length>0&&(0,t.jsx)(o.azJ,{sx:{width:"80px",height:"80px",minWidth:"80px"},children:(0,t.jsx)(o._V3,{src:n.src,alt:n.alt,width:80,height:80,sx:{borderRadius:"40px"}})}),(0,t.jsxs)(o.son,{sx:{flexDirection:"column",alignSelf:"center"},children:[(0,t.jsx)(o.EYj,{as:"strong",sx:{fontFamily:"var(--folksamSans-bold)"},children:l}),i&&(0,t.jsx)(o.EYj,{as:"p",sx:{fontSize:"0.875rem"},children:i}),r&&r.url&&r.text&&r.target&&(0,t.jsxs)(o.N_E,{href:r.url,rel:"string"==typeof r.rel?r.rel:void 0,target:r.target,sx:{width:"fit-content",fontSize:"0.875rem",paddingTop:"2px"},children:[r.text,(0,t.jsx)(o.rWz,{})]})]})]})},nc=e=>{let{button:n,href:l,deviceMediaQuery:i,centerButton:r,rel:a,triggerSamChat:s}=e;return n&&n.text?(0,t.jsx)(o.$nd,{as:!l||n.modalRef||s?o.$nd:o.N_E,variant:n.variant,icon:n.icon,href:l&&!n.modalRef?l:void 0,onClick:s?()=>{var e,n;null==(n=document)||null==(e=n.querySelector(".humany-trigger.humany_sam-chattbot.humany-rendered"))||e.click()}:void 0,rel:null!==a?a:void 0,sx:{width:"100%",maxWidth:"335px",alignSelf:"center",display:i[0],[d.Ay.from(d.Ay.LARGE_MOBILE)]:{display:i[1]},[d.Ay.from(d.Ay.TABLET)]:{display:i[2]},[d.Ay.from(d.Ay.DESKTOP)]:{alignSelf:r?"center":"start",width:"fit-content",display:i[3]},[d.Ay.from(d.Ay.LARGE_DESKTOP)]:{display:i[4]}},children:n.text}):null};var nm=l(1709);let nh=e=>{let n={"data-testid":"Accident",...e};return(0,t.jsxs)(nm.az,{"aria-hidden":!0,width:"30",height:"30",viewBox:"0 0 30 30",fill:"none",xmlns:"http://www.w3.org/2000/svg",as:"svg",sx:{flexShrink:"0"},...n,children:[(0,t.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M29.9998 9L25 14L16 5L20.9998 0L29.9998 9Z",fill:"#1F2933"}),(0,t.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 21L5 16L14 25L8.99977 30L0 21Z",fill:"#1F2933"}),(0,t.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 9L9 1L29 21L21 29L1 9Z",fill:"#1F2933"})]})},np=e=>{let n={"data-testid":"Business",...e};return(0,t.jsx)(nm.az,{"aria-hidden":!0,width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",as:"svg",sx:{flexShrink:"0"},...n,children:(0,t.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15 0L6 9L9 12C6.75425 14.5694 5 17.3951 5 20.9997V27C2.23858 27 0 29.2386 0 32H32C32 29.2386 29.7614 27 27 27H11V20.9997C11 19.3773 12.0042 17.205 13 16L17 20V24L30 11H26L15 0Z",fill:"#1F2933"})})},ng=e=>{let n={"data-testid":"Car",...e};return(0,t.jsx)(nm.az,{"aria-hidden":!0,width:"32",height:"30",viewBox:"0 0 32 30",fill:"none",xmlns:"http://www.w3.org/2000/svg",as:"svg",sx:{flexShrink:"0"},...n,children:(0,t.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2 11C3.33333 7.28962 6 -0.10468 6 0.00112338H26L30 11H32V25H30V30H23V25H9V30H2V25H0V11H2ZM8 20C9.65685 20 11 18.6569 11 17C11 15.3431 9.65685 14 8 14C6.34315 14 5 15.3431 5 17C5 18.6569 6.34315 20 8 20ZM27 17C27 18.6569 25.6569 20 24 20C22.3431 20 21 18.6569 21 17C21 15.3431 22.3431 14 24 14C25.6569 14 27 15.3431 27 17Z",fill:"#1F2933"})})},nv=e=>{let n={"data-testid":"Child",...e};return(0,t.jsx)(nm.az,{"aria-hidden":!0,width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",as:"svg",sx:{flexShrink:"0"},...n,children:(0,t.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M26.7943 0V4L29.7943 6C31.7943 7.12088 31.7943 11 28.7943 11H26.7943V22C29.7943 19 33.4587 22.9062 30.7943 26C27.1609 30.2189 21.9991 32 15.7943 32C9.58944 32 4.42756 30.2189 0.794162 26C-1.56385 23.262 1.79471 19 4.79426 22V15C4.79426 11.6863 7.48055 9 10.7943 9H17.7943C18.8549 4.07551 22.6464 1.9523 26.7943 0ZM8.79426 25C10.8617 26.0399 13.2632 27 15.7943 27C18.3253 27 20.7268 26.0399 22.7943 25C22.4742 21.4308 19.4468 19 15.7943 19C12.1418 19 9.11436 21.4308 8.79426 25Z",fill:"#1F2933"})})},nf=e=>{let n={"data-testid":"Dog",...e};return(0,t.jsx)(nm.az,{"aria-hidden":!0,width:"32",height:"30",viewBox:"0 0 32 30",fill:"none",xmlns:"http://www.w3.org/2000/svg",as:"svg",sx:{flexShrink:"0"},...n,children:(0,t.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.00288 18C7.00288 19 6.00293 20 4.50288 20C2.1866 20 0.00347848 19 0.00347848 15C-0.00398302 15 0.00288121 4.87486 0.00288121 4C0.00288121 1.51472 2.0176 0 4.50288 0C6.05873 0 7.19477 0.799676 8.00293 2C10.2952 0.731932 13.1671 0 15.9721 0C18.7955 0 21.7002 0.716487 24.0029 2C24.8088 0.785708 25.9363 0 27.5029 0C29.9882 0 32.0029 1.51472 32.0029 4V15C32.0029 19 30.4882 20 28.0029 20C26.0029 20 25.0029 19 25.0029 18V30H7.00288V18ZM19.0029 20C19.0029 21.3062 18.1681 22.5882 17.0029 23V27H15.0029V23C13.8377 22.5882 13.0029 21.3062 13.0029 20C13.0029 18.3431 14.346 17 16.0029 17C17.6597 17 19.0029 18.3431 19.0029 20Z",fill:"#1F2933"})})},nj=e=>{let n={"data-testid":"HomeInsurance",...e};return(0,t.jsx)(nm.az,{"aria-hidden":!0,width:"28",height:"31",viewBox:"0 0 28 31",fill:"none",xmlns:"http://www.w3.org/2000/svg",as:"svg",sx:{flexShrink:"0"},...n,children:(0,t.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 16C3 10 5 4 5 0H23C23 4 25 10 28 16H17V20H22V31H6V20H11V16H0Z",fill:"#1F2933"})})},ny=e=>{let n={"data-testid":"Life",...e};return(0,t.jsxs)(nm.az,{"aria-hidden":!0,width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",as:"svg",sx:{flexShrink:"0"},...n,children:[(0,t.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 0C9.76142 0 12 2.23858 12 5V4C12 1.79086 13.7909 0 16 0C18.2091 0 20 1.79086 20 4V5C20 2.23858 22.2386 0 25 0V8C25 12.9706 20.9706 17 16 17C11.0294 17 7 12.9706 7 8V0Z",fill:"#1F2933"}),(0,t.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.0001 32C24.8367 32 32.0001 24.8366 32.0001 16V15C20 15 17 22 16.0001 25C14.9766 22 11.8168 15 0 15L0.000114792 16C0.000114792 24.8366 7.16356 32 16.0001 32Z",fill:"#1F2933"})]})},nA=e=>{let n={"data-testid":"PensionOccupational",...e};return(0,t.jsxs)(nm.az,{"aria-hidden":!0,width:"32",height:"29",viewBox:"0 0 32 29",f
1ill:"none",xmlns:"http://www.w3.org/2000/svg",as:"svg",sx:{flexShrink:"0"},...n,children:[(0,t.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.9996 0L20.9653 9H11.0342L15.9996 0Z",fill:"#1F2933"}),(0,t.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 11H22L26 18H6L10 11Z",fill:"#1F2933"}),(0,t.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5 20L0 28.9998H32L27 20H5Z",fill:"#1F2933"})]})},nk=e=>{let n={"data-testid":"PensionSavings",...e};return(0,t.jsx)(nm.az,{"aria-hidden":!0,width:"30",height:"32",viewBox:"0 0 30 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",as:"svg",sx:{flexShrink:"0"},...n,children:(0,t.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 0H6C11.5228 0 16 4.47715 16 10V10.999C17.8245 8.57069 20.7288 7 24 7H30V11C30 17.6274 24.6274 23 18 23V32H12V20C5.37258 20 0 14.6274 0 8V0Z",fill:"#1F2933"})})},nw=e=>{let n={"data-testid":"Villa",...e};return(0,t.jsx)(nm.az,{"aria-hidden":!0,width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",as:"svg",sx:{flexShrink:"0"},...n,children:(0,t.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 13L16 0L26 8.125V2H32V32H20V24H12V32H0V13Z",fill:"#1F2933"})})},nT=e=>{let n={"data-testid":"CaretArrowRight",...e};return(0,t.jsx)(nm.az,{"aria-hidden":!0,width:n.width,height:n.height,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",as:"svg",sx:{flexShrink:"0"},...n,children:(0,t.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 12C0 18.6274 5.37258 24 12 24C18.6274 24 24 18.6274 24 12C24 5.37259 18.6274 1.69253e-06 12 0C5.37258 0 1.69253e-06 5.37258 0 12ZM9 7.65474L10.6213 6L16.5 12L10.6213 18L9 16.3453L13.125 12L9 7.65474Z"})})},nb=e=>{let n={"data-testid":"OwnershipApartment",...e};return(0,t.jsx)(nm.az,{"aria-hidden":!0,width:"24",height:"32",viewBox:"0 0 24 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",as:"svg",sx:{flexShrink:"0"},...n,children:(0,t.jsx)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M24 0H0V32H24V0ZM6 19C7.65685 19 9 17.6569 9 16C9 14.3431 7.65685 13 6 13C4.34315 13 3 14.3431 3 16C3 17.6569 4.34315 19 6 19Z",fill:"#1F2933"})})},nL=e=>{let n={"data-testid":"Condominium",...e};return(0,t.jsx)(nm.az,{"aria-hidden":!0,width:"30",height:"32",viewBox:"0 0 30 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",as:"svg",sx:{flexShrink:"0"},...n,children:(0,t.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 5L7 0L15 5L23 0L30 5V32H19V24H11V32H0V5Z",fill:"#1F2933"})})},nB=e=>{let n={"data-testid":"Rental",...e};return(0,t.jsxs)(nm.az,{"aria-hidden":!0,width:"32",height:"28",viewBox:"0 0 32 28",fill:"none",xmlns:"http://www.w3.org/2000/svg",as:"svg",sx:{flexShrink:"0"},...n,children:[(0,t.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4 0H28V6H24V16H8V6H4V0Z",fill:"#1F2933"}),(0,t.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M32 8H26V18H6V8H0V28H32V8Z",fill:"#1F2933"})]})},nC=e=>{let{href:n,illustrationStart:l,paragraphBold:i,lastElement:r=!1}=e;return(0,t.jsxs)(o.azJ,{as:o.N_E,href:n,sx:{fontFamily:"var(--folksamSans-bold)",position:"relative",width:"100%",alignItems:"center",color:"#1F2933",borderRadius:"8px",paddingTop:"8px",paddingBottom:"8px","&::after":!r&&{content:'""',position:"absolute",left:0,right:0,bottom:"-9px",borderBottom:"2px solid #E6E8EB"},":hover":{"@media (hover: hover) and (pointer: fine)":{textDecoration:"none",cursor:"pointer",backgroundColor:D.zB.b1,"& div > div":{backgroundColor:D.zB.b2},"& svg":{fill:D.zB.b5}}}},children:[(0,t.jsxs)(o.azJ,{sx:{display:"flex",alignItems:"center"},children:[(0,t.jsx)(o.azJ,{sx:{backgroundColor:"#D2EAFA",height:"48px",width:"48px",display:"flex",justifyContent:"center",alignItems:"center",borderRadius:"8px",marginLeft:"8px"},children:l&&(e=>{switch(e.toLocaleLowerCase()){case"car":return(0,t.jsx)(ng,{alt:""});case"child":return(0,t.jsx)(nv,{alt:""});case"accident":return(0,t.jsx)(nh,{alt:""});case"villa":return(0,t.jsx)(nw,{alt:""});case"dog":return(0,t.jsx)(nf,{alt:""});case"life":return(0,t.jsx)(ny,{alt:""});case"occupationalpension1":return(0,t.jsx)(nA,{alt:""});case"mediumbusiness":return(0,t.jsx)(np,{alt:""});case"home":case"homestudent":return(0,t.jsx)(nj,{alt:""});case"savings pension":return(0,t.jsx)(nk,{alt:""});case"ownershipapartment":return(0,t.jsx)(nb,{alt:""});case"apartment":return(0,t.jsx)(nL,{alt:""});case"tenancy":return(0,t.jsx)(nB,{alt:""});default:return null}})(l.type)}),i&&void 0!==i&&(0,t.jsx)(o.EYj,{sx:{paddingLeft:"12px"},children:i})]}),(0,t.jsx)(nT,{width:24,height:24,alt:"",fill:"#84888C",sx:{marginRight:"8px"}})]})},nS=e=>{let{data:n}=e;return(null==n?void 0:n.length)<=0?null:(0,t.jsx)(J.xA9,{gap:4,sx:{width:"100%",gridTemplateColumns:"1fr",[d.Ay.from(d.Ay.TABLET)]:{gridTemplateColumns:"1fr 1fr"},[d.Ay.from(d.Ay.DESKTOP)]:{gridTemplateColumns:"1fr"},fontFamily:"var(--inter-semibold)","> * > div":{width:"100%"}},children:null==n?void 0:n.map((e,l)=>(0,t.jsx)(nC,{href:e.href,iconStart:e.iconStart,backgroundColor:e.backgroundColor,badge:e.badge,clickable:e.clickable,illustrationStart:e.illustrationStart,paragraphBold:e.paragraphBold,paragraph:e.paragraph,iconEnd:e.iconEnd,lastElement:l===n.length-1},l))})},nD=e=>{var n,l;let{heading:i,headingFontSizeMobile:r,headingFontSizeDesktop:a,paragraph:x,paragraphFontSizeMobile:u,paragraphFontSizeDesktop:c,link:m,convertLinkToButton:h,buttonVariant:p,image:g,imagePlacementMobile:v,imagePlacementDesktop:f,alignContentMobile:j,alignContentDesktop:y,shortcutButtonCollection:A,video:k}=e,w=(null==k?void 0:k.mp4src)&&k.webMsrc&&(null==k?void 0:k.posterImg);return(0,t.jsxs)(o.son,{sx:{flexDirection:"imageTop"===v?"column-reverse":"column",gap:"24px",[d.Ay.from(d.Ay.DESKTOP)]:{flexDirection:"imageLeft"===f?"row-reverse":"row",alignItems:"center",gap:"72px"}},children:[(0,t.jsxs)(o.son,{sx:{flexDirection:"column",gap:"8px",[d.Ay.from(d.Ay.TABLET)]:{alignItems:"alignContentCenter"===y&&"center"},[d.Ay.from(d.Ay.DESKTOP)]:{gap:A&&A.length>1?"0px":"16px",width:g?"47%":"100%"}},children:[i&&(0,t.jsx)(s.gA,{as:null==i?void 0:i.as,variant:null==i?void 0:i.variant,color:null==i?void 0:i.color,sx:{fontSize:r&&"".concat(r,"rem !important"),width:"100%",textAlign:"alignContentCenter"===j?"center":"inherit",[d.Ay.from(d.Ay.DESKTOP)]:{textAlign:"alignContentCenter"===y?"center":"inherit",maxWidth:"1024px",fontSize:a&&"".concat(a,"rem !important")}},children:null==i?void 0:i.text}),x&&(0,t.jsx)(o.fzL,{sx:{width:"100%",fontSize:u&&"".concat(u,"rem !important"),textAlign:"alignContentCenter"===j?"center":"inherit",[d.Ay.from(d.Ay.DESKTOP)]:{textAlign:"alignContentCenter"===y?"center":"inherit",maxWidth:"700px",fontSize:c&&"".concat(c,"rem !important")}},children:x}),h&&m&&(null==m?void 0:m.url)&&(null==m?void 0:m.text)?(0,t.jsx)(o.$nd,{as:o.N_E,href:m.url,target:m.target,variant:p||"primary",rel:"string"==typeof m.rel?m.rel:void 0,sx:{marginTop:"12px",marginX:"alignContentCenter"===j?"auto":"inherit",width:"fit-content",backgroundColor:"outlined"===p?"#FFFFFF":"#074670",color:"outlined"===p?"#074670":"#FFFFFF",border:"outlined"===p?"2px solid #074670":"2px solid transparent",fontFamily:"var(--folksamSans)",boxShadow:"none",[d.Ay.from(d.Ay.DESKTOP)]:{marginX:"alignContentCenter"===y?"auto":"inherit"}},children:m.text}):m&&(null==m?void 0:m.url)&&(null==m?void 0:m.text)&&(0,t.jsx)(o.N_E,{href:m.url,target:m.target,rel:"string"==typeof m.rel?m.rel:void 0,children:m.text}),A&&(0,t.jsx)(o.azJ,{sx:{width:"100%"},children:(0,t.jsx)(nS,{data:A[0].shortcutButtons})})]}),g&&(0,t.jsx)(o.azJ,{sx:{width:"100%",margin:"auto",height:"375px",[d.Ay.from(d.Ay.DESKTOP)]:{height:"500px",width:"53%"},position:"relative"},children:(null==g?void 0:g.src)&&!w?(0,t.jsx)(o._V3,{priority:!0,fill:!0,src:g.src,alt:g.alt,sx:{borderRadius:"12px"}}):w?(0,t.jsxs)(o.azJ,{as:"video",controls:k.controls,autoPlay:k.autoplay,loop:k.loop,muted:k.muted,playsInl
1ine:!0,loading:"lazy",poster:null!=(l=null==k||null==(n=k.posterImg)?void 0:n.src)?l:void 0,"aria-label":null==k?void 0:k.ariaLabel,sx:{position:"absolute",height:"100%",width:"100%",borderRadius:"12px",objectFit:"cover"},children:[k.webMsrc&&(0,t.jsx)("source",{src:null==k?void 0:k.webMsrc,type:"video/webm"}),k.mp4src&&(0,t.jsx)("source",{src:null==k?void 0:k.mp4src,type:"video/mp4"}),(0,t.jsx)("h2",{children:"Din webbl\xe4sare st\xf6djer inte html video"})]}):null}),A&&(null==A?void 0:A.length)>1&&(0,t.jsx)(o.azJ,{sx:{width:"100%",display:"none",[d.Ay.from(d.Ay.DESKTOP)]:{display:"block"}},children:(0,t.jsx)(nS,{data:A[1].shortcutButtons})})]})},nE=l.p+"static/media/sweden.3b7f9052.svg",nz=e=>{let{heading:n,label:l,dropdownPlaceholder:i,dropdownOptions:a,textSnippets:x}=e,[u,c]=(0,r.useState)(0),[m,h]=(0,r.useState)(!0);return((0,r.useEffect)(()=>{let e=e=>{e.persisted&&(c(e=>e+1),h(!0))};return window.addEventListener("pageshow",e),()=>{window.removeEventListener("pageshow",e)}},[]),(null==a?void 0:a.length)<=0)?null:(0,t.jsxs)(o.son,{sx:{flexDirection:"column",gap:8},children:[n&&(0,t.jsx)(s.gA,{as:null==n?void 0:n.as,variant:null==n?void 0:n.variant,color:null==n?void 0:n.color,children:null==n?void 0:n.text}),(0,t.jsxs)(o.son,{sx:{[d.Ay.from(d.Ay.TABLET)]:{gap:10,flexDirection:"row"}},children:[(0,t.jsxs)(o.azJ,{sx:{width:"100%",[d.Ay.from(d.Ay.TABLET)]:{maxWidth:"335px"}},children:[l&&(0,t.jsx)(o.JU7,{htmlFor:"selectLanguage",sx:{marginBottom:"10px",fontWeight:"600",fontFamily:"var(--folksamSans)"},children:l}),(0,t.jsx)(o.l6P,{id:"selectLanguage",onChange:e=>{f(e),h(!1)},placeholder:i,prefix:m?(0,t.jsx)(eG(),{src:nE,alt:"Svenska flaggan",height:27,width:27,style:{marginRight:"8px"}}):null,children:null==a?void 0:a.map(e=>{var n;return(0,t.jsx)(o.l6P.Option,{value:null!=(n=null==e?void 0:e.selectOptionValue)?n:"",style:{fontFamily:"var(--folksamSans)"},children:null==e?void 0:e.selectOptionText},null==e?void 0:e.selectOptionText)})},u)]}),x&&(0,t.jsx)(o.B8B,{sx:{display:"none",[d.Ay.from(d.Ay.TABLET)]:{display:"grid",gridTemplateColumns:"repeat(2, 1fr)",width:"100%"},[d.Ay.from(d.Ay.DESKTOP)]:{gridTemplateColumns:"repeat(3, 1fr)"}},children:null==x?void 0:x.map(e=>(0,t.jsx)(o.B8B.Item,{lang:e.language,icon:o.lHv,sx:{fontWeight:"600",[d.Ay.from(d.Ay.DESKTOP)]:{alignItems:"flex-end",paddingBottom:"0",paddingTop:"12px"}},children:e.text},e.text))})]})]})},nI=e=>{let{backgroundImage:n,heading:l}=e;return(0,t.jsxs)(o.azJ,{sx:{display:"flex",flexDirection:"column",gap:"24px",alignItems:"center",backgroundColor:"#EBF5FA",paddingY:"48px",[d.Ay.to(d.Ay.SMALL_MOBILE)]:{overflowWrap:"break-word",hyphens:"auto"},[d.Ay.from(d.Ay.TABLET)]:{gap:"32px",paddingY:"80px"}},children:[l&&(0,t.jsx)(o.DZT,{sx:{fontSize:"2.25rem",fontFamily:"var(--folksamSans-display-heavy)",textAlign:"center",width:"100%",maxWidth:"380px",paddingX:"1rem",[d.Ay.from(d.Ay.TABLET)]:{fontSize:"6rem",maxWidth:"850px"}},children:null==l?void 0:l.text}),n&&"string"==typeof n.src&&(0,t.jsx)(o._V3,{src:null==n?void 0:n.src,alt:null==n?void 0:n.alt,width:750,height:600,sx:{width:"100%",maxWidth:"700px",height:"auto"}})]})},nF=e=>{var n,l,i,a,x,u,c,m,h,p,g,v;let{shortcutButtonCollection:f}=e,[j,y]=(0,r.useState)(!1),A=(0,r.useRef)(null),k=(0,r.useRef)(null);return(0,t.jsxs)(o.son,{sx:{alignItems:"center",flexDirection:"column",width:"100%"},ref:k,children:[(0,t.jsxs)(o.azJ,{mb:8,sx:{width:"100%"},children:[(null==f||null==(n=f[0])?void 0:n.heading)&&(0,t.jsx)(s.gA,{as:null==(i=f[0])||null==(l=i.heading)?void 0:l.as,variant:null==(x=f[0])||null==(a=x.heading)?void 0:a.variant,color:null==(c=f[0])||null==(u=c.heading)?void 0:u.color,sx:{paddingBottom:8,textAlign:"center"}
1,children:null==(h=f[0])||null==(m=h.heading)?void 0:m.text}),(null==f||null==(p=f[0])?void 0:p.shortcutButtons)&&(0,t.jsxs)(o.son,{sx:{gap:"72px"},children:[(0,t.jsx)(nS,{data:null==(g=f[0])?void 0:g.shortcutButtons.slice(0,5)}),(0,t.jsx)(o.azJ,{sx:{width:"100%",display:"none",[d.Ay.from(d.Ay.DESKTOP)]:{display:"block"}},children:(0,t.jsx)(nS,{data:null==(v=f[0])?void 0:v.shortcutButtons.slice(5,10)})})]})]}),!j&&(0,t.jsx)(o.$nd,{onClick:()=>y(!0),ref:A,variant:"outlined",sx:{width:"fit-content"},children:"Se alla v\xe5ra f\xf6rs\xe4kringar"}),(0,t.jsx)(em.N,{initial:!1,children:j&&(0,t.jsx)(o.azJ,{id:"mainexpanded",sx:{width:"100%"},children:(0,t.jsx)(J.iK9.FoldOut,{children:(0,t.jsx)(o.azJ,{marginTop:8,sx:{width:"100%"},children:null==f?void 0:f.slice(1).map((e,n)=>(0,t.jsx)(o.azJ,{sx:{marginBottom:20,width:"100%"},children:e&&(0,t.jsx)(o.azJ,{sx:{p:"0px 6px"},children:(0,t.jsx)(W,{heading:e.heading,shortcutButtons:e.shortcutButtons})})},n))})})})}),j&&(0,t.jsx)(o.$nd,{onClick:()=>{setTimeout(()=>{y(!1)},500),(()=>{if(window&&k&&k.current){var e,n,l;let t=(null==(e=window)?void 0:e.scrollY)+(null==(l=k.current)||null==(n=l.getBoundingClientRect())?void 0:n.top);t&&window.scrollTo({top:t-138-200,behavior:"smooth"})}})(),setTimeout(()=>{var e;null==A||null==(e=A.current)||e.focus()},0)},variant:"outlined",children:"St\xe4ng"})]})},nO=e=>{let{templates:n}=e;return(0,t.jsx)(t.Fragment,{children:n.map((e,n)=>{let l={stickyButton:P,simpleCardCollection:z,imageCardCollection:z,imageCard:C,bannerIllustration:R,categoryButtonCollection:T,BannerImage:x,headingParagraph:L,headingParagraphBlock:ew,uspCollection:ef,"USP Lista produkt [native]":A,"Dubbelpuff produkt":p,"Trippelpuff produkt":v,accordionCollection:F,shortcutButtonCollection:W,shortcutButton:H,list:O,table:N,termsInformation:c,imageComponent:ex,imageBlock:eu,productbanner:ed,productbannerwebcore:es,faq:ej,Tab:eT,textWithDropdown:j,structuredData:a,bylineNxt:nu,standaloneButton:nc,simpleCard:B,marketingBanner:nD,languageSelector:nz,tempSimpleCardCollection:z,heroBanner:nI,expandableShortcutButtonCollection:nF,"Content:ProductComparisonTable":eg,TabGroup:eb,NewTab:eL,"Content:HeaderSubHeader":eB,"Content:SectionPageHeading":eC,"Content:PageHeading":eS,"Content:PageHeadingBanner":ns,"Content:ArticleContentLinks":ey,"Content:ProductListing":eE,"Content:ProductListingBox":ez,"Content:ArticleBoxContent":eI,"Content:USPList":eF,"Content:Quote":eO,"Content:DoubleBanner":eR,"Content:BlurbTriplet":eH,"Content:BulletList":eJ,"Content:NumberBoxList":eW,"Content:CampaignNumberBoxList":eW,"Content:VideoOrImage":eX,"Content:ArticleImage":eK,"Content:ExtendedArticle":eY,"Content:ProductInfoHeading":e$,"Content:FAQ":eq,"Content:ContentBlock":eU,"Content:NavigationContentBlockWImg":eQ,"Content:LogoBlurb":e0,"Content:LogoBlurbWide":e1,"Content:Rating":e5,"Content:UnionSelector":e4,"Content:LanguageSelectorBanner":e8,"Content:ProductTerms":e9,"Content:ProductDropdown":e6,"Content:RemoveSpacing":e7,"Content:CustomerServiceContactInfo":ne,"Content:ArticleText":nn,"Content:FoldOutContent":nl,"Content:FoldOutContentTabArticle":nt,"Content:StandardTable":ni,"Content:GotoRowNavigation":na,"Content:StandaloneButton":nd,"Applications:ReactPlaceholder":nx};if(e.templateName&&Object.keys(l).includes(e.templateName)){var i,r;let o=l[e.templateName],a=Array.isArray(null==(i=e.templateData)?void 0:i.data)?e.templateData:null==(r=e.templateData)?void 0:r.data;return(0,t.jsx)(o,{...a,templateName:e.templateName,isInTab:e.isInTab},n)}return null})})},nR=e=>{let{pageContent:n,articleMenuData:l}=e;return(0,t.jsxs)(o.azJ,{as:"article",id:"body",sx:{marginX:"auto",marginBottom:6},children:[n.map(e=>{if("Hero"===e.regionName){var n;return(null==e||null==(n=e.regionData)?void 0:n.length)>0&&(0,t.jsx)(o.azJ,{typeOf:"region",className:"Hero",sx:{width:"100%",marginX:"auto"},children:(0,t.jsx)(nO,{templates:null==e?void 0:e.regionData})},e.regionName)}return null}),(0,t.jsxs)(o.azJ,{sx:{display:"flex",width:"100%",flexDirection:"column",marginX:"auto",maxWidth:"1240px",paddingX:"1rem",[d.Ay.from(d.Ay.DESKTOP)]:{flexDirection:"row"}},children:[(0,t.jsx)(o.azJ,{sx:{width:"100%",[d.Ay.from(d.Ay.DESKTOP)]:{width:"59%"}},children:n.map(e=>"Innehall-topp"===e.regionName||"Innehall-botten"===e.regionName?(0,t.jsx)(o.azJ,{typeOf:"region",children:(0,t.jsx)(nO,{templates:null==e?void 0:e.regionData}
1,e.regionName)},e.regionName):null)}),(0,t.jsxs)(o.azJ,{as:"aside",sx:{width:"100%",marginBottom:"18px",[d.Ay.from(d.Ay.DESKTOP)]:{width:"41%",marginX:"1rem"}},children:[(null==l?void 0:l.articleMenu)&&(0,t.jsx)(s.wg,{articleMenu:l.articleMenu}),n.map(e=>{if("H\xf6gerkolumn"===e.regionName||"Hogerkolumn"===e.regionName){var n;return(null==e||null==(n=e.regionData)?void 0:n.length)>0&&(0,t.jsx)(o.azJ,{typeOf:"region",className:"H\xf6gerkolumn",sx:{width:"100%"},children:(0,t.jsx)(nO,{templates:null==e?void 0:e.regionData})},e.regionName)}return null})]})]})]})},nP=e=>{var n,l,i,r;let{pageData:a,articleMenuData:x}=e,u=null==a||null==(n=a.data)?void 0:n.pageContent;return(0,t.jsxs)(o.azJ,{as:"article",id:"body",sx:{marginX:"auto",marginBottom:6},children:[u.map(e=>{if("FolksamHero"===e.regionName){var n;return(null==e||null==(n=e.regionData)?void 0:n.length)>0&&(0,t.jsx)(o.azJ,{typeOf:"region",sx:{marginX:"auto"},children:(0,t.jsx)(nO,{templates:null==e?void 0:e.regionData})},e.regionName)}return null}),(0,t.jsxs)(o.azJ,{sx:{display:"flex",width:"100%",flexDirection:"column",paddingX:"1rem",marginX:"auto",maxWidth:"1240px",[d.Ay.from(d.Ay.DESKTOP)]:{flexDirection:(null==a||null==(l=a.data)?void 0:l.folksamArticlePage)?"row":"column",paddingX:"1rem"}},children:[(0,t.jsx)(o.azJ,{sx:{width:"100%",marginBottom:(null==a||null==(i=a.data)?void 0:i.folksamArticlePage)?"42px":0,[d.Ay.from(d.Ay.DESKTOP)]:{width:"59%",marginBottom:0}},children:u.map(e=>"ArticleContent"===e.regionName||"ArticleTabsRegion"===e.regionName||"ArticleContentWImgBlock"===e.regionName||"TabsInPageRegion"===e.regionName?(0,t.jsx)(o.azJ,{typeOf:"region",children:(0,t.jsx)(nO,{templates:null==e?void 0:e.regionData},e.regionName)},e.regionName):null)}),(0,t.jsxs)(o.azJ,{as:"aside",sx:{width:"100%",marginBottom:"18px",[d.Ay.from(d.Ay.DESKTOP)]:{width:"41%",marginX:(null==a||null==(r=a.data)?void 0:r.folksamArticlePage)?"20px":void 0,marginLeft:"60px"}},children:[(null==x?void 0:x.articleMenu)&&(0,t.jsx)(s.wg,{articleMenu:x.articleMenu}),u.map(e=>{if("Article-RightColumn"===e.regionName||"FSArticle Navigation"===e.regionName||"Hogerkolumn"===e.regionName){var n;return(null==e||null==(n=e.regionData)?void 0:n.length)>0&&(0,t.jsx)(o.azJ,{typeOf:"region",sx:{width:"100%"},children:(0,t.jsx)(nO,{templates:null==e?void 0:e.regionData})},e.regionName)}return null})]})]})]})},nH=e=>{let{pageContent:n}=e;return(0,t.jsxs)(o.azJ,{sx:{marginX:"auto",marginBottom:6},children:[n.map(e=>{if("Ingang"===e.regionName){var n,l,i;return(null==e||null==(n=e.regionData)?void 0:n.length)>0&&(0,t.jsx)(o.azJ,{typeOf:"region",sx:{width:"100%",backgroundColor:null!=(i=null==e||null==(l=e.regionMeta)?void 0:l.color)?i:void 0,marginX:"1rem"},children:(0,t.jsx)(o.azJ,{sx:{maxWidth:"1240px",marginX:"auto"},children:(0,t.jsx)(nO,{templates:null==e?void 0:e.regionData})})},e.regionName)}return null}),n.map(e=>{var n,l;return"USP boxar"===e.regionName||"Produktinformation"===e.regionName||"Produktinformation1"===e.regionName||"Produktinformation2"===e.regionName||"Produktinformation3"===e.regionName||"Produktinformation4"===e.regionName||"FAQ region"===e.regionName||"Botten-sektion"===e.regionName?(0,t.jsx)(o.azJ,{typeOf:"region",sx:{backgroundColor:null!=(l=null==e||null==(n=e.regionMeta)?void 0:n.color)?l:void 0,marginX:"auto",paddingX:"1rem"},children:(0,t.jsx)(o.azJ,{sx:{maxWidth:"1240px",marginX:"auto"},children:(0,t.jsx)(nO,{templates:null==e?void 0:e.regionData},e.regionName)})},e.regionName):null})]})},nJ=e=>{let{pageContent:n}=e;return(0,t.jsx)(t.Fragment,{children:n.map(e=>{var n,l,i;return(null==e||null==(n=e.regionData)?void 0:n.length)>0&&(0,t.jsx)(o.azJ,{as:"section",sx:{width:"100%",backgroundColor:null!=(i=null==e||null==(l=e.regionMeta)?void 0:l.color)?i:void 0,marginX:"auto",paddingX:"1rem"},children:(0,t.jsx)(o.azJ,{sx:{maxWidth:"1240px",marginX:"auto"},children:(0,t.jsx)(nO,{templates:null==e?void 0:e.regionData})})},e.regionName)})})},nW=e=>{let{pageContent:n}=e;return(0,t.jsx)(o.azJ,{sx:{marginX:"auto",marginBottom:6},children:n.map(e=>{var n,l,i,r,a,s;return"Topbanner"===e.regionName||"FolksamHero"===e.regionName?(null==e||null==(n=e.regionData)?void 0:n.length)>0&&(0,t.jsx)(o.azJ,{typeOf:"region",sx:{width:"100%",backgroundColor:null!=(i=null==e||null==(l=e.regionMeta)?void 0:l.color)?i:void 0,marginX:"auto"},children:(0,t.jsx)(nO,{templates:null==e?void 0:e.regionData})}
1,e.regionName):"Topbanner"!==e.regionName&&"FolksamHero"!==e.regionName&&"EmptyRegion"!==e.regionName?(null==e||null==(r=e.regionData)?void 0:r.length)>0&&(0,t.jsx)(o.azJ,{as:"section",sx:{width:"100%",backgroundColor:null!=(s=null==e||null==(a=e.regionMeta)?void 0:a.color)?s:void 0,marginX:"auto",paddingX:"1rem",[d.Ay.from(d.Ay.TABLET)]:{paddingX:0}},children:(0,t.jsx)(o.azJ,{sx:{maxWidth:"1240px",marginX:"auto"},children:(0,t.jsx)(nO,{templates:null==e?void 0:e.regionData})})},e.regionName):null})})},nN=e=>{let{pageContent:n}=e;return(0,t.jsxs)(o.azJ,{sx:{marginX:"auto",marginBottom:6},children:[n.map(e=>{if("Topbanner"===e.regionName||"FolksamHero"===e.regionName){var n,l,i;return(null==e||null==(n=e.regionData)?void 0:n.length)>0&&(0,t.jsx)(o.azJ,{typeOf:"region",sx:{width:"100%",backgroundColor:null!=(i=null==e||null==(l=e.regionMeta)?void 0:l.color)?i:void 0,marginX:"auto"},children:(0,t.jsx)(nO,{templates:null==e?void 0:e.regionData})},e.regionName)}return null}),(0,t.jsxs)(o.son,{as:"article",sx:{maxWidth:"1240px",marginX:"auto",width:"100%",paddingX:"1rem"},children:[n.map(e=>{var n,l;return"ArticleContent"===e.regionName||"ArticleTabsRegion"===e.regionName?(0,t.jsx)(o.azJ,{sx:{backgroundColor:null!=(l=null==e||null==(n=e.regionMeta)?void 0:n.color)?l:void 0,width:"100%"},children:(0,t.jsx)(o.azJ,{typeOf:"region",sx:{maxWidth:"1240px",[d.Ay.from(d.Ay.TABLET)]:{width:"58.33%"}},children:(0,t.jsx)(nO,{templates:null==e?void 0:e.regionData},e.regionName)})},e.regionName):null}),n.map(e=>{var n,l;return"Article-RightColumn"===e.regionName?(0,t.jsx)(o.azJ,{typeOf:"region",sx:{maxWidth:"1240px",backgroundColor:null!=(l=null==e||null==(n=e.regionMeta)?void 0:n.color)?l:void 0,[d.Ay.from(d.Ay.TABLET)]:{width:"41.666667%"},[d.Ay.from(d.Ay.DESKTOP)]:{width:"41.666667%"}},children:(0,t.jsx)(nO,{templates:null==e?void 0:e.regionData},e.regionName)},e.regionName):null})]}),n.map(e=>{var n,l,i,r,a,d;return"TabsInPageRegion"===e.regionName?(null==e||null==(n=e.regionData)?void 0:n.length)>0&&(0,t.jsx)(o.azJ,{typeOf:"region",sx:{width:"100%",backgroundColor:null!=(i=null==e||null==(l=e.regionMeta)?void 0:l.color)?i:void 0,marginX:"auto",paddingX:"1rem"},children:(0,t.jsx)(o.azJ,{sx:{maxWidth:"1240px",marginX:"auto"},children:(0,t.jsx)(nO,{templates:null==e?void 0:e.regionData})})},e.regionName):"Main"===e.regionName?(null==e||null==(r=e.regionData)?void 0:r.length)>0&&(0,t.jsx)(o.azJ,{typeOf:"region",sx:{width:"100%",backgroundColor:null!=(d=null==e||null==(a=e.regionMeta)?void 0:a.color)?d:void 0,marginX:"auto",paddingX:"1rem"},children:(0,t.jsx)(o.azJ,{sx:{maxWidth:"1240px",marginX:"auto"},children:(0,t.jsx)(nO,{templates:null==e?void 0:e.regionData})})},e.regionName):null})]})},n_=e=>{let{pageContent:n}=e;return(0,t.jsx)(o.azJ,{sx:{marginX:"auto",marginBottom:6},children:n.map(e=>{var n,l,i;return(null==e||null==(n=e.regionData)?void 0:n.length)>0&&(0,t.jsx)(o.azJ,{as:"section",sx:{width:"100%",marginX:"auto",backgroundColor:null!=(i=null==e||null==(l=e.regionMeta)?void 0:l.color)?i:void 0},children:(0,t.jsx)(o.azJ,{sx:{maxWidth:"1240px",marginX:"auto"},children:(0,t.jsx)(nO,{templates:null==e?void 0:e.regionData})})},e.regionName)})})},nX=e=>{let{pageContent:n}=e;return(0,t.jsx)(o.azJ,{sx:{marginX:"auto",marginBottom:6},children:n.map(e=>{var n,l,i;return"Innehall-topp"===e.regionName||"Boxar"===e.regionName||"Innehall-botten"===e.regionName?(null==e||null==(n=e.regionData)?void 0:n.length)>0&&(0,t.jsx)(o.azJ,{as:"section",sx:{width:"100%",marginX:"auto",backgroundColor:null!=(i=null==e||null==(l=e.regionMeta)?void 0:l.color)?i:void 0},children:(0,t.jsx)(o.azJ,{sx:{maxWidth:"1240px",marginX:"auto"},children:(0,t.jsx)(nO,{templates:null==e?void 0:e.regionData})})},e.regionName):null})})};var nK=l(3357);let nV=e=>{let{pageContent:n}=e;return(0,t.jsx)(t.Fragment,{children:null==n?void 0:n.map((e,n)=>!0===e.regionMeta.turnOffRegion?(0,t.jsx)(nO,{templates:null==e?void 0:e.regionData},n):(null==e?void 0:e.regionData.length)>0?(0,t.jsx)(S.cF,{...e.regionMeta,regionName:e.regionName,children:(0,t.jsx)(nK.w,{children:(0,t.jsx)(nO,{templates:null==e?void 0:e.regionData})})},n):(0,t.jsx)(r.Fragment,{},n))})};var nM=!0;let nY=e=>{var n,l,r,a,d,s,x,u,c;let{path:m,pageData:h,articleMenuData:p}=e,g=h.data.pageContent;return((0,i.A)(m,null==h||null==(n=h.data)?void 0:n.trackingData),null==h||null==(l=h.data)?void 0:l.articlePage)?(0,t.jsx)(nR,{pageContent:g,articleMenuData:p}):(null==h||null==(r=h.data)?void 0:r.folksamSectionPage)?(0,t.jsx)(n_,{pageContent:g}):(null==h||null==(a=h.data)?void 0:a.sectionPage)?(0,t.jsx)(nX,{pageContent:g}):(null==h||null==(d=h.data)?void 0:d.folksamArticlePage)?(0,t.jsx)(nP,{pageData:h,articleMenuData:p}):(null==h||null==(s=h.data)?void 0:s.productPage)?(0,t.jsx)(nH,{pageContent:g}):(null==h||null==(x=h.data)?void 0:x.campaignPage)?(0,t.jsx)(nJ,{pageContent:g}):(null==h||null==(u=h.data)?void 0:u.folksamOnetoTwoColumnPage)?(0,t.jsx)(nN,{pageContent:g}):(null==h||null==(c=h.data)?void 0:c.folksamGeneralPage)?(0,t.jsx)(nW,{pageContent:g}):(0,t.jsx)(o.azJ,{className:"content-wrapper",children:(0,t.jsx)(nV,{pageContent:g})})}}},e=>{e.O(0,[30,636,593,792],()=>e(e.s=3674)),_N_E=e.O()}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.