PageSourceSearch

https://soldejaneiro.com/cdn/shop/t/562/assets/ia-offers-bar.js?v=9802376529819864131789111059

js soldejaneiro.com collected 2026-10-02 07:41:25 UTC 2,251 bytes, 2 lines download raw bytes

1const STORAGE_KEY="ia-offers-bar",TICK_MS=6e4;if(!customElements.get("ia-offers-bar")){class IaOffersBar extends HTMLElement{connectedCallback(){this.toggle=this.querySelector("[data-offers-toggle]"),this.head=this.querySelector(".ia-offers-bar__head"),this.toggle&&!this.toggleBound&&(this.toggleBound=!0,this.toggle.addEventListener("click",()=>this.setOpen(!this.isOpen)),this.head?.addEventListener("click",event=>{this.toggle.contains(event.target)||this.isOpen||this.setOpen(!0)})),this.setOpen(this.remembered()),this.tick(),this.timer=setInterval(()=>this.tick(),6e4),this.onVisible=()=>{document.visibilityState==="visible"&&this.tick()},document.addEventListener("visibilitychange",this.onVisible),this.publishHeight(),this.viewport=window.matchMedia("(min-width: 1024px)"),this.onViewport=()=>this.publishHeight(),this.viewport.addEventListener("change",this.onViewport)}disconnectedCallback(){clearInterval(this.timer),document.removeEventListener("visibilitychange",this.onVisible),this.viewport?.removeEventListener("change",this.onViewport),document.documentElement.style.removeProperty("--ia-offers-bar-height")}get isOpen(){return this.classList.contains("ia-offers-bar--open")}setOpen(open){this.classList.toggle("ia-offers-bar--open",open),this.toggle?.setAttribute("aria-expanded",String(open));try{sessionStorage.setItem(STORAGE_KEY,open?"open":"closed")}catch{}}remembered(){try{return sessionStorage.getItem(STORAGE_KEY)==="open"}catch{return!1}}tick(){const now=Date.now()/1e3;
1this.querySelectorAll("[data-ends]").forEach(slide=>{Number(slide.dataset.ends)<=now&&slide.remove()}),this.querySelector("[data-ends]")||(this.hidden=!0,document.documentElement.style.removeProperty("--ia-offers-bar-height"))}publishHeight(){if(!this.head)return;const styles=getComputedStyle(this);if(styles.display==="none"){document.documentElement.style.removeProperty("--ia-offers-bar-height");return}const height=this.head.offsetHeight+parseFloat(styles.paddingTop)+parseFloat(styles.paddingBottom);document.documentElement.style.setProperty("--ia-offers-bar-height",`${Math.round(height)}px`)}}customElements.define("ia-offers-bar",IaOffersBar)}
2//# sourceMappingURL=/cdn/shop/t/562/assets/ia-offers-bar.js.map?v=9802376529819864131789111059

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.