1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2277],{6996:(e,t,s)=>{"use strict";s.r(t),s.d(t,{__N_SSG:()=>p,default:()=>u});var r=s(37876),l=s(65854),i=s(85831),n=s(83276),a=s(39875),o=s(59024),c=s(48230),d=s.n(c),x=s(36265),p=!0;function u(e){let{posts:t,settings:s,draftMode:c}=e,{title:p=a.DD,description:u=a.h_}=s||{};return c?(0,r.jsx)(o.A,{posts:t,settings:s}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(n.A,{settings:s}),(0,r.jsxs)(i.A,{preview:c,loading:!1,children:[(0,r.jsx)(l.A,{title:p,description:u,level:1}),(0,r.jsx)("div",{className:"px-[24px] pt-[394px]",children:(0,r.jsx)("h1",{className:"h1 text-dark",children:"News"})}),(0,r.jsx)("div",{className:"container -mb-[40px] mt-[55px]",children:(()=>{let e=[];for(let s=0;s<t.length;s+=8)e.push(t.slice(s,s+8));return e})().map((e,t)=>(0,r.jsxs)("div",{children:[e.slice(0,3).length>0&&(0,r.jsx)("div",{className:"lg:mt-[64px] grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-[20px]",children:e.slice(0,3).map(e=>(0,r.jsx)("div",{className:"mb-[30px] lg:mb-0 portfolio-card group cursor-pointer",children:(0,r.jsx)(d(),{href:"/news/".concat(e.slug),children:(0,r.jsxs)("div",{children:[(0,r.jsxs)("div",{className:"relative aspect-[0.8] w-full overflow-hidden rounded-[8px]",children:[(0,r.jsx)("img",{src:e.coverImage||"",alt:e.title,className:"absolute inset-0 w-full h-full object-cover transition-transform duration-[800ms] ease-in-out group-hover:scale-[103%]"}),e.category&&(0,r.jsx)("div",{className:"absolute top-[12px] left-[12px] z-[2]",children:(0,r.jsx)("span",{className:"mono px-[8px] py-[6px] bg-[#01280966] rounded-[4px] text-light text-[12px] uppercase",children:e.category})})]}),(0,r.jsx)("h3",{className:"h4 text-dark mt-[15px] lg:mt-[38px]",children:e.title}),(0,r.jsx)("p",{className:"mono text-[10px] lg:text-[12px] text-green mt-[7px] uppercase",children:new Date(e.date).toLocaleDateString("en-GB",{day:"numeric",month:"long",year:"numeric"})})]})})},e._id))}),e.slice(3,6).length>0&&(0,r.jsx)("div",{className:"lg:mt-[64px] grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-[20px]",children:e.slice(3,6).map((e,t)=>(0,r.jsx)("div",{className:"mb-[30px] lg:mb-0 portfolio-card group cursor-pointer ".concat(0===t?"lg:col-span-2":""),children:(0,r.jsx)(d(),{href:"/news/".concat(e.slug),children:(0,r.jsxs)("div",{children:[(0,r.jsxs)("div",{className:"relative w-full overflow-hidden rounded-[8px] ".concat(0===t?"aspect-[0.8] lg:aspect-[1.64]":"aspect-[0.8]"),children:[(0,r.jsx)("img",{src:e.coverImage||"",alt:e.title,className:"absolute inset-0 w-full h-full object-cover transition-transform duration-[800ms] ease-in-out group-hover:scale-[103%]"}),e.category&&(0,r.jsx)("div",{className:"absolute top-[12px] left-[12px] z-[2]",children:(0,r.jsx)("span",{className:"mono px-[8px] py-[6px] bg-[#01280966] rounded-[4px] text-light text-[12px] uppercase",children:e.category})})]}),(0,r.jsx)("h3",{className:"h4 text-dark mt-[15px] lg:mt-[38px]",children:e.title}),(0,r.jsx)("p",{className:"mono text-[10px] lg:text-[12px] text-green mt-[7px] uppercase",children:new Date(e.date).toLocaleDateString("en-GB",{day:"numeric",month:"long",year:"numeric"})})]})})},e._id))}),e.slice(6,8).length>0&&(0,r.jsxs)("div",{className:"lg:mt-[64px] grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-[20px]",children:[(0,r.jsx)("div",{})," ",e.slice(6,8).map(e=>(0,r.jsx)("div",{className:"mb-[30px] lg:mb-0 portfolio-card group cursor-pointer",children:(0,r.jsx)(d(),{href:"/news/".concat(e.slug),children:(0,r.jsxs)("div",{children:[(0,r.jsxs)("div",{className:"relative aspect-[0.8] w-full overflow-hidden rounded-[8px]",children:[(0,r.jsx)("img",{src:e.coverImage||"",alt:e.title,className:"absolute inset-0 w-full h-full object-cover transition-transform duration-[800ms] ease-in-out group-hover:scale-[103%]"}),e.category&&(0,r.jsx)("div",{className:"absolute top-[12px] left-[12px] z-[2]",children:(0,r.jsx)("span",{className:"monopx-[8px] py-[6px] bg-[#01280966] rounded-[4px] text-light text-[12px] uppercase",children:e.category})})]}),(0,r.jsx)("h3",{className:"h4 text-dark mt-[15px] lg:mt-[38px]",children:e.title}),(0,r.jsx)("p",{className:"mono text-[10px] lg:text-[12px] text-green mt-[7px] uppercase",children:new Date(e.date).toLocaleDateString("en-GB",{day:"numeric",month:"long",year:"numeric"})})]})})},e._id))]})]},t))}),(0,r.jsx)(x.A,{})]})]})}},36265:(e,t,s)=>{"use strict";s.d(t,{A:()=>g});var r=s(37876),l=s(48230),i=s.n(l),n=s(14232),a=Object.defineProperty,o=new Map,c=new WeakMap,d=0,x=void 0;n.Component;let p=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2e3,s=arguments.length>
12&&void 0!==arguments[2]?arguments[2]:0,[r,l]=(0,n.useState)(e),[i,a]=function({threshold:e,delay:t,trackVisibility:s,rootMargin:r,root:l,triggerOnce:i,skip:a,initialInView:p,fallbackInView:u,onChange:m}={}){var g;let[h,f]=n.useState(null),v=n.useRef(m),[j,b]=n.useState({inView:!!p,entry:void 0});v.current=m,n.useEffect(()=>{let n;if(!a&&h)return n=function(e,t,s={},r=x){if(void 0===window.IntersectionObserver&&void 0!==r){let l=e.getBoundingClientRect();return t(r,{isIntersecting:r,target:e,intersectionRatio:"number"==typeof s.threshold?s.threshold:0,time:0,boundingClientRect:l,intersectionRect:l,rootBounds:l}),()=>{}}let{id:l,observer:i,elements:n}=function(e){let t=Object.keys(e).sort().filter(t=>void 0!==e[t]).map(t=>{var s;return`${t}_${"root"===t?!(s=e.root)?"0":(c.has(s)||(d+=1,c.set(s,d.toString())),c.get(s)):e[t]}`}).toString(),s=o.get(t);if(!s){let r,l=new Map,i=new IntersectionObserver(t=>{t.forEach(t=>{var s;let i=t.isIntersecting&&r.some(e=>t.intersectionRatio>=e);e.trackVisibility&&void 0===t.isVisible&&(t.isVisible=i),null==(s=l.get(t.target))||s.forEach(e=>{e(i,t)})})},e);r=i.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),s={id:t,observer:i,elements:l},o.set(t,s)}return s}(s),a=n.get(e)||[];return n.has(e)||n.set(e,a),a.push(t),i.observe(e),function(){a.splice(a.indexOf(t),1),0===a.length&&(n.delete(e),i.unobserve(e)),0===n.size&&(i.disconnect(),o.delete(l))}}(h,(e,t)=>{b({inView:e,entry:t}),v.current&&v.current(e,t),t.isIntersecting&&i&&n&&(n(),n=void 0)},{root:l,rootMargin:r,threshold:e,trackVisibility:s,delay:t},u),()=>{n&&n()}},[Array.isArray(e)?e.toString():e,h,l,r,i,a,s,u,t]);let N=null==(g=j.entry)?void 0:g.target,w=n.useRef(void 0);h||!N||i||a||w.current===N||(w.current=N,b({inView:!!p,entry:void 0}));let y=[f,j.inView,j.entry];return y.ref=y[0],y.inView=y[1],y.entry=y[2],y}({triggerOnce:!0,rootMargin:"200px 0px"});return(0,n.useEffect)(()=>{if(!a)return;let r=0,i=setTimeout(()=>{let s;l(0);let i=n=>{void 0===s&&(s=n);let a=Math.min(1,(n-s)/t);a<1?(l(Math.floor(e*a)),r=requestAnimationFrame(i)):l(e)};r=requestAnimationFrame(i)},s);return()=>{clearTimeout(i),r&&cancelAnimationFrame(r)}},[a,e,t,s]),{ref:i,count:r}},u=[{value:2.3,suffix:"b NOK",label:"Annual Turnover",delay:0,duration:2e3},{value:85,suffix:"%",label:"Share of sustainability-focused investments",delay:400,duration:1200},{value:1800,label:"Employees",delay:800,duration:2e3},{value:9,label:"Investments in our portfolio",delay:1200,duration:1200,isWord:!0}];function m(e){let t,{item:s}=e,{ref:l,count:i}=p("suffix"in s&&"b NOK"===s.suffix?10*s.value:s.value,s.duration,s.delay);return t="isWord"in s&&s.isWord?(e=>{let t=["One","Two","Three","Four","Five","Six","Seven","Eight","Nine","Ten"],s=Math.max(0,Math.min(t.length-1,Math.floor(e)-1));return t[s]||"One"})(i):"suffix"in s&&"b NOK"===s.suffix?"".concat((i/10).toFixed(1)," ").concat(s.suffix):"".concat(i).concat("suffix"in s&&s.suffix||""),(0,r.jsxs)("div",{ref:l,children:[(0,r.jsx)("div",{className:"font-medium text-[28px] lg:text-[56px] tracking-[-0.025em] text-light",children:t}),(0,r.jsx)("div",{className:"text-[10px] lg:text-[12px] -mt-[5px] mono text-light uppercase",children:s.label})]})}function g(){return(0,r.jsx)("div",{className:"p-[14px] lg:p-[22px] mt-[125px] portfolio-hero",children:(0,r.jsxs)("div",{className:"relative w-full video-full-screen glance-hero group",children:[(0,r.jsxs)("div",{className:"absolute top-[27px] lg:top-[60px] left-[15px] lg:left-[56px] z-10 lg:pr-[56px]",children:[(0,r.jsx)("h2",{className:"h1 text-light",children:"Umoe at a glance"}),(0,r.jsx)("div",{className:"mt-[35px]",children:(0,r.jsx)(i(),{href:"/who",className:"button-outlined",children:"Learn more about us"})})]}),(0,r.jsx)("div",{className:"absolute bottom-[27px] lg:bottom-[56px] left-[17px] lg:left-[56px] right-[17px] lg:right-[56px] z-10",children:(0,r.jsx)("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-6 text-light",children:u.map((e,t)=>(0,r.jsx)(m,{item:e},t))})}),(0,r.jsx)("div",{className:"absolute inset-0 w-full h-full rounded-[8px] overflow-hidden",children:(0,r.jsx)("img",{src:"https://cdn.sanity.io/images/po6djvcc/production/dd56da0c5650385a17da243b3a7f11fed6eccec6-2200x1468.jpg",alt:"Umoe at a glance",className:"absolute inset-0 w-full h-full object-cover transition-transform duration-[1200ms] ease-in-out group-hover:scale-[102%]"})})]})})}},42630:(e,t,s)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/news",function(){return s(6996)}])}},e=>{e.O(0,[8230,2080,6999,4367,9024,636,6593,8792],()=>e(e.s=42630)),_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.