PageSourceSearch

https://luciejewelry.com/cdn/shop/t/25/assets/product-slider.js?v=144945602361068355621765416321

js luciejewelry.com collected 2026-10-04 09:31:52 UTC 3,586 bytes, 2 lines download raw bytes

1(function(){const splitScreenSlid=()=>{$(".product-slider__section").each(function(index,item){if($(this).hasClass("slider_started"))return"";$(this).addClass("slider_started");const id=$(this).attr("id"),box=$(this).find(".product-slider"),autoplay=box.data("autoplay"),stopAutoplay=box.data("stop-autoplay"),onCursor=box.data("cursor"),delay=box.data("delay")*1e3,speed=box.data("speed")*1e3;let autoplayParm={};autoplay&&(autoplayParm={autoplay:{delay,disableOnInteraction:!1}});let swiperParms={effect:box.data("effect"),speed,keyboard:!0,creativeEffect:{prev:{shadow:!1,translate:[0,0,-400]},next:{translate:["100%",0,0]}},coverflowEffect:{rotate:50,stretch:0,depth:100,modifier:1,slideShadows:!1},flipEffect:{slideShadows:!1},...autoplayParm};const swiperImg=new Swiper(`#${id} .product-slider__image-swiper`,{navigation:{nextEl:`#${id} .product-button-next`,prevEl:`#${id} .product-button-prev`},...swiperParms,autoplay:!1}),swiperText=new Swiper(`#${id} .product-slider__product-swiper`,{pagination:{el:`#${id} .swiper-pagination`,clickable:!0},...swiperParms,spaceBetween:24});if(swiperImg.controller.control=swiperText,swiperText.controller.control=swiperImg,autoplay&&stopAutoplay&&(document.querySelector(`#${id} .product-slider__wrapper`).addEventListener("mouseenter",function(){swiperText.autoplay.stop()}),document.querySelector(`#${id} .product-slider__wrapper`).addEventListener("mouseleave",function(){swiperText.autoplay.start()})),onCursor=="cursor"){const cursor=document.getElementById("cursor"),animateCursor=e=>{const x=e.clientX-cursor.offsetWidth/2,y=e.clientY-cursor.offsetHeight/2,keyframes={transform:`translate(${x}px, ${y}px) `};cursor.animate(keyframes,{duration:100,fill:"forwards"})},getCursorClass=type=>{let prevButton=document.querySelector(`#${id} .swiper-button-prev.swiper-button-disabled`),nextButton=document.querySelector(`#${id} .swiper-button-next.swiper-button-disabled`),prevText="prev";prevButton&&(prevText="prev prev-disabled");let nextText="next";switch(nextButton&&(nextText="next next-disabled"),type){case"next":return`${nextText} button button--simple`;case"prev":return`${prevText} button button--simple`;default:return"button button--simple"}};document.querySelector(`#${id} .product-slider-cursor`).onmousemove=e=>{const interactable=e.target.closest(".product-slider__buttons"),interacting=interactable!==null,icon=document.getElementById("cursor-icon");e.target.closest(".product-slider__buttons")!=null&&animateCursor(e),cursor.dataset.type=interacting?interactable.dataset.type:"",interacting&&(icon.className=getCursorClass(interactable.dataset.type))}}if(item.querySelectorAll(".observe-me").length>0){let createObserver2=function(){function handleIntersect(entries,observer2){entries.forEach(entry=>{if(entry.isIntersecting){let css_classlist=entry.target.classList;css_classlist.add("is-inview"),autoplay&&swiperText.autoplay.stop(),observer2.unobserve(entry.target),setTimeout(()=>{css_classlist.remove("is-inview"),css_classlist.remove("observe-me"),autoplay&&swiperText.autoplay.start()},600)}})}let options={root:null,rootMargin:"0px",threshold:.1},observer=new IntersectionObserver(handleIntersect,options);item.querySelectorAll(".observe-me").forEach((target,index2)=>{observer.observe(target)})};var createObserver=createObserver2;createObserver2()}})};document.addEventListener("DOMContentLoaded",function(){splitScreenSlid(),document.addEventListener("shopify:section:load",function(){splitScreenSlid()})})})();
2//# sourceMappingURL=/cdn/shop/t/25/assets/product-slider.js.map?v=144945602361068355621765416321

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.