PageSourceSearch

https://www.imthecheftoo.com/cdn/shop/t/73/assets/hero-animation.js?v=32053203704856404401774846601

js imthecheftoo.com collected 2026-09-25 20:58:01 UTC 2,201 bytes, 2 lines download raw bytes

1(function(){var root=document.querySelector(".header-slider");if(!root)return;var captionCol=root.querySelector(".caption_txt_col");if(!captionCol)return;function splitChars(el){var text=(el.textContent||"").trim();if(text){el.textContent="";for(var fragment=document.createDocumentFragment(),i=0;i<text.length;i++){var span=document.createElement("span");span.className="hero-char",span.style.setProperty("--char-i",i),span.textContent=text[i]===" "?"\xA0":text[i],fragment.appendChild(span)}el.appendChild(fragment)}}function splitLines(el){var text=(el.textContent||"").trim();if(text){var words=text.split(/\s+/).filter(Boolean);if(words.length){var wrapper=document.createElement("span");wrapper.setAttribute("aria-hidden","true"),wrapper.style.cssText="display:block; width:100%; position:relative;",words.forEach(function(word){var span=document.createElement("span");span.textContent=word+" ",span.style.display="inline",wrapper.appendChild(span)}),el.textContent="",el.appendChild(wrapper);for(var wordSpans=wrapper.querySelectorAll("span"),lineGroups=[],currentLine=[],lastTop=null,i=0;i<wordSpans.length;i++){var rect=wordSpans[i].getBoundingClientRect();lastTop!==null&&rect.top>lastTop+2&&(lineGroups.push(currentLine),currentLine=[]),currentLine.push(wordSpans[i]),lastTop=rect.top}currentLine.length&&lineGroups.push(currentLine),wrapper.innerHTML="",lineGroups.forEach(function(lineSpans,lineIndex){var lineParent=document.createElement("span");lineParent.className="lineParent",lineParent.style.display="block";var lineChild=document.createElement("span");lineChild.className="lineChild",lineChild.style.display="block",lineChild.style.setProperty("--line-i",lineIndex),lineSpans.forEach(function(s){lineChild.appendChild(s)}),lineParent.appendChild(lineChild),wrapper.appendChild(lineParent)})}}}var subHeading=root.querySelector(".anim-text.sub_heading_txt");subHeading&&splitChars(subHeading);var h2=root.querySelector("h2.anim-text");h2&&splitLines(h2);var caption=root.querySelector(".caption_txt");caption&&splitLines(caption),captionCol.classList.add("hero-animation-ready")})();
2//# sourceMappingURL=/cdn/shop/t/73/assets/hero-animation.js.map?v=32053203704856404401774846601

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.