PageSourceSearch

https://www.detfagligehus.dk/polyfills-D6g4hij_.js

js detfagligehus.dk collected 2026-10-02 19:57:38 UTC 2,562 bytes, 2 lines download raw bytes

1var s={exports:{}},f;function y(){if(f)return s.exports;f=1;var i,d="loading"in HTMLImageElement.prototype,l="loading"in HTMLIFrameElement.prototype,u="onscroll"in window;function m(e){var r,t,o=[];e.parentNode.tagName.toLowerCase()==="picture"&&((t=(r=e.parentNode).querySelector("source[data-lazy-remove]"))&&r.removeChild(t),o=Array.prototype.slice.call(e.parentNode.querySelectorAll("source"))),o.push(e),o.forEach(function(n){n.hasAttribute("data-lazy-srcset")&&(n.setAttribute("srcset",n.getAttribute("data-lazy-srcset")),n.removeAttribute("data-lazy-srcset"))}),e.setAttribute("src",e.getAttribute("data-lazy-src")),e.removeAttribute("data-lazy-src")}function p(e){var r=document.createElement("div");for(r.innerHTML=(function(n){var a=n.textContent||n.innerHTML,g="data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 "+((a.match(/width=['"](\d+)['"]/)||!1)[1]||1)+" "+((a.match(/height=['"](\d+)['"]/)||!1)[1]||1)+"%27%3E%3C/svg%3E";return(/<img/gim.test(a)&&!d||/<iframe/gim.test(a)&&!l)&&u&&(a=i===void 0?a.replace(/(?:\r\n|\r|\n|\t| )src=/g,' lazyload="1" src='):(a=a.replace("<source",'<source srcset="'+g+`" data-lazy-remove="true"></source>
2<source`)).replace(/(?:\r\n|\r|\n|\t| )srcset=/g," data-lazy-srcset=").replace(/(?:\r\n|\r|\n|\t| )src=/g,' src="'+g+'" data-lazy-src=')),a})(e);r.firstChild;){var t=r.firstChild;if(u&&i!==void 0&&t.tagName&&((t.tagName.toLowerCase()==="img"||t.tagName.toLowerCase()==="picture")&&!d||t.tagName.toLowerCase()==="iframe"&&!l)){var o=t.tagName.toLowerCase()==="picture"?r.querySelector("img"):t;i.observe(o)}e.parentNode.insertBefore(t,e)}e.parentNode.removeChild(e)}window.NodeList&&!NodeList.prototype.forEach&&(NodeList.prototype.forEach=Array.prototype.forEach),"IntersectionObserver"in window&&(i=new IntersectionObserver(function(e,r){e.forEach(function(t){if(t.intersectionRatio!==0){var o=t.target;r.unobserve(o),m(o)}})},{rootMargin:"0px 0px 256px 0px",threshold:.01}));var c=function(){document.querySelectorAll("noscript.loading-lazy").forEach(function(e){return p(e)}),window.matchMedia!==void 0&&window.matchMedia("print").addListener(function(e){e.matches&&document.querySelectorAll('img[loading="lazy"][data-lazy-src],iframe[loading="lazy"][data-lazy-src]').forEach(function(r){m(r)})})};return/comp|inter/.test(document.readyState)?c():"addEventListener"in document?document.addEventListener("DOMContentLoaded",function(){c()}):document.attachEvent("onreadystatechange",function(){document.readyState==="complete"&&c()}),s.exports={prepareElement:p},s.exports}y();

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.