PageSourceSearch

https://www.lovisa.co.uk/cdn/shop/t/811/assets/announcement.js?v=78651756550495739361789977862

js lovisa.co.uk collected 2026-09-26 13:25:21 UTC 2,093 bytes, 2 lines download raw bytes

1window.theme._registeredSections.announcement||(theme.Announcement=(function(){function Announcement(container){const scope=container&&container.querySelector?container:document,announcementBar=scope.querySelector(".announcement__content-wrapper");if(document.body.classList.contains("menu-is-expanded")&&announcementBar){var gridMedium=Number(window.theme&&theme.settings&&theme.settings.grid_medium||768);window.innerWidth>=gridMedium&&announcementBar.classList.contains("slick-initialized")&&$(announcementBar).slick("unslick")}else if(announcementBar&&!announcementBar.classList.contains("slick-initialized")){const slideSpeed=announcementBar.getAttribute("data-slide-animation-speed")||3e3,autoplaySpeed=announcementBar.getAttribute("data-slide-autoplay-speed")||2e3,$bar=$(announcementBar),$prev=$(scope.querySelectorAll("[data-announcement-prev]")),$next=$(scope.querySelectorAll("[data-announcement-next]")),$toggle=$(scope.querySelectorAll("[data-announcement-toggle]"));$bar.slick({arrows:$prev.length>0&&$next.length>0,prevArrow:$prev,nextArrow:$next,dots:!1,slidesToShow:1,slidesToScroll:1,autoplay:!0,speed:slideSpeed,autoplaySpeed,rows:0,swipe:!1,draggable:!1,touchMove:!1,pauseOnHover:!1,pauseOnFocus:!1}),$toggle.length&&$toggle.off("click.announcement").on("click.announcement",function(){const pausing=!$toggle.hasClass("is-paused");pausing?$bar.slick("slickPause"):$bar.slick("slickPlay"),$toggle.toggleClass("is-paused",pausing).attr("aria-label",pausing?"Play announcements":"Pause announcements")})}}var resyncTimer,resyncOnRotate=function(){clearTimeout(resyncTimer),resyncTimer=setTimeout(function(){var bar=document.querySelector(".announcement__content-wrapper.slick-initialized");bar&&$(bar).slick("setPosition")},400)};return window.addEventListener("orientationchange",resyncOnRotate),window.addEventListener("resize",resyncOnRotate),Announcement})(),window.theme.sections.register("announcement",theme.Announcement),window.theme._registeredSections.announcement=!0);
2//# sourceMappingURL=/cdn/shop/t/811/assets/announcement.js.map?v=78651756550495739361789977862

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.