PageSourceSearch

https://www.pimkie.fr/cdn/shop/t/101/assets/AnnouncementBar.min.DCJYOTy6.js

js pimkie.fr collected 2026-09-24 20:02:29 UTC 1,094 bytes, 1 lines download raw bytes

1import{D as n}from"./DeferWebComponent.min.BrKhvwE6.js";import{S as i}from"./swiper.min.CYA95VCX.js";import{A as o}from"./autoplay.min.CmE6goLv.js";class r extends n{constructor(){super()}ready(){this.slider=null,this.getHeight(),this.initSlider(),this.bindEvents()}initSlider(){this.slider=new i(this,{slidesPerView:1,autoplay:{delay:3e3},direction:"vertical",modules:[o]})}getHeight(){this.setAnnouncementBarBottomVar(this.getBoundingClientRect().bottom)}bindEvents(){window.addEventListener("scroll",()=>{this.isElementInViewport(this)?this.setAnnouncementBarBottomVar(this.getBoundingClientRect().bottom):this.setAnnouncementBarBottomVar(0)})}isElementInViewport(e){const t=e.getBoundingClientRect();return t.top>=0&&t.left>=0&&t.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&t.right<=(window.innerWidth||document.documentElement.clientWidth)}setAnnouncementBarBottomVar(e){let t=0;e>0&&(t=e),document.querySelector(":root").style.setProperty("--announcement-bar-bottom",`${t}px`)}}customElements.get("announcement-bar")||customElements.define("announcement-bar",r);

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.