1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5507],{25507:function(e,l,s){"use strict";s.r(l),s.d(l,{default:function(){return w}});var n=s(85893),c=s(67294),a=s(66832),i=s(2261);s(2843);var r=s(25675),t=s.n(r),d=s(37485);function v(e){let{className:l}=e;return(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",role:"img",stroke:"none",viewBox:"0 0 196 66",className:l,children:(0,n.jsx)("path",{d:"M77.066 7.613c-.958-.468-1.85-.659-2.892-1.234-1.169-.637-1.87-1.38-1.87-2.677 0-1.658 1.26-2.168 2.71-2.168 2.059 0 3.448 2.019 3.91 3.589h.507L79.34.96h-.722l-.723.999c-.744-.574-1.955-1.063-3.06-1.063-2.424 0-4.252 1.68-4.252 3.932 0 1.892.872 3.061 2.508 3.784 1.19.531 1.828.765 3.04 1.254 1.275.51 2.083 1.489 2.083 2.784 0 1.595-.808 2.68-2.7 2.68-2.635 0-3.996-2.148-4.867-4.401h-.489l.149 4.973h.722l.744-.998c.638.51 1.765 1.063 3.487 1.063 2.742 0 4.804-1.828 4.804-4.422 0-2.252-1.17-3.104-2.998-3.932ZM119.415 28.58c1.761 0 3.13.336 4.12.999 1.326.915 2.147 3.15 2.153 5.031v17.687c0 7.823 3.064 13.564 10.767 13.564 7.122 0 10.104-3.328 13.25-6.49h.249v4.962l.58.583h13.003v-.5c-1.491-.083-3.231-1.134-4.225-1.8-1.325-.915-1.738-2.33-1.904-4.078V27.332l-.58-.582-14.493.505v.993c2.154.082 4.39.415 5.383 1.082 1.325.915 1.987 2.413 2.153 4.16v24.05c-1.076 1.747-3.974 5.66-10.02 5.66-3.562 0-6.543-2.83-6.543-8.573V27.332l-.58-.582s-9.276.5-13.168.5h-10.722v-6.814h-7.205v6.813h-8.116v1.332h7.951v25.63c0 7.407 3.23 11.483 10.02 11.483 6.13 0 10.021-5.158 10.684-11.15h-.828c-.497 3.163-2.319 7.074-6.046 7.074-5.052 0-6.377-3.663-6.377-8.405V28.581h10.494ZM97.576 54.96c-.248 3.163-1.49 6.991-4.223 6.991-2.733 0-3.893-2.996-3.893-4.245 0-2.745.415-11.9.415-19.222 0-11.068-6.047-12.316-14.246-12.316-6.294 0-13.333 3.827-13.333 8.82 0 2.164.994 4.328 3.726 4.328 2.982 0 4.804-1.83 4.804-3.578 0-1.83-.911-4.244-.911-6.491.746-.916 2.07-2.247 5.218-2.247 6.874 0 7.122 7.074 7.122 8.571v5.908c-3.478 1.831-9.193 3.246-13.914 5.076-4.14 1.581-8.115 3.662-8.115 10.485 0 5.327 3.892 8.821 9.606 8.821 4.97 0 9.276-2.246 12.257-5.741h.249c1.325 3.828 3.395 5.575 7.288 5.575 5.134 0 8.281-2.995 8.779-10.734h-.829Zm-15.57 3.995c-1.988 2.496-4.472 3.994-8.116 3.994-3.56 0-5.631-2.58-5.631-7.156 0-7.407 5.797-10.57 14.079-13.148l-.331 16.31ZM88.226 7.866c.064-.149.106-.424.106-.595-.02-.424-1.232-.722-1.572-.765V6.08h3.784v.404c-.405.064-1.34.573-1.616 1.19-.872 1.935-1.552 3.635-2.487 5.867-.319.722-.554 1.36-.83 2.296h-.744c-1.487-3.762-1.955-4.825-3.38-8.27-.254-.594-.956-.955-1.572-1.04V6.08h4.72v.49c-.49.02-1.212.105-1.212.445 0 .021.042.192.148.446.404 1.084 1.467 3.678 2.338 5.89M95.24 15.945c-3.21 0-4.698-2.338-4.698-5.144 0-2.55 1.637-4.995 4.465-4.995 2.911 0 3.974 1.913 3.974 4.081v.191h-6.334v.235c0 2.742.893 4.697 3.167 4.697 1.658 0 2.189-.595 2.997-1.891l.383.255c-.744 1.509-2.169 2.571-3.954 2.571Zm-.255-9.65c-1.34 0-2.274 1.319-2.338 3.316l4.272-.042c0-1.532-.318-3.274-1.934-3.274ZM106.546 8.484c-.68 0-1.147-.298-1.147-1.02 0-.213.149-.384.149-.66-1.084 0-1.871.914-2.126 1.382v5.867c0 .467.192.807.574.956.361.15.978.234 1.381.255v.426h-5.398v-.426c.382-.02.637-.064.935-.148.404-.128.573-.49.573-.957v-6.1c-.042-.446-.233-.893-.573-1.127a2.238 2.238 0 0 0-1.042-.34v-.404l3.401-.233.149.148v1.445h.042c.914-1.169 1.978-1.7 2.87-1.7.659 0 1.339.595 1.339 1.297 0 .743-.404 1.339-1.127 1.339ZM110.862 3.498a1.316 1.316 0 0 1-1.297-1.296c0-.724.596-1.34 1.297-1.34.787 0 1.339.574 1.339 1.255 0 .743-.574 1.381-1.339 1.381ZM108.566 15.69v-.425c.382-.022.637-.065.935-.15.404-.127.575-.531.575-.956V8.058c-.043-.446-.235-.828-.575-1.062-.255-.17-.872-.383-1.254-.404v-.404l3.614-.233.148.148v7.929c0 .446.192.807.574.977.34.149.659.234.936.256v.425h-4.953ZM123.586 7.868c-.702 0-.914-.468-.914-1.36-.702 0-.999.127-1.318.361v.149c.51.552.807 1.382.807 2.02 0 1.848-1.849 3.018-3.592 3.018h-1.233c-.382.191-.743.446-.743.914 0 1.04 1.232.998 2.274 1.04.616.023 1.933.107 2.38.129 1.254.063 2.721 1.104 2.721 2.89 0 1.956-1.679 3.465-5.335 3.465-3.358 0-4.634-.977-4.634-2.593 0-1.19 1.106-2.19 3.359-2.253v-.149c-.829-.234-2.232-.68-2.232-1.892
10-1.041 1.19-1.445 1.891-1.722v-.126c-1.487-.596-2.401-1.574-2.401-2.829 0-1.955 1.7-3.124 3.805-3.124 1.466 0 2.635.638 2.912.638.786-.489 1.233-.638 2.147-.638.51 0 .998.447.998 1.02 0 .617-.318 1.042-.892 1.042Zm-2.402 8.099c-.468-.064-1.382-.149-3.295-.149-1.509.298-2.083.892-2.083 2.21 0 .851.829 1.914 3.189 1.914 2.061 0 3.273-.829 3.273-2.487 0-.49-.086-1.17-1.084-1.488Zm-2.827-9.693c-1.36 0-1.743 1.233-1.743 2.636 0 1.51.702 2.656 1.764 2.656 1.254 0 1.807-1.232 1.807-2.592 0-1.404-.488-2.7-1.828-2.7ZM129.343 15.945c-3.209 0-4.697-2.338-4.697-5.144 0-2.55 1.637-4.995 4.464-4.995 2.912 0 3.975 1.913 3.975 4.081v.191h-6.334v.235c0 2.742.892 4.697 3.166 4.697 1.659 0 2.19-.595 2.998-1.891l.383.255c-.745 1.509-2.169 2.571-3.955 2.571Zm-.255-9.65c-1.339 0-2.274 1.319-2.337 3.316l4.272-.042c0-1.532-.319-3.274-1.935-3.274ZM137.846 15.986c-1.042 0-2.168-.488-2.53-.85l-.212.66h-.701l-.107-3.296h.446c.234 1.042 1.509 2.977 3.21 2.977 1.488 0 1.997-.787 1.997-1.828 0-1.106-.828-1.552-2.486-2.042-1.36-.403-2.891-1.19-2.891-3.018 0-1.572 1.212-2.784 3.188-2.784.829 0 1.68.191 2.211.552l.17-.574h.66l.147 2.933h-.445c-.213-1.21-1.296-2.422-2.806-2.422-1.297 0-1.658.743-1.658 1.53 0 1.212.722 1.446 2.487 2.02 1.742.574 2.89 1.36 2.89 3.103 0 1.891-1.572 3.04-3.57 3.04ZM195.246 31.409c0-2.746-2.153-5.077-5.217-5.077-3.479 0-7.62 2.081-11.181 6.657h-.165v-5.907l-.331-.334-13.499.507v.909c1.49.083 3.063.415 4.057 1.082 1.325.914 2.071 2.662 2.236 4.41v26.296c0 1.83-.662 3.245-2.236 3.744-1.159.334-2.153.5-3.643.583v.582h21.035v-.582c-1.574-.083-3.975-.166-5.383-.748-1.491-.583-2.236-1.916-2.236-3.746V34.654c.994-1.83 4.721-5.659 8.613-5.659-.58 1.415-.912 2.497-.912 3.33 0 2.83 1.823 4.327 4.472 4.327 2.817 0 4.39-2.165 4.39-5.243ZM52.625 65.445h1.408V23.09c0-5.493.58-10.985 2.733-12.483 1.822-1.248 6.129-1.914 7.62-1.998v-.582H41.61v.582c1.904.084 6.46.5 8.447 2.081 1.905 1.498 2.817 6.408 2.817 12.4v28.959L17.179 8.026H.119v.582c2.236.084 6.459.666 8.447 2.247 1.656 1.332 3.064 4.744 3.064 7.157v32.62c0 6.491-.745 9.82-2.733 11.402-1.159.915-6.211 2.163-7.702 2.246v.583h22.941v-.583c-1.491-.083-6.792-1.165-8.53-2.496-1.822-1.332-2.816-4.41-2.816-11.567V16.182l39.835 49.263Z"})})}var o=s(25830),u=s(39826),h=s(34562),m=s(78818),x=s(93967),g=s.n(x),j=s(93303),p=s.n(j);function w(e){let{block:l}=e,{source:s,heading:r,text:t,blockGap:v,button:o,list:u}=l.attrs,{isMounted:m,breakpoint:x,isSmallerThan:j}=(0,h.ZP)(),[w,C]=(0,c.useState)(null),[H,L]=(0,c.useState)(!0),[_,S]=(0,c.useState)(!1),B="external-content-"+s,[y,E]=(0,c.useState)(340);return((0,c.useEffect)(()=>{if((j("md",x)?280:340)!==y)return E(340),()=>E(320)},[x,y,j]),u&&(null==u?void 0:u.length)!==0&&(null==s?void 0:s.length)!==0&&s)?(0,n.jsxs)(d.Z,{block:l,width:"bleed",gap:null!=v?v:"normal",className:g()(p().wrapper,"source-"+s),innerWrapper:!0,children:[(0,n.jsxs)("div",{className:"content-wrapper",children:[(0,n.jsx)(N,{source:s,heading:r}),(0,n.jsx)(Z,{source:s}),(0,n.jsx)(b,{text:t}),(0,n.jsx)(f,{source:s,button:o,position:"content"})]}),(0,n.jsx)("div",{className:"card-wrapper",children:m&&(0,n.jsx)(i.tq,{onSwiper:e=>{C(e),L(e.isBeginning),S(e.isEnd)},onSlideChange:e=>{L(e.isBeginning),S(e.isEnd)},onReachBeginning:()=>L(!0),onReachEnd:()=>S(!0),scrollbar:{el:".swiper-scrollbar-"+B,draggable:!0,dragSize:500,snapOnRelease:!0},slidesPerView:"auto",spaceBetween:16,breakpoints:{768:{spaceBetween:40}},modules:[a.LW],id:B,className:"swiper",children:u.map((e,l)=>(0,n.jsx)(i.o5,{className:g()("slide",{"is-small":280===y}),children:(0,n.jsx)(V,{source:s,card:e})},B+"-"+l))})}),(0,n.jsxs)("div",{className:"navigation",children:[(0,n.jsx)(f,{source:s,button:o,position:"slider"}),(0,n.jsx)(M,{id:B}),(0,n.jsx)(k,{contentSwiper:w,isBeginning:H,isEnd:_})]})]}):null}let N=e=>{let{source:l,heading:s}=e;return"sveriges-natur"===l?(0,n.jsx)("span",{className:"tag",children:s}):(0,n.jsx)("h2",{children:s})},Z=e=>{let{source:l}=e;if("sveriges-natur"===l)return(0,n.jsx)(v,{className:"logo"})},b=e=>{let{text:l}=e;return(0,n.jsx)("div",{className:"wysiwyg-content",dangerouslySetInnerHTML:{__html:l}})},f=e=>{var l,s;let{source:c,button:a,position:i}=e,{isMounted:r,breakpoint:t,isLargerThan:d,isSmallerThan:v}=(0,h.ZP)();if(!(!r||!(null==a?void 0:null===(l=a.link)||void 0===l?void 0:l.url)||"kretswebbar"===c||"content"===i&&v("md",t)||"slider"===i&&d("sm",t)))return(0,n.jsx)("div",{className:"button-wrapper",children:(0,n.jsx)(u.Z,{theme:null!==(s=null==a?void 0:a.theme)&&void 0!==s?s:"lime",className:"cta-button",tagName:"a",href:a.link.url,children:a.label})})},V=e=>{var l,s,a,i;let{source:r,card:d}=e,[v,u]=(0,c.useState)(!0);return(null==d?void 0:d.url)&&(null==d?void 0:d.title)?(0,n.jsxs)("a",{href:d.url,target:"_blank",className:g()("card",r),rel:"noreferrer",children:[(0,n.jsx)("figure",{className:g()({"is-loading":v}),children:(null==d?void 0:null===(l=d.image)||void 0===l?void 0:l.url)&&(0,n.jsx)(t(),{src:null==d?void 0:null===(s=d.image)||void 0===s?void 0:s.url,sizes:null==d?void 0:null===(a=d.image)||void 0===a?void 0:a.sizes,alt:null==d?void 0:null===(i=d.image)||void 0===i?void 0:i.alt,quality:90,style:{objectFit:"cover"},onLoadingComplete:()=>u(!1),fill:!0,loading:"lazy"})}),(0,n.jsxs)("div",{className:"content",children:[(null==d?void 0:d.tag)&&(0,n.jsx)("span",{className:"tag",children:d.tag}),(0,n.jsxs)("h3",{children:[d.title," ",(0,n.jsx)(o.Z,{})]}),(0,n.jsxs)("div",{className:"footer",children:[(null==d?void 0:d.source)&&(0,n.jsx)("span",{className:"source",children:null==d?void 0:d.source}),(null==d?void 0:d.dateLine)&&(0,n.jsx)("span",{className:"dateline",children:null==d?void 0:d.dateLine})]})]})]}):null},M=e=>{let{id:l}=e,{isMounted:s,breakpoint:c,isSmallerThan:a}=(0,h.ZP)();return!s||a("md",c)?null:(0,n.jsx)("div",{className:g()("nav-bar","swiper-scrollbar-"+l)})},k=e=>{let{contentSwiper:l,isBeginning:s,isEnd:c}=e;return(0,n.jsxs)("div",{className:"buttons",children:[(0,n.jsx)("button",{"aria-label":"F\xf6reg\xe5ende",disabled:s,onClick:()=>{l&&l.slideTo(l.activeIndex-1)},className:"prev",children:(0,n.jsx)(m.Z,{})}),(0,n.jsx)("button",{"aria-label":"N\xe4sta",disabled:c,onClick:()=>{l&&l.slideTo(l.activeIndex+1)},className:"next",children:(0,n.jsx)(m.Z,{})})]})}},25830:function(e,l,s){"use strict";s.d(l,{Z:function(){return c}});var n=s(85893);function c(e){let{className:l=""}=e;return(0,n.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",fill:"none",className:l,children:(0,n.jsx)("path",{d:"M4.5 21C4.1 21 3.75 20.85 3.45 20.55C3.15 20.25 3 19.9 3 19.5V4.5C3 4.1 3.15 3.75 3.45 3.45C3.75 3.15 4.1 3 4.5 3H9.475V4.5H4.5V19.5H19.5V14.525H21V19.5C21 19.9 20.85 20.25 20.55 20.55C20.25 20.85 19.9 21 19.5 21H4.5ZM9.55 15.525L8.5 14.45L18.45 4.5H12.975V3H21V11.025H19.5V5.575L9.55 15.525Z",fill:"black"})})}},2843:function(){},93303:function(e){e.exports={wrapper:"external-content_wrapper__UlBsb"}}}]); 2//# sourceMappingURL=5507.504dae028a4252d5.js.map
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.