1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9062],{3603:function(e,t,n){"use strict";n.d(t,{Z:function(){return y}});var r=n(5893),o=n(6254),l=n(8029),a=n(8329),i=n(92),s=n(5275),d=n(7294),c=n(1163);let u=(e,t)=>{"/"===t.charAt(t.length-1)&&(t=t.slice(0,-1));let n=t===e,r=e.split("/").filter(Boolean).length,o=t.split("/")[2]===e.split("/")[2];return{isCurrentPath:n,menuHierarchyStyle:({2:{ml:"28px",borderColor:o?"secondary.90":"secondary.20",bg:"neutral.20",hover:"neutral.40"},3:{ml:"40px",borderColor:"secondary.90",bg:"neutral.30",hover:"neutral.50"},4:{ml:"52px",borderColor:"card.primary",bg:"neutral.40",hover:"neutral.60"},5:{ml:"64px",borderColor:"card.quaternary",bg:"neutral.50",hover:"neutral.70"}})[r]||{ml:"1.438rem",borderColor:"secondary.20"},isCurrentLinkFamily:o}};var p=n(2519),f=n(1914);let g=e=>e.endsWith("/")?e.slice(0,-1):e,x=e=>{try{return new URL(e).pathname}catch(t){return e}};var m=e=>{let{childNavigationLinks:t,title:n,url:o,last:i,level:m}=e,{asPath:h}=(0,c.useRouter)(),y=g(x(o)),[v,j]=(0,d.useState)(h.includes(y)),{isCurrentPath:w,menuHierarchyStyle:k,isCurrentLinkFamily:_}=u(y,h);return(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)(a.k,{as:"li",minH:"2.75rem",w:"100%",position:"relative",bg:k.bg,_before:w?{position:"absolute",content:'""',left:0,top:0,bottom:0,width:"8px",backgroundColor:"brand.primary"}:void 0,justify:"space-between",flexWrap:"wrap",borderTop:"1px solid",borderBottom:i&&(null!=m?m:0)<2?"1px solid":"none",borderColor:"brand.primary",p:0,children:[(0,r.jsxs)(l.x,{flexGrow:1,display:"flex",alignItems:"center",p:0,m:0,height:"auto",border:"none",children:[(0,r.jsx)(s.rU,{href:o,noUnderline:!0,noHoverUnderline:!0,alignSelf:"center",display:"block",flexGrow:1,p:0,_focusVisible:{position:"relative",zIndex:1,outline:"4px solid",outlineColor:"brand.primary",outlineOffset:"2px",boxShadow:"none"},children:(0,r.jsx)(l.x,{py:5,pl:k.ml,pr:7,bg:k.bg,_hover:{bg:k.hover},children:n})}),!!t.length&&(0,r.jsx)(l.x,{borderLeft:"1px solid",borderColor:"brand.primary",height:"100%",children:(0,r.jsx)(p.h,{alignSelf:"center",padding:5,bg:k.bg,w:"3.75rem",variant:"icon",maxH:"unset",height:"100%",icon:(0,r.jsx)(s.ve,{fontSize:6,transform:v?"rotateZ(180deg)":"null",transition:"transform 0.2s ease-in-out"}),"aria-label":"undermeny f\xf6r ".concat(n),"aria-expanded":v,_hover:{bg:k.hover},_focusVisible:{position:"relative",zIndex:1,outline:"4px solid",outlineColor:"brand.primary",outlineOffset:"0px",boxShadow:"none"},onClick:()=>j(!v)})})]}),t.length>0&&(0,r.jsx)(f.U,{in:v,style:{width:"100%",overflow:"visible"},children:(0,r.jsx)(b,{childNavigationLinks:t,level:(null!=m?m:0)+1})})]})})},b=e=>{let{childNavigationLinks:t,level:n}=e;return(0,r.jsx)(l.x,{as:"ul",overflow:"visible",children:t.map((e,o)=>(0,r.jsx)(m,{...e,last:o===t.length-1,level:n},e.page))})},h=e=>{let{navigation:t}=e,{childNavigationLinks:n,title:o,url:l}=null!=t?t:{};return(0,r.jsx)(r.Fragment,{children:!!t&&Object.keys(t).length>0&&(0,r.jsxs)(a.k,{mx:"auto",w:"22.5rem",flexDir:"column",mr:0,pb:8,as:"nav","aria-label":"undermeny f\xf6r sektionen ".concat(o),children:[o&&l&&(0,r.jsxs)(i.x,{as:s.rU,noUnderline:!0,href:l,pt:0,pb:6,color:"brand.primary",textStyle:"heading.md",display:"flex",alignItems:"center",children:[o,(0,r.jsx)(s.LZ,{color:"brand.primary",ml:1,fontSize:"6x"})]}),n&&(0,r.jsx)(b,{childNavigationLinks:n,level:1})]})})},y=e=>{let{bodyText:t,subNavigation:n,hideSubNavigation:a=!1}=e;return(0,r.jsxs)(o.W,{justifyContent:"space-between",gap:12,maxW:{base:"100%",lg:"container.page"},display:"flex",mt:{base:4,md:8},children:[(0,r.jsx)(l.x,{maxW:"container.sm",children:t&&(0,r.jsx)(s.r_,{content:t})}),(0,r.jsx)(l.x,{mt:4,display:{base:"none",lg:"block"},children:!a&&(0,r.jsx)(h,{navigation:n})})]})}},328:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return b}});var r=n(5893),o=n(3603),l=n(1892),a=n(2757),i=n(9156),s=n(6254),d=n(8029),c=n(7294),u=n(2729),p=n(2302);function f(){let e=(0,u._)(["\n select {\n font-family: 'Sofia', sans-serif;\n width: 100%;\n padding: 20px;\n font-weight: 700;\n font-size: 1.125rem;\n border: 1px solid ",";\n flex-wrap: wrap;\n border-radius: 6px;\n background-color: white;\n option {\n font-weight: 600;\n background-color: white;\n }\n }\n"]);return f=function(){return e},e}let g=n(6829).Z.div(f(),p.rS.colors.gray[200]);var x=n(6334),m=()=>{let e=(0,x.X)(),t=(0,c.useRef)(!1);return(0,c.useEffect)(()=>
1{if(!t.current){let n=Node.prototype.removeChild;Node.prototype.removeChild=function(e){return this.contains(e)?n.call(this,e):e},window.googleTranslateElementInit=()=>{if(window.google&&window.google.translate)try{new window.google.translate.TranslateElement({pageLanguage:"sv"},"google_translate_element")}catch(e){console.error("Failed to initialize Google Translate:",e)}else console.error("Google Translate script is not available")};let r=document.createElement("script");r.id="google-translate-script",r.src="https://translate.google.com/translate_a/element.js?cb=googleTranslateElementInit",r.nonce=e,r.async=!0,r.onerror=e=>{if(console.error("Google Translate script failed to load",e),"string"!=typeof e&&"target"in e){let t=e.target;console.error("Failed to load script: ".concat(t.src))}},document.head.appendChild(r),t.current=!0}return()=>{let e=document.getElementById("google_translate_element");e&&(e.innerHTML="")}},[]),(0,r.jsx)(s.W,{maxW:"container.page",mt:10,children:(0,r.jsx)(d.x,{p:{base:4,lg:8},bg:"gray.100",children:(0,r.jsx)(g,{id:"google_translate_element"})})})},b=e=>{let{heading:t,preamble:n,image:s,buttonLink:d,buttonText:c,blockArea:u,bodyText:p,video:f,videoTitle:g,hideSubNavigation:x,showGoogleTranslate:b=!1,subNavigation:h,breadcrumbs:y,metaData:v,publisherMetadata:j,backgroundColor:w,buttonType:k}=e;return(0,r.jsxs)(i.Z,{breadcrumbs:y,metadata:v,breadCrumbBackgroundColor:w,publisherMetadata:j,printAndShare:!0,children:[(0,r.jsx)(l.Z,{heading:t,preamble:n,image:s,buttonLink:d,buttonText:c,video:f,videoTitle:g,backgroundColor:w,buttonType:k}),(0,r.jsx)(o.Z,{bodyText:p,subNavigation:h,hideSubNavigation:x}),(0,r.jsx)(a.Z,{blockArea:u}),b&&(0,r.jsx)(m,{})]})}},2757:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(5893),o=n(9101);n(7294);var l=n(8329),a=e=>{let{children:t,...n}=e;return(0,r.jsx)(l.k,{gap:{base:8,lg:12},mt:{base:8,lg:12},flexDir:"column",...n,children:t})},i=n(4630),s=n(2725),d=e=>{let{blockArea:t,blockStack:n=!0}=e;if(!(null==t?void 0:t.length))return console.warn("No block area found"),null;let o=t.map((e,t)=>{let n=c(e.contentType);return n?(0,r.jsx)(s.Z,{fallback:(0,r.jsxs)(i.Z,{children:["No block found for type: ",e.contentType]}),children:(0,r.jsx)(n,{...e})},t):(0,r.jsxs)(i.Z,{children:["No block found for type: ",e.contentType]},t)});return n?(0,r.jsx)(a,{children:o}):(0,r.jsx)(r.Fragment,{children:o})};let c=e=>e?o.v[e]||(console.warn("No component found for type: ".concat(e)),null):(console.warn("No content type found for block"),null)},6334:function(e,t,n){"use strict";n.d(t,{X:function(){return o}});var r=n(5441);let o=()=>{var e;let{nonce:t}=(0,r.V)();if("undefined"==typeof document)return t;let n=document.querySelector('meta[name="csp-nonce"]');return(null==n?void 0:null===(e=n.content)||void 0===e?void 0:e.trim())||t}},9008:function(e,t,n){e.exports=n(3867)},6071:function(e,t,n){"use strict";n.d(t,{h:function(){return u}});var r=n(5893),o=n(4926),l=n(7294),a=n(1663),i=n(9381),s=n(4993);let d={horizontal:{"> *:first-of-type:not(:last-of-type)":{borderEndRadius:0},"> *:not(:first-of-type):not(:last-of-type)":{borderRadius:0},"> *:not(:first-of-type):last-of-type":{borderStartRadius:0}},vertical:{"> *:first-of-type:not(:last-of-type)":{borderBottomRadius:0},"> *:not(:first-of-type):not(:last-of-type)":{borderRadius:0},"> *:not(:first-of-type):last-of-type":{borderTopRadius:0}}},c={horizontal:e=>({"& > *:not(style) ~ *:not(style)":{marginStart:e}}),vertical:e=>({"& > *:not(style) ~ *:not(style)":{marginTop:e}})},u=(0,i.G)(function(e,t){let{size:n,colorScheme:i,variant:u,className:p,spacing:f="0.5rem",isAttached:g,isDisabled:x,orientation:m="horizontal",...b}=e,h=(0,o.cx)("chakra-button__group",p),y=(0,l.useMemo)(()=>({size:n,colorScheme:i,variant:u,isDisabled:x}),[n,i,u,x]),v={display:"inline-flex",...g?d[m]:c[m](f)},j="vertical"===m;return(0,r.jsx)(a.D,{value:y,children:(0,r.jsx)(s.m.div,{ref:t,role:"group",__css:v,className:h,"data-attached":g?"":void 0,"data-orientation":m,flexDir:j?"column":void 0,...b})})});u.displayName="ButtonGroup"}}]);
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.