document.addEventListener("shopify:block:select",function(event){if(event.target instanceof HTMLElement){const slide=event.target.closest("slideshow-slide");if(slide){const slideshow=slide.closest("slideshow-component");if(slideshow){const index=Array.from(slide.parentElement?.children??[]).indexOf(slide);index!==-1&&(slideshow.pause(),slideshow.select(index))}}}}),document.addEventListener("shopify:block:deselect",function(event){if(event.target instanceof HTMLElement){const slideshow=event.target.closest("slideshow-component");slideshow&&slideshow.resume()}});
//# sourceMappingURL=/s/files/1/0677/1399/0759/t/1/assets/theme-editor.js.map?v=1783128783
