New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

geonorge-base

Package Overview
Dependencies
Maintainers
2
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

geonorge-base - npm Package Compare versions

Comparing version 9.0.12 to 9.0.15

0

assets/js/main.js

@@ -0,0 +0,0 @@ var applicationEnvironment = (applicationEnvironment === undefined) ? "" : applicationEnvironment;

2

assets/js/main.min.js

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

var applicationEnvironment=void 0===applicationEnvironment?"":applicationEnvironment,applicationVersionNumber=void 0===applicationVersionNumber?"":applicationVersionNumber,supportsLogin=!1,supportsMultiCulture=!1,authenticationData=void 0===authenticationData?{}:authenticationData;authenticationData!=={}&&(supportsLogin=void 0!==authenticationData.supportsLogin&&authenticationData.supportsLogin,authenticationData.isAuthenticated=void 0!==authenticationData.isAuthenticated&&authenticationData.isAuthenticated,authenticationData.urlActionSignIn=void 0===authenticationData.urlActionSignIn?"":authenticationData.urlActionSignIn,authenticationData.urlActionSignOut=void 0===authenticationData.urlActionSignOut?"":authenticationData.urlActionSignOut,authenticationData.userName=void 0===authenticationData.userName?"":authenticationData.userName);var cultureData=void 0===cultureData?{}:cultureData;function environmentIsProduction(){return""===applicationEnvironment}cultureData!=={}&&(supportsMultiCulture=void 0!==cultureData.supportsMultiCulture&&cultureData.supportsMultiCulture,cultureData.urlSetCulture=void 0===cultureData.urlSetCulture?"":cultureData.urlSetCulture,cultureData.urlSetCultureNorwegian=void 0===cultureData.urlSetCultureNorwegian?"":cultureData.urlSetCultureNorwegian,cultureData.currentCulture=void 0===cultureData.currentCulture?"":cultureData.currentCulture);var geonorgeUrl=environmentIsProduction()?"https://www.geonorge.no/":"https://www.test.geonorge.no/";function containsParameters(t){return!!(t.length&&-1<t.indexOf("?"))}function urlContainsParameters(){return containsParameters(window.location.search)}function showLoadingAnimation(t){$("#loading-animation").html(t),$("#loading-animation").show()}function hideLoadingAnimation(){$("#loading-animation").html(""),$("#loading-animation").hide()}function notOpeningInNewTab(t){return!(t.ctrlKey||t.shiftKey||t.metaKey||t.button&&1==t.button)}function addDefaultLoadingAnimation(t){t.addClass("show-loading-animation"),t.data("loading-message","Henter innhold")}function setMainSearchUrl(t,e){environmentIsSet=!1;var a="";void 0!==e&&("dev"==e||"test"==e||"prod"==e?(environmentIsSet=!0,a="prod"==e?"":"."+e):console.error("incorrect value for environment. Use 'dev', 'test' or 'prod'")),environmentIsSet?searchOptions[e].url="//kartkatalog"+a+".geonorge.no/"+t:(searchOptions.dev.url="//kartkatalog.dev.geonorge.no/"+t,searchOptions.test.url="//kartkatalog.test.geonorge.no/"+t,searchOptions.prod.url="//kartkatalog.geonorge.no/"+t)}function setMainSearchApiUrl(t,e){environmentIsSet=!1;var a="";void 0!==e&&("dev"==e||"test"==e||"prod"==e?(environmentIsSet=!0,a="prod"==e?"":"."+e):console.error("incorrect value for environment. Use 'dev', 'test' or 'prod'")),environmentIsSet?searchOptions[e].api="//kartkatalog"+a+".geonorge.no/api/"+t:(searchOptions.dev.api="//kartkatalog.dev.geonorge.no/api/"+t,searchOptions.test.api="//kartkatalog.test.geonorge.no/api/"+t,searchOptions.prod.api="//kartkatalog.geonorge.no/api/"+t)}function setMainSearchPlaceholder(t,e){environmentIsSet=!1;void 0!==e&&("dev"==e||"test"==e||"prod"==e?environmentIsSet=!0:console.error("incorrect value for environment. Use 'dev', 'test' or 'prod'")),environmentIsSet?searchOptions[e].searchPlaceholder=t:(searchOptions.dev.searchPlaceholder=t,searchOptions.test.searchPlaceholder=t,searchOptions.prod.searchPlaceholder=t)}cultureData!=={}&&"en"==cultureData.currentCulture&&(geonorgeUrl+="en"),showLoadingAnimation("Laster innhold"),$(document).ready(function(){hideLoadingAnimation(),$(document).on("click",".show-loading-animation",function(t){notOpeningInNewTab(t)&&showLoadingAnimation(void 0!==$(this).data("loading-message")?$(this).data("loading-message"):"")}),$("#geonorge-logo").length&&($("#geonorge-logo a").prop("href",geonorgeUrl),$("#geonorge-logo a img").prop("src","/Content/bower_components/kartverket-felleskomponenter/assets/images/svg/geonorge_"+applicationEnvironment+"logo.svg")),$("#applicationVersionNumber").length&&""!==applicationVersionNumber&&$("#applicationVersionNumber").html("Versjon "+applicationVersionNumber);var t="https://kartkatalog.geonorge.no/nedlasting";""!==applicationEnvironment&&(t="https://kartkatalog."+applicationEnvironment+".geonorge.no/nedlasting"),$("#shopping-cart-url").prop("href",t),supportsMultiCulture&&$("#container-user-menu").length&&("nb-NO"==cultureData.currentCulture||"nn-NO"==cultureData.currentCulture||"no"==cultureData.currentCulture?$("#container-user-menu").append("<a href='"+cultureData.urlSetCulture+"' class='geonorge-culture' title='English'> English</a>"):$("#container-user-menu").append("<a href='"+cultureData.urlSetCultureNorwegian+"' class='geonorge-culture'> Norsk</a>")),supportsLogin&&$("#container-user-menu").length&&($("#container-user-menu").append("<a href='"+geonorgeUrl+"kartdata/oppslagsverk/Brukernavn-og-passord/'>Ny bruker</a>"),authenticationData.isAuthenticated?$("#container-user-menu").append("<a href='"+authenticationData.urlActionSignOut+"' title='Logg ut "+authenticationData.userName+"'> Logg ut</a>"):$("#container-user-menu").append("<a href='"+authenticationData.urlActionSignIn+"'> Logg inn</a>"))}),document.addEventListener("DOMContentLoaded",function(t){$(".chosen-select").chosen({disable_search_threshold:10,search_contains:!0}),$("[data-toggle='tooltip']").tooltip({trigger:"hover"}),$("li.has-error[data-toggle='tooltip']").tooltip("option","position",{my:"center",at:"center bottom+30"}),$("li[data-toggle='tooltip']").mouseleave(function(){$(".ui-helper-hidden-accessible").remove()}),$(".ui-tooltip-element[data-toggle='tooltip']").tooltip("option","position",{my:"center",at:"center bottom+25"}),$(".ui-tooltip-element[data-toggle='tooltip']").mouseleave(function(){$(".ui-helper-hidden-accessible").remove()}),document.documentElement.setAttribute("data-useragent",navigator.userAgent)});var baseurl="http://"+window.location.host;function addShoppingCartTooltip(t){var e=$("#shopping-cart-url"),a=0!==t?t:"ingen",n=1==t?"Du har "+a+" nedlasting i kurven din":"Du har "+a+" nedlastinger i kurven din";e.attr("title",n),e.attr("data-original-title",n),e.data("toggle","tooltip"),e.data("placement","bottom"),e.tooltip()}function removeSingleItemFromArray(t,e){var a=t.indexOf(e);return 0<=a&&t.splice(a,1),t}function removeFromArray(e,t){Array.isArray(t)?t.forEach(function(t){e=removeSingleItemFromArray(e,t)}):e=removeSingleItemFromArray(e,t)}function orderItemHasMetadata(t){return null!==localStorage.getItem(t+".metadata")}function removeBrokenOrderItems(){var e=JSON.parse(localStorage.getItem("orderItems"));null!==e&&(removeFromArray(e,[null,void 0,"null",{},""]),e.forEach(function(t){orderItemHasMetadata(t)||removeSingleItemFromArray(e,t)}),localStorage.setItem("orderItems",JSON.stringify(e)))}function updateShoppingCart(){var t=$(".downloads__count"),e="",a="orderitems",n=0;null!==localStorage.getItem("orderItems")&&(e=localStorage.getItem("orderItems")),""!==e?0<(n=JSON.parse(e).length)?(t.css("display","block"),t.html(n),addShoppingCartTooltip(n)):(t.css("display","none"),addShoppingCartTooltip(0)):void 0!==Cookies.get(a)&&0!==Cookies.get(a)&&"0"!==Cookies.get(a)?(n=Cookies.get(a),t.css("display","block"),t.html(n),addShoppingCartTooltip(n)):(t.css("display","none"),addShoppingCartTooltip(0)),Cookies.set(a,n,{expires:7,path:"/",domain:".geonorge.no"})}function updateShoppingCartCookie(){var t=$(".downloads__count"),e=0;if(null!==localStorage.getItem("orderItems")&&"[]"!=localStorage.getItem("orderItems")){var a=localStorage.getItem("orderItems");e=JSON.parse(a).length,t.html(e),addShoppingCartTooltip(e)}else e=0,t.css("display","none"),addShoppingCartTooltip(e);Cookies.set("orderitems",e,{expires:7,path:"/",domain:".geonorge.no"})}function updateToggleLinks(t){$(t).each(function(){$(this).toggleClass("show-content")})}function activateTab(t){$(".link-tabs").ready(function(){tabLink=$(".link-tabs li a[data-tab='"+t+"']"),$(".link-tabs li.active").removeClass("active"),tabLink.parent("li").addClass("active")})}function updateAllCartButtons(e){$(".add-to-cart-btn").each(function(){var t=$(this).attr("itemuuid");-1<$.inArray(t,e)&&($(this).addClass("added"),$(this).attr("title","Allerede lagt til i kurv"),$(this).children(".button-text").text(" Lagt i kurv"))})}function updateCartButton(t,e){var a=$(t).attr("itemuuid");-1<$.inArray(a,e)?$('.add-to-cart-btn[itemuuid="'+a+'"]').each(function(){var t=void 0!==$(this).attr("itemname")?" "+$(this).attr("itemname")+" ":"";$(this).addClass("added"),$(this).attr("data-original-title","Fjern"+t+"fra kurv"),$(this).children(".button-text").text(" Fjern fra kurv")}):$('.add-to-cart-btn[itemuuid="'+a+'"]').each(function(){var t=void 0!==$(this).attr("itemname")?" "+$(this).attr("itemname")+" ":"";$(this).removeClass("added"),$(this).attr("data-original-title","Legg til"+t+"i kurv"),$(this).children(".button-text").text(" Legg i kurv")})}function notCurrentUrl(t){return t==window.location.href||t==window.location.pathname||(t==window.location.href+"/"||t==window.location.pathname+"/"||void 0)}function disableLastBreadcrumb(){if($("ul.breadcrumbs li").last().has("a").length){var t=$("ul.breadcrumbs li").last().text();$("ul.breadcrumbs li").last().html(t)}}function showAlert(t,e){$("#feedback-alert").attr("class","alert alert-dismissible alert-"+e),$("#feedback-alert .message").html($("#feedback-alert .message").html()+t+"<br/>"),$("#feedback-alert").show()}function clearAlertMessage(){$("#feedback-alert .message").html("")}function hideAlert(){$("#feedback-alert").hide()}function getParameterByName(t){var e=location.search.toLowerCase();t=t.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");var a=new RegExp("[\\?&]"+t+"=([^&#]*)").exec(e);return null===a?"":decodeURIComponent(a[1].replace(/\+/g," "))}function removeParameterByName(t,e){t=t.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");var a=new RegExp("[\\?&]"+t+"([^&#]*)").exec(e);return e=e.replace(a[0],"")}function removeParameterByNameFromUrl(t){var e=location.search.toLowerCase();e=removeParameterByName(t,e);var a=location.pathname+e;window.history.replaceState({path:a},null,a)}function filterDropdownList(t,e){for(var a=e.find(".custom-select-list-options"),n=t.val().toUpperCase(),o=0;o<a.length;o++){for(var i=a[o].getElementsByTagName("li"),r=!1,l=0;l<i.length;l++)-1<i[l].innerHTML.toUpperCase().indexOf(n)?r=!(i[l].style.display=""):i[l].style.display="none";var s=$(a[o]).closest("div").find(".custom-select-list-option-group-name");r?s.show():s.hide()}}function initCustomSelectList(){$(".custom-select-list").length&&$(document).on("click",function(n){var o=null;$(".custom-select-list").each(function(t,e){for(var a=n.target;a&&a.parentNode;)(a=a.parentNode)&&a==e&&(!0,o=t)}),$(".custom-select-list").each(function(t,e){if(t!==o){$(this).find(".custom-select-list-dropdown-container").removeClass("active");var a=$(this).find(".custom-select-list-input");a.val(""),filterDropdownList(a,$(this))}})})}$(document).ready(function(){$(".page-wizard .page-wizard-tab").on("click",function(){$(".page-wizard").toggleClass("open")});var t=$("<li class='jose'><ul></ul></li>");$("<p>te</p>").appendTo($(t).find("ul"))}),document.addEventListener("DOMContentLoaded",function(t){removeBrokenOrderItems(),updateShoppingCart()}),$("document").ready(function(){updateToggleLinks($(".toggle-content")),$(".toggle-content").click(function(){var t=$(this).data("content-toggle");updateToggleLinks($(this)),$("."+t).toggle()})}),$(".link-tabs").ready(function(){$(".link-tabs li a").click(function(t){t.preventDefault(),activateTab($(this).data("tab")),$("#tab-content").css("opacity",".15"),window.location.href=$(this).prop("href")})}),$("document").ready(function(){$("a.help-text-toggle").click(function(t){t.preventDefault();var e=$(this),a=$(this).data("help-text-id");$("#"+a).toggle(),$("#"+a).hasClass("active")?($("#"+a).removeClass("active"),e.removeClass("active")):($("#"+a).addClass("active"),e.addClass("active"))})}),$("document").ready(function(){$("ul.pagination a, ul.breadcrumbs a").each(function(){$(this).closest("li").hasClass("active")||addDefaultLoadingAnimation($(this))})}),$("document").ready(function(){$("body").on("click","a",function(){notCurrentUrl($(this).attr("href"))&&$(this).removeClass("show-loading-animation")})}),$("document").ready(function(){disableLastBreadcrumb()}),$(document).on("focus",".custom-select-list-input",function(){var t=$(this).closest(".custom-select-list").find(".custom-select-list-dropdown-container");t.addClass("active");var e=t.find(".custom-select-list-dropdown-content"),a=t.find(".custom-select-list-dropdown-additional-options"),n=e.offset().top+e.height();if(a.length&&(n+=a.height()),window.innerHeight+window.scrollY<n){var o=n-window.innerHeight;window.scroll(0,o,"smooth")}}),$(document).on("click",".custom-select-list-input-container",function(){$(this).find(".custom-select-list-input").focus()}),$(document).on("keyup",".custom-select-list",function(){filterDropdownList($(this).find(".custom-select-list-input"),$(this))}),$("document").ready(function(){initCustomSelectList()});
var applicationEnvironment=void 0===applicationEnvironment?"":applicationEnvironment,applicationVersionNumber=void 0===applicationVersionNumber?"":applicationVersionNumber,supportsLogin=!1,supportsMultiCulture=!1,authenticationData=void 0===authenticationData?{}:authenticationData;authenticationData!=={}&&(supportsLogin=void 0!==authenticationData.supportsLogin&&authenticationData.supportsLogin,authenticationData.isAuthenticated=void 0!==authenticationData.isAuthenticated&&authenticationData.isAuthenticated,authenticationData.urlActionSignIn=void 0===authenticationData.urlActionSignIn?"":authenticationData.urlActionSignIn,authenticationData.urlActionSignOut=void 0===authenticationData.urlActionSignOut?"":authenticationData.urlActionSignOut,authenticationData.userName=void 0===authenticationData.userName?"":authenticationData.userName);var cultureData=void 0===cultureData?{}:cultureData;function environmentIsProduction(){return""===applicationEnvironment}cultureData!=={}&&(supportsMultiCulture=void 0!==cultureData.supportsMultiCulture&&cultureData.supportsMultiCulture,cultureData.urlSetCulture=void 0===cultureData.urlSetCulture?"":cultureData.urlSetCulture,cultureData.urlSetCultureNorwegian=void 0===cultureData.urlSetCultureNorwegian?"":cultureData.urlSetCultureNorwegian,cultureData.currentCulture=void 0===cultureData.currentCulture?"":cultureData.currentCulture);var geonorgeUrl=environmentIsProduction()?"https://www.geonorge.no/":"https://www.test.geonorge.no/";function containsParameters(t){return!!(t.length&&-1<t.indexOf("?"))}function urlContainsParameters(){return containsParameters(window.location.search)}function showLoadingAnimation(t){$("#loading-animation").html(t),$("#loading-animation").show()}function hideLoadingAnimation(){$("#loading-animation").html(""),$("#loading-animation").hide()}function notOpeningInNewTab(t){return!(t.ctrlKey||t.shiftKey||t.metaKey||t.button&&1==t.button)}function addDefaultLoadingAnimation(t){t.addClass("show-loading-animation"),t.data("loading-message","Henter innhold")}function setMainSearchUrl(t,e){environmentIsSet=!1;var n="";void 0!==e&&("dev"==e||"test"==e||"prod"==e?(environmentIsSet=!0,n="prod"==e?"":"."+e):console.error("incorrect value for environment. Use 'dev', 'test' or 'prod'")),environmentIsSet?searchOptions[e].url="//kartkatalog"+n+".geonorge.no/"+t:(searchOptions.dev.url="//kartkatalog.dev.geonorge.no/"+t,searchOptions.test.url="//kartkatalog.test.geonorge.no/"+t,searchOptions.prod.url="//kartkatalog.geonorge.no/"+t)}function setMainSearchApiUrl(t,e){environmentIsSet=!1;var n="";void 0!==e&&("dev"==e||"test"==e||"prod"==e?(environmentIsSet=!0,n="prod"==e?"":"."+e):console.error("incorrect value for environment. Use 'dev', 'test' or 'prod'")),environmentIsSet?searchOptions[e].api="//kartkatalog"+n+".geonorge.no/api/"+t:(searchOptions.dev.api="//kartkatalog.dev.geonorge.no/api/"+t,searchOptions.test.api="//kartkatalog.test.geonorge.no/api/"+t,searchOptions.prod.api="//kartkatalog.geonorge.no/api/"+t)}function setMainSearchPlaceholder(t,e){environmentIsSet=!1;void 0!==e&&("dev"==e||"test"==e||"prod"==e?environmentIsSet=!0:console.error("incorrect value for environment. Use 'dev', 'test' or 'prod'")),environmentIsSet?searchOptions[e].searchPlaceholder=t:(searchOptions.dev.searchPlaceholder=t,searchOptions.test.searchPlaceholder=t,searchOptions.prod.searchPlaceholder=t)}cultureData!=={}&&"en"==cultureData.currentCulture&&(geonorgeUrl+="en"),showLoadingAnimation("Laster innhold"),$(document).ready(function(){hideLoadingAnimation(),$(document).on("click",".show-loading-animation",function(t){notOpeningInNewTab(t)&&showLoadingAnimation(void 0!==$(this).data("loading-message")?$(this).data("loading-message"):"")}),$("#geonorge-logo").length&&($("#geonorge-logo a").prop("href",geonorgeUrl),$("#geonorge-logo a img").prop("src","/Content/bower_components/kartverket-felleskomponenter/assets/images/svg/geonorge_"+applicationEnvironment+"logo.svg")),$("#applicationVersionNumber").length&&""!==applicationVersionNumber&&$("#applicationVersionNumber").html("Versjon "+applicationVersionNumber);var t=""!==applicationEnvironment?"https://kartkatalog."+applicationEnvironment+".geonorge.no/nedlasting":"https://kartkatalog.geonorge.no/nedlasting";$("#shopping-cart-url").prop("href",t),supportsMultiCulture&&$("#container-user-menu").length&&("nb-NO"==cultureData.currentCulture||"nn-NO"==cultureData.currentCulture||"no"==cultureData.currentCulture?$("#container-user-menu").append("<a href='"+cultureData.urlSetCulture+"' class='geonorge-culture' title='English'> English</a>"):$("#container-user-menu").append("<a href='"+cultureData.urlSetCultureNorwegian+"' class='geonorge-culture'> Norsk</a>")),supportsLogin&&$("#container-user-menu").length&&($("#container-user-menu").append("<a href='"+geonorgeUrl+"kartdata/oppslagsverk/Brukernavn-og-passord/'>Ny bruker</a>"),authenticationData.isAuthenticated?$("#container-user-menu").append("<a href='"+authenticationData.urlActionSignOut+"' title='Logg ut "+authenticationData.userName+"'> Logg ut</a>"):$("#container-user-menu").append("<a href='"+authenticationData.urlActionSignIn+"'> Logg inn</a>"))}),document.addEventListener("DOMContentLoaded",function(t){$(".chosen-select").chosen({disable_search_threshold:10,search_contains:!0}),$("[data-toggle='tooltip']").tooltip({trigger:"hover"}),$("li.has-error[data-toggle='tooltip']").tooltip("option","position",{my:"center",at:"center bottom+30"}),$("li[data-toggle='tooltip']").mouseleave(function(){$(".ui-helper-hidden-accessible").remove()}),$(".ui-tooltip-element[data-toggle='tooltip']").tooltip("option","position",{my:"center",at:"center bottom+25"}),$(".ui-tooltip-element[data-toggle='tooltip']").mouseleave(function(){$(".ui-helper-hidden-accessible").remove()}),document.documentElement.setAttribute("data-useragent",navigator.userAgent)});var baseurl="http://"+window.location.host;function addShoppingCartTooltip(t){var e=$("#shopping-cart-url"),n=0!==t?t:"ingen",n=1==t?"Du har "+n+" nedlasting i kurven din":"Du har "+n+" nedlastinger i kurven din";e.attr("title",n),e.attr("data-original-title",n),e.data("toggle","tooltip"),e.data("placement","bottom"),e.tooltip()}function removeSingleItemFromArray(t,e){e=t.indexOf(e);return 0<=e&&t.splice(e,1),t}function removeFromArray(e,t){Array.isArray(t)?t.forEach(function(t){e=removeSingleItemFromArray(e,t)}):e=removeSingleItemFromArray(e,t)}function orderItemHasMetadata(t){return null!==localStorage.getItem(t+".metadata")}function removeBrokenOrderItems(){var e=JSON.parse(localStorage.getItem("orderItems"));null!==e&&(removeFromArray(e,[null,void 0,"null",{},""]),e.forEach(function(t){orderItemHasMetadata(t)||removeSingleItemFromArray(e,t)}),localStorage.setItem("orderItems",JSON.stringify(e)))}function updateShoppingCart(){var t=$(".downloads__count"),e="",n="orderitems",a=0;""!==(e=null!==localStorage.getItem("orderItems")?localStorage.getItem("orderItems"):e)?0<(a=JSON.parse(e).length)?(t.css("display","block"),t.html(a),addShoppingCartTooltip(a)):(t.css("display","none"),addShoppingCartTooltip(0)):void 0!==Cookies.get(n)&&0!==Cookies.get(n)&&"0"!==Cookies.get(n)?(a=Cookies.get(n),t.css("display","block"),t.html(a),addShoppingCartTooltip(a)):(t.css("display","none"),addShoppingCartTooltip(0)),Cookies.set(n,a,{expires:7,path:"/",domain:".geonorge.no"})}function updateShoppingCartCookie(){var t,e=$(".downloads__count"),n=0;null!==localStorage.getItem("orderItems")&&"[]"!=localStorage.getItem("orderItems")?(t=localStorage.getItem("orderItems"),n=JSON.parse(t).length,e.html(n)):(n=0,e.css("display","none")),addShoppingCartTooltip(n),Cookies.set("orderitems",n,{expires:7,path:"/",domain:".geonorge.no"})}function updateToggleLinks(t){$(t).each(function(){$(this).toggleClass("show-content")})}function activateTab(t){$(".link-tabs").ready(function(){tabLink=$(".link-tabs li a[data-tab='"+t+"']"),$(".link-tabs li.active").removeClass("active"),tabLink.parent("li").addClass("active")})}function updateAllCartButtons(e){$(".add-to-cart-btn").each(function(){var t=$(this).attr("itemuuid");-1<$.inArray(t,e)&&($(this).addClass("added"),$(this).attr("title","Allerede lagt til i kurv"),$(this).children(".button-text").text(" Lagt i kurv"))})}function updateCartButton(t,e){t=$(t).attr("itemuuid");-1<$.inArray(t,e)?$('.add-to-cart-btn[itemuuid="'+t+'"]').each(function(){var t=void 0!==$(this).attr("itemname")?" "+$(this).attr("itemname")+" ":"";$(this).addClass("added"),$(this).attr("data-original-title","Fjern"+t+"fra kurv"),$(this).children(".button-text").text(" Fjern fra kurv")}):$('.add-to-cart-btn[itemuuid="'+t+'"]').each(function(){var t=void 0!==$(this).attr("itemname")?" "+$(this).attr("itemname")+" ":"";$(this).removeClass("added"),$(this).attr("data-original-title","Legg til"+t+"i kurv"),$(this).children(".button-text").text(" Legg i kurv")})}function notCurrentUrl(t){return t==window.location.href||t==window.location.pathname||(t==window.location.href+"/"||t==window.location.pathname+"/"||void 0)}function disableLastBreadcrumb(){var t;$("ul.breadcrumbs li").last().has("a").length&&(t=$("ul.breadcrumbs li").last().text(),$("ul.breadcrumbs li").last().html(t))}function showAlert(t,e){$("#feedback-alert").attr("class","alert alert-dismissible alert-"+e),$("#feedback-alert .message").html($("#feedback-alert .message").html()+t+"<br/>"),$("#feedback-alert").show()}function clearAlertMessage(){$("#feedback-alert .message").html("")}function hideAlert(){$("#feedback-alert").hide()}function getParameterByName(t){var e=location.search.toLowerCase();t=t.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");e=new RegExp("[\\?&]"+t+"=([^&#]*)").exec(e);return null===e?"":decodeURIComponent(e[1].replace(/\+/g," "))}function removeParameterByName(t,e){t=t.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");t=new RegExp("[\\?&]"+t+"([^&#]*)").exec(e);return e=e.replace(t[0],"")}function removeParameterByNameFromUrl(t){t=removeParameterByName(t,t=location.search.toLowerCase()),t=location.pathname+t;window.history.replaceState({path:t},null,t)}function filterDropdownList(t,e){for(var n=e.find(".custom-select-list-options"),a=t.val().toUpperCase(),o=0;o<n.length;o++){for(var i=n[o].getElementsByTagName("li"),r=!1,l=0;l<i.length;l++)-1<i[l].innerHTML.toUpperCase().indexOf(a)?r=!(i[l].style.display=""):i[l].style.display="none";var s=$(n[o]).closest("div").find(".custom-select-list-option-group-name");r?s.show():s.hide()}}function initCustomSelectList(){$(".custom-select-list").length&&$(document).on("click",function(a){var o=null;$(".custom-select-list").each(function(t,e){for(var n=a.target;n&&n.parentNode;)(n=n.parentNode)&&n==e&&(o=t)}),$(".custom-select-list").each(function(t,e){t!==o&&($(this).find(".custom-select-list-dropdown-container").removeClass("active"),(t=$(this).find(".custom-select-list-input")).val(""),filterDropdownList(t,$(this)))})})}$(document).ready(function(){$(".page-wizard .page-wizard-tab").on("click",function(){$(".page-wizard").toggleClass("open")});var t=$("<li class='jose'><ul></ul></li>");$("<p>te</p>").appendTo($(t).find("ul"))}),document.addEventListener("DOMContentLoaded",function(t){removeBrokenOrderItems(),updateShoppingCart()}),$("document").ready(function(){updateToggleLinks($(".toggle-content")),$(".toggle-content").click(function(){var t=$(this).data("content-toggle");updateToggleLinks($(this)),$("."+t).toggle()})}),$(".link-tabs").ready(function(){$(".link-tabs li a").click(function(t){t.preventDefault(),activateTab($(this).data("tab")),$("#tab-content").css("opacity",".15"),window.location.href=$(this).prop("href")})}),$("document").ready(function(){$("a.help-text-toggle").click(function(t){t.preventDefault();var e=$(this),t=$(this).data("help-text-id");$("#"+t).toggle(),$("#"+t).hasClass("active")?($("#"+t).removeClass("active"),e.removeClass("active")):($("#"+t).addClass("active"),e.addClass("active"))})}),$("document").ready(function(){$("ul.pagination a, ul.breadcrumbs a").each(function(){$(this).closest("li").hasClass("active")||addDefaultLoadingAnimation($(this))})}),$("document").ready(function(){$("body").on("click","a",function(){notCurrentUrl($(this).attr("href"))&&$(this).removeClass("show-loading-animation")})}),$("document").ready(function(){disableLastBreadcrumb()}),$(document).on("focus",".custom-select-list-input",function(){var t=$(this).closest(".custom-select-list").find(".custom-select-list-dropdown-container");t.addClass("active");var e=t.find(".custom-select-list-dropdown-content"),t=t.find(".custom-select-list-dropdown-additional-options"),e=e.offset().top+e.height();t.length&&(e+=t.height()),window.innerHeight+window.scrollY<e&&(e=e-window.innerHeight,window.scroll(0,e,"smooth"))}),$(document).on("click",".custom-select-list-input-container",function(){$(this).find(".custom-select-list-input").focus()}),$(document).on("keyup",".custom-select-list",function(){filterDropdownList($(this).find(".custom-select-list-input"),$(this))}),$("document").ready(function(){initCustomSelectList()});
{
"name": "geonorge-base",
"version": "9.0.12",
"version": "9.0.15",
"description": "Felleskomponenter for Geonorge",

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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 too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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