PageSourceSearch

https://www.msd-australia.com.au/wp-content/themes/cex-wpvip-mhh-m…/js/lazyload-images.min.js?ver=1791186656

js msd-australia.com.au collected 2026-10-10 01:54:04 UTC 2,572 bytes, 1 lines download raw bytes

1const initializedDocuments=new WeakSet,pendingDocuments=new WeakMap,observedCanvasDocuments=new WeakSet,observedCanvases=new WeakSet,newImagesLoad=function(e){e.querySelectorAll("img.lazyload:not([src])").forEach((function(t){if(!t.dataset.src)return;const o=new URL(t.dataset.src,e.baseURI);if(o.protocol=e.location.protocol,t.src=o.href,delete t.dataset.src,t.hasAttribute("data-srcset")){const o=new URL(t.getAttribute("data-srcset"),e.baseURI);o.protocol=e.location.protocol,t.setAttribute("srcset",o.href),delete t.dataset.srcset}})),e.querySelectorAll("source[data-srcset]:not([src])").forEach((function(t){const o=new URL(t.dataset.srcset,e.baseURI);o.protocol=e.location.protocol,t.srcset=o.href,delete t.dataset.srcset}))},hasLazyloadNodes=function(e){return!(!e||1!==e.nodeType)&&(e.matches("img.lazyload:not([src]), source[data-srcset]:not([src])")||!!e.querySelector("img.lazyload:not([src]), source[data-srcset]:not([src])"))},observeLazyloadNodes=function(e){new MutationObserver((function(t){t.some((function(e){return Array.prototype.some.call(e.addedNodes,hasLazyloadNodes)}))&&newImagesLoad(e)})).observe(e.body,{childList:!0,subtree:!0})},initializeEditorCanvas=function(e){const t=e.querySelector('iframe[name="editor-canvas"]');if(!t||observedCanvases.has(t))return;observedCanvases.add(t);const o=function(){t.contentDocument&&initLazyloadImages(t.contentDocument)};t.addEventListener("load",o),o()},observeEditorCanvas=function(e){if(observedCanvasDocuments.has(e)||!e.body.classList.contains("wp-admin"))return;observedCanvasDocuments.add(e),initializeEditorCanvas(e);new MutationObserver((function(t){t.some((function(e){return Array.prototype.some.call(e.addedNodes,(function(e){return 1===e.nodeType&&(e.matches('iframe[name="editor-canvas"]')||!!e.querySelector('iframe[name="editor-canvas"]'))}))}))&&initializeEditorCanvas(e)})).observe(e.body,{childList:!0,subtree:!0})},initLazyloadImages=function(e){if(initializedDocuments.has(e))return;if(!e.body){if(pendingDocuments.has(e)||!e.documentElement)return;const t=new MutationObserver((function(){e.body&&(t.disconnect(),pendingDocuments.delete(e),initLazyloadImages(e))}));return pendingDocuments.set(e,t),void t.observe(e.documentElement,{childList:!0})}if(initializedDocuments.add(e),observeEditorCanvas(e),"loading"in e.defaultView.HTMLImageElement.prototype)return newImagesLoad(e),void observeLazyloadNodes(e);let t=e.createElement("script");t.async=!0,t.src="https://cdnjs.cloudflare.com/ajax/libs/lazysizes/4.1.8/lazysizes.min.js",e.body.appendChild(t)};initLazyloadImages(document);

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.