PageSourceSearch

https://www.flatanger.kommune.no/2.33a2660519545e0ea91331a6/91.33a…/1790929953843/BODY/0/sv-template-asset.js

js flatanger.kommune.no collected 2026-10-03 02:58:05 UTC 2,051 bytes, 7 lines download raw bytes

1window.svp=window.svp||{};
2window.svp.utils=function(){var d=function(a,b,c,e){if(a.style.getPropertyValue(b)){var d=a.style.getPropertyValue(b);d&&(a.setAttribute("data-svp-prev-style-"+b+"-val",d),a.setAttribute("data-svp-prev-style-"+b+"-prio",a.style.getPropertyPriority(b)))}a.style.setProperty(b,c,e)};return{lockScroll:function(){d(document.body,"overflow-x","");d(document.body,"overflow-y","");d(document.body,"overflow","hidden","important")},unlockScroll:function(){["overflow","overflow-x","overflow-y"].forEach(function(a){var b=
3document.body,c=b.getAttribute("data-svp-prev-style-"+a+"-val");c?b.style.setProperty(a,c,b.getAttribute("data-svp-prev-style-"+a+"-prio")):b.style.removeProperty(a);b.removeAttribute("data-svp-prev-style-"+a+"-val");b.removeAttribute("data-svp-prev-style-"+a+"-prio")})},getFocusable:function(a){var b=[];a=a||document;if((a=a.querySelectorAll('a[href],area[href],input:not([disabled]),select:not([disabled]),textarea:not([disabled]),button:not([disabled]),details:not([disabled]),summary:not([disabled]),[tabindex]:not([tabindex\x3d"-1"]):not([disabled]),[contenteditable]'))&&
40<a.length)for(var c=0;c<a.length;c++)b.push(a[c]);a=[];for(c=0;c<b.length;c++){var d=b[c];(d.offsetWidth||d.offsetHeight||d.getClientRects().length)&&a.push(b[c])}return a}}}();
5console.log("NKM Components JS");
6(function(){var e=window.svp.utils,d=document.getElementById("svp-show-search"),a=document.getElementById("svp-search"),h=function(){e.unlockScroll();a.removeEventListener("keydown",f);a.removeEventListener("click",g);a.removeEventListener("close",h)},g=function(b){b.target.isEqualNode(a)&&a.close()},f=function(b){if(!/input|textarea/i.test(b.target.tagName)){var c=e.getFocusable(a),d=c[0],c=c[c.length-1];"Tab"===b.key&&(b.shiftKey?b.target===d&&(b.preventDefault(),c.focus()):b.target===c&&(b.preventDefault(),
7d.focus()))}};d&&a&&d.addEventListener("click",function(){e.lockScroll();a.showModal();a.addEventListener("keydown",f);a.addEventListener("click",g,{capture:!1});a.addEventListener("close",h)})})();

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.