https://www.mannequinmadness.com/cdn/shopifycloud/storefront/assets/storefront/autosizes-84416378.js
1(()=>{(function(){const polyfillAutoSizes=()=>{if(!window.PerformanceObserver?.supportedEntryTypes?.includes("paint")){return false}const userAgent=navigator.userAgent;const platform=navigator.platform;const maxTouchPoints=navigator.maxTouchPoints||0;const isIOS=/iPad|iPhone|iPod/.test(platform)||platform==="MacIntel"&&maxTouchPoints>1;const isMacSafari=platform.indexOf("Mac")===0&&/Safari/.test(userAgent)&&!/Chrome|Chromium|CriOS|FxiOS|Edg|OPR|Android/.test(userAgent);const isAppleSafari=isIOS||isMacSafari;const browserMajorVersion=pattern=>{const match=userAgent.match(pattern);return match?parseInt(match[1],10):null};const chromeVersion=browserMajorVersion(/Chrome\/(\d+)/);if(chromeVersion!==null){return chromeVersion<126}const safariVersion=isAppleSafari?browserMajorVersion(/Version\/(\d+).*Safari\//):null;if(safariVersion!==null){return safariVersion<27}const firefoxVersion=browserMajorVersion(/Firefox\/(\d+)/);if(firefoxVersion!==null){return firefoxVersion<150}return true};if(!polyfillAutoSizes()){return}const attributes=["src","srcset"];const prefix="data-auto-sizes-";let didFirstContentfulPaintRun=false;function getSizesValueFromElement(elem){const width=elem?Math.round(elem.getBoundingClientRect().width):0;if(width<=0){return null}return`${width}px`}function calculateAndSetSizes(img){let sizes=getSizesValueFromElement(img);if(!sizes){sizes=getSizesValueFromElement(img.parentElement)}if(sizes){img.sizes=sizes}}function preventNonAutoImageLoad(images){for(const img of images){if(img.complete){continue}if(!(img.getAttribute("sizes")||"").trim().startsWith("auto")||img.getAttribute("loading")!=="lazy"){continue}if(didFirstContentfulPaintRun){calculateAndSetSizes(img)}else{for(const attribute of attributes){if(img.hasAttribute(attribute)){img.setAttribute(`${prefix}${attribute}`,img.getAttribute(attribute));img.removeAttribute(attribute)}}}}}function restoreImageAttributes(){const images=document.querySelectorAll(`img[${prefix}src], img[${prefix}srcset]`);for(const img of images){calculateAndSetSizes(img);for(const attribute of attributes){const tempAttribute=`${prefix}${attribute}`;if(img.hasAttribute(tempAttribute)){img[attribute]=img.getAttribute(tempAttribute);img.removeAttribute(tempAttribute)}}}}const observer=new MutationObserver(mutations=>{const newImages=[];for(const mutation of mutations){if(mutation.type==="childList"){for(const node of mutation.addedNodes){if(node.nodeName==="IMG"){newImages.push(node)}if(node.querySelectorAll){newImages.push(...node.querySelectorAll("img"))}}}else if(mutation.type==="attributes"&&mutation.target.nodeName==="IMG"&&(mutation.attributeName==="sizes"||mutation.attributeName==="loading"||mutation.attributeName==="src"||mutation.attributeName==="srcset")){newImages.push(mutation.target)}}if(newImages.length>0){preventNonAutoImageLoad(newImages)}});observer.observe(document.documentElement,{childList:true,subtree:true,attributes:true,attributeFilter:["sizes","loading","src","srcset"]});preventNonAutoImageLoad(document.querySelectorAll('img[sizes^="auto"][loading="lazy"]'));new PerformanceObserver((entries,observer2)=>{entries.getEntriesByName("first-contentful-paint").forEach(()=>{didFirstContentfulPaintRun=true;setTimeout(restoreImageAttributes,0);observer2.disconnect()})}).observe({type:"paint",buffered:true})})();})();
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.