1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7280],{3153:(e,a,s)=>{"use strict";s.d(a,{A:()=>_});var i=s(37876),r=s(14232),t=s(95062),n=s.n(t),l=s(15039),o=s.n(l),d=s(48230),c=s.n(d),m=s(77961),p=s(15202),h=s(4254),v=s(54804),u=s(3437),x=e=>{var a=e.data,s=e.showPreamble,r=e.featured,t=e.showByLine,n=a.title,l=void 0===n?"News title":n,o=a.preamble,d=a.id,x=a.created,j=a.image,g=a.tags,b=j&&j.url||"";return(0,i.jsxs)("article",{className:"news-card",children:[(0,i.jsx)("div",{className:"news-card__image",children:(0,i.jsx)("img",{loading:"lazy",className:"news-card__image-inner",src:(0,h.Q)(b,767),srcSet:"".concat((0,h.Q)(b,700)," 700w,\n ").concat((0,h.Q)(b,1200)," 1200w,\n ").concat((0,h.Q)(b,1440)," 1440w\n "),sizes:"\n (min-width: 1760px) 720px, (min-width: 1760px) 720px,\n (min-width: 1760px) 720px, (min-width: 1520px) 576px,\n (min-width: 1760px) 720px, (min-width: 1080px) 360px\n ","aria-hidden":!0,alt:(null==j?void 0:j.altName)||"Illustrasjonsbilde"})}),(0,i.jsx)(m.eB,{top:3,children:(0,i.jsx)("div",{className:"news-card__tag",children:(void 0===g?[]:g).map(e=>(0,i.jsx)("span",{className:"news-card__tag",children:e},e))})}),(0,i.jsxs)("div",{className:"news-card__body",children:[(0,i.jsx)("h3",{className:"news-card__title",children:(0,i.jsx)(c(),{href:{pathname:"/aktuelt/[pageSlug]"},as:{pathname:"/aktuelt/".concat((0,p.slugifyAndEncode)(l),"_").concat(void 0===d?123:d)},children:l})}),!(void 0!==r&&r)&&(0,i.jsxs)("div",{className:"news-card__date",children:["Publisert ",(0,i.jsx)("time",{children:(0,v.Jg)(x)})]}),(void 0===s||s)&&(0,i.jsx)(m.eB,{top:1,children:(0,i.jsx)("div",{className:"news-card__preamble",children:(0,i.jsx)("small",{children:void 0===o?"Ingress":o})})}),void 0!==t&&t&&(0,i.jsx)(m.eB,{top:1,children:(0,i.jsx)(u.A,{createdBy:a.createdBy})})]})]})};x.propTypes={data:n().object.isRequired};var j=s(983),g=s(6483),b=s(43232);function y(e){var a=e.headline,s=e.items,t=void 0===s?[]:s,n=e.showCount,l=e.totalCount,d=void 0===l?0:l,c=e.isHorizontal,p=void 0!==c&&c,h=e.noHits,v=e.expandHandler,u=void 0===v?Function.prototype:v,y=e.collapseHandler,_=void 0===y?Function.prototype:y,f=e.expandLabel,k=e.collapseLabel,w=e.featured,N=void 0!==w&&w,C=e.showPreamble,A=void 0===C||C,I=e.showByLine,B=void 0!==I&&I,R=(0,r.useRef)(),F=o()({"news-grid__items":!0,"news-grid__items--featured":N,"news-grid__items--horisontal":p});return(0,i.jsxs)("section",{className:"news-grid","data-items":t.length,ref:R,children:[a&&(0,i.jsxs)("h2",{children:[a,void 0!==n&&n&&" (".concat(d,")"),p&&(0,i.jsx)(b.A,{svgClass:"news-grid__scroll-indicator"})]}),(0,i.jsxs)(m.eB,{top:6,bottom:6,children:[h&&(0,i.jsx)("p",{children:"Ingen resultater..."}),(0,i.jsx)(j.A,{title:a,isHorizontal:p,gridClass:F,children:t.map((e,a)=>(0,i.jsxs)("li",{className:"news-grid__item",children:[0===a&&(0,i.jsx)(x,{data:e,largeImage:!0,showPreamble:A,featured:N,showByLine:B}),a>0&&(0,i.jsx)(x,{data:e,largeImage:!1,showPreamble:A,featured:N,showByLine:B})]},e.id))})]}),(0,i.jsx)(g.A,{elementCount:t.length,totalElementCount:d,isHorizontal:p,expandHandler:u,collapseHandler:_,expandLabel:void 0===f?"":f,collapseLabel:void 0===k?"":k,elementRef:R})]})}y.propTypes={headline:n().string,items:n().arrayOf(n().object),showCount:n().bool,showPreabmle:n().bool,totalCount:n().number,isHorizontal:n().bool,noHits:n().bool,expandHandler:n().func,collapseHandler:n().func,expandLabel:n().string,collapseLabel:n().string,showByLine:n().bool};let _=y},3437:(e,a,s)=>{"use strict";s.d(a,{A:()=>v});var i=s(37876);s(14232);var r=s(95062),t=s.n(r),n=s(15039),l=s.n(n),o=s(48230),d=s.n(o),c=s(4254),m=s(31575),p=s(77961),h=e=>{var a=e.createdBy,s=void 0===a?{}:a,r=e.alignCenter,t=s.displayName,n=void 0===t?"":t,o=s.visibility,h=void 0===o?"off":o,v=s.image,u=void 0===v?{}:v,x=s.id,j=(void 0===x?"":x).replace("https://persons.deichman.no/editor/",""),g=(0,m.getRandomColorClass)(n),b=(null==u?void 0:u.url)?(0,c.Q)(u.url,60):"",y="col-ok-1"===g||"col-ok-3"===g,_=l()({"employee-avatar":!0,"employee-avatar--align-center":void 0!==r&&r}),f=l()({"employee-avatar__icon":!0,"employee-avatar__icon--invert-color":y,[g]:!0}),k=()=>(0,i.jsxs)("div",{className:_,children:[(0,i.jsx)(d(),{href:"/ansatte/[employeeId]",as:"/ansatte/".concat(j),children:(0,i.jsx)("div",{className:"employee-avatar__link",children:(0,i.jsx)("div",{className:f,children:(0,i.jsx)("div",{className:"employee-avatar__icon-wrap employee-avatar__initials",children:n.substring(0,2)})})})}),(0,i.jsx)(d(),{href:"/ansatte/[employeeId]",as:"/ansatte/".concat(j),className:"employee-avatar__link",children:n}),",\xa0",(0,i.jsx)("span",{className:"employee-avatar__location",children:"Deichman"})]});return"nameAndPhoto"!==h||b?"nameAndPhoto"===h?(0,i.jsx)(()=>(0,i.jsxs)("div",{className:_,children:[(0,i.jsx)(d(),{href:"/ansatte/[employeeId]",as:"/ansatte/".concat(j),className:"employee-avatar__link",children:(0,i.jsx)("img",{src:b,alt:n,className:"employee-avatar__image"})}),(0,i.jsx)(d(),{href:"/ansatte/[employeeId]",as:"/ansatte/".concat(j),className:"employee-avatar__link",children:n}),",\xa0",(0,i.jsx)("span",{className:"employee-avatar__location",children:"Deichman"})]}),{}):"name"===h?(0,i.jsx)(k,{}):(0,i.jsx)(()=>(0,i.jsxs)("div",{className:_,children:[(0,i.jsx)("div",{className:f,children:(0,i.jsx)("div",{className:"employee-avatar__icon-wrap",children:y?(0,i.jsx)(p.In,{type:"user",light:!0}):(0,i.jsx)(p.In,{type:"user"})})}),(0,i.jsx)("span",{className:"employee-avatar__location",children:"Deichman-ansatt"})]}),{}):(0,i.jsx)(k,{})};h.propTypes={createdBy:t().object,alignCenter:t().bool};let v=h},6980:(e,a,s)=>{"use strict";s.d(a,{F7:()=>r,b8:()=>n,cB:()=>l,gb:()=>o,tT:()=>i,vj:()=>t});var i=e=>"string"!=typeof e?"":e.charAt(0).toUpperCase()+e.slice(1),r=e=>"string"!=typeof e?"":({bok:"b\xf8ker","e-bok":"e-b\xf8ker",tegneserie:"tegneserier",film:"filmer",lydbok:"lydb\xf8ker",sprÃ¥kkurs:"spr\xe5kkurs",kombidokument:"kombidokumenter",Redaktør:"Redakt\xf8rer",Forfatter:"Forfattere",Bearbeider:"Bearbeidere",Illustratør:"Illustrat\xf8rer",Oversetter:"Oversettere",Innleser:"Innlesere",Regissør:"Regiss\xf8rer",Medvirkende:"Medvirkende",Produksjonsselskap:"Produksjonsselskaper",Skuespiller:"Skuespillere",Komponist:"Komponister",Utøver:"Ut\xf8vere",Arrangør:"Arrang\xf8rer"})[e]||e,t=e=>"string"!=typeof e?"":"s"===e.charAt(e.length-1)?"".concat(e,"â"):"".concat(e,"s"),n=e=>e&&"23432900"===e.replace(/\s/g,"")?"23 43 29 00 (sentralbord)":e,l=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e.replace("http://data.deichman.no/publication/","")},o=e=>new Intl.NumberFormat("no-NB").format(e)},20158:(e,a,s)=>{"use strict";s.d(a,{A:()=>t});var i=s(20294),r=s(14232);function t(e){var a=e.items,s=void 0===a?[]:a,t=e.children,n=void 0===t?null:t,l=e.pageSize,o=(0,i._)((0,r.useState)(l),2),d=o[0],c=o[1],m={items:s.slice(0,d),totalCount:s.length,collapseCallback:()=>
1c(l),expandCallback:()=>c(d+l)};return"function"==typeof n?n(m):n}},29632:(e,a,s)=>{"use strict";s.r(a),s.d(a,{default:()=>v});var i=s(37876),r=s(14232),t=s(95062),n=s.n(t),l=s(48230),o=s.n(l),d=s(30736),c=s(92186),m=s(77961),p=s(89099),h=function(e){var a=e.headline,s=void 0===a?"404":a,t=e.message,n=(0,p.useRouter)().asPath.startsWith("/skjerm");return((0,r.useEffect)(()=>{"404"===s&&window&&window.plausible&&plausible("404",{props:{404:window.location.pathname}})}),"404"===s)?(0,i.jsxs)(r.Fragment,{children:[(0,i.jsx)(d.A,{title:"Deichman.no - ".concat(s),needsRefresh:n}),(0,i.jsx)(c.A,{children:(0,i.jsxs)(m.eB,{style:{padding:"0.5em"},children:[(0,i.jsx)("h4",{children:"Oops! Siden ble ikke funnet."}),(0,i.jsx)("p",{style:{margin:"0.8em 0"},children:"Det ser ut til at siden du leter etter ikke eksisterer. Kanskje du skrev inn feil adresse, eller siden har blitt flyttet."}),(0,i.jsx)("h4",{children:"Hva kan du gj\xf8re videre?"}),(0,i.jsx)("div",{style:{margin:"0.8em 0"},children:(0,i.jsxs)(m.B8,{bulleted:!0,children:[(0,i.jsx)(m.B8.Item,{children:"G\xe5 tilbake til forsiden."}),(0,i.jsx)(m.B8.Item,{children:"Se om du har skrevet inn feil adresse."}),(0,i.jsx)(m.B8.Item,{children:"Utforsk v\xe5re tjenester og arrangementer."}),(0,i.jsxs)(m.B8.Item,{children:["Kontakt oss via ",(0,i.jsx)(o(),{href:"/kontakt-oss",children:"kontaktsiden"})," for ytterligere hjelp."]})]})}),(0,i.jsx)("p",{style:{margin:"0.8em 0"},children:"Vi h\xe5per \xe5 se deg snart p\xe5 Deichman!"})]})})]}):(0,i.jsxs)(r.Fragment,{children:[(0,i.jsx)(d.A,{title:"Deichman.no - ".concat(s),needsRefresh:n}),(0,i.jsxs)(c.A,{children:[(0,i.jsx)("h1",{className:"h2",children:s}),(0,i.jsx)(m.eB,{top:4,children:(0,i.jsx)(m.EY,{gray:!0,children:void 0===t?"Siden finnes ikke.":t})})]})]})};h.propTypes={headline:n().string,message:n().string};let v=h},31575:e=>{"use strict";var a=e=>{for(var a=0,s=0;s<e.length;s++)a+=e.charCodeAt(s);return a};e.exports={getRandomColorClass:e=>{if(!e||""===e)return"col-ok-1";var s=a(e);return"col-ok-".concat(s%6+1)},simpleHash:a}},35971:(e,a,s)=>{"use strict";s.r(a),s.d(a,{default:()=>R});var i=s(16927),r=s(4902),t=s(37876),n=s(14232),l=s(35988),o=s(93072),d=s.n(o),c=s(95062),m=s.n(c),p=s(77961),h=s(52933),v=s(82435),u=s(4254),x=s(6980),j=s(70518),g=s.n(j),b=s(29632),y=s(30736),_=s(15039),f=s.n(_),k=e=>{var a=e.employee,s=a.bio,i=void 0===s?"":s,r=a.displayName,n=void 0===r?"":r,l=a.image,o=void 0===l?{}:l,d=o.url?(0,u.Q)(o.url,344):"",c=f()({"employee-card__bio":!0,"employee-card__bio--center":!i});return(0,t.jsxs)("div",{className:"employee-card",children:[d&&(0,t.jsx)("img",{src:d,alt:"Profilbilde av ".concat(n),className:"employee-card__image"}),(0,t.jsxs)("div",{className:c,children:[(0,t.jsx)("h1",{children:n}),i&&(0,t.jsx)(p.eB,{top:2,children:(0,t.jsx)("p",{children:i})})]})]})};k.propTypes={employee:m().shape({bio:m().string,displayName:m().string.isRequired,image:m().object}).isRequired};var w=s(67581),N=s(60145),C=s(88899),A=s(20158),I=s(3153);class B extends n.Component{handleFavourite(e){this.props.toggleFavourites({recordId:e})}render(){var e=this.props,a=e.lists,s=void 0===a?[]:a,i=e.recommendations,r=void 0===i?[]:i,l=e.likes,o=void 0===l?[]:l,d=e.favourites,c=void 0===d?[]:d,m=e.articles,h=void 0===m?[]:m,v=e.employee,j=void 0===v?{}
1:v,_=e.employeeId,f=void 0===_?"":_,B=j.bio,R=j.displayName,F=void 0===R?"":R,H=j.image,L=void 0===H?{}:H,S=L.url?(0,u.Q)(L.url,1200):"";return F?(0,t.jsxs)(n.Fragment,{children:[(0,t.jsx)(y.A,{title:"".concat(F," - Deichman.no"),description:void 0===B?"":B,ogurl:"https://deichman.no/ansatte/".concat(encodeURIComponent(f)),ogimage:"https://deichman.no".concat(S)}),(0,t.jsx)(p.mc,{color:"gray",preventCollapse:!0,children:(0,t.jsx)(p.eB,{top:8,bottom:8,responsive:!0,children:(0,t.jsx)(k,{employee:j})})}),(0,t.jsxs)(p.mc,{preventCollapse:!0,children:[r.length>0&&(0,t.jsx)(p.eB,{top:8,responsive:!0,children:(0,t.jsx)(w.A,{headline:"".concat(F," anbefaler"),items:r,totalCount:null==r?void 0:r.length,favourites:c,onFavourite:this.handleFavourite,limitedGrid:!0,hideAvatars:!0,employeeId:f})}),o.length>0&&(0,t.jsxs)(p.eB,{top:8,responsive:!0,children:[(0,t.jsxs)("h2",{children:[F," liker ",r.length>0&&"ogs\xe5 ","(",o.length,")"]}),(0,t.jsx)(A.A,{items:o,pageSize:12,children:e=>{var a=e.items,s=e.totalCount,i=e.collapseCallback,r=e.expandCallback;return(0,t.jsx)(N.A,{items:a,totalCount:s,favourites:c,onFavourite:this.handleFavourite,hideFlagsList:[g().RECOMMENDED,g().LIKED],expandHandler:r,collapseHandler:i,expandLabel:"Se mer som ".concat(F," liker"),collapseLabel:"Se mindre som ".concat(F," liker")})}})]}),s.length>0&&(0,t.jsx)(p.eB,{top:8,bottom:8,responsive:!0,children:(0,t.jsx)(A.A,{items:s,pageSize:24,children:e=>{var a=e.items,s=e.totalCount,i=e.collapseCallback,r=e.expandCallback;return(0,t.jsx)(C.A,{items:a,totalCount:s,hideAvatars:!0,headline:"".concat((0,x.vj)(F)," temal
1ister"),showCount:!0,expandHandler:r,collapseHandler:i,collapseLabel:"Se f\xe6rre temalister",expandLabel:"Se flere temalister"})}})}),h.length>0&&(0,t.jsx)(p.eB,{top:8,bottom:8,responsive:!0,children:(0,t.jsx)(A.A,{items:h,pageSize:24,children:e=>{var a=e.items,s=e.totalCount,i=e.collapseCallback,r=e.expandCallback;return(0,t.jsx)(I.A,{items:a,totalCount:s,hideAvatars:!0,headline:"".concat((0,x.vj)(F)," artikler"),showCount:!0,expandHandler:r,collapseHandler:i,collapseLabel:"Se f\xe6rre artikler",expandLabel:"Se flere artikler"})}})})]})]}):(0,t.jsx)(b.default,{headline:"404",message:"Den ansatte er skjult eller finnes ikke."})}constructor(e){super(e),d()(this)}}B.getInitialProps=function(){var e=(0,i._)(function(e){var a,s,i,t;return(0,r.YH)(this,function(r){switch(r.label){case 0:return a=e.reduxStore,s=e.query,i=e.req,t=s.employeeId,[4,a.dispatch((0,h.Eq)(i,t))];case 1:return r.sent(),[2,{employeeId:t}]}})});return function(a){return e.apply(this,arguments)}}(),B.propTypes={lists:m().array.isRequired,recommendations:m().array.isRequired,likes:m().array.isRequired,employee:m().object.isRequired,employeeId:m().string.isRequired,favourites:m().array,articles:m().array,toggleFavourites:m().func.isRequired};let R=(0,l.Ng)(function(e){var a=(e.employee||{}).results,s=a.lists,i=a.recommendations,r=a.likes,t=a.employee,n=a.articles;return{lists:s,recommendations:i,likes:r,employee:t,favourites:e.favourites.biblioNumbers,articles:n}},function(e){return{toggleFavourites:a=>e((0,v.n7)(a))}})(B)},67581:(e,a,s)=>{"use strict";s.d(a,{A:()=>k});var i=s(20294),r=s(37876),t=s(14232),n=s(95062),l=s.n(n),o=s(15039),d=s.n(o),c=s(48230),m=s.n(c),p=s(89099),h=s(40123),v=s.n(h),u=s(70518),x=s.n(u),j=s(17185),g=s(67813),b=s(3437),y=t.memo(e=>{var a,s=e.data,i=e.favourites,t=e.showFavorite,n=e.onFavourite,l=e.flags,o=e.hideAvatars,c=void 0!==o&&o,h=e.employeeId,u=void 0===h?"":h,y=s.id,_=s.fullTitle,f=s.mediaType,k=s.sellingPoint,w=s.images,N=s.recordId,C=s.untranscribedTitle,A=s.work.mainEntryInfo,I=s.recommendations,B=void 0===I?[]:I,R=s.recommended,F=(0,p.useRouter)().query,H=void 0===F?{}:F,L=l.filter(e=>e!==x().RECOMMENDED&&e!==x().LIKED),S=R?v()(u)?B.sort((e,a)=>a.created.localeCompare(e.created))[0]:B.find(e=>{var a;return null==(a=e.createdBy)?void 0:a.id.includes(u)}):null,q=d()({"inspiration-card":!0,"inspiration-card--no-avatar":c});return(0,r.jsx)("article",{className:q,children:(0,r.jsxs)("div",{className:"inspiration-card__body",children:[(0,r.jsxs)("div",{className:"inspiration-card__body__top",children:[(0,r.jsx)(g.A,{title:_,flags:L,mediaType:f,sellingPoint:k,images:w,size:"thumb",showBookmark:t,isBookmarked:i.includes(N),onFavourite:()=>n(N)}),(0,r.jsxs)("div",{className:"inspiration-card__contents",children:[(0,r.jsx)(m(),{href:{pathname:"/utgivelse/[publicationId]",query:H},as:{pathname:"/utgivelse/".concat(y),query:H},children:(0,r.jsxs)("div",{className:"inspiration-card__title",children:[C&&(0,r.jsxs)(r.Fragment,{children:[C,(0,r.jsx)("br",{}),_]}),!C&&(0,r.jsx)(r.Fragment,{children:_})]})}),(null==A?void 0:A.label)&&(0,r.jsx)("div",{className:"inspiration-card__author",children:(0,r.jsx)(j.A,{label:A.label,type:A.type,id:A.id,slug:A.slug,fallbackSearchKeyword:"akt\xf8r"})})]})]}),S&&(0,r.jsxs)("div",{className:"recommendation".concat(c?"__no_avatar":""),children:[(0,r.jsxs)("div",{className:"recommendation-words__text",children:["\xab",null==(a=S.statement)?void 0:a.trim(),"\xbb"]}),!c&&(0,r.jsx)(b.A,{createdBy:S.createdBy})]})]})})});y.displayName="InspirationCard",y.propTypes={data:l().object.isRequired,flags:l().array.isRequired,favourites:l().array.isRequired,showFavorite:l().bool.isRequired,onFavourite:l().func.isRequired,hideAvatars:l().bool,employeeId:l().string};var _=s(77961),f=e=>{var a=e.items,s=void 0===a?[]:a,n=e.headline,l=void 0===n?"":n,o=e.showCount,c=e.totalCount,m=e.favourites,p=e.showFavorite,h=void 0===p||p,v=e.onFavourite,u=e.limited,x=e.limitedGrid,j=void 0!==x&&x,g=e.noHits,b=e.hideAvatars,f=void 0!==b&&b,k=e.employeeId,w=void 0===k?"":k,N=(0,i._)((0,t.useState)(!1),2),C=N[0],A=N[1],I=d()({"inspiration-grid":!0,"inspiration-grid--limited":void 0!==u&&u,"inspiration-grid--limited-grid":j&&!C}),B=j&&!C?s.slice(0,4):s;return(0,r.jsxs)(t.Fragment,{children:[l&&(0,r.jsx)(_.eB,{bottom:6,responsive:!0,children:(0,r.jsxs)("h2",{children:[l," ",(void 0===o||o)&&"(".concat(void 0===c?0:c,")")]})}),void 0!==g&&g&&(0,r.jsx)("p",{children:"Ingen resultater..."}),(0,r.jsxs)("section",{className:I,"data-items":s.length,children:[(0,r.jsx)("div",{className:"inspiration-grid__items",children:B.map(e=>(0,r.jsx)("div",{className:"inspiration-grid__item",children:(0,r.jsx)(y,{data:e,flags:e.flags,favourites:m,showFavorite:h,onFavourite:v,hideAvatars:f,employeeId:w})},e.id))}),j&&!C&&s.length>1&&(0,r.jsx)(_.x0,{text:"Se flere",onClick:()=>{A(!0)}})]})]})};f.propTypes={headline:l().string,totalCount:l().number,items:l().arrayOf(l().object),favourites:l().array.isRequired,onFavourite:l().func.isRequired,showFavorite:l().bool,showCount:l().bool,limited:l().bool,limitedGrid:l().bool,noHits:l().bool,hideAvatars:l().bool,employeeId:l().string};let k=f},77328:(e,a,s)=>{e.exports=s(89836)},88899:(e,a,s)=>{"use strict";s.d(a,{A:()=>y});var i=s(37876),r=s(14232),t=s(95062),n=s.n(t),l=s(15039),o=s.n(l),d=s(48230),c=s.n(d),m=s(77961),p=s(15202),h=s(4254),v=s(3437),u=e=>{var a=e.data,s=e.hideAvatars,r=a.title,t=void 0===r?"List title":r,n=a.intro,l=a.id,o=a.createdBy,d=a.image,u=d&&d.url||"";return(0,i.jsxs)("article",{className:"list-card",children:[(0,i.jsx)("div",{className:"list-card__image",style:{backgroundImage:"url('".concat((0,h.Q)(u,767),"')")}}),(0,i.jsxs)("div",{className:"list-card__body",children:[(0,i.jsx)("h4",{className:"list-card__title",children:(0,i.jsx)(c(),{href:{pathname:"/liste/[listSlug]"},as:{pathname:"/liste/".concat(encodeURIComponent((0,p.slugify)(t)),"_").concat(void 0===l?123:l)},children:t})}),(0,i.jsx)(m.eB,{top:1,children:(0,i.jsx)("small",{children:void 0===n?"":n})}),!(void 0!==s&&s)&&(0,i.jsx)(v.A,{createdBy:void 0===o?{}:o})]})]})};u.propTypes={data:n().object.isRequired,hideAvatars:n().bool};var x=s(983),j=s(6483),g=s(43232);function b(e){var a=e.headline,s=e.items,t=void 0===s?[]:s,n=e.showCount,l=e.totalCount,d=void 0===l?0:l,c=e.isHorizontal,p=void 0!==c&&c,h=e.noHits,v=e.hideAvatars,b=void 0!==v&&v,y=e.expandHandler,_=void 0===y?Function.prototype:y,f=e.collapseHandler,k=void 0===f?Function.prototype:f,
1w=e.expandLabel,N=e.collapseLabel,C=(0,r.useRef)(),A=o()({"list-grid__items":!0,"list-grid__items--horisontal":p,"list-grid__items--vertical":!p});return(0,i.jsxs)("section",{className:"list-grid","data-items":t.length,ref:C,children:[a&&(0,i.jsxs)("h2",{children:[a,void 0!==n&&n&&" (".concat(d,")"),p&&(0,i.jsx)(g.A,{svgClass:"list-grid__scroll-indicator"})]}),(0,i.jsxs)(m.eB,{top:6,bottom:6,children:[h&&(0,i.jsx)("p",{children:"Ingen resultater..."}),(0,i.jsx)(x.A,{title:a,isHorizontal:p,gridClass:A,children:t.map(e=>(0,i.jsx)("li",{className:"list-grid__item",children:(0,i.jsx)(u,{data:e,hideAvatars:b})},e.id))})]}),(0,i.jsx)(j.A,{elementCount:t.length,totalElementCount:d,isHorizontal:p,expandHandler:_,collapseHandler:k,expandLabel:void 0===w?"":w,collapseLabel:void 0===N?"":N,elementRef:C})]})}b.propTypes={headline:n().string,items:n().arrayOf(n().object),showCount:n().bool,totalCount:n().number,isHorizontal:n().bool,noHits:n().bool,hideAvatars:n().bool,expandHandler:n().func,collapseHandler:n().func,expandLabel:n().string,collapseLabel:n().string};let y=b},92186:(e,a,s)=>{"use strict";s.d(a,{A:()=>l});var i=s(37876);s(14232);var r=s(95062),t=s.n(r),n=e=>{var a=e.children;return(0,i.jsx)("section",{className:"full-screen",children:a})};n.propTypes={children:t().node.isRequired};let l=n},97180:(e,a,s)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/ansatte/[employeeId]",function(){return s(35971)}])}},e=>{var a=a=>e(e.s=a);e.O(0,[3362,636,6593,8792],()=>a(97180)),_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.