1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2903],{1689:(e,t,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/kampanje/[...slug]",function(){return r(26922)}])},12462:(e,t,r)=>{"use strict";r.d(t,{$C:()=>i.$C,FR:()=>n.FR}),r(46716),r(67765);var n=r(96485),i=r(64507)},14185:(e,t,r)=>{"use strict";r.d(t,{$u:()=>f,K3:()=>d,Ui:()=>c,kk:()=>u,n4:()=>l});var n,i,a,o=r(14232),s=r(87282),l=(n=function(){if(a)return i;a=1;var e="u">typeof Element,t="function"==typeof Map,r="function"==typeof Set,n="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;return i=function(i,a){try{return function i(a,o){if(a===o)return!0;if(a&&o&&"object"==typeof a&&"object"==typeof o){var s,l,c,u;if(a.constructor!==o.constructor)return!1;if(Array.isArray(a)){if((s=a.length)!=o.length)return!1;for(l=s;0!=l--;)if(!i(a[l],o[l]))return!1;return!0}if(t&&a instanceof Map&&o instanceof Map){if(a.size!==o.size)return!1;for(u=a.entries();!(l=u.next()).done;)if(!o.has(l.value[0]))return!1;for(u=a.entries();!(l=u.next()).done;)if(!i(l.value[1],o.get(l.value[0])))return!1;return!0}if(r&&a instanceof Set&&o instanceof Set){if(a.size!==o.size)return!1;for(u=a.entries();!(l=u.next()).done;)if(!o.has(l.value[0]))return!1;return!0}if(n&&ArrayBuffer.isView(a)&&ArrayBuffer.isView(o)){if((s=a.length)!=o.length)return!1;for(l=s;0!=l--;)if(a[l]!==o[l])return!1;return!0}if(a.constructor===RegExp)return a.source===o.source&&a.flags===o.flags;if(a.valueOf!==Object.prototype.valueOf&&"function"==typeof a.valueOf&&"function"==typeof o.valueOf)return a.valueOf()===o.valueOf();if(a.toString!==Object.prototype.toString&&"function"==typeof a.toString&&"function"==typeof o.toString)return a.toString()===o.toString();if((s=(c=Object.keys(a)).length)!==Object.keys(o).length)return!1;for(l=s;0!=l--;)if(!Object.prototype.hasOwnProperty.call(o,c[l]))return!1;if(e&&a instanceof Element)return!1;for(l=s;0!=l--;)if(!(("_owner"===c[l]||"__v"===c[l]||"__o"===c[l])&&a.$$typeof)&&!i(a[c[l]],o[c[l]]))return!1;return!0}return a!=a&&o!=o}(i,a)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}}}())&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n;let c=(0,o.createContext)(null);function u(e,t,r,n){var i;let a,{isEqual:u=l,perspective:f=null}=n||{},p=(0,o.useContext)(c),g=(i=r,a=(0,o.useMemo)(()=>JSON.stringify(i||{}),[i]),(0,o.useMemo)(()=>JSON.parse(a),[a])),h=d(f),m=(0,o.useMemo)(()=>({subscribe:()=>()=>{},getSnapshot:()=>e}),[e]),y=(0,o.useMemo)(()=>p?.(e,t,g,h)||{subscribe:()=>()=>{},getSnapshot:()=>e},[p,e,g,t,h]),[v]=(0,o.useState)(()=>{if(void 0===e)throw Error("initialSnapshot can't be undefined, if you don't want an initial value use null instead");try{return JSON.parse(JSON.stringify(e))}catch(t){return console.warn("Failed to deep clone initialSnapshot, this is likely an error and an indication that the snapshot isn't JSON serializable",{initialSnapshot:e,error:t}),e}}),b=(0,o.useCallback)(()=>v,[v]),k=(0,o.useCallback)(e=>e,[]),x=(0,s.useSyncExternalStoreWithSelector)(y?.subscribe||m.subscribe,y?.getSnapshot||m.getSnapshot,b,k,u),_=null!==p;return[x,_&&v===x,_]}function d(e){let t=(0,o.useMemo)(()=>JSON.stringify(e),[e]);return(0,o.useMemo)(()=>JSON.parse(t),[t])}function f(){let[e,t]=(0,o.useState)(!1);(0,o.useEffect)(()=>{t(navigator.onLine);let e=()=>t(!0),r=()=>t(!1);return window.addEventListener("online",e),window.addEventListener("offline",r),()=>{window.removeEventListener("online",e),window.removeEventListener("offline",r)}},[]);let r=(0,o.useSyncExternalStore)(p,()=>document.visibilityState,()=>"hidden");return!e||"hidden"===r}function p(e){return document.addEventListener("visibilitychange",e),()=>document.removeEventListener("visibilitychange",e)}},26922:(e,t,r)=>{"use strict";r.r(t),r.d(t,{__N_SSG:()=>F,default:()=>L});var n=r(18153),i=r(27674),a=r(38993),o=r(21952),s=r(40698),l=r(48230),c=r.n(l),u=r(14185),d=r(14232),f=r(38433),p=r(89099),g=r(99760),h=r(93257),m=r(74238);r(19287);var y=r(72901),v=r(2198),b=r(7866),k=r(64507),x=r(89451),_=r(80830),Y=r(89110),S=r(67320);let A=(0,a.AH)` 2 #onetrust-consent-sdk #onetrust-banner-sdk {
3 z-index: 99998; 4 } 5`,$=(0,a.AH)` 6 .grecaptcha-badge { 7 visibility: hidden; 8 } 9`,w=(0,a.AH)` 10 position: relative; 11`,E=({children:e,lang:t,footer:r,seo:i,pageUrlArray:o,preview:l=!1})=>{let{t:c}=(0,s.Bd)("common"),u=(0,p.useRouter)(),[E,C]=(0,d.useState)();return(0,d.useEffect)(()=>{(0,x.KU)({query:(0,k.ZF)(t)}).then(e=>{if(!e)return;let{title:t,subTitle:r,links:n}=e;console.log(`%c ${t} `,"font-weight: bold; font-size: 42px; line-height: 60px; color: red; text-shadow: 2px 2px 0 rgb(217,31,38), 4px 4px 0 rgb(226,91,14), 6px 6px 0 rgb(245,221,8), 8px 8px 0 rgb(5,148,68), 10px 10px 0 rgb(2,135,206), 12px 12px 0 rgb(4,77,145), 14px 14px 0 rgb(42,21,113)"),console.log(`%c ${r}`,"font-weight: bold; font-family: monospace; font-size: 24px; line-height: 30px; color: #fff;"),n?.forEach(e=>console.log(`%c ${e}`,"font-size: 16px; color: #76E691;"))})}),(0,d.useEffect)(()=>{fetch(`/api/global-info?lang=${t||"nb"}`).then(e=>e.json()).then(e=>{C(e.filter(e=>(0,_.o)(e,o)))}).catch(()=>C([]))},[]),(0,d.useEffect)(()=>{let e=document.querySelector("html"),t=()=>{e&&(e.style.scrollBehavior="auto")},r=()=>{e&&(e.style.scrollBehavior="smooth"),setTimeout(t,300)};return u.events.on("hashChangeStart",r),()=>{u.events.off("hashChangeStart",r),u.events.off("hashChangeComplete",t)}},[]),(0,n.Y)(f.Bm,{theme:"eviny",stylingOptions:{loadFontLicences:!1},children:(0,n.FD)(v.yu,{isProfessional:!1,isBKK:Y.ru,isMicroPage:!1,children:[(0,n.Y)(a.mL,{styles:[A,g.z,$]}),Array.isArray(E)&&E.map(e=>(0,n.Y)(m.A,{globalInfo:e},e.title)),(0,n.Y)(y.k,{seo:i,lang:t}),(0,n.Y)(b.A,{href:"#main",children:c("header.skipToContent")}),(0,n.Y)("main",{id:"main",css:w,children:e}),r&&(0,n.Y)(h.w,{footer:r}),l&&(0,n.Y)(S.A,{})]})})};var C=r(37920),O=r(51315),T=r(57625),j=r(96485),K=r(12462),V=r(95084);let B=(0,a.AH)` 12 position: absolute; 13 top: 0; 14 left: 0; 15 right: 0; 16 z-index: 1; 17 padding-top: 2.4rem; 18`;var F=!0;let L=({data:e,draftMode:t,pageSlug:r,lang:a})=>{let{t:l}=(0,s.Bd)("common"),d=(0,o.Ay)(),[f]=(0,u.kk)(e,(({lang:e})=>` 19 *[_type == 'campaignPage' && defined(slug.current) && slug.current == $slug && editLanguage == '${e}'][0]{ 20 _type, 21 showFooter == true => { 22 "footer": ${(0,K.FR)({lang:e})}, 23 }, 24 ${(0,V.S)(e)}, 25 ${j.Od}, 26 ${k.Uq}, 27 _updatedAt, 28 _createdAt, 29 } 30`)({lang:a}),{slug:r}
30),{pageUrlArray:p,seo:g,footer:h}=f||e;return(0,n.FD)(E,{footer:h,seo:g,pageUrlArray:p,preview:t,lang:a,children:[(0,n.Y)("div",{css:B,children:(0,n.Y)(i.mc,{capacity:"xxl",children:(0,n.Y)(c(),{href:"/",passHref:!0,title:l("header.goToFrontPage"),css:(0,C.kE)({variant:"contrast"}),children:(0,n.Y)(O.A,{inverted:!0})})})}),(0,n.Y)(T.A,{paddingTop:d,data:f||e})]})}},27674:(e,t,r)=>{"use strict";r.d(t,{mc:()=>n.mc});var n=r(29920)},31624:(e,t,r)=>{"use strict";r.d(t,{a:()=>l,K:()=>p});var n=r(18153),i=r(29920),a=r(38993),o=r(40698),s=r(95978);let l=({color:e})=>{let{t}=(0,o.Bd)("common");return(0,n.Y)("a",{href:`#${s.e}`,css:({colors:t})=>(0,a.AH)` 31 @keyframes bounce { 32 0%, 33 20%, 34 50%, 35 75%, 36 100% { 37 transform: translateY(0.8rem); 38 } 39 40% { 40 transform: translateY(-2rem); 41 } 42 60% { 43 transform: translateY(-0.2rem); 44 } 45 } 46 animation: bounce 2.2s ease-in-out infinite; 47 @media (prefers-reduced-motion) { 48 animation: none !important; 49 } 50 display: flex; 51 cursor: pointer; 52 margin-top: 2.4rem; 53 margin-bottom: 1.2rem; 54 ${"primary"===e||!e?` svg { fill: ${t.primary.contrast}; }`:""} 55 ${"primary-action"===e?` svg { fill: ${t["primary-action"].base}; }`:""} 56 `,"aria-label":t("header.skipToContent"),children:(0,n.Y)(i.In,{name:"arrow-down",size:"l"})})};var c=r(80208);let u=(0,a.AH)` 57 @media ${i.fi.down("m")} { 58 padding: 6rem 6rem 0; 59 } 60 @media ${i.fi.down("s")} { 61 padding: 6rem 2rem 0; 62 } 63`,d=(0,a.AH)` 64 @media ${i.fi.down("m")} { 65 margin-top: 6rem; 66 } 67 @media ${i.fi.up("m")} { 68 > span { 69 position: absolute !important; 70 top: 0; 71 bottom: 0; 72 left: 0; 73 right: 0; 74 } 75 } 76`,f=(0,a.AH)` 77 padding-top: 2rem; 78`,p=({heroGraphics:e,heroType:t})=>{let r,a=(0,i.Ub)(i.fi.down("s"));if("forside"===t)return null;let{heroImage:o,heroIllustration:s}=e||{};if(o?.image){let{dontcrop:e,aspectRatio:i,imageType:s}=o||{},l=a?400:800,u="bkk-kunde"===t?a?400:Math.round(2.2*l):l;r=(0,n.Y)(c.A,{fill:"fagomr\xe5de"===t,image:o,width:u,height:l,dontcrop:!!(e||s&&"photo"!==s),aspectRatio:i,priority:!0})}else{if(!s?.asset||"tjeneste"!==t&&"side"!==t)return null;r=(0,n.Y)(i.v_,{name:s?.asset})}return"bkk-kunde"===t?(0,n.Y)("div",{css:f,children:r}):a&&"fagomr\xe5de"===t?null:(0,n.Y)("div",{css:"fagomr\xe5de"===t?d:u,children:r})}},37750:(e,t,r)=>{"use strict";r.d(t,{KE:()=>n.KE});var n=r(29920)},46716:(e,t,r)=>{"use strict";r.d(t,{Vx:()=>s,Cc:()=>n.C}),r(95084);var n=r(24399),i=r(96485),a=r(67765),o=r(89110);let s=({lang:e})=>` 79 *[_type == '${o.xz}' ${o.CU?"":`&& editLanguage == '${e}'`} ${o.CU?`&& _id == '${o.aW.micropageFrontpage()}'`:""}]| order(_updatedAt desc)[0]{ 80 ${(0,a.mY)(e)}, 81 ${i.Od}, 82 ${(0,a.V0)(e)}, 83 _id, 84 }`;r(64507),r(506)},57625:(e,t,r)=>{"use strict";r.d(t,{A:()=>h});var n=r(18153),i=r(66935);let a=({type:e})=>(0,n.FD)("h2",{children:["There is no Page corresponding to type: ",e]});var o=r(95978);r(14232);var s=r(29920),l=r(38993),c=r(21952),u=r(40698),d=r(89099),f=r(44157);let p=e=>(0,l.AH)` 85 margin-top: ${e}px; 86`,g=()=>{let{logInAuth0:e,isLoggedIn:t}=(0,f.Z2)(),{t:r}=(0,u.Bd)("auth"),i=(0,d.useRouter)(),a=(0,c.Ay)();return(0,n.Y)(s.q9,{variant:"none",css:p(-(a.breadcrumb+a.heading)),children:(0,n.Y)(s.mc,{capacity:"xl",children:(0,n.FD)("div",{css:p(a.breadcrumb+a.heading),children:[(0,n.Y)(s.fI,{children:(0,n.Y)(s.VP,{children:(0,n.Y)(s.H1,{children:"Logg inn"})})}),(0,n.FD)(s.fI,{alignItems:"stretch",justify:"center",children:[(0,n.Y)(s.VP,{l:6,xs:12,children:(0,n.Y)(s.VR,{heading:"Termo (ny l\xf8sning)",text:"Mine sider for fjernvarme og kj\xf8ling etter 01.04.2026",href:"https://eviny-termo.min-side.utilitycloud.app/",headingComponent:"h2",type:"tjeneste","aria-label":"Logg inn p\xe5 termo (ny l\xf8sning)"})}),(0,n.Y)(s.VP,{l:6,xs:12,children:(0,n.Y)(s.Zp,{color:"none",heading:"Termo (gammel l\xf8sning)",text:"Disse sidene er ikke tilgjengelig lengre og for \xe5 f\xe5 informasjon om forbruk og fakturaer f\xf8r 01.04.2026 m\xe5 kunder kontakte oss p\xe5 [email protected]",headingComponent:"h2","aria-label":"Logg inn p\xe5 termo (gammel l\xf8sning)"})}
86),(0,n.Y)(s.VP,{l:6,xs:12,children:(0,n.Y)(s.VR,{heading:"KISS",text:"For bedriftskunder som bruker KISS-portalen",onClick:r=>{r?.preventDefault(),t?i.push("/minesider"):e()},href:"/",headingComponent:"h2",type:"tjeneste","aria-label":t?`${r("goTo")} ${r("login.all-services.text")}`:`${r("login.prefix")} ${r("login.all-services.suffix")}`})}),(0,n.Y)(s.VP,{l:6,xs:12,children:(0,n.Y)(s.VR,{heading:"Bilkraft",text:r("login.bilkraft.text"),href:"https://app.bilkraft.no/#/login",headingComponent:"h2",type:"tjeneste","aria-label":`${r("login.prefix")} ${r("login.bilkraft.heading")}`})})]})]})})})},h=({data:e,paddingTop:t})=>{let r;switch(e._type){case"campaignPage":case"page":case"rootChargeHelp":case"microPage":case"userguide":return r={...e.content,heroType:e.heroType&&(0,i.translateHeroVariant)(e.heroType)},(0,n.Y)(o.A,{paddingTop:t,data:r});case"login":return r={...e.content,heroType:e.heroType&&(0,i.translateHeroVariant)(e.heroType)},(0,n.FD)("div",{children:[(0,n.Y)(g,{}),(0,n.Y)(o.A,{paddingTop:t,data:r})]});default:return(0,n.Y)(a,{type:e._type})}}},66935:(e,t,r)=>{"use strict";r.r(t),r.d(t,{__N_SSG:()=>m,default:()=>v,translateHeroVariant:()=>y});var n=r(18153),i=r(37750),a=r(21952),o=r(14185),s=r(44824),l=r(31624),c=r(84464),u=r(34731),d=r(13016),f=r(46716),p=r(72937),g=r(89110),h=r(15477),m=!0;let y=e=>{let t;switch(e){case"audience":t="m\xe5lgruppe";break;case"frontpage":t="forside";break;case"page":default:t="side";break;case"service":t="tjeneste";break;case"subjectArea":t="fagomr\xe5de";break;case"bkk-kunde":t="bkk-kunde";break;case"bkk-proff":t="bkk-proff";break;case"bkk-frontpage":t="bkk-frontpage"}return t},v=({data:e,menu:t,footer:r,draftMode:m,lang:v})=>{let b=(0,a.Ay)(),[k]=(0,o.kk)(e,(0,f.Vx)({lang:v})),{seo:x,sections:_,heroTitle:Y,heroLinks:S,heroType:A,heroRichtext:$,heroImage:w,heroIllustration:E}=k||e,C=A&&y(A),O={heroImage:w,heroIllustration:E},T=$&&(0,n.Y)(p.RK,{value:$}),j=!g.ru&&!S,K=new Map;return(0,n.FD)(s.A,{menu:t,footer:r,seo:x,preview:m,lang:v,children:[C&&(0,n.Y)("div",{style:g.ru?void 0:{marginTop:`-${b.heading+b.breadcrumb}px`},children:(0,n.Y)("div",{css:c.Q,children:(0,n.FD)(i.KE,{title:Y||"",variant:C,lead:T,paddingTop:`${b.heading}px`,image:O&&(0,n.Y)(l.K,{heroType:C,heroGraphics:O}),children:[S&&(0,n.Y)(u.Ep,{links:S,color:(0,u.rS)({variant:C}),inverted:!1}),j&&(0,n.Y)(l.a,{color:(0,u.rS)({variant:C,isArrow:!0})})]})})}),Array.isArray(_)&&_?.map(e=>{let t;if(e._type===h.d.CASE_BLOCK||e._type===h.d.IMAGE_BLOCK_BKK){let r=(K.get(e._type)||0)+1;K.set(e._type,r),t=r}return(0,n.Y)(d.Ay,{sameTypeCounter:t,data:e},e._key)})]})}},67765:(e,t,r)=>{"use strict";r.d(t,{V0:()=>n.V0,mY:()=>i.m});var n=r(37087);r(87647),r(25341),r(5355),r(72809),r(62306),r(11594);var i=r(16958);r(7250)},84464:(e,t,r)=>{"use strict";r.d(t,{Q:()=>a});var n=r(33367),i=r(38993);let a=({spacings:e})=>(0,i.AH)` 87 margin-bottom: ${e.xl}rem; 88 89 @media ${n.fi.desktop} { 90 margin-bottom: ${e.xxl}rem; 91 } 92`},95084:(e,t,r)=>{"use strict";r.d(t,{S:()=>i});var n=r(67765);let i=e=>` 93 "content": { 94 ${(0,n.V0)(e)} 95 } 96`},95978:(e,t,r)=>{"use strict";r.d(t,{A:()=>s,e:()=>o});var n=r(18153),i=r(13016),a=r(15477);let o="page-page-id",s=({data:e})=>{let{sections:t}=e,r=new Map;return(0,n.Y)("div",{id:o,children:Array.isArray(t)&&t.map(e=>{let t;if(void 0!==e&&0!==Object.keys(e).length){if(e._type===a.d.CASE_BLOCK||e._type===a.d.IMAGE_BLOCK_BKK){let n=(r.get(e._type)||0)+1;r.set(e._type,n),t=n}return(0,n.Y)(i.Ay,{sameTypeCounter:t,data:e},e._key)}})})}}},e=>{e.O(0,[6593,8749,8284,1008,7785,713,328,1196,4313,9908,327,8293,4833,3835,3302,2517,4938,1163,1287,6893,2689,9629,1229,6894,7555,3310,4894,3519,1610,7172,8561,1552,4824,6455,4515,3122,636,8792],()=>e(e.s=1689)),_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.