PageSourceSearch

https://cynthiarowley.com/cdn/shop/t/81/compiled_assets/scripts.js?v=89815126994818735841788275911

js cynthiarowley.com collected 2026-10-01 12:12:41 UTC 7,584 bytes, 2 lines download raw bytes

1(function(){var __sections__={};(function(){for(var i=0,s=document.getElementById("sections-script").getAttribute("data-sections").split(",");i<s.length;i++)__sections__[s[i]]=!0})(),(function(){if(!(!__sections__["complete-the-look"]&&!Shopify.designMode))try{(function(){if(window.__completeTheLookInit)return;window.__completeTheLookInit=!0;function initCarousel(section){if(section.dataset.carouselReady)return;var track=section.querySelector("[data-carousel-track]"),prev=section.querySelector("[data-carousel-prev]"),next=section.querySelector("[data-carousel-next]");if(!track||!prev||!next)return;section.dataset.carouselReady="true";function step(){var card=track.querySelector(".complete-the-look-card");if(!card)return track.clientWidth;var style=window.getComputedStyle(track),gap=parseFloat(style.columnGap||style.gap||"0")||0;return card.offsetWidth+gap}function update(){var atStart=track.scrollLeft<=1,atEnd=track.scrollLeft+track.clientWidth>=track.scrollWidth-1;prev.disabled=atStart,next.disabled=atEnd}prev.addEventListener("click",function(){track.scrollBy({left:-step(),behavior:"smooth"})}),next.addEventListener("click",function(){track.scrollBy({left:step(),behavior:"smooth"})}),track.addEventListener("scroll",update,{passive:!0}),window.addEventListener("resize",update),update()}function initAll(){document.querySelectorAll("[data-complete-the-look]").forEach(initCarousel)}document.readyState==="loading"?document.addEventListener("DOMContentLoaded",initAll):initAll(),document.addEventListener("shopify:section:load",function(e){var section=e.target.querySelector("[data-complete-the-look]");section&&initCarousel(section)})})()}catch(e){console.error(e)}})(),(function(){if(!(!__sections__["page-gallery"]&&!Shopify.designMode))try{(function(){if(window.__pageGalleryInit)return;window.__pageGalleryInit=!0;function upgradeImg(src){return src&&src.replace(/_(\d+)x(\d*)(\.[a-z]+)/i,function(m,w,h,ext){return parseInt(w,10)>=1600?m:"_1600x"+ext})}function buildLightbox(){var lb=document.createElement("div");lb.className="page-gallery-lightbox",lb.hidden=!0,lb.innerHTML='<button type="button" class="page-gallery-lightbox-close" aria-label="Close"><svg viewBox="0 0 24 24"><path d="M18 6L6 18M6 6l12 12" stroke="currentColor" stroke-width="2" stroke-linecap="round" fill="none"/></svg></button><button type="button" class="page-gallery-lightbox-nav prev" aria-label="Previous"><svg viewBox="0 0 24 24"><path d="M15 6l-6 6 6 6" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none"/></svg></button><button type="button" class="page-gallery-lightbox-nav next" aria-label="Next"><svg viewBox="0 0 24 24"><path d="M9 6l6 6-6 6" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none"/></svg></button><img alt="">',document.body.appendChild(lb);var imgEl=lb.querySelector("img"),sources=[],index=0;function show(i){sources.length&&(index=(i+sources.length)%sources.length,imgEl.src=sources[index])}function open(list,i){sources=list,show(i),lb.hidden=!1,document.body.style.overflow="hidden"}function close(){lb.hidden=!0,imgEl.src="",document.body.style.overflow=""}return lb.querySelector(".page-gallery-lightbox-close").addEventListener("click",close),lb.querySelector(".prev").addEventListener("click",function(){show(index-1)}),lb.querySelector(".next").addEventListener("click",function(){show(index+1)}),lb.addEventListener("click",function(e){e.target===lb&&close()}),document.addEventListener("keydown",function(e){lb.hidden||(e.key==="Escape"&&close(),e.key==="ArrowLeft"&&show(index-1),e.key==="ArrowRight"&&show(index+1))}),{open:open}}var lightbox;function getLightbox(){return lightbox||(lightbox=buildLightbox()),lightbox}function init(section){if(!section.dataset.galleryReady){section.dataset.galleryReady="true";var layout=section.querySelector("[data-page-gallery-layout]"),source=section.querySelector("[data-page-gallery-source]");if(source&&layout){var iframe=source.querySelector("iframe");if(iframe){var wrap=document.createElement("div");wrap.className="page-gallery-video";var newIframe=document.createElement("iframe");
1newIframe.src=iframe.src,newIframe.title=iframe.title||"Video",newIframe.allow=iframe.getAttribute("allow")||"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",newIframe.setAttribute("allowfullscreen",""),newIframe.setAttribute("frameborder","0"),wrap.appendChild(newIframe);var existingGrid=layout.querySelector("[data-page-gallery-grid]");existingGrid?layout.insertBefore(wrap,existingGrid):layout.appendChild(wrap)}var imgs=source.querySelectorAll("img");if(imgs.length){var grid=layout.querySelector("[data-page-gallery-grid]");grid||(grid=document.createElement("div"),grid.className="page-gallery-images",grid.setAttribute("data-page-gallery-grid",""),layout.appendChild(grid)),imgs.forEach(function(img){var tile=document.createElement("div");tile.className="page-gallery-img";var newImg=document.createElement("img");newImg.src=img.src,newImg.alt=img.alt||"",newImg.loading="lazy",newImg.setAttribute("data-full",upgradeImg(img.src)),tile.appendChild(newImg),grid.appendChild(tile)})}source.remove()}var grid=layout&&layout.querySelector("[data-page-gallery-grid]");grid&&grid.addEventListener("click",function(e){var tile=e.target.closest(".page-gallery-img");if(tile){var tiles=Array.prototype.slice.call(grid.querySelectorAll(".page-gallery-img")),sources=tiles.map(function(t){var img=t.querySelector("img");return img?img.getAttribute("data-full")||img.src:""}).filter(Boolean);getLightbox().open(sources,tiles.indexOf(tile))}})}}function initAll(){document.querySelectorAll(".page-gallery").forEach(init)}document.readyState==="loading"?document.addEventListener("DOMContentLoaded",initAll):initAll(),document.addEventListener("shopify:section:load",function(e){var section=e.target.querySelector(".page-gallery");section&&init(section)})})()}catch(e){console.error(e)}})(),(function(){if(!(!__sections__["video-archive"]&&!Shopify.designMode))try{(function(){if(window.__videoArchiveInit)return;window.__videoArchiveInit=!0;function closeLightbox(lightbox){if(lightbox){var frame=lightbox.querySelector(".video-lightbox-frame");frame&&(frame.innerHTML=""),lightbox.hidden=!0,document.body.style.overflow=""}}document.addEventListener("click",function(e){var trigger=e.target.closest(".video-archive .video-trigger");if(trigger){var videoId=trigger.dataset.videoId,section=trigger.closest(".video-archive"),lightbox=section&&section.querySelector(".video-lightbox"),frame=lightbox&&lightbox.querySelector(".video-lightbox-frame");if(!videoId||!lightbox||!frame)return;var iframe=document.createElement("iframe");iframe.src="https://www.youtube-nocookie.com/embed/"+encodeURIComponent(videoId)+"?autoplay=1&rel=0",iframe.title="YouTube video player",iframe.allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",iframe.allowFullscreen=!0,frame.innerHTML="",frame.appendChild(iframe),lightbox.hidden=!1,document.body.style.overflow="hidden";return}var lb=e.target.closest(".video-archive .video-lightbox");lb&&(e.target===lb||e.target.closest(".video-lightbox-close"))&&closeLightbox(lb)}),document.addEventListener("keydown",function(e){if(e.key==="Escape"){var open=document.querySelector(".video-archive .video-lightbox:not([hidden])");open&&closeLightbox(open)}})})()}catch(e){console.error(e)}})()})();
2//# sourceMappingURL=/cdn/shop/t/81/compiled_assets/scripts.js.map?v=89815126994818735841788275911

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.