PageSourceSearch

https://www.experimentarium.dk/wp-content/plugins/pco-picture/src/assets/dist/js/base.min.js?r=623178a7

js experimentarium.dk collected 2026-10-02 03:12:28 UTC 3,942 bytes, 1 lines download raw bytes

1(function(){var m={183:function(r,c,i){"use strict";i.r(c);const b=t=>{const a=(window==null?void 0:window.pco_picture_js)||[],u=(a==null?void 0:a.imagesSelectorList)||[],e=(a==null?void 0:a.bgImagesSelectorList)||[],o=Array.isArray(u)&&Array.from(u).join(", "),s=Array.isArray(e)&&Array.from(e).join(", "),n=!!o&&document.querySelectorAll(o),p=!!s&&document.querySelectorAll(s),d=[...Array.from(n),...Array.from(p)];if(!d.length)return;const L={rootMargin:"300px 300px 300px 300px",threshold:0},h=new IntersectionObserver((v,A)=>{v.forEach(f=>{f.isIntersecting&&(_(f.target),S(f.target),A.unobserve(f.target))})},L);Array.from(d).forEach(v=>{const A=Array.from(v.classList).includes("lqip-skip"),f=Array.from(v.classList).includes("pco-picture-no");A||f||h.observe(v)})},_=t=>{var a,u;const e=t.getAttribute("data-src"),o=t.getAttribute("data-srcset");if(e&&(t.src=e,o&&o!==null&&(t.srcset=o),t.classList.remove("pco-lqip"),t.classList.add("pco-lqip-loaded"),t&&(t!=null&&t.parentNode)&&((a=t==null?void 0:t.parentNode)!=null&&a.querySelectorAll("source")))){const s=(u=t==null?void 0:t.parentNode)==null?void 0:u.querySelectorAll("source");Array.from(s).forEach(n=>{n.getAttribute("data-srcset")&&(n.srcset=n.getAttribute("data-srcset")),n.classList.remove("pco-lqip"),n.classList.add("pco-lqip-loaded")})}},S=t=>{var a,u;let e="",o="",s="",n="";if((t==null?void 0:t.nodeName)==="IMG"?e=t:e=t.querySelector("img"),e&&(e!=null&&e.closest(".responsive-background-image"))&&((a=e==null?void 0:e.closest(".responsive-background-image"))!=null&&a.querySelectorAll("source"))){const p=(u=e==null?void 0:e.parentNode)==null?void 0:u.querySelectorAll("source");Array.from(p).forEach(d=>{d.getAttribute("data-srcset")&&(d.srcset=d.getAttribute("data-srcset")),d.classList.remove("pco-lqip"),d.classList.add("pco-lqip-loaded")})}e&&(e==null?void 0:e.nodeName)==="IMG"&&(o=e.getAttribute("data-src")?e.getAttribute("data-src"):e.getAttribute("src"),s=s||"",s=e.getAttribute("data-srcset")?e.getAttribute("data-srcset"):e.getAttribute("srcset"),n=typeof(e==null?void 0:e.currentSrc)!="undefined"&&(e==null?void 0:e.currentSrc)!==""?e.currentSrc:o);try{n!==""&&typeof n!="undefined"&&(e&&(e==null?void 0:e.nodeName)==="IMG"&&(o=e.getAttribute("data-src")?e.getAttribute("data-src"):e.getAttribute("src"),o=o||"",s=s||"",s=e.getAttribute("data-srcset")?e.getAttribute("data-srcset"):e.getAttribute("srcset"),e.src=o,s&&s!==null&&(e.srcset=s),n=typeof(e==null?void 0:e.currentSrc)!="undefined"&&(e==null?void 0:e.currentSrc)!==""?e.currentSrc:o),t&&(t==null?void 0:t.nodeName)!=="IMG"&&(t.style.backgroundImage='url("'+n+'")'),t.classList.remove("pco-lqip"),t.classList.add("pco-lqip-loaded"))}catch(p){}},q={intersectionObserverImages:b};var k=null;const g=t=>{(a=>{typeof b=="function"&&b()})(jQuery)};document.addEventListener("DOMContentLoaded",g,!1),window.addEventListener("load",g),document.addEventListener("PCOPictureManualTriggerLazyload",g)},368:function(r,c,i){"use strict";i.r(c),c.default=i.p+"src/assets/dist/icons/spinner.svg"}},y={};function l(r){var c=y[r];if(c!==void 0)return c.exports;var i=y[r]={exports:{}};return m[r](i,i.exports,l),i.exports}(function(){l.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch(r){if(typeof window=="object")return window}}()})(),function(){l.r=function(r){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(r,"__esModule",{value:!0})}}(),function(){var r;l.g.importScripts&&(r=l.g.location+"");var c=l.g.document;if(!r&&c&&(c.currentScript&&(r=c.currentScript.src),!r)){var i=c.getElementsByTagName("script");i.length&&(r=i[i.length-1].src)}if(!r)throw new Error("Automatic publicPath is not supported in this browser");r=r.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),l.p=r+"../../../../"}();var w={};(function(){l(183),l(368)})()})();

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.