Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@kartverket/geonorge-web-components

Package Overview
Dependencies
Maintainers
2
Versions
127
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kartverket/geonorge-web-components - npm Package Compare versions

Comparing version 0.1.51 to 0.1.52

2

GeonorgeFooter.js

@@ -1,2 +0,2 @@

!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.geonorge=e():(t.geonorge=t.geonorge||{},t.geonorge.GeonorgeFooter=e())}(self,(function(){return(()=>{var t={1325:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>s});var o=n(3062),r=n.n(o),i=n(7638),a=n.n(i)()(r());a.push([t.id,'*{box-sizing:border-box}footer{font-family:"Open Sans",sans-serif;border-top:solid 8px #fe5000;font-size:14px}footer .content-container{padding:40px 15px;margin:auto;justify-content:space-between}@media(min-width: 768px){footer .content-container{width:750px}}@media(min-width: 992px){footer .content-container{width:970px;display:flex}}@media(min-width: 1200px){footer .content-container{width:1170px}}footer .content-container>div{flex:1}footer .content-container>div:not(:first-child):before{border-bottom:solid #fe5000 2px;content:"";margin-top:18px;margin-bottom:6px;position:relative;width:50px;display:block}@media(min-width: 992px){footer .content-container>div:not(:first-child):before{border-bottom:none;margin:0}}footer .content-container>div h2{font-family:"Open Sans",sans-serif;font-size:14pt;font-weight:600;color:#2f3940;margin-top:0;text-transform:uppercase}footer .content-container>div p{color:#2f3940;font-family:"Open Sans",sans-serif;font-size:12pt;font-weight:400;line-height:22pt;color:#2f3940;margin:0 0 10px}@media(min-width: 992px){footer .content-container>div p{font-size:14pt;line-height:24pt}}footer .content-container>div a{color:#3767c7;text-decoration:none}footer .content-container>div a:hover{text-decoration:underline}footer .content-container>div hr{margin:20px 0;border-top-color:#d8d8d8}footer .content-container>div ul.link-list{list-style:none;margin:0;padding:0}footer .content-container>div ul.link-list li{margin-left:0;background-position:0 10px;background-repeat:no-repeat;background-size:10px 10px;font-family:"Open Sans",sans-serif;font-style:italic;font-size:12pt;line-height:24pt}@media(min-width: 992px){footer .content-container>div ul.link-list li{font-size:14pt}}footer .content-container>div ul.link-list li:before{content:"";width:6px;height:0px;border-top:6px solid transparent;border-bottom:6px solid transparent;border-left:10px solid #2f3940;display:inline-block}@media(min-width: 992px){footer .content-container>div ul.link-list li:before{width:8px;border-top:7px solid transparent;border-bottom:7px solid transparent;border-left:12px solid #2f3940}}footer .content-container>div #geonorge-logo,footer .content-container>div #kartverket-logo{max-width:230px}',"",{version:3,sources:["webpack://./custom-elements/geonorge-footer/geonorge-footer.scss","webpack://./style/variables/_typography.scss","webpack://./style/mixins/_breakpoints.scss","webpack://./style/variables/_colors.scss"],names:[],mappings:"AAEA,EACI,qBAAA,CAGJ,OACI,kCCPW,CDQX,4BAAA,CACA,cAAA,CACA,0BACI,iBAAA,CACA,WAAA,CACA,6BAAA,CEHA,yBAAA,0BFKI,WAAA,CAAA,CETJ,yBFIJ,0BAQQ,WAAA,CACA,YAAA,CAAA,CEjBJ,0BFQJ,0BAYQ,YAAA,CAAA,CAEJ,8BACI,MAAA,CACA,uDACI,+BAAA,CACA,UAAA,CACA,eAAA,CACA,iBAAA,CACA,iBAAA,CACA,UAAA,CACA,aAAA,CE3BR,yBFoBI,uDASQ,kBAAA,CACA,QAAA,CAAA,CAGR,iCACI,kCCxCD,CDyCC,cAAA,CACA,eAAA,CACA,aGpCF,CHqCE,YAAA,CACA,wBAAA,CAEJ,gCACI,aGzCF,CH0CE,kCCjDD,CDkDC,cAAA,CACA,eAAA,CACA,gBAAA,CACA,aG9CF,CH+CE,eAAA,CEhDR,yBFyCI,gCASQ,cAAA,CACA,gBAAA,CAAA,CAGR,gCACI,aG/CD,CHgDC,oBAAA,CACA,sCACI,yBAAA,CAGR,iCACI,aAAA,CACA,wBGlEC,CHoEL,2CACI,eAAA,CACA,QAAA,CACA,SAAA,CACA,8CACI,aAAA,CACA,0BAAA,CACA,2BAAA,CACA,yBAAA,CACA,kCAAA,CACA,iBAAA,CACA,cAAA,CACA,gBAAA,CE7EZ,yBFqEQ,8CAUQ,cAAA,CAAA,CAEJ,qDACI,UAAA,CACA,SAAA,CACA,UAAA,CACA,gCAAA,CACA,mCAAA,CACA,8BAAA,CACA,oBAAA,CExFhB,yBFiFY,qDASQ,SAAA,CACA,gCAAA,CACA,mCAAA,CACA,8BAAA,CAAA,CAKhB,4FAEI,eAAA",sourcesContent:['@import "../../style/all";\n\n* {\n box-sizing: border-box;\n}\n\nfooter {\n font-family: $default-font;\n border-top: solid 8px $primary-brand;\n font-size: 14px;\n .content-container {\n padding: 40px 15px;\n margin: auto;\n justify-content: space-between;\n @include breakpoint(tablet) {\n width: 750px;\n }\n @include breakpoint(laptop) {\n width: 970px;\n display: flex;\n }\n @include breakpoint(desktop) {\n width: 1170px;\n }\n > div {\n flex: 1;\n &:not(:first-child):before {\n border-bottom: solid #fe5000 2px;\n content: "";\n margin-top: 18px;\n margin-bottom: 6px;\n position: relative;\n width: 50px;\n display: block;\n @include breakpoint(laptop) {\n border-bottom: none;\n margin: 0;\n }\n }\n h2 {\n font-family: $default-font;\n font-size: 14pt;\n font-weight: 600;\n color: $default-text;\n margin-top: 0;\n text-transform: uppercase;\n }\n p {\n color: $default-text;\n font-family: $default-font;\n font-size: 12pt;\n font-weight: 400;\n line-height: 22pt;\n color: $default-text;\n margin: 0 0 10px;\n @include breakpoint(laptop) {\n font-size: 14pt;\n line-height: 24pt;\n }\n }\n a {\n color: $primary-text;\n text-decoration: none;\n &:hover {\n text-decoration: underline;\n }\n }\n hr {\n margin: 20px 0;\n border-top-color: $default-border;\n }\n ul.link-list {\n list-style: none;\n margin: 0;\n padding: 0;\n li {\n margin-left: 0;\n background-position: 0 10px;\n background-repeat: no-repeat;\n background-size: 10px 10px;\n font-family: "Open Sans", sans-serif;\n font-style: italic;\n font-size: 12pt;\n line-height: 24pt;\n @include breakpoint(laptop) {\n font-size: 14pt;\n }\n &:before {\n content: "";\n width: 6px;\n height: 0px;\n border-top: 6px solid transparent;\n border-bottom: 6px solid transparent;\n border-left: 10px solid $default-text;\n display: inline-block;\n @include breakpoint(laptop) {\n width: 8px;\n border-top: 7px solid transparent;\n border-bottom: 7px solid transparent;\n border-left: 12px solid $default-text;\n }\n }\n }\n }\n #geonorge-logo,\n #kartverket-logo {\n max-width: 230px;\n }\n }\n }\n}\n','$default-font: "Open Sans", sans-serif;\n$header-font: "Raleway";',"@mixin breakpoint($point) {\n @if $point == desktop {\n @media (min-width: $screen-desktop) {\n @content;\n }\n } @else if $point == laptop {\n @media (min-width: $screen-laptop) {\n @content;\n }\n } @else if $point == tablet {\n @media (min-width: $screen-tablet) {\n @content;\n }\n } @else if $point == phablet {\n @media (min-width: $screen-phablet) {\n @content;\n }\n }\n}\n","$body-background: #ffffff;\n$navigation-bar-background: #f7f7f7;\n$hover-background: rgba(0,0,0,.05);\n$default-border: #d8d8d8;\n\n$default-background: #eee;\n$default-background-hover: #ddd;\n$default-text:#2F3940;\n\n$primary-brand: #FE5000;\n$secondary-brand: #7da1c4;\n\n$primary-background: #7DA1C4;\n$primary-background-hover: #FE5000;\n$primary-text: #3767C7;\n$primary-text-hover:#0056b3;\n\n\n$success-background: #06A755;\n$success-background-hover: #009745;\n$success-text: #06A755;\n\n\n$warning-background: #C38621;\n$warning-background-hover: #B37611;\n$warning-text: #C38621;\n\n$danger-background: #E00d0D;\n$danger-background-hover: #D00000;\n$danger-text: #E00d0D;\n\n$disabled-background: #ffffff;\n$disabled-text: #d8d8d8;\n"],sourceRoot:""}]);const s=a},8607:(t,e,n)=>{"use strict";n.d(e,{Z:()=>o});const o=n.p+"assets/png/kartverket-logo.png"},8259:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>o});const o='<template>\n <footer id="geonorge-footer">\n <div class="content-container">\n <div>\n <div id="geonorge-logo"></div>\n </div>\n <div>\n <h2 id="about-site-header">Om nettstedet:</h2>\n <ul id="link-list" class="link-list">\n <li>\n <a id="aboutGeonorgeLink" href="/aktuelt/om-geonorge/">Om Geonorge</a>\n </li>\n <li>\n <a id="cookieInfoLink" href="/aktuelt/Nyheter/annet/personvern-og-bruk-av-cookies/">Personvern\n og bruk av cookies</a>\n </li>\n </ul>\n </div>\n <div>\n <h2 id="contact-header">Kontakt:</h2>\n <p id="contact-info-text">Telefon: 32 11 80 00<br><a title="post@norgedigitalt.no"\n href="mailto:post@norgedigitalt.no">post@norgedigitalt.no</a><br>Org. nr.: 971 040 238</p>\n <hr>\n <p id="a-solution-by-text">En løsning fra</p>\n <p>\n <a href="http://www.kartverket.no">\n <img id="kartverket-logo" />\n </a>\n </p>\n </div>\n </div>\n </footer>\n</template>'},7638:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n=t(e);return e[2]?"@media ".concat(e[2]," {").concat(n,"}"):n})).join("")},e.i=function(t,n,o){"string"==typeof t&&(t=[[null,t,""]]);var r={};if(o)for(var i=0;i<this.length;i++){var a=this[i][0];null!=a&&(r[a]=!0)}for(var s=0;s<t.length;s++){var c=[].concat(t[s]);o&&r[c[0]]||(n&&(c[2]?c[2]="".concat(n," and ").concat(c[2]):c[2]=n),e.push(c))}},e}},3062:t=>{"use strict";function e(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}t.exports=function(t){var n,o,r=(o=4,function(t){if(Array.isArray(t))return t}(n=t)||function(t,e){var n=t&&("undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"]);if(null!=n){var o,r,i=[],a=!0,s=!1;try{for(n=n.call(t);!(a=(o=n.next()).done)&&(i.push(o.value),!e||i.length!==e);a=!0);}catch(t){s=!0,r=t}finally{try{a||null==n.return||n.return()}finally{if(s)throw r}}return i}}(n,o)||function(t,n){if(t){if("string"==typeof t)return e(t,n);var o=Object.prototype.toString.call(t).slice(8,-1);return"Object"===o&&t.constructor&&(o=t.constructor.name),"Map"===o||"Set"===o?Array.from(t):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?e(t,n):void 0}}(n,o)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),i=r[1],a=r[3];if("function"==typeof btoa){var s=btoa(unescape(encodeURIComponent(JSON.stringify(a)))),c="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(s),l="/*# ".concat(c," */"),p=a.sources.map((function(t){return"/*# sourceURL=".concat(a.sourceRoot||"").concat(t," */")}));return[i].concat(p).concat([l]).join("\n")}return[i].join("\n")}},1397:function(t,e,n){"use strict";var o=this&&this.__awaiter||function(t,e,n,o){return new(n||(n=Promise))((function(r,i){function a(t){try{c(o.next(t))}catch(t){i(t)}}function s(t){try{c(o.throw(t))}catch(t){i(t)}}function c(t){var e;t.done?r(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,s)}c((o=o.apply(t,e||[])).next())}))};Object.defineProperty(e,"__esModule",{value:!0}),e.Component=void 0;const r=n(5969),i=n(5773),a=n(3804);e.Component=t=>e=>{var n;const s=t.tag||a.toKebabCase(e.prototype.constructor.name),c=((n=class extends e{constructor(){super(),this.props={},this.showShadowRoot=null==t.shadow||t.shadow,!this.shadowRoot&&this.showShadowRoot&&this.attachShadow({mode:"open"})}static get observedAttributes(){return Object.keys(this.propsInit||{}).map((t=>a.toKebabCase(t)))}attributeChangedCallback(t,e,n){this.onAttributeChange(t,e,n)}onAttributeChange(t,e,n,o=!0){if(e!=n){o&&(this[a.toCamelCase(t)]=n);const r=this.constructor.watchAttributes;if(r&&r[t]){const o=r[t];this.__connected&&"function"==typeof this[o]&&this[o]({old:e,new:n})}}}connectedCallback(){const t=Object.create(null,{connectedCallback:{get:()=>super.connectedCallback}});return o(this,void 0,void 0,(function*(){yield this.render(),t.connectedCallback&&t.connectedCallback.call(this),this.__connected=!0,r.addEventListeners(this),i.initializeProps(this)}))}render(){return o(this,void 0,void 0,(function*(){if(this.__connected)return;const e=document.createElement("template");e.innerHTML=yield this.getStyle(),t.template instanceof Promise?e.content.appendChild(yield this.getExternalTemplate()):"string"==typeof t.template&&(e.innerHTML+=t.template),(this.showShadowRoot?this.shadowRoot:this).appendChild(e.content.cloneNode(!0))}))}getExternalTemplate(){return o(this,void 0,void 0,(function*(){const e=(yield t.template).default.toString(),n=document.createRange().createContextualFragment(e);return 1===n.children.length&&"TEMPLATE"===n.children[0].nodeName?n.firstChild.content:n}))}getStyle(){return o(this,void 0,void 0,(function*(){let e;return t.style instanceof Promise?e=(yield t.style).default.toString():"string"==typeof t.style&&(e=t.style),e?`<style>${e}</style>`:""}))}}).__connected=!1,n.ready=new Promise(((t,e)=>t(!0))),n);return customElements.get(s)||customElements.define(s,c),c}},985:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CustomElement=void 0;class n extends HTMLElement{constructor(){super()}connect(t){this.isConnected||document.querySelector(t).appendChild(this)}}e.CustomElement=n},265:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getShadowRootElement=e.getElement=void 0,e.getElement=t=>document.querySelector(t),e.getShadowRootElement=(t,e)=>t.shadowRoot.querySelector(e)},406:function(t,e,n){"use strict";var o=this&&this.__createBinding||(Object.create?function(t,e,n,o){void 0===o&&(o=n),Object.defineProperty(t,o,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,o){void 0===o&&(o=n),t[o]=e[n]}),r=this&&this.__exportStar||function(t,e){for(var n in t)"default"===n||Object.prototype.hasOwnProperty.call(e,n)||o(e,t,n)};Object.defineProperty(e,"__esModule",{value:!0}),r(n(1397),e),r(n(985),e),r(n(265),e),r(n(5969),e),r(n(5773),e),r(n(4271),e),r(n(9766),e),r(n(4938),e)},5969:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Dispatch=e.addEventListeners=e.Listen=void 0;const o=n(3804);e.Listen=(t,e)=>(n,o)=>{n.constructor.listeners||(n.constructor.listeners=[]),n.constructor.listeners.push({selector:e,eventName:t,handler:n[o]})},e.addEventListeners=t=>{if(t.constructor.listeners){const e=t.shadowRoot||t;for(const n of t.constructor.listeners){const o=n.selector?e.querySelector(n.selector)?e.querySelector(n.selector):null:t;o&&o.addEventListener(n.eventName,(e=>{n.handler.call(t,e)}))}}},e.Dispatch=t=>(e,n)=>{Object.defineProperty(e,n,{get:function(){const e=this;return{emit(r){const i=t||o.toDotCase(n);e.dispatchEvent(new CustomEvent(i,r))}}}})}},5773:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.initializeProps=e.Prop=void 0;const o=n(3804);e.Prop=()=>(t,e)=>{const n=o.toKebabCase(e);t.constructor.propsInit||(t.constructor.propsInit={}),t.constructor.propsInit[e]=null,Object.defineProperty(t,e,{get:function(){return this.props[e]?this.props[e]:this.getAttribute(n)},set:function(t){if(this.__connected){const r=this.props[e];this.props[e]=o.tryParseInt(t),"object"!=typeof t?this.setAttribute(n,t):this.onAttributeChange(n,r,t,!1)}else this.hasAttribute(o.toKebabCase(e))||(this.constructor.propsInit[e]=t)}})},e.initializeProps=t=>{const e=t.constructor.watchAttributes;for(let n of(t=>{const e=t.constructor.watchAttributes,n=Object.assign({},e);Object.keys(n).forEach((t=>n[t]=""));const o=Object.assign(Object.assign({},n),t.constructor.propsInit);return Object.keys(o)})(t)){if(e)if(null==e[o.toKebabCase(n)])e[o.toKebabCase(n)]="";else{const r=t.props[n]||t.getAttribute(o.toKebabCase(n));"function"==typeof t[e[n]]&&t[e[n]]({new:r})}t.constructor.propsInit[n]&&(t.hasAttribute(o.toKebabCase(n))||(t[n]=t.constructor.propsInit[n]))}}},4271:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Toggle=void 0;const o=n(3804);e.Toggle=()=>(t,e)=>{t.constructor.propsInit||(t.constructor.propsInit={}),t.constructor.propsInit[e]=null,Object.defineProperty(t,e,{get:function(){return(t=>{if(this.hasAttribute(t)){const e=this.getAttribute(t);return!!/^(true|false|^$)$/.test(e)&&("true"==e||""==e)}return!1})(e)},set:function(t){const n=t;if(null!=t)switch(typeof t){case"boolean":break;case"string":/^(true|false|^$)$/.test(t)?t="true"==n||""==n:(console.warn(`TypeError: Cannot set boolean toggle property '${e}' to '${t}'`),t=!1);break;default:throw`TypeError: Cannot set boolean toggle property '${e}' to '${t}'`}this.__connected?(this.props[e]=t||!1,""!==n&&null!==n?this.setAttribute(e,t):t?this.setAttribute(e,""):this.removeAttribute(e)):this.hasAttribute(o.toKebabCase(e))||(this.constructor.propsInit[e]=t)}})}},9766:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0})},3804:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.tryParseInt=e.toDotCase=e.toCamelCase=e.toKebabCase=void 0,e.toKebabCase=t=>t.replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[\s_]+/g,"-").toLowerCase(),e.toCamelCase=t=>t.toLowerCase().replace(/(\-\w)/g,(t=>t[1].toUpperCase())),e.toDotCase=t=>t.replace(/(?!^)([A-Z])/g," $1").replace(/[_\s]+(?=[a-zA-Z])/g,".").toLowerCase(),e.tryParseInt=t=>parseInt(t)==t&&NaN!==parseFloat(t)?parseInt(t):t},4938:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Watch=void 0;const o=n(3804);e.Watch=t=>(e,n)=>{e.constructor.watchAttributes||(e.constructor.watchAttributes={}),e.constructor.watchAttributes[o.toKebabCase(t)]=n,e.constructor.propsInit||(e.constructor.propsInit={}),e.constructor.propsInit[t]=null}},93:t=>{t.exports='<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 350 55"><defs><style>.__2RF-ozW__cls-1{fill:#4d4d4f;}.__2RF-ozW__cls-2{fill:#a6a8ab;}.__2RF-ozW__cls-3{fill:#bbbdbf;}.__2RF-ozW__cls-4{fill:#6d6e70;}.__2RF-ozW__cls-5{fill:#929497;}.__2RF-ozW__cls-6{fill:#fe5000;}.__2RF-ozW__cls-7{fill:#404041;}</style></defs><title>Artboard 1</title><polygon class="__2RF-ozW__cls-1 " points="20.9 30.4 20.9 54.5 0 42.4 20.9 30.4"></polygon><polygon class="__2RF-ozW__cls-2 " points="20.9 6.3 20.9 30.4 0 18.3 20.9 6.3"></polygon><polyline class="__2RF-ozW__cls-3 " points="20.9 30.4 41.8 42.4 41.8 18.3 20.9 30.4"></polyline><polyline class="__2RF-ozW__cls-4 " points="20.9 30.4 0 42.4 0 18.3 20.9 30.4"></polyline><polyline class="__2RF-ozW__cls-5 " points="20.9 30.4 20.9 54.5 41.8 42.4 20.9 30.4"></polyline><path class="__2RF-ozW__cls-6 " d="M24.5,9.1a8.08,8.08,0,0,1,1.2-4.7,8.78,8.78,0,0,1,15.2,8.8,9.49,9.49,0,0,1-3.5,3.4L24.5,24Zm13,2.1a4.8,4.8,0,0,0-1.8-6.7A4.93,4.93,0,0,0,29,6.3a4.84,4.84,0,0,0-.7,2.6A5,5,0,0,0,30.8,13a4.84,4.84,0,0,0,4.8.1A3.9,3.9,0,0,0,37.5,11.2Z"></path><path class="__2RF-ozW__cls-7 " d="M274.2,48.7h4.6c.2,0,.3-.2.4-.3s.1-.2,0-.2c-.8-1.6-5.2-10.2-6.6-12.8l-.1-.3.3-.1a9.48,9.48,0,0,0,2.7-1.7,11,11,0,0,0,3.3-5.8,12.47,12.47,0,0,0,.1-4.7,10.29,10.29,0,0,0-4.1-6.7,9.75,9.75,0,0,0-5.1-1.9H253.3c-.6,0-.7.1-.7.7v33c0,.6.1.7.7.7h5c.6,0,.7-.1.7-.7V35.8h5.7a.87.87,0,0,1,.9.5c.1.2.9,1.7,1.8,3.6,1.3,2.6,3.1,6.1,4.1,8a1.16,1.16,0,0,0,1.2.8ZM259,29.9V20h9.2a4.27,4.27,0,0,1,4.1,3.3,6.65,6.65,0,0,1-.2,4.2,3.84,3.84,0,0,1-3.6,2.5h0Z"></path><path class="__2RF-ozW__cls-7 " d="M104.6,14.2c-.6,0-.7.1-.7.7v33c0,.6.1.7.7.7H127c.6,0,.7-.1.7-.7V43.6c0-.6-.1-.7-.7-.7H110.3V34.2h13.3c.6,0,.7-.1.7-.7V29.4c0-.6-.1-.7-.7-.7H110.3V20H127c.6,0,.7-.1.7-.7V15c0-.6-.1-.7-.7-.7H104.6Z"></path><path class="__2RF-ozW__cls-7 " d="M326.9,14.2c-.6,0-.7.1-.7.7v33c0,.6.1.7.7.7h22.4c.6,0,.7-.1.7-.7V43.6c0-.6-.1-.7-.7-.7H332.6V34.2h13.3c.6,0,.7-.1.7-.7V29.4c0-.6-.1-.7-.7-.7H332.6V20h16.7c.6,0,.7-.1.7-.7V15c0-.6-.1-.7-.7-.7H326.9Z"></path><path class="__2RF-ozW__cls-7 " d="M149.7,13.8a17.7,17.7,0,1,0,17.6,17.7A17.65,17.65,0,0,0,149.7,13.8Zm0,29.5c-6.2,0-11.2-5.3-11.2-11.9s5-11.9,11.2-11.9,11.2,5.3,11.2,11.9S155.9,43.3,149.7,43.3Z"></path><path class="__2RF-ozW__cls-7 " d="M228.2,13.8a17.7,17.7,0,1,0,17.6,17.7A17.65,17.65,0,0,0,228.2,13.8Zm0,29.5C222,43.3,217,38,217,31.5s5-11.9,11.2-11.9,11.2,5.3,11.2,11.9S234.4,43.3,228.2,43.3Z"></path><path class="__2RF-ozW__cls-7 " d="M80.2,13.8A17.7,17.7,0,1,0,97.8,31.5V29.4c0-.6-.1-.7-.7-.7H79.6c-.6,0-.7.1-.7.7v4.1c0,.3,0,.5.1.6s.3.1.6.1H91.1l-.1.6a11.38,11.38,0,0,1-10.8,8.5C74.1,43.3,69,38,69,31.5s5-11.9,11.2-11.9a10.91,10.91,0,0,1,7.3,2.8c.5.5.7.5,1.1,0l3.2-3.2c.5-.5.5-.6,0-1.1A17.53,17.53,0,0,0,80.2,13.8Z"></path><path class="__2RF-ozW__cls-7 " d="M302.6,13.8a17.7,17.7,0,1,0,17.6,17.7V29.4c0-.6-.1-.7-.7-.7H302c-.6,0-.7.1-.7.7v4.1c0,.3,0,.5.1.6s.3.1.6.1h11.5l-.1.6a11.38,11.38,0,0,1-10.8,8.5c-6.2,0-11.2-5.3-11.2-11.9s5-11.9,11.2-11.9a10.91,10.91,0,0,1,7.3,2.8c.5.5.7.5,1.1,0l3.2-3.2c.5-.5.5-.6,0-1.1A18.16,18.16,0,0,0,302.6,13.8Z"></path><path class="__2RF-ozW__cls-7 " d="M180.9,26c.1,0,.1,0,.2.1,2.2,1.4,12.7,8.3,15.6,10.2a1.25,1.25,0,0,1,.6,1.1V48.1c0,.6.1.7.7.7h5c.6,0,.7-.1.7-.7v-33c0-.6-.1-.7-.7-.7h-5c-.6,0-.7.1-.7.7V29.3L174.8,14.1a.76.76,0,0,0-.4-.1.52.52,0,0,0-.2.4V48.1c0,.6.1.7.7.7h5c.6,0,.7-.1.7-.7V26Z"></path></svg>'},7329:function(t,e,n){"use strict";var o=this&&this.__createBinding||(Object.create?function(t,e,n,o){void 0===o&&(o=n),Object.defineProperty(t,o,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,o){void 0===o&&(o=n),t[o]=e[n]}),r=this&&this.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),i=this&&this.__decorate||function(t,e,n,o){var r,i=arguments.length,a=i<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,o);else for(var s=t.length-1;s>=0;s--)(r=t[s])&&(a=(i<3?r(a):i>3?r(e,n,a):r(e,n))||a);return i>3&&a&&Object.defineProperty(e,n,a),a},a=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)"default"!==n&&Object.prototype.hasOwnProperty.call(t,n)&&o(e,t,n);return r(e,t),e},s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.GeonorgeFooter=void 0;const c=n(406),l=n(1406),p=s(n(93)),d=n(8607).Z;let u=class extends c.CustomElement{constructor(){super()}setup(t){this.connect(t.container),t.id&&(this.id=t.id)}getLinkList(t,e){return"en"===t?`<li><a href="${l.getGeonorgeUrl(t,e)}about/what-is-geonorge/">What is Geonorge</a></li>`:`\n <li><a href="${l.getGeonorgeUrl(t,e)}aktuelt/om-geonorge/">Om Geonorge</a></li>\n <li><a href="${l.getGeonorgeUrl(t,e)}aktuelt/Nyheter/annet/personvern-og-bruk-av-cookies/">Personvern og bruk av cookies</a></li>\n `}getContactInfoText(t,e){return"en"===t?'\n <p>\n Telephone: +47 32 11 80 00<br>\n <a title="post@norgedigitalt.no" href="mailto:post@norgedigitalt.no">post@norgedigitalt.no</a><br>\n Org. nr.: 971 040 238\n </p>\n ':'\n <p>\n Telefon: 32 11 80 00<br>\n <a title="post@norgedigitalt.no" href="mailto:post@norgedigitalt.no">post@norgedigitalt.no</a><br>\n Org. nr.: 971 040 238\n </p>\n '}connectedCallback(){this.geonorgeFooterElement=c.getShadowRootElement(this,"#geonorge-footer"),this.geonorgeLogoElement=c.getShadowRootElement(this,"#geonorge-logo"),this.kartverketLogoElement=c.getShadowRootElement(this,"#kartverket-logo"),this.linkListElement=c.getShadowRootElement(this,"#link-list"),this.aboutSiteHeader=c.getShadowRootElement(this,"#about-site-header"),this.contactHeader=c.getShadowRootElement(this,"#contact-header"),this.aSolutionByText=c.getShadowRootElement(this,"#a-solution-by-text"),this.contactInfoText=c.getShadowRootElement(this,"#contact-info-text"),this.geonorgeFooterElement.setAttribute("environment",this.environment),this.geonorgeLogoElement.innerHTML=p.default,this.kartverketLogoElement.src=d,this.linkListElement.innerHTML=this.getLinkList(this.language,this.environment),this.contactInfoText.innerHTML=this.getContactInfoText(this.language,this.environment),this.aboutSiteHeader.innerText="en"===this.language?"About":"Om nettstedet",this.contactHeader.innerText="en"===this.language?"Contact":"Kontakt",this.aSolutionByText.innerText="en"===this.language?"A solution by":"Kontakt"}languageChanged(){this.linkListElement.innerHTML=this.getLinkList(this.language,this.environment),this.contactInfoText.innerHTML=this.getContactInfoText(this.language,this.environment),this.aboutSiteHeader.innerText="en"===this.language?"About":"Om nettstedet",this.contactHeader.innerText="en"===this.language?"Contact":"Kontakt",this.aSolutionByText.innerText="en"===this.language?"A solution by":"En løsning fra"}};u.elementSelector="geonorge-footer",i([c.Prop()],u.prototype,"id",void 0),i([c.Prop()],u.prototype,"environment",void 0),i([c.Prop()],u.prototype,"language",void 0),i([c.Watch("language")],u.prototype,"languageChanged",null),u=i([c.Component({tag:"geonorge-footer",template:Promise.resolve().then((()=>a(n(8259)))),style:Promise.resolve().then((()=>a(n(1325))))})],u),e.GeonorgeFooter=u},1406:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.renderDropdownResultLink=e.convertTextToUrlSlug=e.getGeonorgeNedlastingUrl=e.getGeonorgeUrl=e.getKartkatalogUrl=void 0,e.getKartkatalogUrl=t=>`https://kartkatalog.${"dev"===t||"test"===t?t+".":""}geonorge.no`,e.getGeonorgeUrl=(t,e)=>`https://www.${"dev"===e||"test"===e?"test.":""}geonorge.no/${"en"===t?"en/":""}`,e.getGeonorgeNedlastingUrl=t=>`https://nedlasting.${"dev"===t||"test"===t?"test.":""}geonorge.no`;const n=(t,e,n)=>(t=(t=(t=t.replace(new RegExp(`([^s])([${e}])([^s])`,"ig"),`$1 ${n} $3`)).replace(new RegExp(`([^s])([${e}])`,"ig"),`$1 ${n}`)).replace(new RegExp(`([${e}])([^s])`,"ig"),`${n} $2`)).replace(new RegExp(`[${e}]`,"ig"),n);e.convertTextToUrlSlug=(t="")=>(t=t.toLowerCase(),t=n(t,"&","and"),(t=(t=(t=(t=(t=(t=(t=(t=(t=n(t,"+","plus")).replace("æ","ae")).replace("ä","ae")).replace("ø","oe")).replace("ö","oe")).replace("å","aa")).replace(/( - )/g,"-")).replace(/[\s]+/g,"-")).replace(/[^a-z0-9-]+/gi,"")).replace(/^[^A-Z0-9]*|[^a-z0-9]*$/gi,""));const o=(t,e)=>{if(!e)return!1;e({event:"updateSearchString",category:"metadataSearch",activity:"dropDownResultsClick",searchString:t})};e.renderDropdownResultLink=(t,n,r,i,a)=>"articles"===n?`<a onClick="${o(r,a)}" href="${t.ShowDetailsUrl?t.ShowDetailsUrl:"#"}">${t.Title}</a>`:`<a onClick="${o(r,a)}" href="${e.getKartkatalogUrl(i)}/metadata/${e.convertTextToUrlSlug(t.Title)}/${t.Uuid}">${t.Title}</a>`}},e={};function n(o){var r=e[o];if(void 0!==r)return r.exports;var i=e[o]={id:o,exports:{}};return t[o].call(i.exports,i,i.exports,n),i.exports}return n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var o in e)n.o(e,o)&&!n.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},(()=>{var t;n.g.importScripts&&(t=n.g.location+"");var e=n.g.document;if(!t&&e&&(e.currentScript&&(t=e.currentScript.src),!t)){var o=e.getElementsByTagName("script");o.length&&(t=o[o.length-1].src)}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),n.p=t})(),n(7329)})()}));
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.geonorge=e():(t.geonorge=t.geonorge||{},t.geonorge.GeonorgeFooter=e())}(self,(function(){return(()=>{var t={1325:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>s});var o=n(3062),r=n.n(o),a=n(7638),i=n.n(a)()(r());i.push([t.id,'*{box-sizing:border-box}footer{font-family:"Open Sans",sans-serif;border-top:solid 8px #fe5000;font-size:14px}footer .content-container{padding:40px 15px;margin:auto;justify-content:space-between}@media(min-width: 768px){footer .content-container{width:750px}}@media(min-width: 992px){footer .content-container{width:970px;display:flex}}@media(min-width: 1200px){footer .content-container{width:1170px}}footer .content-container>div{flex:1}footer .content-container>div:not(:first-child):before{border-bottom:solid #fe5000 2px;content:"";margin-top:18px;margin-bottom:6px;position:relative;width:50px;display:block}@media(min-width: 992px){footer .content-container>div:not(:first-child):before{border-bottom:none;margin:0}}footer .content-container>div h2{font-family:"Open Sans",sans-serif;font-size:14pt;font-weight:600;color:#2f3940;margin-top:0;text-transform:uppercase}footer .content-container>div p{color:#2f3940;font-family:"Open Sans",sans-serif;font-size:12pt;font-weight:400;line-height:22pt;color:#2f3940;margin:0 0 10px}@media(min-width: 992px){footer .content-container>div p{font-size:14pt;line-height:24pt}}footer .content-container>div a{color:#3767c7;text-decoration:none}footer .content-container>div a:hover{text-decoration:underline}footer .content-container>div hr{margin:20px 0;border-top-color:#d8d8d8}footer .content-container>div ul.link-list{list-style:none;margin:0;padding:0}footer .content-container>div ul.link-list li{margin-left:0;background-position:0 10px;background-repeat:no-repeat;background-size:10px 10px;font-family:"Open Sans",sans-serif;font-style:italic;font-size:12pt;line-height:24pt}@media(min-width: 992px){footer .content-container>div ul.link-list li{font-size:14pt}}footer .content-container>div ul.link-list li:before{content:"";width:6px;height:0px;border-top:6px solid transparent;border-bottom:6px solid transparent;border-left:10px solid #2f3940;display:inline-block}@media(min-width: 992px){footer .content-container>div ul.link-list li:before{width:8px;border-top:7px solid transparent;border-bottom:7px solid transparent;border-left:12px solid #2f3940}}footer .content-container>div #geonorge-logo{max-width:230px}footer .content-container>div #kartverket-logo{max-width:195px}',"",{version:3,sources:["webpack://./custom-elements/geonorge-footer/geonorge-footer.scss","webpack://./style/variables/_typography.scss","webpack://./style/mixins/_breakpoints.scss","webpack://./style/variables/_colors.scss"],names:[],mappings:"AAEA,EACI,qBAAA,CAGJ,OACI,kCCPW,CDQX,4BAAA,CACA,cAAA,CACA,0BACI,iBAAA,CACA,WAAA,CACA,6BAAA,CEHA,yBAAA,0BFKI,WAAA,CAAA,CETJ,yBFIJ,0BAQQ,WAAA,CACA,YAAA,CAAA,CEjBJ,0BFQJ,0BAYQ,YAAA,CAAA,CAEJ,8BACI,MAAA,CACA,uDACI,+BAAA,CACA,UAAA,CACA,eAAA,CACA,iBAAA,CACA,iBAAA,CACA,UAAA,CACA,aAAA,CE3BR,yBFoBI,uDASQ,kBAAA,CACA,QAAA,CAAA,CAGR,iCACI,kCCxCD,CDyCC,cAAA,CACA,eAAA,CACA,aGpCF,CHqCE,YAAA,CACA,wBAAA,CAEJ,gCACI,aGzCF,CH0CE,kCCjDD,CDkDC,cAAA,CACA,eAAA,CACA,gBAAA,CACA,aG9CF,CH+CE,eAAA,CEhDR,yBFyCI,gCASQ,cAAA,CACA,gBAAA,CAAA,CAGR,gCACI,aG/CD,CHgDC,oBAAA,CACA,sCACI,yBAAA,CAGR,iCACI,aAAA,CACA,wBGlEC,CHoEL,2CACI,eAAA,CACA,QAAA,CACA,SAAA,CACA,8CACI,aAAA,CACA,0BAAA,CACA,2BAAA,CACA,yBAAA,CACA,kCAAA,CACA,iBAAA,CACA,cAAA,CACA,gBAAA,CE7EZ,yBFqEQ,8CAUQ,cAAA,CAAA,CAEJ,qDACI,UAAA,CACA,SAAA,CACA,UAAA,CACA,gCAAA,CACA,mCAAA,CACA,8BAAA,CACA,oBAAA,CExFhB,yBFiFY,qDASQ,SAAA,CACA,gCAAA,CACA,mCAAA,CACA,8BAAA,CAAA,CAKhB,6CACI,eAAA,CAEJ,+CACI,eAAA",sourcesContent:['@import "../../style/all";\n\n* {\n box-sizing: border-box;\n}\n\nfooter {\n font-family: $default-font;\n border-top: solid 8px $primary-brand;\n font-size: 14px;\n .content-container {\n padding: 40px 15px;\n margin: auto;\n justify-content: space-between;\n @include breakpoint(tablet) {\n width: 750px;\n }\n @include breakpoint(laptop) {\n width: 970px;\n display: flex;\n }\n @include breakpoint(desktop) {\n width: 1170px;\n }\n > div {\n flex: 1;\n &:not(:first-child):before {\n border-bottom: solid #fe5000 2px;\n content: "";\n margin-top: 18px;\n margin-bottom: 6px;\n position: relative;\n width: 50px;\n display: block;\n @include breakpoint(laptop) {\n border-bottom: none;\n margin: 0;\n }\n }\n h2 {\n font-family: $default-font;\n font-size: 14pt;\n font-weight: 600;\n color: $default-text;\n margin-top: 0;\n text-transform: uppercase;\n }\n p {\n color: $default-text;\n font-family: $default-font;\n font-size: 12pt;\n font-weight: 400;\n line-height: 22pt;\n color: $default-text;\n margin: 0 0 10px;\n @include breakpoint(laptop) {\n font-size: 14pt;\n line-height: 24pt;\n }\n }\n a {\n color: $primary-text;\n text-decoration: none;\n &:hover {\n text-decoration: underline;\n }\n }\n hr {\n margin: 20px 0;\n border-top-color: $default-border;\n }\n ul.link-list {\n list-style: none;\n margin: 0;\n padding: 0;\n li {\n margin-left: 0;\n background-position: 0 10px;\n background-repeat: no-repeat;\n background-size: 10px 10px;\n font-family: "Open Sans", sans-serif;\n font-style: italic;\n font-size: 12pt;\n line-height: 24pt;\n @include breakpoint(laptop) {\n font-size: 14pt;\n }\n &:before {\n content: "";\n width: 6px;\n height: 0px;\n border-top: 6px solid transparent;\n border-bottom: 6px solid transparent;\n border-left: 10px solid $default-text;\n display: inline-block;\n @include breakpoint(laptop) {\n width: 8px;\n border-top: 7px solid transparent;\n border-bottom: 7px solid transparent;\n border-left: 12px solid $default-text;\n }\n }\n }\n }\n #geonorge-logo {\n max-width: 230px;\n }\n #kartverket-logo {\n max-width: 195px;\n }\n }\n }\n}\n','$default-font: "Open Sans", sans-serif;\n$header-font: "Raleway";',"@mixin breakpoint($point) {\n @if $point == desktop {\n @media (min-width: $screen-desktop) {\n @content;\n }\n } @else if $point == laptop {\n @media (min-width: $screen-laptop) {\n @content;\n }\n } @else if $point == tablet {\n @media (min-width: $screen-tablet) {\n @content;\n }\n } @else if $point == phablet {\n @media (min-width: $screen-phablet) {\n @content;\n }\n }\n}\n","$body-background: #ffffff;\n$navigation-bar-background: #f7f7f7;\n$hover-background: rgba(0,0,0,.05);\n$default-border: #d8d8d8;\n\n$default-background: #eee;\n$default-background-hover: #ddd;\n$default-text:#2F3940;\n\n$primary-brand: #FE5000;\n$secondary-brand: #7da1c4;\n\n$primary-background: #7DA1C4;\n$primary-background-hover: #FE5000;\n$primary-text: #3767C7;\n$primary-text-hover:#0056b3;\n\n\n$success-background: #06A755;\n$success-background-hover: #009745;\n$success-text: #06A755;\n\n\n$warning-background: #C38621;\n$warning-background-hover: #B37611;\n$warning-text: #C38621;\n\n$danger-background: #E00d0D;\n$danger-background-hover: #D00000;\n$danger-text: #E00d0D;\n\n$disabled-background: #ffffff;\n$disabled-text: #d8d8d8;\n"],sourceRoot:""}]);const s=i},8259:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>o});const o='<template>\n <footer id="geonorge-footer">\n <div class="content-container">\n <div>\n <div id="geonorge-logo"></div>\n </div>\n <div>\n <h2 id="about-site-header">Om nettstedet:</h2>\n <ul id="link-list" class="link-list">\n <li>\n <a id="aboutGeonorgeLink" href="/aktuelt/om-geonorge/">Om Geonorge</a>\n </li>\n <li>\n <a id="cookieInfoLink" href="/aktuelt/Nyheter/annet/personvern-og-bruk-av-cookies/">Personvern\n og bruk av cookies</a>\n </li>\n </ul>\n </div>\n <div>\n <h2 id="contact-header">Kontakt:</h2>\n <p id="contact-info-text">Telefon: 32 11 80 00<br><a title="post@norgedigitalt.no"\n href="mailto:post@norgedigitalt.no">post@norgedigitalt.no</a><br>Org. nr.: 971 040 238</p>\n <hr>\n <p id="a-solution-by-text">En løsning fra</p>\n <a href="http://www.kartverket.no">\n <div id="kartverket-logo"></div>\n </a>\n </div>\n </div>\n </footer>\n</template>'},7638:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n=t(e);return e[2]?"@media ".concat(e[2]," {").concat(n,"}"):n})).join("")},e.i=function(t,n,o){"string"==typeof t&&(t=[[null,t,""]]);var r={};if(o)for(var a=0;a<this.length;a++){var i=this[a][0];null!=i&&(r[i]=!0)}for(var s=0;s<t.length;s++){var l=[].concat(t[s]);o&&r[l[0]]||(n&&(l[2]?l[2]="".concat(n," and ").concat(l[2]):l[2]=n),e.push(l))}},e}},3062:t=>{"use strict";function e(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}t.exports=function(t){var n,o,r=(o=4,function(t){if(Array.isArray(t))return t}(n=t)||function(t,e){var n=t&&("undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"]);if(null!=n){var o,r,a=[],i=!0,s=!1;try{for(n=n.call(t);!(i=(o=n.next()).done)&&(a.push(o.value),!e||a.length!==e);i=!0);}catch(t){s=!0,r=t}finally{try{i||null==n.return||n.return()}finally{if(s)throw r}}return a}}(n,o)||function(t,n){if(t){if("string"==typeof t)return e(t,n);var o=Object.prototype.toString.call(t).slice(8,-1);return"Object"===o&&t.constructor&&(o=t.constructor.name),"Map"===o||"Set"===o?Array.from(t):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?e(t,n):void 0}}(n,o)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),a=r[1],i=r[3];if("function"==typeof btoa){var s=btoa(unescape(encodeURIComponent(JSON.stringify(i)))),l="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(s),c="/*# ".concat(l," */"),p=i.sources.map((function(t){return"/*# sourceURL=".concat(i.sourceRoot||"").concat(t," */")}));return[a].concat(p).concat([c]).join("\n")}return[a].join("\n")}},1397:function(t,e,n){"use strict";var o=this&&this.__awaiter||function(t,e,n,o){return new(n||(n=Promise))((function(r,a){function i(t){try{l(o.next(t))}catch(t){a(t)}}function s(t){try{l(o.throw(t))}catch(t){a(t)}}function l(t){var e;t.done?r(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(i,s)}l((o=o.apply(t,e||[])).next())}))};Object.defineProperty(e,"__esModule",{value:!0}),e.Component=void 0;const r=n(5969),a=n(5773),i=n(3804);e.Component=t=>e=>{var n;const s=t.tag||i.toKebabCase(e.prototype.constructor.name),l=((n=class extends e{constructor(){super(),this.props={},this.showShadowRoot=null==t.shadow||t.shadow,!this.shadowRoot&&this.showShadowRoot&&this.attachShadow({mode:"open"})}static get observedAttributes(){return Object.keys(this.propsInit||{}).map((t=>i.toKebabCase(t)))}attributeChangedCallback(t,e,n){this.onAttributeChange(t,e,n)}onAttributeChange(t,e,n,o=!0){if(e!=n){o&&(this[i.toCamelCase(t)]=n);const r=this.constructor.watchAttributes;if(r&&r[t]){const o=r[t];this.__connected&&"function"==typeof this[o]&&this[o]({old:e,new:n})}}}connectedCallback(){const t=Object.create(null,{connectedCallback:{get:()=>super.connectedCallback}});return o(this,void 0,void 0,(function*(){yield this.render(),t.connectedCallback&&t.connectedCallback.call(this),this.__connected=!0,r.addEventListeners(this),a.initializeProps(this)}))}render(){return o(this,void 0,void 0,(function*(){if(this.__connected)return;const e=document.createElement("template");e.innerHTML=yield this.getStyle(),t.template instanceof Promise?e.content.appendChild(yield this.getExternalTemplate()):"string"==typeof t.template&&(e.innerHTML+=t.template),(this.showShadowRoot?this.shadowRoot:this).appendChild(e.content.cloneNode(!0))}))}getExternalTemplate(){return o(this,void 0,void 0,(function*(){const e=(yield t.template).default.toString(),n=document.createRange().createContextualFragment(e);return 1===n.children.length&&"TEMPLATE"===n.children[0].nodeName?n.firstChild.content:n}))}getStyle(){return o(this,void 0,void 0,(function*(){let e;return t.style instanceof Promise?e=(yield t.style).default.toString():"string"==typeof t.style&&(e=t.style),e?`<style>${e}</style>`:""}))}}).__connected=!1,n.ready=new Promise(((t,e)=>t(!0))),n);return customElements.get(s)||customElements.define(s,l),l}},985:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CustomElement=void 0;class n extends HTMLElement{constructor(){super()}connect(t){this.isConnected||document.querySelector(t).appendChild(this)}}e.CustomElement=n},265:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getShadowRootElement=e.getElement=void 0,e.getElement=t=>document.querySelector(t),e.getShadowRootElement=(t,e)=>t.shadowRoot.querySelector(e)},406:function(t,e,n){"use strict";var o=this&&this.__createBinding||(Object.create?function(t,e,n,o){void 0===o&&(o=n),Object.defineProperty(t,o,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,o){void 0===o&&(o=n),t[o]=e[n]}),r=this&&this.__exportStar||function(t,e){for(var n in t)"default"===n||Object.prototype.hasOwnProperty.call(e,n)||o(e,t,n)};Object.defineProperty(e,"__esModule",{value:!0}),r(n(1397),e),r(n(985),e),r(n(265),e),r(n(5969),e),r(n(5773),e),r(n(4271),e),r(n(9766),e),r(n(4938),e)},5969:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Dispatch=e.addEventListeners=e.Listen=void 0;const o=n(3804);e.Listen=(t,e)=>(n,o)=>{n.constructor.listeners||(n.constructor.listeners=[]),n.constructor.listeners.push({selector:e,eventName:t,handler:n[o]})},e.addEventListeners=t=>{if(t.constructor.listeners){const e=t.shadowRoot||t;for(const n of t.constructor.listeners){const o=n.selector?e.querySelector(n.selector)?e.querySelector(n.selector):null:t;o&&o.addEventListener(n.eventName,(e=>{n.handler.call(t,e)}))}}},e.Dispatch=t=>(e,n)=>{Object.defineProperty(e,n,{get:function(){const e=this;return{emit(r){const a=t||o.toDotCase(n);e.dispatchEvent(new CustomEvent(a,r))}}}})}},5773:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.initializeProps=e.Prop=void 0;const o=n(3804);e.Prop=()=>(t,e)=>{const n=o.toKebabCase(e);t.constructor.propsInit||(t.constructor.propsInit={}),t.constructor.propsInit[e]=null,Object.defineProperty(t,e,{get:function(){return this.props[e]?this.props[e]:this.getAttribute(n)},set:function(t){if(this.__connected){const r=this.props[e];this.props[e]=o.tryParseInt(t),"object"!=typeof t?this.setAttribute(n,t):this.onAttributeChange(n,r,t,!1)}else this.hasAttribute(o.toKebabCase(e))||(this.constructor.propsInit[e]=t)}})},e.initializeProps=t=>{const e=t.constructor.watchAttributes;for(let n of(t=>{const e=t.constructor.watchAttributes,n=Object.assign({},e);Object.keys(n).forEach((t=>n[t]=""));const o=Object.assign(Object.assign({},n),t.constructor.propsInit);return Object.keys(o)})(t)){if(e)if(null==e[o.toKebabCase(n)])e[o.toKebabCase(n)]="";else{const r=t.props[n]||t.getAttribute(o.toKebabCase(n));"function"==typeof t[e[n]]&&t[e[n]]({new:r})}t.constructor.propsInit[n]&&(t.hasAttribute(o.toKebabCase(n))||(t[n]=t.constructor.propsInit[n]))}}},4271:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Toggle=void 0;const o=n(3804);e.Toggle=()=>(t,e)=>{t.constructor.propsInit||(t.constructor.propsInit={}),t.constructor.propsInit[e]=null,Object.defineProperty(t,e,{get:function(){return(t=>{if(this.hasAttribute(t)){const e=this.getAttribute(t);return!!/^(true|false|^$)$/.test(e)&&("true"==e||""==e)}return!1})(e)},set:function(t){const n=t;if(null!=t)switch(typeof t){case"boolean":break;case"string":/^(true|false|^$)$/.test(t)?t="true"==n||""==n:(console.warn(`TypeError: Cannot set boolean toggle property '${e}' to '${t}'`),t=!1);break;default:throw`TypeError: Cannot set boolean toggle property '${e}' to '${t}'`}this.__connected?(this.props[e]=t||!1,""!==n&&null!==n?this.setAttribute(e,t):t?this.setAttribute(e,""):this.removeAttribute(e)):this.hasAttribute(o.toKebabCase(e))||(this.constructor.propsInit[e]=t)}})}},9766:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0})},3804:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.tryParseInt=e.toDotCase=e.toCamelCase=e.toKebabCase=void 0,e.toKebabCase=t=>t.replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[\s_]+/g,"-").toLowerCase(),e.toCamelCase=t=>t.toLowerCase().replace(/(\-\w)/g,(t=>t[1].toUpperCase())),e.toDotCase=t=>t.replace(/(?!^)([A-Z])/g," $1").replace(/[_\s]+(?=[a-zA-Z])/g,".").toLowerCase(),e.tryParseInt=t=>parseInt(t)==t&&NaN!==parseFloat(t)?parseInt(t):t},4938:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Watch=void 0;const o=n(3804);e.Watch=t=>(e,n)=>{e.constructor.watchAttributes||(e.constructor.watchAttributes={}),e.constructor.watchAttributes[o.toKebabCase(t)]=n,e.constructor.propsInit||(e.constructor.propsInit={}),e.constructor.propsInit[t]=null}},93:t=>{t.exports='<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 350 55"><defs><style>.__2RF-ozW__cls-1{fill:#4d4d4f;}.__2RF-ozW__cls-2{fill:#a6a8ab;}.__2RF-ozW__cls-3{fill:#bbbdbf;}.__2RF-ozW__cls-4{fill:#6d6e70;}.__2RF-ozW__cls-5{fill:#929497;}.__2RF-ozW__cls-6{fill:#fe5000;}.__2RF-ozW__cls-7{fill:#404041;}</style></defs><title>Artboard 1</title><polygon class="__2RF-ozW__cls-1 " points="20.9 30.4 20.9 54.5 0 42.4 20.9 30.4"></polygon><polygon class="__2RF-ozW__cls-2 " points="20.9 6.3 20.9 30.4 0 18.3 20.9 6.3"></polygon><polyline class="__2RF-ozW__cls-3 " points="20.9 30.4 41.8 42.4 41.8 18.3 20.9 30.4"></polyline><polyline class="__2RF-ozW__cls-4 " points="20.9 30.4 0 42.4 0 18.3 20.9 30.4"></polyline><polyline class="__2RF-ozW__cls-5 " points="20.9 30.4 20.9 54.5 41.8 42.4 20.9 30.4"></polyline><path class="__2RF-ozW__cls-6 " d="M24.5,9.1a8.08,8.08,0,0,1,1.2-4.7,8.78,8.78,0,0,1,15.2,8.8,9.49,9.49,0,0,1-3.5,3.4L24.5,24Zm13,2.1a4.8,4.8,0,0,0-1.8-6.7A4.93,4.93,0,0,0,29,6.3a4.84,4.84,0,0,0-.7,2.6A5,5,0,0,0,30.8,13a4.84,4.84,0,0,0,4.8.1A3.9,3.9,0,0,0,37.5,11.2Z"></path><path class="__2RF-ozW__cls-7 " d="M274.2,48.7h4.6c.2,0,.3-.2.4-.3s.1-.2,0-.2c-.8-1.6-5.2-10.2-6.6-12.8l-.1-.3.3-.1a9.48,9.48,0,0,0,2.7-1.7,11,11,0,0,0,3.3-5.8,12.47,12.47,0,0,0,.1-4.7,10.29,10.29,0,0,0-4.1-6.7,9.75,9.75,0,0,0-5.1-1.9H253.3c-.6,0-.7.1-.7.7v33c0,.6.1.7.7.7h5c.6,0,.7-.1.7-.7V35.8h5.7a.87.87,0,0,1,.9.5c.1.2.9,1.7,1.8,3.6,1.3,2.6,3.1,6.1,4.1,8a1.16,1.16,0,0,0,1.2.8ZM259,29.9V20h9.2a4.27,4.27,0,0,1,4.1,3.3,6.65,6.65,0,0,1-.2,4.2,3.84,3.84,0,0,1-3.6,2.5h0Z"></path><path class="__2RF-ozW__cls-7 " d="M104.6,14.2c-.6,0-.7.1-.7.7v33c0,.6.1.7.7.7H127c.6,0,.7-.1.7-.7V43.6c0-.6-.1-.7-.7-.7H110.3V34.2h13.3c.6,0,.7-.1.7-.7V29.4c0-.6-.1-.7-.7-.7H110.3V20H127c.6,0,.7-.1.7-.7V15c0-.6-.1-.7-.7-.7H104.6Z"></path><path class="__2RF-ozW__cls-7 " d="M326.9,14.2c-.6,0-.7.1-.7.7v33c0,.6.1.7.7.7h22.4c.6,0,.7-.1.7-.7V43.6c0-.6-.1-.7-.7-.7H332.6V34.2h13.3c.6,0,.7-.1.7-.7V29.4c0-.6-.1-.7-.7-.7H332.6V20h16.7c.6,0,.7-.1.7-.7V15c0-.6-.1-.7-.7-.7H326.9Z"></path><path class="__2RF-ozW__cls-7 " d="M149.7,13.8a17.7,17.7,0,1,0,17.6,17.7A17.65,17.65,0,0,0,149.7,13.8Zm0,29.5c-6.2,0-11.2-5.3-11.2-11.9s5-11.9,11.2-11.9,11.2,5.3,11.2,11.9S155.9,43.3,149.7,43.3Z"></path><path class="__2RF-ozW__cls-7 " d="M228.2,13.8a17.7,17.7,0,1,0,17.6,17.7A17.65,17.65,0,0,0,228.2,13.8Zm0,29.5C222,43.3,217,38,217,31.5s5-11.9,11.2-11.9,11.2,5.3,11.2,11.9S234.4,43.3,228.2,43.3Z"></path><path class="__2RF-ozW__cls-7 " d="M80.2,13.8A17.7,17.7,0,1,0,97.8,31.5V29.4c0-.6-.1-.7-.7-.7H79.6c-.6,0-.7.1-.7.7v4.1c0,.3,0,.5.1.6s.3.1.6.1H91.1l-.1.6a11.38,11.38,0,0,1-10.8,8.5C74.1,43.3,69,38,69,31.5s5-11.9,11.2-11.9a10.91,10.91,0,0,1,7.3,2.8c.5.5.7.5,1.1,0l3.2-3.2c.5-.5.5-.6,0-1.1A17.53,17.53,0,0,0,80.2,13.8Z"></path><path class="__2RF-ozW__cls-7 " d="M302.6,13.8a17.7,17.7,0,1,0,17.6,17.7V29.4c0-.6-.1-.7-.7-.7H302c-.6,0-.7.1-.7.7v4.1c0,.3,0,.5.1.6s.3.1.6.1h11.5l-.1.6a11.38,11.38,0,0,1-10.8,8.5c-6.2,0-11.2-5.3-11.2-11.9s5-11.9,11.2-11.9a10.91,10.91,0,0,1,7.3,2.8c.5.5.7.5,1.1,0l3.2-3.2c.5-.5.5-.6,0-1.1A18.16,18.16,0,0,0,302.6,13.8Z"></path><path class="__2RF-ozW__cls-7 " d="M180.9,26c.1,0,.1,0,.2.1,2.2,1.4,12.7,8.3,15.6,10.2a1.25,1.25,0,0,1,.6,1.1V48.1c0,.6.1.7.7.7h5c.6,0,.7-.1.7-.7v-33c0-.6-.1-.7-.7-.7h-5c-.6,0-.7.1-.7.7V29.3L174.8,14.1a.76.76,0,0,0-.4-.1.52.52,0,0,0-.2.4V48.1c0,.6.1.7.7.7h5c.6,0,.7-.1.7-.7V26Z"></path></svg>'},7856:t=>{t.exports='<svg id="kartverket-logo-large" viewBox="0 0 140.014 46.115"><path d="M289.088,131.643H291v15.841h-1.917Zm8.105,0h2.425l-6.373,7.435,6.327,8.405h-2.425L291.1,139.1Z" transform="translate(-248.927 -108.916)" fill="#1a1818"></path><path d="M338.919,150.077a8.664,8.664,0,0,1,4.826-1.547,3.124,3.124,0,0,1,3.187,1.8,6.822,6.822,0,0,1,.254,2.54l-.092,3.787c-.046,1.871.069,2.355.924,2.817l-.924,1.293a2.361,2.361,0,0,1-1.57-1.686,4.3,4.3,0,0,1-3.325,1.547c-2.84,0-3.695-1.732-3.695-3.279,0-2.609,2.24-4.133,6.1-4.133.485,0,.808.023.808.023v-.808c0-1.016-.046-1.432-.37-1.8a1.888,1.888,0,0,0-1.547-.624,6.365,6.365,0,0,0-3.672,1.363Zm6.443,4.411c-.3-.023-.577-.046-.9-.046-2.909,0-3.949.993-3.949,2.748,0,1.362.67,2.1,1.986,2.1a3.154,3.154,0,0,0,2.794-1.8Z" transform="translate(-286.517 -121.761)" fill="#1a1818"></path><path d="M390.227,148.867l1.8-.485a4.153,4.153,0,0,1,.369,1.87,4.167,4.167,0,0,1,3.233-1.917,2.166,2.166,0,0,1,.624.116l-.739,1.963a1.537,1.537,0,0,0-.508-.092,2.741,2.741,0,0,0-1.917.831,2.071,2.071,0,0,0-.67,1.824v7.2h-1.8v-8.867a5.811,5.811,0,0,0-.393-2.448" transform="translate(-325.864 -121.614)" fill="#1a1818"></path><path d="M428.012,139.213l-.554,1.362h-2.4v7.413c0,1.27.346,1.709,1.478,1.709a2.291,2.291,0,0,0,1.132-.231l.254,1.155a4.261,4.261,0,0,1-2.032.462,3.348,3.348,0,0,1-1.5-.323c-.808-.393-1.108-1.131-1.108-2.286v-7.9h-1.5v-1.362h1.5c0-1.108.185-2.909.185-2.909l1.894-.416a31,31,0,0,0-.231,3.325Z" transform="translate(-349.864 -112.145)" fill="#1a1818"></path><path d="M451.691,148.923l1.847-.393,2.678,7.921c.324.947.554,1.963.554,1.963h.046a16.2,16.2,0,0,1,.554-1.94L460,148.83h1.917L457.6,160.445h-1.778Z" transform="translate(-372.619 -121.761)" fill="#1a1818"></path><path d="M509.008,158l.693,1.155a5.745,5.745,0,0,1-3.88,1.432c-3.187,0-5.1-2.309-5.1-6.119a6.141,6.141,0,0,1,1.386-4.341,4.516,4.516,0,0,1,6.558-.346c.993,1.016,1.27,2.1,1.316,4.849v.254H502.8v.277a4.588,4.588,0,0,0,.531,2.517,3.252,3.252,0,0,0,2.863,1.409A3.96,3.96,0,0,0,509.008,158m-6.212-4.48h5.265a4.936,4.936,0,0,0-.531-2.563,2.447,2.447,0,0,0-2.078-1.016c-1.639,0-2.563,1.2-2.656,3.579" transform="translate(-409.914 -121.761)" fill="#1a1818"></path><path d="M552.345,148.867l1.8-.485a4.155,4.155,0,0,1,.37,1.87,4.167,4.167,0,0,1,3.233-1.917,2.167,2.167,0,0,1,.624.116l-.739,1.963a1.54,1.54,0,0,0-.508-.092,2.741,2.741,0,0,0-1.917.831,2.071,2.071,0,0,0-.67,1.824v7.2h-1.8v-8.867a5.811,5.811,0,0,0-.393-2.448" transform="translate(-449.186 -121.614)" fill="#1a1818"></path><path d="M585.83,127.647l1.8-.346a10.115,10.115,0,0,1,.3,2.725v14.155h-1.8V130a7.771,7.771,0,0,0-.3-2.355m6.558,5.034h2.263l-4.526,4.988,5.565,6.512h-2.4L588,137.669Z" transform="translate(-474.658 -105.613)" fill="#1a1818"></path><path d="M640.826,158l.693,1.155a5.745,5.745,0,0,1-3.88,1.432c-3.187,0-5.1-2.309-5.1-6.119a6.141,6.141,0,0,1,1.386-4.341,4.516,4.516,0,0,1,6.558-.346c.993,1.016,1.27,2.1,1.316,4.849v.254h-7.182v.277a4.588,4.588,0,0,0,.531,2.517,3.252,3.252,0,0,0,2.863,1.409A3.959,3.959,0,0,0,640.826,158m-6.212-4.48h5.265a4.932,4.932,0,0,0-.531-2.563,2.446,2.446,0,0,0-2.078-1.016c-1.64,0-2.563,1.2-2.656,3.579" transform="translate(-510.188 -121.761)" fill="#1a1818"></path><path d="M686.537,139.213l-.554,1.362h-2.4v7.413c0,1.27.347,1.709,1.478,1.709a2.292,2.292,0,0,0,1.132-.231l.254,1.155a4.261,4.261,0,0,1-2.032.462,3.347,3.347,0,0,1-1.5-.323c-.808-.393-1.108-1.131-1.108-2.286v-7.9h-1.5v-1.362h1.5c0-1.108.185-2.909.185-2.909l1.894-.416a30.991,30.991,0,0,0-.231,3.325Z" transform="translate(-546.523 -112.145)" fill="#1a1818"></path><path d="M150.431,36.669H123.694a2.431,2.431,0,0,0-2.43,2.431V55.5c2.1-1.6,4.725-3.829,9.462-2.66,4.083,1.007,4.973,4.154,11.43,7.729,3.953,2.189,7.662.5,10.705-1.268V39.1a2.431,2.431,0,0,0-2.431-2.431" transform="translate(-121.264 -36.669)" fill="#00973d"></path><path d="M144.245,141.048a7.677,7.677,0,0,1-3.386-1.283c-2.263-1.4-4.432-3.68-9.045-6.075-3.675-1.786-7.26-.424-10.545,1.448l0,0v18.383a2.431,2.431,0,0,0,2.43,2.43h26.736a2.431,2.431,0,0,0,2.431-2.43V138.535c-2.854,1.636-5.594,2.965-8.618,2.513" transform="translate(-121.265 -109.837)" fill="#00509c"></path><path d="M142.156,110.918c-6.458-3.575-7.348-6.722-11.43-7.729-4.737-1.169-7.364,1.063-9.462,2.66l0,3.308v3.166c3.285-1.872,6.919-3.33,10.545-1.448,4.614,2.395,6.783,4.678,9.045,6.075a8.661,8.661,0,0,0,3.386,1.283c3.025.452,5.765-.877,8.618-2.513l-.007-2.925.007-3.145c-3.043,1.768-6.752,3.457-10.705,1.268" transform="translate(-121.264 -87.023)" fill="#fff"></path></svg>'},7329:function(t,e,n){"use strict";var o=this&&this.__createBinding||(Object.create?function(t,e,n,o){void 0===o&&(o=n),Object.defineProperty(t,o,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,o){void 0===o&&(o=n),t[o]=e[n]}),r=this&&this.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),a=this&&this.__decorate||function(t,e,n,o){var r,a=arguments.length,i=a<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(t,e,n,o);else for(var s=t.length-1;s>=0;s--)(r=t[s])&&(i=(a<3?r(i):a>3?r(e,n,i):r(e,n))||i);return a>3&&i&&Object.defineProperty(e,n,i),i},i=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)"default"!==n&&Object.prototype.hasOwnProperty.call(t,n)&&o(e,t,n);return r(e,t),e},s=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.GeonorgeFooter=void 0;const l=n(406),c=n(1406),p=s(n(93)),d=s(n(7856));let u=class extends l.CustomElement{constructor(){super()}setup(t){this.connect(t.container),t.id&&(this.id=t.id)}getLinkList(t,e){return"en"===t?`<li><a href="${c.getGeonorgeUrl(t,e)}about/what-is-geonorge/">What is Geonorge</a></li>`:`\n <li><a href="${c.getGeonorgeUrl(t,e)}aktuelt/om-geonorge/">Om Geonorge</a></li>\n <li><a href="${c.getGeonorgeUrl(t,e)}aktuelt/Nyheter/annet/personvern-og-bruk-av-cookies/">Personvern og bruk av cookies</a></li>\n `}getContactInfoText(t,e){return"en"===t?'\n <p>\n Telephone: +47 32 11 80 00<br>\n <a title="post@norgedigitalt.no" href="mailto:post@norgedigitalt.no">post@norgedigitalt.no</a><br>\n Org. nr.: 971 040 238\n </p>\n ':'\n <p>\n Telefon: 32 11 80 00<br>\n <a title="post@norgedigitalt.no" href="mailto:post@norgedigitalt.no">post@norgedigitalt.no</a><br>\n Org. nr.: 971 040 238\n </p>\n '}connectedCallback(){this.geonorgeFooterElement=l.getShadowRootElement(this,"#geonorge-footer"),this.geonorgeLogoElement=l.getShadowRootElement(this,"#geonorge-logo"),this.kartverketLogoElement=l.getShadowRootElement(this,"#kartverket-logo"),this.linkListElement=l.getShadowRootElement(this,"#link-list"),this.aboutSiteHeader=l.getShadowRootElement(this,"#about-site-header"),this.contactHeader=l.getShadowRootElement(this,"#contact-header"),this.aSolutionByText=l.getShadowRootElement(this,"#a-solution-by-text"),this.contactInfoText=l.getShadowRootElement(this,"#contact-info-text"),this.geonorgeFooterElement.setAttribute("environment",this.environment),this.geonorgeLogoElement.innerHTML=p.default,this.kartverketLogoElement.innerHTML=d.default,this.linkListElement.innerHTML=this.getLinkList(this.language,this.environment),this.contactInfoText.innerHTML=this.getContactInfoText(this.language,this.environment),this.aboutSiteHeader.innerText="en"===this.language?"About":"Om nettstedet",this.contactHeader.innerText="en"===this.language?"Contact":"Kontakt",this.aSolutionByText.innerText="en"===this.language?"A solution by":"Kontakt"}languageChanged(){this.linkListElement.innerHTML=this.getLinkList(this.language,this.environment),this.contactInfoText.innerHTML=this.getContactInfoText(this.language,this.environment),this.aboutSiteHeader.innerText="en"===this.language?"About":"Om nettstedet",this.contactHeader.innerText="en"===this.language?"Contact":"Kontakt",this.aSolutionByText.innerText="en"===this.language?"A solution by":"En løsning fra"}};u.elementSelector="geonorge-footer",a([l.Prop()],u.prototype,"id",void 0),a([l.Prop()],u.prototype,"environment",void 0),a([l.Prop()],u.prototype,"language",void 0),a([l.Watch("language")],u.prototype,"languageChanged",null),u=a([l.Component({tag:"geonorge-footer",template:Promise.resolve().then((()=>i(n(8259)))),style:Promise.resolve().then((()=>i(n(1325))))})],u),e.GeonorgeFooter=u},1406:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.renderDropdownResultLink=e.convertTextToUrlSlug=e.getGeonorgeNedlastingUrl=e.getGeonorgeUrl=e.getKartkatalogUrl=void 0,e.getKartkatalogUrl=t=>`https://kartkatalog.${"dev"===t||"test"===t?t+".":""}geonorge.no`,e.getGeonorgeUrl=(t,e)=>`https://www.${"dev"===e||"test"===e?"test.":""}geonorge.no/${"en"===t?"en/":""}`,e.getGeonorgeNedlastingUrl=t=>`https://nedlasting.${"dev"===t||"test"===t?"test.":""}geonorge.no`;const n=(t,e,n)=>(t=(t=(t=t.replace(new RegExp(`([^s])([${e}])([^s])`,"ig"),`$1 ${n} $3`)).replace(new RegExp(`([^s])([${e}])`,"ig"),`$1 ${n}`)).replace(new RegExp(`([${e}])([^s])`,"ig"),`${n} $2`)).replace(new RegExp(`[${e}]`,"ig"),n);e.convertTextToUrlSlug=(t="")=>(t=t.toLowerCase(),t=n(t,"&","and"),(t=(t=(t=(t=(t=(t=(t=(t=(t=n(t,"+","plus")).replace("æ","ae")).replace("ä","ae")).replace("ø","oe")).replace("ö","oe")).replace("å","aa")).replace(/( - )/g,"-")).replace(/[\s]+/g,"-")).replace(/[^a-z0-9-]+/gi,"")).replace(/^[^A-Z0-9]*|[^a-z0-9]*$/gi,""));const o=(t,e)=>{if(!e)return!1;e({event:"updateSearchString",category:"metadataSearch",activity:"dropDownResultsClick",searchString:t})};e.renderDropdownResultLink=(t,n,r,a,i)=>"articles"===n?`<a onClick="${o(r,i)}" href="${t.ShowDetailsUrl?t.ShowDetailsUrl:"#"}">${t.Title}</a>`:`<a onClick="${o(r,i)}" href="${e.getKartkatalogUrl(a)}/metadata/${e.convertTextToUrlSlug(t.Title)}/${t.Uuid}">${t.Title}</a>`}},e={};function n(o){var r=e[o];if(void 0!==r)return r.exports;var a=e[o]={id:o,exports:{}};return t[o].call(a.exports,a,a.exports,n),a.exports}return n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var o in e)n.o(e,o)&&!n.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n(7329)})()}));
//# sourceMappingURL=GeonorgeFooter.js.map
{
"name": "@kartverket/geonorge-web-components",
"version": "0.1.51",
"version": "0.1.52",
"description": "Geonorge Web Components",

@@ -5,0 +5,0 @@ "keywords": [

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc