PageSourceSearch

https://www.vielnois.com/CustomerData/837/Scripts/siorganiseimages.js?v=639267258220

js vielnois.com collected 2026-10-09 03:32:42 UTC 2,841 bytes, 2 lines download raw bytes

1/*! SiOrganiseImagesV4 - v0.1.4  */
2!function(){var t;function e(){for(var t=document.querySelectorAll("img[dynamicimageloading=true]"),e=0;e<t.length;e++){var a=t[e];i(a),s(a),r(a)}}function i(t){var e=t.style.width.replace("px",""),a=t.style.height.replace("px",""),i=1,s=1;if(t.matches(".sc-slideshow-slide")){var r=t.closest(".sc-slideshow");if(r=r&&r.parentNode){var n=r.getAttribute("data-imgratio");n&&2===(n=n.split(":")).length&&(e=n[0],a=n[1])}}null==e||"0"===e||""===e||isNaN(e)?t.removeAttribute("width"):(i=t.width=e,t.style.width=null),null==a||"0"===a||""===a||isNaN(a)?t.removeAttribute("height"):(s=t.height=a,t.style.height=null),t.src="data:image/svg+xml;charset=utf8,%3Csvg%20width='"+i+"'%20height='"+s+"'%20xmlns='http://www.w3.org/2000/svg'%3E%3C/svg%3E"}function s(t){t.classList.add("lazyload"),t.removeAttribute("dynamicimageloading");var e=t.getAttribute("data-src");if(0===(e=e||t.src).indexOf("/CustomerData/")){var a=t.getAttribute("data-notres");if(!("string"==typeof a&&0<=a.length)){var i=e.split(".").pop().toLowerCase();if("jpg"===i||"jpeg"===i||"png"===i||"gif"===i){for(var s=SiCenter&&SiCenter.AssetsKey?"?"+SiCenter.AssetsKey:"",r=[400,600,900,1200,1500,1800,2100],n="https://images.simedia.cloud/cms-v2",l=e+"/",o="",c=0;c<r.length;c++){var u=r[c];o+=n+l+u+"x0/image."+i+s+" "+u+"w",c<r.length-1&&(o+=", ")}null===t.getAttribute("data-nosrcset")&&(t.setAttribute("data-sizes","auto"),t.setAttribute("data-srcset",o)),t.setAttribute("data-src",n+l+"image."+i+s)}}}}function r(t){if(t&&"none"!==t.getAttribute("data-sigallery")){var e=t.parentElement,a=t.getAttribute("data-src"),i=t.closest("[data-sigallery]"),s="";if(i&&i.getAttribute("data-sigallery")&&(s=":"+i.getAttribute("data-sigallery")),e&&"A"===e.tagName&&e.href&&0<e.href.indexOf("/Images/")){var r=e.getAttribute("data-sigallery");s=r&&r.length?":"+r:s,e.setAttribute("data-rel","lightcase"+s)}else t.src&&0<t.src.indexOf("/Images/")&&i?(t.setAttribute("data-rel","lightcase"+s),t.setAttribute("data-lc-href",t.src)):a&&0<a.indexOf("/Images/")&&i&&(t.setAttribute("data-rel","lightcase"+s),t.setAttribute("data-lc-href",a))}}"function"!=typeof(t=window.Element.prototype).matches&&(t.matches=t.msMatchesSelector||t.mozMatchesSelector||t.webkitMatchesSelector||function(t){for(var e=(this.document||this.ownerDocument).querySelectorAll(t),a=0;e[a]&&e[a]!==this;)++a;return Boolean(e[a])}),"function"!=typeof t.closest&&(t.closest=function(t){for(var e=this;e&&1===e.nodeType;){if(e.matches(t))return e;e=e.parentNode}return null}),document.addEventListener("DOMContentLoaded",function(){e()}),e(),window.addEventListener("load",function(){window.$&&$(document).ajaxComplete(function(){e()})}),window.siOrganiseImages={run:e,svgPlaceholder:function(t){i(t)},lazySizesAttributes:function(t){s(t)},lightCaseAttributes:function(t){r(t)}}}();

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.