PageSourceSearch

https://zuvi.us/cdn/shop/t/72/assets/colorbox-lazy-section.js?v=165007502204760970031789649032

js zuvi.us collected 2026-10-04 21:47:11 UTC 2,599 bytes, 2 lines download raw bytes

1(()=>{if(window.__colorboxLazySectionInstalled)return;window.__colorboxLazySectionInstalled=!0;const state=window.__colorboxLazySection||{};state.debug||(state.debug=()=>{}),state.parser||(state.parser=new DOMParser),state.reactivateScripts||(state.reactivateScripts=root=>{root.querySelectorAll("script").forEach(oldScript=>{const newScript=document.createElement("script");Array.from(oldScript.attributes).forEach(attribute=>{newScript.setAttribute(attribute.name,attribute.value)}),oldScript.textContent&&(newScript.textContent=oldScript.textContent),oldScript.replaceWith(newScript)})}),state.loadSection||(state.loadSection=async placeholder=>{if(!(placeholder instanceof HTMLElement)||placeholder.dataset.loading==="true")return;const sectionId=placeholder.dataset.sectionId,sectionWrapper=placeholder.closest(".shopify-section");if(!(!sectionId||!sectionWrapper)){placeholder.dataset.loading="true";try{const url=new URL(window.location.href);url.searchParams.delete("section_id"),url.searchParams.set("sections",sectionId);const response=await fetch(url.toString(),{credentials:"same-origin",headers:{"X-Requested-With":"XMLHttpRequest"}});if(!response.ok)throw new Error(`Failed to load section ${sectionId}: ${response.status}`);const payload=await response.json(),html=payload&&typeof payload=="object"?payload[sectionId]:"";if(!html)throw new Error(`Section ${sectionId} response payload did not include the requested section.`);const nextSection=state.parser.parseFromString(html,"text/html").querySelector(".shopify-section");if(!nextSection)throw new Error(`Section ${sectionId} response did not include a .shopify-section wrapper.`);sectionWrapper.replaceChildren(...document.importNode(nextSection,!0).childNodes),state.reactivateScripts(sectionWrapper)}catch(error){console.error("[ColorBox lazy section] Failed to load section",sectionId,error),placeholder.dataset.loading="false"}}}),state.observer||(state.observer=new IntersectionObserver(entries=>{entries.forEach(entry=>{entry.isIntersecting&&(state.observer.unobserve(entry.target),state.loadSection(entry.target))})},{rootMargin:"1200px 0px"})),state.observe=()=>{document.querySelectorAll("[data-colorbox-lazy-section]").forEach(placeholder=>{placeholder.dataset.observed!=="true"&&(placeholder.dataset.observed="true",state.observer.observe(placeholder))})},window.__colorboxLazySection=state,document.readyState==="loading"?document.addEventListener("DOMContentLoaded",state.observe,{once:!0}):state.observe()})();
2//# sourceMappingURL=/cdn/shop/t/72/assets/colorbox-lazy-section.js.map?v=165007502204760970031789649032

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.