PageSourceSearch

https://hrf.se/_next/static/chunks/7840.957a058fbac6ed0b.js

js hrf.se collected 2026-10-02 10:35:18 UTC 5,755 bytes, 2 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},o=(new e.Error).stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="e5d9050e-6d68-40e2-8497-4c7ffe6ae8f8",e._sentryDebugIdIdentifier="sentry-dbid-e5d9050e-6d68-40e2-8497-4c7ffe6ae8f8")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7840],{26643:e=>{e.exports={Accordion__LinkArrow:"Accordion_Accordion__LinkArrow__CgbpG",Accordion__Link:"Accordion_Accordion__Link__vUkQS",cookiescript_accept:"Accordion_cookiescript_accept__kKgIF",cookiescript_reject:"Accordion_cookiescript_reject__Y7Tk2",cookiescript_save:"Accordion_cookiescript_save__n6Ju1",Accordion:"Accordion_Accordion__a3Zuv",Accordion__Header:"Accordion_Accordion__Header__eS8Lp","Accordion--FactList":"Accordion_Accordion--FactList__Q8_BA","Accordion--Expanded":"Accordion_Accordion--Expanded__gIeMG",Accordion__Title:"Accordion_Accordion__Title___SyyU",Accordion__Content:"Accordion_Accordion__Content__wjERd",Accordion__Button:"Accordion_Accordion__Button__n_YRB"}},37840:(e,o,c)=>{"use strict";c.r(o),c.d(o,{componentName:()=>m,default:()=>f});var i=c(37876),n=c(14232),r=c(95062),t=c.n(r),s=c(30388),d=c(82851),a=c.n(d),_=c(99715),l=c(61302),A=c(66727),p=c.n(A);let u=e=>{let{title:o="",items:c=[],buttonTextOpen:r="",buttonTextClose:t="",identifier:d="0"}=e,{t:_}=(0,s.Bd)(),[l,A]=(0,n.useState)(null),u=a().isEmpty(o)?_("accordionList.title"):o,f=!0!==l?a().isEmpty(r)?_("accordionList.openAll"):r:a().isEmpty(t)?_("accordionList.closeAll"):t;return(0,i.jsxs)("div",{className:p().AccordionList,children:[(0,i.jsxs)("div",{className:p().AccordionList__Header,children:[(0,i.jsx)("h2",{className:p().AccordionList__Title,children:u}),(0,i.jsx)("button",{type:"button",className:p().AccordionList__Toggle,onClick:()=>{window.dataLayer&&window.dataLayer.push({event:"accordionInteraction"}),A(!l)},children:f})]}),(0,i.jsx)("ul",{className:p().AccordionList__List,children:c.map((e,o)=>(0,i.jsx)("li",{className:p().AccordionList__Item,children:(0,i.jsx)(h,{...e,id:`accordion-list-${d}-${o}`,allOpen:l,setAllOpen:A})},o))})]})};u.propTypes={title:t().string,items:t().array,identifier:t().oneOfType([t().number,t().string]),buttonTextOpen:t().string,buttonTextClose:t().string};let h=e=>{let{text:o="",components:c=[],attributes:n={},allOpen:r=!1,setAllOpen:t=()=>{},...s}=e,d=n?.anchor;return(0,i.jsx)(l.A,{...s,anchor:d,open:r,modifier:"AccordionList",changeHandler:()=>t(null),children:a().isEmpty(c)?(0,i.jsx)("div",{className:p().AccordionList__Richtext,dangerouslySetInnerHTML:{__html:o}}):(0,i.jsx)("div",{className:p().AccordionList__Components,children:(0,i.jsx)(_.A,{components:c})})})};h.propTypes={text:t().string,components:t().array,attributes:t().object,allOpen:t().bool,setAllOpen:t().func};let f=u,m="AccordionList"},61302:(e,o,c)=>{"use strict";c.d(o,{A:()=>m});var i=c(37876),n=c(14232),r=c(95062),t=c.n(r),s=c(30388),d=c(84397),a=c(15039),_=c.n(a),l=c(82851),A=c.n(l),p=c(70877),u=c(26643),h=c.n(u);let f=e=>{let{title:o="",url:c="",children:r="",open:t=!1,id:a="accordion",anchor:l="",modifier:u="",changeHandler:f=()=>{}}=e,{t:m}=(0,s.Bd)(),L=(0,n.useRef)(),g=(0,n.useRef)(),x=!0===t,[w,y]=(0,n.useState)(x),b=`${a}-header`,j=`${a}-content`,v=A().isEmpty(l)?A().kebabCase(o):l;(0,n.useEffect)(()=>{let e=window?.location?.hash;!A().isEmpty(e)&&`#${v}`===e&&(y(!0),L&&setTimeout(()=>{L.current.scrollIntoView({behavior:"smooth"})},500))},[]),(0,n.useEffect)(()=>{if(t!==w&&(f(w),w)){let e=window.location.pathname+window.location.search;window.history.pushState({},"",`${e}#${v}`)}},[w]),(0,n.useEffect)(()=>{t!==w&&null!==t&&y(t)},[t]);let k=m(w?"accordion.minimize":"accordion.expand"),T=_()(h().Accordion,{[h()["Accordion--Expanded"]]:w},{[h()[`Accordion--${u}`]]:u});return(0,i.jsxs)("div",{className:T,ref:L,id:v,children:[(0,i.jsxs)("div",{className:h().Accordion__Header,onClick:()=>{window.dataLayer&&window.dataLayer.push({event:"accordionInteraction"}),y(!w)},"aria-expanded":w,"aria-controls":j,id:b,children:[(0,i.jsx)("h2",{className:h().Accordion__Title,children:c?(0,i.jsxs)("a",{className:h().Accordion__Link,href:c,children:[(0,i.jsx)("span",{className:h().Accordion__LinkArrow,children:(0,i.jsx)(d.A,{})}),o]}):(0,i.jsx)(i.Fragment,{children:o})}),(0,i.jsx)("button",{className:h().Accordion__Button,children:(0,i.jsx)("span",{className:"sr-only",children:k})})]}),(0,i.jsx)(p.pe,{defaultVisible:x,isVisible:w,childRef:g,children:(0,i.jsx)("div",{className:h().Accordion__C
1ontent,"aria-hidden":!w,"aria-labelledby":b,id:j,ref:g,children:r})})]})};f.propTypes={title:t().string.isRequired,url:t().string,children:t().node.isRequired,open:t().bool,id:t().string,anchor:t().string,modifier:t().string,changeHandler:t().func};let m=f},66727:e=>{e.exports={AccordionList__Richtext:"AccordionList_AccordionList__Richtext__g8Tta",AccordionList:"AccordionList_AccordionList__sUgvF",AccordionList__Header:"AccordionList_AccordionList__Header__KjNDA",AccordionList__Title:"AccordionList_AccordionList__Title__Pew8Y",AccordionList__Toggle:"AccordionList_AccordionList__Toggle___ecsu"}},84397:(e,o,c)=>{"use strict";c.d(o,{A:()=>t});var i,n=c(14232);function r(){return(r=Object.assign?Object.assign.bind():function(e){for(var o=1;o<arguments.length;o++){var c=arguments[o];for(var i in c)({}).hasOwnProperty.call(c,i)&&(e[i]=c[i])}return e}).apply(null,arguments)}let t=e=>n.createElement("svg",r({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",viewBox:"0 0 25 20"},e),i||(i=n.createElement("path",{d:"m15.213.17-1.957 1.867 6.674 6.674H0v2.668h19.93l-6.674 6.584 1.957 1.867L25 10.045z"})))}}]);
2//# sourceMappingURL=7840.957a058fbac6ed0b.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.