1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9821],{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:()=>p,K3:()=>c,Ui:()=>u,kk:()=>d,n4:()=>s});var n,i,a,o=r(14232),l=r(87282),s=(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 l,s,u,d;if(a.constructor!==o.constructor)return!1;if(Array.isArray(a)){if((l=a.length)!=o.length)return!1;for(s=l;0!=s--;)if(!i(a[s],o[s]))return!1;return!0}if(t&&a instanceof Map&&o instanceof Map){if(a.size!==o.size)return!1;for(d=a.entries();!(s=d.next()).done;)if(!o.has(s.value[0]))return!1;for(d=a.entries();!(s=d.next()).done;)if(!i(s.value[1],o.get(s.value[0])))return!1;return!0}if(r&&a instanceof Set&&o instanceof Set){if(a.size!==o.size)return!1;for(d=a.entries();!(s=d.next()).done;)if(!o.has(s.value[0]))return!1;return!0}if(n&&ArrayBuffer.isView(a)&&ArrayBuffer.isView(o)){if((l=a.length)!=o.length)return!1;for(s=l;0!=s--;)if(a[s]!==o[s])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((l=(u=Object.keys(a)).length)!==Object.keys(o).length)return!1;for(s=l;0!=s--;)if(!Object.prototype.hasOwnProperty.call(o,u[s]))return!1;if(e&&a instanceof Element)return!1;for(s=l;0!=s--;)if(!(("_owner"===u[s]||"__v"===u[s]||"__o"===u[s])&&a.$$typeof)&&!i(a[u[s]],o[u[s]]))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 u=(0,o.createContext)(null);function d(e,t,r,n){var i;let a,{isEqual:d=s,perspective:p=null}=n||{},f=(0,o.useContext)(u),g=(i=r,a=(0,o.useMemo)(()=>JSON.stringify(i||{}),[i]),(0,o.useMemo)(()=>JSON.parse(a),[a])),h=c(p),m=(0,o.useMemo)(()=>({subscribe:()=>()=>{},getSnapshot:()=>e}),[e]),y=(0,o.useMemo)(()=>f?.(e,t,g,h)||{subscribe:()=>()=>{},getSnapshot:()=>e},[f,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,[]),_=(0,l.useSyncExternalStoreWithSelector)(y?.subscribe||m.subscribe,y?.getSnapshot||m.getSnapshot,b,k,d),Y=null!==f;return[_,Y&&v===_,Y]}function c(e){let t=(0,o.useMemo)(()=>JSON.stringify(e),[e]);return(0,o.useMemo)(()=>JSON.parse(t),[t])}function p(){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)(f,()=>document.visibilityState,()=>"hidden");return!e||"hidden"===r}function f(e){return document.addEventListener("visibilitychange",e),()=>document.removeEventListener("visibilitychange",e)}},19640:(e,t,r)=>{"use strict";r.r(t),r.d(t,{__N_SSP:()=>y,default:()=>v});var n=r(18153),i=r(14232),a=r(29920),o=r(40698);function l(e,...t){let r=e.length-1;return e.slice(0,r).reduce((e,r,n)=>e+r+t[n],"")+e[r]}var s=r(48230),u=r.n(s),d=r(89099),c=r(44824),p=r(36633),f=r(57625),g=r(12462),h=r(67765),m=r(89451),y=!0;let v=({menu:e,footer:t,data:r,pageSlug:s,lang:y,preview:v})=>{let{t:b}=(0,o.Bd)("common"),{isFallback:k}=(0,d.useRouter)(),[_,Y]=(0,i.useState)(),$=l`*[_type == $type && defined(slug.current) && slug.current == $slug && select($preview == true =>
1 (_id in path('drafts.**')), !(_id in path('drafts.**')))][0]{ 2 "content": { 3 ${(0,h.V0)(y)} 4 }, 5 title, 6 description, 7 _type, 8 _updatedAt, 9 "previous": *[_type == $type && slug.current == $slug && select($preview == true => (_id in path('drafts.**')), !(_id in path('drafts.**'))) && ^.title > title]|order(title desc)[0]{ 10 title, _updatedAt, ${(0,g.$C)({lang:y})} 11 }, 12 "next": *[_type == $type && slug.current == $slug && select($preview == true => (_id in path('drafts.**')), !(_id in path('drafts.**'))) && ^.title < title]|order(title asc)[0]{ 13 title, _updatedAt, ${(0,g.$C)({lang:y})} 14 } 15 }`;if((0,i.useEffect)(()=>{let e;if(clearInterval(e),!e&&v&&1){let t=async()=>{let e=await (0,m.KU)({query:$,params:{slug:s,preview:v,type:"userguide"}});if(!e&&!_||e&&e?._updatedAt!==_?._updatedAt){let e=await (0,m.KU)({query:$,params:{slug:s,preview:v,type:"userguide"}});e&&Y(e)}};e=setInterval(()=>{t()},2e3),t()}return()=>{e&&clearInterval(e)}},[v,_,s]),!r&&v)return(0,n.Y)(c.A,{menu:e,footer:t,hasFooter:!1,preview:v,lang:y,children:(0,n.Y)(p.A,{title:b("nodraft.title"),description:b("nodraft.text"),buttonLabel:b("error.button")})});if(k||!r)return(0,n.Y)(c.A,{menu:e,footer:t,hasFooter:!1,preview:v,lang:y,children:(0,n.Y)(p.A,{title:b("error.title"),description:b("error.text"),buttonLabel:b("error.button")})});let w=_||r,{title:A,description:S,previous:x,next:C}=w,O=x?.slug,E=C?.slug;return(0,n.FD)(c.A,{seo:{_type:"seo",title:A,description:S,disallowRobots:!0},menu:e,footer:t,hasFooter:!1,preview:v,lang:y,children:[(0,n.Y)(a.mc,{capacity:"xl",children:(0,n.Y)(a.az,{marginY:"l",children:(0,n.Y)(a.kk,{heading:A,lead:S,showDot:!0})})}),(0,n.Y)(f.A,{data:w}),(0,n.FD)(a.mc,{capacity:"xl",children:[(0,n.FD)(a.so,{marginY:"m",justify:"center",colGap:"l",rowGap:"m",as:"nav","aria-label":"Navigasjonslenker for brukerguide",children:[O&&(0,n.Y)(u(),{href:x?.slug,passHref:!0,legacyBehavior:!0,children:(0,n.Y)(a.WS,{color:"primary-action",iconAlignment:"left",icon:"arrow-left","aria-label":`G\xe5 til forrige artikkel i brukerguiden: "${x?.title}"`,children:x?.title})}),E&&(0,n.Y)(u(),{href:C?.slug,passHref:!0,legacyBehavior:!0,children:(0,n.Y)(a.WS,{color:"primary-action",iconAlignment:"right",icon:"arrow-right","aria-label":`G\xe5 til neste artikkel i brukerguiden: "${C?.title}"`,children:C?.title})})]}),(0,n.Y)(a.e2,{marginY:"m",justify:"center",children:(0,n.Y)(u(),{href:"/userguide",passHref:!0,legacyBehavior:!0,children:(0,n.Y)(a.z9,{color:"primary-action",mode:"secondary","aria-label":"G\xe5 til forsiden av brukerguiden",children:"Tilbake til oversikt"})})})]})]})}},31624:(e,t,r)=>{"use strict";r.d(t,{a:()=>s,K:()=>f});var n=r(18153),i=r(29920),a=r(38993),o=r(40698),l=r(95978);let s=({color:e})=>{let{t}=(0,o.Bd)("common");return(0,n.Y)("a",{href:`#${l.e}`,css:({colors:t})=>(0,a.AH)` 16 @keyframes bounce { 17 0%, 18 20%, 19 50%, 20 75%, 21 100% { 22 transform: translateY(0.8rem); 23 } 24 40% { 25 transform: translateY(-2rem); 26 } 27 60% { 28 transform: translateY(-0.2rem); 29 } 30 } 31 animation: bounce 2.2s ease-in-out infinite; 32 @media (prefers-reduced-motion) { 33 animation: none !important; 34 } 35 display: flex; 36 cursor: pointer; 37 margin-top: 2.4rem; 38 margin-bottom: 1.2rem; 39 ${"primary"===e||!e?` svg { fill: ${t.primary.contrast}; }`:""} 40 ${"primary-action"===e?` svg { fill: ${t["primary-action"].base}; }`:""} 41 `,"aria-label":t("header.skipToContent"),children:(0,n.Y)(i.In,{name:"arrow-down",size:"l"})})};var u=r(80208);let d=(0,a.AH)` 42 @media ${i.fi.down("m")} { 43 padding: 6rem 6rem 0; 44 } 45 @media ${i.fi.down("s")} { 46 padding: 6rem 2rem 0; 47 } 48`,c=(0,a.AH)` 49 @media ${i.fi.down("m")} { 50 margin-top: 6rem; 51 } 52 @media ${i.fi.up("m")} { 53 > span { 54 position: absolute !important; 55 top: 0; 56 bottom: 0; 57 left: 0; 58 right: 0; 59 } 60 } 61`,p=(0,a.AH)` 62 padding-top: 2rem; 63`,f=({heroGraphics:e,heroType:t})=>{let r,a=(0,i.Ub)(i.fi.down("s"));if("forside"===t)return null;let{heroImage:o,heroIllustration:l}=e||{};if(o?.image){let{dontcrop:e,aspectRatio:i,imageType:l}=o||{},s=a?400:800,d="bkk-kunde"===t?a?400:Math.round(2.2*s):s;r=(0,n.Y)(u.A,{fill:"fagomr\xe5de"===t,image:o,width:d,height:s,dontcrop:!!(e||l&&"photo"!==l),aspectRatio:i,priority:!0})}else{if(!l?.asset||"tjeneste"!==t&&"side"!==t)return null;r=(0,n.Y)(i.v_,{name:l?.asset})}return"bkk-kunde"===t?(0,n.Y)("div",{css:p,children:r}):a&&"fagomr\xe5de"===t?null:(0,n.Y)("div",{css:"fagomr\xe5de"===t?c:d,children:r})}},36633:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(18153),i=r(29920),a=r(38993),o=r(89099);let l=({spacings:e})=>(0,a.AH)` 64 min-height: calc(100vh - 15rem); 65 width: 100%; 66 position: relative; 67 68 @media ${i.fi.down("m")} { 69 min-height: calc(100vh - 10rem); 70 } 71 72 .not-found__wrapper { 73 position: absolute; 74 top: calc(50% - 10rem); 75 left: 0; 76 transform: translateY(-50%); 77 padding: ${e.xxl}rem ${e.l}rem; 78 } 79 80 .not-found__text { 81 padding-bottom: ${e.l}rem; 82 } 83`,s=({title:e,description:t,buttonLabel:r})=>{let a=(0,o.useRouter)();return(0,n.Y)(i.mc,{capacity:"m",children:(0,n.Y)(i.fI,{children:(0,n.Y)(i.VP,{children:(0,n.Y)("div",{css:l,children:(0,n.FD)("div",{className:"not-found__wrapper",children:[(0,n.Y)(i.H1,{appearance:"h1",children:e}),(0,n.Y)(i.P,{className:"not-found__text",children:t}),(0,n.Y)(i.$n,{color:"primary-action",onClick:()=>
83a.push("/"),children:r})]})})})})})}},37750:(e,t,r)=>{"use strict";r.d(t,{KE:()=>n.KE});var n=r(29920)},46628:(e,t,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/userguide/[...slug]",function(){return r(19640)}])},46716:(e,t,r)=>{"use strict";r.d(t,{Vx:()=>l,Cc:()=>n.C}),r(95084);var n=r(24399),i=r(96485),a=r(67765),o=r(89110);let l=({lang:e})=>` 84 *[_type == '${o.xz}' ${o.CU?"":`&& editLanguage == '${e}'`} ${o.CU?`&& _id == '${o.aW.micropageFrontpage()}'`:""}]| order(_updatedAt desc)[0]{ 85 ${(0,a.mY)(e)}, 86 ${i.Od}, 87 ${(0,a.V0)(e)}, 88 _id, 89 }`;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 l=r(29920),s=r(38993),u=r(21952),d=r(40698),c=r(89099),p=r(44157);let f=e=>(0,s.AH)` 90 margin-top: ${e}px; 91`,g=()=>{let{logInAuth0:e,isLoggedIn:t}=(0,p.Z2)(),{t:r}=(0,d.Bd)("auth"),i=(0,c.useRouter)(),a=(0,u.Ay)();return(0,n.Y)(l.q9,{variant:"none",css:f(-(a.breadcrumb+a.heading)),children:(0,n.Y)(l.mc,{capacity:"xl",children:(0,n.FD)("div",{css:f(a.breadcrumb+a.heading),children:[(0,n.Y)(l.fI,{children:(0,n.Y)(l.VP,{children:(0,n.Y)(l.H1,{children:"Logg inn"})})}),(0,n.FD)(l.fI,{alignItems:"stretch",justify:"center",children:[(0,n.Y)(l.VP,{l:6,xs:12,children:(0,n.Y)(l.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)(l.VP,{l:6,xs:12,children:(0,n.Y)(l.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)"})}),(0,n.Y)(l.VP,{l:6,xs:12,children:(0,n.Y)(l.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)(l.VP,{l:6,xs:12,children:(0,n.Y)(l.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),l=r(44824),s=r(31624),u=r(84464),d=r(34731),c=r(13016),p=r(46716),f=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,p.Vx)({lang:v})),{seo:_,sections:Y,heroTitle:$,heroLinks:w,heroType:A,heroRichtext:S,heroImage:x,heroIllustration:C}=k||e,O=A&&y(A),E={heroImage:x,heroIllustration:C},j=S&&(0,n.Y)(f.RK,{value:S}),T=!g.ru&&!w,V=new Map;return(0,n.FD)(l.A,{menu:t,footer:r,seo:_,preview:m,lang:v,children:[O&&(0,n.Y)("div",{style:g.ru?void 0:{marginTop:`-${b.heading+b.breadcrumb}px`},children:(0,n.Y)("div",{css:u.Q,children:(0,n.FD)(i.KE,{title:$||"",variant:O,lead:j,paddingTop:`${b.heading}px`,image:E&&(0,n.Y)(s.K,{heroType:O,heroGraphics:E}),children:[w&&(0,n.Y)(d.Ep,{links:w,color:(0,d.rS)({variant:O}),inverted:!1}),T&&(0,n.Y)(s.a,{color:(0,d.rS)({variant:O,isArrow:!0})})]})})}),Array.isArray(Y)&&Y?.map(e=>{let t;if(e._type===h.d.CASE_BLOCK||e._type===h.d.IMAGE_BLOCK_BKK){let r=(V.get(e._type)||0)+1;V.set(e._type,r),t=r}return(0,n.Y)(c.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)` 92 margin-bottom: ${e.xl}rem; 93 94 @media ${n.fi.desktop} { 95 margin-bottom: ${e.xxl}rem; 96 } 97`},95084:(e,t,r)=>{"use strict";r.d(t,{S:()=>i});var n=r(67765);let i=e=>` 98 "content": { 99 ${(0,n.V0)(e)} 100 } 101`},95978:(e,t,r)=>{"use strict";r.d(t,{A:()=>l,e:()=>o});var n=r(18153),i=r(13016),a=r(15477);let o="page-page-id",l=({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=46628)),_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.